/* Copyright @ Balbooa, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/* ========================================================================
    Gallery General Styles
 ========================================================================== */

body:not(.admin),
.com_bagallery .container-main ,
.minicolors-theme-bootstrap .minicolors-input {
    font-size: 14px;
    font-family: 'Roboto', sans-serif; 
}

body {
    background: #fafafa;
}


body.contentpane.component {
    padding: 0;
}

.ba-gallery-range:focusbody.contentpane.component {
    padding: 0;
}

a:hover,
a:active,
a:focus {
    text-decoration: none;
}

.com_bagallery {
    height: calc(100% - 30px);
    height: -webkit-calc(100% - 30px);
    overflow-x: hidden;
}

.subhead {
    margin-bottom: 0;
}

.com_bagallery form {
    margin: 0;
}
#toolbar-cleanup-images,
#toolbar-about,
#toolbar-language {
    float: right;
}

/* ========================================================================
    Modals
 ========================================================================== */
 .modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.com_bagallery .modal-backdrop,
.com_bagallery .modal-backdrop.fade.in {
    opacity: .56;
}

body.component .modal-backdrop {
    opacity: .05;
}

.com_bagallery .modal-backdrop {
    z-index: 1040;
}

.com_bagallery .modal-backdrop + .modal-backdrop {
    z-index: 1050;
}

.com_bagallery .modal-backdrop + .modal-backdrop + .modal-backdrop {
    opacity: 0;
}

@keyframes backdrop {
    from { opacity: 0;}
}

@-webkit-keyframes backdrop {
    from { opacity: 0;}
}

.ba-modal-backdrop,
.saving-backdrop,
.modal-backdrop {
    -webkit-animation: backdrop .5s linear both;
    animation: backdrop .5s linear both;
}

.ba-modal-backdrop,
.saving-backdrop {
    background-color: #000;
    bottom:0;
    left: 0;
    opacity: .56;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1070;
}

.modal.ba-modal-sm,
.modal.ba-modal-md,
.modal.ba-modal-lg {
    border: none;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
    box-sizing: border-box;
    overflow: hidden;
    position: fixed;
}

#create-gallery-modal {
    z-index: 1080;
}

body.component .modal.ba-modal-sm,
body.component .modal.ba-modal-md,
body.component .modal.ba-modal-lg {
    box-shadow: 0 4px 60px rgba(0,0,0,.15)
}

/* Modal fonts */
.tab-content .left-tabs .nav-tabs li a,
.gallery-options .option-label,
.main-table .table-header + table a,
.main-table .table-header + table td,
.header-icons .ba-custom-select ul li,
#add-link-modal .ba-custom-select ul li,
.category-list li a,
.modal-footer a,
.ba-modal-sm h3,
.select-all,
.ba-tooltip,
#ba-notification p,
.ba-context-menu,
.uploader-nav,
.ba-folder-tree a,
.ba-items-list  a:not(.zmdi-folder),
.ba-items-list {
    font-weight: 500;
    color: #3f3f3f;
}

/*
/* Modal SM
*/

.modal.ba-modal-sm {
    border-radius: 6px; 
    left: 50%;
    margin-left: -162px;
    padding: 25px;
    top: -webkit-calc(50% -  160px) !important;
    top: calc(50% -  160px) !important;
    width: 325px;
}

#add-link-modal {
    top: calc(50% - 195px) !important;
    top: -webkit-calc(50% - 195px) !important;
}

.modal.ba-modal-sm .modal-body {
    backface-visibility: hidden;
    padding: 0;
    overflow: visible;
}

@keyframes modal-sm-in {
    from {transform: scale(.8); -webkit-transform: scale(.8); opacity: 0;}
    to {transform: scale(1); -webkit-transform: scale(1); opacity: 1;}
}

@-webkit-keyframes modal-sm-in {
    from {transform: scale(.8); -webkit-transform: scale(.8); opacity: 0;}
    to {transform: scale(1); -webkit-transform: scale(1); opacity: 1;}
}

.modal.ba-modal-md.in,
.modal.ba-modal-sm.in {
    -webkit-animation: modal-sm-in.3s cubic-bezier(0.4,0,0.2,1) both;
    animation: modal-sm-in .3s cubic-bezier(0.4,0,0.2,1) both;
}

@keyframes close-modal-sm {
    to {transform: scale(.8); -webkit-transform: scale(.8); opacity: 0;}
}

@-webkit-keyframes close-modal-sm {
   to {transform: scale(.8); -webkit-transform: scale(.8); opacity: 0;}
}

.modal.ba-modal-sm.ba-modal-close,
.modal.ba-modal-md.ba-modal-close {
    display: block !important;
    -webkit-animation: close-modal-sm .3s cubic-bezier(0.4,0,0.2,1) both;
    animation: close-modal-sm .3s cubic-bezier(0.4,0,0.2,1) both;
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    visibility: visible;
}

.ba-modal-sm h3 {
    margin: 0 0 50px 0;
    color: #1a1a1a;
}

.update-link,
.red-btn,
.ba-modal-sm p {
    font: 400 16px/30px 'Roboto', sans-serif;;
    color: #757575;
}

/* Modal SM Button */
.ba-modal-sm .modal-footer a.ba-btn-primary.red-btn.disabled-button {
    display: none;
}

.product-tour .ba-btn,
#remove-watermark,
#watermark-select,
.update-link,
.red-btn,
.title-bar .ba-toolbar-icons label,
.gallery-editor .create-categery,
.ba-modal-md .modal-footer a,
.ba-modal-sm .modal-footer a {
    background-color: transparent;
    border-radius: 3px;
    border: none;
    color: #363637;
    display: inline-block;
    font-size: 16px;
    overflow: hidden;
    padding: 15px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}

.red-btn,
.ba-modal-sm .modal-footer a.ba-btn-primary.red-btn {
    background: #f44236;
    color: #fff;
    line-height: 18px;
}

.ba-modal-sm .modal-footer a:first-child:hover {
    background-color: rgba(0,0,0,0.1);
}

.images-list i.upload-images,
.gallery-options .img-thumbnail i,
.gallery-editor .create-categery,
.ba-modal-md .modal-footer a.ba-btn-primary:not(.red-btn),
.ba-modal-sm .modal-footer a.ba-btn-primary {
    color: #cacaca;
    position: relative;
    z-index: 1;
}

.ba-modal-md .modal-footer a.ba-btn-primary.active-button,
.ba-modal-sm .modal-footer a.ba-btn-primary.active-button {
    color: #fff;
    cursor: pointer !important;
}

.ba-modal-sm .modal-footer a.ba-btn-primary.active-button {
    background: rgba(117, 216, 77, 0.25);
}

.ba-modal-sm .modal-footer a.ba-btn-primary:before {
    background: #75d84d;
    border-radius: 100%;
    content: '';
    display: block;
    height: 5px;
    left: 50%;
    margin: -2px 0 0 -2px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: scale(0);
    -webkit-transform: scale(0);
    transition: all .7s ease;
    -webkit-transition: all .7s ease;
    width: 5px;
    z-index: -1;
}

.ba-modal-sm .modal-footer a.ba-btn-primary.active-button:before {
    opacity: 1;
    transform: scale(27);
    -webkit-transform: scale(27);
    backface-visibility: hidden;
}

.red-btn:hover:after,
.ba-modal-sm .modal-footer a.ba-btn-primary.red-btn:hover:after,
.ba-modal-sm .modal-footer a.ba-btn-primary.active-button:hover:after {
    background: #75d84d;
    opacity: 1;
    transform: scale(27);
    -webkit-transform: scale(27);
}

#love-gallery-modal {
    z-index: 1070;
}

#love-gallery-modal a.ba-btn-primary.active-button:before {
    transform: scale(37);
    -webkit-transform: scale(37);
}

.red-btn:hover:after,
.ba-modal-sm .modal-footer a.ba-btn-primary.red-btn:hover:after {
    background: #f44236;
}

/*
/* Modal MD
*/

.modal.ba-modal-md {
    border-radius: 6px;
    box-sizing: border-box;
    height: 550px;
    left: 50%;
    margin-left: -250px;
    padding: 0;
    top: -webkit-calc(50% - 275px) !important;
    top: calc(50% - 275px) !important;
    width: 500px;
}

.modal.ba-modal-md .modal-body {
    max-height: none;
    padding: 0;
    width: 100%;
}

#about-dialog .modal-header,
#html-editor .ba-modal-header,
.modal.ba-modal-md .ba-modal-header {
    background: #1da6f4;
    color: #fff;
    padding: 20px 25px;
}

.modal.ba-modal-md .ba-modal-header h3 {
    margin: 0;
}

#about-dialog .modal-header a,
.modal.ba-modal-md .ba-modal-header i {
    position: absolute;
    right: 10px;
    top: 10px;
}

/* Modal MD Footer */
.ba-modal-md .modal-footer {
    background-color: transparent;
    border-top: 1px solid #f3f3f3;
    box-shadow: none;
    padding: 0;
    text-align: center;
}

.ba-modal-md .modal-footer a {
    background: transparent;
    box-sizing: border-box;
    float: left;
    padding: 21px !important;
    text-align: center;
    width: 50%;
}

/* Modal MD Button */
.ba-modal-md .modal-footer a {
    border-radius: 0;
}

.ba-modal-md .modal-footer a:first-child {
    border-right: 1px solid #f3f3f3;
}

.ba-modal-md .modal-footer a.ba-btn-primary.active-button {
    background: rgba(29, 166, 244, 0.25);
}

.ba-modal-md .modal-footer a.ba-btn-primary:before {
    background: #75d84d;
    border-radius: 100%;
    content: '';
    display: block;
    height: 5px;
    left: 50%;
    margin: -2px 0 0 -2px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: scale(0);
    -webkit-transform: scale(0);
    transition: all .7s ease;
    -webkit-transition: all .7s ease;
    width: 5px;
    z-index: -1;
}

.ba-modal-md .modal-footer a.ba-btn-primary:before {
    background: #1da6f4;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
}

.ba-modal-md .modal-footer a.ba-btn-primary.active-button:before {
    transform: scale(65);
    -webkit-transform: scale(65);
    opacity: 1;
}

.upload-type i:after,
.product-tour .ba-btn:after,
.update-link:after,
.gallary-view .camera-container i:after,
.camera-container i:after,
.gallery-editor .create-categery:after,
.ba-modal-sm .modal-footer a.ba-btn-primary:after,
.ba-modal-md .modal-footer a.active-button:after,
#embed-apply:after,
.red-btn:after {
    background: #fff;
    border-radius: 50%;
    backface-visibility: hidden;
    content: "";
    height: 3px;
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transition: all .5s cubic-bezier(.25,.98,.26,.99);
    -webkit-transition: all .5s cubic-bezier(.25,.98,.26,.99);
    transform: scale(0);
    -webkit-transform: scale(0);
    width: 3px;
    cursor: pointer;
    z-index: -1
}

.upload-type i:after,
.gallary-view .camera-container i:after,
.camera-container i:after {
    transform: none;
    -webkit-transform: none;
}

.upload-type:hover i:after,
.gallary-view .camera-container:hover i:after,
.camera-container:hover i:after {
    background: #f64231;
    height: 60px;
    margin: -30px;
    opacity: 1;
    width: 60px;
}

.gallery-editor .create-categery:hover:after {
    background: #f64231;
    opacity: 1;
    transform: scale(55);
    -webkit-transform: scale(55);
}

.ba-modal-md .modal-footer a.active-button:hover:after,
#embed-apply:hover:after {
    background: #1da6f4;
    opacity: 1;
    transform: scale(65);
    -webkit-transform: scale(65);
}

.product-tour .ba-btn:after,
.update-link:after {
    background: #418cff;
    z-index: 1;
} 

.product-tour .ba-btn:hover:after,
.update-link:hover:after {
    background: #fff;
    opacity: 1;
    transform: scale(22);
    -webkit-transform: scale(22);
}

.product-tour .ba-btn:hover:after {
    background: transparent;
}

#filter-bar + .camera-container i:after {
    z-index: 0;
}

#filter-bar + .camera-container i:before {
    position: relative;
    z-index: 1;
}

/*
/* Modal L
*/

.modal.ba-modal-lg {
    background: transparent;
    border-radius: 6px;
    height: 600px;
    left: 50%;
    margin-left: -485px;
    top: -webkit-calc(50% - 300px);
    top: calc(50% - 300px);
    transition: all .3s cubic-bezier(.25,.98,.26,.99);
    -webkit-transition: all .3s cubic-bezier(.25,.98,.26,.99);
    width: 970px;
}

