/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: utm-avo;
    src: url('fonts/UTMAvo.woff2') format('woff2')
}

@font-face {
    font-family: utm-avo-bold;
    src: url('fonts/UTMAvoBold.woff2') format('woff2')
}

@font-face {
    font-family: svna;
    src: url('fonts/SVNAvobold.woff2') format('woff2')
}

body {
    font-family: utm-avo;
    font-weight: 400;
    font-size: 16px;
}

a.read-more,
.criteria .info .box-title,
.vertical-post-slider .post-title,
.section-title .section-title-main {
    font-weight: 500;
    font-family: utm-avo-bold;
}

h2.section-title .section-title-main {
    font-size: 28px;
}

h2.section-title b {
    opacity: 1;
    height: 1px;
    background-color: #00348A;
}


h3.section-title span {
    border: none;
    padding: 0;
}

h3.section-title b {
    display: none;
}

h3.section-title .section-title-main {
    font-size: 25px;
    font-family: svna;
    font-weight: 400;
}


h3.section-title::before,
h3.section-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    height: 3px;
}

h3.section-title::before {
    width: 14px;
    left: 0px;
    background-color: #d5d5d5;
}


h3.section-title::after {
    width: 57px;
    left: 17px;
    background-color: #0057de;
}

.archive .page-title {
    display: none;
}

header .header-bottom .container {
    max-width: 1330px;
/*     background: rgb(8, 85, 163); */
}


header.has-sticky .header-wrapper.stuck .header-bottom ,
body header .header-bottom{
    background: #1295ff;
}

header .header-bottom .nav>li.active a,
header .header-bottom .nav>li:hover a {
    background: rgb(247, 181, 3);
}

header .header-bottom .nav>li.active a,
header .header-bottom .nav>li:hover a {
    color: #000;
}

header .header-bottom .nav>li>a {
    font-family: utm-avo;
    font-size: 14px;
    color: #fff;
}

header .header-bottom {
    background: transparent;
}

header .nav-right .header-search-form {
    width: 98%;
}

header .nav-right .header-search-form #s {
    color: rgb(177, 177, 177) !important;
    background: #fff !important;
}

header .nav-right .header-search-form .icon-search {
    color: rgb(177, 177, 177) !important;
}

header .hotline {
    display: flex;
    align-items: center;
}

header .hotline .phone-icon {
    margin-right: 10px;
}

header .hotline ul {
    list-style: none;

}

header .hotline ul li {
    margin-bottom: 0;
}

header .hotline ul span {
    font-size: 16px;
}

header .nav-left {
    justify-content: center;
}

header .hotline ul span.phone-number {
    font-weight: 500;
    color: rgb(229, 20, 20);
    font-family: utm-avo-bold;
}

main .page-wrapper {
    padding-bottom: 0;
    padding-top: 0;
}

.box .post-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 15px;
    font-family: utm-avo-bold;
}

.box .is-divider {
    display: none;
}

.main-service .box {
    padding: 6px;
    border: 1px solid #ebebeb;
    text-align: center;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

.main-service .box:hover {
    background-color: #1295ff;
}

.main-service .box:hover .post-title,
.main-service .box:hover .from_the_blog_excerpt {
    color: #fff;
}

.main-service .box-image {
    overflow: hidden;
}

.main-service .box-image img,
.main-lines .box .button,
.main-lines .box .from_the_blog_excerpt {
    -webkit-transition: 0.3s ease-out;
    -moz-transition: 0.3s ease-out;
    -o-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
}

.main-service .box:hover img {
    -moz-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1.1);
}

a.read-more {
    font-size: 17px;
}

.criteria h2.section-title b {
    background-color: #0855A3;
}

.criteria .info {
    overflow: hidden;
    font-size: 14px;
    padding: 0 25px;
    background: url(images/bg-info-tieuchi.png) no-repeat center bottom;
    background-size: auto;
    background-size: 100% 100%;
}

.criteria .info .box-title {
    font-size: 15px;
    text-align: center;
    color: rgb(254, 191, 1);
    text-transform: uppercase;
}

.main-lines .box {
    position: relative;
}

.main-lines .box::before {
    content: "";
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    left: 10px;
    top: 10px;
    border: 1px solid #fff;
    position: absolute;
    z-index: 999;
}

.main-lines .box-text {
    background: #1295ff;
    padding: 18px 12px 30px 12px;
}

.main-lines .box-text .post-title {
    margin: 0;
    font-size: 14px;
    color: #fff;
    font-family: utm-avo;
    font-weight: bold;
}

