*{
    outline: none;
}

:root {
    --default: #991325;
    --title-background: #f6f6f6;
    --link: #003fbc;
}


body {
    color: #42495b;
    background-color: white;
}

/* GENERAL */
.top-title {
    background: #ededed;
    font-weight: bold;
    font-size: 1rem;
    color: var(--default);
    height: 34px;
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.dash-title {
    width: 100%;
    height: 4px;
    background: var(--default);
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

.dash {
    border: 1px solid #ededed;
    margin-top: 20px;
    margin-bottom: 20px;
}

.short-content {
    padding: 0;
    color: #003fbc;
    font-weight: 700 !important;
    font-size: 1rem;
}

.video-container {
    position:relative;
    padding-bottom:56.25%;
    padding-top:30px;
    height:0;
    overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.margin-8 {
    margin-left: -8px;
    margin-right: -8px;
}

.padding-8 {
    padding-left: 8px;
    padding-right: 8px;
}

.gray-background {
    background: var(--title-background);
    min-height: 100%;
}

.border {
    border: 1px solid rgba(0,0,0,.125);
}

.shadow-content {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    height: 50%;
    background-image: linear-gradient(180deg, rgba(0,0,0,0) 45%,rgba(10,10,12,.1) 55%,#0a0a0c 95%);
}

a {
    color: #42495b;
}

.pagination {
    margin: auto;
    margin-bottom: 25px;
}

.pagination a {
    color: #666;
    width: 30px;
    height: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-active {
    background: var(--default);
}

.page-active a {
    color: white;
}

.page-last a {
    color: var(--default);
}

.pt-10px {padding-top: 10px;}
.pt-20px {padding-top: 20px;}
.w-18 {width: 18%!important;}
.color-blue {color: #003fbc;}

.container-custom {
    width: 100%;
    padding-right: 30px;
    padding-left: 30px;
    margin-right: auto;
    margin-left: auto;
}

.taskbar .container-custom {
    border-bottom: 1px solid #ced4da;
}

.taskbar .container-custom small {
    font-weight: 500;
}

.taskbar-contact {
    font-size: 0.8rem;
}

.taskbar-search input {
    border-radius: 25px;
    font-size: 0.875rem;
    padding: 1px 25px 1px 10px;
    border: none;
    background-color: #f1f3f4;
}

.taskbar-search {
    font-size: 0.8rem;
	margin-left: auto; 
	margin-right: 0;
}

.taskbar-search i {
    right: 10px;
    font-size: 13px;
    padding: 6px;
}

header .container-custom {
    padding-bottom: 12px;
}

header .header-nav a {
    text-decoration: none;
    font-weight: bold;
    border-right: white solid 1px;
}

header .header-nav a:not(:last-child) {
    margin-right: 0px;
}

header .header-nav a:not(:first-child):not(:last-child)::after {
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    font-size: 11px;
    margin-left: 2px;
    /*content: "\f054";*/
}

.right-header {
    /*background-image: url("images/right_header.jpg");
    background-repeat: no-repeat;
    background-size: auto 60px;
    background-position: right;*/
    width: 100%;
    display: flex;
}

.container-slogan {
    margin: auto;
    /*margin-right: 200px;
    margin-left: 20px;*/
    font-size: 0.9rem;
    color: #003fbc;
}
.container-slogan img {width: 100%;}
.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
    margin-top: -5px;
}

.navbar-light .navbar-nav .nav-link {
    color: white;
    background-color: #00339c;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.navbar-collapse {
    margin-left: 15px;
    margin-right: 15px;
    background-color: #00339c;
}

.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top:-6px;
}

/* rotate caret on hover */
.dropdown-menu > li > a:hover:after {
    text-decoration: underline;
    transform: rotate(-90deg);
}

.dropdown-item {
    color: rgba(0,0,0,.5);
}


#carouselExampleIndicators .carousel-news {
    top: 10px; left: 20px; z-index: 15;
    color: white; background-color: var(--default);
    transform: skewX(-20deg);
}

#carouselExampleIndicators .carousel-news .top-title-slider {
    padding-left: 10px;
    padding-right: 10px;
    transform: skewX(20deg);
}

#carouselExampleIndicators .carousel-indicators li {
    width: 7px; height: 7px; opacity: 1;
    background-color: #991325;
}

#carouselExampleIndicators .carousel-indicators li.active {
    background-color: white;
}

