@import url('https://fonts.googleapis.com/css?family=Kanit:100,200,300,400,500,600,700,800|Roboto:100,200,300,400,500,600,700,800&display=swap&subset=thai');

body {
    font-family: 'Roboto', 'Kanit', sans-serif;
    font-size: 18px;
    font-weight: normal;
    color: #4D4D4D;
    line-height: 1.4;
    background-color: #fff;
    overflow-x: hidden;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}

a.text-primary:focus, a.text-primary:hover,
a:hover,
a:visited,
a {
    color: #111;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.f11 {
    font-size: 11px !important;
}

.mdi {
    line-height: 0.8;
    margin-bottom: -2px;
}

.form-control {
    border-radius: 0 !important;
}

.row-sm {
    margin-right: -8px;
    margin-left: -8px;
}

.row.row-sm > [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
}


.btn-info {
    background-color: #15385F;
    border-color: #15385F !important;
}

.btn-primary:active,
.btn-primary:hover,
.btn-primary {
    background-color: #4db590 !important;
    border-color: #4db590 !important;
    color: #fff;
}

.btn-lighting {
    background-color: #fff;
}

.text-primary {
    color: #4db590 !important;
}

.text-dark {
    color: #4D4D4D !important;
}

.text-gray {
    color: #4D4D4D !important;
}

.text-info {
    color: #15385F !important;
}

.text-warning {
    color: #F67D00 !important;
}

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

.text-muted {
    color: #b4b4b4 !important;
}

.text-thin {
    font-weight: 300;
}

.btn {
    border-radius: 0 !important;
}

.btn-outline-light i {
    color: #b4b3b1;
}

.btn-outline-light {
    border-color: #a88e73;
}

.btn-outline-lighting {
    border-color: #fff;
    /*border-width: 2px;*/
    color: #fff;
}

.btn-outline-lighting:hover {
    background-color: #fff;
}

.btn-outline-dark {
    border-color: #707070;
}

.btn-outline-dark i {
    color: #707070;
}

.style-line {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

@media (max-width: 1600px) {
    .h1.style-line {
        font-size: 2.3rem;
    }
}

@media (max-width: 767px) {
    .h1.style-line {
        font-size: 1.7rem;
    }
}

.style-line:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    width: 50px;
    background-color: #4db590;
}

.style-line.style-line-center {
    text-align: center;
}

.style-line.style-line-center:after {
    left: 50%;
    transform: translateX(-50%);
}

.style-line.style-line-right {
    text-align: right;
}

.style-line.style-line-right:after {
    right: 0;
    left: auto;
}

input[type=file].form-control {
    height: auto;
}

.header {
    display: none;
}

@media (max-width: 767px) {
    .header {
        display: block;
    }
}

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

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

.header .navbar-light .navbar-toggler {
    border-radius: 0;
    background-color: #15385F;
    border-color: #15385F;
    color: #fff;
}

#wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar,
#content {
    position: relative;
    /*display: flex;*/
    /*align-items: stretch;*/
}

#sidebar {
    z-index: 99;
    flex: 0 0 auto;
    width: 250px;
    position: fixed;
}

@media (min-width: 992px) {
    #sidebar {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
    }
}

#content {
    flex: 1 1 auto;
    z-index: 88;
    overflow: hidden;
}

@media (min-width: 768px) {
    #content {
        margin-left: 200px;
    }
}

@media (min-width: 992px) {
    #wrapper {
        justify-content: flex-end;
    }

    #sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
    }

    #content {
        margin-left: 250px;
    }
}


@media (max-width: 991px) {
    #sidebar {
        width: 200px;
    }

}

#sidebar {
    -webkit-box-shadow: 5px 0px 19px -1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 5px 0px 19px -1px rgba(0, 0, 0, 0.05);
    box-shadow: 5px 0px 19px -1px rgba(0, 0, 0, 0.05);
}

#sidebar .logo {
    position: relative;
    display: block;
    padding: 30px;
    margin-bottom: 20px;
}


#sidebar .logo:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 20%;
    height: 4px;
    transform: translateX(-50%);
    background-color: #4db590;
}

#sidebar .nav .nav-link {
    text-align: center;
    font-size: 18px;
    font-weight: 600 !important;
    color: #4d4d4d;
    text-transform: uppercase;
}