.main-lines .box .button,
.main-lines .box .from_the_blog_excerpt {
    position: absolute;
    left: 50%;
    opacity: 0;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.main-lines .box .from_the_blog_excerpt {
    top: -200px;
    font-size: 14px;
    color: #fff;
    border-color: #fff !important;
}

.main-lines .box .button {
    top: -107px;
    width: 115px;
    height: 37px;
    border-radius: 35px;
    text-align: center;
    background: #fff;
    font-size: 14px;
    color: #1f1f1f;
    border: none;
}

.main-lines .box:hover .button,
.main-lines .box:hover .from_the_blog_excerpt {
    opacity: 1;
}


.contact-us .wpcf7-form input,
.contact-us .wpcf7-form textarea {
    font-size: 14px;
    text-indent: 15px;
    border-radius: 0px;
    height: 45px;
    margin-bottom: 10px;
}

.contact-us .wpcf7-form br {
    display: none;
}

.contact-us .wpcf7-form .wpcf7-submit {
    background: #e80e0e;
    color: #fff;
    font-family: utm-avo;
    font-weight: bold;
    font-size: 15px;
    height: 38px;
    text-indent: inherit;
    text-transform: uppercase;
}

.vertical-post-slider {
    overflow: hidden;
}

.vertical-post-slider .post-item {
    display: flex;
    flex-direction: row;
    font-size: 14px;
    color: #272727;
}

.vertical-post-slider .post-title {
    text-transform: uppercase;
}

.vertical-post-slider .thumb-image {
    width: 165px;
}

.vertical-post-slider .thumb-image img {
    width: 100%;
    height: 128px;
    object-fit: cover;
}

.vertical-post-slider .box-content {
    width: calc(100% - 165px);

}

.vertical-post-slider .post-item .box-content {
    padding-left: 15px;
}

.vertical-post-slider .post-item .post-on {
    margin-bottom: 10px;
    font-style: italic;
}

.vertical-post-slider .post-item .post-on::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background: url(images/icon-calender.png) no-repeat left center;
}

.vertical-post-slider .post-item .post-on a {
    color: #919191;
    font-size: 13px;
}


.member .section-title b {
    background: transparent;
}

.department-item h4,
.member-item h4 {
    color: #00348A;
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.department-item p,
.member-item p {
    text-align: left;
    font-size: 15px;
}

.member-item {
    padding: 10px;
    border: 1px solid #f9c94d;
    border-radius: 10px;
}

.member-item:hover {
    background: #fff;
}

.department-item img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}


.department-item .box-text {
    border: 1px solid #00348A;
    border-top: none;
}

.footer-1 {
    border: none;
    color: #fff;
    position: relative;
    padding-top: 35px;
    background: #1295ff;
}
.footer-1 .row {
	position: relative;
}
/* .footer-1 .row::before {
    content: "";
    background: url(images/before_footer.png) no-repeat center;
    background-size: auto;
    width: 100%;
    height: 24px;
    position: absolute;
    bottom: 100%;
    background-size: 100% 100%;
	top: -58px;
}
 */
.footer-1 h3 {
    color: #fff;
    font-size: 22px;
}

.footer-1 .widget .is-divider {
    background: #fff;
    height: 2px;
    width: 40px;
}

footer .absolute-footer {
    padding: 0;
    background: transparent;
    color: #282828;
    font-size: 13px;
/*     max-width: 1330px; */
    padding: 17px 10px;
    background: #404141;
}

footer #top-link {
    color: #00348A;
    border: 2px solid #00348A;
}

footer #top-link:hover {
    color: #fff;
}

@media only screen and (min-width: 991px) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/

    .container .section,
    .row .section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media only screen and (max-width: 991px) {
    .mobile-sidebar .nav a {
        font-family: utm-avo;
        font-weight: bold;
    }

    .mobile-sidebar .hotline {
        display: flex;
        align-items: center;
    }

    .mobile-sidebar .hotline span.phone-number {
        font-weight: 500;
        color: rgb(229, 20, 20);
        font-family: utm-avo-bold;
    }

    .mobile-sidebar .hotline .phone-icon img {
        max-width: 40px;
    }
}

@media only screen and (min-width: 768px) {
    header .header-bottom .container {
        padding-left: 0;
        padding-right: 0;
    }

    header .header-bottom ul>li>a {
        margin: 0;
        padding: 12px 20px;
    }

    header .header-bottom .container {
        height: 45px;
    }

    header .header-bottom ul>li>a {
        line-height: 21px;
    }

    header .header-inner {
        background: url(images/bg-header.jpg) no-repeat center;
        background-size: auto;
        background-size: cover;
        max-width: 1330px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .main-lines .box .from_the_blog_excerpt {
        width: 70%;
    }
    
    .contact-us .wpcf7-form {
        width: max-content;
        margin: auto;
    }

    .wf7-wrapper {
        display: flex;
    }

    .contact-us .wpcf7-form .left-cf7,
    .contact-us .wpcf7-form .right-cf7 {
        width: 50%;
        min-width: 456px;
    }

    .contact-us .wpcf7-form .left-cf7 {
        padding-right: 5px;
    }

    .contact-us .wpcf7-form .right-cf7 {
        position: relative;
        padding-left: 5px;
    }

    .contact-us .wpcf7-form .wpcf7-submit {
        position: absolute;
        bottom: 38px;
        right: -6px;
        width: 113px;
    }

    .contact-us .wpcf7-form textarea {
        min-height: 209px;
    }
}


@media only screen and (max-width: 768px) {
    h2.section-title .section-title-main {
        font-size: 28px;
    }
}

@media only screen and (max-width: 767px) {
    h2.section-title .section-title-main {
        font-size: 22px;
    }

    .contact-us .wpcf7-form .wpcf7-submit {
        width: 100%;
    }
    .vertical-post-slider .post-item .from_the_blog_excerpt{
        display: none;
    }
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/

    .main-menu nav>ul>li:not(:last-child) {
        margin-right: 30px
    }
}