.mobile-menu-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.mobile-menu-wrap {
    width: 280px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    background: #f7af00;
    z-index: 9999;
    visibility: hidden;
    transform: translateX(100%);
}

.mobile-menu-wrap.animate {
    transition: all .5s ease;
}

.mobile-menu-wrap .logo {
    border-bottom: 1px #e5a200 solid;
    padding: 10px;
    text-align: center;
    height: 150px;
}

.mobile-menu-wrap .logo img {
    height: 100px;
    width: 100px;
    float: none;
}

.navbar-default .navbar-nav>li>a {
    color: white;
    font-size: 20px;
    border-bottom: 1px solid #064481;
}

.navbar-default .navbar-nav>li:hover a {
    background-color: #063b70;
}

.dropdown-submenu li a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: wheat;
    white-space: nowrap;
}

.dropdown-submenu li:hover a {
    color: white;
}

.dropdown:hover .dropdown-submenu {
    display: block;
    opacity: 1;
    transition: all .5s ease;
    color: white;
}

.navbar-default .navbar-nav>.active>a {
    background: none;
}

.navbar-collapse {
    height: 520px;
}

.mobile-menu-toggle-btn {
    cursor: pointer;
    width: 100%;
    display: none;
    text-align: end;
    z-index: 999;
    position: absolute;
    margin-left: 1px;
}

.mobile-menu-toggle-btn i {
    color: #fff;
    font-size: 25px;
    border: 1px solid;
    border-radius: 7px;
    padding: 3px 10px 3px 10px;
    margin: 1px 1px 1px 1px;
    background-color: #245682;
}

.mobile-menu-toggle-btn i:hover {
    background-color: #428bca;
}

.panel-about-menu .panel-body ul {
    padding-left: 26px;
}

.fb-like {
    top: 3px;
}

div.news_column .socialicon {
    margin: 0px;
}

.margin-bottom-lg {
    margin-bottom: 0px;
}

#background-about .col-md-18 {
    top: -15px;
}

#background-about .col-md-18 h3 a {
    color: #fff;
    position: absolute;
    right: 0px;
    margin-right: 18px;
}

@media ( min-width : 992px) {
    .col-md-24 {
        width: 75%;
    }
}

.panel-three .panel-heading {
    font-size: 20px;
    padding: 12px 0px 5px;
}

.panel-three .panel-body {
    min-height: 240px;
    padding: 0px 5px 10px 5px;
}

.three ul li a {
    font-size: 13px !important;
    font-family: 'Itim', Arial, Helvetica, sans-serif!important;
    white-space: break-spaces;
}

.three ul li {
    margin-bottom: 0px;
}

.three ul li:last-child {
    margin-bottom: 15px;
}

.three ul {
    padding: 0px 0px 30px !important;
}

@media ( min-width : 768px) {
    .panel-three {
        background-position: top;
        background-size: cover;
    }
}

#bg_slider .slider img {
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.owl-item {
    max-height: 460px;
}

@media ( max-width : 1024px) {
    .owl-item {
        max-height: 435px;
    }
}

@media ( max-width : 823px) {
    .owl-item {
        max-height: 304px;
    }
}

@media ( max-width : 812px) {
    .owl-item {
        max-height: 299px;
    }
}

@media ( max-width : 768px) {
    .owl-item {
        max-height: 282px;
    }
}

@media ( max-width : 736px) {
    .owl-item {
        max-height: 416px;
    }
}

@media ( max-width : 731px) {
    .owl-item {
        max-height: 412px;
    }
}

@media ( max-width : 717px) {
    .owl-item {
        max-height: 404px;
    }
}

@media ( max-width : 667px) {
    .owl-item {
        max-height: 374px;
    }
}

@media ( max-width : 640px) {
    .owl-item {
        max-height: 358px;
    }
}

@media ( max-width : 568px) {
    .owl-item {
        max-height: 314px;
    }
}

@media ( max-width : 540px) {
    .owl-item {
        max-height: 299px;
    }
}

@media ( max-width : 414px) {
    .owl-item {
        max-height: 224px;
    }
}

@media ( max-width : 411px) {
    .owl-item {
        max-height: 220px;
    }
}

@media ( max-width : 375px) {
    .owl-item {
        max-height: 200px;
    }
}

@media ( max-width : 360px) {
    .owl-item {
        max-height: 190px;
    }
}

@media ( max-width : 320px) {
    .owl-item {
        max-height: 166px;
    }
}

@media ( max-width : 280px) {
    .owl-item {
        max-height: 144px;
    }
}

.d-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(28rem, 1fr))[auto-fill];
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
}

div.news_column .panel-category .panel-body div:first-child, div.news_column .panel-category .panel-body div:nth-child(2n+1) {
    border-right: 0px dashed #e89500;
}

.d-grid div:first-child, .d-grid div:nth-child(2n+1) {
    border-right: 1px dashed #e89500 !important;
}

div.news_column .panel-category .panel-body div:first-child {
    margin-top: 5px;
}

