/*!
 * Start Bootstrap - Shop Homepage (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */


/* font { */
body {
    font-family: 'Kanit', sans-serif;
    font-family: 'Prompt', sans-serif;
}
/* } font */

.slide-image {
    width: 100%;
}

.carousel-holder {
    margin-bottom: 30px;
}

.carousel-control,
.item {
    border-radius: 4px;
}

.caption {
    height: 160px;
    overflow: hidden;
}

.caption h4 {
    white-space: nowrap;
}

.thumbnail img {
    width: 100%;
}

.ratings {
    padding-right: 10px;
    padding-left: 10px;
    color: #d17581;
}

.thumbnail {
    padding: 0;
}

.thumbnail .caption-full {
    padding: 9px;
    color: #333;
}

/* footer {
    margin: 50px 0;
} */


/* -------------------css-page-Thai_Teacher_In_The_USA.php-------------------- */

body {
    align-items: center;
    width: 100%;
    /* font-family: 'Noto Serif Thai', serif; */
}

h5 {
    line-height: 2;
}

/* image banner{ */
.banner-img {
    width: 100%;
    
}
/* } */

/* title-exchang { */
.title-exchang {
    color: #041657;
}
.title-exchang h2{
    font-weight: 800;
    font-size: 40px;
}

@media (max-width: 480px) {
    .title-exchang h2{
    font-weight: 700;
    font-size: 28px;
    }
}
/* } */

/* ข้อความเกริ่นนำ{ */
.detail{
    box-sizing: border-box;
    padding: 25px;
    margin-left: 3%;
    margin-right: 2%;
}
.detail p{
    text-indent: 6%;
    font-size: 22px;
    line-height: 2;
}

@media (max-width: 480px){
    .detail{
        padding: 15px;
    }
    .detail p{
    font-size: 14px;
    }
}
/* } */

/* objective { */
.objective {
    background-color: #121c74;
    color: aliceblue;
}

.objective .text {
    box-sizing: border-box;
    padding-left: 10px;
    margin-left: 3%;
}

.objective .text p {
    font-size: 22px;
    line-height: 2;
}

@media (max-width: 480px) {
    .objective .text p {
    font-size: 14px;
    line-height: 2;
    }
}
/* } */

/* introducet-card { */
.introduce-card h6{
    font-size: 19px;
}

.introduce-card p{
    line-height: 25px;
}

.introduce-card .card{
    transition: all 0.5s ease;
}

.introduce-card {
    width: 70%;
    height: 70%;
    display: block; 
    margin-left: auto;
    margin-right: auto;
}

.introduce-card .card:hover {
    background-color: #121c74;
    color: #eee;
    font-size: 17px;
}



@media (max-width: 480px){
    .introduce-card h6 {
        font-size: 17px;
    }
}

/* } */


/* Candidate_Qualifications { */
.Qualifications {
    box-sizing: border-box;
    padding-left: 10px;
    margin-left: 25px;
}

.Qualifications .text p{
    line-height: 2;
    font-size: 20px;
}

.Candidate_Qualifications {
    background-color: #121c74;
    color: aliceblue;
}

@media (max-width: 480px) {
    .Qualifications .text p{
    line-height: 2;
    font-size: 14px;
    }
}
/* } */


/* css ของform หน้าThai_Teacher_In_The_USA { */
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    /* font-family: 'Poppins', sans-serif; */
}


.container1 {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.container1 .text {
    text-align: center;
    font-size: 41px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    background: -webkit-linear-gradient(right, #041657, #1d14c7, #0f415a, #1eb3b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container1 form {
    padding: 30px 0 0 0;
}

.container1 form .form-row {
    display: flex;
    margin: 32px 0;
}

form .form-row .input-data {
    width: 100%;
    height: 50px;
    margin: 0 20px;
    position: relative;
}

.input-data input,
.textarea textarea {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    font-size: 17px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.12);
}

.input-data input:focus~label,
.textarea textarea:focus~label,
.input-data input:valid~label,
.textarea textarea:valid~label {
    transform: translateY(-20px);
    font-size: 12px;
    color: #3498db;
}

.input-data label {
    position: absolute;
    pointer-events: none;
    bottom: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-data .underline {
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
}

.input-data .underline:before {
    position: absolute;
    content: "";
    height: 2px;
    width: 100%;
    background: #3498db;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.input-data input:focus~.underline:before,
.input-data input:valid~.underline:before,
.textarea textarea:focus~.underline:before,
.textarea textarea:valid~.underline:before {
    transform: scale(1);
}

.submit-btn .input-data {
    overflow: hidden;
    height: 45px !important;
    width: 100% !important;
}

.submit-btn .input-data:hover .inner {
    left: 0;
}
.inner .butt{
    color: rgb(0, 0, 0);
}

.submit-btn .input-data .inner{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    background:#eee;
    border: 3px solid #121c74;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    border-radius:25px;
    text-align: center;
    transition: all 0.4s ease;
    
}
.submit-btn .input-data .inner:hover {
    background:#121c74;
    border: 3px solid #121c74 ;
    color: #eee;
    font-size: 18px;
    font-weight: 520;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    border-radius:25px;
    .butt {
        color: white;
    }
}

@media (max-width: 700px) {
    .container1 .text {
        font-size: 30px;
    }

    .container1 form {
        padding: 10px 0 0 0;
    }

    .container1 form .form-row {
        display: block;
    }

    form .form-row .input-data {
        margin: 35px 0 !important;
    }

    .submit-btn .input-data {
        width: 40% !important;
    }

    .input-data label {
    margin-left: 5%;
    }
}
/* } css ของform หน้าThai_Teacher_In_The_USA */


/* ข้อมูลติดต่อ { */
.apply {
    background-color: #121c74;
    padding-bottom: 20px;
}

.apply .text h2{
    color: #eee;
}
.row{
    justify-content: center;
}

.ftcrd {
    display: flex;
    justify-content: center; /* จัดให้อยู่กึ่งกลางในแนวนอน */
    align-items: center;/* จัดให้อยู่กึ่งกลางในแนวตั้ง */
    flex-wrap: wrap;/* ทำให้การ์ดแสดงในแถวตามที่กำหนด */
    margin-left: 15px;
}

.ftcrd .card img{
    width: 50px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    
}

/* } */

/* พื้นหลัง slide_cost_of_living { */
.bckgnd-slide_cost_of_living {
    background-color: #121c74;
    color: #eee;
    width: 100%;
}
/* } */


/* css slide_cost_of_living { */
.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    /* Set flex direction to horizontal */
    flex-direction: row;
    /* Remove white space between images */
    gap: 0;
    /* Set transition for smooth animation */
    transition: transform 0.3s ease;
}

.slides img {
    max-width: 100%;
    max-height: 550px;
    margin: 15px;
    box-shadow: 2px 3px 2px 3px rgba(0, 0, 0, 0.3)
}
/* } */

/* ------------------- } css-page-Thai_Teacher_In_The_USA.php-------------------- */
