/* GENERAL */
.control-label {
    cursor: help;
}
.field-helper {
    display: none;
    background: #fdfdfd;
    padding: 15px;
    font-size: 0.8em;
    transition: all .4s ease;
    margin-bottom: 5px;
    border: 1px solid #eee;
    border-radius: 3px;
    color: #229cde;
    font-weight: 500;
}
.field-helper.showed {
    display: block;
}
.field-helper strong {
    font-weight: 600;
}
.field-helper i {
    font-style: normal;
    color: #e20c51;
}
.field-helper b {
    font-weight: normal;
    color: #f5576c;
}

/* ADVANCE IMAGE */
.adv-image {
    display: flex;
    flex-wrap: wrap;
    background: #eee;
    margin-bottom: 10px;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
}

.adv-image img {
    display: block;
    width: 150px;
    height: auto;
    margin: 5px;
    padding:2px;
    border:1px solid #ddd;
}

.adv-image label {
    margin-right: 10px;
    margin-bottom: 0;
}

.adv-image-fields {
    display: flex;
    padding: 15px;
    margin-left: 3px;
    flex-grow: 1;
    flex-wrap: wrap;
    width: calc(100% - 320px);
}
.adv-image-field {
    display: flex;
    align-items: center;
    /*width: 32%;*/
    margin: 0 5px;
}

.adv-image .single-adv-image-remove {
    align-self: center;
    margin: 0 20px;
}

.adv-image-file {
    overflow: hidden;
    /*width: 20%;*/
}
.adv-image-file-title {
    font-size: 1.0em;
    margin-right: 5px;
}
.adv-image-file-name {
    font-weight: 600;
    margin-right: 5px;
    font-size: 0.9em;
}
.adv-image-file-size {
    color: #4c4c4c;
    font-size: 0.8em;
}
.adv-image-file-size.large {
    color: #d60505;
    font-weight: 600;
}

@media (max-width: 1500px){
    .adv-image-field {
        width: 100%;
        margin: 2px 0 2px;
    }
    .adv-image img {
        width: 200px;
        height: 100%;
    }
    .adv-image label {
        min-width: 55px;
    }
    .adv-image-file-title {
        min-width: 60px;
    }
    .adv-image-fields {
        width: calc(100% - 420px);
    }
}
@media (max-width: 900px){
    .adv-image label,
    .adv-image-file-title {
        display: none;
    }
}
@media (max-width: 800px){
    .adv-image img {
        width: calc(100% - 10px);
    }
    .adv-image label,
    .adv-image-file-title {
        display: inherit;
    }
}
@media (max-width: 500px){
    .adv-image label,
    .adv-image-file-title {
        display: none;
    }
}

/* ADVANCED IMAGES GALLERY */
.adv-media-files-list {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-left: -5px;
    margin-right: -5px;
    margin-bottom: 10px;
}
.adv-media-files-item {
    display: flex;
    flex-direction: column;
    position: relative;
    flex-basis: calc(100%/7 - 10px);
    width: calc(100%/7 - 10px);
    margin-bottom: 20px;
}
.adv-media-files-item-holder {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: #fcfcfc;
    border-radius: 4px;
    border: 1px solid #f1f1f1;
    padding: 5px;
    margin-left: 5px;
    margin-right: 5px;
    transition: all .4s ease;
}
.adv-media-files-item-holder.remove {
    background: #f5576c;
}

.adv-media-files-order {
     position: absolute;
     display: flex;
     justify-content: center;
     align-items: center;
     top: -7px;
     left: -7px;
     height: 20px;
     width: 20px;
     border-radius: 50%;
     background-color: #0cb7e0;
     color: #fefefe;
     font-size: 10px;
 }
.adv-media-files-file img {
    display: block;
    width: 100%;
    height:auto;
    /*padding:2px;*/
    border:1px solid #ddd;
}
.adv-media-files-change,
.adv-media-files-edit,
.adv-media-files-remove,
.adv-media-files-mark {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.65);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 1.1em;
    transition: all .4s ease;
    margin: 0 5px 0 0;
    border: 1px solid #d6d6d6;
}
.adv-media-files-edit:hover,
.adv-media-files-remove:hover,
.adv-media-files-change:hover,
.adv-media-files-mark:hover {
    background: #fff;
}
.adv-media-files-change {
    color: #fe8252;
}
.adv-media-files-edit {
    color: #00a142;
}
.adv-media-files-remove {
    color: #FF1100;
}
.adv-media-files-mark {
    color: #FF1100;
}