@keyframes uploader-modal {
    from {margin-top: 100vh;}
}

@-webkit-keyframes uploader-modal {
    from {margin-top: 100vh;}
}

.tabs-underline,
.modal.ba-modal-lg.in {
    animation: uploader-modal .5s cubic-bezier(.25,.98,.26,.99);
    -webkit-animation: uploader-modal .5s cubic-bezier(.25,.98,.26,.99);
}

@keyframes close-modal {
    to {margin-top: 100vh;}
}

@-webkit-keyframes close-modal {
    to {margin-top: 100vh;}
}

.modal.ba-modal-lg.ba-modal-close {
    display: block !important;
    animation: close-modal .5s cubic-bezier(.25,.98,.26,.99) both;
    -webkit-animation: close-modal .5s cubic-bezier(.25,.98,.26,.99) both;
}

.modal.ba-modal-lg .modal-body {
    max-height: 600px;
    overflow: visible !important;
    padding: 0;
    width: 100%;
}

.modal.ba-modal-lg .modal-body iframe {
    height: 600px;
    transition: all .5s;
    -webkit-transition: all .5s;
}

/* Modal L fullscrean */
.modal.ba-modal-lg.fullscrean {
    height: 98%;
    left: 1%;
    margin: 0;
    top: 1%;
    width: 98%;
}

.modal.ba-modal-lg.fullscrean .modal-body,
.modal.ba-modal-lg.fullscrean .modal-body iframe {
    height: 98vh;
    max-height: none;
}

.form-validate {
    margin: 0;
}

/*
/* Language Modal
*/

#update-dialog .modal-header,
#language-dialog .modal-header {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
}

#language-dialog.modal {
    background: #fff;
    height: 465px;
    margin-left: -307px;
    width: 615px;
}

#language-dialog.modal .modal-body iframe {
    height: 400px;
}

/*
/* Shortcode modal
*/

#modal-filter {
    margin: 20px 0;
    border: none;
}

.modal-shortcode button {
    display: none;
}

.modal-shortcode {
    box-sizing: border-box;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    width: calc(100% - 40px);
    -webkit-width: calc(100% - 40px);
}

.modal-shortcode #filter_search {
    border: none;
    box-shadow: none;
    box-sizing: border-box;
    color: #3f3f3f;
    font-size: 16px;
    height: 50px;
    margin: 0;
    padding: 0 25px;
    padding-left: 80px;
    width: 100%;
}

.modal-shortcode #filter_search + i {
    color: #3f3f3f;
    font-size: 24px;
    left: 30px;
    opacity: .5;
    position: absolute;
    top: 35px;
}

.modal-shortcode .gallery-list {
    width: 100%;
}

#category-dialog thead th,
.modal-shortcode .gallery-list tbody tr td,
.modal-shortcode .gallery-list tbody tr th,
.modal-shortcode .gallery-list thead tr th {
    border-bottom: 1px solid #f3f3f3;
    border-left: 1px solid #f3f3f3;
    box-sizing: border-box;
    display: inline-block;
    float: left;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    padding: 20px 25px;
    text-align: left;
    width: 10%;
}

.modal-shortcode .gallery-category {
    color: #999;
}

.modal-shortcode .gallery-list tbody tr th,
.modal-shortcode .gallery-list thead tr th:first-child {
    border-left: none;
    text-align: left;
    width: 70%;
} 

.modal-shortcode .gallery-list tbody tr th,
.modal-shortcode .gallery-list tbody tr td {
    align-items: center;
    border: none;
    -webkit-align-items: center;
    display: flex;
    display: -webkit-flex;
    height: 70px;
}

.modal-shortcode .gallery-list tbody .gallery-title + td,
.modal-shortcode .gallery-list thead tr th:nth-child(2){
    width: 20%;
}

.modal-shortcode .gallery-list thead tr th:nth-child(2),
.modal-shortcode .gallery-list thead tr th:nth-child(3),
.modal-shortcode .gallery-list tbody tr td {
    justify-content: center;
    text-align: center;
}

.modal-shortcode .gallery-list thead tr th:first-child,
.modal-shortcode .gallery-list tbody tr th {
    padding-left: 30px;
}

.modal-shortcode .gallery-table {
    background: #fff;
    min-height: 400px;
    height: 435px;
    overflow-y: auto;
}

#category-dialog tbody tr:hover,
.modal-shortcode tbody tr:hover {
    background: #1da6f4;
}

#category-dialog tbody tr:hover td i, 
#category-dialog tbody tr:hover td, 
.modal-shortcode tbody tr:hover td,
.modal-shortcode tbody tr:hover a {
    color:#fff !important;
}

#category-options .ba-custom-select,
.modal-shortcode .gallery-table tr > td,
.modal-shortcode .gallery-table tr > th > a {
    color: #333;
    font-weight: normal;
}

.modal-shortcode th.gallery-title:hover a {
    color: #999;
    text-decoration: none;
}

.modal-shortcode .contentpane.component {
    height: 0;
}

#category-dialog {
    height: 400px;
    top: -webkit-calc(50% - 200px) !important;
    top: calc(50% - 200px) !important;
}

#category-dialog table {
    display: block;
    width: 100%;    
} 

#category-dialog thead,
#category-dialog tbody {
    display: inline-block;
    width: 100%;
}

#category-dialog tbody {
    height: 340px;
    overflow-y: auto;
}

#category-dialog thead th {
    float: none;
    display: table-cell;
}

#category-dialog thead th:first-child {
    border-left: none;
}

#category-dialog thead th:nth-child(2){
    width: 90%;
    border-left: none;
    padding-left: 20px;
}

#category-dialog tbody tr td {
    font-size: 14px;
    font-weight: 400 !important;
    padding: 20px;
}

#category-dialog .checkbox {
    position: relative;
    width: 5% ;
}

#category-dialog tbody tr td:last-child {
    text-align: center;
}

#category-dialog .checkbox input {
    opacity: 0;    
}

#category-dialog tbody tr td i.zmdi {
    color: #ddd;
    font-size: 24px;
    left: 25px;
    position: absolute;
    top: 18px;
}

#category-dialog tbody tr td i.zmdi-check {
   color: #757575; 
   opacity: 0;
}

#category-dialog .checkbox input:checked + i {
    opacity: 0;
}

#category-dialog .checkbox input:checked + i + i {
    opacity: 1;
}

#category-dialog .title {
    width: 70%;
}

/*
/* About Modal
*/

#about-dialog {
    top: -webkit-calc(50% - 215px) !important;
    top: calc(50% - 215px) !important; ;
    height: 430px;
}

#about-dialog .modal-header h3 {
    line-height: 20px;
}

#about-dialog .modal-header a {
    color: #fff;
    font-weight: normal;
    opacity: 1;
    text-shadow: none;
}

.modal-header .close {
    margin-top: 0;
    margin-right: 0;
    font-size: 2rem;
    line-height: normal;
    border: none;
}

#about-dialog .modal-body label {
    display: inline-block;
    font-weight: 500;
    width: 45%;
}

#about-dialog .modal-body label,
#about-dialog #form-about {
    color: #3f3f3f;
    cursor: default;
    font-size: 14px;
}

#about-dialog #form-about .about-element {
    padding: 25px;
    box-sizing: border-box;
}

/*
/* Update Modal
*/

#update-dialog {
    height: 365px;
}

.ba-update-message {
    padding-bottom: 25px !important;
}

.product-tour .ba-btn,
.update-link {
    background: #fff;
    color: #418CFF;
    float: right;
    font-weight: 500 !important;
    line-height: 18px;
    margin-top: 25px;
    position: relative;
}

.update-link span {
    position: relative;
    z-index: 2;
    color: #418CFF;
}

.update-link span:hover {
    color: #418CFF;
}

.ba-update-message h3 {
    margin-top: 0;
}

/*
/* Modal Rename / Create / Delete
*/

.ba-custom-select input,
#filter-bar > input[type="text"],
.title-bar input[type="text"],
.gallery-options input[type="text"],
.ba-modal-sm input {
    border-color: transparent;
    border-bottom-color: #e3e3e3;
    box-shadow: none;
    box-sizing: border-box;
    color: #1a1a1a;
    font: 400 22px/45px 'Roboto', sans-serif;
    height: 45px;
    margin: 25px 0 50px 0;
    width: 100%;
}

.gallery-options input[type="text"]:focus,
.ba-modal-sm input[type="text"]:focus {
    border-color: transparent !important;
    box-shadow: none;
    outline: none;
}

.ba-modal-sm input[type="text"]::-webkit-input-placeholder {
    color: #757575;
}

.ba-modal-sm input[type="text"]::-moz-placeholder {
    color: #757575;
}

.focus-underline {
    background: #1da6f4;
    bottom: 49px;
    height: 2px;
    left: 0px;
    position: absolute;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -webkit-transition: all .3s cubic-bezier(0.4,0,0.2,1);
    transition: all .3s cubic-bezier(0.4,0,0.2,1);
    width: 100%;
}


#cke-image-modal input.cke-upload-image:hover + .focus-underline,
input:focus + .focus-underline {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.options .focus-underline {
    bottom: 0;
}

.ba-modal-sm .modal-footer {
    background-color: transparent;
    border: none;
    box-shadow: none;
    margin-top: 25px;
    padding: 0;
    text-align: right;
}

/*
/* Modal Move to
*/

.availible-folders {
    box-sizing: border-box;
    font-weight: 500;
    margin: 0;
    max-height: 430px;
    overflow-x: hidden;
    overflow-y: auto;
}

/*
/* Modal HTML Editor
*/

#html-editor .ba-modal-header h3 {
    display: inline-block;
    font-size: 18px;
    line-height: 20px;
    margin: 12px 0; 
}

#global-options .modal-header .modal-header-icon,
#html-editor .ba-modal-header .modal-header-icon {
    display: inline-block;
    float: right;
}

#html-editor {
    background: #fff;
}

/*
/* Cke Image Modal
*/

#cke-image-modal {
    top: calc(50% - 250px) !important;
    top: -webkit-calc(50% - 250px) !important;
    z-index: 1070;
}

#cke-image-modal .modal-body > div:not(.ba-custom-select) {
    position: relative;
    overflow: hidden;
}

#cke-image-modal .modal-body > div i.zmdi-camera {
    color: #757575;
    left: 15px;
    position: absolute;
    top: 35px;
    z-index: -1;
}

#cke-image-modal input.cke-upload-image {
    background: transparent; 
    cursor: pointer;
    padding-left: 50px;
}

#cke-image-modal input.cke-image-align:focus {
    border-bottom-color: #e3e3e3 !important;
}

#cke-image-modal input {
    margin-bottom: 0;
}

#cke-image-modal input.cke-image-width,
#cke-image-modal input.cke-image-height {
    float: left;
    width: 47%;
}

#cke-image-modal input.cke-image-width {
    margin-right: 6%;
}

#cke-image-modal input.cke-upload-image:focus + .focus-underline {
    transform: scale(0);
    -webkit-transform: scale(0);
}

#cke-image-modal input.cke-image-height + .focus-underline,
#cke-image-modal .cke-image-width + .focus-underline,
#cke-image-modal input.cke-upload-image + .focus-underline {
    top: 68px;
}

#cke-image-modal .cke-image-alt + .focus-underline {
    top: 208px;
}

#cke-image-modal .cke-image-width + .focus-underline,
#cke-image-modal .cke-image-height + .focus-underline {
    width: 47%;
}

#cke-image-modal .cke-image-height + .focus-underline {
    left: 143px;
}

#cke-image-modal .ba-custom-select.visible-select-top ul.visible-select {
    bottom: 45px;
}

#cke-image-modal .ba-custom-select.visible-select-top {
    margin-bottom: 50px;
}

/*
/* Uploader modal
*/

/* Uploader Modal icons */
#uploader-modal {
    z-index: 1070;
}

#cke-image-modal .modal-body > div i.zmdi-camera,
#remove-watermark i,
#watermark-select i,
#global-options .uploader-nav i,
.tab-content .left-tabs .nav-tabs li a i,
.main-table .table-header i,
.ba-custom-select ul li i,
#html-editor .ba-modal-header i,
.ba-toolbar-icons i,
.images-list .table-head i,
.gallery-header i,
.modal.ba-modal-md .ba-modal-header i,
#about-dialog .modal-header a,
.category-list li a i,
.availible-folders li i,
table.ba-items-list tbody tr td .ba-image i,
.ba-context-menu span i,
.ba-media-header > div > i,
.uploader-nav .control-toolbar i,
.ba-items-list .select-td i,
.ba-folder-tree li a i {
    font-size: 24px;
}

