body {
    font-family: 'Kanit', 'Roboto', sans-serif;
}

.header {
    display: none;
}

.btn {
    border-radius: 5px !important;
}

.btn-primary {
    background-color: #32bcad !important;
    border-color: #32bcad !important;
}

.btn-secondary {
    background-color: #123d67 !important;
    border-color: #123d67 !important;
}

.bg-primary {
    background-color: #113d64 !important;
}

.text-primary {
    color: #123d67 !important;
}

.text-success {
    color: #32bcaf !important;
}


.blog-header {
    position: relative;
}

.blog-menu {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

@media (max-width: 991px) {
    .blog-menu {
        position: static;
        background-color: #113d64;
    }

    .blog-header.sticky .blog-menu {
        position: fixed;
        background-color: #113d64 !important;
        top: 0;
    }

    .navbar-light .navbar-toggler i {
        color: #fff;
    }
}

.blog-header .blog-menu {
    transition: all .3s;
}

.blog-header.sticky .blog-menu {
    background-color: rgba(0, 0, 0, 0.8);
}

.blog-header .navbar-brand img {
    height: 50px;
}

.blog-header .input-group .btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.blog-header .input-group input.form-control {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.8);
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
    color: #fff;
}

.navbar-light .navbar-nav a {
    position: relative;
    padding: 5px 15px !important;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav li:not(:last-child) a:after {
        position: absolute;
        content: '';
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        border-right: 1px solid rgba(255, 255, 255, 0.71);
        height: 40%;
    }
}

.navbar-light .navbar-nav a:visited,
.navbar-light .navbar-nav a:active,
.navbar-light .navbar-nav a:hover,
.navbar-light .navbar-nav .active {
    text-decoration: underline;
    color: #fff !important;
}

.sliders .item {

    overflow: hidden;
}

.slide-overlay {
    position: relative;
    max-height: 600px;
    overflow: hidden;
}

.slide-overlay:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.slide-overlay .content {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 101;
}

.slide-overlay .content a {
    color: #fff;
}

.section {
    padding: 50px 0;
}

@media (max-width: 991px) {
    .section {
        padding: 25px 0;
    }
}

.section .section-title {
    position: relative;
}

.section .section-title:after {
    content: '';
    position: absolute;
    width: 90%;
    height: 3px;
    top: 60%;
    right: 0;
    transform: translateY(-50%);
    background-color: #103b65;
    z-index: 4;
}

.section .section-title .title span {
    color: #30bdad;
}

.section .section-title .title {
    background-color: #fff;
    margin: 0;
    color: #103b65;
    width: 210px;
    position: relative;
    z-index: 5;
    display: inline-block;
}

.section .section-title .view {
    position: absolute;
    top: 0;
    right: 0;
    text-transform: uppercase;
    color: #666666;
    font-size: 13px;
}

.section .section-items .item {
    /*margin-bottom: 40px;*/
    display: block;
}

.section .section-items .item-v1 .img {
    margin-bottom: 10px;
}

.section .section-items .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.section .section-items .date {
    font-size: 11px;
}

.section .section-items .caption {
    display: block;
}

.section .section-items .item-v1 .caption {
    font-size: 13px;
}


.section .section-items .item-v1, .section .section-items .item-v2 {
    position: relative;
}

.section .section-items .item-v1.nob:after {
    display: none;
}

.section .section-items .item-v1:not(:last-child):after {
    content: '';
    right: 0;
    top: 0;
    position: absolute;
    height: 100%;
    border-right: 1px solid #ddd;
}

.section .section-items .item-v1-category .img {
    position: relative;
}

.section .section-items .item-v1-category .img .category {
    position: absolute;
    top: 10px;
    left: 10px;
}

.section .section-items .item-v1-category .title {
    font-weight: 400;
}

.section .section-items .item-v1-category .desc {
    font-size: 13px;
}

@media (max-width: 991px) {
    .section .section-items .item-v1:not(:last-child):after {
        display: none;
    }

    .section .section-items .item {
        /*margin-bottom: 40px;*/
    }
}


.section .section-items .item-v2 .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /*background-color: rgba(0, 0, 0, 0.4);*/
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+99&0+1,0.65+99 */
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.65) 99%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.65) 99%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.65) 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0); /* IE6-9 */

}

.section .section-items .item-v2 .caption .inner {
    padding: 15px;
    padding-top: 30px;
    color: #fff;
}

.section .section-items .item-v2.item-large .caption .inner {
    padding: 30px;
    padding-top: 50px;
}

.section .section-items .item-v2 .category {
    position: absolute;
    top: 15px;
    left: 15px;
}

.section .section-items .item-v2.item-sm .title {
    font-size: 13px;
}

.section .section-items .item-v3 {
    margin: 0 15px 0 0;
    padding: 0;
    list-style: none;
}

.section .section-items .item-v3 li:not(:last-child) {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.section .section-items .item-v3 .title {
    font-size: 14px;
    color: #222;
}

.section .section-items .category .btn {
    font-weight: 300;
}

.scrollbar {
    /*margin-left: 30px;*/
    float: left;
    height: 380px;
    width: 100%;
    /*background: #F5F5F5;*/
    overflow-y: scroll;
    /*margin-bottom: 25px;*/
}

.force-overflow {
    max-height: 600px;
}

.scrollbar-view::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.scrollbar-view::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

.scrollbar-view::-webkit-scrollbar-thumb {
    background-color: #000000;
    border: 2px solid #000;
}

.nav-tabs {
    border-bottom: none !important;
}

.nav-tabs .nav-item {
    margin-bottom: 0 !important;
}

.nav-tabs .nav-link {
    border: none !important;
    color: #ababab;
    padding-left: 0 !important;
    position: relative;
}

.nav-tabs .nav-link:not(:last-child):after {
    content: '';
    border-right: 1px solid #ddd;
    height: 40%;
    top: 50%;
    transform: translateY(-45%);
    right: 8px;
    position: absolute;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {

    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    border: none !important;
}


.nav-tabs .nav-link.active {
    color: #113d64;
}

.single .slide-overlay {
    max-width: 1920px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .single .slide-overlay {
        max-height: 550px;
        overflow: hidden;
    }
}

.page-content {
    font-size: 14px;
    font-weight: 400;
}


.tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tags .name {
    padding: 3px 10px;
    border-left: 2px solid #b83231;
    color: #b83231;
}

.tags .value ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.tags .value ul li {
    margin-right: 5px;
}

.tags .value ul li a {
    padding: 1px 10px;
    background-color: #c5c5c5;
    border-radius: 5px;
    color: #fff;
}

@media (min-width: 992px) {
    .row-h-border > [class*="col-"]:first-child {
        border-right: 1px solid #ddd !important;
    }
}

/*Footer*/
.blog-footer {
    border-top: 1px solid #e8e8e8;
    /*margin-top: 10px;*/
    padding: 30px 0;
    font-size: 14px;
    color: #666666;
}

.blog-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-footer ul li {
    display: flex;
    align-items: center;
}

.blog-footer ul li .ic {
    flex: 0 0 auto;
    width: 30px;
    margin-right: 15px;
}

.blog-footer .social {
    display: flex;
    align-items: center;
}

.blog-footer .social a {
    margin: 0 10px 10px 0;
}
