/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.smitte-site-branding img {
    max-height: 100px;
    max-width: 90%;
}

.relations-site-branding img {
    max-height: 60px;
}

.smitte-header {
    margin: 2rem 0;
}

.register-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
}

.register-loader  h3 {
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
    color: black!important;
    margin-bottom: 1rem;
}

.loader-container {
    display: block;
    position: relative;
    margin-top: 2rem;
}

.ball-loader{
  width: 100px;
  height: calc( (100px / 3) - 10px );
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.ball-loader-ball.ball1 {
    left:0;
    transform-origin: 100% 50%;
}

.ball-loader-ball.ball2 {
    left:50%;
    transform: translateX(-50%) scale(1);
    animation-delay: 0.2s;
}

.ball-loader-ball.ball3 {
    right:0;
    animation-delay: 0.4s;
}

.ball-loader-ball {
  will-change: transform;
  height: calc( (100px / 3) - 10px );
  width: calc( (100px / 3) - 10px );
  border-radius: 50%;
  background-color: black;
  position: absolute;
  animation: grow .6s ease-in-out infinite alternate;
}

@keyframes grow{
  to{
    transform: translateX(-50%) scale(0);
  }
}

 #smittesporing-container, #confirmation {
    margin-top: 2rem;
    text-align: center;
    padding: 0 2rem;
    max-width: 700px;
    margin: 0 auto;
 }

 #smittesporing-container h1 {
    text-transform: uppercase;
    margin-bottom: 2rem;
}

#register-info {
    margin: 2rem 0;
    width: 100%;
}

#register-info a {
    color: inherit;
}

#register-info input[type=text], #register-info input[type=email], #register-info input[type=tel], #register-info input[type=submit] {
    border-radius: 0;
    text-transform: uppercase;
    text-align: center;
    border: none;
    outline: none;
    height: 50px;
    box-shadow: none;
} 

#register-info input[type=submit], .menu-link {
    width: 100%!important;
    font-size: 20px!important;
    height: auto!important;
    max-width: none!important;
    line-height: unset!important;
    border-radius: 0!important;
    cursor: pointer;
}

.menu-link {
    margin-top: 1rem;
    display: inline-block;
    width: auto!important;
}

#confirmation {
    display: none;
}

#confirmation .big {
    font-size: 85px;
    line-height: normal;
    font-weight: bold;
    margin-bottom: 1rem;
}

#confirmation .confirmation-name {
    font-size: 30px;
    line-height: normal;
    font-weight: bold;
    margin-bottom: 2rem;
}

#confirmation .confirmation-time, #confirmation .confirmation-date {
    font-size: 20px;
    line-height: normal;
    font-weight: bold;
    margin-bottom: 0;
}

.submit-error {
    display: none;
}

hr {
    margin: 2rem auto!important;
}

label[for=indoors_booking] {
    margin-top: 2rem;
}

.custom-checkbox-template label {
    text-align: left;
}

.smitte-site-content {
    margin-top: 0!important;
}

.custom-checkbox-template input {
    margin-bottom: 0;
}

.data-popup {
    background: white;
    width: 95%;
    height: 0;
    position: fixed;
    bottom: 0;
    padding: 0 20px;
    text-align: left;
    overflow: scroll;
    transition: 0.4s all ease;
    z-index: 100;
    color: black!important;
}

.data-popup h2 {
    color: black!important;
    margin: 0 0 .5em;
    font-weight: bold;
    text-transform: uppercase;
}

.data-popup h1, .data-popup h2, .data-popup h3, .data-popup h4, .data-popup h5, .data-popup h6 {
    color: black!important;
}

.data-popup a {
    color: black!important;
}

.data-popup .close-btn {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url("../assets/sovino-x.svg");
    background-size: 100%;
    top: 1em;
    right: 1em;
    font-weight: bold;
    cursor: pointer;
}

.data-popup li {
    margin-bottom: 0.5rem;
}

.popup-open {
    height:75vh;
    padding: 4rem 20px;
    overflow-x: hidden;
}

.popup-overlay {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s all ease;
    z-index: 100;
}

.show-overlay {
    pointer-events: all;
    opacity: 1;
}

.custom-checkbox label {
    display: block;
    position: relative;
    padding-left: 50px;
    margin-bottom: 12px;
    cursor: pointer;
    user-select: none;
    font-size: 90%!important;
    text-align: left;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox input:checked {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;  
}

.custom-checkbox input:checked +.custom-checkmark:after {
    display: block;
}

.custom-checkbox span.custom-checkmark{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s all;
    background-color: white;
}

.custom-checkbox span.custom-checkmark:after {
    content: "";
    display: none;
    width: 24px;
    height: 24px;
    background-image: url("../assets/sovino-x.svg");
    background-size: cover;
}

.disable-page {
    filter: blur(10px)!important;
    pointer-events: none;
}

.consent-wrapper {
    display: none;
}

#register-info label.error {
    margin-bottom: 1.5rem;
    margin-top: -0.8rem;
    color: red;
}

.language-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.language-switcher p {
    margin-bottom: 0;
}

.language-switcher .lang {
    opacity: 0.4;
    cursor: pointer;
    padding: 0 0.5rem;
    user-select: none;
}

.language-switcher .lang.active {
    opacity: 1;
}