.ba-items-list .select-td  a {
    font-size: 48px;
}

.main-table .table-header + table tr td.status-td a i,
.main-table .table-header + table tr td.select-td i,
.images-list .select-td i,
.table-head i,
table.ba-items-list tbody tr td .ba-image i.zmdi-circle-o,
table.ba-items-list tbody tr td .ba-image i.zmdi-check:before,
table.ba-items-list tbody tr td.select-td i.zmdi-circle-o,
table.ba-items-list tbody tr td.select-td i.zmdi-check:before,
.ba-items-list .select-td i.zmdi-check,
.category-list i:not(.zmdi-folder),
.availible-folders li i:not(.zmdi-folder),
.ba-work-area .select-all i,
.uploader-nav i,
.ba-folder-tree li i {
    font-size: 18px;
}

#category-options .ba-custom-select input,
.cke-image-align[readonly],
.thumbnail-typography-select[readonly],
input[readonly].column-number-select,
input[readonly].ba-form-trigger,
.ba-custom-select .filter-select,
.camera-container,
.gallary-view .ba-custom-select input,
.ba-custom-select ul.visible-select li,
#add-link-modal .ba-custom-select ul li,
#add-link-modal input[readonly],
body a,
body i.zmdi,
.upload-images,
.availible-folders li span,
.ba-gallery-view .ba-preview img,
.ba-context-menu span {
    cursor: pointer;
}

.ba-context-menu .disabled-item i,
.disabled-item,
.ba-modal-md .modal-footer a.ba-btn-primary:not(.red-btn):not(#embed-apply):not(.active-button),
.ba-modal-sm .modal-footer a.ba-btn-primary:not(.red-btn):not(.active-button),
.control-toolbar #move-to:not(.active),
.control-toolbar #delete-items:not(.active),
.control-toolbar #ba-apply:not(.active) {
    cursor: not-allowed !important;
}

.tab-content .left-tabs .nav-tabs li a i,
.main-table .table-header i,
.main-table .table-header + table tr td.status-td a i,
.table-head i,
.category-list li a i,
.ba-items-list  a.zmdi-folder,
.availible-folders li i,
.ba-items-list .select-td i,
.ba-work-area .select-all i,
.table-head i,
.gallery-header i,
.ba-context-menu span i,
.ba-folder-tree li i {
    color: #757575;
}

.ba-items-list .select-td i.zmdi-check {
    color: #000;
}

.ba-toolbar-icons i {
    color: #fff;
}


#remove-watermark i,
#watermark-select i,
.tab-content .left-tabs .nav-tabs li a i,
.title-bar .ba-toolbar-icons label i,
.availible-folders ul i,
.table-head i,
.gallery-header i,
.category-list li a i,
.availible-folders li i:not(.zmdi-folder),
.ba-folder-tree li i:not(.zmdi-folder),
.uploader-nav i,
.ba-folder-tree li a i {
    vertical-align: sub;
}

.main-table .table-header i,
.gallery-editor .table-head i,
.ba-toolbar-icons i,
#html-editor .ba-modal-header i,
.gallery-header i,
.ba-custom-select ul li i,
.modal.ba-modal-md .ba-modal-header i,
#about-dialog .modal-header a,
.ba-media-header > div > i,
.uploader-nav .control-toolbar i {
    border-radius: 3px;
    padding: 8px;
    text-align: center;
    width: 24px;
}

.ba-toolbar-icons label,
#html-editor .ba-modal-header label,
.table-head label,
.gallery-header label,
.ba-custom-select ul li label,
.modal.ba-modal-md .ba-modal-header label,
.ba-media-header > div > label,
.uploader-nav .control-toolbar label {
    margin-left: 15px;
}

.ba-media-header > div > i {
    padding: 0 8px;
}

.category-list li i,
.availible-folders li i,
.ba-folder-tree li i {
    margin-right: 15px;
}

.uploader-nav i {
    padding: 0 10px;
}

.category-list li i:not(.zmdi-folder),
.availible-folders li > i,
.ba-folder-tree li > i {
    transition: all .3s;
    -webkit-transition: all .3s;
}

.category-list li.ba-unpublish a:before,
.category-list li i:not(.zmdi-folder),
.availible-folders li i:not(.zmdi-folder),
.ba-folder-tree li i:not(.zmdi-folder) {
    display: block;
    height: 18px;
    left: -30px;
    line-height: 18px;
    padding: 10px;
    position: absolute;
    text-align: center;
    top: 3px;
    width: 18px;
}

.category-list li i.zmdi-star {
    left: initial;
    right: 0;
}

.album-mode .ba-category .zmdi-star {
    display: none;
}

.category-list li > a {
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc(100% - 75px);
    width: -webkit-calc(100% - 75px);
}

.category-list li.ba-unpublish a:before {
    color: #757575;
    content: '\f15b';
    display: block;
    font: normal normal normal 18px/1 'Material-Design-Iconic-Font';
    left: calc(100% - 50px);
    left: -webkit-calc(100% - 50px);
    position: absolute;
    top: 5px;
}

.ba-context-menu span:hover i {
    color: #fff;
}

/* Uploader modal header */
.ba-media-header {
    backface-visibility: hidden;
    background: #1887cf;
    color: #fff;
    position: fixed;
    z-index: 1;
}

.ba-media-header > div {
    margin: 0 !important;
}

.ba-media-header > div:first-child {
    padding: 8px 20px;
    text-align: right;
}

#update-dialog .modal-header,
#language-dialog .modal-header,
#html-editor .ba-modal-header,
.uploader-nav {
    background: #1da6f4;
    color: #fff;
    font-size: 16px;
    min-height: 40px;
    padding: 10px 25px;
    text-transform: capitalize;
}

.uploader-nav a {
    color: #fff;
    line-height: 35px;
}

.uploader-nav li {
    position: relative;
    z-index: 1;
}

#about-dialog .modal-header a:hover,
.alert .close:hover,
.disabled-item:not(.ba-context-menu),
#move-to,
.modal.ba-modal-md .ba-modal-header i:hover,
#ba-apply,
#delete-items,
.ba-media-header > div:first-child i:hover,
.uploader-nav .ba-breadcrumb a:hover {
    opacity: .5;
}

#move-to.active,
#ba-apply.active,
#delete-items.active {
    opacity: 1;
}

#ba-apply {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}

.ba-breadcrumb {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 60%;
}

.images-list .pagination-limit,
.uploader-nav .pagination-limit,
.table-head .header-icons {
    display: inline-block;
}

.control-toolbar {
    float: right;
}