.adv-media-files-bunch {
    display: flex;
    position: absolute;
    right: -10px;
    bottom: -8px;
}
.adv-media-files-actions {
    display: flex;
    position: absolute;
    right: -1px;
    top: 4px;
    /*opacity: 0;*/
    transition: all .4s ease;
}
/*.adv-media-files-item:hover .adv-media-files-actions {*/
/*    opacity: 1;*/
/*}*/


.adv-media-files-data span {
    display: block;
    padding: 0 5px;
}
.adv-media-files-filename {
    margin-top: 5px;
    font-weight: 600;
    font-size: 0.75em;
}
.adv-media-files-filename i {
    font-weight: 400;
    font-style: normal;
    font-size: 0.9em;
}
.adv-media-files-filename i.large {
    color: #d60505;
    font-weight: 600;
}

.adv-media-files-title {
    height: 15px;
    overflow: hidden;
    margin-top: 3px;
    font-weight: 400;
    font-size: 0.75em;
    color: #9c9c9c;
}

.adv-media-files-file-upload {
    display: flex;
    align-items: center;
}

.adv-media-files-file-upload .btn {
    padding: 20px 15px;
    margin-top: 0;
    margin-bottom: 0;
}

.bunch-adv-remove-holder {
    margin-bottom: 20px;
    margin-right: 10px;
    transition: all .4s ease;
}

.bunch-adv-select-all {
    font-size: 0;
    margin-bottom: 15px;
}
.bunch-adv-select-all a {
    text-decoration: none;
}

.adv-media-files-file img.file-type {
    max-width: 60px;
    height: auto;
    border: none;
}

@media (max-width: 1600px){
    .adv-media-files-item {
        flex-basis: calc(100%/6 - 10px);
        width: calc(100%/6 - 10px);
    }
}

@media (max-width: 1400px){
    .adv-media-files-item {
        flex-basis: calc(100%/5 - 10px);
        width: calc(100%/5 - 10px);
    }
}

@media (max-width: 1200px){
    .adv-media-files-item {
        flex-basis: calc(100%/4 - 10px);
        width: calc(100%/4 - 10px);
    }
}

@media (max-width: 1000px){
    .adv-media-files-item {
        flex-basis: calc(100%/3 - 10px);
        width: calc(100%/3 - 10px);
    }
}
@media (max-width: 800px){
    .adv-media-files-item {
        flex-basis: calc(100%/2 - 10px);
        width: calc(100%/2 - 10px);
    }
}
@media (max-width: 600px){
    .adv-media-files-item {
        flex-basis: calc(100% - 10px);
        width: calc(100% - 10px);
    }
}

.adv-fields-group-wrapper {
    background: #fafafa;
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
}

.adv-fields-group-wrapper label {
    font-size: 0.9em;
}

.adv-page-layout-wrapper {
    background: #fafafa;
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
}

.adv-page-layout-wrapper .select-holder {
    display: flex;
    align-items: center;
}
.adv-page-layout-wrapper .btn {
    margin: 0 0 0 3px;
}

.adv-page-layout-wrapper .row>[class*=col-] {
    margin-bottom: 0;
}
.adv-page-layout-wrapper .btn {
    padding: 0 5px;
}

.adv-page-layout-wrapper .voyager-plus {
    font-size: 1.4em;
}
.adv-page-layout-wrapper .btn-success i.voyager-plus {
    top: 3px;
}

.adv-page-layout-wrapper .select-label {
    margin-right: 5px;
}

