body[data-layout-mode="horizontal"] .navbar-custom {
    height: 60px;
}

.topnav {
    margin-top: 60px;
    /* height: 50px !important; */
}

body[data-layout-mode="horizontal"] .content-page {
    padding: calc(60px + 51px) 5px 65px 5px;
}
.card-body {
    padding: 1rem 0.5rem;
}
.card {
    margin-bottom: 5px !important;
}
.icon-switch-menu {
    position: absolute;
    right: 0px;
    margin-top: 19px;
}
#button-alway-show {
    position: fixed;
    bottom: 0px;
    z-index: 1030;
    width: 100%;
    background: #F0F0F0;
    padding-bottom: 10px;
    padding-top: 5px;
}
input.form-control, select.form-control, button#baocao, button#export_excel, button.btn-toathuoccu, .btn-list-send-bhyt button {
    height: calc(1.5em + .5rem + 7px) !important;
    padding: .15rem .5rem;
}
.form-control.selectize-control {
    height: calc(1.5em + .5rem + 7px) !important;
}
.header .card h3{
    font-size: 1.3rem;
}
@media (min-width:992px) {
    body[data-layout-mode=horizontal] .modal-lg {
        max-width:100% !important;
    }
    /* body[data-layout-mode=horizontal] .content-page {
        padding:calc(60px + 55px) 5px 65px 5px;
    } */
}
table tbody .bg-primary {
    background-color: #f7f8f9 !important;
}
.selectize-dropdown-content .option.active {
    background-color: #f1f0f0 !important;
}

.height-custom, input.height-custom {
    height: calc(1.5em + .5rem + 5px) !important;
}
.title-categories {
    font-size: 16px !important;
}
.form-group {
    margin-bottom: 0.3rem;
}
.item-same-selectize > div {
    padding: 1px 8px;
        padding-right: 16px;
    background: #edeff1;
    color: #343a40;
    border-radius: 3px;
    position: relative;
    font-size: 14px !important;
}
.item-same-selectize .remove {
    z-index: 1;
    position: absolute;
    top: -2px;
    right: 0;
    bottom: 0;
    width: 17px;
    text-align: center;
    font-weight: 700;
    /* color: inherit; */
    text-decoration: none;
    vertical-align: middle;
    display: inline-block;
    padding: 1px 0 0 0;
    border-left: 1px solid transparent;
    -webkit-border-radius: 0 2px 2px 0;
    -moz-border-radius: 0 2px 2px 0;
    border-radius: 0 2px 2px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 19px !important;
    border-left: 1px solid aliceblue;
    color: red;
}
.disable-click {
    pointer-events: none
}
.tags .form-control.selectize-control {
    height: 100px !important;
}

