/*html,
body {
    height: 100%;
    font-family: Helvetica, sans-serif;
}*/

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto;
    width: 100%;
}

.wrap > .container {
    width: 50%;
    height: 100%;
    padding-top: 100px;
}

.hidden {
    display: none !important;
}

.true-icon, .false-icon {
    width: 15px;
    height: 20px;
}

.custom-checkbox {
    display: flex;
    flex-direction: row;
    align-content: center;
}

.custom-checkbox .custom-label {
    padding-left: 10px;
}

.btn {
    font-size: 1em !important;
}

/* -------------- NAVBAR ------------ */

.hasici-navbar {
    background-color: #2588cc;
    /*border-top: 3px solid #2588cc;*/
    border-bottom: none;
}

.hasici-navbar .navbar-brand:hover, .hasici-navbar .navbar-collapse .navbar-right a:hover {
    color: #ffffff;
}

.hasici-navbar .navbar-brand, .hasici-navbar .navbar-collapse .navbar-right a {
    color: #ffffff;
}

.gallery-hint {
    margin-bottom: 15px;
}

.gallery-hint span {
    margin-left: 5px;
    font-weight: bold;
}

/* --------------  LOGIN PAGE -----------------*/

#login-page {
    width: 40%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

#login-page h1 {
    margin-top: 30px;
}

#login-page .login-form-title {
    text-align: center;
}

#login-page .button-row {
    padding-top: 20px;
}

#login-page .button-row .button-wrapper {
    text-align: right;
}

#login-page .input-group {
    width: 100%;
    padding-top: 10px;
}

/* --------------  ROUTER PAGE -----------------*/

#router-page {
    width: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

#router-page .router-buttons-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#router-page .router-buttons-group .router-button {
    cursor: pointer;
    transition: transform .2s;
}

#router-page .router-buttons-group .router-button:hover {
    transform: scale(1.05);
}

#router-page .router-buttons-group .router-button .router-button-icon {
    width: 40%;
    text-align: center;
}

#router-page .router-buttons-group .router-button .router-button-icon > img {
    width: 60%;
}

#router-page .router-buttons-group .router-button .router-button-title {
    width: 60%;
}

#router-page .router-buttons-group .router-button:nth-child(2) {
    margin: 0 20px 0 20px;
}

#router-page .logo-text-box {
    width: 55%;
    text-align: center;
    margin: 0 auto;
}

#router-page .logo-text-box img {
    width: 30%;
    margin-bottom: 5%;
}

@media (max-width: 1440px) {
    #router-page .logo-text-box {
        width: 70%;
    }
}

/* --------------  TEACHING PAGE -----------------*/

#teaching-page .title {
    text-align: center;
    padding-bottom: 15px;
}

#teaching-page .main-title {
    text-align: center;
}

#teaching-page .description {
    font-size: 18px;
    padding-bottom: 30px;
}

#teaching-page .video, #teaching-page video {
    width: 100%;
    outline: none;
}

#teaching-page .button-row {
    text-align: right;
    padding-bottom: 30px;
}

#teaching-page .button-row button {
    margin-top: 30px;
    padding: 12px 24px;
}

#teaching-page .button-row button #next-button {
    width: 150px;
}

#teaching-page .files-container {
    margin-top: 30px;
}

#teaching-page .file-row {
    padding-bottom: 15px;
}

#teaching-page .file-row .file-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#teaching-page .file-row .file-box .file-link {
    text-decoration: none;
    color: inherit;
}

#teaching-page .file-row .file-box .file-link .file-link-title {
    padding-right: 15px;
    font-weight: bold;
}

#teaching-page .file-row .file-box .file-link .file-link-icon {
    width: 30px;
}

/* --------------  EXERCISE PAGE -----------------*/

#exercise-page .switch {
    padding-bottom: 30px;
}

#exercise-page .exercise-button-group {
    width: 100%;
    display: flex;
    flex-direction: row;
}

#exercise-page .exercise-button-group button {
    width: 50%;
}

