﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 12px;
}
@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

.border-top {
    border-top: 1px solid rgba(256, 256, 256, 0.35) !important;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: rgb(171, 171, 171);
    border-color: rgb(171, 171, 171);
}

    .btn-primary.disabled, .btn-primary:disabled:hover {
        color: #fff;
    }

main {
    height: 100vh
}

/* Sticky footer styles
-------------------------------------------------- */
    html {
    min-height: 100%;
    width: 100%;
    height: 100%;
    background-image: url('../images/5.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    transition: background-image 2s ease-in-out;
    overflow: hidden;
}

body {
    /* Margin bottom by footer height */
    position: relative;
    height: 100%;
    background-color: transparent;
    font-family: 'Open Sans', sans-serif;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px;
    background-color: rgba(256, 256, 256, 0.35);
}

.footer-text {
    font-size: 12px;
    color: #fefefe;
    line-height: 35px;
}

.container-footer {
    margin-left: 20px !important;
}

.container-footer .float-right,
.container-footer .float-left {
    display: flex;
    align-items: center;
}

.container-footer .float-left a {
    padding: 10px;
}

@media screen and (min-width: 0px) and (max-width: 576px) {
    .container-footer .float-left {
        display: inline-block;
        padding-top: 3px;
    }

    .container-footer .float-left a {
        padding: 0;
    }

    .footer-text {
        font-size: 8px;
        line-height: 15px;
    }
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: fit-content !important;
}

.dropdown-menu .show {
    width: 220px;
}

.alert-fixed {
    padding-right: 5rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
/* form elements
    ----------------------------------------------------------*/
.card {
    background-color: rgba(0, 0, 0, 0.54);
    position: relative;
}
.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-title {
    color: #BBBBBB;
    text-align: center;
}

.card-description {
    text-align: center;
    padding: .75rem 1.25rem;
}

.card-rounded-border {
    border-radius: 10px !important;
}

.card-header-simple {
    border: none;
}

.card-header {
    border: none;
    background-color: transparent;
    text-align: center;
}

.btn {
    text-transform: uppercase;
    padding: 6px 32px;
    border-color: rgb(171, 171, 171);
    background-color: rgb(171, 171, 171);
}

.btn:hover {
    border-color: rgb(171, 171, 171);
    background-color: rgb(171, 171, 171);
    color: rgb(67, 67, 67);
}

.btn:focus, .btn-primary:focus {
    border-color: rgb(171, 171, 171) !important;
    background-color: rgb(171, 171, 171) !important;
    color: rgb(67, 67, 67) !important;
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(242, 242, 242, 0.25);
}

.btn:active, .btn-primary:active {
    border-color: rgb(171, 171, 171) !important;
    background-color: rgb(171, 171, 171) !important;
    color: rgb(67, 67, 67) !important;
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(242, 242, 242, 0.25) !important;
}

.top-distant {
    margin-top: 2rem;
}

.bottom-distant {
    margin-bottom: 2rem;
}

.right-panel > i.fas, .right-panel > i.far {
    font-size: 150px;
    color: white;
}

.card-info {
    color: #BBBBBB;
}

.card-info-bottom {
    font-size: smaller;
    text-align: right;
    display: grid;
    width: fit-content;
    float: right;
}

.card-info-small {
    font-size: smaller
}

.scroll-container {
    overflow-y: auto;
    min-height: 250px;
    max-height: 25vh;
}

.terms-container {
    padding: 30px;
}

.terms-title {
    font-size: large;
    font-weight: bold;
    padding-top: 10px;
    text-decoration: underline;
}

.terms-subtitle {
    font-size: medium;
    font-weight: bold;
    padding-top: 10px;
}

.checkbox-container {
    display: inline;
    margin-left: 15px;
}

.checkbox-container .invalid-feedback {
    margin-top: 0;
}

.checkbox-container .invalid-feedback span{
    margin-left: 0;
}

.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {
    color: #DC3545;
    font-weight: bold;
}

.top-distant-form-group {
    margin-top: 2.5em;
}

.checkbox-description {
    color: white;
    padding-left: 5px;
}

.form-height-max {
    height: auto !important;
}

.input-group-text-simple {
    background-color: rgb(67, 67, 67) !important;
    border-color: rgb(67, 67, 67) !important;
    border-bottom-left-radius: 5px !important;
    border-top-left-radius: 5px !important;
}

.input-group-text img {
    height: 30px;
    width: 30px;
}

.input-group-append {
    width: 45px;
    display: block;
}

.form-control {
    background-color: rgb(67, 67, 67) !important;
    border-color: rgb(67, 67, 67) !important;
    color: white !important;
    border-bottom-right-radius: 5px !important;
    border-top-right-radius: 5px !important;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(242, 242, 242, 0.25);
}

.form-control.is-invalid, .form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem #DC3545;
}

.form-control.is-valid, .form-control.is-valid:focus {
    box-shadow: none !important;
}

.summary-text-danger {
    position: relative !important;
    padding: 0 !important;
    text-align: center;
    margin-left: 0 !important;
    padding-top: 10px !important;
}

.summary-text-danger li {
    list-style-type: none;
}


.summary-text-danger ul {
    padding-left: 0;
}

.text-danger {
    color: white !important;
    padding: 10px;
    background: #DC3545;
    border-radius: 5px;
    display: block;
    white-space: pre-wrap;
    z-index: 10;
    position: absolute;
    margin-left: 4em;
}

.invalid-feedback {
    margin-top: 1rem;
}

a{
    color: white;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: white;
    text-decoration: underline;
    text-decoration-color: white;
}

code {
    font-size: 120%
}

ol {
    padding-left: 30px;
    padding-right: 30px;
}

/* text elements
    ----------------------------------------------------------*/
.right-text {
    color: #FEFEFE;
    padding-bottom: 5px;
    text-align: right;
}

.right-text-info {
    color: #FEFEFE;
}

/* Langauge selector
 -------------------------------------------------------------*/

.language-selector button {
    background-color: transparent !important;
    border: 0;
    font-size: 120%;
    height: 30px;
    width: auto !important;
    float: right;
}

.language-selector {
    margin-right: 10px !important;
}

.language-selector button:focus {
    outline: 0;
}

.language-selector button:hover {
    cursor: pointer;
}

.language-selector .dropdown-menu {
    border-radius: 10px;
    height: 250px;
    max-width: 85vw;
    overflow-x: auto;
    overflow-y: auto;
}

.language-selector .dropdown-item {
    line-height: 40px;
}

.logo {
    height: auto;
    max-height: 200px;
    max-width: 100%;
}

.form-control-white {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.culture-name {
    padding-left: 1em;
}

.flag-icon-right {
    float: right;
}

.bootstrap-select > .dropdown-toggle:after {
    display: none;
}

.bs-searchbox .form-control {
    background-color: white !important;
    color: rgb(67, 67, 67) !important;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: rgb(128, 128, 128);
}

#qrCode > img {
    width: 220px !important;
    height: 220px !important;
    border-style: solid;
    border-color: white;
    border-width: 10px;
    margin: auto;
}
.recovery-codes {
    text-align: center;
}

.external-login-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.external-login-section > .divider {
    color: #BBBBBB;
    cursor: default;
    user-select: none;
    width: 100%;
    column-gap: 0.5rem;
    display: flex;
    text-transform: uppercase;
    margin-top: -0.6rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.external-login-section > .divider:before,
.external-login-section > .divider:after {
    content: "";
    flex-grow: 2;
    transform: translateY(0.95rem);
    border-width: 1px 0px;
    border-style: solid;
    border-color: #7d7d7d40;
    background-color: #7d7d7d;
    height: 1px;
}

.idp-buttons {
    display: flex;
    flex-direction: column;
    row-gap: 0.8rem;
    align-items: stretch;
}

.idp-login-button {
    padding: 0 2rem 0 3.4rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    align-content: center;
    background-color: rgb(171, 171, 171);
    border-radius: 0.25rem;
    justify-content: center;
    position: relative;
    text-decoration: none !important;
}

.idp-login-button img {
    height: 1.4rem;
    padding: 0 1rem;
    position: absolute;
    left: 0;
}

.idp-login-button span {
    padding: 7.5px 6px 6.5px 6px;
    line-height: 1.5;
    display: inline-block;
    font-size: 1rem;
}

.idp-login-image > img {
    height: calc(1.5rem + 14px); /* same as login button: 1.5 (line-height) * 1rem (font-size) + 2*6px (padding) + 2*1px (border) */
}

/*   mobile
-------------------------------------------------------------*/
@media screen and (min-width: 0px) and (max-width: 576px) {
    .language-selector .dropdown-menu {
        height: 90vh;
    }

    .footer-text {
        font-size: 8px;
    }

    .language-selector button {
        padding: 5px !important;
    }

    #qrCode > img {
        width: 85% !important;
        height: 85% !important;
    }
}

@media screen and (min-height: 0px) and (max-height: 570px) {
    #qrCode > img {
        width: 65% !important;
        height: 65% !important;
    }
}

@media screen and (min-width: 0px) and (max-width: 1200px) {
    .right-panel {
        visibility: hidden;
    }

    .left-panel {
        visibility: hidden;
    }

    [class*="col-"] {
        margin-top: 4px;
        margin-bottom: 4px;
    }
}

@media screen and (min-height: 0px) and (max-height: 820px) {
    .card {
        max-height: 75vh;
        overflow-y:auto;
        margin-bottom: 100px;
    }
}

@media screen and (min-height: 750px) and (max-height: 1000px) {
    .terms-container {
        max-height: 30vh;
    }

    .terms-and-conditions-body {
        max-height: 20vh;
    }
}