.ba-toolbar-icons label,
.table-head label:not(#jform_title-lbl),
.gallery-header label:not(#jform_title-lbl),
.control-toolbar label {
    display: inline-block;
    position: relative;
}

.uploader-nav .pagination-limit .ba-custom-select:hover,
#html-editor .ba-modal-header .modal-header-icon i:hover,
.uploader-nav .control-toolbar i:not(.zmdi-check):hover {
    background: #1887cf;
}

.images-list .pagination-limit .ba-custom-select:hover,
.gallery-options .gallery-header i:hover,
.table-head i:hover {
    background: #efefef;
}

/* Media manager */
#ba-media-manager {
    overflow: hidden;
    position: relative;
}

.ba-media-manager {
    backface-visibility: hidden;
    background: #f5f5f5;
    height: -webkit-calc(100vh - 100px);
    height: calc(100vh - 100px);
    margin-top: 100px;
    overflow: hidden;
}

/* Uploader modal left sidebar */
.ba-group-element #remove-watermark:hover,
.ba-group-element #watermark-select:hover,
.tab-content .left-tabs .nav-tabs li a:hover i,
.tab-content .left-tabs .nav-tabs li.active > a i,
.tab-content .left-tabs .nav-tabs li a:hover,
.tab-content .left-tabs .nav-tabs li.active > a,
.category-list li.active > a,
.category-list li.active > a i,
.category-list li > a:hover,
.category-list li > a:hover i,
.availible-folders li.active > span i,
.availible-folders li.active > span,
.availible-folders li span:hover i,
.availible-folders li span:hover,
.ba-folder-tree li.active > a,
.ba-folder-tree li.active > a i,
.ba-folder-tree a:hover,
.ba-folder-tree a:hover i {
    color: #1da6f4;
    text-decoration: none;
}

.category-list,
.ba-folder-tree {
    box-sizing: border-box;
    display: inline-block;
    overflow-x: hidden;
    position: relative;
}

.availible-folders > ul,
.category-list > ul,
.ba-folder-tree > ul {
    box-sizing: border-box;
    height: -webkit-calc(100vh - 170px);
    height: calc(100vh - 170px);
    list-style: none;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 25px 25px 25px 40px;
    width: -webkit-calc(100% + 25px);
    width: calc(100% + 25px);
}

.ba-folder-tree > ul {
    height: -webkit-calc(100vh - 100px);
    height: calc(100vh - 100px);
}

.availible-folders > ul {
    height: 430px;
}

.availible-folders > ul ul,
.category-list > ul ul,
.ba-folder-tree > ul ul {
    margin: 0 0 0 30px;
}

.tab-content .left-tabs .nav-tabs li a,
.category-list,
.availible-folders li,
.ba-folder-tree li {
    font-size: 13px;
    list-style: none;
    position: relative;
    white-space: nowrap;
}

.category-list li a,
.availible-folders li span,
.ba-folder-tree li a {
    display: block;
    padding: 10px 15px;
}

.availible-folders li > ul,
.category-list li > ul,
.ba-folder-tree li > ul {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity .3s, max-height .3s;
    -webkit-transition: opacity .3s, max-height .3s;
    visibility: hidden;
}

.availible-folders > ul > li > ul,
.category-list li.root > ul {
    max-height: none;
    opacity: 1;
    overflow: visible;
    padding: 0;
    visibility: visible;
}

.category-list li.visible-branch > ul,
.availible-folders li.visible-branch > ul,
.ba-folder-tree li.visible-branch > ul {
    max-height: 300vh;
    opacity: 1;
    overflow: visible;
    transition: opacity .3s, max-height .3s, overflow .1s .3s;
    -webkit-transition: opacity .3s, max-height .3s, overflow .1s .3s;
    visibility: visible;
}

.category-list li.visible-branch >  i.zmdi-chevron-right,
.availible-folders li.visible-branch >  i.zmdi-chevron-right,
.ba-folder-tree li.visible-branch > i.zmdi-chevron-right {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}

/* Work Area */
.ba-work-area {
    backface-visibility: hidden;
    background: #fff;
    border-left: 1px solid #f3f3f3;
    box-sizing: border-box;
    float: right;
    height: -webkit-calc(100vh - 100px);
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.ba-work-area .select-all input {
    opacity: 0;
}

.ba-work-area .select-all i {
    left: 29px;
    position: absolute;
}

.select-all,
table.ba-items-list {
    box-sizing: border-box;
    font-size: 14px;
    width: 100%;
}

.table-head + div,
.table-head {
    width: 100%;
    float: left;
}

.table-head + div {
    min-height: calc(100% - 155px);
    min-height: -webkit-calc(100% - 155px);
}

.table-head .files-size,
.table-head .files-name {
    border-bottom: 1px solid #f3f3f3;
    box-sizing: border-box;
    display: inline-block;
    float: left;
    font-weight: 500;
    padding: 15px 25px;
    text-align: left;
    width: 80%;
}

.table-head .files-name i {
    line-height: 0;
    vertical-align: middle;
}

.images-list .table-head + div {
    height: -webkit-calc(100vh - 149px);
    height: calc(100vh - 149px);
    overflow-y: auto;
}

#filter-bar input[type="submit"],
.gallery-options .checkbox-parent input[type="checkbox"],
.main-table .table-header + table tr td.select-td input[type="checkbox"],
.main-table .table-header  input[type="checkbox"],
.ba-category-table .select-td input[type="checkbox"],
table.ba-items-list tbody tr td .select-item,
.table-head #check-all {
    display: none;
}

.gallary-view .table-header input:checked + i,
.ba-work-area .select-all input:checked + i,
.select-td .ba-image input:checked +i,
.table-head input:checked + i {
    color: #1887cf;
}

.ba-work-area .check-all  {
    margin-right: 20px;
}

.table-head .files-size {
    border-left: 1px solid #f3f3f3;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 20%;
}

.main-table .table-header + table tr td.select-td,
.main-table .table-header + table tr td.status-td,
table.ba-items-list tbody tr td.select-td {
    box-sizing: border-box;
    height: 70px;
    padding-left: 65px;
    position: relative;
    text-align: left;
    width: 10%;
}


.gallery-editor table.ba-items-list tbody tr td.select-td {
    width: 10%;
}

.gallery-editor.resized-toolbar table.ba-items-list tbody tr td.select-td {
    width: 20%;
}

table.ba-items-list tbody tr td.select-td + td {
    max-width: 100px;
    overflow: hidden;
    padding-left: 75px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

table.ba-items-list tbody tr td:nth-child(3) {
    width: 10%;
    text-align: right;
}

table.ba-items-list tbody tr td:last-child {
    text-align: center;
    width: 12%;
}

.folder-icons {
    display: inline-block;
    position: relative;
    width: 40px;
}

.select-td i.zmdi-circle-o,
.gallery-editor table.ba-items-list tbody tr td.select-td a.zmdi-folder+i+i,
.gallery-editor table.ba-items-list tbody tr td.select-td a.zmdi-folder+i,
table.ba-items-list tbody tr td i.zmdi-circle-o,
table.ba-items-list tbody tr td.select-td i+i {
    left: -65px;
    margin-top: -35px;
    position: absolute;
    top: 35px;
}

#ba-media-manager table.ba-items-list tbody tr td .zmdi-folder + i.zmdi-circle-o,
#ba-media-manager table.ba-items-list tbody tr td.select-td .zmdi-folder + i+i,
.gallery-editor table.ba-items-list tbody tr td.select-td a.zmdi-folder+i+i,
.gallery-editor table.ba-items-list tbody tr td.select-td a.zmdi-folder+i {
    top: 23px;
}

#ba-media-manager table.ba-items-list tbody tr td i.zmdi-circle-o,
#ba-media-manager table.ba-items-list tbody tr td.select-td i+i {
    top: 50%;
}

.select-td i.zmdi-circle-o,
.gallery-editor table.ba-items-list tbody tr td i.zmdi-circle-o,
.gallery-editor table.ba-items-list tbody tr td.select-td i+i {
    left: 0;
}

.gallery-editor table.ba-items-list tbody tr td.select-td input:checked + i + i.zmdi-circle-o,
table.ba-items-list tbody tr td.select-td .folder-icons i.zmdi-circle-o,
table.ba-items-list tbody tr td.select-td i+i,
table.ba-items-list tbody tr td .ba-image i {
    height: 70px;
    line-height: 70px;
    opacity: 0;
    text-align: center;
    width: 65px;
}

.select-td i.zmdi-circle-o,
table.ba-items-list tbody tr td .ba-image i.zmdi-circle-o,
table.ba-items-list tbody tr td.select-td .folder-icons i.zmdi-circle-o {
    color: #fff;
    opacity: .5;
}

.main-table .table-header + table tr td.select-td input:checked + i.zmdi-circle-o,
.main-table .table-header + table tr td.select-td input + i + i.zmdi-check,
table.ba-items-list tbody tr td .ba-image input:checked + input + i.zmdi-circle-o,
table.ba-items-list tbody tr td.select-td input:checked + i.zmdi-circle-o,
table.ba-items-list tbody tr td.select-td input:checked + .folder-icons i.zmdi-circle-o {
    opacity: 0;
}

.main-table .table-header + table tr td.select-td input:checked + i + i.zmdi-check,
table.ba-items-list tbody tr td .ba-image input:checked + input + i + i.zmdi-check {
    opacity: 1;
}

.gallery-editor table.ba-items-list tbody tr td.select-td input:checked + i+i,
.select-td .ba-image input:checked +i,
table.ba-items-list tbody tr td.select-td input:checked + .folder-icons i+i.zmdi-check {
    line-height: 70px;
    opacity: 1;
    vertical-align: middle;
}

.ba-work-area table.ba-items-list tbody tr td .ba-image {
    position: relative;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

.table-body table.ba-items-list tbody tr td.select-td:before,
.ba-work-area table.ba-items-list tbody tr td.select-td:before {
    -webkit-animation: spin 1s infinite;
    animation: spin 1s infinite;
    color: #4889ef;
    content: '\f3ec';
    font: normal normal normal 24px/1 'Material-Design-Iconic-Font';
    left: 80px;
    margin: -12px 0 0 -12px;
    position: absolute;
    top: 35px;
}

.ba-row.ui-sortable-helper .select-td label,
.table-body table.ba-items-list tbody tr.ui-sortable-helper td.select-td:before,
.table-body table.ba-items-list tbody tr td.select-td.loaded:before,
.ba-work-area table.ba-items-list tbody tr.ui-draggable-dragging td.select-td:before,
.ba-work-area table.ba-items-list tbody tr td.select-td.loaded:before {
    display: none;
}

.gallery-editor table.ba-items-list tbody tr td .ba-image,
.ba-work-area table.ba-items-list tbody tr td .ba-image {
    display: block;
    min-width: 60px;
}

.table-body table.ba-items-list tbody tr td.select-td .ba-image img,
.ba-work-area table.ba-items-list tbody tr td.select-td .ba-image img {
    opacity: 0;
}

@keyframes image-fade  {
    from{ opacity: 0; }
    to { opacity: 1; }
}

@-webkit-keyframes image-fade  {
    from{ opacity: 0; }
    to { opacity: 1; }
}

.gallery-editor table.ba-items-list tbody tr td.select-td.loaded img,
.ba-work-area table.ba-items-list tbody tr td.select-td.loaded .ba-image img {
    opacity: 0;
    -webkit-animation: image-fade .5s both;
    animation: image-fade .5s both;
}

.gallery-editor table.ba-items-list tbody tr td.select-td img,
table.ba-items-list tbody tr td .ba-image img {
    max-height: 60px;
    max-width: 60px;
}

.gallery-editor table.ba-items-list tbody tr td .ba-image img {
    max-height: 60px;
    max-width: 90px;
}

.uploader-nav a:hover,
.gallery-img-title a:hover,
table.ba-items-list a:hover {
    text-decoration: none;
}

.likes-container i {
    margin-right: 10px; 
}

/* Context Menu */
@keyframes context-menu {
    0%{ width: 265px; opacity: 0; max-height: 350px; visibility: hidden;}
    1%{ width: 0px; opacity: 1; max-height: 0; visibility: visible; }
    100%{ width: 265px; max-height: 350px; }
}

@-webkit-keyframes context-menu {
    0%{ width: 265px; opacity: 0; max-height: 350px; visibility: hidden;}
    1%{ width: 0px; opacity: 1; max-height: 0; visibility: visible; }
    100%{ width: 265px; max-height: 350px; }
}

.header-icons .ba-custom-select ul,
.ba-context-menu {
    -webkit-animation: context-menu .3s both;
    animation: context-menu .3s both;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 60px rgba(0,0,0,.15) !important;
    max-height: 0;
    overflow: hidden;
    position: fixed;
    white-space: nowrap;
    width: 265px;
    z-index: 10;
}

@keyframes context-menu-inner {
    0%{ transform: translateY(10%); -webkit-transform: translateY(10%); opacity: 0;}
    100%{transform: translateY(0); -webkit-transform: translateY(0);  opacity: 1;}
}

@-webkit-keyframes context-menu-inner {
    0%{ transform: translateY(10%); -webkit-transform: translateY(10%); opacity: 0; }
    100%{ transform: translateY(0); -webkit-transform: translateY(0); opacity: 1;}
}

.header-icons .ba-custom-select ul.visible-select li,
.ba-context-menu span {
    -webkit-animation: context-menu-inner .4s .3s cubic-bezier(.25,.98,.26,.99) both;
    animation: context-menu-inner .4s .3s cubic-bezier(.25,.98,.26,.99) both;
    font-weight: 400;
}

.header-icons .ba-custom-select ul {
    position: absolute;
}

.images-list .pagination-limit .ba-custom-select ul,
.uploader-nav .pagination-limit .ba-custom-select ul,
.help-context-menu,
.gallary-view .sorting-direction ul,
.gallary-view .pagination-limit ul,
.ba-context-menu.ba-left {
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
}

.images-list .pagination-limit .ba-custom-select ul,
.uploader-nav .pagination-limit .ba-custom-select ul,
.gallary-view .pagination-limit ul {
    margin-left: 65px !important;
}

.images-list .pagination-limit .ba-custom-select ul.visible-select,
.uploader-nav .pagination-limit .ba-custom-select ul.visible-select {
    box-shadow: 0 4px 60px rgba(0,0,0,.15) !important;
    color: #3f3f3f;
    top: -10px;
}

.ba-context-menu.ba-top {
    transform: translateY(-100%);
    -webkit-transform: translateY(-100%);
}

.ba-context-menu.ba-top.ba-left {
    transform: translate(-100%, -100%);
    -webkit-transform: translate(-100%, -100%);
}

.ba-context-menu span {
    display: block;
    font-size: 14px;
    padding: 17px;
}

#ba-media-manager .ba-context-menu span {
    padding: 12px;
}

.ba-context-menu span i {
    padding: 0 15px 0 5px;
    text-align: center;
    vertical-align: sub;
    width: 24px;
}

.ba-context-menu .disabled-item i,
.ba-context-menu .disabled-item ,
.ba-context-menu .disabled-item:hover {
    background: transparent;
    color: #999 !important ;
}

span.ba-group-element:not(:first-child) {
    border-top: 1px solid #f3f3f3;
}



.main-table .table-header + table tr:hover a,
.main-table .table-header + table tr:hover i,
.main-table .table-header + table tr:hover td,
.main-table .table-header + table tr:hover,
.ba-custom-select ul li:hover,
.ba-custom-select ul li:hover i,
#add-link-modal .ba-custom-select ul li:hover,
.droppable-over,
.droppable-over i,
.droppable-over a,
table.ba-items-list tbody tr.context-active,
table.ba-items-list tbody tr.context-active a,
table.ba-items-list tbody tr.context-active span,
.gallery-editor .ba-items-list .ba-images.active,
table.ba-items-list tbody tr:hover,
table.ba-items-list tbody tr:hover span,
.ba-context-menu span:hover,
.help-context-menu span:hover a {
    background: #1da6f4;
    border-bottom-color: transparent;
    color: #fff !important;
}

.ba-items-list .active .select-td i.zmdi-check {
    color: #fff !important;
}

.ui-sortable-helper,
td.draggable-handler {
    cursor: move;
}

table.ba-items-list tbody tr:hover a,
table.ba-items-list tbody tr.context-active i,
table.ba-items-list tbody tr:hover i {
    color: #fff !important;
}

/* Draggable */
@keyframes item-dragging {
    from { max-width: 100vw; }
    to { max-width: 200px; }
}

@-webkit-keyframes item-dragging {
    from { max-width: 100vw; }
    to { max-width: 200px; }
}

.ba-row.ui-sortable-helper .select-td,
table.ba-items-list tbody tr.ui-sortable-helper,
.ui-draggable-dragging {
    -webkit-animation: item-dragging .3s both;
    animation: item-dragging .3s both;
    background: #2c2c2c !important;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: #fff;
    margin-left: 90px;
    margin-top: 22px;
    max-width: 200px;
}

table.ba-items-list tbody tr.ui-sortable-helper a,
table.ba-items-list tbody tr.ui-sortable-helper i,
.ui-draggable-dragging a {
    color: #fff !important;
}

.ui-sortable-helper {
    height: initial !important;
}

.ui-sortable-helper td,
.ui-draggable-dragging td {
    box-sizing: border-box;
    overflow: hidden;
    padding: 10px 20px !important;
    border: none !important;
}

.ui-sortable-helper td.select-td,
.ui-draggable-dragging td.select-td {
    max-width: 100% !important;
}


.ui-sortable-helper .draggable-handler:nth-child(3),
.ui-sortable-helper .likes-container,
#jform_title-lbl,
.ui-sortable-helper td.select-td i,
.ui-draggable-dragging td.select-td .zmdi-check {
    display: none !important;
}

.ui-sortable-helper a,
.ui-draggable-dragging a {
    color: #fff;
}

.ui-sortable-helper td:last-child,
.ui-draggable-dragging td:last-child {
    color: transparent;
}

.ui-sortable-helper td:nth-child(2),
.ui-draggable-dragging.ba-dropping td:nth-child(2),
.ui-draggable-dragging td:nth-child(2) {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes dropping {
    to { transform: scale(0); }
}

@-webkit-keyframes dropping {
    to { transform: scale(0) ; }
}

.ui-draggable-dragging.ba-dropping {
    -webkit-animation: dropping .5s both;
    animation: dropping .5s both;
    background: #2c2c2c !important;
    overflow: hidden;
    position: absolute;
    width: 200px;
}

.ui-sortable-placeholder {
    background: #1da6f4;
    cursor: move;
    height: 70px !important;
    visibility: visible !important;
}

@keyframes dropping-helper {
    from { transform: scale(.5); opacity: 0; }
}

@-webkit-keyframes dropping-helper {
    from { transform: scale(.5); opacity: 0; }
}

.ba-dropping-helper {
    -webkit-animation: dropping-helper .3s both;
    animation: dropping-helper  .3s both;
}

/*
/* Gallery Settings
*/

#global-options .ba-media-header {
    position: static;
}

#global-options .uploader-nav {
    border: none;
    margin: 0;
    padding: 0;
}

