/* Preloader */
/* Add after */
#_wpgp_page_options.wpgp--metabox-options:after {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    content: "";
    background-image: url('../wpgp-framework/assets/images/preloader.gif');
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    z-index: 999;
}
#_wpgp_page_options.wpgp--metabox-options.acc--after-none:after {
    content: none;
}
/* Preloader End */

/* Remove extra hide from top of the metabox body */
#post-body #normal-sortables {
    min-height: 0px;
}

/* Disable dragging of meta boxes */
.wpgp--metabox-options#_wpgp_page_options .ui-sortable-handle {
    pointer-events: none;
}

.wpgp--metabox-options#_wpgp_page_options button.handlediv {
    display: none;
}

/* Metabox Heading Styel */
.wpgp--metabox-options#_wpgp_page_options h2.hndle.ui-sortable-handle {
    font-size: 32px;
    padding-top: 35px;
    background: #4a2242;
    font-weight: 400;
    color: #fff;
    text-align: center;
    padding-bottom: 60px;
    letter-spacing: 1px;
}
.wpgp--metabox-options#_wpgp_page_options h2.hndle.ui-sortable-handle img {
    width: 150px;
}

/* Nav */
.wpgp--metabox-options#_wpgp_page_options .wpgp-nav {
    width: 100%;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp-nav ul {
    margin-top: -33px;
    background: #fff;
    margin-left: 50px;
    margin-right: 50px;
    border-radius: 5px;
    box-shadow: 0px 1px 7px -3px;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp-nav ul li {
    display: inline-block;
    margin: 0 10px;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp-theme-light .wpgp-nav ul li .wpgp-section-active {
    text-shadow: 4px 3px 0px #fff, 9px 8px 0px rgba(0, 0, 0, 0.15);
}

.wpgp--metabox-options#_wpgp_page_options .wpgp-content {
    margin-left: 0;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp-theme-light .wpgp-nav-background {
    display: none;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp-nav ul li a {
    padding: 25px 15px;
    font-size: 15px;
    font-weight: bold;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp-theme-light .wpgp-nav ul li a {
    background-color: #ffffff;
    border-bottom: 0;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp-nav .fa {
    font-size: 15px;
}

/* Tabs details */
.wpgp--metabox-options#_wpgp_page_options .wpgp--menu-detail {
    padding: 15px 30px;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp--menu-detail strong {
    font-size: 30px;
}

@media only screen and (min-width: 1400px) {
    .wpgp--metabox-options#_wpgp_page_options .wpgp--menu-detail p {
        width: 50%;
    }
}

.wpgp--metabox-options#_wpgp_page_options .wpgp--menu-detail a {
    margin-left: 30px;
    background: #02C23C;
    padding: 6px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 500;
    float: right;
}

/* SHortcode Side Context */
.wpgp--shortcode-field .wpgp--shortcode-field-wrap {
    padding: 30px 10px;
    background: #4a2242;
    color: #fff;
    border-radius: 3px;
    text-align: center;
}

.wpgp--shortcode-field .wpgp--shortcode-field-wrap code {
    font-size: 15px;
    font-weight: bold;
    -webkit-touch-callout: all;
    -webkit-user-select: all;
    -khtml-user-select: all;
    -moz-user-select: all;
    -ms-user-select: all;
    user-select: all;
}

/* Others */
.wpgp--metabox-options#_wpgp_page_options .wpgp--width-50 .wpgp-fieldset {
    width: 50%;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp-field-spacing input[type=number]:focus {
    box-shadow: none;
    border-color: #7e8993;
    background-color: #f5f5f5;
}

@media screen and (max-width: 1380px) {

    .wpgp--metabox-options#_wpgp_page_options .wpgp-text-desc img {
        width: 100%;
    }
}

/* Transparent placeholder text */
.wpgp--metabox-options#_wpgp_page_options .wpgp--no-placeholder input::-webkit-input-placeholder {
    /* WebKit browsers */
    color: transparent;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp--no-placeholder input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: transparent;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp--no-placeholder input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: transparent;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp--no-placeholder input:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: transparent;
}

.wpgp--metabox-options#_wpgp_page_options .wpgp--no-placeholder input::placeholder {
    color: transparent;
}



