img[src=""]{
    display: none;
}

.clearfix{
    clear: both;
}

.left{
    float: left;
}

.right{
    float: right;
}
a:focus {
    outline: none;
}

.theme-list-container .theme-list-item{
    border: 1px solid #CCCCCC;
    display: inline-block;
    float: left;
    margin: 5px;
    text-align: center;
    width: 220px;
    text-decoration: none;
}
.theme_post_settings{
    background-color: #FFFFFF;
    line-height: 20px;
    padding: 10px;
    box-shadow: 0 1px 12px rgba(1, 1, 1, 0.125);
    border-bottom: 2px solid #eee;
}

.theme_page_title{
    float: left;
    line-height: 25px;
    font-size: 1.2em;
    margin-right: 60px;
}

.theme_post_name{
    float: left;
}

.theme_post_is_main{
    float: left;
    line-height: 25px;
    margin-left: 10px;
}

.opt-button{
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    float: left;
    margin-left: 5px;
    padding: 5px 10px;
    background-image: -webkit-linear-gradient(center top , #FFFFFF, #E6E6E6);
    background-image: -moz-linear-gradient(center top , #FFFFFF, #E6E6E6);
    background-image: -ms-linear-gradient(center top , #FFFFFF, #E6E6E6);
    background-image: -o-linear-gradient(center top , #FFFFFF, #E6E6E6);
    background-image: linear-gradient(center top , #FFFFFF, #E6E6E6);
    cursor: pointer;
    text-decoration: none;
    color:  #0074A2;
}
.opt-button.active {
    color: #2e96c4;
}

.full-mode-btn i.fa-expand,
.full-mode-btn.full-mode-on i.fa-compress{
    display: inline;
}
.full-mode-btn.full-mode-on i.fa-expand,
.full-mode-btn i.fa-compress{
    display: none;
}

.opt-button-red{
    color: #aa0000;
}

.main-editor-toolbar{
    width: 230px;
    float: left;
    position: relative;
}

.main-editor-container{
    height: 100px;
    margin-left: 230px;
    background: #555;
}

#editor-preview{
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #DDDDDD -moz-use-text-color #FAFAFA;
    border-style: solid;
    border-left-width: 1px;
    margin-left: -1px;
    background: #ffffff;
}

.text-label{
    margin-top: 5px;
    margin-bottom: 5px;
}

.ok-main-editor{
    margin-left: -20px;
}   


.ok-main-editor-container.full-view {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999999;
}

.main-editor-toolbar-container{
    background: none repeat scroll 0 0 #fff;
    padding: 1px 0;
    height: 100%;
    overflow: auto;
    padding-left: 8px;
    border-right: 1px solid #eee;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.main-editor-toolbar-container h4{
    padding: 0 10px;
    margin: 15px 0;
    font-size: 15px;
}

.main-editor-toolbar-container hr{
    border: none;
    border-top: 2px solid #f2f2f2;
}

.toolbar-editor-form-container{
    margin-bottom: 0px;
    border-top: 1px solid #f5f5f5;
}

.toolbar-editor-header{
    border-radius: 5px;
    display: inline-block;
    padding: 7px 10px;
    cursor: pointer;
    text-align: left;
    margin-left: 0px;
}

.enable-disable{
    display: inline;
}

.enable-disable > a{
    color: #444444;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    float:  right;
    display: inline-block;
    padding: 5px;
    outline: 0 !important;
    cursor: pointer;
    text-align: center;
    margin-right: 5px;
}

.enable-disable.eButton > a{
    color: #898989;
}

.toolbar-editor-form-container > a:active{
    outline: none;
}

.toolbar-editor-form{
    background: none repeat scroll 0 0 #ffffff;
    border-color: #f2f2f2;
    border-style: solid;
    border-width: 1px;
    height: 100%;
    display: none;
    left: 0;
    margin-top: 0;
    padding: 5px;
    padding-top: 40px;
    padding-left: 18px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9999;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;                  
    -o-transition: all 0.2s ease-in-out;                
    -transition: all 0.2s ease-in-out;
    box-shadow: 0 5px 5px #555;
}

.toolbar-editor-form.toolbar-expand{
    right: -300px;
}

.toolbar-editor-form .toolbar-editor-form-wrapper{
    overflow: auto;
    max-height: 100%;
    padding-top: 15px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.toolbar-editor-form-header{
    border-bottom: 1px #f2f2f2 solid;
    padding: 5px 0;
    margin-bottom: 5px;
    color: #333333;
    font-weight: bold;
}

span.color_70{
    display: block;
}

span.color_90{
    display: block;
}

span.color_120{
    display: block;    
}

span.color_150{
    display: block;
}

.text_70{
}

.toolbar-editor-form input[type="email"], 
.toolbar-editor-form input[type="number"], 
.toolbar-editor-form input[type="password"], 
.toolbar-editor-form input[type="search"], 
.toolbar-editor-form input[type="tel"], 
.toolbar-editor-form input[type="text"], 
.toolbar-editor-form input[type="url"], 
.toolbar-editor-form select, 
.toolbar-editor-form textarea {
    width: 99%;
    max-width: 99%;
    border-radius: 3px;
    padding: 6px 6px;
    margin: 6px 0;
    height: 34px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}


.toolbar-editor-form-header2 {
    max-width: 162px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.toolbar-expand .toolbar-editor-form-header2{
    max-width: 425px;
}

.toolbar-editor-form input.font-size{
    width: 60%;
    margin-right: 10px;
}
.toolbar-editor-form input.width{
    width: 60%;
    margin-right: 10px;
}

.toolbar-editor-form input.color[type="text"]{
    width: 60%;
}

.visibility_control_box{
    margin-bottom: 10px;
}

.visibility_control_box button{
    border: none;
    margin: 0;
    color: #000000;
    padding: 3px 10px;
    cursor: pointer;
    border-bottom: 1px #aaaaaa solid;
    border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-top: 5px;
}

.visibility_control_box button[value="on"]{
     border-radius: 5px 0 0 5px;
}

.visibility_control_box button[value="on"][checked="checked"]{
    background-color: #0d9b53;
    color: #ffffff;
}

.visibility_control_box button[value="off"]{
    border-radius: 0 5px 5px 0;
    margin-left: -3px;
}

.visibility_control_box button[value="off"][checked="checked"]{
    background-color: #9b0d0d;
    color: #ffffff;
}

.toolbar-advanced-form{
    padding: 20px 0;
}

.toolbar-editor-form textarea{
    width: 300px;
}

.template-hidden-code, .template-hidden-css{
    display: none;
}

.toolbar-editor-form-container.active > .toolbar-editor-form{
    display: block;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.toolbar-editor-form-close{
    border: 1px #cccccc solid;
    border-radius: 5px;
    display: inline-block;
    color: #ffffff;
    margin: 5px 0 5px;
    padding: 5px;
    cursor: pointer;
    background-color: #006DCC;
    background-image: -webkit-linear-gradient(center top , #0088CC, #0044CC);
    background-image: -moz-linear-gradient(center top , #0088CC, #0044CC);
    background-image: -ms-linear-gradient(center top , #0088CC, #0044CC);
    background-image: -o-linear-gradient(center top , #0088CC, #0044CC);
    background-image: linear-gradient(center top , #0088CC, #0044CC);
    background-repeat: repeat-x;
}

.toolbar-back-btn-container{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    border-bottom: 2px solid #eee;
}

.toolbar-editor-form-close.toolbar-back-btn{
    background: #f6f6f6;
    border: 1px solid #ddd;
    margin-left: 5px;
    color: #666;
    float: left;
}
.toolbar-editor-form-close.toolbar-back-btn:hover{
    background: #f2f2f2;
}

.toolbar-editor-form-header2{
    float: left;
    font-size: 14px;
    font-weight: bold;
    padding: 11px 5px;
}
.toolbar-expand-btn {
    background: none repeat scroll 0 0 #ffffff;
    padding: 2px 3px;
    position: absolute;
    right: -24px;
    top: 4px;
    border: 1px solid #f2f2f2;
    border-left: none;
    border-radius: 0 5px 5px 0;
}

.toolbar-expand-btn i{
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
}

.browse-gallery-button, .gallery_upload_form input[type="submit"], .attachment-input .btn{
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px;
    background-image: -webkit-linear-gradient(center top , #FFFFFF, #E6E6E6);
    background-image: -moz-linear-gradient(center top , #FFFFFF, #E6E6E6);
    background-image: -ms-linear-gradient(center top , #FFFFFF, #E6E6E6);
    background-image: -o-linear-gradient(center top , #FFFFFF, #E6E6E6);
    background-image: linear-gradient(center top , #FFFFFF, #E6E6E6);
    cursor: pointer;
}
.gallery_upload_form input[type="submit"]{ 
    font-size: 13px;
    margin-left: 14px;
}

.gallery_popup_layout{
    position: fixed;
    z-index: 9999998;
    background-color: #000000;
    width: 100%;
    height: 100%;
    top:0;
    opacity: 0.9;
    display: none;
}

.gallery_popup_container{
    display: none;
    position: fixed;
    z-index: 9999999;
    width: 100%;
    height: 100%;
    top:0;
}

.gallery_popup{
    position: relative;
    background-color: #ffffff;
    border: 1px #000000 solid;
    width: 800px;
    min-height: 411px;
    margin: 0 auto;
    top: 100px;
}

.gallery_popup input[type="submit"]:hover{
    cursor: pointer;
}

.gallery_popup_header{
    min-height: 50px;
    border-bottom: 1px #DDDDDD solid;
    text-align: center;
    line-height: 50px;
    font-size: 26px;
    font-weight: bold;
    background: #f6f6f6;
}

.gallery_popup_close{
    background-image: url("../images/dialog_close.png");
    background-repeat: no-repeat;
    cursor: pointer;
    float: right;
    height: 24px;
    margin-top: 14px;
    margin-right: 14px;
    text-indent: -10000px;
    width: 24px;
}

.delete{
    background-image: url("../images/dialog_close.png");
    background-repeat: no-repeat;
    height: 20px;
    margin: 0;
    text-indent: -10000px;
    width: 20px;
    position: absolute;
    top: -11px;
    right: -10px;
    display: none;
    background-color: #fff; 
}

.gallery_items{
    border-right: 1px solid #E6E6E6;
    height: 359px;
    width: 550px;
    float: left;
    margin-right: -3px;
    overflow-y: scroll;
}

.gallery_items .clear .list-title{
    border-top: 1px solid #DDDDDD;
}

.gallery_items .list-title{
    text-align: center;
    border-bottom: 1px #DDDDDD solid;
    font-weight: bold;
    font-size: 14px;
    padding:5px 0;
    background: #f9f9f9;
}

.gallery_items ul{
    margin-top: 0;
}

.gallery_items li{
    border: 1px solid #E6E6E6;
    cursor: pointer;
    display: inline-block;
    float: left;
    height: 100px;
    list-style: none outside none;
    margin: 5px 5px 18px;
    padding: 5px;
    text-align: center;
    line-height: 50px;
    width: 100px;
    position: relative;
}

.gallery_items li:hover{
    background-color: #ededed;
}

.gallery_items li:hover>.delete{
    display: block;
}

.gallery_items li img{
    max-width: 100px;
    max-height: 100px;
    line-height: 50px;
}

.selected_image_preview{
    line-height: 100px;
    text-align: center;
    padding-top: 12px;
}

.selected_image_preview img{
    max-width: 200px;
    max-height: 200px;
}

.gallery_operations{
    float: right;
    width: 250px;
}

.gallery_upload_form{
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid #DDDDDD;
}

.gallery_upload_form input[type="file"]{
    max-width: 220px;
    margin-top: 4px;
    margin-bottom: 4px;
    margin-left: 13px;
}

.gallery_selected_attributes{
    height: 210px;
    border-bottom: 1px solid #DDDDDD;

}

.gallery_selected_attributes label{
    display: inline-block;
    width: 60px;
    text-align: right;
}

.gallery_selected_attributes input{
    width: 100px;
}

.gallery_selected_operation{
    text-align: center;
}
.insert_gallery_item{
    padding: 5px;
    border: none;
    background-color: #006DCC;
    background-image: -webkit-linear-gradient(center top , #0088CC, #0044CC);
    background-image: -moz-linear-gradient(center top , #0088CC, #0044CC);
    background-image: -ms-linear-gradient(center top , #0088CC, #0044CC);
    background-image: -o-linear-gradient(center top , #0088CC, #0044CC);
    background-image: linear-gradient(center top , #0088CC, #0044CC);
    background-repeat: repeat-x;
    display: inline-block;
    margin: 10px 0;
    cursor: pointer;
    color: #ffffff;
    border-radius: 4px;
}

.media_manager-preview img{
    max-height: 100px;
    max-width: 100px;
}

.list-item{
    padding: 5px;
    margin: 5px;
    border: 2px solid #d5d5d5;
    display: inline-block;
    text-align: center;
    background: #ffffff;
    text-decoration: none;
    font-size: 18px;
}

.list-item.valid-integration{
    border-color: #81d246;
    position: relative;
}

.valid-integration-check{
    border-bottom-left-radius: 12px;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 0;
    background: #81d246;
}

.valid-integration-check .fa.fa-check{
    color: #fff;
}

.int-name{
    font-weight: bold;
    font-size: 18px;
}

.int-name-con{
    background: #0d9b53;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    margin: 10px;
    padding: 3px 8px;
}
.int-name-not-con{
    background: #9b0d0d;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    margin: 10px;
    padding: 3px 8px;   
}

#ok_mailchimp_apikey{
    height: 35px;
    border-radius: 5px;
    width: 320px;
}

.mail-chimp-header{
    margin-top: 0px;
}

.form-table th{
    padding-right: 0;
    width: 175px;
    font-size: 17px;
    color: #444;
}
.form-table td{
    padding-left: 0;
}
#wait{
    display: none;
    vertical-align: bottom;
}

.main-editor-container{
    position: relative;
}
.editor-view-port.tablet-mode{
    width: 1283px !important;
    height: 862px !important;
    background: url(../images/ipad-horizontal.png) no-repeat center center;
    position: absolute;
}
.editor-view-port.tablet-mode iframe{
    width: 1044px !important;
    height: 776px !important;
    margin-left: 125px !important;
    margin-top: 45px !important;
    border: 1px solid #999;
}

.editor-view-port.mobile-mode{
    width: 374px !important;
    height: 785px !important;
    background: url(../images/iphone-vertical.png) no-repeat center center;
    position: absolute;
}
.editor-view-port.mobile-mode iframe{
    width: 340px !important;
    height: 570px !important;
    margin-left: 20px !important;
    margin-top: 110px !important;
    border: 1px solid #999;
}

.integratio-edit{
    padding-top: 20px;
}
.theme_page_title{
    padding: 3px 0;
}
.theme_post_name input[type='text']{
    padding: 6px 10px;
    border-radius: 3px;
}
.template-hover {
    background: none repeat scroll 0 0 rgba(51, 157, 217, 0.8);
    display: block;
    height: 220px;
    width: 220px;
    margin-top: -220px;
    opacity: 0;
    padding-top: 90px;
    position: relative;
    transition: opacity 0.5s ease 0s;
    -moz-transition: opacity 0.5s ease 0s;
    -webkit-transition: opacity 0.5s ease 0s;
    -o-transition: opacity 0.5s ease 0s;
}
.theme-list-item:hover .template-hover {
    opacity: 1;
    transition: opacity 0.5s ease 0s;
    -moz-transition: opacity 0.5s ease 0s;
    -webkit-transition: opacity 0.5s ease 0s;
    -o-transition: opacity 0.5s ease 0s;
}
.template-hover .use-template-btn {
    border: 2px solid white;
    color: white;
    display: block;
    margin: 0 10px 10px;
    padding: 10px;
    position: relative;
    text-align: center;
}
.theme_title {
    padding: 5px;
}
.theme_categ_list {
    padding: 0 5px;
}

.global_settings_form{
    margin-top: 15px;
}

.toolbar-editor-form-container[x-data-type="subscribe"] .visibility_control_box,
.toolbar-editor-form-container[x-data-type="subscribe"] .enable-disable{
    display: none;
}

body.hide-scroll{
    overflow: hidden;
}

.integratio-edit th{
    font-weight: normal;
}

.integratio-edit input[type=text]{
    padding: 5px;
}

.integratio-edit a{
    text-decoration: none;
}
.ajax-loader {
    background: none repeat scroll 0 0 #fff;
    bottom: 0;
    height: 100%;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 999999;
    display: block;
}
.ajax-inner {
    background: url("../../gui/images/ajax-loader.gif") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    bottom: 0;
    height: 100%;
    left: 50%;
    margin-left: -50px;
    margin-top: -50px;
    position: fixed;
    right: 0;
    top: 50%;
    width: 100%;
    z-index: 9999999;
}
.gallery-loader {
   background: url("../../gui/images/gallery-loader.gif") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    bottom: 0;
    height: 100px;
    left: 50%;
    margin-left: -50px;
    margin-top: -50px;
    position: fixed;
    right: 0;
    top: 50%;
    width: 100px;
    z-index: 9999999;
    display: none; 
}
#wp-link-wrap, .wp-dialog {
    z-index: 999999 !important;
}


/* New for sidebar element settings */

.template-elements-menu {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.template-elements-menu ul {
    margin: 0;
    padding: 0;
}

.template-elements-menu ul > li {
    list-style: none;
    margin: 0;
    position: relative;
    display: block;
}
.template-elements-menu > ul > li{
    margin-bottom: 10px;
}
.template-elements-menu ul > li:last-child {
    margin-bottom: 10px;
}
.template-elements-menu ul > li:first-child {
    margin-top: 5px;
}
.template-elements-menu ul > li  a.template-element
{
    /*color: #3ea6c2;*/
    padding: 2px 10px;
    display: inline-block;
    text-decoration: none;
    width: 100%;
}
.template-elements-menu ul > li a.template-element:hover,
.template-elements-menu ul > li a.template-element.heading-hovered,
.template-elements-menu ul > li a.template-element.active
{
    color: #ffffff;
    background-color: #3ea6c2;

}
.template-elements-menu ul > li  a.template-element.collapsed > i.collapse-icon:before {
    content: "\f0fe";
}
.template-elements-menu ul > li  a.template-element.collapsed > i.collapse-icon-setting:before {
    content: "\f0da";
}
.template-elements-menu ul > li i.tool-icon {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: -25px;
    margin-top: 5px;
    cursor: pointer;
    color: #000000;
}
.template-elements-menu ul > li i.collapse-icon {
    font-size: 10px;
    float: left;
    margin-top: 5px;
    margin-right: 4px;
}
.template-elements-menu ul > li i.collapse-icon:before {
    content: "\f146";
}
.template-elements-menu ul > li i.collapse-icon.collapse-icon-right {
    float: right;
}
.template-elements-menu ul > li i.collapse-icon.collapse-icon-setting {
    float: none;
}
.template-elements-menu ul > li i.collapse-icon.collapse-icon-setting:before {
    content: "\f0d7";
}
.template-elements-menu ul > li .element-settings {
    font-weight: normal;
    padding: 5px 15px;
    /*background-color: #f5f5f5;*/
}
.template-elements-menu ul > li .element-settings table {
    width: 100%;
}
.template-elements-menu ul > li .element-settings table thead th {
    font-weight: normal;
    font-size: 0.8em;
}
.template-elements-menu ul > li .element-settings table tbody > tr > td {
    padding: 2px 0;
}
.template-elements-menu ul > li .element-settings table tr td:last-child:not(:first-child) {
    width: 15px;
}
.template-elements-menu ul > li .element-settings .help-block {
    font-size: 0.8em;
}
.template-elements-menu ul > li > ul {
    margin-left: 20px;
}
.template-elements-menu ul > li > ul > li {
    font-weight: normal;
}
.template-elements-menu ul + ul {
    margin-bottom: 10px;
}

.template-elements-menu .element-title{
    display: inline-block;
    max-width: 120px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: middle
}

.template-elements-menu label{
    font-weight: normal;
}

.ellipsis-text{
    display: inline-block;
    max-width: 150px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: middle;
}

.template-element-group {
    background-color: #E1E1E1;
    padding-bottom: 4px !important;
    padding-top: 4px !important;
}

.dropdown.dropdown-select-integrations .dropdown-menu,
.dropdown.dropdown-select-integrations .btn {
    width: 100%;
    text-align: left;
}
.dropdown.dropdown-select-integrations .selected i.fa {
    color: #6cc23e;
}
.dropdown.dropdown-select-integrations .selected a {
    color: #4c4c4c;
}
.dropdown.dropdown-select-integrations .selected a:hover {
    /*color: #ffffff;*/
}
.dropdown.dropdown-select-integrations ul > li {
    position: relative;
}
.dropdown.dropdown-select-integrations ul > li.available a {
    color: #4c4c4c;
}
.dropdown.dropdown-select-integrations ul > li.available i.fa {
    color: #6B6B6B;
}
.dropdown.dropdown-select-integrations ul > li.selected i.fa {
    color: #6cc23e;
}
.dropdown.dropdown-select-integrations ul > li.selected a {
    color: #4c4c4c;
}
.dropdown.dropdown-select-integrations ul > li > a {
    color: #A2A2A2;
    position: relative;
}
.dropdown.dropdown-select-integrations ul > li > a:hover {
    /*color: #ffffff;*/
}
.dropdown.dropdown-select-integrations ul > li > a:hover .caption,
.dropdown.dropdown-select-integrations ul > li > a:hover i.fa {
    /*color: #ffffff;*/
}
.dropdown.dropdown-select-integrations ul > li > a .caption {
    padding-left: 20px;
}
.dropdown.dropdown-select-integrations ul > li > a i.fa {
    position: absolute;
    display: inline-block;
    top: 50%;
    margin-top: -7px;
}

.dropdown.dropdown-menu-settings{

}

.dropdown.dropdown-menu-settings > a{
    width: 100%;
    text-align: left;
}
.dropdown.dropdown-menu-settings .caption{
    display: inline-block;
}


.element-settings .form-group{
    margin-bottom: 5px;
}