a {
    text-decoration: none;
}

*, .btn.m-btn--custom, .m-subheader .m-subheader__title, .m-portlet .m-portlet__head .m-portlet__head-caption .m-portlet__head-title .m-portlet__head-text, .form-control {
    font-family: "Segoe UI", Arial, Sans-Serif;
    font-weight: 400;
}

.droppable[data-type="main_img"] span.remove-icon {
    cursor: pointer;
    position: absolute;
    left: 58px;
    top: 43px;

    color: #fff;
}

.droppable[data-type="main_img"] span.remove-icon i {
    font-size: 1.5rem;
}

.category-selection .add {
    color: #00c5dc;
    position: absolute;
    top: 0;
    left: 0;
}

.category-selection {
    position: relative;
}

/*.datetimepicker{*/
/*width: 100%;*/
/*padding: .85rem 1.15rem;*/
/*}*/

.dtpicker, .dpicker {
    direction: ltr;
    text-align: right;
}

.m-tooltip.m-tooltip--skin-dark .tooltip-inner {
    color: #cccccc;
}

.modal-lg {
    max-width: 90% !important;
}

.dropzone {
    min-height: 140px;
    border: 1px dashed #1ab394;
    background: white;
    padding: 20px 20px;
}

.dropzone .dz-message {
    font-size: 16px;
}

.dz-hidden-input {
    right: 0px !important;
}

.postGallery .item {
    display: inline-block;
    position: relative;
}

.postGallery .remove {
    display: inline-block;
    /* line-height: 1; */
    /* margin-left: 2px; */
    background: #dd1f26;
    color: #FFF;
    width: 24px;
    height: 24px;
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 3;
    line-height: 24px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    text-align: center;
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}

.postGallery .remove {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    cursor: pointer;
}

.postGallery .item:hover .remove {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    filter: alpha(opacity=100);
}

#draggingContainer .file {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

#draggingContainer {
    width: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.m-btn--icon > span > span {
    font-size: 13px;
}

table input.sort {
    width: 75px;
    line-height: 22px;
}

table tbody tr {
    color: #000000;
}

table .toolbar {
    margin-right: 20px;
    visibility: hidden;
}

table .toolbar a {
    margin-left: 6px;
}

table tbody tr:hover > td .toolbar {
    visibility: visible;
}

.table > tbody > tr.featured {
    background-color: rgba(248, 234, 89, 0.25) !important;
}

.table.border {
    border: 1px solid #f3f3f3 !important;
}

.table th * {
    color: #575962;
    font-weight: 500;
}

/*---------------*/
table thead .sorting, table thead .sorting_asc, table thead .sorting_asc_disabled, table thead .sorting_desc, table thead .sorting_desc_disabled {
    cursor: pointer;
    position: relative;
}

table thead .sorting:after, table thead .sorting:before, table thead .sorting_asc:after, table thead .sorting_asc:before, table thead .sorting_asc_disabled:after, table thead .sorting_asc_disabled:before, table thead .sorting_desc:after, table thead .sorting_desc:before, table thead .sorting_desc_disabled:after, table thead .sorting_desc_disabled:before {
    position: absolute;
    bottom: .9em;
    display: block;
    opacity: .3;
}

table thead .sorting:before, table thead .sorting_asc:before, table thead .sorting_asc_disabled:before, table thead .sorting_desc:before, table thead .sorting_desc_disabled:before {
    left: 1em;
    content: "\2191";
}

table thead .sorting:after, table thead .sorting_asc:after, table thead .sorting_asc_disabled:after, table thead .sorting_desc:after, table thead .sorting_desc_disabled:after {
    left: .5em;
    content: "\2193";
}

table thead .sorting_asc:before, table thead .sorting_desc:after {
    opacity: 1;
}

.tooltip-inner {
    max-width: 1000px;
}

.tooltip-inner span {
    white-space: nowrap !important;
    display: block;
    direction: ltr;
}