#global-options .modal-body,
#general-tabs  {
    height: 100%;
}

#general-tabs {
    background: #fff;
}

#global-options #general-tabs >.tab-content {
    background: #f5f5f5;
    height: 100%;
}

#global-options #general-tabs >.tab-content>.tab-pane {
    box-sizing: border-box;
    height: 500px;
    overflow: auto;
    padding: 25px; 
    position: absolute;
    width: 970px;
}

.tab-wrapper .tab-content,
.tab-wrapper {
    height: 500px !important;
    overflow: auto;
}

#global-options #general-tabs >.tab-content>.tab-pane.tab-wrapper {
    padding: 0;
}

#global-options .tab-wrapper .nav-tabs {
    box-sizing: border-box;
    padding: 25px; 
}

#global-options .tab-wrapper .tab-content .ba-options-group {
    margin-right: 25px;
}

#global-options .tab-wrapper .tab-content .ba-options-group:first-child {
    margin-top: 25px;
}

#global-options .tab-wrapper .tab-content .ba-options-group:last-child {
    margin-bottom: 25px;
}

.ba-group-title {
    color: #757575;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    margin: 40px 0 20px;
    text-transform: uppercase;
}

.filter-options,
.filter-options-active,
#global-options #general-tabs .left-tabs .tab-content>.tab-pane.active {
    -webkit-animation: backdrop .3s linear both;
    animation: backdrop .3s linear both;
}

#global-options .uploader-nav a {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin-top: 0;
    max-width: 140px;
    opacity: .85;
    overflow: hidden;
    padding: 20px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

#global-options .uploader-nav i {
    line-height: 18px;
}

#global-options .uploader-nav a:hover,
#global-options .uploader-nav li.active a {
    opacity: 1;
}

/* Gallery Settings Tabs Animation */
.tabs-underline {
    background:#fff;
    height: 4px;
    position: fixed;
    top: calc(50% - 203px);
    top: -webkit-calc(50% - 203px);
    top: -moz-calc(50% - 202px);
    transition: all .25s cubic-bezier(.35,0,.25,1);
    -webkit-transition: all .25s cubic-bezier(.35,0,.25,1);
}

.ba-modal-close .tabs-underline {
    display: none;
}

@keyframes active-tab-left {
    from { transform: translateX(-100%); -webkit-transform: translateX(-100%); }
}

@-webkit-keyframes active-tab-left {
    from { transform: translateX(-100%); -webkit-transform: translateX(-100%); }
}

.active.left {
    -webkit-animation: active-tab-left .5s cubic-bezier(.55,.085,.68,.53);
    animation: active-tab-left .5s cubic-bezier(.55,.085,.68,.53);
}

@keyframes active-tab-right {
    from { transform: translateX(100%); -webkit-transform: translateX(100%); }
}

@-webkit-keyframes active-tab-right {
    from { transform: translateX(100%); -webkit-transform: translateX(100%); }
}

.active.right {
    -webkit-animation: active-tab-right .5s cubic-bezier(.55,.085,.68,.53);
    animation: active-tab-right .5s cubic-bezier(.55,.085,.68,.53);
}

.active.left,
.active.right,
.out-left,
.out-right {
    box-sizing: border-box;
    display: inline-block !important;
    position: absolute;
    width: 970px;
}

@keyframes out-right {
    to { transform: translateX(100%); -webkit-transform: translateX(100%); }
}

@-webkit-keyframes out-right {
    to { transform: translateX(100%); -webkit-transform: translateX(100%); }
}

.out-right {
    -webkit-animation: out-right .5s cubic-bezier(.55,.085,.68,.53);
    animation: out-right .5s cubic-bezier(.55,.085,.68,.53);
}

@keyframes out-left {
    to { transform: translateX(-100%); -webkit-transform: translateX(-100%); }
}

@-webkit-keyframes out-left {
    to { transform: translateX(-100%); -webkit-transform: translateX(-100%); }
}

.out-left {
    -webkit-animation: out-left .5s cubic-bezier(.55,.085,.68,.53);
    animation: out-left .5s cubic-bezier(.55,.085,.68,.53);
}

.tab-content input[type="text"]:focus,
.tab-content input[type="text"]:hover,
.tab-content input[type="text"],
.tab-content input[type="number"]:focus,
.tab-content input[type="number"]:hover,
.tab-content input[type="number"],
.tab-content select:focus,
.tab-content select:hover,
.tab-content select {
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
}

.minicolors .minicolors-input {
    color: #999;
    height: 13px;
}

.tab-content .minicolors .minicolors-swatch {
    border-radius: 50%;
    border: none; 
    height: 30px;
    left: 0;
    top: -6px;
    width: 30px;
}

.tab-content .ba-minicolors-border.minicolors .minicolors-swatch{
    border: 1px solid #ddd;
}

.tab-content .minicolors-swatch span {
    box-shadow: none;   
}

.tab-content .minicolors-panel {
    left: -6px !important;
    top: 30px !important;
}

/* Gallery Settings Inner Tabs */
.tab-content .left-tabs .nav-tabs {
    border: none;
    float: left;
    width: 250px;
}

.tab-content .left-tabs .nav-tabs li {
    display: block;
    width: 100%;
}

.tab-content .left-tabs .tab-content {
    float: left;
    width: calc(100% - 250px);
    width: -webkit-calc(100% - 250px);
}

.tab-content .left-tabs .nav-tabs a,
.tab-content .left-tabs .nav-tabs a:hover,
.tab-content .left-tabs .nav-tabs > .active > a,
.tab-content .left-tabs .nav-tabs > .active > a:hover,
.tab-content .left-tabs .nav-tabs > .active > a:focus {
    background: transparent;
    border: none;
}

.tab-content .left-tabs {
    overflow: visible;
    position: relative;
}

.tab-content .left-tabs .nav-tabs li a i {
    padding: 8px 25px 8px 0;
}

.tab-content .left-tabs .nav-tabs li a {
    font-size: 14px;
    line-height: 50px;
    padding: 0;
}

/* Gallery Settings Options Group*/
.product-tour .ba-group-title + p,
.ba-options-group #watermark-select + input[type="text"],
.ba-options-group .weight_radio,
.ba-options-group .option-label {
    color: #999;
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    width: 250px;
}

.ba-options-group .ba-gallery-range + input[type="number"],
.ba-options-group .minicolors-theme-bootstrap .minicolors-input {
    color: #999;
    font-size: 13px;
    font-weight: 500;
    padding-left: 45px;
}

.ba-options-group {
    -webkit-align-items: center;
    align-items: center;
    background: #fff;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.06);
    box-sizing: border-box;
    margin-bottom: 10px;
}

.ba-options-group select,
.ba-options-group  input[type="text"],
.ba-options-group  input[type="number"] {
    color: #1a1a1a;
    font: 400 18px/normal "Roboto", sans-serif;
    height: auto;
    margin: 0;
    padding: 0;
    width: 245px;
}

.ba-options-group  input[type="text"]:not(.minicolors-input) {
    margin-top: -2px;
}

.ba-options-group .weight_radio label input[type="radio"],
.ba-options-group .ba-checkbox input[type="checkbox"] {
    display: none;
}

.ba-options-group .ba-checkbox span {
    top: calc(50% - 10px);
    top: -webkit-calc(50% - 10px);
}

.ba-options-group .ba-custom-select,
.ba-options-group .ba-checkbox {
    display: inline-block;
    margin: 0;
}

.tab-pane .ba-group-element .zmdi-help {
    color: #757575;  
    font-size: 24px;
    line-height: 18px;
    position: absolute;
    right: 25px;
    top: 25px;
}

.ba-group-element input[type="text"]::-webkit-input-placeholder {
    color: #999;
}

.ba-group-element input[type="text"]::-moz-placeholder {
    color: #999;
}

.ba-group-element #remove-watermark,
.ba-group-element #watermark-select {
    color: #3f3f3f ;
    margin-top: -2px;
    padding: 0;
}

#remove-watermark i,
#watermark-select i {
    padding-right: 8px; 
    vertical-align: middle;
}

.ba-options-group #watermark-select + input[type="text"] {
    margin-left: 20px;
    margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 150px;
}

/* Gallery Settings Options Group Element */
.ba-options-group .ba-group-element {
    align-items: center;
    -webkit-align-items: center;
    border-top: 1px solid #f3f3f3;
    box-sizing: border-box;
    display: -webkit-flex;
    display: flex;
    height: 70px;
    padding: 25px;
    position: relative;
}

@keyframes option-child {
    from { opacity: 0;}
}

@-webkit-keyframes option-child {
    from { opacity: 0;}
}

.option-border {
    -webkit-animation: option-child .6s both ;
    animation: option-child .6s both ;
    border-top: 1px solid #f3f3f3; 
}

@keyframes visible-category-options {
    0%{ left: 50%; width: 0; max-height: 2px;}
    50%{ left: 0; width: 100%; max-height: 2px;}
    100%{ left:0;width: 100%; max-height: 230px;}
}

@-webkit-keyframes visible-category-options {
    0%{ left: 50%; width: 0; max-height: 2px;}
    50%{ left: 0; width: 100%; max-height: 2px;}
    100%{ left:0;width: 100%; max-height: 230px;}
}

#category-options .ba-custom-select ul.visible-select {
    -webkit-animation: visible-category-options .4s cubic-bezier(.25,.98,.26,.99) both !important;
    animation: visible-category-options .4s cubic-bezier(.25,.98,.26,.99) both !important;   
}

@keyframes visible-options {
    0%{ left: 50%; width: 0; max-height: 2px;}
    50%{ left: 0; width: 265px; max-height: 2px;}
    100%{ left:0; width: 265px; max-height: 290px;}
}

@-webkit-keyframes visible-options {
    0%{ left: 50%; width: 0; max-height: 2px;}
    50%{ left: 0; width: 265px; max-height: 2px;}
    100%{ left:0; width: 265px; max-height: 290px;}
}

.tab-pane .ba-custom-select ul.visible-select {
    -webkit-animation: visible-options .4s cubic-bezier(.25,.98,.26,.99) both !important;
    animation: visible-options .4s cubic-bezier(.25,.98,.26,.99) both !important;
}

@keyframes visible-options-top {
    0%{ left: 50%; width: 0; max-height: 2px;}
    50%{ left: 0; width: 265px; max-height: 2px;}
    100%{ left:0; width: 265px; max-height: 230px;}
}

@-webkit-keyframes visible-options-top {
    0%{ left: 50%; width: 0; max-height: 2px;}
    50%{ left: 0; width: 265px; max-height: 2px;}
    100%{ left:0; width: 265px; max-height: 230px;}
}

#cke-image-modal .ba-custom-select.visible-select-top ul.visible-select,
.tab-pane .ba-custom-select.visible-select-top ul.visible-select {
    -webkit-animation: visible-options-top .4s cubic-bezier(.25,.98,.26,.99) both !important;
    animation: visible-options-top .4s cubic-bezier(.25,.98,.26,.99) both !important;
    top: inherit;
    bottom: 43px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top: none;
    border-bottom: 2px solid #1da6f4;
}

.tab-pane .ba-custom-select .zmdi-caret-down {
    transition: all .5s;
    -webkit-transition: all .5s;
}