/* input switch */
.m_switch {
    z-index: 0;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    width: 43px;
    height: 22px;
    text-align: center;
    min-width: 43px;
    margin-left: 20px;
    margin-top: 7px;
}
.m_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.m_switch .m_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ddd;
    transition: .4s;
    outline: none;
}
.m_switch .m_round {
    border-radius: 34px;
}
.m_switch input:checked + .m_slider {
    background-color: #4285f4;
}
.m_switch .m_slider::before {
    position: absolute;                     
    content: "";
    height: 20px;
    width: 20px;
    left: 1px;
    bottom: 1px;
    background-color: #fff;
    transition: .4s;
}
.m_switch .m_round::before {
    border-radius: 50%;
}
.m_switch input:checked + .m_slider::before {
    transform: translateX(21px);
}
/* end input switch */
/* list item media */
.media-container {
    width: 71%;
    background-color: #f0f0f0;
}
.media-info {
    width: 29%;
    height: 100%;
    z-index: 0;
    background-color: #0c0c0c;
    position: relative;
}
.media-body {
    height: 525px;
    overflow: scroll;
}
.list-item-media {
    display: flex;
    flex-flow: row wrap;
    padding: 0;
}
.item-media {
    width: 150px;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 5px;
    margin: 3px;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.m_selected {
    border-color: #eb5757 !important;
}
.m_ui-contextmenu {
    width: 100%;
    height: 100%;
}
.m_item-thumb {
    height: 78.1667px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
}
.m_item-thumb img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: contain;
}
.m_item-title {
    color: #333;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 38px;
    font-family: Arial,sans-serif;
}
.m_info-container {
    font-family: Arial,sans-serif;
    font-size: 14px;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    color: #666;
}
.m_info-body {
    width: 100%;
    height: calc(100% - 50px);
}
.m_info-preview {
    margin: 10px 10px 15px;
    background-color: hsla(0,0%,96.1%,.1);
}
.m_preview-thumb {
    overflow: hidden;
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.m_preview-thumb img {
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
}
.m_preview-info {
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    text-transform: uppercase;
}
.m__info-item {
    flex: auto;
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.m_info-function {
    margin: 0 10px 10px;
    display: flex;
    align-items: center;
}
.m_info-footer {
    width: 100%;
    box-shadow: 0 -2px 4px hsla(0,0%,58.8%,.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.m_info-close {
    width: 50px;
    height: 50px;
    background: #0c0c0c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    outline: 0;
    position: absolute;
    left: -26px;
    top: 45%;
    cursor: pointer;
    z-index: 0;
}
.m_function-action {
    flex: 1;
    display: flex;
    align-items: center;
}
.m_function-quick-action {
    display: flex;
    align-items: center;
}
.m_notify {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}
.m_notify p {
    font-family: AArial;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: rgb(136, 136, 136);
}
.media-footer .pagination-container {
    margin-right: 24px;
}
.m_function-action .btn {
    margin-left: 10px;
}
.m_function-action .btn:first-child {
    margin-left: 0;
}
.btn-m-info {
    background-color: transparent;
    height: 32px;
    border-radius: 50px;
    border: 2px solid #444;
    padding: 0 10px;
    cursor: pointer;
    font-size: 14px;
    white-space: break-spaces;
    overflow: hidden;
    text-overflow: ellipsis;
    outline: none;
    color: #d3d3d3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-m-info:hover {
    border: 2px solid #777;
    color: #d3d3d3;
}
/* end list item media */

/* cropper image */
/* .img-container {
    max-height: 686px; 
    max-width: 1116px;
} */
/* end cropper image */
body[data-layout-mode=horizontal] .content-page {
    padding:70px 5px 65px 5px;
}
@media (min-width:992px) {
    body[data-layout-mode=horizontal] .content-page {
        padding:calc(60px + 55px) 5px 65px 5px;
    }
}
@media (min-width:1367px) {
    body[data-layout-mode=horizontal] .content-page {
        padding:calc(60px + 55px) 7px 65px 7px;
    }
}
.avatar-post {
    width: 70px;
    height: 70px;
    background-color: #f2f2f2;
    border: 1px solid rgba(0, 0, 0, 0.2);
}
.avatar-post:hover {
    background-color: #DCDCDC;
    border: 1px solid rgba(0, 0, 0, 0.2);
}
.avatar-post:focus {
    background-color: #DCDCDC;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.active-menu {
    height: 50px !important;
    box-sizing: border-box !important;
    /* border-bottom: 4px solid #37a2a2 !important; */
    color: #0056c1;
}
.navbar-nav .active-menu .nav-link {
    color: #0056c1;
}
.add-new {
    margin-left: 12px;
    margin-right: 30px;
}
.btn-custom {
    padding-top: 7px;
    padding-bottom: 7px;
}
@media (min-width: 1367px) {
    body[data-layout-mode="horizontal"] .container-fluid {
        max-width: 100% !important;
    }
}
.custom-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: none;
    cursor: pointer;
}
#statistic_Views, #statistic_Likes, #statistic_Shared, #statistic_Comments {
    background-color: #dcdcdc;
}
.custom-box-filter {
    margin-left: 12px;
}
.select-editor {
    width: 300px;
}
.from-time {
    width: 92px;
    margin-top: 6px;
}
.to-time {
    width: 92px;
    margin-top: 6px;
}
#statistic_post, #statistic_post_published {
    background-color: #dcdcdc;
}
.icon-clock .input-group-text {
    height: calc(1.5em + .5rem + 7px) !important;
    padding: .15rem .5rem;

}
.icon-clock {
    cursor: pointer;
}
.border-red, .border-red:focus {
    border: 1px solid red;
}
.checkbox-all .form-check-input{
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.checkbox-all label{
    padding-top: 4px;
    padding-left: 8px;
    font-size: 16px;
}
/* #related_news .post:hover {
    background-color: #e2e6da;
} */

.label-custom {
    width: 155px;
    padding-left: 12px;
    padding-right: 12px;
}
.div-input-custom {
    width: calc(100% - 155px);
    padding-left: 12px;
    padding-right: 12px;
}
.btn-manage-comment {
    width: 70px;
    margin-right: 5px;
}
.custom-label-checkbox {
    margin-top: 2px;
}
/* css for dialog table of contents */
.block-toc {
    background-color: #f7f7f7;
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
}
.toc-content {
    padding: 15px 25px;
}
.toc-title {
    text-transform: uppercase;
    font: 600 16px/30px "Open Sans" !important;
    margin-bottom: 10px;
    color: #333;
}
.block-toc ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}
.toc-level {
    margin-top: 5px;
    line-height: 18px;
}
li.toc-level-1 {
    margin-left: 15px
}
li.toc-level-2 {
    margin-left: 25px
}
li.toc-level-3 {
    margin-left: 35px
}
.toc-level a {
    color: #3575d3;
    font: 400 14px/16px "Roboto-Regular" !important;
}
/* end css for dialog table of contents */

@media screen and (max-width:768px) {
    .label-custom {
        width: 100%;
    }
    .div-input-custom {
        width: 100%;
    }
}
.collection-image {
    width:80px; 
    height:60px;
    object-fit: cover;
}

/* box featured */
.page-box-featured .box-featured {  
    font-size: 28px;
    cursor: pointer;
    color: #343a40;
    background-color: #dcdcdc;
}
.page-box-featured .box-featured:hover {
    color: #343a40;
    background-color: #d5d5db;
}
.page-box-featured #position_1 {
    height: 310px;
}
.page-box-featured #position_2 {
    height: 150px;
}
.page-box-featured #position_3 {
    height: 150px;
    margin-top: 10px;
}
/* end box featured */