.adv-page-layout-wrapper .layout-section-holder {
    background: #fff;
    display: flex;
    align-items: center;
    border-radius: 4px;
    padding: 10px 15px;
    margin: 4px 0 4px;
    border: 1px solid #eaeaea;
}
.adv-page-layout-wrapper .layout-section-title {
    margin-right: auto;
    padding-left: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.adv-page-layout-wrapper .layout-sections-list {
    margin-bottom: 20px;
}

.adv-page-layout-wrapper .layout-section-icon {
    display: flex;
    justify-content: center;
    color: #fff;
    align-items: center;
    font-size: 1.5em;
    background: #0ec3cc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.adv-page-layout-wrapper .layout-Field .layout-section-icon {
    background: #22aade;
}
.adv-page-layout-wrapper .layout-Block .layout-section-icon {
    background: #f79c2b;
}

.adv-page-layout-wrapper .layout-Form .layout-section-title-type {
    color: #0ec3cc;
}
.adv-page-layout-wrapper .layout-Field .layout-section-title-type {
    color: #22aade;
}
.adv-page-layout-wrapper .layout-Block .layout-section-title-type {
    color: #f79c2b;
}

.adv-page-layout-wrapper .layout-section-icon i {
    display: flex;
    align-items: center;
}

.voyager .nav-tabs.tab-extension-edit>li.active>a:hover {
    background-color: #868686;
}
.tab-content.tab-extension-edit>div {
    padding: 20px 0;
}

.panel-section {
    background: #62a8ea;
    padding: 10px 15px 10px 15px;
    margin-bottom: 15px;
}
.panel-section h3 {
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0;
}

.image-type {
    max-width:200px;
    height:auto;
    clear:both;
    display:block;
    padding:2px;
    border:1px solid #ddd;
    margin-bottom:10px;
}
.file-type {
    max-width:100px;
    height:auto;
    clear:both;
    display:block;
    padding:2px;
    border:1px solid #ddd;
    margin-bottom:10px;
}

.adv-json-list {
    margin-bottom: 10px;
}
.adv-json-add-form,
.adv-json-item {
    display: flex;
}
.adv-json-item {
    margin-bottom: 3px;
}
.form-group-line {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-right: 5px;
}
.form-group-line label {
    white-space: nowrap;
    margin-right: 5px;
    font-size: .8rem;
    font-weight: 600;
}

.adv-json-add-form button.btn,
.adv-json-item button.btn{
    height: 34px;
    margin: 0;
}

.adv-json-list button i,
.adv-json-add-form button i{
    display: flex;
    align-items: center;
}

/* Autocomplete */
.adv-related-add-autocomplete {
    display: flex;
}
.adv-related-add-autocomplete > input {
    color: #67636f;
    background-color: #fff;
    background-image: none;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-right: none;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}
.adv-related-add-autocomplete .btn.add-related {
    margin: 0;
    display: flex;
    align-items: center;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}
.btn.add-related .voyager-list-add {
    display: flex;
}

.adv-related-list {
    padding: 0 0 5px;
}

.adv-related-item {
    cursor: move;
    display: flex;
    justify-content: space-between;
    margin: 2px 0;
}
.adv-related-item__title {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 5px 10px;
    background-color: #f5f5f5;
    color: #111;
}

.adv-related-item .btn.remove-related {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin: 0;
}

.adv-related-item__handle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    background-color: #fafafa;
}
.adv-related-item__handle span {
    display: block;
    height: 1px;
    width: 20px;
    margin: 3px 0;
    background-color: #777;
}

.float-action-edit .btn.btn-primary {
    margin-right: 5px;
}


/* ADV INLINE SET */
.adv-inline-set-list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin-left: -5px;
    margin-right: -5px;
}

.adv-inline-set-item {
    width: 100%;
    position: relative;
    display: flex;
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 30px 15px 20px 15px;
    margin: 0 5px 10px 5px;
    min-width: 300px;
    transition: background-color .5s ease;
}

.adv-inline-set-item.columns-1 {
    width: 100%;
}
.adv-inline-set-item.columns-2 {
    width: calc(50% - 10px);
}
.adv-inline-set-item.columns-3 {
    width: calc(33.3333% - 10px);
}
.adv-inline-set-item.columns-4 {
    width: calc(25% - 10px);
}
.adv-inline-set-item.columns-5 {
    width: calc(20% - 10px);
}
.adv-inline-set-item.columns-6 {
    width: calc(16.6666% - 10px);
}