/* slider */
#slider {
    font-size: 1rem;
}

#slider small {
    font-size: 1em;
}

.carousel-inner img {
    position: relative;
    height: 21rem !important;
    object-fit: cover;
}

.carousel-caption {
    left: 22px;
    right: 22px;
    bottom: 10px;
    text-align: left;
}

.carousel-caption a {
    color: white;
    text-decoration: none;
}

.right-new .gray-background{
    margin-right: -15px;
    margin-left: -15px;
}

.newest-title{
    background-color: var(--default);
    font-size: 80%;
    font-weight: 700;
    color: white;
    height: 38px;
    display: flex;
    align-items: center; /*header .header-nav a:not(:last-child) align vertical */
    padding-left: 10px;
}

.list-group {
    overflow-y: auto;
    max-height: 590px;
}

.right-new .gray-background {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.list-group-item {
    border: none;
    border-top: 1px solid rgba(0,0,0,.125);
    margin-top: 1px;
    font-size: 0.8rem;
    padding: 5px 10px !important;
}

#slider .list-group-item, #newest .list-group-item {
    background: var(--title-background);
}

.list-group .list-group-item:first-child,
.list-group .list-group-item:last-child {
    border-radius: 0;
}

#slider .media p {
    color: #999999;
    font-size: 0.9em;
}
#slider .media img {
     height: 3rem !important;
     object-fit: cover;
 }

/* notice */
.notice {
    border: 1px solid var(--default);
    padding-bottom: 35px;
}

.notice-image {
    width: 100%;
    padding-top: 57%;
}

.notice-image img {
    top: 0;
    height: 170px;
    left: 0;
    width: 100%;
    object-fit: cover;
}

.notice .list-group-item {
    background: white;
}

.notice .top-title {
    font-weight: 700;
}

/* notice mobile */
#notice-mobile {
    display: none;
}

.notice-mobile-image {
    width: 100%;
    padding-top: 28%;
}

#notice-mobile .notice-mobile-image img {
    top: 0;
    height: 100%;
    left: 25%;
    width: 50%;
}

/* main-category */
#main-category {
    margin-bottom: 44px;
}

#main-category .top-title, #min-category .top-title {
    font-weight: 700;
    font-size: 1rem;
}

#main-category .category-image {
    width: 100%;
    padding-top: 65%;
}

#main-category .category-image img {
    top: 0;
    height: 100%;
    left: 0;
    width: 100%;
}

#main-category .category-date {
    padding-top: 10px;
    color: #003fbc;
    font-weight: 700 !important;
    font-size: 0.8rem;
}

#main-category .category-date a {
    color: #42495b;
    text-decoration: none;
}

.dash-title-category {
    width: 100%;
    height: 6px;
    background: var(--default);
    border-top: 3px solid white;
    border-bottom: 1px solid white;
}

/* min-category */
.min-category {
    margin-bottom: 15px;
}

.min-category-image {
    padding-top: 58%;
}

.min-category-image img {
    top: 0;
    height: 11rem;
    left: 0;
    width: 100%;
}
.min-category-image.index img {
    top: 0;
    height: 9rem;
    left: 0;
    width: 100%;
}


.min-category a {
    text-decoration: none;
}

/* media */
.media-video-center,
.media-center {
    margin-top: 3px;
    margin-bottom: 10px;
}

.media-video-bottom .short-content,
.media-bottom .short-content {
    margin-bottom: 10px;
}

.media-video-bottom .list-group i,
.media-bottom .list-group i{
    color: var(--default);
}

