/* NOTE: BOOTSTRAP */
.navbar{
    z-index: 999;
}
.nav-link{
    font-family: 'Kanit', sans-serif;
    color: white !important;
    transition: .5s;
}

.form-control{
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    border: none;
    padding-left: 20px;
    padding-right: 20px;
}
.form-group.has-error{
    margin:0 !important;
}
.key_products.collapsed{
    background-color: blue;
    color: white;
}
.key-serv-prod button[aria-expanded="true"]{
    background-color: #007bff !important;
    color: white !important;
}
/* NOTE: myNavbar */
#main-nav {
    border-bottom: 1px solid rgba(33,37,41,.1);
    /* background-color: #25272b; */
    border:none;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}
#main-nav.navbar-shrink {
    transition: .5s;
    background: rgb(83,198,241,.7); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(83,198,241,.7) 28%, rgba(34,142,225,.7) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(83,198,241,.7) 28%,rgba(34,142,225,.7) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(83,198,241,.7) 28%,rgba(34,142,225,.7) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#53c6f1', endColorstr='#228ee1',GradientType=0 ); /* IE6-9 */
}
#main-nav.navbar-shrink .navbar-nav .nav-link{
    color: #656565 !important;
    transition: .5s;
}
#main-nav.navbar-shrink .navbar-nav .nav-link.active{
    color: white !important;
}
/* NOTE: BOOTSTRAP END */

/* NOTE: CUSTOM */
.body-scroll-off{
    overflow-y: hidden;
}

/* NOTE: font family */
.home .slogan h1, .title, .about-us .descrip small, .contact-us h3, .custom-pop-up h3{
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
}
/* NOTE: font Regular */
.home .slogan p, .about-us .descrip p, .vision-mission .vm-descip, .strategic p, .strategic li, .key-serv-prod p, .key-serv-prod .btn,
.contact-us p, .contact-us input::placeholder, .custom-pop-up p, .custom-pop-up li {
    font-family: 'Kanit', sans-serif;
    font-weight: 400;
    font-size: 16px;
}
/* NOTE: mandatory */
hr{
    border-top: 3px solid #0097e6;
    width: 50px;
    margin: 0;
}
.mt-3-5{
    margin-top: 3.5rem;
}
.mt-6{
    margin-top: 6rem;
}
.mt-7{
    margin-top: 7rem;
}
.mt-9{
    margin-top: 9rem;
}
.mt-10{
    margin-top: 10rem;
}
.c-t{
    top:-50px;
}
.pl-6{
    padding-left: 5rem !important;
}
.pl-8{
    padding-left: 8rem !important;
}
.c-shadow{
    box-shadow: 0 0rem .5rem rgba(0,0,0,.15)!important;
}
.c-border-white{
    border-color: white;
}
.c-bg-grey{
    background-color: #464646;
}