.social-icon-img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.social-icon-img a:not(:last-child) {
    margin-right: 10px;
}

.social-icon-img img {
    width: 40px;
}

@media (max-width: 991px) {
    .social-icon-img img {
        width: 25px;
    }

}


.cover {
    background-image: url('assets/images/cover.png');
    background-size: 100%;
    background-position: center left;
    background-repeat: no-repeat;

}


.cover .contact {
    display: flex;
    align-items: center;
}

.cover .contact .item {
    margin-right: 30px;
    display: flex;
    align-items: center;
    color: #808080;
}

.cover .contact .item strong {
    color: #4d4d4b;
    /*font-size: 26px;*/
    font-weight: 500;
}

@media (min-width: 992px) {
    .cover .contact .item strong {
        font-size: 26px;
    }
}

.cover .contact .item i {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #15385e;
    color: #fff;
    flex: 0 0 auto;
}

.cover .contact .item i.line {
    background-color: #15385e;
}

.cover .contact .item i.line img {
    width: 20px;
}

@media (max-width: 991px) {
    .cover .contact .item {
        font-size: 14px;
        margin-right: 15px;
    }

    .cover .contact .item i {
        margin-right: 5px;
    }
}

@media (max-width: 580px) {
    .cover .contact {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        /*flex-wrap: wrap;*/
    }

    .cover .contact .item i {
        width: 20px;
        height: 20px;
    }

    .cover .contact .item i.line img {
        width: 14px;
    }

    .cover .contact .item:first-child {
        display: none;
    }

    .cover .contact .item {
        font-size: 12px;
        /*color: #fff;*/
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        /*flex: 1 1 auto;*/
        /*width: 100%;*/
        margin-right: 10px !important;
        margin-bottom: 5px;
    }
}

.cover .heading-group {
    margin-bottom: 100px;
}

.cover .heading {
    font-weight: 700;
}

.cover .heading span {
    font-size: 3rem;
}

.cover .sub-heading {
    color: #4d4d4d;
    font-weight: 400;

}

@media (max-width: 1600px) {
    .cover {
        background-size: cover;
    }

    .cover .heading {
        font-size: 30px;
    }

    .cover .heading span {
        font-size: 40px;
    }

    .cover .sub-heading {
        font-size: 24px;
    }
}

