body{
  display: grid;
  grid-template-rows: 1fr max-content;
  height: 100vh;
  padding-top: 70px;
  background: #fafafa;
}
header {
  position: fixed;
  top: 0; left: 0;
  height: 70px;
  background: white;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0px 20px;
  z-index: 1000;
}
footer {
  background: white;
  padding: 10px;
}
footer .footer-logos {
  display: flex;
  gap: 10px;
}
footer .footer-logos img {
  height: 50px;
}
footer .footer-logos .right{
  margin-left: auto;
}
footer .disclaimer{
	max-width: 1200px;
  margin: auto;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #ccc;
  width: 100%;
	font-weight: bold;
  font-size: 13px;
	text-align: center;
	color: #444;
}

img{
  max-width: 100%;
  max-height: 100%;
}
label{
  margin: 0;
}
.pre{
  white-space: pre-wrap;
}

header .logo-link{
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
}
header img{
  height: 80%;
  /* margin-right: 10px; */
}

.menu{
  flex-basis: 100%;
	display: flex;
  align-items: center;
	margin-left: 20px;
	font-size: 18px;
	gap: 5px;
}
.menu > a {
	padding: 15px;
}
.menu-mobile,
.menu-close{
  display: none;
}
#header-buttons{
  margin-left: auto;
}

@media (max-width: 700px){
  .menu{
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: white;
    margin: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .menu:not(.open){
    display: none;
  }
  .menu-close{
    display: block;
    position: absolute;
    top: 20px; right: 27px;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  .menu-close > *{
    width: 100%;
    height: 3px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background: var(--blue);
  }
  .menu-close > *:last-child{
    transform: translateY(-50%) rotate(-45deg);
  }
  .menu-mobile{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 45px; height: 41px;
    margin-left: auto;
    padding: 10px;
    cursor: pointer;
  }
  .menu-mobile > *{
    width: 100%;
    height: 3px;
    background: var(--blue);
  }
  #header-buttons{
    margin-left: 0;
  }
}

.max-container{
  width: 100%;
  max-width: 900px;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0px 15px;
}

.hero{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70vh;
  padding: 40px;
}
.hero-image{
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  background-size: cover;
  background-position: center bottom 30%;
}
.hero-overlay{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1;
}
.hero-message{
  font-size: 18px;
  color: white;
  z-index: 2;
}
.hero-message h1{
  text-align: center;
  font-size: 50px;
  margin-bottom: 30px;
}

.index-block{
  margin: 60px 0px;
}
.index-block h2{
  text-align: center;
  margin-bottom: 20px;
}

.index-ul{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-left: 0;
}
.index-ul li{
  list-style: none;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

.scale-element{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 1px solid #ccc;
  margin: 10px 0px;
  padding: 10px 20px;
  border-radius: 5px;
}
.scale-element h2{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.scale-element h2 img{
  height: 1em;
}
.scale-element .btn{
  flex-shrink: 0;
}

@media (max-width: 700px){
  .scale-element,
  .scale-element h2{
    flex-direction: column;
    gap: 0;
  }
  .scale-element h2{
    font-size: 24px;
    text-align: center;
  }
  .scale-element .btn{
    margin-top: 10px;
  }

}

.partner{
	margin-bottom: 30px;
	padding: 10px 20px;
	background: white;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.partner h2{
	font-size: 25px;
	margin-bottom: 0;
	text-align: left;
	color: #000;
}
.partner img {
  height: 100px;
  margin: 10px 0px;
}


.btn-lang img{
  height: 40px;
}

#lang-picker{
  display: grid;
  justify-content: center;
}
.lang-picker-item {
  font-size: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 15px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
}
.lang-picker-item:hover{
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-decoration: none;
  color: inherit;
}
.lang-picker-item img{
  height: 35px;
}

.lang-el{
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 5px;
  gap: 5px;
  font-size: 18px;
  background: white;
  border: 1px solid #ddd;
}
.lang-el img{
  height: 1.5em;
}

.scale-table{
}
.scale-table input{
  font-size: 20px;
}
.td-center{
  text-align: center;
}
.td-small{
  width: 1%;
}
.td-pad{
  padding: 0px 10px;
}
.scale-table td{
  border: 1px solid black;
    background: white;
}

/* easy radio */
.td-radio{
  display: flex;
}
.td-radio input{
  display: none;
}
.td-radio input + span{
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.td-radio input:checked + span::before{
  content: "";
  width: 100%;
  height: 100%;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2248%22%20viewBox%3D%220%2096%20960%20960%22%20width%3D%2248%22%3E%3Cpath%20d%3D%22M378%20821%20142%20585l52-52%20184%20184%20388-388%2052%2052-440%20440Z%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2248%22%20viewBox%3D%220%2096%20960%20960%22%20width%3D%2248%22%3E%3Cpath%20d%3D%22M378%20821%20142%20585l52-52%20184%20184%20388-388%2052%2052-440%20440Z%22%2F%3E%3C%2Fsvg%3E");
  mask-size: 100%;
  -webkit-mask-size: 100%;
  background: black;
}
.td-radio input.error + span{
  background: rgba(255, 0, 0, 0.2);
}


/* Label Check */
.label-check{
  display: inline-flex;
  align-items: center;
  background: white;
  padding: 2px 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin: 0;
  cursor: pointer;
}
.label-check > input{
  margin-right: 5px;
}

/* CLOSE BUTTON */
.close-button{
  font-size:30px;

  position:relative;
  display:inline-block;
  width:1em;
  height:1em;
}
.close-button::before,
.close-button::after{
  content:"";
  position:absolute;
  top:50%; left:50%;
  width:0.8em; height:0.05em;
  background: currentColor;
}
.close-button.close-button-white::before,
.close-button.close-button-white::after{
  background:black;
}
.close-button::before{
  transform: translate(-50%, -50%) rotate(45deg);
}
.close-button::after{
  transform: translate(-50%, -50%) rotate(-45deg);
}

.close-button.is-thick::before,
.close-button.is-thick::after{
  height:0.1em;
}

.card.with-badge > .card-header,
.card.with-close > .card-header,
.card.with-back > .card-header{
  display:flex;
  align-items: center;
}
.card.with-close > .card-header > .close-button{
	color: black;
  margin-left:auto;
  cursor:pointer;
  flex-shrink: 0;
}


@media (max-width: 900px){
  .index-ul{
    grid-template-columns: repeat(2, 1fr);
  }

  footer .footer-logos{
    justify-content: center;
    flex-wrap: wrap;
  }
  footer .footer-logos .right{
    margin-left: 0;
  }
}
