/***************************************
*General
****************************************/

body {
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.54em;
    color: #737373;
    font-optical-sizing: auto;
    font-style: normal;
}

.sect-title .sub-title {
    font-family: "Kanit", sans-serif;
    color: #28a3dd;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.17em;
    text-transform: uppercase;
    margin-bottom: 6px;
    position: relative;
}

.sect-title h2,
.sect-title .h2,
.bloc-title {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    color: #16171a;
    font-size: 40px;
    line-height: 1.2em;
    margin-bottom: 53px;
    position: relative;
}

.sect-title h1,
.sect-title .h1,
.page-title {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    color: #16171a;
    font-size: 40px;
    line-height: 1.2em;
    margin-bottom: 23px;
    position: relative;
}


/* Preloader */

.preloader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: #ffffff;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../images/preloader.svg);
    background-size: 140px;
}


/** Colors **/

.color--1 {
    color: #fff !important;
}

.color--2 {
    color: #28a3dd !important;
}

.color--3 {
    color: #002277 !important;
}

.color--4 {
    color: #16171a !important;
}

.color--5 {
    color: #ededf5 !important;
}

.color--6 {
    color: #282828 !important;
}

.color--7 {
    color: #f1e521 !important;
}


/** Background **/

.background--1 {
    background-color: #fff !important;
}

.background--2 {
    background-color: #28a3dd !important;
}

.background--3 {
    background-color: #002277 !important;
}

.background--4 {
    background-color: #16171a !important;
}

.background--5 {
    background-color: #ededf5 !important;
}

.background--6 {
    background-color: #282828 !important;
}

.background--7 {
    background-color: #f1e521 !important;
}


/** Swipper **/

.swiper-container .swiper-pagination {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 38px;
}

.swiper-container .swiper-pagination .swiper-pagination-bullet {
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    width: 10px;
    height: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #fff;
}


/** Socials **/

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

.social-links .social-link:not(:last-child) {
    margin-right: 10px;
}

.social-links .social-link:hover {
    color: #3c3c3b;
}

.social-links .social-link:hover svg path {
    color: #3c3c3b;
    fill: #3c3c3b !important;
}


/** Variables **/

p {
    margin-bottom: 1.54em;
}

section {
    padding-top: 70px;
    padding-bottom: 70px;
    position: relative;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
}

.form-group {
    margin-bottom: 25px;
}

ol,
ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

strong,
b {
    font-weight: 700;
}

iframe {
    width: 100%;
    border: none;
    display: block;
}

.img-resp,
img {
    max-width: 100%;
    height: auto;
}

*::-moz-selection {
    background: #1a1a1a;
    color: #fff;
    text-shadow: none;
}

::-moz-selection {
    background: #1a1a1a;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #1a1a1a;
    color: #fff;
    text-shadow: none;
}

.form-control,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input,
select {
    vertical-align: middle;
    width: 100%;
    padding: 20px 18px;
    font-family: "Kanit", sans-serif;
    color: #7f7f7f;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2em;
    text-transform: inherit;
    outline: none;
    height: 56px;
    border: 1px solid #7f7f7f;
    background: none;
    margin: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    text-align: left;
    position: relative;
    z-index: 1;
    font-style: normal;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-transform: none;
}

.btn-1,
.btn-2,
.btn-3,
input[type="submit"],
input[type="button"] {
    font-family: "Kanit", sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2em;
    text-transform: uppercase;
    background: #28a3dd;
    padding: 15px 20px;
    text-align: center;
    position: relative;
    border: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    cursor: pointer;
    outline: none !important;
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-shadow: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    text-decoration: none;
    letter-spacing: normal;
    z-index: 1;
    overflow: hidden;
    height: 54px;
}

.btn-1:before,
.btn-2:before,
.btn-3:before,
input[type="submit"]:before,
input[type="button"]:before {
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #28a3dd;
    transform-origin: 50%;
    transition-property: transform;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
    transition: 0.5s;
    z-index: -1;
}

