body {
    overflow-x: hidden;
}
div.fblikebar {
    height: 49px;
}
.block-choose-type {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    text-align: center;
}
.block-choose-type > .block-choose-type-detail {
    width: 325px;
    height: 185px;
    border-radius: 8px;
    padding: 5px 15px 5px 15px;
    vertical-align: middle;
    display: inline-block;
    margin-left: 7px;
    margin-right: 7px;
    cursor: pointer;
    transition: all .5s;
    border: 1px solid #e7e7e7;
}
.block-choose-type > .block-choose-type-detail:hover {
    transform: scale(1.1);
}
.block-choose-type > .block-choose-type-detail > h3 {
    margin-top: 15%;
}
.mega-menu {
    width: 100%;
}
.header-seminardd-desktop .header-seminardd-desktop-content {
    margin-top: 14px;
}
.fancybox-opened {
    top: 35px !important;
}
.fancybox-type-iframe .fancybox-inner {
    height: 500px !important;
}

input[type="file"] {
    margin-bottom: 20px;
    margin-left: 20px;
    border: 1px solid #aaa;
    padding: 5px 15px;
    border-radius: 50px;
}
.header-joinus {
    font-family: 'kanit','sans-serif';
    background-image: url(../images/bg-join-us.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 59%;
    width: 100%;
    height: 500px;
}
.header-joinus > .width-block {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.header-joinus .content-header-joinus {
    text-align: left;
    left: 0%;
    color: white;
    margin-top: 10%;
    position: absolute;
    width: 45%;
}
.header-joinus .content-header-joinus > h4, .header-joinus > .content-header-joinus > h1, .header-joinus > .content-header-joinus > p {
    margin: 0;
    color: white !important;
}
.header-joinus .content-header-joinus > h4 {
    margin-bottom: 0px;
}
.header-joinus .content-header-joinus > h1 {
    font-size: 37px;
    margin-bottom: 28px;
    color: white;
    text-transform: uppercase;
}
.header-joinus .content-header-joinus > p {
    margin-bottom: 35px;
    font-size: 16px;
    line-height: 25px;
}
.header-joinus .content-header-joinus > p > span {
    color: #ffffff;
    font-weight: bold;
    background-color: #0faae0;
    border-radius: 50px;
    padding-left: 8px;
    padding-right: 10px;
    letter-spacing: 1px;
}
.will_receive {
    font-family: 'kanit','sans-serif';
    background-image: url(../images/teacher-smiling.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 880px;
    background-position: 100%;
    margin-top: -39px;
}
.will_receive > .width-block {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.will_receive .content-will-receive {
    left: 0%;
    color: white;
    margin-top: 6%;
    position: absolute;
    width: 100%;
}
.will_receive .content-will-receive .block-receive {
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgb(20 172 224 / 82%) 60%, rgb(255 255 255 / 19%) 100%);
    color: #363636;
    border-radius: 15px;
    margin-top: 25px;
    padding: 10px 15px;
    width: 65%;
}
.will_receive .content-will-receive .block-receive img {
    display: inline-block;
    width: 60px;
    vertical-align: baseline;
    margin-right: 15px;
}
.will_receive .content-will-receive .block-receive .block-receive-text {
    display: inline-block;
    width: 87%;
    color: white;
}
.will_receive .content-will-receive .block-receive .block-receive-text p {
    font-size: 16px;
    margin: 0;
    line-height: 25px;
}
.will_receive .content-will-receive .block-receive .block-receive-text p.title {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 17px;
    text-shadow: 1px 1px black;
    letter-spacing: 1px;
}
.block-my-lecturer {
    margin-top: 50px;
    margin-bottom: 70px;
}
.block-my-lecturer .content-block-my-lecturer {
    margin-top: 30px;
}
.card-my-lecturer {
    border: 1px solid #dedede;
    border-radius: 8px;
}
.card-my-lecturer .block-my-lecturer-img {
    position: relative;
}
.card-my-lecturer .block-my-lecturer-img img:not(.verify) {
    width: 100%;
    height: 270px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}
.card-my-lecturer .block-my-lecturer-content {
    padding: 5px 15px;
    text-align: center;
    margin-top: 15px;
}
.card-my-lecturer .block-my-lecturer-content .name {
    font-weight: bold;
    font-size: 16px;
    font-family: 'kanit', 'sans-serif';
    color: #404040;
}
.card-my-lecturer .block-my-lecturer-content .about {
    color: #404040;
    height: 55px;
}
.block-my-lecturer .content-block-my-lecturer a:hover {
    text-decoration: none;
}
.block-my-lecturer .content-block-my-lecturer a:hover p{
    color: #0FAAE0 !important;
    transition: 0.3s;
}
.block-register {
    margin-top: 60px;
}
.header-seminardd-desktop .menu > ul li a.mega-type-post {
    width: 115px;
}
.who-seminar {
    margin-top: 80px;
}
.image-who {
    display: inline-block;
    width: 33%;
}
.content-who {
    display: inline-block;
    width: 62%;
    margin-left: 20px;
}
.content-who p {
    font-size: 16px;
    line-height: 25px;
}
.verify {
    position: absolute;
    width: 25px;
    bottom: 0;
    right: 0;
}
#recaptcha > div {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}
.img-online-lesson {
    top: -28px;
    position: relative;
}


@media (max-width: 1024px) {
    .header-joinus .content-header-joinus {
        left: 5%;
    }
    .content-who {
        width: 55%;
        margin-left: 70px;
    }
    .will_receive {
        background-position: 56%;
    }
    .will_receive .content-will-receive {
        left: 3%;
        width: 98%;
    }
}
@media (max-width: 768px) {
    .header-joinus > .width-block {
        width: 100%;
    }
    .header-joinus {
        background-position: 70% 59%;
    }
    .header-joinus .content-header-joinus {
        margin-top: 8%;
        width: 55%;
    }
    .will_receive > .width-block {
        width: 100%;
    }
    .will_receive .content-will-receive .block-receive .block-receive-text {
        width: 100%;
    }
    .will_receive .content-will-receive .block-receive {
        width: 96%;
        text-align: center;
    }
    .img-online-lesson {
        top: 0;
    }
    .will_receive .content-will-receive .block-receive img {
        margin-bottom: 10px;
    }
    .will_receive {
        height: 1150px;
    }
    .image-who > img {
        width: 300px;
        top: -5px;
        left: -5px;
        position: absolute;
    }
    .who-seminar {
        margin-top: 35px;
        height: 260px;
    }
    .content-who {
        width: 55%;
        margin-left: 57px;
    }
    .card-my-lecturer {
        margin-top: 30px;
    }
}
@media (max-width: 667px) {
    .image-who > img {
        width: 280px;
        top: 9px;
    }
}
@media (max-width: 568px) {
    .header-joinus .content-header-joinus {
        margin-top: 13%;
        width: 70%;
    }
    .image-who > img {
        width: 220px;
        top: 55px;
        left: 5px;
    }
    .who-seminar {
        margin-top: 9px;
    }
    .will_receive {
        height: 1190px;
    }
}
@media (max-width: 450px) {
    .header-joinus .content-header-joinus {
        width: 92%;
    }
    .image-who {
        display: none;
    }
    .content-who {
        width: 100%;
        margin-left: 0;
    }
    .will_receive {
        height: 1275px;
    }
    .card-my-lecturer .block-my-lecturer-img img:not(.verify) {
        height: 390px;
    }
}
@media (max-width: 414px) {
    .will_receive {
        height: 1305px;
    }
}
@media (max-width: 375px) {
    .card-my-lecturer .block-my-lecturer-img img:not(.verify) {
        height: 345px;
    }
    .will_receive {
        height: 1345px;
    }
}
@media (max-width: 320px) {
    .will_receive {
        height: 1408px;
    }
    .card-my-lecturer .block-my-lecturer-img img:not(.verify) {
        height: 300px;
    }
}