/* ================= GENERAL ================== */

#exporo_options a {
    color: #6658ea;
}

#exporo_options a:hover {
    color: #5546e8;
}

.option-exporo_options>h2:not([class]) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 !important;
    padding: 40px 30px;
    font-size: 26px;
    font-weight: bold;
    z-index: -1;
    color: #fff;
    background: #5546e8;
    background: linear-gradient(120deg, #5546e8, #6658ea);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.option-exporo_options>h2:not([class])>span {
    font-size: 70%;
    background: rgba(0, 0, 0, 0.3);
    line-height: 1;
    padding: 10px;
    border-radius: 5px;
}

.option-exporo_options>h2:not([class])>span>a {
  color:#fff;
  text-decoration: none;
  opacity:1;
  outline: none;
  box-shadow: none;
}

.option-exporo_options>h2:not([class])>span>a>.dashicons {
  margin-left:5px;
}

.option-exporo_options>h2:not([class])>span>a:hover {
  opacity:0.7;
}

.cmb2-options-page {
    box-shadow: 0 0 2rem 0 rgba(136, 152, 170, 0.15);
    border-radius: 10px;
    margin: 20px auto;
    background: #fff;
    max-width: 1100px !important;
}

div[id^=cmb2-metabox-exporo_options].cmb2-metabox {
    border: none;
    display: flex;
}

div[id^=cmb2-metabox-exporo_options].cmb2-metabox #exporo-tab-boxes .cmb-row {
    padding: 5px 20px;
    margin-top: 0;
    box-shadow: none;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-top: 1px dashed #ddd;
    display: flex;
}

div[id^=cmb2-metabox-exporo_options].cmb2-metabox #exporo-tab-boxes .cmb-row::after {
    display: none !important;
}

div[id^=cmb2-metabox-exporo_options].cmb2-metabox #exporo-tab-boxes .cmb-th {
    width: 30%;
    float: none;
}

div[id^=cmb2-metabox-exporo_options].cmb2-metabox #exporo-tab-boxes .cmb-td {
    width: 70%;
    float: none;
}

div[id^=cmb2-metabox-exporo_options].cmb2-metabox #exporo-tab-boxes .cmb-row:first-child {
    border-top: none
}

#exporo-tabs {
    width: 25%;
    border-right: 1px solid #ddd;
    background: #fafafa;
}

#exporo-tab-boxes {
    width: 75%;
}

.exporo-tab-content {
    display: none;
}

.exporo-tab-content.active {
    display: block;
}

/* ================= SUB TITLE ================== */

.cmb2-options-page .cmb2-wrap .cmb-type-title {
    cursor: pointer;
    transition: background 0.2s ease-in-out;
    background: transparent;
    margin: 0 !important;
    padding: 20px !important;
    border-bottom: 1px solid #ddd !important;
}

.cmb2-options-page .cmb2-wrap .cmb-type-title .cmb2-metabox-title {
    display: flex;
    width: 100%;
    align-items: center;
    font-weight: 700;
    padding: 0 !important;
}

.cmb2-options-page .cmb2-wrap .cmb-type-title:hover {
    background: #eee;
}

.cmb2-options-page .cmb2-wrap .cmb-type-title.active,
.cmb2-options-page .cmb2-wrap .cmb-type-title.active:hover {
    background: #fff;
}

.cmb2-options-page .cmb2-wrap .cmb-type-title.active:after {
    position: absolute;
    top: 0;
    right: -1px;
    height: 100%;
    width: 1px;
    content: '';
    background: #fff;
    z-index: 2;
}

#exporo_options .cmb-type-title {
    position: relative;
}

#exporo_options .dashicons-admin-plugins {
    background: #6658ea;
    color: #fff;
    border-radius: 100%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 15px;
    z-index: 1;
    font-size: 16px;
}

.exporo-subtitle {
    padding:20px 20px 0px 20px;
    border-top: 1px solid #ddd;
}

/* ================= FORM FIELDS ================== */

.cmb2-wrap div[id^="cmb2-metabox-exporo_"] input.regular-text,
.cmb2-wrap div[id^="cmb2-metabox-exporo_"] textarea,
.cmb2-wrap div[id^="cmb2-metabox-exporo_"] select {
    border-color: #ddd;
    outline: none !important;
    box-shadow: none !important;
}

.cmb2-wrap div[id^="cmb2-metabox-exporo_"] input.regular-text:focus,
.cmb2-wrap div[id^="cmb2-metabox-exporo_"] textarea:focus,
.cmb2-wrap div[id^="cmb2-metabox-exporo_"] select:focus {
    border-color: #6658ea;
}

.cmb2-wrap div[id^="cmb2-metabox-exporo_"] select:hover {
    color: #6658ea;
}

#exporo_options input[type="radio"]:checked::before {
    background-color: #6658ea;
}

.cmb2-wrap div[id^=cmb2-metabox-exporo_] .regular-text {
    width: 100%;
}

.cmb2-wrap div[id^=cmb2-metabox-exporo_] input[type="number"] {
    max-width: 100px;
}

.cmb2-wrap div[id^=cmb2-metabox-exporo_] input.cmb2-upload-file {
    width: 70%
}

.cmb-th label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    color: #000;
}

#exporo_options p.submit {
    background: #fafafa;
    margin: 0;
    padding: 30px 15px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

#exporo_options .button,
#exporo_options .button-secondary {
    border-color: #6658ea;
    background: #fff;
    color: #6658ea;
}

#exporo_options .button-secondary:hover {
    border-color: #6658ea;
    background: #6658ea;
    color: #fff;
}