.adv-inline-set-item.inline-delete {
    background-color: #ffcece;
}

.adv-inline-set-handle {
    position: absolute;
    cursor: move;
    display: flex;
    flex-direction: column;
    width: 35px;
    top: 10px;
    z-index: 1;
}

.adv-inline-set-handle span {
    display: block;
    height: 1px;
    width: 16px;
    margin: 2px 0;
    background-color: #777;
}

.adv-inline-set-holder {
    position: relative;
    width: 100%;
}

.adv-inline-set-delete {
    cursor: pointer;
    position: absolute;
    font-size: 21px;
    display: flex;
    right: 5px;
    top: 5px;
    justify-content: center;
    align-items: center;
    color: #ef1212;
}

.adv-inline-set-list label {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
}

.adv-inline-set-list .form-control {
    height: 30px;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 13px;
}

.adv-inline-set-list textarea.form-control {
    height: auto;
    resize: vertical;
    overflow: auto;
}

.adv-inline-set-list .form-group {
    margin-bottom: 5px;
}

.adv-inline-set-delete {
    border: none;
    background-color: transparent;
}

.adv-inline-set-template {
    display: none;
}

.voyager .adv-inline-set-item input[type=file] {
    padding: 0;
    background-color: transparent;
}

.adv-inline-set-media-list {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin: 0 -2px 10px;
}

.adv-inline-set-media-item {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 3px;
    border-radius: 3px;
    margin: 0 2px 2px 2px;
}

.adv-inline-set-media-delete {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    right: 7px;
    top: 8px;
    border-radius: 50%;
    background-color: #fff;
    border: solid 1px #ddd;
}
.adv-inline-set-media-delete i {
    font-size: 12px;
    color: red;
    display: flex;
    align-items: center;
}

.adv-inline-set-media-removing {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    padding: 15px;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #ffffffeb;
    border: dashed 1px red;
    color: red;
    z-index: 2;
}
.adv-inline-set-media-removing span {
    display: block;
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
    margin: 2px 0;
}

.removing-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 10%;
    height: 100%;
    z-index: 3;
    background-color: #f749492e;
}



.adv-inline-set-media-item.columns-1 {
    width: 100%;
}
.adv-inline-set-media-item.columns-2 {
    width: calc(100%/2 - 4px);
}
.adv-inline-set-media-item.columns-3 {
    width: calc(100%/3 - 4px);
}
.adv-inline-set-media-item.columns-4 {
    width: calc(100%/4 - 4px);
}
.adv-inline-set-media-item.columns-5 {
    width: calc(100%/5 - 4px);
}
.adv-inline-set-media-item.columns-6 {
    width: calc(100%/6 - 4px);
}
.adv-inline-set-media-item.columns-7 {
    width: calc(100%/7 - 4px);
}
.adv-inline-set-media-item.columns-8 {
    width: calc(100%/8 - 4px);
}
.adv-inline-set-media-item.columns-9 {
    width: calc(100%/9 - 4px);
}
.adv-inline-set-media-item.columns-10 {
    width: calc(100%/10 - 4px);
}
.adv-inline-set-media-item.columns-11 {
    width: calc(100%/11 - 4px);
}
.adv-inline-set-media-item.columns-12 {
    width: calc(100%/12 - 4px);
}



.adv-inline-set-media-item img {
    display: block;
    width: 100%;
    height:auto;
    border:1px solid #ddd;
}
.adv-inline-set-media-item img.file-type {
    max-width: 60px;
    height: auto;
    border: none;
}

.adv-inline-set-wrapper .tt {
    display: flex;
    align-items: center;
}

.adv-inline-set-wrapper .tt-label {
    font-family: inherit;
    font-size: 14px;
}

.adv-inline-set-radio {
    display: flex;
    align-items: center;
}

.adv-inline-set-radio input[type=radio] {
    margin-top: 0;
}

.adv-inline-set-radio label {
    text-transform: none;
    font-size: 14px;
    font-weight: normal;
    padding-left: 7px;
    color: #76838f;
}

.language-label {
    font-weight: 700;
    text-transform: uppercase;
    color: #0b75d9;
}
