﻿/* 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. */

@font-face {
  font-family: 'TitilliumWeb';
  src: url('../fonts/TitilliumWeb-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TitilliumWeb';
  src: url('../fonts/TitilliumWeb-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'TitilliumWeb';
  src: url('../fonts/TitilliumWeb-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

/* .btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
} */

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.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;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

.footer-spacer {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}

.footer {
  position: sticky;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
  background-color: white;
  margin-top: 60px;
  z-index: 10;
}


:root {
  --primary-color: #8B1919;
}

body {
  font-family: 'TitilliumWeb', sans-serif;
}

.page {
  width: 100vw;
  min-height: 100vh;
}

.background {
  position: absolute;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  object-fit: cover;
  z-index: -1;
}

.hero {
  height: 29vh;
  font-size: calc(18px * var(--font-scale));
  display: flex;
  flex-flow: column nowrap;
  justify-content: begin;
  margin-top: 2em;
}

.title {
  font-size: calc(28px * var(--font-scale));
  font-weight: bold;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 0.25em;
  padding-top: 1em;
}

.hero h1 {
  font-size: calc(60px * var(--font-scale));
  font-weight: bold;
}

.about {
  font-size: calc(14px * var(--font-scale));
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
}

.about h2 {
  font-size: calc(40px * var(--font-scale));
  font-weight: bold;
}

.about-p {
  padding-left: 2em;
  padding-right: 2em;
  min-width: calc(420px * var(--font-scale));
  gap: 0.5em;
}

.home-image {
  width: 100%;
  flex-shrink: 1;
}

.home-image > img {
  width: 100%;
  height: 100%;
}

.home-padding {
  margin-left: 2em;
  margin-right: 2em;
}

button.btn-primary, button.btn-primary:hover, button.btn-primary:not(.disabled):not(.disabled):active {
  background-color: var(--primary-color);
  color: white;
  font-size: calc(12px * var(--font-scale));
  padding: 16px;
  min-width: 200px;
  font-weight: bold;
  border-radius: 0;
  border-color: var(--primary-color);
}

button.btn-primary.disabled, button.btn-primary:disabled {
  opacity: 0.5;
  background-color: var(--primary-color);
  color: white;
  font-size: calc(12px * var(--font-scale));
  padding: 16px;
  min-width: 200px;
  font-weight: bold;
  border-radius: 0;
  border-color: var(--primary-color);
  cursor: default;
}

.bg-p {
  background-color: var(--primary-color);
}

.form {
  font-size: calc(15px * var(--font-scale));
}

.terms {
  background-image: url("/img/procedure_background.png");
  background-size: cover;
  background-origin: border-box;
  background-repeat: no-repeat;
  background-position: center;
}

.terms-container {
  background-color: rgba(255, 255, 255, 0.5);
}

.terms-content {
  padding: 2em;
  display: flex;
  flex-flow: column nowrap;
  gap: 1em;
}

.confirm-label {
  font-size: calc(16px * var(--font-scale));
}

.terms-header {
  font-size: calc(23px * var(--font-scale));
  text-align: center;
  padding: 0 2em;
}

.bg-form {
  background-image: url("/img/form_background.png");
  background-size: cover;
  background-origin: border-box;
  background-repeat: no-repeat;
  background-position: center;
}

.form-content {
  padding: 2em;
  display: flex;
  flex-flow: column nowrap;
  gap: 0.5em;
  flex: 1 1 0%;
}

label {
  margin-bottom: -0.5em;
}

.gallery-img {
  max-width: calc(100%/3 - 1em);
  object-fit: cover;
}

.fit-cover {
  object-fit: cover;
}

.registration-select-item {
  display: flex;
  flex-flow: column nowrap;
  background-color: white;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding-bottom: 4em;
  min-width: 25%;
}

.registration-select-item > div {
  flex-shrink: 1;
  margin-bottom: 2em;
  height: calc(100% - 2em);
}

.registration-select-item > div > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.registration-select-item:hover {
  text-decoration: none;
  color: inherit;
}

.registration-select-item-title {
  font-size: calc(16px * var(--font-scale))
}

.registration-select-title {
  font-weight: bold;
  font-size: calc(40px * var(--font-scale))
}

.gap-4 {
  gap: 1em;
}

.gap-2 {
  gap: 0.5em;
}

.float-right
{
  float: right;
}

.min-h-100vh {
  min-height: 100vh;
}

.h-100vh {
  height: 100vh;
}

.row-disabled:not(.k-alt)
{
  background-color: white;
}

.row-disabled
{
  filter: brightness(80%);
  color: gray;
}

.scrollTopButton
{
  position: fixed;
  bottom: 2em;
  right: 2em;
  width: 4em;
  height: 4em;
  border-radius: 50%;
  outline: none;
  border: none;
  background-color: transparent;
  background-color: var(--primary-color);
  color: white;
}

.scrollTopButton > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact
{
  padding: 2em;
}

.contact-margin
{
  margin-top: calc(81px * var(--font-scale));
}

.overlay {
  z-index: 1;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: white;
}

.flag {
  width: 10em;
  border: 1px solid black;
}

.flag-icon {
  height: calc(12px * var(--font-scale));
  border: 1px solid black;
}

.language-label {
  font-weight: normal;
  font-size: calc(16px * var(--font-scale));
}

.language-button {
  cursor: pointer;
  background: none;
  outline: none;
  border: none;
}

.overflow-y-hidden {
  overflow-y: hidden;
}

.language-dropdown {
  font-size: calc(12px * var(--font-scale));
  font-weight: normal;
  background-color: white;
  border: 1px solid #76766b;
  padding: 0.5em;
  border-radius: 0.5em;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translateY(100%);
  width: 10em;
  visibility: hidden;
}

.language-dropdown > a {
  display: block;
  text-decoration: none;
  color: black;
  width: 100%;
  padding: 0.2em 0.5em;
}

.language-dropdown > a:hover {
  background-color: #ccc;
}

.language-container {
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: calc(20px * var(--font-scale));
  width: 2.5em;
}

.language-container:focus-within > .language-dropdown,
.language-container:hover> .language-dropdown {
  visibility: visible;
}

.language-dropdown hr {
  margin: 0.5em 0;
}

.bg-twhite {
  background-color: rgba(255, 255, 255, 0.5);
}

.home {
  background-image: url("/img/home_background_mobile.png");
  background-size: cover;
  background-origin: border-box;
  background-repeat: no-repeat;
  background-position: bottom;
}

@media (max-width: 767px) {
  .hide-md {
    display: none;
  }
  .hero h1 {
    font-size: calc(40px * var(--font-scale));
  }
  :root {
    --font-scale: 1;
  }
  .container-home {
    display: flex;
    flex-flow: column nowrap;
    height: 100%;
    gap: 2em;
  }
  .page-shrink-md {
    min-height: 0;
  }
  .language-dropdown
  {
    font-size: calc(16px * var(--font-scale));
  }
  .logo {
    height: calc(5em * var(--font-scale)); 
    margin: 0.5em 0;
    /* height: unset; */
    /* width: 50%; */
  }
}

@media (min-width: 768px) {
  .title {
      flex-flow: row nowrap;
      justify-content: center;
      gap: 1em;
      padding-top: 0;
      height: 18vh;
  }
  .contact
  {
    padding: calc(54px * var(--font-scale));
  }
  .home {
    background-image: url("/img/home_background.png");
    background-position: center;
  }
  .hero {
    margin-top: 32vh;
    justify-content: center;
  }
  .flex-spacer {
      flex-grow: 1;
  }
  :root {
    --font-scale: 1;
  }
  .w-md-50 {
    width: 50%;
  }
  .about-p {
    padding-left: 4em;
    padding-right: 0;
    width: calc(400px * var(--font-scale));
  }
  .home-image {
    display: none;
  }
  .registration-select-item
  {
    height: calc(100vmin - 27em);
  }
}

@media (min-width: 992px) {
  :root {
    --font-scale: 1.4;
  }
}


.procedure-grid
{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5em;
  width: 100%;
  justify-items: center;
  align-items: center;
}

.procedure-grid-spacer
{
  display: none;
}

@media (min-width: 768px) {
  .procedure-grid
  {
    grid-template-columns: repeat(10, 1fr);
  }

  .procedure-grid-item
  {
    grid-column: span 2;
  }

  .procedure-grid-spacer
  {
    display: block;
  }
}

.procedure-title
{
  background-color: #F9D39F;
  border-radius: 0.5rem;
  padding: 0.5em;
  margin-bottom: 0.5em;
}

.procedure-grid-item
{
  background-color: #98226E;
  color: white;
  border-radius: 0.5rem;
  text-transform: uppercase;
  height: 8rem;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  padding: 0.5rem;
  gap: 0.5rem;
  font-size: calc(15px * var(--font-scale));
  text-align: left;
  align-items: center;
}

.procedure-grid-item > img {
  height: 4rem;
  background-color: white;
  border-radius: 100%;
  padding: 2px;
}

.font-size-80 {
  font-size: calc(15px * 0.8 * var(--font-scale));
}

.font-size-60 {
  font-size: calc(15px * 0.6 * var(--font-scale));
}

.logo {
  height: 12em;
  object-fit: contain;
  margin: 2em;
}

.logo-small {
  height: 8em;
  margin: 1em;
}

.qrcode {
  max-height: 24rem;
  object-fit: contain;
}

.welcome-to {
  height: 4em;
  object-fit: contain;
}

h1, h2 {
  font-weight: bold;
}

.spacer
{
  margin: 4em;
}

.home-divider {
  font-size: calc(64px * var(--font-scale));
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
  transform: translateY(1rem);
  gap: 0.5rem;
  height: calc(64px * var(--font-scale) * 0.75);
}

.home-divider::before, .home-divider::after {
  content: '';
  display: inline-block;
  background-color: black;
  height: 1px;
  flex: 1 1 0%;
  margin-bottom: 2rem;
}

.home-text {
  color: #666666;
}

.pattern-bg {
  background-color: white;
  background-image: url("../img/DSC05520.png");
  background-size: 2000px;
}

.bg-overlay {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
}

.bg-1 {
  background-color: white;
  background-image: url("../img/DSC05520.jpg");
  background-size: 2000px;
}
.bg-2 {
  background-color: white;
  background-image: url("../img/DSC05502.jpg");
  background-size: 2000px;
}
.bg-3 {
  background-color: white;
  background-image: url("../img/DSC05476.jpg");
  background-size: 2000px;
}
.bg-4 {
  background-color: white;
  background-image: url("../img/DSC05493.jpg");
  background-size: 2000px;
}
.bg-5 {
  background-color: white;
  background-image: url("../img/DSC05479.jpg");
  background-size: 2000px;
}

.flex-1 {
  flex: 1 1 0%;
}

.carousel-container
{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

.carousel
{
  width: 800vw;
  height: 100%;
  position: relative;
  animation: scroller 30s infinite;
  display: flex;
  flex-flow: row nowrap;
}

@keyframes scroller {
  0% { transform: translateX(0); }
  8.3% { transform: translateX(-100vw); }
  16.6% { transform: translateX(-100vw); }
  25% { transform: translateX(-200vw); }
  33.3% { transform: translateX(-200vw); }
  41.6% { transform: translateX(-300vw); }
  50% { transform: translateX(-300vw); }
  58.3% { transform: translateX(-400vw); }
  66.6% { transform: translateX(-400vw); }
  75% { transform: translateX(-500vw); }
  83.3% { transform: translateX(-500vw); }
  91.6% { transform: translateX(-600vw); }
  100% { transform: translateX(-600vw); }
}

@media (prefers-reduced-motion) {
  .carousel
  {
    animation: unset;
  }
}

.carousel-image
{
  /* position: absolute; */
  /* top: 0; */
  /* left: 0; */
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}