.banner-slide__action a:before {
    background :#002277
}

.btn-2 {
    color: #fff;
    background: #16171a;
}

.btn-2:before {
    background: #16171a;
}

.btn-3 {
    color: #16171a;
    background: #ffffff;
}

.btn-3:before {
    background: #ffffff;
}

.btn-1 svg,
.btn-2 svg,
input[type="submit"] svg,
input[type="button"] svg {
    margin-left: 10px;
}

.btn-1:hover,
.btn-1:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="button"]:hover,
input[type="button"]:focus {
    background: #002277;
    color: #fff;
}

.btn-2:hover,
.btn-2:focus,
.btn-3:hover,
.btn-3:focus {
    background: #28a3dd;
    color: #fff;
}

.btn-1:hover:before,
.btn-1:focus:before,
input[type="submit"]:hover:before,
input[type="submit"]:focus:before,
input[type="button"]:hover:before,
input[type="button"]:focus:before {
    transform: scaleX(0);
    background: #002277;
}

.btn-2:focus:before,
.btn-2:hover:before,
.btn-3:focus:before,
.btn-3:hover:before {
    transform: scaleX(0);
    background: #28a3dd;
}

.form-control:focus,
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: none;
    color: #7f7f7f;
    border: 1px solid #999999;
}

input::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #7f7f7f !important;
}

input::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #7f7f7f !important;
    opacity: 1;
    /* Firefox */
}

input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #7f7f7f !important;
}

textarea::placeholder {
    color: #787878 !important;
}

.text-align-last {
    -moz-text-align-last: center;
    text-align-last: center;
}

.text-hyphens {
    -ms-hyphens: auto;
    hyphens: auto;
}