.media-bottom .list-group i {
    float: left;
    height: 100%;
    margin-right: 10px;
    font-size: 0.6rem;
    padding-top: 5px;
}

.media-bottom .list-group p {
    margin-bottom: 0;
}

.list-group-no-padding .p-2 {
    padding: .5rem 0 !important;
}

.p-2-category {
    padding: .5rem 0 !important;
}

.media-music {
    margin-bottom: 15px;
}

.media-music a {
    color: #42495b;
    text-decoration: none;
}

/* bottom */
#bottom {
    background: var(--default);
    color: white;
    font-size: 0.9rem;
}

.top-bottom {
    padding-bottom: 20px;
}

.end-bottom {
    display: flex;
    height: 39px;
    justify-content: center;
    align-items: center;
}

.social-network {
    margin-top: 20px;
    height: 40px;
}
.social-network a {
    margin-right: 5px;
}

/* calendar */
.calendar-banner {
    margin-top: 15px;
    padding-top: 40%;
}

.calendar-banner img {
    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    width: 100%;
}

.title-image {
    bottom: 5px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

.menu-banner {
    padding-top: 50%;
    margin-top: 2px;
}

.menu-banner img {
    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    width: 100%;
}

.map-banner {
    padding-top: 100%;
    margin-top: 2px;
}

.map-banner img {
    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #e2e2e2;
}

.under-post {
    width: 100%;
    height: 20px;
    margin-bottom: 40px;
}

.kbwcs-fb {
    padding-right: 10px;
    margin-right: 10px;
    padding-left: 5px;
    max-width: 100px;
    float: left;
    height: 20px;
    display: block;
    line-height: 20px;
    text-decoration: none;
    color: #fff;
    float: left;
    border-radius: 2px;
    font-family: Roboto-Medium;
    font-size: 12px;
}

.kbwcs-fb i {
    width: 10px;
}

.facebook_share_button {
    background: #4167b2;
}

.facebook_like_button {
    background: #1877f2;
}



#calendar {
    margin-top: 2px;
    margin-bottom: 2px;
}

.perfect-datetimepicker {
    width: 100%;
}

/* link website */
#link-website {
    margin-top: 2px;
    font-size: 1rem;
}

#link-website .top-title {
    background: none;
    padding: 0;
}

.link-website {
    background: #B5B7B8;
}

.link-website .list-group-item {
    border-top: none;
    margin-top: 0;
    background: none;
    color: #333;
    font-size: 0.9em;
}

.link-website .list-group-item:hover {
    color: var(--default);
}

.link-website .p-2 {
    padding: .2rem .5rem !important;
}

ul.dropdown-menu {
    border: none;
    font-weight: 700;
}

ul.dropdown-menu a {
    color: #42495b;
}

ul.dropdown-menu a:hover {
    color: #003fbc;
}

.logo {
    height: 59px;
    width: 266px;
    max-width: 60%;
    display: flex;
}

.logo img {
    margin: auto;
}

.open-menu {
    top: 10px;
    height: 59px;
    right:10px;
    width: 59px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: white;
}

.page-right {
    border-left: 1px solid rgba(0,0,0,.125);
    padding-bottom: 10px;
}

/* CATEGORY */
.post-content {
    font-size: 0.8em;
    margin-top: 15px;
    padding-bottom: 35px;
}

.post {
    border: 1px solid rgba(0,0,0,.125);
    padding: 10px;
}

.post-detail {
    font-size: 0.9em;
    font-weight: 600;
    bottom: 15px;
    right: 15px;
}

.post-detail a {
    text-decoration: none;
    color: var(--link);
}

.newest-list-right {
    padding-top: 57%;
}

.newest-list-right img {
    top: 0;
    height: 3rem;
    left: 0;
    width: 100%;
}

/* POST */
.min-category-title {
    background: var(--default);

}

.post-content-title {
    top: 0; left: 0px; z-index: 15;
    color: white; background-color: var(--default);
    transform: skewX(-20deg);
}

.post-content-title .top-title-slider {
    padding-left: 10px;
    padding-right: 10px;
    transform: skewX(20deg);
}

