/*------------------------------------------------------------------------
    MuttleyPanel Stylesheet
------------------------------------------------------------------------ */

/* Clearfix
------------------------------------------------------------------------ */
.clear {
    clear: both;
    display: block;
    height: 1px;
    margin-top: -1px;
    overflow: hidden;
    visibility: hidden;
    width: 0
}

.clearfix:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    height: 0;
    line-height: 0;
    visibility: hidden;
    width: 0
}

* html .clearfix,
:first-child+html .clearfix {
    zoom: 1
}


/* UI Helpers
------------------------------------------------------------------------ */
.ui-custom-overlay {
    z-index: 1001 !important;
}

body .ui-custom-dialog {
    z-index: 99999 !important;
    background: #f8f8f8 !important;
    box-shadow: 0 1px 10px 4px rgba(0, 0, 0, 0.13);
    border: 1px solid #d4d4d4 !important;
    -webkit-border-radius: 5px;
}


/* Structure
------------------------------------------------------------------------ */
#muttleypanel {
    overflow: hidden;
    border: 1px solid #ddd;
    vertical-align: top;
    float: left;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    border-radius: 3px;
    min-height: 800px;
    width: 806px;
    margin: 20px 0;
}

#muttleypanel-top {
    width: 100%;
    background: #323232;
    overflow: hidden;
    display: none;
}

#muttleypanel-top .mobile-button {
    float: left;
    cursor: pointer;
    margin: 10px 20px;
}

#muttleypanel-top .mobile-button i {
    color: #999;
    font-size: 36px;
    line-height: normal;
}

#muttleypanel-top .mobile-button:hover i {
    color: #2ea2cc;
}

#muttleypanel-top #_save_mobile i {
    margin: 0;
}

/* Sidebar
------------------------------------------------------------------------ */
#muttleypanel-sidebar {
    float: left;
    width: 200px;
    position: relative;
    background: #272727;
    text-align: center;
    overflow: hidden;
    margin-bottom: -10000px;
    padding-bottom: 10000px;
}

#muttleypanel-content {
    float: left;
    width: 606px;
    position: relative;
    background: #fff;
    margin-bottom: -10000px;
    border-left-color: transparent;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 20px 20px 10000px;
}

.box-row {
    position: relative;
}

.muttleypanel-tab {
    display: none;
    z-index: 1;
    position: relative;
}

.muttleypanel-main-tab {
    padding: 0 0 40px;
}

#muttleypanel-logo {
    padding-top: 0;
    overflow: hidden;
}

#muttleypanel-logo img {
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
    vertical-align: bottom;
}
#_save {
    display: inline-block;
    min-width: 160px;
    min-height: 35px;
    margin: 20px auto;
}


/* Navigation
------------------------------------------------------------------------ */
.muttleypanel-menu {
    position: relative;
    text-align: left;
    margin: 0;
}

.muttleypanel-menu li {
    margin: 0;
    padding: 0;
}

.muttleypanel-menu a:active,
.muttleypanel-menu a:focus {
    outline: 0;
    box-shadow: none;
}

