@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

*,
body {
    font-family: "Kanit", sans-serif;
}

.mainReg {
    width: 100vw;
    min-height: 100vh;
    position: relative;
    padding: 1.8rem;
    background-image: url("../images/reglogin/bg.jpg");
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.mainReg.mainRegPh{
    background-image: url("../images/reglogin/bg3.jpg");
}
.imgTitleMa {
    width: 100%;
    max-width: 550px;
}

/* countdown temp css */
.mainCountdown {
    background-image: url("../images/reglogin/bg.jpg");
    background-size: cover;
    background-position: center center;
}
.mainVideo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #ffffff;
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}
.mainVideo video {
    /* -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100; */
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}
.mainVideo .overlayVideo {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.boxDataCountDown {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.boxDataCountDown ul {
    margin-bottom: 0;
}

.cardRegister {
    width: 95%;
    max-width: 750px;
    background-color: #ffffff;
    margin-top: 1.5rem;
    border-radius: 1.8rem;
}
.cardRegPH {
    width: 100%;
    min-height: 40vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.btnSelectTypePH {
    font-size: 18px;
    color: #ffffff;
    background-color: #2484c6;
    border-radius: 1.5rem;
    border: 1px solid #2484c6
}
.btnSelectTypePH:hover {
    background-color: #ffffff;
    border: 1px solid #2484c6
}
.cardRegister .txtTabReg {
    text-align: center;
    color: #58595b;
    font-size: 20px;
    font-weight: 500;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.cardRegister .headerCard {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
}

.cardRegister .headerCard .btn.btn-registerhos,
.cardRegister .headerCard .btn.btn-registersto {
    margin: 0 0;
    box-shadow: none;
    font-family: "Prompt";
    font-weight: 500;
    color: #ffffff;
    background-color: #0a1a72;
    border-radius: 0;
    font-size: 14px;
}

.cardRegister .headerCard .btn.btn-registerhos.active,
.cardRegister .headerCard .btn.btn-registersto.active {
    background-color: #ffffff;
    color: #1d4a8d;
}

.formCon,
.formReg,
.formRegHos,
.formRegSto {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.formCon .form-control {
    background-color: #e6e7e8;
    border-color: #e5e6e7;
    font-size: 14px;
    border-radius: 1.5rem;
}


.formReg .form-control,
.formRegHos .form-control,
.formRegSto .form-control {
    background-color: #e6e7e8;
    border-color: #e5e6e7;
    font-size: 14px;
    height: 40px;
    border-radius: 1.5rem;
}
.formRegSto .form-control:disabled{
    background-color: #a7a9ac;
}
.formReg .custom-control-input:checked ~ .custom-control-label::before,
.formRegHos
    .custom-control-input:checked
    ~ .custom-control-label::before
    .formRegSto
    .custom-control-input:checked
    ~ .custom-control-label::before {
    border-color: #58595b;
    background-color: #58595b;
}

.autocomplete {
    position: relative;
    display: inline-block;
    width: 100%;
}
.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

.txtPolicy {
    font-size: 10px;
    color: #58595b;
}

.btnRegister {
    background-color: #57585b;
    color: #ffffff;
    font-size: 18px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    border-radius: 1.5rem;
}

.txtForMA {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.logoGSK {
    position: absolute;
    top: 15px;
    right: 15px;
}
.successText1 {
    text-align: center;
    font-size: 24px;
    color: #57585b;
    font-weight: bold;
    margin-top: 2.3rem;
}
.successText2 {
    text-align: center;
    font-size: 20px;
    color: #57585b;
    font-weight: 500;
}
.successText3 {
    text-align: center;
    font-size: 20px;
    color: #57585b;
    font-weight: 400;
    margin-bottom: 2.3rem;
}
@media (max-width: 1024px) {
    .mainReg {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .logoGSK {
        width: 60px;
    }
    .txtForMA {
        max-width: 45%;
    }
}
@media (max-width: 767px) {
    .cardRegPH {
        flex-direction: column;
    }
}
@media (max-width: 515px) {
    .successText1 {
        text-align: center;
        font-size: 18px;
        color: #57585b;
        font-weight: bold;
        margin-top: 2.3rem;
    }
    .successText2 {
        text-align: center;
        font-size: 16px;
        color: #57585b;
        font-weight: 500;
    }
    .successText3 {
        text-align: center;
        font-size: 16px;
        color: #57585b;
        font-weight: 400;
        margin-bottom: 2.3rem;
    }
}
