/**
 * General
 */
.mn-editor-shadow{
    background: #212121;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
}

.mn-hide{ display: none !important; }

.mn-clearfix{
    clear: both;
    display: block;
}

#mn-iframe-wrap{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 310px;
    border: none;
    background: rgba(0,0,0,0.9);
    display: block;
}

#mn-iframe-wrap.desktop{ left: 0; }

#mn-iframe-wrap.tablet,
#mn-iframe-wrap.smartphone{ right: auto; }

#mn-iframe-wrap.tablet{ width: 576px !important; }
#mn-iframe-wrap.smartphone{ width: 320px !important; }

#mn-iframe{
    z-index: 8;
    border: none;
}

#mn-loading{
    position: absolute;
    top:0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9;
}


/**
 * Errors
 */
#mn-errors{
    padding: 5px;
    z-index: 10;
    position: absolute;
    top: 80px;
    left: 20px;
    min-width: 300px;
    background: #db6d6d;
    color: white;

    -webkit-box-shadow: 0 0 5px 3px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 5px 3px rgba(0,0,0,0.2);
    box-shadow: 0 0 5px 3px rgba(0,0,0,0.2);
}

#mn-errors h3{
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 15px 0;
    padding: 10px;
    display: block;
    border-bottom: 1px solid white;
}

#mn-errors ul{
    margin: 0 0 0 15px;
    padding: 0;
    display: block;
}

#mn-errors li{
    margin: 2px 5px;
}


/**
 * Bar
 */
.mn-sidebar,
.mn-sidebar *{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mn-sidebar{
    z-index: 20;
    height: auto;
    width: 310px;
    padding: 0;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background: #f5f5f5;
    border-right: 1px solid #cccccc;
    font-size: 14px;
    line-height: 1.2em;
}

.mn-sidebar header{
    height: 50px;
    padding: 0 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #cccccc;
}

.mn-responsive-icons{
    position: relative;
    float: right;
    text-align: center;
}

.mn-responsive-icons .dashicons{
    width: 30px;
    text-align: center;
    display: inline-block;
    padding: 0 3px;
    height: 50px;
    line-height: 50px;
    cursor: pointer;
}

.mn-responsive-icons .dashicons:hover,
.mn-responsive-icons .dashicons.active{
    background: #cccccc;
}

.mn-sidebar .mn-responsive-icons .dashicons-arrow-right-alt2{ display: none; }

.mn-sidebar.mn-collapse{ left: -311px; }
.mn-sidebar.mn-collapse .mn-responsive-icons .dashicons-arrow-right-alt2{
    position: absolute;
    right: -50px;
    top:0;
    display: inline-block;
    width: 40px;
    height: 50px;
    background: #f1f1f1;
    overflow: hidden;
}

.mn-btn-back{
    float: left;
    margin-top: 10px !important;
}


/**
 * Section
 */
.mn-sections-wrap{
    display: block;
    width: auto;
    overflow-y: auto;
}

.mn-section h3{
    background: #fbfbfb;
    font-size: 16px;
    font-weight: normal;
    font-family: Arial, Verdana, sans-serif;
    padding: 10px;
    margin: 0;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
}

.mn-section.active h3,
.mn-section h3:hover {
    background: #eeeeee;
    color: #222222;
}

.mn-section h3 span{ float: right; }
.mn-section h3 span:before{ content: "\f347"; }
.mn-section.active h3 span:before{ content: "\f343"; }

.mn-section ul {
    display: none;
    background: white;
    list-style: none;
    margin: 0;
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
}
.mn-section.active ul{ display: block; }

.mn-section li{
    margin-bottom: 20px;
}

.mn-section li > span{
    margin-bottom:10px;
    display: block;
    font-weight: bold;
}

.mn-section select,
.mn-section textarea,
.mn-section input[type="text"]{
    line-height: 30px;
    height: 30px;
    padding: 0 5px;
    display: block;
    width: 100%;
}

.mn-section textarea{
    height: 60px;
    line-height: 1.3em;
}

.mn-section label{
    font-size: 13px;
    font-weight: normal;
    margin: 0 0 5px 0;
}

.mn-section input[type=radio] {
    margin: 0 0 5px 0;
}

.mn-section pre{
    background: #f1f1f1;
    max-width: 100%;
    word-wrap: break-word;
    padding: 5px;
    font-size: 13px;
}

#mn-open-wp-media{
    display: block;
    width: 100%;
    margin: 7px 0 12px;
}

/* enable button */
.mn-op-enable { display:none !important; }

.mn-op-enable-btn,
.mn-op-enable-btn span{
    overflow: hidden;
    display: inline-block;
    cursor: pointer;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;

    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    transition: all 300ms;
}

