/*!
 * Octagon Core Admin CSS v1.0
 *
 * 
 * Copyright (c) octagon web studio
 *
 */

/*----------------------------------------------------------------------------
    TABLE OF CONTENTS:
------------------------------------------------------------------------------
    # Reset
    # Helper
    # Admin Page
    # Status
    # Custom Sidebar
    # Metabox
    # Icon Picker
    # Custom Media Uploader
    # Builder Icons
    # List Table
    # Post Body

============================================================================== */





/* ---------------------------------------------------------------------------
 * Reset
------------------------------------------------------------------------------ */

body.octagon_page_octagon-sidebar,
body.octagon_page_octagon-import,
body.octagon_page_octagon-icon-manager {
    background: #fff;
}

body.octagon_page_octagon-sidebar .notice,
body.octagon_page_octagon-import .notice,
body.octagon_page_octagon-icon-manager .notice,
body.octagon_page_octagon-grid-creator .notice,
body.post-type-octagon_header_builder .notice,
body.post-type-octagon_footer_builder .notice,
body.post-type-octagon_post_builder .notice,
body.post-type-octagon_folio_builder .notice,
body.post-type-octagon_shop_builder .notice,
body.octagon_page_octagon-sidebar .update-nag,
body.octagon_page_octagon-import .update-nag,
body.octagon_page_octagon-icon-manager .update-nag,
body.octagon_page_octagon-grid-creator .update-nag,
body.post-type-octagon_header_builder .update-nag,
body.post-type-octagon_footer_builder .update-nag,
body.post-type-octagon_post_builder .update-nag,
body.post-type-octagon_folio_builder .update-nag,
body.post-type-octagon_shop_builder .update-nag {
    display: none;
}

#adminmenu #toplevel_page_octagon-intro div.wp-menu-image::before {
    font-family: octagon!important;
    content: '\61';
}


/* ---------------------------------------------------------------------------
 * Helper
------------------------------------------------------------------------------ */

.bttn {
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    box-shadow: none;
    border: 0;
}

.bttn:focus {
    box-shadow: none;
    outline: none;
}