.object-fit-cover {
    object-fit: cover;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0.8;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.middle-shade:before {
    background: rgba(40, 163, 221, 0.2);
    bottom: 0;
    content: "";
    left: 50%;
    position: absolute;
    right: 51%;
    top: 0;
    opacity: 1;
    pointer-events: none;
    transition: all 0.4s linear;
    z-index: 1;
}

.middle-shade:hover:before {
    left: 0;
    right: 0;
    opacity: 0;
}

.bg-img {
    position: absolute;
    left: 0;
    left: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flex--1 {
    -ms-flex: 1;
    flex: 1;
}

.z-index--1 {
    z-index: 1;
}

.z-index--2 {
    z-index: 2;
}

.z-index--auto {
    z-index: auto;
}

.margin-b-30px {
    margin-bottom: 30px;
}

.padding-l-30px {
    padding-left: 30px;
}

.padding-r-30px {
    padding-left: 30px;
}

.margin-b-20px {
    margin-bottom: 20px;
}

.height-300px {
    height: 300px;
}

.height-400px {
    height: 350px;
}

.text-normal {
    text-transform: none;
}

.text-underline {
    text-decoration: underline;
}

.text-decoration-none {
    text-decoration: none !important;
}

.border-radius-25px {
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
}

.margin-b-17px {
    padding-bottom: 17px;
}

.margin-r-neg20px {
    margin-right: -20px;
}

.cursor-pointer {
    cursor: pointer;
}

.top-0 {
    top: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

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

.width-50 {
    width: 50%;
}

.width-auto {
    width: auto !important;
}


/** Transition **/

img,
svg,
svg path {
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}


/** Extra Outer **/

body .page {
    position: relative;
    background-color: #fdfdfd;
    overflow: hidden;
}

body .site-main {
    background-color: #fdfdfd;
}


/***************************************
* Header
****************************************/
.site-header-menu,
.site-navigation,
.main-header .site-navigation .menu ul li,
.site-navigation__inner {
    position: relative;
}

.main-menu-toggle input[type=checkbox],
.main-menu-toggle {
    display: none;
}

.main-header {
    width: 100%;
    background: transparent;
    -webkit-transition: all ease 0.4s;
    transition: all ease 0.4s;
    z-index: 99;
    position: relative;
    background: #fff;
}

.site-header-top-nav {
    position: relative;
    width: 100%;
    -ms-flex: 1;
    flex: 1;
}

.main-header .site-navigation .menu>ul>li>a {
    font-family: "Kanit", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #3c3c3b;
    position: relative;
    line-height: 1.2em;
    text-align: center;
    display: flex;
    align-items: center;
}

.main-header .site-navigation .menu ul ul>li a {
    font-family: "Kanit", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #3c3c3b;
    line-height: 1.2em;
    display: block;
    position: relative;
    padding: 6px 0;
}

.main-header .site-navigation .menu>ul>li.active>a,
.main-header .site-navigation .menu>ul>li.hover>a,
.main-header .site-navigation .menu>ul>li:hover>a {
    color: #28a3dd;
}

.main-header .site-navigation .menu ul ul>li.active>a,
.main-header .site-navigation .menu ul ul>li:hover>a,
.main-header .site-navigation .menu ul ul>li.hover>a {
    color: #28a3dd;
}


/** Otherlinks **/

.main-header .ohter-links a {
    background: #002277;
    color: #fff;
    font-size: 18px;
}

.main-header .ohter-links a:before {
    background: #002277;
}

.main-header .ohter-links a:hover {
    background-color: #28a3dd;
    color: #fff;
}

.main-header .ohter-links a:hover:before {
    transform: scaleX(0);
    background: #28a3dd;
}

/** Header top **/

.main-header__top {
    height: 46px;
    display: flex;
    position: relative;
    padding: 10px 0;
    background: rgb(40, 163, 221);
    background: -moz-linear-gradient(90deg, rgba(40, 163, 221, 1) 0%, rgba(0, 34, 119, 1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(40, 163, 221, 1) 0%, rgba(0, 34, 119, 1) 100%);
    background: linear-gradient(90deg, rgba(40, 163, 221, 1) 0%, rgba(0, 34, 119, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#28a3dd", endColorstr="#002277", GradientType=1);
}

.main-header__top-items {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    -moz-column-gap: 30px;
    -webkit-column-gap: 30px;
    column-gap: 30px;
}

.main-header__top-item,
.main-header__top-item>a {
    font-family: "Kanit", sans-serif;
    display: flex;
    align-items: center;
    position: relative;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2em;
    height: 100%;
    -webkit-transition: all ease 0.3s;
    transition: all ease 0.3s;
}

.main-header__top-item>a span+span {
    background-image: linear-gradient(to left, #fff, #fff);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 1px;
}

.main-header__top-item>a:hover {
    color: #3c3c3b;
}

.main-header__top-item>a:hover svg path {
    color: #3c3c3b;
    fill: #3c3c3b !important;
}

.main-header__top-item>a:hover span+span {
    background-image: linear-gradient(to left, #3c3c3b, #3c3c3b);
}

.main-header__top-item svg {
    margin-right: 15px;
}

.main-header__top-item.main-header__social svg {
    margin: 0;
}

.main-header__top-item.main-header__social span {
    margin-right: 15px;
}


/***************************************
* Footer
****************************************/
.footer {
    position: relative;
    padding-top: 56px;
}


.footer-title {
    font-family: "Kanit", sans-serif;
    color: #28a3dd;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 15px;
}


/***************************************
* Bloc text / image
****************************************/

.bloc-text {
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.54em;
    color: #737373;
    position: relative;
}

.bloc-text p:last-of-type {
    margin-bottom: 0;
}

.bloc-text h2,
.bloc-text .h2 {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    color: #16171a;
    font-size: 30px;
    line-height: 1.2em;
    margin-bottom: 25px;
}
.bloc-text p img,
.bloc-text h2 img {
    display: none;
}