.post-content-title a{
    color: #42495b;
    font-size: 0.8rem;
}

#post-content {
    font-size: 1rem;
}

.post-content-in {
    padding-top: 65px;
    padding-bottom: 100px;
    text-align: justify;
    font-size: 0.8rem;
}

.author {
    width: 100%;
    right: 0;
    bottom: 45px;
    font-weight: 600;
    text-align: right;
    border-bottom: 1px solid #ededed;
}

.post-title {
    padding: 0;
    font-size: 1.2rem;
    color: #003fbc;
    font-weight: 700 !important;
}

.post-time {
    color: #999999;
    font-size: 0.8em;
    padding: 15px;
}

.under-title {
    border-bottom: 1px solid #ededed;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.content-post-content {
    font-size: 0.8rem;
    color: #333;
    margin: auto;
}

.content-post-detail {
    justify-content: center;
}

.content-post-image {
    margin: auto;
    max-width: 100%;
    justify-content: center;
}

.content-post-image img {
    margin: 20px 0 20px 0;
    width: 100%;
}

.news-image {
    padding: 0 0 0 15px !important;
    width: 35%;
    display: flex;
}
.news-image img {
    height: 4rem;
    width: 100%;
}
.news-content {
    display: flex;
    width: 65%;
}
.category-min-category-image {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/* Extra small */
@media all and (max-width: 576px) {
    .editorial-board, .info {
        margin-bottom: 20px;
    }

    .container-custom {
        padding-right: 10px;
        padding-left: 10px;
    }

    .notice-mobile-image {
        width: 100%;
        padding-top: 57%;
    }

    #notice-mobile .notice-mobile-image img {
        top: 0;
        height: 100%;
        left: 0;
        width: 100%;
    }

    .category-min-category-image {
        margin-bottom: 10px;
    }

    .carousel-inner img {
        height: 15rem !important;
    }

    .min-category-image img {
        top: 0;
        height: 100%;
        left: 0;
        width: 100%;
        position: none;
    }
    .post-content-in {
        padding-top: 20px;
    }
    .min-category-image.index img {
        height: 6rem;
    }
}

/* Small */
@media all and (max-width: 768px) {
    #notice-mobile {
        display: block;
    }

    #list-menu-banner {
        margin-bottom: 120px;
    }

    #media-music,
    #media-video {
        margin-bottom: 10px;
    }

    .news-image img {
        height: 6rem !important;
    }

    .carousel-caption {
        bottom: -5px;
    }

    .carousel-indicators {
        bottom: -15px;
    }

    .notice,
    .calendar-banner,
    #calendar,
    .map-banner,
    #link-website {
        display: none;
    }
    .right-new .gray-background {
        margin: 0;
    }
    .kbwcs-fb {
        margin-right: 5px!important;
    }

}

/* Medium */
@media all and (max-width: 992px) {
    .row {
        margin-right: -5px;
        margin-left: -5px;
    }

    .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
        padding-right: 5px;
        padding-left: 5px;
    }

    .menu-banner {
        margin-bottom: 10px;
    }

    .page-right {
        border-left: none;
    }

    #slider {
        border: 1px solid rgba(0,0,0,.125);
    }
}

/* Large */
@media all and (max-width: 1139px) {
    /*.taskbar,
    .slogan {
        display: none;
    }*/
	.taskbar-contact,
    .slogan {
        display: none;
    }	

    .editorial-board {
        margin-bottom: 20px;
    }

    .col-slider {
        margin-bottom: 5px;
    }
    .post-share {
        display: none;
    }
}

@media all and (min-width: 1140px) {
    .content-post-content {
        font-size: 0.8rem;
        color: #333;
        max-width: 700px;
        margin: auto;
    }
    .post-share {
        top: 220px;
        left: 0;
        display: inline-block;
        width: 40px;
    }

    .post-share a  img{
        width: 30px;
        height: 30px;
        margin: 10px 0 10px 0;
    }
}

