/*!
 * AEGS - 12/05/2020
 * Web Design: digidea.com.tr
 * Front End Web Developer: Ferdi Tarakci / ferditarakci.com
 * Back End Web Developer: Mustafa Akbas / akbas.net
 */
@-ms-viewport {
  width: device-width;
  zoom: 1;
}
@-o-viewport {
  width: device-width;
  zoom: 1;
}
@viewport {
  width: device-width;
  zoom: 1;
}

@media (max-width: 1024px) {
  header.col-12 .col-3 {
    display: none;
  }
  header.col-12 .col-9 {
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
  .modules .col-4 {
    max-width: 50%;
    -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
  }
  .test-box .test-footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
  .test-box .test-footer .col-6 {
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
  .test-box .test-footer .col-6 + .col-6 {
    margin-bottom: 20px;
  }
  .profile .col-9,
  .contact .col-9 {
    padding-right: 10px;
    padding-left: 30px;
  }
  .about .pt-20 .col-4 {
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
  .about .pt-20 .col-4 + .col-4 {
    margin-top: 20px;
  }
  .video .play-btn::after {
    width: 70px;
    height: 70px;
    margin-top: -35px;
    margin-left: -35px;
    line-height: 70px;
    font-size: 26px;
  }
  .test-video + .pt-20 .col-8,
  .test-video + .pt-20 .col-4 {
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
  .test-video + .pt-20 .col-4 {
    margin-top: 20px;
  }
  .test-video .paused-video {
    font-size: 22px;
  }
  .test-video .paused-video::after {
    width: 70px;
    height: 70px;
    margin-top: -35px;
    margin-left: -35px;
    padding-left: 7px;
    line-height: 62px;
    font-size: 26px;
  }
  .test-video .timeout-alert {
    font-size: 22px;
  }
  .test-video .timeout-alert::after {
    width: 88px;
    height: 72px;
    margin-top: -36px;
    margin-left: -44px;
  }
  .test-video .directions {
    font-size: 22px;
  }
  .test-video .directions::after {
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
  }
}

@media (max-width: 840px) {
  .about aside.col-3 {
    max-width: 100%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    margin-bottom: 20px;
  }
  .about aside.col-3 + .col-9 {
    max-width: 100%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
  .test-video .timeout-alert {
    font-size: 18px;
  }
  .test-video .timeout-alert::after {
    width: 66px;
    height: 54px;
    margin-top: -27px;
    margin-left: -33px;
  }
  .test-video .directions {
    font-size: 18px;
  }
  .test-video .directions::after {
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-left: -40px;
  }
}

@media (max-width: 768px) {
  #header .logo {
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
  #header .logo2,
  #header .logo3 {
    display: none;
  }
  .page-header .col-4,
  .page-header .col-8 {
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
  .page-header .page-title {
    margin-top: 20px;
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid rgba(158, 158, 158, 0.4);
  }
  aside.col-3 {
    max-width: 100%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    margin-bottom: 20px;
  }
  aside.col-3 + .col-9 {
    max-width: 100%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
  .modules .col-4 {
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
  .login form,
  .forgot form,
  .register form,
  .profile form,
  .contact form {
    margin-top: 0;
  }
  .profile .col-9,
  .contact .col-9 {
    margin-top: 40px;
    padding-left: 10px;
  }
  .register .form-label,
  .profile .form-label,
  .contact .form-label {
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
  .col-8.checkbox {
    max-width: 100%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
  .col-8.checkbox + .col-4.text-right {
    max-width: 100%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    margin-top: 20px;
    text-align: center !important;
  }
}

@media (max-width: 640px) {
  .test-box {
    padding: 50px 30px;
    background-position: calc(100% - 20px) calc(100% - 50px);
  }
  .test-box .questions {
    padding-right: 0;
    padding-left: 0;
  }
  .test-box:not(.survey-box) .title > span,
  .test-box:not(.survey-box) .title > strong {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
  .test-video .timeout-alert {
    padding-top: 26%;
  }
  .test-video .timeout-alert::after {
    top: 26%;
  }
  .test-video .directions {
    font-size: 16px;
  }
  .test-video .directions::after {
    width: 70px;
    height: 70px;
    margin-top: -35px;
    margin-left: -35px;
  }
  .other-modules .col-6 {
    max-width: 100%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
  }
  #footer .inner {
    padding: 40px 0 20px;
  }
  #footer .inner .col-3,
  #footer .inner .col-6 {
    max-width: 100%;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
  }
  #footer .inner nav a {
    margin-right: 5px;
    margin-left: 5px;
  }
  #footer .inner .abdiibrahim,
  #footer .inner .web-designer {
    float: none;
    display: inline-block;
    vertical-align: top;
  }
}