.bttn-gradient,
.bttn-gradient:link,
.bttn-gradient:visited,
.bttn-gradient:hover,
.bttn-gradient:active {
    color: #fff;
    background-color: #ff4246;
    background: linear-gradient( to right, #ff216b 0%,#ff4246 100% );
}

.bttn-black,
.bttn-black:link,
.bttn-black:visited,
.bttn-black:hover,
.bttn-black:active {
    color: #fff;
    background: #161616;
}

.bttn-medium {
    line-height: 50px;
    padding: 0 22px;
    height: 50px;
}

.bttn-small {
    line-height: 34px;
    padding: 0 12px;
    height: 34px;
}

.batch {
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    background: #21b8da;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 20px;
    margin-right: 10px;
    padding: 0 8px;
    height: 20px;
    display: inline-block;
    border-radius: 3px;
}

.batch-green {
    background: #77b526;
}

.batch-orange {
    background: #ff4f00;
}

.batch-red {
    background: #b50c00;
}

.simple-link {
    font-size: 16px;
    font-weight: 500;
    color: #ff2468;
}

a.simple-link {
    text-decoration: none;
    padding: 0 0 2px 0;
    border-bottom: 1px solid;
}

.simple-link-minimal {
    color: #a2a2a2;
}

a.mini-btn,
a.mini-btn:link,
a.mini-btn:hover,
a.mini-btn:visited,
a.mini-btn:active {
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 46px;
    display: inline-block;
    padding: 0 20px;
    height: 46px;
}

.btn-green {
    background: #09d36f;
}

.btn-red {
    background: #fb3453;
}

.loading {
    position: relative;
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.loading .loader {
    width: 15px;
    height: 15px;
    float: left;
    margin: 14px 5px 0 0;
    position: absolute;
    left: -20px;
    -webkit-transform: translate(-15px, -15px) scale(1) translate(15px, 15px);
    transform: translate(-15px, -15px) scale(1) translate(15px, 15px);
}

.loading .loader div {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #161616;
    border-color: #161616 transparent #161616 transparent;
    -webkit-animation: spinner 1s linear infinite;
    animation: spinner 1s linear infinite;
}


/* ---------------------------------------------------------------------------
 * Admin Page
------------------------------------------------------------------------------ */

.octagon-admin-page {
    color: #333;
    max-width: 1200px;
    padding: 40px;
}

.octagon-admin-page.full-width {
    max-width: 100%;
    padding: 0;
}

.octagon-admin-page p {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.octagon-admin-page header {
    margin: 0 0 60px 0;
} 

.octagon-admin-page .desc {
    font-size: 18px;
    line-height: 1.8;
    max-width: 70%;
} 

.octagon-admin-page .brand {
    margin: 0 0 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
} 

.octagon-admin-page .brand .logo {
    display: flex;
    align-items: center;
} 

.octagon-admin-page .brand .logo img {
    margin: 0 10px 0 0;
    width: 80px;
} 

.octagon-admin-page .brand .logo .theme-name,
.octagon-admin-page .brand .logo .version {
    font-weight: 500;
    color: #222;
}

.octagon-admin-page .brand .logo .theme-name {
    font-size: 24px;
}

.octagon-admin-page .two-column,
.octagon-admin-page .three-column {
    display: flex;
    justify-content: space-between;
}

.octagon-admin-page .two-column .column {
    width: 50%;
}

.octagon-admin-page .three-column .column {
    width: 33.333333%;
}

.octagon-admin-page .two-column .column:first-child {
    margin: 0 15px 0 0;
}

.octagon-admin-page .two-column .column:last-child {
    margin: 0 0 0 15px;
}

.octagon-admin-page .column .grid {
    background: #f9f9f9;
    margin: 0 0 30px 0;
    padding: 30px;
    border-radius: 8px;
}

.octagon-admin-page .column .grid .content-sep {
    margin: 0 0 30px 0;
}

.octagon-admin-page .title-area {
    margin: 0 0 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.octagon-admin-page .title-area .main-title {
    font-size: 24px;
    font-weight: 500;
    color: #383838;
}

.octagon-admin-page .content-area .sub-title {
    font-size: 18px;
    font-weight: 500;
    color: #383838;
}

.octagon-admin-page .title-area .sub {
    font-size: 16px;
}

.octagon-admin-page .content-area p,
.octagon-admin-page .content-area li {
    font-size: 15px;
}

.octagon-admin-page .content-area li {
    margin: 0 0 12px 0;
    padding: 0 0 12px 0;
    border-bottom: 1px solid #f4f4f4;
    display: flex;
}

.octagon-admin-page .content-area li:last-child {
    margin: 0;
    padding: 0;
    border: 0;
}

.octagon-admin-page .content-area input {
    margin: 0;
    box-shadow: none;
    border-color: #f4f4f4;
}

.octagon-admin-page .content-area input[type="text"] {    
    padding: 0 20px;
    width: 40%;
    height: 52px;
}


/* ---------------------------------------------------------------------------
 * Status
------------------------------------------------------------------------------ */

.content-area .status-list li {
    display: block;
}

.content-area .list-title {
    margin: 0 10px 0 0;
}

.content-area .list-info {
    font-size: 14px;
    margin: 10px 0 0 0;
    display: block;
}


/* ---------------------------------------------------------------------------
 * Custom Sidebar
------------------------------------------------------------------------------ */

.add-sidebar-form {
    display: flex;
}

.custom-sidebar ul li {
    display: flex;
    justify-content: space-between;
}

.custom-sidebar ul li .remove_custom_sidebar {
    font-size: 14px;
    color: #fff;
    text-align: center;
    padding: 0 10px;
    line-height: 26px;
    height: 26px;
    display: inline-block;
    float: right;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
}

.add_custom_sidebar.loading .loader {
    left: auto;
    right: -30px;
}

.remove_custom_sidebar.loading .loader {
    margin: 4px 0 0 0;
    width: 10px;
    height: 10px;
    left: -20px;
}

.remove_custom_sidebar.loading .loader div {
    width: 10px;
    height: 10px;
}


/* ---------------------------------------------------------------------------
 * Metabox
------------------------------------------------------------------------------ */

#side-sortables .metabox-cover {
    margin: 0;
}

.metabox-nav {
    border-right: 1px solid #eee;
    box-sizing: border-box;
    display: table-cell;
    vertical-align: top;
}

.metabox-nav ul {
    margin: 0;
}

.metabox-nav ul li {    
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.metabox-nav ul li.active {    
    background: #f7f7f7;
}

.metabox-groups {
    padding: 0 0 0 24px;
    width: 85%;
    overflow: hidden;
    display: table-cell;
}

#side-sortables .metabox-groups {
    padding: 0;
    width: 100%;
}

.group {
    overflow: hidden;
    display: none;
}

.group.active {
    display: block;
}

.field {
    width: 100%;
    float: left;
    margin: 10px 0 20px 0;
    padding: 0 0 30px 0;
    border-bottom: 1px solid #eee;
}

#side-sortables .field {
    padding: 0; 
    border: 0; 
}

.left-side,
.right-side {
    width: 18%;
    float: left;
}

.right-side {
    width: 80%;
    float: right;
}

#side-sortables .left-side,
#side-sortables .right-side {
    width: 100%;
    float: none;
}

#side-sortables .right-side {
    margin: 10px 0 0 0;
}