@media (max-width: 767px) {
    .c-t{
        top: 0px;
    }
    .mt-7{
        margin-top: 4rem;
    }
    .mt-10{
        margin-top: 7rem;
    }
}
@media (max-width: 1000px) {
    .home .slogan p, .about-us .descrip p, .vision-mission .vm-descip, .strategic p, .strategic li, .key-serv-prod p, .key-serv-prod .btn,
    .contact-us p, .contact-us input::placeholder, .custom-pop-up p, .custom-pop-up li{
        font-size: 13px;
    }
    .pl-6{
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
}
/* NOTE: CUSTOM END */

/* NOTE: HOME */
.home{
    background-image: url(../images/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    height: 100vh;
}
@media (min-width: 1600px) {
    .home{
        height: 80vh;
    }
}

/* NOTE: HOME END */

/* NOTE: ABOUT US */
.about-us .descrip p{
    line-height: 2.5;
}
/* NOTE: ABOUT US END */

/* NOTE: VISION & MISSION  */
.vision-mission{
    /* height: 100vh; */
    padding-bottom: 150px;
}
.container-img{
    background-image: url(../images/vission-mission.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 350px;
    z-index: 99;

}
.vm-descrip{
    right: 50px;
}
.vm-picture{
    left: 50px;
}
.vm-container{
    margin-top: 100px;
    width: 680px;
    position: absolute;
    margin-left: 380px;
}
.vm-container p{
    line-height: 2;
}
.vm-container .descrip{
    padding-bottom: 15px !important;
}

@media (max-width: 767px) {
    .vm-picture{
        left: 0;
    }
    .vm-descrip{
        right: 0;
    }
    .vision-mission{
        padding-bottom: 70px;
    }
}

/* NOTE: MV END */

/* NOTE: STRATEGIC */
.strategic p{
    line-height: 1.8;
}
.strat-img-container{
    background-image: url(../images/strategic.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 450px;
}

/* NOTE: STRATEGIC END */

/* NOTE: CONTACT US */
.contact-us{
    /* height: 120vh; */
    padding-bottom: 80px;
    background-image: url(../images/contact-us-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.contact-us-details{
    left: 30px;
    z-index: 99;
    top: 50px;
}
.contact-us-form{
    right: 30px;
}

@media (max-width: 1024px) {
    .contact-us .container-captcha{
        padding-left: 15px !important;
        text-align: center !important;
    }
    .container-security-input{
        padding-right: 15px !important;
    }
}
@media (max-width: 767px) {
    .contact-us-details{
        left: 0;
        top: 0;
    }
    .contact-us-form{
        right: 0;
        margin-top: 40px;
    }
    .mt-9{
        margin-top: 2rem;
    }
}

/* NOTE: CONTACT US END */

/* NOTE: KEY SERVICES & PRODUCT */

/* NOTE: FLIP CARDS*/
.flip-container {
    transform-style: preserve-3d;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    perspective: 1000;
    margin-top: 25px;
}
/*  UPDATED! flip the pane when hovered */
.flip-container:hover .back {
    transform: rotateY(0deg);
}
.flip-container:hover .front {
    transform: rotateY(180deg);
}
.flip-container, .front, .back {
    height:250px;
    /* padding-bottom: 10px; */
}
.flip-container img{
    margin: 0 auto;
    margin-top: 30px;
}
.flip-container h4, .flip-container h5{
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 15px;
    font-family: arial;
    line-height: 2em;
    font-family: CenturyGothicBold;
}
.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;

    position: relative;
}
.front, .back {
    width: 100%;
    backface-visibility: hidden;
    transition: 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 0rem .5rem rgba(0,0,0,.15)!important;
    position: absolute;
    top: 0;
    left: 0;
}
.front {
    background-color: white;
    z-index: 2;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
}
.back {
    transform: rotateY(-180deg);
    background: #f8f8f8;
}


.back p, .front p{
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 20px;
    font-family: arial;
    line-height: 2em;
    font-family: 'Montserrat', sans-serif;
}
.flip-container .p-adjust{
    font-size: 10px;
    color: black;
}


@media (max-width: 500px) {
    .key-serv-prod, .strategic, .contact-us, .about-us, .vision-mission, .home{
        padding-left: 15px;
        padding-right: 15px;
    }
    .key-serv-prod .collapse.show{
        margin-top: 40px !important;
    }
}
/* NOTE: END KEY */

/* NOTE: CUSTOM POP UP */
.custom-pop-up{
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    height: 100vh;
    overflow-y: auto;
    display: none;
    animation: slide-right 1s;
}
.custom-pop-up p{
    line-height: 2.2;
}
.custom-pop-up.popup-on{
    display: block;
    animation: slide-left 1s;
}

/* NOTE: END POP UP */

@keyframes slide-left {
    0%{ opacity: 0; left: -100%; }
    100%{ opacity: 1; left: 0;}
}
@keyframes slide-right {
    0%{
        opacity: 1;
        right: 0;
    }
    100%{
        opacity: 0;
        right: -100%;
    }
}

/* @-webkit-keyframes pop-in {
0% { opacity: 0; -webkit-transform: scale(0.5); }
100% { opacity: 1; -webkit-transform: scale(1); }
}
@-moz-keyframes pop-in {
0% { opacity: 0; -moz-transform: scale(0.5); }
100% { opacity: 1; -moz-transform: scale(1); }
}
@keyframes pop-in {
0% { opacity: 0; transform: scale(0.5); }
100% { opacity: 1; transform: scale(1); }
} */