@media (max-width: 1199px) {
    .cover .heading {
        font-size: 26px;
    }

    .cover .heading span {
        font-size: 32px;
    }

    .cover .sub-heading {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .cover .heading-group {
        margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    .cover .heading {
        font-size: 22px;
    }

    .cover .heading span {
        font-size: 28px;
    }

    .cover .sub-heading {
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .cover .input-group-append {
        margin-top: 5px;
    }

    .cover .input-group-append,
    .cover .input-group-append .btn {
        width: 100%;
    }
}

.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container .select2-selection--single {
    height: 38px;
    border-radius: 0;
    border-color: transparent;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
    color: #999999;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: none;
    position: relative;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b:after {
    content: "\F140";
    font-family: "Material Design Icons";
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.input-group-select .input-select {
    flex: 1 1 auto;
    display: flex;
}

.select2-dropdown {
    border: none;
    border-radius: 0 !important;
}


.block-content {
    padding: 50px 100px;
    position: relative;
}

.block-content-2x {
    padding: 100px 100px;
    position: relative;
}


.block-content.shape-x.block-content-dark:after,
.block-content.shape-x.block-content-dark:before,
.block-content-dark {
    background-color: #263334;
}

.block-content-map {
    background-image: url("assets/images/map.png");
    background-position: right center;
    background-repeat: no-repeat;
    color: #fff;
}

.block-content-map:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(21, 39, 40, 0.91);
}

.block-content-map hr {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.block-content.shape-x.nb:after {
    display: none;
}


.block-content.shape-x.nt:before {
    display: none;
}

.block-content.shape-x.block-content-gray:after,
.block-content.shape-x.block-content-gray:before,
.block-content-gray {
    background-color: #DDE3E5;
}

.block-content-primary {
    background-color: #15385f;
}


.block-content-gray-half {
    background-color: #f3f3f3;
}

.block-content-gray-half:after {
    content: '';
    background-color: #233334;
    width: 100%;
    height: 40%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.block-content-dark .form-control {
    background-color: #152021;
    border: 2px solid rgba(255, 255, 255, 0.82);
    color: #fff;
}


.block-content.shape-x {
    margin: 120px 0;
    padding: 15px 100px;
}

.block-content.shape-x:before,
.block-content.shape-x:after {
    content: '';
    width: 200%;
    height: 150px;
    position: absolute;
    z-index: 99;
}

.block-content.shape-x:before {
    transform: rotate(-3deg);
    top: -120px;
    left: 0;
}

.block-content.shape-x:after {
    transform: rotate(3deg);
    bottom: -120px;
    left: 0;
}


.block-content .block-body {
    position: relative;
    z-index: 100;
}

@media (max-width: 1599px) {
    .block-content.shape-x {
        padding: 15px 50px;
    }

    .block-content {
        padding: 50px;
    }
}

@media (max-width: 1199px) {
    .block-content.shape-x:before {
        left: -50px;
    }

    .block-content.shape-x:after {
        right: -50px;
    }

    .block-content.shape-x {
        padding: 15px 40px;
    }

    .block-content {
        padding: 40px;
    }
}

@media (max-width: 991px) {
    .block-content.shape-x {
        padding: 15px 30px;
    }

    .block-content {
        padding: 30px;
    }
}


@media (max-width: 767px) {
    .block-content.shape-x {
        margin: 55px 0;
    }

    .block-content.shape-x:before {
        left: -50px;
        top: -50px;

    }

    .block-content.shape-x:after {
        bottom: -50px;
        right: -50px;
    }
}

@media (max-width: 560px) {
    .block-content.shape-x {
        padding: 15px;
    }

    .block-content {
        padding: 15px;
    }
}

.box-item .row > * {
    display: flex;
    align-items: stretch;
}

.box-item .row .item {
    width: 100%;
    background-color: #fff;
    padding: 80px 30px;
    text-align: center;
    margin-bottom: 30px;
    overflow: hidden;
}

.box-item .row .item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

.box-item .row .item img {
    width: 100px;
    max-width: 80%;
    margin-bottom: 50px;
}


.box-item .row .item .name {
    font-size: 23px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0;
}

.box-item .row .item .caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateY(100%);
    background-color: #4db590;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: all .3s;
}


.box-item .row .item:hover .caption {
    transform: translateY(0);
}

@media (max-width: 1600px) {


    .box-item .row .item img {
        width: 150px;
        margin-bottom: 15px;
    }

    .box-item .row .item .name {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .box-item .row .item {
        padding: 30px 30px;

    }

    .box-item .row .item img {
        margin-bottom: 15px;
    }

    .box-item .row .item .name {
        font-size: 18px;
        font-weight: 500;
    }
}

@media (min-width: 992px) {
    .box-item .row .item img {
        width: 220px;
    }

    .box-item .row .item .caption {
        font-size: 23px;
        font-weight: 600;
    }
}


.about-content {
    font-size: 20px;
}

@media (max-width: 1600px) {
    .about-content {
        font-size: 1.3rem;
    }
}

@media (max-width: 991px) {
    p.h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    p.h4,
    .about-content {
        font-size: 1.1rem;
        font-weight: 300 !important;
    }


}

.tab-exprience .nav-tabs,
.tab-exprience .nav-tabs .nav-item.show .nav-link, .tab-exprience .nav-tabs .nav-link.active {
    border: none !important;
}

.tab-exprience .nav-tabs .nav-link {
    padding-left: 0 !important;
    border: none !important;
    color: #999999;
}

.tab-exprience .nav-tabs .nav-link {
    border-radius: 0 !important;
    position: relative;
}

.tab-exprience .nav-tabs .nav-link:after {
    position: absolute;
    content: '';
    border-right: 2px solid #999999;
    height: 30%;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.tab-exprience .nav-tabs .nav-item:last-child .nav-link:after {
    display: none;
}

.tab-exprience .nav-tabs .nav-link.active,
.tab-exprience .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border: none !important;
    color: #15385F;
}

@media (max-width: 767px) {
    .tab-exprience .nav-tabs .nav-link {
        font-size: 16px;
        padding: 0 0 5px 0;
    }
}

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

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.owl-carousel .owl-item img {
    height: auto;
}

.owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    /*border: 2px solid #4D4D4D !important;*/
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}


.owl-carousel .owl-nav button.owl-prev {
    left: -50px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -50px;
}

.owl-carousel .owl-nav button i {
    font-size: 36px;
    line-height: 1;
    color: #4D4D4D;
    transition: all .5s;
}

@media (max-width: 767px) {
    .owl-carousel .owl-nav button.owl-prev {
        left: 5px;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: 5px;
    }

    .tab-exprience .tab-content {
        margin-top: 15px;
    }
}


.owl-carousel .owl-nav button:hover {
    background-color: #4D4D4D;

}


.owl-carousel .owl-nav button:hover i {
    color: #fff;
}

.owl-carousel .owl-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 15px;
}

.owl-carousel .owl-dots button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #B3B3B3;
    margin-right: 5px;
}

.owl-carousel .owl-dots button:last-child {
    margin-right: 0;
}

.owl-carousel .owl-dots button.active {
    background-color: #4D4D4D;
    border-color: #4D4D4D;
}

.owl-carousel .owl-stage-outer {
    padding: 3% 0;
}

.sliders {
    position: relative;
}

.sliders .owl-carousel .owl-stage-outer {
    padding: 0 !important;
}

.sliders .cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.owl-item img {
    transition: 0.45s;
    /*opacity: 0.8;*/
}

.owl-item.center {
    z-index: 101;
}

.owl-item.center img {
    /*transform: scale(1.2);*/
    /*opacity: 1;*/
}

.client-owl .owl-item img {
    opacity: 1 !important;
}

.client-owl .owl-item.center img {
    transform: none;
    opacity: 1;
}

.client-owl .owl-carousel .owl-dots {
    bottom: -15px;
}

@media (max-width: 767px) {
    .owl-item.center img {
        transform: scale(1);
        opacity: 1;
    }

}

.contact-item .row > * {
    display: flex;
    align-items: stretch;
}

.contact-item .item {
    width: 100%;
    display: block;
    position: relative;
    text-align: center;
    padding-bottom: 40px;
    overflow: hidden;
}

.contact-item .item .content {
    background-color: #fff;
    padding: 30px;
    position: relative;
    z-index: 200;
}


.contact-item .row > * .item:after {
    content: '';
    position: absolute;
    bottom: 36px;
    left: 0;
    height: 64px;
    width: 200%;
    background-color: #fff;
    z-index: 199;
    box-shadow: -2px 15px 19px -12px rgba(0, 0, 0, 0.33);
}

.contact-item .row > * .item:after {
    transform: rotate(0deg);
}

.contact-item .row > *:first-child .item:after {
    transform: rotate(5deg);
}

.contact-item .row > *:last-child .item:after {
    transform: rotate(-5deg);
    left: auto;
    right: 0;
}

.contact-item .item img {
    margin: 30px 0;
}

.contact-item .item p {
    color: #000;
}

@media (max-width: 991px) {
    .contact-item .item {
        padding-bottom: 0;
        margin-bottom: 30px;
        overflow: visible;
    }

    .contact-item .row > * .item .content {
        box-shadow: -2px 15px 19px -12px rgba(0, 0, 0, 0.33);
    }

    .contact-item .row > * .item:after {
        display: none;
    }

    .contact-item .item img {
        margin: 0 0 15px 0;
    }
}

.modal-content {
    border-radius: 0;
}

@media (min-width: 991px) {
    .modal-dialog {
        max-width: 500px;
        margin: 2.75rem auto;
    }
}

div.wpcf7-response-output {
    background-color: #fff;
}

span.wpcf7-not-valid-tip {
    display: block !important;
    padding-top: 5px !important;
    font-size: 12px !important;
}

.wpcf7-not-valid:focus,
.wpcf7-not-valid {
    border-color: red !important;
    background-color: #ffd0d0 !important;
}

.footer-desc,
.footer-contact {
    /*margin-bottom: 15px;*/
    font-size: 15px;
}

.footer-contact i:not(.fa-line) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background-color: #fff;
    border-radius: 3px;
    color: #000;
    margin-right: 10px;
    flex: 0 0 auto;
}

.footer-contact i.fa-line {
    font-size: 28px;
    margin-right: 10px;
}

label.error {
    font-size: 11px;
    display: block;
    margin-top: 3px;
    color: red;
}