/******************************************
* Help page css start
*/
.wrap.about-wrap.wpgp--help {
    position: relative;
}

.wrap.about-wrap.wpgp--help .about-text {
    position: relative;
    margin: 0;
}

.wrap.about-wrap.wpgp--help .about-text .text {
    width: 85%;
    display: inline-block;
}

.help-badge {
    background: transparent url(../img/icon-128x128.png) no-repeat;
    background-size: contain;
    display: inline-block;
    float: right;
    width: 128px;
    height: 128px;
    margin-top: -35px;
    background-position: center;
}

div.wpgp--help .feature-section .wpgp--feature {
    background-color: #fff;
    padding: 20px 20px;
    border: 1px solid #ddd;
}

div.wpgp--help .feature-section .wpgp--feature h3 {
    font-size: 16px;
    margin-top: 12px;
}

div.wpgp--help .feature-section i.wpgp--font {
    font-size: 30px;
    display: block;
    color: #007cba;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.15);
}

div.wpgp--help .feature-section .button {
    margin-top: 0px;
}

div.wpgp--help.about-wrap h1 {
    font-size: 2.6em;
}

div.wpgp--help .headline-feature.feature-video {
    position: relative;
    margin: 40px 0;
    padding-bottom: 56.25%;
    width: 100%;
    max-width: 100%;
    height: 0;
    text-align: center;
}

div.wpgp--help .headline-feature.feature-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div.wpgp--help.about-wrap .wpgp--text-center {
    text-align: center;
}

/*
More Plugins
*/
.about-wrap .plugin-section .three-col .col {
    background: #fff;
}

.about-wrap .plugin-section .three-col .col .wpgp--plugin {
    border: 1px solid #ddd;
}