.m-pager-info .btn.dropdown-toggle {
    border-radius: 20px !important;
    height: 2.25rem;
    padding: .45rem 1rem;
    border: 0 !important;
    color: #000;
    background: #ebe9f2;
}

.m-pager-info .bootstrap-select {
    margin-right: 10px;
    width: 70px !important;
}

.m-pager-info .bootstrap-select .dropdown-toggle .filter-option,
.m-pager-info .bootstrap-select > .dropdown-toggle:after {
    color: #383838;
}

.custom-pagination {
    margin: 10px 0 0 0;
    padding: 0;
    display: inline-block
}

.custom-pagination > li {
    padding: 0;
    margin-right: 5px;
    display: inline-block
}

.custom-pagination > li:last-child {
    margin-right: 0
}

.custom-pagination > li > .m-datatable__pager-link {
    cursor: pointer;
    display: inline-block;
    height: 2.25rem;
    min-width: 2.25rem;
    vertical-align: middle;
    padding: .5rem;
    border-radius: 50%;
    text-align: center;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 400
}

.custom-pagination > li > .m-datatable__pager-link > i {
    font-size: 1rem;
    text-align: center;
    display: inline-block
}

.custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--more-next,
.custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--more-prev {
    font-weight: 600
}

.custom-pagination > li > .m-pager-input {
    height: 2.25rem;
    width: 3.5rem;
    text-align: center;
    border-radius: 15px !important
}

.custom-pagination > li > .m-datatable__pager-link {
    color: #898b96
}

.custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--first, .custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--last, .custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--next, .custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--prev {
    background: #ebe9f2
}

.custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--first:hover, .custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--last:hover, .custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--next:hover, .custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--prev:hover {
    background: #716aca;
    color: #fff
}

.custom-pagination > li > .m-datatable__pager-link:hover {
    background: #716aca;
    color: #fff
}

.custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--active {
    background: #716aca;
    color: #fff
}

.custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--disabled, .custom-pagination > li > .m-datatable__pager-link.m-datatable__pager-link--disabled:hover {
    color: #898b96;
    background: #ebe9f2;
    opacity: .3
}

.custom-pagination > li > .m-pager-input {
    background: #ebe9f2;
    border-color: #ebe9f2
}

.custom-pagination > li > .m-pager-input:focus {
    background: #716aca;
    border-color: #716aca
}

.__upload {
    cursor: pointer;
}

table .item.item[data-status="0"] * {
    color: #9e9e9e;
}

table.sortable tbody tr:hover > td:first-child {
    background: url(../images/sort_handler.png) no-repeat right;
    cursor: move;
}

.pop-up-sw {
    width: 600px;
}

.media-upload {
    position: relative;
}

.media-upload .m-checkbox {
    position: absolute;
    left: 5px;
    bottom: 5px;
    margin: 0;
    /*color:#fff;*/
    padding: 6px 26px 2px 10px;
    /*background-color:#1ab394;*/
    /*border-radius:4px;*/
}

.media-upload .m-checkbox span {
    margin-top: 6px;
}

/*gallery*/
.gallery-env {
    margin-left: -15px;
    margin-right: -15px;
}

/*.gallery-env:before, .gallery-env:after{*/
/*content:" "; !* 1 *!*/
/*display:table; !* 2 *!*/
/*}*/
.gallery-env:after {
    clear: both;
}

.gallery-env article.album {
    border: 1px solid #ebebeb;
    margin-bottom: 30px;
    -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.04);
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.04);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.04);
    -webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 3px;
    -moz-background-clip: padding;
    border-radius: 3px;
    background-clip: padding-box;
    background-color: #fff;
}

.gallery-env article.album header {
    position: relative;
}

.gallery-env .item .handler {
    display: none;
}

.gallery-env .item.draggable:hover .handler {
    display: block;
}