div.news_column .panel-category .panel-body div:last-child {
    margin-bottom: 0;
    padding-bottom: 0px;
}

div.news_column .panel-category .panel-body div:nth-child(2n+1) {
    padding-right: 0;
}

#background-about img {
    width: 100%;
}

.wcbt {
    background-color: #cccccc;
    border: none;
    border-radius: 3px;
    max-width: 100%;
    padding: 1px;
    padding: 4px;
    line-height: 1.42857143;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    display: inline-block;
    max-width: 100%;
    object-fit: cover;
}

div.news_column .panel-category .panel-heading ul:after {
    background-image: url(../images/background-category1.png);
}

div.news_column .panel-category .panel-heading {
    background-image: url(../images/background-category2.png);
    background-repeat: no-repeat;
    background-origin: content-box;
    background-position: right;
    z-index: -2;
    background-size: contain;
}

.mobile-menu-wrap .menu {
    background-color: #f7af00;
    overflow: auto;
    height: calc(100vh - 160px);
}
#idcomment .margin-bottom-lg {
    margin-bottom: 15px;
}
#footer .bttop {
    position: fixed;
    bottom: 60px;
    right: 25px;
}
.breadcrumbs a:before {
    padding-right: 1px;
}
.breadcrumbs a:after, .show-subs-breadcrumbs:after {
    padding-left: 1px;
}
.metismenu .sidebar-nav {
    background: #f7af00 !important;
    background-image: linear-gradient(to right, #f7af00 4px, #f7af00 4px) !important;
}
.panel.metismenu {
    border: none;
}
.metismenu .sidebar-nav ul ul a {
    background-color: #f7af00 !important;
}
.custom_menu ul.slimmenu {
    background: rgba(236, 244, 255, 1);
    background: -moz-linear-gradient(
        top,
        rgba(236, 244, 255, 1) 0%,
        rgba(255, 255, 255, 1) 10%,
        rgba(255, 255, 255, 1) 24%,
        rgba(242, 247, 255, 1) 50%,
        rgba(255, 255, 255, 1) 75%,
        rgba(255, 255, 255, 1) 90%,
        rgba(236, 244, 255, 1) 100%
    );
    background: -webkit-gradient(
        left top,
        left bottom,
        color-stop(0%, rgba(236, 244, 255, 1)),
        color-stop(10%, rgba(255, 255, 255, 1)),
        color-stop(24%, rgba(255, 255, 255, 1)),
        color-stop(50%, rgba(242, 247, 255, 1)),
        color-stop(75%, rgba(255, 255, 255, 1)),
        color-stop(90%, rgba(255, 255, 255, 1)),
        color-stop(100%, rgba(236, 244, 255, 1))
    );
    background: -webkit-linear-gradient(
        top,
        rgba(236, 244, 255, 1) 0%,
        rgba(255, 255, 255, 1) 10%,
        rgba(255, 255, 255, 1) 24%,
        rgba(242, 247, 255, 1) 50%,
        rgba(255, 255, 255, 1) 75%,
        rgba(255, 255, 255, 1) 90%,
        rgba(236, 244, 255, 1) 100%
    );
    background: -o-linear-gradient(
        top,
        rgba(236, 244, 255, 1) 0%,
        rgba(255, 255, 255, 1) 10%,
        rgba(255, 255, 255, 1) 24%,
        rgba(242, 247, 255, 1) 50%,
        rgba(255, 255, 255, 1) 75%,
        rgba(255, 255, 255, 1) 90%,
        rgba(236, 244, 255, 1) 100%
    );
    background: -ms-linear-gradient(
        top,
        rgba(236, 244, 255, 1) 0%,
        rgba(255, 255, 255, 1) 10%,
        rgba(255, 255, 255, 1) 24%,
        rgba(242, 247, 255, 1) 50%,
        rgba(255, 255, 255, 1) 75%,
        rgba(255, 255, 255, 1) 90%,
        rgba(236, 244, 255, 1) 100%
    );
    background: linear-gradient(
        to bottom,
        rgba(236, 244, 255, 1) 0%,
        rgba(255, 255, 255, 1) 10%,
        rgba(255, 255, 255, 1) 24%,
        rgba(242, 247, 255, 1) 50%,
        rgba(255, 255, 255, 1) 75%,
        rgba(255, 255, 255, 1) 90%,
        rgba(236, 244, 255, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ecf4ff', endColorstr='#ecf4ff', GradientType=0);
    border-radius: 5px;
    margin-bottom: 20px;
}
.custom_menu:before {
    content: "";
    background-image: url("../images/may.png");
    background-repeat: no-repeat;
    width: 100%;
    height: 12px;
    top: -12px;
    left: 10px;
    position: absolute;
}
.custom_menu ul.slimmenu > li > a {
    color: #1a3f5e;
    font-size: 14px;
    padding: 10px 20px;
}
.custom_menu ul.slimmenu li .sub-collapser > i,
.custom_menu ul.slimmenu li a:hover, 
.custom_menu ul.slimmenu li a:focus, 
.custom_menu ul.slimmenu li.current {
    background-color: transparent;
    color: #1a3f5e;
}
#header .logo a {
    display: block;
}
#header .logo a img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
@media (min-width: 768px) {
    .custom_menu ul.slimmenu > li > a {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}
@media (max-width: 992px) {
    #menu_pc,
    .menupc {
        display: none;
    }
    .mobile-menu-toggle-btn {
        display: block;
    }
    .header {
        margin-bottom: 50px;
    }
    .open-menu .mobile-menu-bg {
        display: block;
    }
    .open-menu .mobile-menu-wrap {
        visibility: visible;
        transform: translateX(0px);
    }
    .headerSearch.pc {
        display: none;
    }
    .headerSearch {
        padding: 0;
    }
    #bg_search {
        background: none;
    }
    .mobile-menu-wrap .custom_menu .slimmenu {
        display: block !important;
    }
    .mobile-menu-wrap .custom_menu ul.slimmenu {
        background: transparent;
    }
    .mobile-menu-wrap .custom_menu ul.slimmenu.collapsed li > ul {
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
    }
}

@media ( max-width : 785px) {
    .mobile-menu-wrap .menu-collapser, .open-menu .mobile-menu-wrap .panel-default .panel-heading, .open-menu .mobile-menu-wrap .menu-collapser {
        display: none !important;
    }
    .open-menu .mobile-menu-wrap ul.slimmenu {
        display: block !important;
        margin-top: 0 !important;
        position: static;
        background-color: #f7af00;
    }
    .mobile-menu-wrap ul.slimmenu li a:hover, .mobile-menu-wrap ul.slimmenu li a:focus, .mobile-menu-wrap ul.slimmenu li.current {
        background-color: #ffffff;
        text-decoration: none;
    }
    .mobile-menu-wrap ul.slimmenu>li>a {
        color: #fff;
        font-size: 14px;
        font-weight: 700;
    }
    .mobile-menu-wrap ul.slimmenu li:hover .sub-collapser>i, .mobile-menu-wrap ul.slimmenu li .sub-collapser>i {
        color: #fff;
    }
    ul.slimmenu li a:hover, ul.slimmenu li a:focus, ul.slimmenu li.current {
        background: rgba(244, 244, 244, 1);
        background: -moz-linear-gradient(top, rgba(244, 244, 244, 1) 0%, rgba(221, 221, 221, 1) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(244, 244, 244, 1)), color-stop(100%, rgba(221, 221, 221, 1)));
        background: -webkit-linear-gradient(top, rgba(244, 244, 244, 1) 0%, rgba(221, 221, 221, 1) 100%);
        background: -o-linear-gradient(top, rgba(244, 244, 244, 1) 0%, rgba(221, 221, 221, 1) 100%);
        background: -ms-linear-gradient(top, rgba(244, 244, 244, 1) 0%, rgba(221, 221, 221, 1) 100%);
        background: linear-gradient(to bottom, rgba(244, 244, 244, 1) 0%, rgba(221, 221, 221, 1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#dddddd', GradientType=0);
        text-decoration: none;
        color: #333333;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
        -moz-border-radius-bottomleft: 3px;
        -moz-border-radius-bottomright: 3px;
        -webkit-border-bottom-left-radius: 3px;
        -webkit-border-bottom-right-radius: 3px;
    }
    ul.slimmenu li a:hover, ul.slimmenu li a:focus, ul.slimmenu li.current a {
        color: #333333;
    }
}

@media ( min-width : 599px) {
    .mobile-menu-toggle-btn {
        top: 5px;
    }
}

@media ( max-width : 599px) {
    .mobile-menu-toggle-btn {
        top: -4px;
    }
}

@media ( max-width : 426px) {
    #sologan h2, #sologan p.site_description {
        font-size: 12px;
    }
    #sologan h1, #sologan p.site_name {
        font-size: 17px;
    }
    #bg_slider {
        margin-top: 30px;
    }
    .mobile-menu-toggle-btn i {
        margin: 4px 1px 1px 1px;
    }
}

@media ( max-width : 376px) {
    #bg_slider {
        margin-top: 62px;
    }
    #formsearch {
        top: 25px;
    }
}

@media ( max-width : 321px) {
    #sologan h1, #sologan p.site_name {
        font-size: 14px;
    }
    #sologan h2, #sologan p.site_description {
        font-size: 10px;
    }
    #bg_slider {
        margin-top: 91px;
    }
    #bg_slider .owl-controls .owl-buttons div {
        top: -15px;
    }
}

@media ( max-width : 281px) {
    #sologan h2, #sologan p.site_description {
        font-size: 9px;
    }
    .mobile-menu-wrap {
        width: 200px;
    }
}

#background-about{
    border: 3px dashed #ffffff !important;
    border-radius: 24px;
    margin-left: 5px;
    margin-right: 5px;
}

.primary:nth-child(2){
    background-color: #a843ff
}

.detailContent .videoplayer {
    margin-bottom: 20px;
}