.muttleypanel-menu a {
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transtion: all .2s ease;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.muttleypanel-menu li a.muttleypanel-menu-level0 {
    border-top: 1px solid #323232;
    border-bottom: 1px solid #1b1b1b;
    color: #fff;
    font-size: 13px;
    line-height: 34px;
    width: auto;
    height: 34px;
    text-decoration: none;
    display: block;
    background: #272727;
    cursor: pointer;
    padding: 0 4px 0 12px;
}

.muttleypanel-menu li a.muttleypanel-menu-level0 i {
    color: #999;
    font-size: 16px;
}

.muttleypanel-menu .icon {
    margin-right: 12px;
}

.muttleypanel-menu li a.muttleypanel-menu-level0.active,
.muttleypanel-menu li a.muttleypanel-menu-level0.active:hover,
.muttleypanel-menu li a.muttleypanel-menu-level0:hover {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background: #ff6239;
    color: #fff;
}

.muttleypanel-menu li a.muttleypanel-menu-level0.active i,
.muttleypanel-menu li a.muttleypanel-menu-level0.active:hover i,
.muttleypanel-menu li a.muttleypanel-menu-level0:hover i {
    color: #fff;
}

.muttleypanel-sub-menu {
    background: #1d1d1d;
    display: none;
}

.muttleypanel-sub-menu li {
    border-bottom: 1px solid #191919;
    border-top: 1px solid #222;
    margin: 0;
    padding: 0;
}

.muttleypanel-sub-menu a {
    font-size: 13px;
    display: block;
    color: #ccc;
    text-decoration: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 8px 0 8px 40px;
}
.muttleypanel-sub-menu a.active {
    color:#fff
}


/* Breadcrumb
------------------------------------------------------------------------ */
.muttleypanel-breadcrumb {
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 15px;
    display: block;
    font-weight: 400;
    border-bottom: 1px solid #ddd;
}

.muttleypanel-breadcrumb div {
    color: #222;
    display: inline-block;
    height: 20px;
    position: relative;
    overflow: hidden;
    line-height: 20px;
}

.muttleypanel-breadcrumb .r-separator {
    color: #999;
    margin: 0 8px;
}

.muttleypanel-breadcrumb ul {
    position: relative;
    left: 0;
    top: 0;
    color: #ff6239;
    margin: 0;
}

.muttleypanel-breadcrumb ul li {
    height: 20px;
    line-height: 20px;
    margin: 0;
    padding: 0;
    font-weight: 600;
}


/* Media queries
------------------------------------------------------------------------ */
@media only screen and (max-width:900px) {
    #wpcontent,
    .auto-fold #wpcontent {
        padding-right: 10px;
    }

    #muttleypanel-sidebar {
        width: 100%;
        display: none;
    }

    #muttleypanel-sidebar #muttleypanel-logo,
    #muttleypanel-sidebar #_save {
        display: none;
    }

    .muttleypanel-menu li a.muttleypanel-menu-level0 {
        font-size: 14px;
        line-height: 40px;
        height: 40px;
    }

    .muttleypanel-menu li a.muttleypanel-menu-level0 i {
        font-size: 16px;
    }

    .muttleypanel-sub-menu a {
        font-size: 14px;
        padding: 10px 0 10px 40px;
    }

    #muttleypanel-content,
    #muttleypanel {
        width: 100%;
    }

    #muttleypanel-top,
    #muttleypanel-sidebar.mobile-nav {
        display: block;
    }

}

@media screen and (max-width:782px) {
    ._button {
        padding: 8px 14px !important;
    }

}


/* Forms
------------------------------------------------------------------------ */
/* Label */
.box-row label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
    color: #222;
}

/* Inputs */
#muttleypanel input[type=time], #muttleypanel input[type=email], #muttleypanel input[type=number], #muttleypanel input[type=password], #muttleypanel input[type=search], #muttleypanel input[type=tel], #muttleypanel input[type=text], #muttleypanel input[type=url] {
    background: #e6e6e6;
    color: #666;
    font-size: 13px;
    padding: 0 7px;
    border-radius: 5px;
    max-height: 26px;
    line-height: 26px;
    font-weight: 600;
    vertical-align: middle;
    border: none;
    max-width: 220px;
    outline: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-width: 220px;
}

/* Textarea */
#muttleypanel textarea {
    background: #e6e6e6;
    color: #666;
    font-size: 13px;
    padding: 0 7px;
    font-weight: 600;
    max-width:500px;
    width:100%;
    border-radius:5px;
    outline:0;
     -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Select */
#muttleypanel select {
    background: #e6e6e6;
    font-weight: 600;
    border-radius: 5px;
    color: #666;
    font-size: 13px;
    width: auto;
    display: block;
    max-width: 220px;
    min-width: 220px;
    margin-bottom: 0;
    clear: both;
    margin-bottom: 10px;
}
#muttleypanel select[multiple] {
    min-height:180px;
}

/* Buttons */
#muttleypanel button {
}
#muttleypanel .special-button {
    margin-top: 10px;
}
#muttleypanel .wp-switch-editor { margin-bottom:0 }