.gallery-env .item.draggable .handler {
    display: none;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    font-size: 16px;
    color: #ffffff;
    padding: 1px 6px;
    background-color: rgba(0, 0, 0, 0.28);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.gallery-env article.album header img.cover {
    line-height: 1;
    margin: 0;
    width: 100%;
    display: block;
    max-width: 100%;
    height: auto;
    -webkit-border-radius: 3px 3px 0 0;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 3px 3px 0 0;
    -moz-background-clip: padding;
    border-radius: 3px 3px 0 0;
    background-clip: padding-box;
}

.gallery-env article.album header .album-options {
    position: absolute;
    display: block;
    right: 10px;
    top: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 7px;
    font-size: 11px;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 3px;
    -moz-background-clip: padding;
    border-radius: 3px;
    background-clip: padding-box;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.gallery-env article.album header:hover .album-options {
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    filter: alpha(opacity=100);
}

.gallery-env article.album .album-info {
    padding: 20px;
}

.gallery-env article.album .album-info h3 a {
    font-size: 18px;
    margin: 0;
    height: 45px;
    overflow: hidden;
    display: block;
    color: #337ab7;
    text-decoration: none;
    font-weight: 600;
}

.gallery-env article.album .album-info p {
    margin: 0;
    margin-top: 10px;
    color: #80858e;
    height: 38px;
    overflow: hidden;
}

.gallery-env article.album footer {
    border-top: 1px solid #f0f0f0;
}

.gallery-env article.album footer:before, .gallery-env article.album footer:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.gallery-env article.album footer:after {
    clear: both;
}

.gallery-env article.album footer .album-images-count, .gallery-env article.album footer .album-options {
    padding: 12px 15px;
    float: left;
    color: #8d929a;
}

.gallery-env article.album footer .album-images-count, .gallery-env article.album footer .album-options > .m-dropdown > a {
    color: #8d929a;
}

.gallery-env article.album footer .album-images-count a, .gallery-env article.album footer .album-options > a, .gallery-env article.album footer .album-options > .btn-group > a {
    color: #8d929a;
    display: inline-block;
    -webkit-border-radius: 3px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 3px;
    -moz-background-clip: padding;
    border-radius: 3px;
    background-clip: padding-box;
}

.gallery-env article.album footer .album-options {
    float: right;
    padding: 7px 10px;
}

.gallery-env article.album footer .album-options > a, .gallery-env article.album footer .album-options > .btn-group > a {
    padding: 4px 5px;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.gallery-env article.album footer .album-options > a:hover, .gallery-env article.album footer .album-options > .btn-group a:hover {
    background: #f5f5f5;
    color: #43464b;
}

.gallery-env article.image-thumb {
    position: relative;
    margin-bottom: 20px;
}

.gallery-env article.image-thumb .image {
    position: relative;
    display: block;
}

.gallery-env article.image-thumb .image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 3px;
    width: 100%;
}

.gallery-env article.image-thumb .image-options {
    position: absolute;
    top: -10px;
    right: 8px;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transform: scale(0,);
    -ms-transform: scale(0,);
    transform: scale(0,);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    -o-transform-origin: 50% 0%;
    -ms-transform-origin: 50% 0%;
    -webkit-transform-origin: 50% 0%;
    -moz-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.gallery-env article.image-thumb .image-options a {
    display: inline-block;
    line-height: 1;
    margin-left: 2px;
    background: #737881;
    color: #FFF;
    width: 24px;
    height: 24px;
    line-height: 24px;
    -webkit-border-radius: 12px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 12px;
    -moz-background-clip: padding;
    border-radius: 12px;
    background-clip: padding-box;
    text-align: center;
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}

.gallery-env article.image-thumb .image-options a.delete {
    background: #dd1f26;
}

.gallery-env article.image-thumb .image-options a.cover {
    background: #1c84c6;
}

.gallery-env article.image-thumb .image-options a.fast-edit {
    background: #1c84c6;
}

.gallery-env article.image-thumb:hover .image-options {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform: scale(1,);
    -ms-transform: scale(1,);
    transform: scale(1,);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    filter: alpha(opacity=100);
}

.gallery-env div[data-tag] {
    -moz-transition: opacity 350ms ease-in-out;
    -o-transition: opacity 350ms ease-in-out;
    -webkit-transition: opacity 350ms ease-in-out;
    transition: opacity 350ms ease-in-out;
}

.gallery-env div[data-tag].not-in-filter {
    -webkit-opacity: 0.3;
    -moz-opacity: 0.3;
    opacity: 0.3;
    filter: alpha(opacity=30);
}

.gallery-env div[data-tag].no-animation {
    -moz-transition: none;
    -o-transition: none;
    -webkit-transition: none;
    transition: none;
}

.gallery-env .image-categories {
    margin-bottom: 20px;
    background: #fafafb;
    position: relative;
    margin-top: -17px;
    padding: 10px;
}

.gallery-env .image-categories span {
    color: #80858e;
}

.gallery-env .image-categories a {
    display: inline-block;
    margin: 0 5px;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.gallery-env .image-categories a.active {
    font-weight: bold;
    color: #4f5259;
}

.gallery-env .album:hover .images {
    opacity: 1;
}

.gallery-env .album .images {
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    -ms-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    transition: opacity 0.4s;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 1% 1% 1% 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.56);
}

.gallery-env .album .images img {
    width: 19%;
    margin-left: 1%;
    float: right;
}

.gallery-env .item .album-images-count i.status, table .item i.status {
    color: #1ab394;
}

table .item.item[data-rss="1"] i.rss {
    color: #1ab394;
}

table .item.item[data-rss="0"] i.rss {
    color: #9e9e9e;
}

.gallery-env .item[data-status="0"] .album-info h3 a, .gallery-env .item[data-status="0"] .album-images-count i.status, table .item.item[data-status="0"] * {
    color: #9e9e9e;
}

.gallery-env .item[data-status="0"] img {
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}

.gallery-env .sortable-grid {
    margin: 0;
    padding: 0;
}

.gallery-env .item .pinned {
    display: none;
    color: #ffc80c;
    font-size: 20px;
    z-index: 9;
}

.gallery-env .item[data-pinned="1"] i.pinned {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffe200;
    display: block;
}

.gallery-env .item .dropdown-menu > li > a {
    position: relative;
    padding-right: 25px;
}

.gallery-env .item .dropdown-menu > li > a i {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-env ul {
    list-style: none outside none;
    margin-left: 0;
    width: 100%;
}

#media_items.playlist .item .details, #media_items.album .item .details {
    position: absolute;
    width: 100%;
    bottom: 0;
    right: 0;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.70);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#media_items.playlist .item .details .title, #media_items.album .item .details .title {
    color: #ffffff;
    font-size: 16px;
}

.album-options i.fa.fa-ban {
    font-weight: 900;
}

.album-options i {
    font-size: 1.1rem;
    font-weight: 100;
}

.gallery-env article.album footer .album-options > a.pin {
    color: #ffe200 !important;
}

.select2-container .select2-search--inline {
    float: right;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search__field,
.select2-container--default .select2-search--dropdown .select2-search__field {
    text-align: right;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    float: left;
}

.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item .m-menu__submenu .m-menu__item.m-menu__item--active > .m-menu__heading .m-menu__link-text, .m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item .m-menu__submenu .m-menu__item.m-menu__item--active > .m-menu__link .m-menu__link-text,
.m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--open > .m-menu__heading .m-menu__link-text, .m-aside-menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--open > .m-menu__link .m-menu__link-text {
    color: #FFFFFF;
}

.ltr {
    direction: ltr;
    text-align: right;
}


.progress.m-progress--sm .progress-bar {
    height: 100%;
}

body.loading .loader {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.14);
    z-index: 95555;
}

body.loading .loader .m-loader {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}

body .loader {
    display: none;
}

.m-loader:before {
    width: 4rem;
    height: 4rem;
    margin-top: -2rem;
    margin-left: -3rem;
    border-top-width: 3px;
    border-right-width: 3px;
}