.field-repeatable .left-side,
.field-repeatable .right-side {
    width: 100%;
    float: none;
}

.field-repeatable .right-side {
    margin: 15px 0 0 0;
}

.field-repeatable .field-set {
    margin: 20px 0 0 0;
    display: none;
}

.field-repeatable .field-group {
    margin: 0 0 20px 0;
    padding: 40px;
    width: calc( 100% - 100px );
    float: left;
    border: 2px dashed #f2f2f2;
    position: relative;
}

.field-repeatable .field-group .field {
    margin: 0 0 20px 0;
}

.field-repeatable .field-group .field:last-child {
    margin: 0;
    padding: 0;
    border: 0;
}

.remove-repeatable-field.button-primary {
    font-size: 15px;
    line-height: 25px;
    vertical-align: middle;
    height: 30px;
    position: absolute;
    right: 10px;
    top: 10px;
}

.field-title {
    font-size: 14px;
    color: #333;
    margin: 0 0 5px 0;
}

.field-description {
    color: #555;
    margin: 0;
}

.field .textfield {
    width: 250px;
    height: 35px;
    box-shadow: none;
    border-color: #eee;
}

.textarea {
    width: 350px;
    height: 150px;
    border-color: #eee;
    box-shadow: none;
}

.select {
    width: 250px;
    box-shadow: none;
    border-color: #eee;
}

.wp-picker-container button {
    width: 120px;
}

.background-field {
    float: left;
    width: 120px;
    margin-right: 20px;
}

.background-field .select {
    width: 120px;
}

.options-group {
    margin: 30px 0 0 0;
    overflow: hidden;
}

.options-group:first-child {
    margin: 50px 0 0 0;
}

.options-group > h3 {
    margin: 0 0 30px 0;
}

.options-group + button {
    margin: 40px 0 0 0;
}

.toggle-switch {
    margin: 0 0 30px 0;
    width: 33.333333%;
    float: left;
}

