@media only screen and (max-width: 480px) {
    .section-content {
        max-width: 100%;
    }

    .wrapper {
        max-width: 100%;
    }

    /* hide mobile */
    .logo-img, .img-speed, #provide:before, .pr-title:before, #chance:before, .pr-list,
    #countdown:before, #countdown:after {
        display: none;
    }

    /* show mobile */
    .logo-img-m, .img-speed-m, #provideCarousel {
        display: block;
    }
    
    .section-1 {
        background-image: url("../images/res/section1.jpg");
        height: auto;
        padding-bottom: 11%;
    }

    .logo-wr {
        width: 80px;
        padding-left: 10px;
    }

    .logo-img-m {
        margin: 0 auto;
    }

    .login-block {
        font-size: 13px;
        padding: 10px 10px 0 0;
    }

    .login-sep {
        margin: 0 10px;
    }

    #highlight:before {
        background: url("../images/res/tangga.png") no-repeat;
        width: 106px;
        height: 63px;
        margin-top: -5px;
    }

    .hl-s1 {
        margin: 0 auto 10px auto;
    }

    .img-speed-m {
        margin: 0 auto;
    }

    .hl-s2 {
        margin: 0 auto 25px auto;
        width: 80%;
    }

    .hl-s2 h3 {
        font-size: 15px;
        line-height: 18px;
    }

    .btn-khampha {
        background: url("../images/res/button.png") no-repeat;
        width: 166px;
        height: 56px;
        font-size: 16px;
        line-height: 56px;
    }

    .section-2 {

    }

    #provide {
        padding: 20px 0 30px 0;
    }

    .pr-title {
        font-size: 18px;
        width: 80%;
        margin: 0 auto;
        line-height: 22px;
    }

    .pr-title span {
        margin: 0 auto;
    }

    #provideCarousel {
        margin: 30px auto 0 auto;
        max-width: 90%;
    }

    #provideCarousel .item img {
        display: block;
        margin: 0 auto;
    }

    #provideCarousel .item h3 {
        font-size: 18px;
        font-weight: normal;
        color: white;
        line-height: 22px;
        width: 80%;
        margin: 15px auto 0 auto;
    }

    .section-3 {
        background-image: url("../images/res/section3.jpg");
        height: auto;
    }

    #chance {
        padding: 50px 0 40px 0;
    }

    .ch-title {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 20px;
    }

    .ch-title2 {
        font-size: 14px;
    }

    #countdown {
        max-width: 86%;
        padding: 0;
    }

    ul#countdown li {
        width: 80px;
        margin: 0 2px;
    }

    #countdown span.num {
        background: url("../images/res/num.png") no-repeat;
        width: 80px;
        height: 39px;
        font-size: 20px;
        line-height: 40px;
    }

    #countdown span.lbl {
        font-size: 15px;
        margin-top: 5px;
    }

    .ch-dk {
        max-width: 80%;
        height: auto;
        background: none;
        margin-top: 25px;
    }

    #subject {
        width: 82%;
    }

    .select2-container {
        margin: 0 0 40px 0;
    }

    .select2-container--default .select2-selection--single {
        font-size: 18px;
        border-radius: 10px;
    }

    .select2-container .select2-selection--single {
        height: 62px;
        font-size: 18px;
    }

    .select2-container .select2-selection--single .select2-selection__rendered {
        height: 62px;
        line-height: 62px;
        font-size: 18px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 62px;
        width: 40px;
        right: 15px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border-color: #464646 transparent transparent transparent;
        margin: -6px 0 0 -12px;
        border-width: 15px 9px 0 9px;
    }

    #btn-register {
        width: 198px;
        height: 56px;
        line-height: 56px;
        font-size: 20px;
        border-radius: 10px;
        margin-bottom: 40px;
    }

    footer {
        margin: 0 auto;
        padding: 20px 0 15px 0;
        width: 80%;
    }

    .info h3 {
        font-size: 17px;
    }

    .copyright {
        font-size: 15px;
    }
}

@media only screen and (max-width: 320px) {
    .select2-container {
        margin: 0 0 40px 0;
    }

    #btn-register {
        margin-bottom: 40px;
    }

    ul#countdown li {
        margin: 0 1px;
    }

    .ch-title2 {
        font-size: 13px;
    }

    .info h3 {
        font-size: 15px;
    }

    .copyright {
        font-size: 12px;
    }
}

@media only screen and (min-width: 768px) and (max-width:992px) {
    .section-content {
        max-width: 100%;
    }

    .wrapper {
        max-width: 100%;
    }

    /* hide tablet */
    .img-speed, #provide:before, .pr-title:before, #chance:before, .pr-list,
    #countdown:before, #countdown:after {
        display: none;
    }

    /* show tablet */
    .img-speed-t, #provideCarousel {
        display: block;
    }

    .section-1 {
        background: url("../images/res2/section1.jpg") no-repeat;
        background-position: center center;
        height: auto;
    }

    .logo-wr {
        padding-left: 20px;
    }

    #highlight:before {
        margin-top: 0;
    }

    .img-speed-t {
        margin: 0 auto;
    }

    .hl-s2 {
        margin: 25px 0 40px 0;
    }

    .hl-s2 h3 {
        font-size: 26px;
    }

    .hl-bt {
        margin-bottom: 75px;
    }

    #provide {
        padding: 40px 0;
    }

    .pr-title {
        width: 80%;
    }

    .pr-title span {
        margin: 0 auto;
    }

    #provideCarousel {
        margin: 30px auto 0 auto;
        max-width: 70%;
    }

    #provideCarousel .item img {
        display: block;
        margin: 0 auto;
    }

    #provideCarousel .item h3 {
        font-size: 30px;
        font-weight: normal;
        color: white;
        line-height: 36px;
        width: 80%;
        margin: 25px auto 0 auto;
    }

    .ch-title {
        font-size: 38px;
        line-height: 42px;
    }
}