/********************************
***                           ***
***         1200px            ***
***                           ***
*********************************/

#block1 {
    padding: 80px 0 60px;
}

section#block6 {
    padding: 80px 0 30px;
}


/********************************
***                           ***
***          992px            ***
***                           ***
*********************************/

@media (max-width: 991px) {
    .header {
        height: 100vh;
        background-position: 53% 50%;
    }
   .headertext {
        /*height: 90vh;*/
        padding: 1vh 0 3vh;
    }
    .header h1,.header h2{
    margin-top: 10px;
    margin-bottom: 5px;

    }
    .text-vertical-center {
        vertical-align: top;
    }
    .headertext span {
    vertical-align: initial;
    display: block;
}
    #block1 {
        padding: 60px 0 40px;
    }
    .slideInRight {
        margin-top: 30px;
    }
    .scrollup {
        bottom: 80px;
        right: 30px;
    }
    h2 {
        font-size: 20px;
    }
    .rights {
        margin-bottom: 65px;
    }
    #formblock {
        margin-top: 60px;
    }
    .stu-block {
        margin-top: 50px;
    }
}


/*@media (min-width: 992px) {
    .header {
        background-position: 15% 100%;
    }
}*/


/********************************
***                           ***
***          768px            ***
***                           ***
*********************************/


/*@media (min-width: 768px) {
    .header {
        background-position: 25% 100%;
    }
}*/

@media (max-width: 767px) {
    .header {
        background-position: 50% 100%;
        height: 90vh;
    }
    .headertext {
        padding-top: 10px;
        background: none;
    }
    .logo {
        margin-bottom: 0;
    }
    .bgforsm {
        margin-top: 38vh;
        padding: 15px 0;
        background: rgba(23, 102, 176, .8);
    }
    .header h1 {
        font-size: 30px;
        margin-top: 0;
    }
    .header h2 {
        font-size: 60px;
        margin-top: 0;
    }
    .header h3 {
        font-size: 20px;
    }
    .header-btn {
        margin-top: 10px;
    }
    .answers {
        padding: 15px !important;
    }
    .questions:checked ~ .answers {
        padding: 0px 15px !important;
    }
    .linehight50 {
        line-height: 0;
    }
    #teacher-btn {
        margin: 10px 0;
    }
    h2 {
        text-align: center;
    }
    #block2 img {
        margin-top: 30px;
    }
}



/********************************
***                           ***
***          398px            ***
***                           ***
*********************************/

@media (max-width: 398px) {
    #block1 {
        font-size: 18px;
    }
    #block1 .highlight {
        font-size: 30px;
    }
}



/******************
***             ***
***     Q/A    ***
***             ***
*******************/

label.question {
    font-size: 18px;
    color: initial;
}

i.demo-icon.icon-plus.plus {
    color: #1765b1;
    font-size: initial;
}

.question {
    font-weight: normal;
    position: relative;
    margin: 0 auto;
    display: block;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    padding: 10px 0px 10px 0px;
}

.answers {
    background: #e8f4ff;
    padding: 15px;
    height: auto;
    overflow: hidden;
    position: relative;
    opacity: 1;
    -webkit-transition: .7s ease;
    -moz-transition: .7s ease;
    -o-transition: .7s ease;
    transition: .7s ease;
    border-bottom: 1px solid #ccc;
}

.questions:checked ~ .questions {
    border-radius: 10px;
}

.questions:checked ~ .answers {
    height: 0;
    opacity: 0;
    padding: 0px 15px 0px 40px;
}

.plus {
    position: absolute;
    margin-left: 20px;
    margin-top: 16px;
    z-index: 5;
    font-size: 1em;
    line-height: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
    padding-top: 15px;
}

.questions:checked ~ .plus {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.questions {
    display: none;
}

@media (max-height: 500px) and (max-width: 768px) {
    #block1 {
        padding: 170px 0 40px;
    }
    .ta-left {
        text-align: left;
    }
    .logo {
        max-height: 80px;
        width: auto;
    }
}