.toggle-switch > p {
    margin: 0 0 10px 0;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.toggle,
.toggle-switch > div {
    display: inline-block;
    padding: 8px 0;
    border: 1px solid #eee;
    border-radius: 3px;
}

.toggle-switch > div {
    padding: 0;
}

.toggle span,
.toggle-switch > div span {
    padding: 9px 12px;
    border-right: 1px solid #eee;
    cursor: pointer;
}

.toggle-switch > div span {
    text-align: center;
    padding: 9px 0;
    width: 50px;
    border-right: 0;
    display: inline-block;
}

.toggle span.active,
.toggle-switch > div span.active {
    background: #0085ba;
    color: #fff;    
    border-color: #0073aa #006799 #006799;
    box-shadow: 0 1px 0 #006799;
    text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
}

.octagon-admin-page .toggle-switch > div span {
    font-size: 14px;
}

.octagon-admin-page .toggle-switch > div span.active {
    background: #77b526;
    color: #fff;    
    border-color: #77b526 #77b526 #77b526;
    box-shadow: 0 1px 0 #77b526;
    text-shadow: 0 -1px 1px #77b526, 1px 0 1px #77b526, 0 1px 1px #77b526, -1px 0 1px #77b526;
}

.toggle span:nth-child(2),
.toggle-switch > div span:nth-child(2) {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.toggle span:last-child,
.toggle-switch > div span:last-child {
    border: none;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.radio-image span {
    margin: 0 10px 0 0;
    padding: 10px;
    display: inline-block;
    border: 2px solid #eee;
    box-sizing: border-box;
    cursor: pointer;
}

.radio-image span.active {
    border: 2px solid #006799;
}

.repeatable-field-template {
    display: none;
}


/* ---------------------------------------------------------------------------
 * Icon Picker
------------------------------------------------------------------------------ */

.icon-picker-field {
    position: relative;
}

.icons-lists {
    background: #fff;
    padding: 40px 20px 20px 20px;
    max-width: 500px;
    max-height: 300px;
    display: none;
    float: left;
    border: 1px solid #f7f7f7;
    overflow-y: auto;
    z-index: 1;
    position: absolute;
}

.icon-picker-field input.icon-picker-textfield {
    padding: 0 15px 0 30px;
    width: 180px;
    height: 35px;
}

.current-icon {
    line-height: 35px;
    padding: 0 10px;
    height: 35px;
    position: absolute;
}

.icon-picker-field .button {
    height: 35px;
    line-height: 34px;
}

.icons-lists div {
    display: none;
}

.icons-lists div.active {
    display: block;
}

.icon-picker-field select {
    margin: 0 0 20px 0;
}

.icon-picker-field .icon-picker-close {
    display: none;
    cursor: pointer;
    position: absolute;
    left: 490px;
    top: 50px;
    z-index: 2;
}

.menu-item-settings .icon-picker-field .icon-picker-close {
    left: 90%;
}

.icons-lists i {
    font-size: 15px;
    margin: 0 2px 2px 0;
    padding: 5px 6px;
    display: block;
    float: left;
    cursor: pointer;
    border: 1px solid #f7f7f7;
    border-radius: 2px;
}

.icons-lists i.active {
    color: #fff;
    background: #0085ba;
}


/* ---------------------------------------------------------------------------
 * Custom Media Uploader
------------------------------------------------------------------------------ */

.col-wrap p.submit {
    clear: both;
}

.custom-media-upload-btn.button-primary {
    margin-bottom: 5px;
}

span.remove-custom-media {
    font-size: 12px;
    color: #fff;
    background: #f51078;
    text-align: center;
    line-height: 15px;
    width: 20px;
    height: 20px;
    border-radius: 100px;
    position: absolute;
    top: -10px;
    right: -6px;
    z-index: 9; 
    display: none;
    cursor: pointer;
}

.media:hover span.remove-custom-media {
    display: block;
}

.media {
    position: relative;
}

.image .media {
    width: 50px;
    float: left;
    margin-right: 5px;
}

.image .media img {
    width: 50px;
}

.audio .media,
.video .media {
    width: 200px;
    margin-bottom: 15px;
}

.text .media,
.application .media {
    width: 100px;
    float: left;
}

.text .doc-icon,
.application .doc-icon {
    font-size: 32px;
}

.text span.remove-custom-media,
.application span.remove-custom-media {
    left: -6px;
}



/* ---------------------------------------------------------------------------
 * Builder Icons
------------------------------------------------------------------------------ */

.icon-wishlist {
    background: url(../image/kc-icon-wishlist.png) center center no-repeat !important;
}

.icon-compare-products {
    background: url(../image/kc-icon-compare-products.png) center center no-repeat !important;
}

.icon-content-type {
    background: url(../image/kc-icon-content-type.png) center center no-repeat !important;
}

.icon-icon-box {
    background: url(../image/kc-icon-icon-box.png) center center no-repeat !important;
}

.icon-image-mask {
    background: url(../image/kc-icon-image-mask.png) center center no-repeat !important;
}

.icon-image-box {
    background: url(../image/kc-icon-image-box.png) center center no-repeat !important;
}

.icon-product-slider {
    background: url(../image/kc-icon-product-slider.png) center center no-repeat !important;
}

.icon-slide-all {
    background: url(../image/kc-icon-slide-all.png) center center no-repeat !important;
}

.icon-advance-button {
    background: url(../image/kc-icon-advance-button.png) center center no-repeat !important;
}

.icon-slick-gallery {
    background: url(../image/kc-icon-slick-gallery.png) center center no-repeat !important;
}

.icon-info-icons {
    background: url(../image/kc-icon-info-icons.png) center center no-repeat !important;
}

.icon-video-popup {
    background: url(../image/kc-icon-video-popup.png) center center no-repeat !important;
}

.icon-google-map {
    background: url(../image/kc-icon-google-map.png) center center no-repeat !important;
}

.icon-products {
    background: url(../image/kc-icon-products.png) center center no-repeat !important;
}

.icon-line-text {
    background: url(../image/kc-icon-line-text.png) center center no-repeat !important;
}

.icon-content-type-slider {
    background: url(../image/kc-icon-content-type-slider.png) center center no-repeat !important;
}

.icon-testimonial-slider {
    background: url(../image/kc-icon-testimonial-slider.png) center center no-repeat !important;
}

.icon-product-box {
    background: url(../image/kc-icon-product-box.png) center center no-repeat !important;
}

.icon-product-box-slider {
    background: url(../image/kc-icon-product-box-slider.png) center center no-repeat !important;
}

.icon-slider-revolution {
    background: url(../image/kc-icon-slider-revolution.png) center center no-repeat !important;
}

.icon-gallery-grid {
    background: url(../image/kc-icon-gallery-grid.png) center center no-repeat !important;
}

.icon-products-grid {
    background: url(../image/kc-icon-products-grid.png) center center no-repeat !important;
}

.icon-taxonomy-grid {
    background: url(../image/kc-icon-taxonomy-grid.png) center center no-repeat !important;
}

.icon-custom-elements {
    background: url(../image/kc-icon-custom-elements.png) center center no-repeat !important;
}

.icon-blog-grid {
    background: url(../image/kc-icon-blog-grid.png) center center no-repeat !important;
}

.icon-portfolio {
    background: url(../image/kc-icon-portfolio.png) center center no-repeat !important;
}

.icon-team {
    background: url(../image/kc-icon-team.png) center center no-repeat !important;
}

.icon-timeline {
    background: url(../image/kc-icon-timeline.png) center center no-repeat !important;
}

.icon-advance-separator {
    background: url(../image/kc-icon-advance-separator.png) center center no-repeat !important;
}

.icon-advance-counter {
    background: url(../image/kc-icon-advance-counter.png) center center no-repeat !important;
}



/* ---------------------------------------------------------------------------
 * List Table
------------------------------------------------------------------------------ */

table.wp-list-table .row-actions {
    color: #999;
    font-size: 13px;
}

table.wp-list-table .column-thumb,
table.wp-list-table .column-featured {
    width: 52px;
    text-align: center;
    white-space: nowrap;
}

table.wp-list-table .column-thumb img {
    width: 100%;
}

table.wp-list-table .column-featured {
    width: 100px;
}

span.wp-list-table-icon {
    display: block;
    text-indent: -9999px;
    position: relative;
    height: 1em;
    width: 1em;
    margin: 0 auto;
}

span.wp-list-table-icon:before {
    font-family: Dashicons;
    speak: none;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    text-indent: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    content: "\f128";
}

span.wp-list-table-icon.featured:before {
    content: "\f155";
}



/* ---------------------------------------------------------------------------
 * Post Body
------------------------------------------------------------------------------ */

#post-body-content .duplicate-btn {
    margin: 10px 0 0 0;
}