/********************************
***                           ***
***         1200px            ***
***                           ***
*********************************/

#block1 {
    padding: 80px 0 100px;
}

section#block6 {
    padding: 80px 0 30px;
}

/********************************
***                           ***
***          992px            ***
***                           ***
*********************************/

@media (max-width: 1200px) {
header h1 {
    font-size: 70px;
}
header h2 {
    font-size: 60px;
}
header h3{
    font-size: 30px;
}
}

/********************************
***                           ***
***          992px            ***
***                           ***
*********************************/

@media (max-width: 991px) {
    .header {
        height: 100vh;
        background-position: 65% 100%;
    }
    .headertext {
        height: 90vh;
    }
    .text-vertical-center {
        vertical-align: top;
    }
    #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: 70% 100%;
    }
    .headertext {
        padding-top: 10px;
        background: none;
    }
    .logo {
        margin-bottom: 0;
    }
    .bgforsm {
        margin-top: 38vh;
        padding: 15px 0;
        background: rgba(23, 102, 176, .8);
        border-radius: 15px;
    }
    .header h1 {
        font-size: 54px;
        margin-top: 0;
    }
    .header h2 {
    font-size: 45px;
    }
    .header h3 {
        font-size: 24px;
    }
    .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;
    }
}

.modal {
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
}

#school .modal-dialog,
#area .modal-dialog {
    text-align: center;
    max-width: 300px;
    margin: 40% auto;
}

#school .modal-body,
#area .modal-body {
    padding: 0;
}

#school ul,
#area ul {
    -webkit-padding-start: 0px;
}

#school li,
#area li {
    list-style: none;
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
}

#school a,
#area a {
    font-size: 18px;
    color: #444;
}

#school a:hover,
#area a:hover {
    font-weight: 700;
}


/******************
***             ***
***     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;
    padding: 10px 10px 10px 50px;
    display: block;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.answers {
    background: #e8f4ff;
    padding: 15px 15px 15px 40px;
    height: auto;
    overflow: hidden;
    position: relative;
    opacity: 1;
    -webkit-transition: .7s ease;
    -moz-transition: .7s ease;
    -o-transition: .7s ease;
    transition: .7s ease;
}

.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;
}

.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 {
        width: 100%;
    }
}