/* page-model-featured */
.page-model-featured .list-file .item-file {
    border: 1px solid rgb(236, 236, 236);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 20px;
    padding: 24px 12px;
}
.page-model-featured .item-image {
    width: 80px;
    height: 80px;
    border: 1px dashed  #1791f2;
    border-radius: 4px;
    position: relative;
}

.page-model-featured .item-image .image-manager .icon {
    height: 23px;
    text-align: center;
    cursor: pointer;
    margin-top: 28px;
}

.page-model-featured .item-image .image-manager .icon .item-icon {
    width: 23px;
    height: 23px;
    color: #1791f2;
    box-sizing: content-box;
    display: inline-block;
    line-height: 0;
    fill: currentColor;
    vertical-align: baseline;
}

.page-model-featured .item-image .image-manager .icon .item-icon svg {
    width: 100%;
    height: 100%;
    color: #1791f2;
}

.page-model-featured .item-image .image-manager .image .img {
    max-width: 80px;
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.page-model-featured .item-image .image-manager .img-tools {
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 24px;
    background-color: rgba(0,0,0,.5);
    border-radius: 0 0 2px 2px;
    -webkit-box-align: center;
    text-align: center;
}

.page-model-featured .item-image .image-manager .img-tools .view-image {
    display: inline-block;
    color: #fff;
    cursor: pointer;
    vertical-align: bottom;
}

.page-model-featured .item-image .image-manager .img-tools .view-image i {
    width: 16px;
    height: 16px;
    display: block;
}

.page-model-featured .item-image .image-manager .img-tools .delete-image {
    display: inline-block;
    color: #fff;
    cursor: pointer;
    vertical-align: bottom;
}

.page-model-featured .item-image .image-manager .img-tools .delete-image i {
    width: 16px;
    height: 16px;
    display: block;
}

.page-model-featured .item-image .image-manager .img-tools .decollator {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: hsla(0,0%,100%,.5);
    border-radius: .5px;
    margin-left: 5px;
    margin-right: 5px;
    vertical-align: middle;
}
.page-model-featured .delete-file::after {
    content: url("/static/images_template/free_icon_delete.svg");
    height: 18px;
    width: 18px;
    display: inline-block;
    position: absolute;
    right: -6px;
    top: -6px;
    z-index: 50;
    background-color: #fff;
    cursor: pointer;
}
/* end page-model-featured */

/* page-preview-box-featured */
.page-preview-box-featured iframe {
    width: 100% !important;
    object-fit: cover;
}
.page-preview-box-featured img {
    object-fit: cover;
}
/* end page-preview-box-featured */