#exporo_options #submit-cmb {
    background: #6658ea;
    border: none !important;
    outline: none !important;
    padding: 15px 20px;
    font-size: 0.9rem;
    line-height: 1;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

#exporo_options #submit-cmb:hover,
#exporo_options #submit-cmb:focus {
    background: #5546e8;
}

.iris-picker .iris-strip.iris-alpha-slider {
    margin-left: 8px !important;
}

body.rtl .color-alpha {
    left: auto;
    right: 0;
}

.CodeMirror {
    height: 200px !important;
}

.cmb-repeat-group-field {
    margin: 0 !important;
}

textarea.cmb2-textarea-small {
    width: 100% !important;
}

img.cmb-file-field-image {
    max-height: 60px !important;
    max-width: 100% !important;
    height: 100% !important;
    width: auto !important;
}

/* ================= NOTICES ================== */

.wrap.cmb2-options-page .notice {
    margin: 0;
    border-radius: 0;
    border-top: none;
    border-bottom: 1px solid #ddd;
    border-right: none;
    padding: 10px;
}

.wrap.cmb2-options-page .notice-error {
    border-left: 4px solid #E74C3C;
}

.wrap.cmb2-options-page .notice-updated {
    border-left: 4px solid #3498DB;
}

.wrap.cmb2-options-page .notice-success {
    border-left: 4px solid #2ECC71;
}

.wrap.cmb2-options-page .notice-warning {
    border-left: 4px solid #FF9800;
}

/* ================= CUSTOM REPEATABLE FIELDS ================== */

#img-banners-wrap,
#blank-canvas-wrap {
    padding: 20px 0;
}

#img-banners-wrap .cmb-td,
#blank-canvas-wrap .cmb-td {
    width: 100% !important;
}

#img-banners-wrap .cmb-row,
#blank-canvas-wrap .cmb-row {
    padding: 0px 20px !important;
    border: none !important;

}

#img_banners_repeat .cmb-row,
#blank_canvas_sizes_repeat .cmb-row {
    padding: 0px !important;
}

#img-banners-wrap .cmb-type-group .cmb-row .cmbhandle,
#blank-canvas-wrap .cmb-type-group .cmb-row .cmbhandle {
    display: none
}

#img-banners-wrap button.dashicons-before.dashicons-no-alt.cmb-remove-group-row,
#blank-canvas-wrap button.dashicons-before.dashicons-no-alt.cmb-remove-group-row {
    left: auto;
    right: 5px;
    top: 5px;
    padding: 0;
    z-index: 2;
}

#img-banners-wrap .cmb-repeatable-group .cmb-group-title,
#blank-canvas-wrap .cmb-repeatable-group .cmb-group-title {
    background-color: #e9e9e9;
    padding: 8px 12px;
    margin: 0;
    min-height: 1.5em;
    pointer-events: none;
}

#img-banners-wrap .inside.cmb-field-list,
#blank-canvas-wrap .inside.cmb-field-list {
    border: 1px solid #E9E9E9;
    margin: 0;
    padding: 20px 40px 10px 20px
}

#img-banners-wrap .regular-text,
#blank-canvas-wrap .regular-text {
    margin-bottom: 10px;
    width: 100% !important;
    max-width: 100%;
}

#img-banners-wrap .cmb-remove-row,
#blank-canvas-wrap .cmb-remove-row {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 5px;
}

#img-banners-wrap .cmb2-checkbox-list,
#blank-canvas-wrap .cmb2-checkbox-list,
#img-banners-wrap .cmb2-upload-button,
#blank-canvas-wrap .cmb2-upload-button {
    margin-bottom: 10px;
}

#blank-canvas-wrap .cmb2-upload-file,
#img-banners-wrap .cmb2-upload-file {
    width: 100% !important;
}


/* ================= MEDIA QUERIES ================== */

@media only screen and (max-width: 1200px) {
    .cmb2-options-page {
        margin: 20px 20px 20px 10px;
    }
    .cmb2-wrap div[id^="cmb2-metabox-exporo_"] input.cmb2-upload-file {
        width: 100%;
        max-width: 100%;
    }

    .cmb2-wrap div[id^="cmb2-metabox-exporo_"] input.cmb2-upload-button {
        float: right;
        margin: 15px 0;
    }

    div[id^="cmb2-metabox-exporo_options"].cmb2-metabox #exporo-tab-boxes .cmb-td,
    div[id^="cmb2-metabox-exporo_options"].cmb2-metabox #exporo-tab-boxes .cmb-th {
        width: 100%
    }
}

@media only screen and (max-width: 960px) {
    .cmb2-options-page .cmb2-wrap .cmb-type-title {
        padding: 15px !important;
    }

    #exporo-tabs {
        width: 30%;
        border-right: 1px solid #ddd;
        background: #fafafa;
    }

    #exporo-tab-boxes {
        width: 70%;
    }

    div[id^="cmb2-metabox-exporo_options"].cmb2-metabox #exporo-tab-boxes .cmb-row {
        flex-direction: column;
    }

    div[id^="cmb2-metabox-exporo_options"].cmb2-metabox #exporo-tab-boxes .cmb-th {
        padding: 10px 0 0 0;
    }

    div[id^="cmb2-metabox-exporo_options"].cmb2-metabox #exporo-tab-boxes .cmb-td {
        padding: 10px 0;
    }
}

@media only screen and (max-width: 600px) {
    .cmb2-options-page {
        margin: 20px 10px;
    }
}