#exercise-page .case .title {
    text-align: center;
}

#exercise-page .case .description {
    font-size: 18px;
    padding-bottom: 30px;
}

#exercise-page .case .images {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#exercise-page .case .images img {
    width: 50%;
    padding-left: 5px;
    padding-right: 5px;
}

#exercise-page .case .exercise-question .question-title {
    margin-top: 30px;
}

#exercise-page .case .exercise-question .question-description {
    font-size: 18px;
    padding-bottom: 30px;
}

#exercise-page .case .answer-explanation .answer-description {
    padding-bottom: 30px;
}

#exercise-page .case .exercise-question .answer-row {
    padding-bottom: 30px;
}

#exercise-page .case .exercise-question .answer-explanation {
    font-size: 18px;
    margin-top: 30px;
    padding-bottom: 15px;
}

#exercise-page .case .exercise-question .answer-row .list-group-item {
    border: none;
}

#exercise-page .case .exercise-question .question-content img {
    width: 100%;
}

#exercise-page .button-row {
    text-align: right;
    padding-bottom: 30px;
}

#exercise-page #check-button {
    padding: 12px 24px;
    width: 150px;
}

#exercise-page .case-content .title .smaller-margin-bottom {
    margin-bottom: 15px;
}

#exercise-page .description .gallery-hint {
    font-size: 14px;
    padding-top: 10px;
}

#exercise-page .exercise-question .gallery-hint {
    padding-top: 10px;
}

/* --------------  TESTING PAGE -----------------*/

#testing-page .description .test-gallery {
    margin-top: 15px;
}

#testing-page .title {
    text-align: center;
}

#testing-page .description {
    line-height: 32px;
    padding-bottom: 30px;
}

#testing-page .description .gallery-hint {
    padding-top: 10px;
}

#testing-page .testing-content {
    width: 100%;
    display: flex;
}

#testing-page .testing-content .testing-bar {
    width: 10%;
    text-align: center;
}

#testing-page .testing-content .testing-question {
    width: 100%;
}

#testing-page .testing-question-content {
    display: flex;
}

#testing-page .testing-question-content .media, #testing-page .testing-question-content .media > img {
    width: 70%;
}

#testing-page .answer-row {
    padding-bottom: 30px;
    text-align: left;
}

#testing-page .answer-row .list-group-item {
    border: none;
}

#testing-page .answer-row .question-content img {
    width: 100%;
}

#testing-page .button-row {
    text-align: right;
}

#testing-page .next-question-button {
    height: 49px;
    min-width: 100px;
}

.question-content .gallery-hint {
    padding-top: 10px;
}

/* -------------- START TESTING PAGE -----------------*/

#start-test-page {
    width: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

#start-test-page .start-test-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#start-test-page .start-test-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#start-test-page .start-test-button {
    width: 150px;
    height: 50px;
    margin: 45px 15px 15px 15px;
}

/* -------------- RESULT PAGE -----------------*/

#result-page {
    width: 60%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

#result-page .result-page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --------------- STEPPER -------------- */

.step {
    position: relative;
    min-height: 1em;
    color: gray;
    margin-top: 60px;
}

.step + .step {
    margin-top: 1.5em
}

.step > div:first-child {
    position: static;
    height: 0;
}

.step > div:not(:first-child) {
    margin-left: 1.5em;
    padding-left: 1em;
}

.step.step-active {
    color: #4285f4
}

.step.step-active .circle {
    background-color: #4285f4;
}

.circle {
    background: gray;
    position: relative;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em;
    border-radius: 100%;
    color: #fff;
    text-align: center;
    box-shadow: 0 0 0 3px #fff;
}

.circle:after {
    content: ' ';
    position: absolute;
    display: block;
    /*top: 1px;*/
    right: 50%;
    bottom: 1px;
    left: 49%;
    height: 10px;
    width: 2px;
    transform: scale(1, 2);
    transform-origin: 50% -100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: -1;
}

.step:last-child .circle:after {
    display: none
}
