.attachments-browser{
    width: calc(100% - 20px) !important;
}
.title-box-container{
    position: relative;
}
.sa-field-divider{
    border-bottom: 1px solid;
}
.sa-upload-file-container,
.sa-upload-gallery-container{
    position: relative;
    width: 100%;
    float: left;
    min-height: 290px;
    border: 2px dashed;
}
#counter{
    position: absolute;
    right: 5px;
    bottom: 10px;
}
.sa-form-categories_exclude_terms{
    height:auto;
    overflow: hidden;
    position: relative;
}
.sa-form-categories_exclude_terms label{
    background: #fff;
    font-weight:normal;
}
.sa-form-categories_exclude_terms .arrow{
    position: relative;
    bottom: 0;
}
.sa-form-categories_exclude_terms,
#sa-form-post_tag-exclude_terms-box{
    margin-top:5px;
}
.depth-0{
    font-weight:bold;
}
.depth-1{
    margin-left: 15px;
}
.depth-2{
    margin-left: 30px;
}
.depth-3{
    margin-left: 45px;
}
.depth-4{
    margin-left: 60px;
}
.depth-6{
    margin-left: 75px;
}
.depth-7{
    margin-left: 90px;
}
.depth-8{
    margin-left: 105px;
}
.selections.no-border > .item{
    background: #777;
    color: white;
    padding: 2px;
    padding-left: 16px !important;
    margin-left: 0 !important;
}
.selections .section .section{
    padding: 0 !important;
}
.selections .section .section .title{
    padding-left: 22px !important;
}
.selections .section .section .item{
    padding-left: 40px !important;
}
.checktree li label{
    width: auto !important;
}
#limit_exceeded{
    color: red;
    float: right;
    display: none;
}
.field-limit .onoffswitch-inner:after {
    content: attr(data-no);
    padding-right: 10px;
    background-color: #00B5D1;
    color: #FFFFFF;
    text-align: right;
}
#counter.limit_exceeded{
    color: red;
}
.articles.dir-list #all-day{
    display: block;
    width: 13px;
    float: left;
    margin: 0 !important;
}
#ui-datepicker-div{
    z-index: 5 !important;
}
.select2-container--default .select2-selection--single{
    background-color: transparent;
    border: 0 !important;
    border-bottom: 1px solid #513750 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container .select2-selection--single{
    height: 40px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    padding-top:5px;
    padding-bottom:5px;
}



.sa_gallery-box{
    display: inline-block;
    width: 100%;
    /*border: 2px dashed #b5b5b5 !important;*/
    position: relative;
}
#sa_document-file{
    display: inline-block;
    width: 100%;
    /*border: 2px dashed #b5b5b5 !important;*/
    position: relative;
    height: 100%;
}
.description-box{
    margin-top: 10px;
}
.caption-textarea{
    border: 1px solid #b5b5b5 !important;
    width: calc(100% - 10px) !important;
    height: 82px !important;
    background: #FFF !important;
    border-radius: 0;
    box-shadow: none;
    padding: 5px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #525252 !important;
    box-sizing: content-box;
    margin: 0 !important;
    overflow-y: scroll;
}
/*#sa_featured_image-image{*/
/*display: table-cell;*/
/*vertical-align: middle;*/
/*}*/
/*#sa_gallery-container{*/
/*display: table;*/
/*width: 100%;*/
/*}*/
/*#sa_featured_image-container,*/
/*#sa_document-file{*/
/*display: table;*/
/*}*/
.sa-file-container{
    margin: 10px 5px;
}
.crop-image-btn,
.delete-image,
.delete-file{
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 7px;
    font-size: 10px;
    margin-right: 2px;
    position: absolute;
    right: 2px;
    font-weight: bold;
    background: #4bc4d4;
    top: 4px;
    color: #FFF !important;
    text-decoration: none !important;
    z-index: 101;
}
.crop-image-btn{
    right: 75px !important;
}
.delete-logo,
.crop-image-btn{
    z-index:101;
}
.sa_col_4{
    width: 23%;
    margin: 1%;
    float: left;
}
.sa_col_5 {
    width: 31.33%;
    margin: 1%;
    float: left;
}
.sa_col_11 {
    width: 98%;
    margin: 0 auto;
    float: left;
}
.sa_col_8 {
    width: 73%;
    margin: 1%;
    float: left;
}


.mce-menubtn.mce-fixed-width button {
    line-height: 19px !important;
    text-align: left !important;
}
.sa-field-content #wp-sa_content-media-buttons{
    float: right !important;
}
.sa-field-content .insert-media.add_media{
    line-height: 29px !important;
    border: 1px solid #ededed !important;
    min-width: 119px;
    background: #fafafa !important;
    height: 35px !important;
    box-shadow: none;
}
.sa-field-content .wp-media-buttons-icon{
    color: #777777;
    margin-top: -4px !important;
}

.media-modal .screen-reader-text,
.new.content .mce-toolbar-grp #mceu_27,
.media-modal .media-sidebar,
.media-modal .media-frame-menu,
.media-modal .media-toolbar-secondary,
.media-modal #media-search-input,
.media-modal .search-form label,
.editor-container #adonepage-generator-button {
    display: none !important;
}
.media-modal .uploader-inline {
    width: 100%;
}
.media-modal .uploader-inline{
    z-index: 150;
}
.media-modal .media-frame-toolbar,
.media-modal .attachments,
.media-modal .media-frame-router,
.media-modal .media-frame-content,
.media-modal .media-frame-title {
    width: 100%;
    left: 0;
}
.media-modal .attachments {
    top: 10px !important;
    z-index: 102;
}

.media-modal .media-modal-content button {
    padding: 0 12px 2px !important;
}


.parsley-errors-container{
    float: left;
}
.parsley-errors-list {
    width: 100%;
    margin: 0;
    background: #ff9393;
    padding: 0 5px;
    color: #FFF;
    float: left;
}

.parsley-errors-list li {
    list-style: none !important;
    font-size: 11px;
    line-height: 20px;
}
