﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

@font-face {
    font-family: "DelaGothicOne";
    font-style: normal;
    font-weight: 600;
    src: local("DelaGothicOne"),
        url("/Assets/fonts/DelaGothicOne-Regular.ttf") format("ttf"),
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    src: local("Montserrat"),
        url("/Assets/fonts/Montserrat-Regular.ttf") format("ttf"),
}

@font-face {
    font-family: "Montserratbl";
    font-style: normal;
    font-weight: 600;
    src: local("Montserratbl"),
        url("/Assets/fonts/Montserrat-Bold.ttf") format("ttf"),
}

.mn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.abz {
    text-indent: 2.5em;
}

.mnb {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.dl {
    font-family: 'DelaGothicOne', sans-serif;
    font-weight: 600;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.f {
    display: flex;
}

.container {
    display: flex;
    flex-direction: column;
    grid-gap: 30px;
    width: 1400px;
    margin: 10px auto;
}

/* Header */

header {
    width: 100%;
    height: 150px;
    background: #486CC7;
    padding: 50px;
}

.head {
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logomenu {
    grid-gap: 50px;
    align-items: center;
    height: 150px;
}

.logo {
    width: 70px;
    height: 87px;
}

.textlogo {
    flex-direction: column;
    justify-content: center;
    height: 87px;
}

.headzag {
    color: #fff;
    font-size: 20px;
}

.headtext {
    color: #fff;
    font-size: 24px;
}

.abtn {
    padding: 10px 70px;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid #fff;
    font-size: 18px;
    font-weight: 700;
}

p.mn img {
    width: 60px;
    height: 100%;
}

.slider {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.slider img {
    border-radius: 20px;
    border: 1px solid #486CC7;
    margin: 0 10px;
}

.sliderbtn {
    padding: 10px;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    font-size: 16px;
    background-color: #486CC7;
    border: 0;
    color: #fff;
    font-weight: bold;
}

/* Тело страницы index */

main {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
}

.boxes {
    grid-gap: 49px;
    flex-wrap: wrap;
}

.box {
    width: 31%;
    min-height: 450px;
    background: #486CC7;
    border-radius: 15px;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px;
}

.topboxmenu {
    padding: 20px;
}

.boximg {
    width: 80px;
    height: 80px;
}

.textbox {
    flex-direction: column;
}

.boxtext {
    margin: 10px 0 10px 0;
    font-size: 20px;
    color: #fff;
}

.boxbigtext {
    font-size: 30px;
    color: #fff;
    font-weight: 600;
    line-height: 35px;
}

.boxbtns {
    flex-direction: column;
    grid-gap: 10px;
}

.aboxbtn {
    color: #fff;
    text-decoration: none;
    width: 100%;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #fff;
    font-size: 20px;
    font-weight: 600;
}

.whitebtn {
    background: #fff;
    color: #486CC7;
}

/* Футер */

footer {
    flex: 0 0 auto;
    height: 160px;
    width: 100%;
    padding: 10px 50px;
    justify-content: space-between;
    background: #486CC7;
    grid-gap: 50px;
}

.rightside {
    align-items: center;
    height: 130px;
}

.rightside img {
    height: 110px;
    margin-left: 10px;
}

.rightside p {
    text-align: right;
    color: #fff;
}

.footertextbox {
    flex-direction: column;
    margin-right: 30px;
}

.footzag {
    font-size: 45px;
    font-weight: 600;
    color: #fff;
}

/* Остальные меню */

.testbody {
    grid-gap: 20px;
}

.abackbtn {
    color: #486CC7;
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid #486CC7;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    width: 20%;
}

.testmenu {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 2px solid #486CC7;
    flex-direction: column;
    min-height: 60vh;
}

.headertestmenu {
    display: flex;
    height: 70px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: #486CC7;
}

.headtesttext {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.bodytestmenu {
    width: 100%;
    height: 100%;
    padding: 20px 20px;
    grid-gap: 30px;
    flex-wrap: wrap;
}

.control {
    width: 100%;
    justify-content: right;
}

.control button {
    margin: 0 10px 0 0;
}

.schet img {
    width: 100%;
    max-width: 600px;
}

.swapslide {
    border: #486CC7 1px solid;
    border-radius: 7px;
    padding: 7px 20px;
    user-select: none;
    background: #fff;
    color: #486CC7;
    text-align: center;
    font-size: 20px;
}

.mn img {
    width: 25px;
    height: 25px;
    margin-top: 10px;
}

.swapslide:hover {
    border: #fff 1px solid;
    color: #fff;
    cursor: pointer;
    background: #486CC7;
}


.contentm {
    width: 100%;
    height: 100%;
    padding: 20px 20px;
    display: flex;
}

.bodytestmenu a {
    width: 23%;
    background: #486CC7;
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.videoblock {
    width: 40%;
    flex-direction: column;
}

.videoblock {
    margin-bottom: 10px;
    font-family: Montserratbl, sans-serif;
}

.videoblock div {
    display: flex;
    flex-direction: row;
    width: 90%;
    justify-content: space-between;
}

.videoblock div button {
    border-radius: 10px;
    border: 0;
    user-select: none;
    margin-bottom: 10px;
    background-color: #486CC7;
    color: #fff;
    font-weight: 600;
    padding: 10px;
    width: 200px;
    font-family: Montserratbl, sans-serif;
}

.contentm div div {
    text-align: left;
}

.secondtestimg {
    width: 40%;
    max-width: 300px;
}

.answer300 {
    margin: 10px 0 20px 20px;
}

.bodytestmenu img {
    margin: 0 0 10px 0;
}

.buttonball {
    user-select: none;
    width: 230px;
    height: 230px;
    color: #fff;
    background: #486CC7;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
}

.success {
    color: #486CC7;
    background: #fff;
    border: 2px solid #486CC7;
}

.wrong {
    color: #fff;
    background: #dc3545;
    border: 0px;
}

.okk {
    color: #fff;
    background: #198754;
    border: 0px;
}

.contentm div {
    display: flex;
    flex-direction: column;
}

.bodycontentmen {
    width: 100%;
    height: 100%;
    padding: 20px 20px;
    flex-direction: column;
}

.bodycontentmen div p.mn {
    font-size: 18px;
    line-height: 26pt;
    text-align: justify;
}

.table {
    border: #486CC7 solid 1px;
}

.table th,
td {
    padding: 5px;
}

.bodytestmenu p.mn {
    font-size: 18px;
}

.contentm video {
    border-radius: 10px;
    box-shadow: 0 0 4px 2px #555;
    margin: 20px 20px 20px 0;
    width: 90%;
}

.contentm div p {
    margin-top: 10px;
    font-size: 18px;
}

.imgtestmenu {
    width: 100%;
    background: white;
    border-radius: 5px;
}

.testtext {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.teststartmenu {
    background: #486CC7;
    border-radius: 10px;
    height: 450px;
    align-items: center;
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-direction: column;
    padding: 30px;
}

.teststartimg {
    width: 100px;
    height: 100px;
}

.vopr {
    flex-direction: column;
}

.inpty {
    padding: 10px 20px;
    border: #486CC7 solid 2px;
    outline-width: 0;
    margin: 20px 20px 20px 0;
    border-radius: 10px;
    background-color: #fff;
    width: 100%;
}

.form_checkbox_btn {
    display: flex;
    margin: 10px 20px 0 20px;
}

.form_checkbox_btn input[type=checkbox] {
    display: none;
}

.form_checkbox_btn label {
    display: inline-block;
    cursor: pointer;
    padding: 0px 15px;
    line-height: 34px;
    font-family: Montserrat;
    border: 1px solid #486CC7;
    border-radius: 6px;
    width: 100%;
    user-select: none;
}

.form_checkbox_btn input[type=checkbox]:checked+label {
    background: #486CC7;
    color: #fff;
}

.form_checkbox_btn label:hover {
    color: #666;
}

.form_checkbox_btn input[type=checkbox]:disabled+label {
    background: #efefef;
    color: #666;
}


.form_radio_btn {
    display: flex;
    margin: 10px 20px 0 20px;
}

.form_radio_btn input[type=radio] {
    display: none;
}

.form_radio_btn label {
    display: inline-block;
    cursor: pointer;
    padding: 0px 15px;
    line-height: 34px;
    font-family: Montserrat;
    border: 1px solid #486CC7;
    border-radius: 6px;
    width: 100%;
    user-select: none;
}

.form_radio_btn input[type=radio]:checked+label {
    background: #486CC7;
    color: #fff;
}

.form_radio_btn label:hover {
    color: #666;
}

.form_radio_btn input[type=radio]:disabled+label {
    background: #efefef;
    color: #666;
}

.testertitle {
    color: #486CC7;
    font-size: 20px;
    margin: 20px 20px 10px 20px;
}

.swcolor {
    color: #fff;
    background: #486CC7;
}

.anwzone {
    margin: 30px 20px 0px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
}

.anwzone p {
    color: #486CC7;
    font-size: 16px;
}

.shorta {
    width: 180px;
}

.teststarttext {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.astartbtn {
    padding: 20px 100px;
    text-decoration: none;
    color: #486CC7;
    background: #fff;
    font-size: 25px;
}


.tab {
    overflow: hidden;
    background-color: #f1f1f1;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

.tab button:hover {
    background-color: #486CC7;
}

.tab button.active {
    background-color: #486CC7;
    color: #fff;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

.opfot {
    padding: 10px 30px;
    color: #fff;
    text-decoration: none;
    background-color: #486CC7;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 700;
}

.popup img {
    transition: all 1s;
}

.hide img {
    width: 0;
    opacity: 0;
}

.visible img {
    width: 100%;
    max-width: 500px;
    opacity: 100%;
}

@media screen and (max-width: 1440px) {
    .navbar {
        display: flex;
        text-align: center;
        grid-gap: 10px;
    }

    .abtn {
        padding: 15px;
        font-size: 16px;
    }

    .container {
        width: 1000px;
    }

    .headzag {
        font-size: 20px;
    }

    .headtext {
        font-size: 24px;
    }

    .boxes {
        grid-gap: 10px;
        justify-content: center;
    }

    .box {
        width: 32%;
        min-height: 440px;
    }

    .boxtext {
        font-size: 16px;
    }

    .boxbigtext {
        font-size: 24px;
    }

    .boxtestmenu {
        width: 30%;
    }

    .bodytestmenu a {
        width: 22%;
        background: #486CC7;
        border-radius: 10px;
        padding: 10px;
        text-decoration: none;
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 1024px) {
    header {
        padding: 5px;
        height: 150px;
    }

    .videoblock {
        width: 100%;
    }

    .videoblock div {
        flex-direction: column;
    }

    .contentm {
        flex-direction: column;
    }

    .navbar {
        display: flex;
        text-align: center;
        grid-gap: 10px;
    }

    .abtn {
        padding: 15px;
        font-size: 16px;
    }

    .container {
        width: 700px;
    }

    .logo {
        width: 40px;
        height: 50px;
    }

    .logomenu {
        padding: 10px;
        flex-direction: column;
        grid-gap: 0px;
        text-align: center;
    }

    .headzag {
        font-size: 20px;
    }

    .headtext {
        font-size: 24px;
    }

    .boxes {
        grid-gap: 10px;
        justify-content: center;
    }

    .box {
        width: 32%;
        height: 450px;
    }

    .boxtext {
        font-size: 14px;
    }

    .boxbigtext {
        font-size: 20px;
        line-height: 24px;
    }

    .footer {
        height: 250px;
    }

    .boxtestmenu {
        width: 45%;
        height: 100%;
    }

    .abackbtn {
        width: 100%;
    }

    .bodytestmenu a {
        width: 30%;
        background: #486CC7;
        border-radius: 10px;
        padding: 10px;
        text-decoration: none;
        display: flex;
        flex-direction: column;
    }

    .slider img {
        width: 400px;
    }
}

@media screen and (max-width: 768px) {

    .boxtestmenu {
        height: 100%;
    }

    header {
        padding: 5px;
        height: 150px;
    }

    .navbar {
        display: flex;
        flex-direction: column;
        text-align: center;
        grid-gap: 10px;
    }

    .abtn {
        padding: 15px;
        font-size: 16px;
    }

    .container {
        width: 600px;
    }

    .logo {
        width: 40px;
        height: 50px;
    }

    .logomenu {
        padding: 10px;
        flex-direction: column;
        grid-gap: 0px;
        text-align: center;
    }

    .headzag {
        font-size: 20px;
    }

    .headtext {
        font-size: 20px;
    }

    .boxes {
        grid-gap: 10px;
        justify-content: center;
    }

    .box {
        width: 70%;
        min-height: 300px;
        height: 350px;
    }

    .leftside {
        flex-direction: column;
    }

    .footer {
        height: 400px;
        flex-direction: column;
    }

    .boxtestmenu {
        width: 100%;
    }

    .bodytestmenu a {
        width: 45%;
    }

    .abackbtn {
        width: 100%;
    }

    .slider img {
        width: 300px;
    }
}

@media screen and (max-width: 520px) {

    .boxtestmenu {
        height: 100%;
    }

    header {
        padding: 5px;
    }

    .navbar {
        display: flex;
        flex-direction: column;
        text-align: center;
        grid-gap: 10px;
    }

    .abtn {
        padding: 5px;
        font-size: 15px;
    }

    .container {
        width: 300px;
    }

    .logo {
        width: 40px;
        height: 50px;
    }

    .logomenu {
        padding: 10px;
        flex-direction: column;
        grid-gap: 0px;
        text-align: center;
    }

    .headzag {
        font-size: 20px;
    }

    .headtext {
        font-size: 16px;
    }

    .boxes {
        grid-gap: 10px;
    }

    .box {
        width: 100%;
        height: 100%;
    }

    .footer {
        height: 400px;
        flex-direction: column;
    }

    .headertestmenu {
        height: 150px;
    }

    .bodytestmenu {
        padding: 15px 5px;
    }

    .bodytestmenu a {
        width: 100%;
    }

    .slider img {
        width: 200px;
    }
}