/* Range / Gradient direction */
#muttleypanel .range-input,
#muttleypanel .gradient-direction {
    max-width:60px !important;
    min-width:60px !important;;
}
/* Colorpicker */
.colorpicker-wrap input { border-radius: 0; }

/* Editor */
.custom-tiny-editor {
    clear: both;
    margin-bottom: 10px;
}
.custom-tiny-editor .mceLayout { background-color:#fff; }

@media screen and (max-width: 782px) { 
    body #muttleypanel select {
        font-size:13px !important;
        height:auto !important;
    }
    #muttleypanel select[multiple] {
        
    }
}


/* Fileds
------------------------------------------------------------------------ */
#muttleypanel .box-row {
        position: relative;
    }
        #muttleypanel .box-row-input {
            margin-top:20px;
            /* margin-bottom: 20px; */
            display: table;
            width: 100%;
        }
        #muttleypanel .box-row-line {
            width: 100%;
            height: 1px;
            border-bottom: 1px dashed #ddd;
            padding-bottom: 15px;
        }
            #muttleypanel .box-row-input .box-tc {
                display: table-cell;
                vertical-align: top;
            }
            #muttleypanel .box-row-input .box-tc-label {
                width:200px;
                padding-right: 20px;
            }
            #muttleypanel .box-row-input .box-tc-input {
                min-width: 200px;
            }
            #muttleypanel .box-row-input .sub-name {
                font-size: 12px;
            }

            /* Help Box */
            .help-box {
                width: 100%;
                display: block;
                font-size: 11px;
                line-height: 14px;
                color: #aaa;
                font-style: italic;
            }

@media screen and (max-width: 782px) { 
    #muttleypanel .box-row-input {
        display: block
    }
    #muttleypanel .box-row-input .box-tc {
        display: block;
    }
    #muttleypanel .box-row-input .box-tc-label {
        margin-bottom:10px
    }
}


/* Helpers
------------------------------------------------------------------------*/

/* Misc
------------------------------------*/
.hidden {
    display: none !important;
}


/* Depedences
------------------------------------*/
.dependent-hidden {
    display: none
}


/* Messages
------------------------------------*/
.box-row .msg-dotted {
    padding: 24px;
    margin: 6px 0;
    overflow: hidden;
    border: 1px dashed #ccc;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border-radius:5px;
    color: #888;
}

/* Error */
.box-row .msg.msg-error {
    border-color: #e9c59b;
    background: #ffecce;
    color: #e3302c;
}

/* Success */
.box-row .msg.msg-success {
    border-color: #bfde84;
    background: #edfbd8;
    color: #508600;
}

/* Info */      
.box-row .msg.msg-info {
    border-color: #bbdbe0;
    background: #ecf9ff;
    color: #0888c3;
}

/* Warning */
.box-row .msg.msg-warning {
    border-color: #e5e181;
    background: #fefde2;
    color: #666;
}

.box-row .msg {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    display: block;
    font-size: 12px;
    font-weight: bold;
    border-left: 4px solid;
    padding: 16px 30px 16px 24px;
    clear: both;
    margin: 10px 0;
}


/* Code
------------------------------------*/
.box-row code {
    display: block;
    border-width: 1px;
    border-left-width: 4px;
    border-style: solid;
    border-color: #ccc;
    overflow: auto;
    font-family: "Courier New", Courier, monospace;
    margin: 10px 0;
    color: #666;
    font-size: 11px;
    line-height: 16px;
    padding: 10px;
    clear: both;
    width: auto;
    height: 100%;
    max-width:470px;
    background-color: #f6f6f6;
}


/* Font Awesome icon
------------------------------------*/
i.icon {
    font-style: normal;
    font-family: 'FontAwesome';
    text-shadow: none;
    font-size: 14px;
    font-weight: normal;
}

i.icon {
    display: inline-block;
    margin-right: 10px;
}

/* Plugins
------------------------------------------------------------------------ */