.tab-pane .ba-custom-select.visible-select-top .visible-select + .zmdi-caret-down {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

.ba-options-group .ba-group-element:first-child {
    border: none;
}

.ba-options-group .weight_radio {
    width: auto;
}

.ba-options-group .weight_radio label {
    display: inline-block;
    margin-left: 30px;
    position: relative;
}

.ba-options-group .weight_radio label:nth-child(2) {
    margin-left: 50px;
}

.ba-options-group .weight_radio label span {
    border-radius: 50% !important;
    left: -30px;
    top: -10px;
}

.ba-options-group .weight_radio input[type="radio"]:checked + span {
    background: #4285f4;
    border-color: #4285f4;
    box-shadow: inset 0px 0px 0px 2px #fff;
    -webkit-box-shadow: inset 0px 0px 0px 2px #fff;
}

/* Gallery Range */ 
.ba-options-group .ba-gallery-range + input[type="number"] {
    margin-left: 15px;
    width: 50px;
    padding: 0;
}

.ba-gallery-range {
    -webkit-appearance: none;
    height: 45px;
    padding: 0;
    width: 130px;
}

textarea:focus,
input:focus,
.uneditable-input:focus,
.ba-gallery-range:focus {
    outline: none;
    border: none;
}

.ba-gallery-range::-webkit-slider-runnable-track {
    background: #f3f3f3;
    height: 2px;
}

.ba-gallery-range::-webkit-slider-thumb {
    background: #02adea;
    background-image: none;
    border-radius: 50%;
    cursor: pointer;
    height: 20px;
    margin-top: -8px;
    width: 20px;
    -webkit-appearance: none;
    -webkit-transition: transform 0.1s linear 0s, box-shadow 0.2s linear 0s;
}

input[type=range].ba-gallery-range::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 10px rgba(0, 157, 220, 0.3);
    -webkit-transform: -webkit-scale(1.2);
}

input[type=range].ba-gallery-range::-moz-range-track {
    background: #f3f3f3;
    height: 2px;
    border: none;
}

input[type=range].ba-gallery-range::-moz-range-thumb {
    background: #02adea;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    height: 20px;
    width: 20px;
    -moz-transition: transform 0.1s linear 0s, box-shadow 0.2s linear 0s;
}

input[type=range].ba-gallery-range::-moz-range-thumb:hover {
    box-shadow: 0 0 0 10px rgba(0, 157, 220, 0.3);
    -moz-transform: -moz-scale(1.2);
}

input[type=range].ba-gallery-range::-ms-track {
    background: #f3f3f3;
    height: 2px;
    border: none;
}

input[type=range].ba-gallery-range::-ms-thumb {
    background: #02adea;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    height: 20px;
    width: 20px;
    -ms-transition: transform 0.1s linear 0s, box-shadow 0.2s linear 0s;
}

input[type=range].ba-gallery-range::-ms-thumb:hover {
    box-shadow: 0 0 0 10px rgba(0, 157, 220, 0.3);
    -ms-transform: -moz-scale(1.2);
}

input[type=range].ba-gallery-range::-ms-fill-lower {
    background: #02adea;
}

.ba-range-liner {
    background: #02adea;
    height: 2px;
    left: 275px;
    position: absolute;
    top: -webkit-calc(50% - 1px);
    top: calc(50% - 1px);
}

/*
/* Create Category Modal
*/

#rename-modal .focus-underline,
#create-category-modal .focus-underline {
    top: 140px;
}

/*
/* Embed Modal
*/

#embed-modal .modal-body .ba-embed {
    border: none;
    box-shadow: none;
    box-sizing: border-box;
    color: #757575;
    font: 300 18px/normal "Roboto", sans-serif;
    height: 430px;
    margin: 0;
    padding: 25px 25px 0 25px;
    resize: none;
    width: 100%;
}

#embed-apply {
    background: #1da6f4;
    color: #fff;
}

/*
/* Add Link Modal
*/

#add-link-modal .modal-body > input {
    margin-bottom: 0;
}

#add-link-modal .focus-underline {
    top: 140px;
}

.ba-custom-select input {
    background: transparent !important;
    background-color: transparent !important;
}

ul.select-no-scroll {
    overflow-y: hidden !important;
}

.ba-custom-select {
    position: relative;
}

.ba-custom-select .zmdi-caret-down {
    font-size: 23px;
    position: absolute;
    right: 15px;
    top: 40px;
}

.images-list .pagination-limit .ba-custom-select .zmdi-caret-down,
.uploader-nav .pagination-limit .ba-custom-select .zmdi-caret-down {
    left: 38px;
    padding: 0;
    right: auto;
    top: 9px;
}

#category-options .ba-custom-select .zmdi-caret-down {
    top: 10px;
}

.pagination-limit .ba-custom-select .zmdi-caret-down:hover {
    background: none;
}

.tab-pane .ba-custom-select .zmdi-caret-down {
    top: 0;
    right: -5px;
}

#category-options .ba-custom-select ul,
.pagination-limit .ba-custom-select ul,
.tab-pane .ba-custom-select ul,
.gallary-view .ba-custom-select ul,
.ba-modal-sm .ba-custom-select ul {
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
    box-sizing: border-box;
    left: 0;
    list-style: none;
    margin: 0;
    max-height: 96px;
    opacity: 0;
    overflow-y: auto;
    position: absolute;
    top: 0;
    visibility: hidden;
    width: 265px;
    z-index: 2;
}

@keyframes add-link {
    0%{ left: 50%; width: 0; height: 2px; }
    50%{ left: 0; width: 265px; height: 2px; }
    100%{ left:0; width: 265px; height: 117px; }
}

@-webkit-keyframes add-link  {
    0%{ left: 50%; width: 0; height: 2px; }
    50%{ left: 0; width: 265px; height: 2px; }
    100%{ left:0; width: 265px; height: 117px; }
}

#category-options .ba-custom-select ul.visible-select,
.pagination-limit .ba-custom-select ul.visible-select,
.tab-pane .ba-custom-select ul.visible-select,
.gallary-view .ba-custom-select ul.visible-select,
.ba-modal-sm .ba-custom-select ul.visible-select {
    -webkit-animation: add-link .4s cubic-bezier(.25,.98,.26,.99) both;
    animation: add-link .4s cubic-bezier(.25,.98,.26,.99) both;
    border-radius: 6px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 2px solid #1da6f4;
    max-height: none;
    overflow: hidden;
    top: 69px;
}

#category-options .ba-custom-select ul.visible-select,
.tab-pane .ba-custom-select ul.visible-select {
    box-sizing: inherit;
    overflow-y: auto;
    top: 43px;
}

#category-options .ba-custom-select ul.visible-select,
.ba-custom-select ul.visible-select {
    opacity: 1;
    visibility: visible;
    z-index: 15;
}

.ba-custom-select ul li {
    font-size: 14px;
    font-weight: 400 !important;
    opacity: 0;
    overflow-y: auto;
    padding: 20px;
}

.ba-custom-select ul.visible-select li {
    -webkit-animation: context-menu-inner .4s .1s cubic-bezier(.25,.98,.26,.99) both;
    animation: context-menu-inner .4s .1s cubic-bezier(.25,.98,.26,.99) both;
    opacity: 1;
    width: 100%;
}

.images-list .pagination-limit,
.uploader-nav .pagination-limit {
    vertical-align: top;
}

.images-list .pagination-limit {
    float: right;
}

.images-list .pagination-limit .ba-custom-select,
.uploader-nav .pagination-limit .ba-custom-select {
    border-radius: 3px;
}

.images-list .pagination-limit .ba-custom-select input,
.uploader-nav .pagination-limit .ba-custom-select input {
    height: 40px !important;
    line-height: 40px;
}

.images-list .pagination-limit .ba-custom-select input:focus,
.uploader-nav .pagination-limit .ba-custom-select input:focus {
    box-shadow: none;
}

/*
/* Edit Description Modal
*/

.cke_top {
    background: #f5f5f5 !important;
    box-shadow: none;
    padding: 11px 8px;
}

.cke_toolbar_separator {
    display: none;
}

#html-editor a.cke_button_on:hover,
#html-editor a.cke_button_on:focus,
#html-editor a.cke_button_on:active,
#html-editor .cke_button_on,
#html-editor .cke_toolgroup,
#html-editor .cke_combo_button,
#html-editor .cke_top,
#html-editor .cke_reset {
    border: none;
}

#html-editor .cke_contents.cke_reset {
    height: 475px !important;
}

#html-editor textarea.cke_reset {
    box-shadow: none; 
    box-sizing: border-box;
    padding: 25px 25px 0 25px;
    white-space: normal;
}

#html-editor a.cke_button_on {
    background: #ddd;
    box-shadow: none;
}

#html-editor .cke a.cke_combo_button:hover,
#html-editor .cke a.cke_combo_button:focus,
#html-editor .cke .cke_combo_on a.cke_combo_button,
#html-editor .cke_combo_off a.cke_combo_button:hover,
#html-editor .cke_combo_off a.cke_combo_button:focus,
#html-editor a.cke_button_disabled:hover,
#html-editor a.cke_button_disabled:focus,
#html-editor a.cke_button_disabled:active,
#html-editor .cke a.cke_button_off:hover,
#html-editor .cke a.cke_button_off:focus,
#html-editor .cke a.cke_button_off:active {
    background-image: none;
    background: #ddd;
    border-color: transparent;
    box-shadow: none;
    cursor: pointer;
}

#html-editor .cke_toolgroup,
#html-editor .cke .cke_combo_button,
#html-editor .cke .cke_toolgroup {
    background-image: none;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    cursor: pointer;
    margin-bottom: 0; 
}

#html-editor a.cke_combo_button {
    padding: 6px;
}

#html-editor a.cke_button {
    border-radius: 0;
    padding: 10px 6px;
}

.cke_combo_text,
#html-editor .cke_button__source_label {
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cke_bottom {
    display: none;
}

.modal-body .cke iframe {
    width: 100%!important;
}

/*
/* Tooltip
*/

body > .ba-tooltip {
    backface-visibility: hidden;
    background: #2c2c2c;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: #fff;
    display: block;
    font: 500 14px 'Roboto', sans-serif;
    max-width: 200px;
    opacity: 1;
    padding: 15px;
    position: fixed;
    line-height: 24px;
    text-align: left;
    transition: margin-top .25s ease-out, opacity .25s ease-out;
    -webkit-transition: margin-top .25s ease-out, opacity .25s ease-out;
    visibility: visible;
    z-index: 1060;
}

/* Bottom Tooltip */
.camera-container .ba-tooltip,
label .ba-tooltip {
    display: none;
}

@keyframes ba-tooltip {
    from { opacity: 0; margin-top: 20px;}
}

@-webkit-keyframes ba-tooltip  {
    from { opacity: 0; margin-top: 20px;}
}

body > .ba-tooltip.ba-bottom {
    -webkit-transform: translateY(15%) translateX(-50%);
    transform: translateY(15%) translateX(-50%);
    -webkit-animation: ba-tooltip .3s;
    animation: ba-tooltip .3s;
}

body > .ba-tooltip.ba-bottom:before {
    content: "";
    height: 5px;
    position: absolute;
    top: -14px;
    left: 50% !important;
    margin-left: -5px;
    border: 5px solid transparent;
    border-bottom: 5px solid #2c2c2c;
}

@keyframes tooltip-hidden {
    to { opacity: 0; margin-top: 20px;}
}

@-webkit-keyframes tooltip-hidden  {
    to { opacity: 0; margin-top: 20px;}
}

body > .ba-tooltip.ba-bottom.tooltip-hidden {
    -webkit-animation: tooltip-hidden .3s both;
    animation: tooltip-hidden .3s both;
}

/* Left Tooltip */
@keyframes ba-tooltip-left {
    from { opacity: 0; -webkit-transform: translate(-105%, -20%); transform: translate(-105%, -20%); }
}

@-webkit-keyframes ba-tooltip-left  {
    from { opacity: 0; -webkit-transform: translate(-105%, -20%); transform: translate(-105%, -20%); }
}

body > .ba-tooltip.ba-left {
    margin-left: -50px;
    -webkit-transform: translate(-95%, -20%);
    transform: translate(-95%, -20%);
    -webkit-animation: ba-tooltip-left .3s both !important;
    animation: ba-tooltip-left .3s both !important;
}

@keyframes tooltip-left-hidden {
    to { opacity: 0; -webkit-transform: translate(-105%, -20%); transform: translate(-105%, -20%); }
}

@-webkit-keyframes tooltip-left-hidden {
    to { opacity: 0; -webkit-transform: translate(-105%, -20%); transform: translate(-105%, -20%); }
}

body > .ba-tooltip.ba-left.tooltip-hidden {
    -webkit-animation: tooltip-left-hidden .3s both !important;
    animation: tooltip-left-hidden .3s both !important;
}

body > .ba-tooltip.ba-left:before {
    border: 5px solid transparent;
    border-left: 5px solid #2c2c2c;
    content: "";
    height: 0px;
    left: auto !important;
    position: absolute;
    right: -9px;
    top: 18px;
}

/* Top Tooltip */
body > .ba-tooltip.ba-top {
    -webkit-transform: translateY(-160%) translateX(-50%);
    transform: translateY(-160%) translateX(-50%);
}