.about-wrap .plugin-section .three-col .col .wpgp--plugin .wpgp--plugin-content {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.about-wrap .plugin-section .three-col .col .wpgp--plugin .wpgp--plugin-content h3 {
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 500;
}

.about-wrap .plugin-section .three-col .col .wpgp--plugin .wpgp--plugin-content p {
    margin-top: 0;
}

.about-wrap .plugin-section .wpgp--plugin-section-title h2 {
    font-size: 2.2em;
    color: #32373c;
    font-weight: 400;
}

.about-wrap .plugin-section .wpgp--plugin-section-title h4 {
    font-weight: 400;
    text-align: center;
    font-size: 18px;
    color: #555d66;
    margin-top: 15px;
}

.wpgp--help.about-wrap [class$="-col"] {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    clear: both;
}

.wpgp--help.about-wrap [class$="-col"] .col {
    flex: 1;
    align-self: flex-start;
}

.wpgp--help.about-wrap .col {
    margin-top: 40px;
}

.about-wrap [class$="-col"] .col+.col {
    margin-left: 20px;
}

@media screen and (max-width: 782px) {
    .about-wrap .three-col .col {
        min-width: 48% !important;
        max-width: 48% !important;
        margin-left: 0 !important;
    }
}

@media only screen and (max-width: 500px) {
    .about-wrap .three-col .col {
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

/*
* Help page css end
******************************************/

/* Group Select Styles */
.wpgpsc--option-global .wpgp-field-checkbox ul {
    max-height: 100%;
}
.wpgpsc--option-global .wpgp-field-checkbox ul li ul li {
    display: inline-block;
    text-decoration: underline;
    margin: 7px 3px;
    padding: 7px 13px;
    border-radius: 5px;
    border: 1px dashed #dcdcdc;
}
.wpgpsc--option-global .wpgp-field-checkbox ul li ul li:first-child {
    display: block;
    border: none;
    font-size: 14px;
}

/* Added FontAwesome on Toggle On/Off Button */
.fa-toggle-on:before,
.fa-toggle-off:before {
    font-family: FontAwesome;
}

/* Typography Icon Group Inlined */
.wpgpsc--option-global .wpgp--block-font-color {
    display: inline-block;
}

/* Group Field Coloring */
.wpgpsc--option-global .ui-accordion-header.ui-accordion-header-active.ui-state-active,
.wpgpsc--option-global .wpgp-field-group .wpgp-cloneable-content {
    background-color: #ccd0d4;
}
.wpgpsc--option-global .wpgp-field-group .wpgp-cloneable-header-icon {
    font-size: 18px;
    width: 35px;
}

/* Tabs details on settings page */
.wpgpsc--option-global .wpgp--menu-detail {
    padding: 15px 30px;
}

.wpgpsc--option-global .wpgp--menu-detail strong {
    font-size: 30px;
}

@media only screen and (min-width: 1400px) {
    .wpgpsc--option-global .wpgp--menu-detail p {
        width: 50%;
    }
}

.wpgpsc--option-global .wpgp--menu-detail a.wpgp--need-help {
    margin-left: 30px;
    background: #02C23C;
    padding: 6px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 500;
    float: right;
}

/* Others */
.wpgpsc--option-global .acc--conditional-tag-list {
    float: left;
    width: 100%;
}
.wpgpsc--option-global .acc--conditional-tag-list li strong {
    color: #23282d;
}
.wpgpsc--option-global .acc--conditional-tag-list .wpgp-fieldset {
    position: relative;
    z-index: 9;
}
.wpgpsc--option-global .wpgp-help.acc--conditional-tags-help {
    color: brown;
    font-size: 16px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 135px;
    top: 16px;
    z-index: 9;
}
@media screen and (max-width: 782px) {
    .wpgpsc--option-global .wpgp-help.acc--conditional-tags-help {
        margin-left: 35px;
        top: 110px;
        font-size: 20px;
    }
}
.wpgpsc--option-global .acc--more-tag-repeater .wpgp-repeater-wrapper .wpgp-repeater-item {
    width: 30%;
}
.wpgpsc--option-global .wpgp-cloneable-content .wpgp-field-tabbed.acc--option-tab-list {
    border-top: 0;
}

/* Code editor box large height */
.wpgp--metabox-options#_wpgp_page_options .wpgp-field-code_editor .CodeMirror {
    height: 500px;
}

/* CodeMirror Inner Font & Spacing */
.wpgp--metabox-options#_wpgp_page_options .CodeMirror pre {
    font-size: 19px;
    padding: 0 10px;
}
.wpgp--metabox-options#_wpgp_page_options .cm-s-mdn-like .CodeMirror-linenumber {
    font-size: 19px;
    padding-left: 0px;
}

/* switcher inline-block */
.wpgp--metabox-options#_wpgp_page_options .acc--inline-block-fields,
.wpgpsc--option-global .acc--inline-block-fields {
    display: inline-block;
    border: 1px dashed #eee;
    margin: 15px;
}

/* Metabox options menu icon little tweaks */
.wpgp--metabox-options#_wpgp_page_options a[data-section="_wpgp_page_options_4"] i.fa {
    font-weight: bold;
}
.wpgp--metabox-options#_wpgp_page_options a[data-section="_wpgp_page_options_5"] i.fa {
    font-size: 17px;
    font-weight: bold;
}

/* Notice */
.wpgpsc--option-global .acc--notice-warning {
    background-color: #ccd0d4;
    color: #856404;
    border-top: 0 !important;
}
.wpgpsc--option-global .acc--notice-warning .wpgp-notice {
    background-color: #fff3cd;
    border-color: #856404;
}

/* Repeater Field Icon Inline */
#_wpgp_page_options.wpgp--metabox-options .acc--lib-load-repeater .wpgp-repeater-helper-inner {
    display: inline;
}

/* h2 image center & sortable display none */
.wpgp--metabox-options .handle-actions {
    display: none;
}

.wpgp--metabox-options h2.hndle.ui-sortable-handle {
    justify-content: center;
}