/* Time range
------------------------------------*/
#muttleypanel .timepicker-input {
    min-width:90px;
    display:inline-block;
}
#muttleypanel .date-separator:after {
    content:"-";
    color:#aaa;
    margin:0 5px;
}


/* ON/OFF Switch
------------------------------------*/
#muttleypanel .switch-wrap {
    position: relative;
    height: 25px;
    width: 60px;
}
#muttleypanel .switch-wrap select {
    display: none;
}
#muttleypanel .switch-on-off {
    vertical-align: middle;
    display: inline-block;
    cursor: pointer;
    position: relative;
    width: 50px;
    height: 20px;
    line-height: 27px;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
}
#muttleypanel .switch-on-off .onstate,
#muttleypanel .switch-on-off .offstate {
    display: block;
    padding-left: 25px;
    width: 50px;
    height: 20px;
    line-height: 20px;
    background: #ff6239;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 600;
    transition: all cubic-bezier(0.76, 0, 0.174, 1) .4s;
}

#muttleypanel .switch-on-off .offstate {
    background: #ddd;
    color: #999;
    left: -50px;
    padding-left: 5px;
}

#muttleypanel .switch-on-off .onstate:before, .switch-on-off .offstate:before {
    position: absolute;
    content: " ";
    width: 16px;
    height: 16px;
    top: 2px;
    left: 2px;
    border-radius: 50%;
    background: #fff;
}
#muttleypanel .switch-on-off .offstate:before {
    background: #999;
    left: auto;
    right: 2px;
}
#muttleypanel .switch-on-off.off .offstate {
    left: 0px;
}
#muttleypanel .switch-on-off.off .onstate {
    left: 50px;
}


/* Image Select
------------------------------------*/
#muttleypanel ul.select-image {
    overflow: hidden;
    margin: 0 0 5px 0;
}

#muttleypanel ul.select-image li {
    position: relative;
    overflow: hidden;
    float: left;
    margin-right: 10px;
}

#muttleypanel ul.select-image li img {
    display: block;
    cursor: pointer;
    opacity: .3;
    position: relative;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
}

#muttleypanel ul.select-image li img.selected-image {
   -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
   opacity: 1;
}
#muttleypanel .select-image-input {
    display: none;
}


/* Datepicker
------------------------------------*/
#muttleypanel input[type=text].datepicker-input {
    max-width: 90px;
    min-width:90px;
    display: inline-block;
}


/* Range
------------------------------------*/
.range-unit {
    font-size: 12px;
    color:#aaa;
    font-style: italic;
    margin-left: 5px;
}


/* Upload
------------------------------------*/
.image-holder {
    clear:both;
    display:block;
    position:relative;
    width: 70px;
    height: 70px;
    background:transparent url(../images/panel/img-bg.png) top left repeat;
    border:1px solid #ddd;
    padding: 4px;
    margin-bottom: 10px;
}
.image-holder img {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    max-width:70px;
}
.image-holder .upload-image {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 65px;
    height: 65px;
    vertical-align: middle;
    text-align: center;
    color: #000;
    z-index: 3;
    background:#fff;
    cursor:pointer;
    border: 0;
}
.image-holder.is_image .upload-image { background: transparent}
.image-holder .upload-image i {
    font-size:16px;
    margin: 0;
    background:#fff;
    padding:3px;
    text-align:center;
    border-radius:100%;
    vertical-align: middle;
    line-height: 18px;
    opacity:0.8;
}
.image-holder.is_image .upload-image i { 
    display:none;
}
.image-holder .remove-image {
    position: absolute;
    right: -8px;
    top: -8px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    z-index: 5;
    background:#e65345;
    cursor:pointer;
    border: 0;
    border-radius:100%;
    display: none;
}
.image-holder .remove-image:hover i {
    opacity:1;
}
.image-holder .remove-image i {
    font-size:16px;
    margin: 0;
    line-height: 20px;
}
.image-holder.is_image .remove-image { display: block; }
.image-crop-wrap { 
    clear: both; 
    width: 100%;
}
.image-crop-wrap select { min-width:120px; }