@keyframes ba-tooltip-top {
    from { opacity: 0; margin-top: -20px;}
}

@-webkit-keyframes ba-tooltip-top  {
    from { opacity: 0; margin-top: -20px;}
}

body > .ba-tooltip {
    -webkit-transform: translateY(-115%) translateX(-50%);
    transform: translateY(-115%) translateX(-50%);
    -webkit-animation: ba-tooltip-top .3s;
    animation: ba-tooltip-top .3s;

}

body > .ba-tooltip.ba-help {
    color: #999;
    font-size: 13px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
}

body > .ba-tooltip:before {
    content: "";
    height: 5px;
    position: absolute;
    bottom: -14px;
    left: 50% !important;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top: 5px solid #2c2c2c;
}

@keyframes tooltip-top-hidden {
    to { opacity: 0; margin-top: -20px;}
}

@-webkit-keyframes tooltip-top-hidden  {
    to { opacity: 0; margin-top: -20px;}
}

body > .ba-tooltip.tooltip-hidden {
    -webkit-animation: tooltip-top-hidden .3s both;
    animation: tooltip-top-hidden .3s both;
}

/*
/* Notification
*/

.ba-update-message,
.alert,
#ba-notification {
    background: #2c2c2c;
    border-radius: 6px;
    bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: #fff;
    padding: 25px;
    position: fixed;
    right: 50px;
    visibility: hidden;
    z-index: 1075;
}

.ba-update-message,
.alert {
    border: none;
    min-width: 250px;
    padding: 40px 25px;
    text-shadow:none;
    z-index: 1000;
}

.alert .close {
    color: transparent;
    opacity: 1;
    padding: 8px;
    position: absolute;
    right: 5px;
    text-shadow: none;
    top: 0;
}

button.close:after {
    color: #fff;
    content: '\f136';
    font: normal normal normal 18px/1 'Material-Design-Iconic-Font';
    position: absolute;
    right: 10px;
}

.alert-error {
    background: #f46336;
}

.ba-update-message,
.alert-success {
    background: #418cff;
}

.ba-update-message p,
#ba-notification p {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.ba-update-message h3,
.alert h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.ba-update-message p,
.alert .alert-message {
    opacity: .6;
}

#ba-notification p img {
    height: 40px;
    padding-left: 40px;
    width: 40px;
}

@keyframes notification-in {
    from {bottom: 0; transform: translateY(100%); opacity: 0;}
}

@-webkit-keyframes notification-in {
    from {bottom: 0; -webkit-transform: translateY(100%); opacity: 0;}
}

.ba-update-message,
.alert,
#ba-notification.notification-in {
    opacity: 1;
    visibility: visible;
    -webkit-animation: notification-in .4s cubic-bezier(.25,.98,.26,.99) both;
    animation: notification-in .4s cubic-bezier(.25,.98,.26,.99) both;
}

@keyframes notification-out {
    to { bottom: 0; transform: translateY(130%); opacity: 0;}
}

@-webkit-keyframes notification-out  {
    to { bottom: 0; -webkit-transform: translateY(130%); opacity: 0;}
}

.ba-update-message .animation-out,
#ba-notification.animation-out {
    opacity: 1;
    visibility: visible;
    -webkit-animation: notification-out .4s cubic-bezier(.25,.98,.26,.99) both;
    animation: notification-out .4s cubic-bezier(.25,.98,.26,.99) both;
}

@keyframes animation-out {
    to { opacity: 0; -webkit-transform: translateY(100%);}
}

@-webkit-keyframes animation-out  {
    to { opacity: 0;-webkit-transform: translateY(100%);}
}

.animation-out {
    -webkit-animation: animation-out .4s cubic-bezier(.25,.98,.26,.99) both;
    animation: animation-out .4s cubic-bezier(.25,.98,.26,.99) both; 
}

/* Product Tour */
.product-tour {
    background: #418CFF;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: #fff;
    display: none;
    padding: 40px 25px 25px 25px;
    position: absolute;
    width: 250px;
    z-index: 1080;    
}

.product-tour .ba-group-title {
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.product-tour .ba-group-title + p,
.product-tour .ba-group-title {
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
}

.product-tour .ba-group-title + p {
    opacity: .6;
    font-weight: 400;
    margin: 0; 
}

.product-tour i {
    font-size: 18px;
    padding: 8px;
    position: absolute;
    right: 5px;
    text-shadow: none;
    top: 0;
}

.product-tour:before {
    border: 5px solid transparent;
    content: "";
    height: 2px;
    position: absolute;
}

@keyframes product-tour {
    from { opacity: 0; transform: scale(.3); -webkit-transform: scale(.3); }
    to { opacity: 1; transform: scale(1); -webkit-transform: scale(1); }
}

@-webkit-keyframes product-tour {
    from { opacity: 0; transform: scale(.3); -webkit-transform: scale(.3); }
    to { opacity: 1; transform: scale(1); -webkit-transform: scale(1); }
}

.product-tour.visible {
    -webkit-animation: product-tour .3s .2s both;
    animation: product-tour .3s .2s both;
    display: block;
}

.active-product-tour {
    z-index: 1080 !important;
}

.product-tour.step-1.visible {
    top: 70px;
    left: 160px;
}

.product-tour.step-1.visible:before {
    border-right: 5px solid #418CFF;
    top: 90px;
    left: -10px;
}

.product-tour .ba-btn.close,
.camera-container.disabled-item.active-product-tour i,
.camera-container.disabled-item.active-product-tour {
    display: block !important;
    opacity: 1;
}

.product-tour.step-2.visible {
    bottom: 155px;
    position: fixed;
    right: calc(25% - 65px);
    right: -webkit-calc(25% - 65px);
}

.product-tour.step-2.visible:before {
    bottom: -12px;
    border-top: 5px solid #418CFF;
    left: 50%;
}

.product-tour.step-3.visible {
    top: 95px;
    right: 60px;
}

.product-tour.step-3.visible:before {
    border-bottom: 5px solid #418CFF;
    top: -12px;
    left: 50%;
}

.settings.active-product-tour {
    background: #1887cf !important;
}


/* ========================================================================
    Custom
 ========================================================================== */

/* Custom scroll */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 6px;

}

/* ========================================================================
    Gallery Editor
 ========================================================================== */
.gallery-options.span3,
.category-list.span3 {
    box-sizing: border-box;
    height: 960px;
    margin-left: 0;
    position: relative;
    width: 25%;
}

.gallery-options.span3 {
    box-shadow: 3px 2px 6px rgba(0,0,0,0.06);
}

.images-list.span6 {
    background: #fff; 
    box-shadow: -3px 2px 6px rgba(0,0,0,0.06);
    height: 960px;
    margin-left: 0;
    width: 50%;
}

.com_bagallery .container-main {
    height: -webkit-calc(100vh - 151px);
    height: calc(100vh - 151px);
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 0;
    width: 100%;
}

.com_bagallery .subhead-collapse {
    margin-bottom: 0;
}

.gallery-editor .images-list .table-head + .table-body {
    height: 900px;
    background: #fff;
}

#content {
    position: relative;
}

.images-list,
.category-list,
.gallery-editor,
.gallery-options {
    display: inline-block;
}

.gallery-editor,
.images-list {
    position: relative;
    width: calc(100% - 300px);
    width: -webkit-calc(100% - 300px);
}

/*
/* Category List
*/

.category-list,
.gallery-editor {
    float: left;
}

.category-list {
    background: #f9f9f9;
    border-right: 1px solid #efefef;
    width: 300px;
}

.category-list .zmdi-star {
    float: right;
}

.category-list label {
    display: inline-block;
}

.category-list ul {
    list-style: none;
}

.category-list > ul {
    height: 905px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-left: 15px;
}

.category-list li {
    position: relative;
}

.category-list li input[type="checkbox"] {
    display: none;
}

.gallery-editor,
.gallery-options {
    transition: all .5s cubic-bezier(.25,.98,.26,.99);
    -webkit-transition: all .5s cubic-bezier(.25,.98,.26,.99);
}

.gallery-editor {
    background: #f9f9f9;
    box-shadow: inset 0 15px 8px -10px rgba(0,0,0,.15);
    box-sizing: border-box;
    padding: 40px 25px;
    width: 100%;
}

.gallery-editor .create-categery {
    background: #f64231;
    color: #fff;
    font-size: 14px;
    font-weight: 500; 
}

.gallery-editor .table-head,
.gallery-header {
    background: #f5f5f5;
    border-bottom: 1px solid #f3f3f3;
    box-sizing: border-box;
    height: 60px;
    padding: 10px 25px;
}

.gallery-editor .table-head {
    padding: 10px 13px;
}

.gallery-editor .table-head {
    background: #fff; 
}

.gallery-header {
    text-align: right;
    background: #fcfcfc;
}

.album-mode .ba-category i.zmdi-start,
.album-mode #category-all,
.album-mode tr[data-id="category-all"] {
    display: none;
}

/* Sort Action */
.ba-custom-select ul {
    padding: 0;
}

.header-icons .ba-custom-select ul {
    display: none;
    z-index: 1070;
}

.header-icons .ba-custom-select ul.visible-select {
    display: block;
    margin-left: 0;
}

.ba-custom-select ul li {
    padding-left: 65px;
    position: relative;
}

.ba-custom-select ul li i {
    left: 14px;
    position: absolute;
    top: 10px;
}

.ba-custom-select ul li:before {
    border-radius: 50%;
    border: 2px solid #ddd;
    content: "";
    height: 15px;
    left: 25px;
    position: absolute;
    top: 20px;
    width: 15px;
}

.ba-custom-select ul li:hover:before {
    border-color: #fff;
}

.ba-custom-select ul li.selected:before {
    display: none;
}

/*
/* Gallery Options
*/

.gallery-options {
    background: #fcfcfc;
    border-left: 1px solid #f3f3f3;
    float: right;
    width: 25%;
}

.images-options .options,
.category-options .options {
    box-sizing: border-box;
    padding: 25px;
}

.options > div {
    position: relative;
}

.gallery-options .table-head {
    text-align: right;
    background: #fcfcfc;
}

.gallery-options .table-head i:hover {
    background: rgba(255,255,255,0.1);
}

.gallery-options .img-thumbnail {
    backface-visibility: hidden;
    background-color: #212121; 
    background-position: 50%;
    background-size: cover;
    height: 300px;
    position: relative;
}

.upload-type,
.gallary-view .camera-container,
.images-list .camera-container,
.gallery-options .camera-container {
    background: #f64231;
    border-radius: 50%;
    box-shadow:  0 5px 12px rgba(0,0,0,0.23);
    bottom: -25px;
    font-size: 24px;
    margin: -20px 0 0 -20px;
    overflow: hidden;
    padding: 18px;
    position: absolute;
    right: 25px;
    height: 24px;
    text-align: center;
    width: 24px;
}

.gallary-view .camera-container,
.images-list .camera-container {
    backface-visibility: hidden;
    bottom: 75px;
    position: fixed;
    right: calc(25% + 50px);
    z-index: 10;
}

.gallary-view .camera-container {
    bottom: initial;
    backface-visibility: hidden;
    height: 60px;
    left: 10%;
    padding: 0;
    position: absolute;
    top: 240px;  
    width: 60px;
}

.gallary-view .camera-container i,
.images-list .camera-container i,
.gallery-options .camera-container i {
    color: #fff;
}

.gallary-view .camera-container i {
    padding: 18px; 
}

.images-list .camera-container.disabled-item {
    display: none;
}

.gallery-options .checkbox-parent .ba-checkbox {
    display: block;
}

.gallery-options .checkbox-parent .option-label {
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    margin: 0 0 0 30px;
}

.gallery-options .checkbox-parent input {
    cursor: pointer;
    float: left;
    opacity: 0;
    position: absolute;
    z-index: 1;
}

.ba-options-group .weight_radio label span,
.ba-options-group .ba-checkbox span,
.gallery-options .checkbox-parent span {
    border-radius: 3px; 
    border: 2px solid #757575;
    box-sizing: border-box;
    display: block;
    height: 20px;
    position: absolute;
    width: 20px;
}

.ba-options-group .ba-checkbox input[type="checkbox"]:checked + span,
.gallery-options .checkbox-parent input:checked + span {
    border-color: #4285f4;
    background: #4285f4;
}

.ba-options-group .ba-checkbox input[type="checkbox"]:checked + span:after,
.gallery-options .checkbox-parent input:checked + span:after {
    color: #fff;
    content: '\f26b';
    display: block;
    font: normal normal normal 16px/16px 'Material-Design-Iconic-Font';
    text-align: center;
}

