body {
    background: #FFFFFF;
}
a{
    color: #1C375B;
}
.loading {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: #FFFFFF;
    z-index: 1003;
    line-height: 100vh;
}

.loading img {
    width: 50px;
    height: 50px;
}

.container-fluid {
    width: 80%;
}

header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background: rgba(256, 256, 256, 0);
    z-index: 1002;
    transition: ease-in all .2s;
}

header.fixed {
    background: #FFFFFF;
    box-shadow: 0 4px 2px -2px gray;
}

.text-primary {
    color: #00A2E1 !important;
}

.text-substr {
    padding-left: 12px;
    height: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    display: inline-block;
    font-weight: normal;
}
.text-sub-3{
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.text-sub-1{
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
header .nav-link, header .nav-link i{
    color: #FFFFFF;
}
header.fixed .nav-link, header.fixed .nav-link i{
    color: #1C375B;
}
.nav-link.active {
    color: #1C375B;
}
header.fixed .nav-link.active{
    color: #3BB5E9;
}
.nav-link:hover {
    color: #1C375B;
}
header.fixed .nav-link:hover {
    color: #3BB5E9;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #1C375B;
    border-color: #1C375B;
}

.banner {
    height: 200px;
    text-align: center;
}

.banner h1 {
    line-height: 280px;
}

footer.fixed {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

.text-lg {
    font-size: 30px !important;
    font-weight: bold;
    position: relative;
}

.text-lg:after {
    content: "";
    position: absolute;
    border-bottom: 2px solid #cccccc;
    width: 100px;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 0;
}

.loading-inline {
    display: none;
}

.page_detail {
    display: flex;
    overflow: hidden;
}

.page_detail table {
    display: block;
    max-width: 100%;
    table-layout: fixed;
}

.page_detail table, .page_detail table td, .page_detail table th {
    border: none;
    white-space: normal;
}
.logo{
    margin: 0;
    margin-top: 5px;
}
.logo img{
    height: 40px;
    display: none;
}
.logo.logo-white img{
     display: block;
 }
header.fixed .logo img{
    display: block;
}
header.fixed .logo.logo-white img{
    display: none;
}
.middle-line{
    border-bottom: 3px solid #1C375B;
    position: relative;
    width: 200px;
    margin: 30px auto;
}
.middle-line{
    width: 200px;
}
.middle-line img{
    width: 100%;
}
.middle-line .middle{
    width: 50px;
    height: 50px;
    position: absolute;
    left: 0;
    bottom: -22px;
    right: 0;
    background: #FFFFFF;
    padding: 10px;
    margin: auto;
}
.welcome h1{
    font-size: 30px;
}

.welcome-detail{
    width: 100%;
    padding-top: 5px;
    height: 150px;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    position: relative;
}

.home-banner{
    background: url("../img/bg-home.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    position: relative;
}
.home-banner .content{
    position: absolute;
    width: 100%;
    height: 100px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.list-article .item{
    min-height: 400px;
}
.list-article .link a{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.list .item{
    text-align: left !important;
    overflow: hidden !important;
    display: block !important;
    min-height: 150px;
}
.list div[class^="col"] {
    width: 49.99%;
    max-width: 49.99%;
    flex: 0 0 49.99%;
    overflow: hidden;
}
.list div[class^="col"] .img-content{
    float: left;
    width: 30%;
    max-width: 150px;
}
.list div[class^="col"] .img-content .link{
    padding: 0;
    text-align: center;
}
.list div[class^="col"] .description{
    float: left;
    width: 70%;
    min-width: calc(100% - 150px);
}
.full-image{
    width: 100%;
    max-width: 500px;
}
.detail-article .full-image{
    width: 100%;
    max-width: 500px;
    float: left;
    margin-right: 20px;
}

.text-short{
    display: block;
    display: -webkit-box;
    max-width: 300px;
    padding-top: 5px;
    height: 50px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}
.text-short:after{
    content: "...";
    position: absolute;
    width: 50px;
    right: -20px;
    bottom: 0;
    background: #fff;
    padding: 0 10px;
}

.navbar-expand-lg .navbar-nav{
    transition: ease-in margin 2s;
}

.searchbox{
    position:relative;
    min-width:50px;
    width:0%;
    height:50px;
    float:right;
    overflow:hidden;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    -ms-transition: width 0.3s;
    -o-transition: width 0.3s;
    transition: width 0.3s;
}

.searchbox-input{
    top:0;
    right:0;
    width:100%;
    opacity: 0;
    display: none;
}

.searchbox-icon,
.searchbox-submit{
    width:50px;
    height:50px;
    display:block;
    position:absolute;
    top:0;
    right:0;
    outline:0;
    line-height:50px;
    text-align:center;
    cursor:pointer;
}

.searchbox-open{
    width:100%;
}
.searchbox-open .searchbox-input{
    opacity: 1;
    display: block;
}
.searchbox-open .searchbox-icon i{
    color: #444444 !important;
}

.img-cover{
    height: 230px;
    overflow: hidden;
}
.img-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (max-width: 992px) {

    .searchbox{
        position: absolute;
        top: 0;
        right: 0;
    }

    .container-fluid {
        width: calc(100% - 10px);
    }

    header.fixed {
        background: #1C375B;
        box-shadow: none;
    }

    .d-md-none {
        display: none;
    }

    header {
        background: rgba(256, 256, 256, 0);
        z-index: 1000;
        padding-top: 5px;
    }

    .navbar-vertical.navbar-expand-sm {
        max-width: 100%;
    }

    .hy-drawer-content {
        z-index: 1002;
    }


    .p-sm-0{
        padding: 0 !important;
    }

    .navbar {
        display: block;
        height: 100%;
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-vertical .navbar-nav .nav-link {
        padding-left: 2rem;
    }

    .btn-round.float-right {
        background: rgba(256, 256, 256, 0.5);
        color: #444;
    }

    #wowslider-container1 .ws-title{
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 70%;
    }
    .list-article .col-md-3{
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .list-article .item{
        width: 100%;
    }
}

@media (max-width: 500px) {
    .list div[class^="col"] .img-content {
        float: left;
        width: 100%;
        max-width: 100%;
    }
    .list div[class^="col"] .description{
        float: left;
        width: 100%;
        min-width: 100%;
    }
    .list-article .col-md-3{
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}