/* Easy Link
------------------------------------*/
.box-row label.easylink-label {
    font-size: 12px;
    margin-top:5px;
    margin-bottom:0;
    display:inline-block;
}
.box-row label input[type=checkbox].link-new-window {
    margin-left:5px !important;
    display:inline-block;

}

/* BG Generator
------------------------------------*/
.bg-generator-wrap { position:relative; }
.bg-generator-input { margin-bottom: 10px; }

/* ---- Media Editor ---- */
#bg-editor-content {
    display: none;
}

#bg-editor-box {
    padding: 12px;
}

#bg-editor-loader {
    float: right;
    margin: 12px;
    display: none;
}
#bg-editor-content fieldset { clear:  both; }

.bg-image-holder.image-holder img {
    z-index: 4;
}
.image-holder .preview-color-holder {
    z-index: 1;
}
.bg-holder { display: none;}


/* Color Picker and gradient
------------------------------------*/
.box-row .wp-picker-container input[type=text].wp-color-picker {
    margin: 0 6px 0 0;
    padding: 3px;
}

.gradient-direction {
    width: 80px;
    display: block;
    float: none;
    padding: 2px;
}
.gradient-col {
    display: inline-block;
    margin-right: 10px;
    min-height:50px;
    vertical-align:top;
}
.gradient-col > .wp-picker-container {
    display:block;
}


/* Sortable List
------------------------------------*/
.sortable-list-row {
    padding-top: 20px;
}
.sortable-list {
    padding: 0;
}

.sortable-list li {
    overflow: hidden;
    background: #f3f3f3;
    border: solid 1px #dcdcdc;
    border-radius: 2px;
    position: relative;
    padding: 10px;
}

.sortable-list .content {
    display: block;
    clear: both;
    padding: 0 10px 0 60px;
}

.sortable-list .content .scol {
    width: 50%;
    float: left;
    overflow: hidden;
    padding-right: 10px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box
}

.sortable-list .content .scol input,
.sortable-list .content .scol select,
.sortable-list .content .scol textarea {
    width: 100%;
    margin-bottom: 0
}

.sortable-list .content .scol select {
    height: 36px;
}

.sortable-list input {
    float: left !important;
}

.sortable-list label {
    float: left;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    margin: 6px 10px 0 0;
}

.sortable-list .delete-item i {
    font-size: 18px;
}

.sortable-list .drag-item i {
    font-size: 14px;
}

.sortable-list .delete-item {
    position: absolute;
    text-align: center;
    left: 10px;
    top: 16px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    color: #ff4116;
}

.sortable-list .drag-item {
    position: absolute;
    top: 18px;
    width: 16px;
    height: 16px;
    left: 35px;
    cursor: move;
    opacity: .2;
    color: #666;
}

.sortable .drag-item {
    opacity: 1;
}

.add-new-item {
    margin-top: 8px;
}


/* Notification UI
------------------------------------*/
.ui-notify {
    width: 350px;
    position: fixed;
    top: 40px;
    right: 10px;
    z-index: 1100;
}

.ui-notify-message {
    padding: 10px;
    margin-bottom: 15px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px
}

.ui-notify-message h1 {
    font-size: 14px;
    margin: 0;
    padding: 0
}

.ui-notify-message p {
    margin: 3px 0;
    padding: 0;
    line-height: 18px
}

.ui-notify-message:last-child {
    margin-bottom: 0
}

.ui-notify-message-style {
    background: #000;
    background: rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0 0 6px #000;
    -webkit-box-shadow: 0 0 6px #000;
    box-shadow: 0 0 6px #000;
}

.ui-notify-message-style h1 {
    color: #fff;
    font-weight: bold
}

.ui-notify-message-style p {
    color: #fff
}

.ui-notify-close {
    color: #fff;
    text-decoration: underline
}

.ui-notify-click {
    cursor: pointer
}

.ui-notify-cross {
    margin-top: -4px;
    float: right;
    cursor: pointer;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 1px 1px #fff;
    padding: 2px
}

.ui-notify-cross:hover {
    color: #ffffab
}

.ui-notify-cross:active {
    position: relative;
    top: 1px
}