﻿body {
    background-color:  #fff;
    font-family: 'Kanit';
}

header .top-menu {
    position: relative;
    height: 70px;
}

header .logo {
    display: inline-block;
    margin-top: 10px;
}

header ul.nav {
    position: absolute;
    right: 0;
    display: inline-block;
}

header .nav-item {
    display: inline-block;
}

section {
    padding: 100px 0;
}

.nav {
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
}

.navbar {
    display: none;
}

ul li a {
    color: #000;
    margin-top: 5px;
}

ul li a:hover {
    color: #ffa500;
}

ul li button {
    margin-top: 5px;
}

section.assign {
    position: relative;
    padding: 100px 0 150px 0;
}

.bg-assign {
    background-image: url(../images/public/assignPage.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

.buttonRegister {
    background-color: #ffa500;
    border: none;
    color: #fff;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    padding: 7px 30px;
    cursor: pointer;
}

.buttonRegister:hover {
    background-color: #d45802;
    transition-duration: 1s;
}

.buttonLogin {
    background-color: #fff;
    border: 2px solid #ffa500;
    color: #ffa500;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    padding: 5px 20px;
    cursor: pointer;
}

.buttonLogin:hover {
    background-color: #ffa500;
    transition-duration: 1s;
    color: #fff;
}

.buttonSubmit {
    margin-top: 40px;
    background-color: #51bdec;
    border: none;
    color: #fff;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    padding: 8px 60px;
    cursor: pointer;
}

.button5 {
    border-radius: 30px;
    margin-left: 10px;
}

.headText {
    margin-bottom: 60px;
}

.headText h1 {
    width: 100%;
    text-align: center;
}

.form-group {
    width: 100%;
    text-align: center;
}

.col-centered{
    float: none;
    margin: 20px auto;
}

/*navbar Info*/
.navbarInfo {
    display: block;
    margin-top: 70px;
    background-color: #51bdec;
    padding-left: 25%;
}

.navbarInfo ul li a {
    font-size: 16px;
    color: #fff;
}

.navbarInfo ul li a:hover {
    color: #ffa500;
}

/*Page 2*/

.bg-welcome {
    background-image: url(../images/public/bottomBackgroundOpacity.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

.heading {
    font-size: 40px;
    padding-left: 10px;
}

.buttonP2register {
    background-color: #ffa500;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    padding: 10px 50px;
    cursor: pointer;
}

.buttonP2register:hover {
    -webkit-animation-name: ChangeColorB2;
    -webkit-animation-duration: 0.5s;
    animation-iteration-count: infinite;
}

@keyframes ChangeColorB2 {
    from {background-color: #ffa500;}
    to {background-color: #d45802;}
}

section.welcomPage {
    padding: 200px 0;
}

/*footer*/

.footerBanner {
    padding-top: 10px;
    background: #51bdec;
}

.footerHeader {
    color: #fff;
    font-weight: bold;
}

.logo{
    max-width: 100%;
}

.lowFooter {
    background: #efefef;
    padding: 30px 0;
}

.lowFooter h5{
    font-weight: bold;
}

.lowFooter li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.lowFooter ul {
    padding: 0;
}

/*Register Page*/

.formInfo input:invalid{
    border-color: #ff1717;
    border-width: 2px;
}

.formInfo input:required:valid {
    border-color: #90e83d;
    border-width: 2px;
}

.section.registerPage {
    position: relative;
    padding: 100px 0 150px 0;
}

.bg-registerPage {
    background-image: url(../images/public/registerPage.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

.registerheadText {
    margin-bottom: 60px;
}

.registerheadText h5 {
    color: #929394;
}

.registerheadText h1,.registerheadText h5 {
    width: 100%;
    text-align: center;
}

.registerForm {
    background-image: url("../images/public/registerBG.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 ;
}

.btnSubmit {
    background-color: #51bdec;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    padding: 10px 50px;
    cursor: pointer;
}

.registerForm span {
    color: red;
}

.submitRegister {
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.registerForm  label {
    font-size: 20px;
    text-align: left;
}

.centered{
    margin: 20px auto;
}

.formInfo {
    margin:20px 0;
    position: relative;
    left: 20%;
}

/*Home Page*/
/*Page1-1*/
.bg-home1 {
    background-image: url(../images/public/home-background-1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

section.homePage1 {
    padding: 100px 0 0;
}

.homeLogo {
    max-width: 100%;
    margin-top: 100px;
}

.buttonP1register {
    background-color: #51bdec;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    margin: 50px 0 300px 0;
    padding: 10px 50px;
    cursor: pointer;
}

.buttonP1register:hover {
    -webkit-animation-name: ChangeColor;
    -webkit-animation-duration: 0.5s;
    animation-iteration-count: infinite;
}

@keyframes ChangeColor {
    from {background-color: #51bdec;}
    to {background-color: #106c79;}
}

.homeText {
    color: #929394;
}

/*Page1-2*/
.bg-home2 {
    background-image: url(../images/public/home-background-2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

/*Page1-3*/
.bg-home3 {
    background-image: url(../images/public/home-background-3.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

/*Info Page*/
/*Page 1*/
.section.InfoPage {
    padding: 200px 0;
}

.bg-info {
    background-image: url(../images/public/InfoBG.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

.textInfo {
    background-color: rgba(255, 255, 255, .9);
    margin: 230px 0;
    padding: 40px;
}

.textInfo h3 {
    font-weight: bold;
    color: #51bdec;
    margin: 0 60px 40px 60px;
}

.textInfo p {
    color: #707070;
    margin: 0px 30px 0 30px;
    font-size: 17px;
}

/*Page 2*/
.divInfo {
    margin-bottom: 50px;
}

.section.InfoPage2 {
    padding: 200px 0;
}

.bg-info2 {
    background-color: #f4f8f9;
    background-position: center;
    background-size: cover;
    height: 100%;
}

.infoTextP2 {
    padding: 60px;
}

.infoTextP2 h3 {
    margin-bottom: 30px;
}

.infoTextP2 p {
    font-size: 17px;
}

.InfoPic img {
    margin-top: 20px;
    max-width: 270px;
    max-height: 300px;
}

/*Package Page*/
.bg-package-page {
    background-image: url(../images/public/bgPackagePage.png);
    background-color: #f4f8f9;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.yearPackageIcon {
    max-width: 100%;
}

.header-P4 {
    margin-top: 100px;
    margin-bottom: 30px;
}

.yearPackageDiv {
    margin: 40px 0;
    padding: 40px 0;
    background-color: #fff;
    box-shadow: 1px 1px 2px 2px #dbdbdb; /*use this color for shadow a box*/
}

.yearRedText {
    padding: 20px 0;
    color: red;
}

.yearRedText img {
    max-width: 30px;
}

.buttonP4readInfo {
    background-color: #ffa500;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    padding: 10px 50px;
    margin: 20px 0;
    cursor: pointer;
}

.buttonP4readInfo:hover {
    -webkit-animation-name: ChangeColorB2;
    -webkit-animation-duration: 1s;
    animation-iteration-count: infinite;
}

.header-P4 h1 {
    font-weight: bold;
}

.header-P4 p, .header-P4-2 p {
    color: #929394;
    font-size: 20px;
}

.header-P4-2 {
    margin: 60px 0 40px;
}

.header-P4-2 h1 {
    font-weight: bold;
}

.headerP4b {
    margin: 10px 0;
}

.userText {
    font-size: 20px;
}

.headerP4b h3 {
    border-bottom: 1px solid #e5e5e5;
}

.packageInfo2 {
    margin-bottom: 80px;
}

.recommandPackageDiv {
    background-color: #fff;
    box-shadow: 1px 1px 2px 2px #dbdbdb;
}

.basicPackageDiv {
    background-color: #fff;
    box-shadow: 1px 1px 2px 2px #dbdbdb;
}

.packageIcon2 {
    max-width: 196px;
    margin: 20px 0 40px 0;
}

.buttonP4Package1 {
    background-color: #51bdec;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    padding: 10px 30px;
    margin-bottom: 20px;
    cursor: pointer;
}

.buttonP4Package1:hover {
    background-color: #2691bf;
    transition-duration: 1s;
}

.buttonP4Package2 {
    background-color: #fff;
    border: 1px solid #51bdec;
    color: #000;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    padding: 10px 30px;
    margin-top: -10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.buttonP4Package2:hover {
    background-color: #51bdec;
    color: #fff;
    transition-duration: 1s;
}

.ImgTableP4 img {
    max-width: 100%;
    margin-bottom: 80px;
}

/*Contact Page*/

.bg-contact {
    background-image: url(../images/public/registerPage.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

.contactHeader {
    margin-top: 100px;
    margin-bottom: 20px;
}

.contactHeader p {
    font-size: 24px;
    color: #929394;
}

.contactImgBlock {
    margin-bottom: 100px;
}

.contactImg1 {
    max-width: 80%;
}

.contactImg2 {
    display: none;
}

/*Login Page*/
.assignForm input:invalid{
    border-color: #ff1717;
    border-width: 2px;
}

.assignForm input:required:valid {
    border-color: #90e83d;
    border-width: 2px;
}

.buttonLoginSubmit {
    margin-top: 40px;
    background-color: #51bdec;
    border: none;
    color: #fff;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    padding: 8px 60px;
    cursor: pointer;
}

.section.loginPage {
    position: relative;
    margin: 100px 0;
    padding: 100px 0 150px 0;
}

.bg-login {
    background-image: url(../images/public/assignPage.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

.loginForm {
    margin-top: 100px;
    margin-bottom: 100px;
}

#divRegisterSuccess1 {
    background-color: #fff;
    color: #000000;
    padding: 80px;
}

#divRegisterSuccess1 p {
    font-size: 18px;
}

.buttonSubmit:hover, btnSubmit:hover,buttonLoginSubmit:hover {
    -webkit-animation-name: ChangeColor;
    -webkit-animation-duration: 0.5s;
    animation-iteration-count: infinite;
}

:-ms-input-placeholder,
::-ms-input-placeholder {
    color: #d5d5d5;
}
:-moz-placeholder,
::-moz-placeholder {
    color: #d5d5d5;
    opacity: 0.3;
}
::placeholder {
    color: #d5d5d5 !important;
}

/*---------------------------------------*/


.textHomePage3 {
    background-color: #fff;
    margin: 100px 0;
    padding: 30px;
}

.textHomePage3 h2 {
    padding-bottom: 20px;
    color: #ffa500;
    text-shadow: 2px 2px 2px #aeaeae;
}

.textHomePage3 p {
    padding-left: 20px;
    line-height: 1.8;
    font-size: 18px;
    color: #929394;
}

.textHomePage3 a {
    padding-left: 20px;
    color: #51bdec;
}

.oneLine {
    width: 100%;
    position: relative;
}

.oneLine:nth-child(n+2) {
    margin-bottom: 100px; /* select 1-2-3 element */
}

.oneLine:nth-last-child(n+2) {
    margin-top: 100px; /* select 2-3-4 element */
}

.homeIcon {
    max-width: 60%;
}

.navbar-toggler {
    display: none;
}

/*Hamburger Bar*/
 .hamburgerBars li a {
     font-size: 20px;
     color: #000000;
 }

 .hamburgerBars li a:hover {
     color: #ffa500 !important;
 }

.HBar {
    z-index: 3000;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    box-shadow:0px 1px 1px #dbdbdb;
}

.navButton {
    position: absolute;
    margin-top: -40px;
    margin-left: 80%;
}

.hamburgerBars li a{
    background-color: #fff;
    border-style: solid;
    border-width: 1px;
    border-color: #ececec;
}

@media screen and (max-width: 1199px) {
    .HBar .nav-link,
    .buttonRegister,
    .buttonLogin {
        padding-left: 10px;
        padding-right: 10px;
    }

    .navbarInfo {
        padding-left: 20%;
    }

    .formInfo {
        left: 0;
    }
}


@media screen and (max-width: 991px) {
    header .HBar ul.nav {
        display: none;
    }

    .navButton {
        display: block;
        z-index: 3000;
    }

    .HBar .nav-link {
        margin-top: 0;
    }

    .contactImg1 {
        display: none;
    }

    .contactImg2 {
        display: block;
        max-width: 100%;
    }

    .navbarInfo {
        padding: 10px;
        text-align: center;
    }

}

.mobile-menu .nav-item a {
    border-top: 1px solid #e6f9ff;
}

.mobile-menu .nav-item a:hover {
    background-color: #e6f9ff;
}

.errorLogin {
    color: #FF0000;
}

input.deletable::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}