.ba-options-group .weight_radio input[type="radio"]:checked + span:before,
.ba-options-group .ba-checkbox input[type="checkbox"]:checked + span:before,
.gallery-options .checkbox-parent input:checked + span:before {
    -webkit-animation: click-wave 0.65s;
    animation: click-wave 0.65s;
    background: #1da6f4;
    border-radius: 50%; 
    content: '';
    display: block;
    position: absolute;
    z-index: 100;
}

@keyframes click-wave {
    0% { left: -1px; top: -1px;width: 19px; height: 19px; opacity: 0.35;}
    100% { width: 50px; height: 50px; left: -17px; top: -17px; opacity: 0;}
}

@-webkit-keyframes click-wave {
    0% { left: -1px; top: -1px;width: 19px; height: 19px; opacity: 0.35;}
    100% { width: 50px; height: 50px; left: -17px; top: -17px; opacity: 0;}
}

.checkbox-parent > div {
    position: relative;
    margin-top: 30px;
}

/* Visible Toolbar */
ul.visible-select {
    display: block;
}

.gallery-options .option-label {
    display: block;
    font-size: 13px;
    margin-top: 30px;
}

.gallery-options .options > .option-label {
    color: #999;
}

.gallery-options .option-label:first-child {
    margin-top: 0;
}

.gallery-options input[type="text"] {
    background: transparent;
    font-weight: 500;
    margin: 0;    
    padding: 0;
}

.gallery-options > img {
    display: block;
    margin: 50% auto;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.img-thumbnail > img {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

/* Upload Type */
.upload-type span ,
.upload-type {
    display: none;
}

.visible-upload-type {
    height: 60px;
    margin: -47px 0px;
    position: fixed;
    width: 60px;
    z-index: 1;
}

.visible-upload-type .upload-type {
    display: block;
    z-index: 9;
}

.upload-type i {
    color: #fff;
}

.upload-type.folder:hover i:after,
.upload-type.folder {
    background: #ff8f00;
}

@-webkit-keyframes type-floder {
    80% { transform: translate(-23px, -100px); -wbkit-transform: translate(-23px, -100px); }
    100% { transform: translate(-13px, -90px); -wbkit-transform: translate(-13px, -90px); }
}

@keyframes type-floder {
    80% { transform: translate(-23px, -100px); -wbkit-transform: translate(-23px, -100px); }
    100% { transform: translate(-13px, -90px); -wbkit-transform: translate(-13px, -90px); }
}

.visible-upload-type .upload-type.folder {
    -webkit-animation: type-floder .2s both;
    animation: type-floder .2s both;
    animation-delay: .07s;
    -webkit-animation-delay: .07s;
} 

@-webkit-keyframes type-folder-out {
    0% { transform: translate(-13px, -90px); -wbkit-transform: translate(-13px, -90px); }
    20% { transform: translate(-23px, -100px); -wbkit-transform: translate(-23px, -100px); }
    100% { transform: translate(0, 0); -wbkit-transform: translate(0, 0); opacity: 0;}
}

@keyframes type-folder-out {
    0% { transform: translate(-13px, -90px); -wbkit-transform: translate(-13px, -90px); }
    20% { transform: translate(-23px, -100px); -wbkit-transform: translate(-23px, -100px); }
    100% { transform: translate(0, 0); -wbkit-transform: translate(0, 0); opacity: 0;}
}

.visible-upload-type.upload-type-out .upload-type.folder {
    -webkit-animation: type-folder-out .2s both;
    animation: type-folder-out .2s both;
    animation-delay: .07s;
    -webkit-animation-delay: .07s;
}

.upload-type.desktop:hover i:after,
.upload-type.desktop {
    background: #418cff;
}

@-webkit-keyframes type-desktop {
    80% { transform: translate(-105px, -25px); -wbkit-transform: translate(-105px, -25px); }
    100% { transform: translate(-95px, -15px); -wbkit-transform: translate(-95px, -15px); }
}

@keyframes type-desktop {
    80% { transform: translate(-105px, -25px); -wbkit-transform: translate(-105px, -25px); }
    100% { transform: translate(-95px, -15px); -wbkit-transform: translate(-95px, -15px); }
}

.visible-upload-type .upload-type.desktop {
    -webkit-animation: type-desktop .2s both;
    animation: type-desktop .2s both;
} 

@-webkit-keyframes type-desktop-out {
    0% { transform: translate(-95px, -15px); -wbkit-transform: translate(-95px, -15px); }
    20% { transform: translate(-105px, -25px); -wbkit-transform: translate(-105px, -25px); }
    100% { transform: translate(0, 0); -wbkit-transform: translate(0, 0); opacity: 0;}
}

@keyframes type-desktop-out {
    0% { transform: translate(-95px, -15px); -wbkit-transform: translate(-95px, -15px); }
    20% { transform: translate(-105px, -25px); -wbkit-transform: translate(-105px, -25px); }
    100% { transform: translate(0, 0); -wbkit-transform: translate(0, 0); opacity: 0;}
}

.visible-upload-type.upload-type-out .upload-type.desktop {
    -webkit-animation: type-desktop-out .2s both;
    animation: type-desktop-out .2s both;
}

/*
/* Title Bar
*/

#filter-bar,
.title-bar {
    background: #1da6f4;
    padding: 25px;
}

.title-bar {
    position: relative;
}

#filter-bar > input[type="text"],
.title-bar input[type="text"] {
    background: #1c9ee9;
    font-size: 16px;
}

.title-bar .ba-toolbar-icons {
    display: inline-block;
    float: right;
}

#remove-watermark,
#watermark-select,
.title-bar .ba-toolbar-icons label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    padding: 5px 13px 5px 5px ;
}

.gallary-view #filter-bar > div {
    border-radius: 3px; 
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}

.gallary-view #filter-bar > div:hover,
.title-bar .ba-toolbar-icons label:hover {
    background: #1887cf;
}

#filter-bar > input[type="text"],
.title-bar input[type="text"] {
    border: none;
    color: #fff;
    height: 50px;
    margin: 0;
    padding: 0 25px;
    width: 75%;
}

#filter-bar > input[type="text"]:focus,
.title-bar input[type="text"]:focus {
    background: #1887cf; 
}

.title-bar input[type="text"]:focus:invalid:focus {
    box-shadow: none;
}

.title-bar input[type="text"]::-webkit-input-placeholder {
    color: #fff;
    opacity: .5;
}

.title-bar input[type="text"]::-moz-placeholder {
    color: #fff;
    opacity: .5;
}

.help-context-menu span:not(:first-child) {
    padding: 0;
}

.love-gallery,
.help-context-menu a {
    color: #3f3f3f;
    display: block;
    padding: 17px;
}

.love-gallery {
    padding: 17px !important; 
}

/*
/*  Gallery Manager
*/

/* Filter Bar */
.gallary-view #filter-bar {
    box-sizing: border-box;
    height: 250px !important;
    padding-top: 40px;
}

.pagination-limit .ba-custom-select ul.visible-select,
.gallary-view .ba-custom-select ul.visible-select {
    -webkit-animation: context-menu .3s both;
    animation: context-menu .3s both;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-top: none !important; 
    margin-top: 50px;
    top: 0;
}

.pagination-limit input {
    max-width: 65px;
}

.gallary-view .sorting-direction input {
    max-width: 210px;
}

.gallary-view .sorting-table input {
    max-width: 110px;
}

.gallary-view .filter-state input {
    max-width: 165px;
}

.gallary-view .sorting-direction ul,
.pagination-limit ul {
    left: 100%;
}

.pagination-limit ul {
    overflow-y: auto !important; 
}

.gallary-view .ba-custom-select ul {
    overflow-y: auto;
}

.images-list .pagination-limit .ba-custom-select input,
.uploader-nav .pagination-limit .ba-custom-select input,
.gallary-view .ba-custom-select input {
    background: transparent;
    border-radius: 3px; 
    border-radius: 3px; 
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    height: 50px;
    margin: 0;
    overflow: hidden;
    padding: 0px 30px 0px 10px;
    position: inherit;
    text-overflow: ellipsis;
    text-transform: uppercase;
    z-index: 5;
}

.images-list .pagination-limit .ba-custom-select input {
    color: #757575;
}

#filter-bar .ba-custom-select:hover input {
    background: #1887cf;
}

#filter-bar .ba-custom-select input {
    box-sizing: border-box;
    transition: all .4s 0s ease-in-out;
    -webkit-transition: all .2s 0s ease-in-out;
}

.gallary-view .ba-custom-select input:focus {
    box-shadow: none;
}

.gallary-view .ba-custom-select .zmdi-caret-down {
    color: #fff;
    right: 10px;
    top: 15px;
    z-index: 5;
}

.gallary-view {
    min-height: calc(100vh - 150px) !important;
}

#filter-bar > input[type="text"] {
    width: 50%;
}

#filter-bar > input[type="text"]::-webkit-input-placeholder {
    color: #fff;
    opacity: .5;
}

#filter-bar > input[type="text"]::-moz-placeholder {
    color: #fff;
    opacity: .5;
}

#filter_search + i {
    color: #fff;
    font-size: 24px;
    left: 45px;
    opacity: .5;
    position: absolute;
    top: 55px;
}

#filter-bar > div {
    display: inline-block;
    float: right;
}

#filter-bar > input[type="text"] {
    padding-left: 80px;
}

/* Main Table */
.gallary-view {
    background: #f5f5f5;
}

.main-table {
    background: #fff;
    box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.06);
    margin: -80px auto 0;
    width: 1170px;
}

.main-table .table-header {
    border-bottom: 1px solid #f3f3f3;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    padding: 20px 25px;
    position: relative;
}

.main-table .table-header > div {
    box-sizing: border-box;
    display: inline-block;
    float: left;
    font-weight: 500;
    position: relative;
    text-align: left;
}

.main-table .table-header > div:last-child {
    float: right;
    margin-right: 50px;
}

.main-table .table-header + table tr td.select-td,
.main-table .table-header + table tr td.status-td,
.main-table .table-header > div:first-child,
.main-table .table-header > div:first-child + div {
    width: 5%;
}

.main-table .table-header + table tr td.status-td,
.main-table .table-header > div:first-child + div {
    text-align: center;
    width: 10%;
}

.main-table .table-header + table {
    display: block;
    min-height: 70px;
}

.main-table .table-header + table tr td {
    vertical-align: middle;
}

.main-table .table-header + table tr td:last-child {
    text-align: right;
    padding-right: 75px;
}

.main-table .table-striped tbody > tr > td,
.main-table .table-striped tbody > tr > th {
    background: transparent;
    border: none;
}

#about-dialog #form-about .about-element:not(:last-child),
.images-list table.ba-items-list tbody tr:not(:last-child)> td,
.main-table .table-striped tbody > tr:not(:last-child) > td,
.main-table .table-striped tbody > tr:not(:last-child) > th {
    border-bottom: 1px solid #f3f3f3;
}

table.ba-items-list tbody tr.ui-sortable-helper td {
    border: none;
}

.main-table .table-header + table tr td.select-td i{
    left: 35px;
    position: absolute;
    top: 25px;
    margin: 0;
}

.main-table .table-header + table tr td.status-td {
    padding: 0;
    text-align: center;
}

/* Pagination */
.pagination {
    margin: 30px 0 50px;
    text-align: center;
}

.pagination ul {
    box-shadow: none;
}

.pagination ul > li > a,
.pagination ul > li > span {
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 2em;
    padding: 4px 12px;
}

.pagination ul > .active > a,
.pagination ul > .active > span,
.pagination ul > .active > a:hover,
.pagination ul > .active > span:hover {
    background: #f64231;
    border-radius: 3px;
    color: #fff;
}

.images-list .pagination a,
.ba-work-area .pagination  a,
.pagination-toolbar a {
    color: #757575;
}

.pagination ul > li:not(.active) > a:hover,
.pagination ul > li:not(.active) > span:hover,
.pagination ul > .disabled > span,
.pagination ul > .disabled > a,
.pagination ul > .disabled > a:hover,
.pagination ul > .disabled > a:focus a {
    color: #757575;
    opacity: .5;
}

.pagination ul > li {
    display: inline-block;
}

.images-list .pagination,
.ba-work-area .pagination {
    margin: 0;
}

.images-list .pagination ul,
.ba-work-area .pagination ul {
    margin: 25px auto; 
}

.images-list .pagination ul li a,
.ba-work-area .pagination ul li a {
    background: none;
}

.images-list .pagination ul li.active a,
.ba-work-area .pagination ul li.active a {
    background: #e6e6e6;
    color: #757575;
}