.mn-op-enable-btn{
    height: 20px;
    width: 40px;
    background: #FF7791;
    position: relative;
}

.mn-op-enable-btn span{
    width: 18px;
    height: 18px;
    background: whitesmoke;
    border: 1px solid #e1e1e1e1;
    position: absolute;
    top: 1px;
    left: 21px;
}

.mn-op-enable:checked + .mn-op-enable-btn{ background: #42B6EF; }
.mn-op-enable:checked + .mn-op-enable-btn span{ left: 1px; }

select[name="mn_currency"]{ margin-top: 5px; }

.content_type_media { overflow: hidden; }

.content_type_media button,
.content_type_media input[type="text"]{
    float: left;
    height: 30px;
    line-height: 30px;
}

.content_type_media button{ width: 40%; }
.content_type_media input[type="text"]{ width: 60%; }

#mn-display-on-pages select,
#mn-display-on-posts select{
    height: 100px;
    line-height: 1.3em;
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 5px;
}

#mn-display-on-posts select option,
#mn-display-on-pages select option{
    margin-bottom: 2px;
}

.mn-display-on-reset{ margin-bottom: 5px; }


/**
 * CSS AJAX loader
 */
.cssload-thecube {
    width: 73px;
    height: 73px;
    margin: 0 auto;
    margin-top: 49px;
    position: relative;
    transform: rotateZ(45deg);
    -o-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
}
.cssload-thecube .cssload-cube {
    position: relative;
    transform: rotateZ(45deg);
    -o-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
}
.cssload-thecube .cssload-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    transform: scale(1.1);
    -o-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
}
.cssload-thecube .cssload-cube:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(43,160,199);
    animation: cssload-fold-thecube 2.76s infinite linear both;
    -o-animation: cssload-fold-thecube 2.76s infinite linear both;
    -ms-animation: cssload-fold-thecube 2.76s infinite linear both;
    -webkit-animation: cssload-fold-thecube 2.76s infinite linear both;
    -moz-animation: cssload-fold-thecube 2.76s infinite linear both;
    transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
}
.cssload-thecube .cssload-c2 {
    transform: scale(1.1) rotateZ(90deg);
    -o-transform: scale(1.1) rotateZ(90deg);
    -ms-transform: scale(1.1) rotateZ(90deg);
    -webkit-transform: scale(1.1) rotateZ(90deg);
    -moz-transform: scale(1.1) rotateZ(90deg);
}
.cssload-thecube .cssload-c3 {
    transform: scale(1.1) rotateZ(180deg);
    -o-transform: scale(1.1) rotateZ(180deg);
    -ms-transform: scale(1.1) rotateZ(180deg);
    -webkit-transform: scale(1.1) rotateZ(180deg);
    -moz-transform: scale(1.1) rotateZ(180deg);
}
.cssload-thecube .cssload-c4 {
    transform: scale(1.1) rotateZ(270deg);
    -o-transform: scale(1.1) rotateZ(270deg);
    -ms-transform: scale(1.1) rotateZ(270deg);
    -webkit-transform: scale(1.1) rotateZ(270deg);
    -moz-transform: scale(1.1) rotateZ(270deg);
}
.cssload-thecube .cssload-c2:before {
    animation-delay: 0.35s;
    -o-animation-delay: 0.35s;
    -ms-animation-delay: 0.35s;
    -webkit-animation-delay: 0.35s;
    -moz-animation-delay: 0.35s;
}
.cssload-thecube .cssload-c3:before {
    animation-delay: 0.69s;
    -o-animation-delay: 0.69s;
    -ms-animation-delay: 0.69s;
    -webkit-animation-delay: 0.69s;
    -moz-animation-delay: 0.69s;
}
.cssload-thecube .cssload-c4:before {
    animation-delay: 1.04s;
    -o-animation-delay: 1.04s;
    -ms-animation-delay: 1.04s;
    -webkit-animation-delay: 1.04s;
    -moz-animation-delay: 1.04s;
}



@keyframes cssload-fold-thecube {
    0%, 10% {
        transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

@-o-keyframes cssload-fold-thecube {
    0%, 10% {
        -o-transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        -o-transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        -o-transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

@-ms-keyframes cssload-fold-thecube {
    0%, 10% {
        -ms-transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        -ms-transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        -ms-transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

@-webkit-keyframes cssload-fold-thecube {
    0%, 10% {
        -webkit-transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        -webkit-transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        -webkit-transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}

@-moz-keyframes cssload-fold-thecube {
    0%, 10% {
        -moz-transform: perspective(136px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        -moz-transform: perspective(136px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        -moz-transform: perspective(136px) rotateY(180deg);
        opacity: 0;
    }
}