@font-face {
  font-family: 'Open Sans';
  src: url("../fonts/OpenSansHebrew-Regular.ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url("../fonts/OpenSansHebrew-Bold.ttf");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url("../fonts/OpenSansHebrew-Light.ttf");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url("../fonts/OpenSansHebrew-ExtraBold.ttf");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

html {
  height: 100%;
}

body {
  height: 100%;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  text-align: right;
  font-family: 'Open Sans';
}

.prev-banner {
  display: none;
  height: calc(100vh - 570px);
  background-color: #000000;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  /*-webkit-animation-name: height;
  animation-name: height;*/
}

.banner {
  flex-shrink: 0;
  height: 570px;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  /* background-image: url("../img/bg.jpg"); */
  background-image: url("../img/bg.webp");
  padding-top: 30px;
  box-sizing: border-box;
}

.banner__header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
}

.banner__header span {
  display: block;
  height: 60px;
  width: 80px;
  position: relative;
  animation-duration: 1s;
  animation-delay: 0.4s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
  /*-webkit-animation-name: logo;
      animation-name: logo;*/
}

.banner__header span img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  display: block;
}

.banner__logo {
  max-width: 680px;
  margin: 3rem auto 0;
}

.banner__logo img {
  width: 100%;
}

@media screen and (max-width: 576px) {
  .banner {
    /* background-image: url("../img/mob-bg.jpg?v=1"); */
    background-image: url("../img/mob-bg.webp?v=1.2");
    height: auto;
    padding-bottom: 30px;
  }

  .banner__header {
    /*    order: 2;*/
    width: 50%;
    margin: 0 auto;
  }

  .banner__logo {
    order: 1;
    margin-top: 2rem;
    margin-bottom: 4rem;
  }
}

.form-wrap {
  /*  margin-top: -200px;*/
  position: relative;
  animation-duration: 1s;
  animation-delay: 0.3s;
  animation-fill-mode: both;
  padding-top: 40px;
  padding-bottom: 50px;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

@media screen and (max-width: 576px) {
  .form-wrap {
    margin-top: 0px;
    padding: 40px 0 50px;
  }
}

.form__title {
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.5;
  font-size: 25px;
}

.form__title span {
  display: block;
  font-size: 16px;
  /*  font-weight: 400;*/
}

@media screen and (max-width: 576px) {
  .form__title {
    margin-bottom: 20px;
  }
}


.form-group {
  margin-bottom: 10px;
}

.form-group label {
  text-align: right;
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
  line-height: 1;
  color: #000000;
  font-family: 'Open Sans';
}

@media screen and (max-width: 576px) {
  .form-group label {
    font-size: 16px;
  }
}

.form-group .form-control {
  border-radius: 5px;
  background-color: #f4f4f4;
  height: 45px;
  border: 1px solid #000;
  font-size: 14px;
  font-family: 'Open Sans';
  color: #000000;
}

.form-control::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 1);
}

.form-control:-moz-placeholder {
  color: rgba(0, 0, 0, 1);
}

.form-control::-moz-placeholder {
  color: rgba(0, 0, 0, 1);
}

.form-control:-ms-input-placeholder {
  color: rgba(0, 0, 0, 1);
}

.form-control:input-placeholder {
  color: rgba(0, 0, 0, 1);
}

.form-control:placeholder {
  color: rgba(0, 0, 0, 1);
}

.form-group .form-control:focus {
  /*outline: none;*/
  border: 1px solid #f00;
  box-shadow: 0px 0px 8px -4px #020202;
}

.form-group .form-control:valid,
.form-group .form-control:invalid {
  background-position: left calc(.375em + .1875rem) center;
  padding-right: 10px;
}

/*
.form-select {
  margin-top: 5px;
}*/
.form-check {
  position: relative;
}

.form-check input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  cursor: pointer;
}

.form-check .form-check-input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  opacity: 0;
  cursor: pointer;
}

.form-check-label {
  position: relative;
  padding-right: 36px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.25;
  color: #000000;
  font-family: 'Open Sans';
  display: block;
  text-align: right;
}

.checked-input a,
.form-check-label a {
  color: #000000;
  text-decoration: underline;
}

.checked-input {
  position: relative;
  padding-right: 36px;
}

.checked-input:before,
.form-check-label:before {
  content: '';
  display: block;
  border-width: 2px;
  border-color: #dddddd;
  border-style: solid;
  border-radius: 5px;
  width: 26px;
  height: 26px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

.checked-input:after,
.form-check-label:after {
  content: '';
  display: none;
  border-bottom: 2px solid #000000;
  border-right: 2px solid #000000;
  width: 11px;
  height: 23px;
  position: absolute;
  top: 0;
  bottom: 14px;
  right: 3px;
  margin: auto;
  transform: rotate(45deg);
}

.checked-input:after {
  display: block;
}

.form-check [type="checkbox"]:focus+.form-check-label:before {
  outline: rgb(0, 0, 0) auto 5px;
}

.form-check [type="checkbox"]:checked+.form-check-label:after {
  display: block;
}

/*.form-group .form-control:valid, .form-group .form-control:invalid {
      background-position: left calc(.375em + .1875rem) center; padding-right: 15px;}*/
.form-check-input.is-valid~.form-check-label,
.was-validated .form-check-input:valid~.form-check-label {
  color: #000000;
}

.form-check-input.is-invalid~.form-check-label,
.was-validated .form-check-input:invalid~.form-check-label {
  color: #000000;
  border: 1px solid #ff0000;
}


.custom-select {
  border-radius: 5px;
  background-color: #f4f4f4;
  height: 45px;
  border: none;
  font-family: 'Open Sans';
  font-size: 14px;
  color: #000000;
  padding-right: 16px;
  padding-left: 30px;
  position: relative;
  background-image: url("../img/arrow.png") !important;
  background-size: 10px !important;
  background-position-x: 10px;
}

.custom-select:focus {
  outline: none;
  box-shadow: 0px 0px 8px -4px #020202;
}

.custom-select.is-invalid,
.was-validated .custom-select:invalid {
  background-position: left calc(.375em + .1875rem) center;
}

.btn-submit {
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-align: center;
  background-color: #B30F17;
  /* background-color: #ed1b24; */
  box-shadow: 0px 5px 15px -4px #ed1b24;
  width: 228px;
  height: 55px;
  color: #ffffff;
  font-weight: bold;
  font-size: 22px;
  display: block;
  margin: 45px auto 0 auto;
  transition: all 0.25s;
}

@media screen and (max-width: 576px) {
  .btn-submit {
    margin: 15px auto 15px auto;
  }
}

.btn-submit:focus,
.btn-submit:active {
  outline: none;
}

.btn-submit:hover,
.btn-submit:focus {
  background-color: rgba(255, 255, 255, 1);
  color: rgba(237, 27, 36, 1);
  border: 1px solid rgba(237, 27, 36, 1);
  box-shadow: 0px 6px 18px -4px #741f22;
}

.form-submit-btn {
  background-color: #28a745;
  box-shadow: 0px 10px 18px -4px #28a745;
  position: relative;
}

.form-submit-btn span {
  display: none;
}

.form-submit-btn:before {
  content: '';
  display: block;
  height: 28px;
  width: 18px;
  border-bottom: 4px solid #ffffff;
  border-right: 4px solid #ffffff;
  position: absolute;
  left: 10px;
  right: 0;
  top: -8px;
  bottom: 0;
  margin: auto;
  transform: rotate(45deg);
}

.form-submit-btn:hover {
  box-shadow: 0px 6px 18px -4px #1a7c31;
}

.footer {
  background: #000000;
  display: flex;
  padding-top: 5px;
  padding-bottom: 5px;
  justify-content: center;
  flex-direction: column;
  margin-top: auto;
  color: #fff;
  flex-shrink: 0;
}

@media screen and (max-width: 576px) {}

.footer__logo {
  display: block;
  margin: auto;
  width: 90px;
}

.footer a {
  color: #fff;
  font-size: 80%;
  text-decoration: underline;
}

@keyframes checkbox-check {
  40% {
    border-bottom-color: #ed1b24;
  }

  100% {
    border-bottom-color: #ed1b24;
    border-right-color: #ed1b24;
    /*width: 8px;
    height: 14px;
    border-color: rgb(237, 27, 36);
    transform: translate3d(0, -14px, 0) rotate(45deg);*/
  }
}

@keyframes logo {
  from {
    height: 140px;
    width: 30%;
    margin-bottom: 100px;
    margin-top: -200px;
  }

  to {
    height: 60px;
    width: 80px;
    margin-bottom: 0;
    margin-top: 0;
  }
}

@-webkit-keyframes logo {
  from {
    height: 140px;
    width: 30%;
    margin-bottom: 100px;
    margin-top: -200px;
  }

  to {
    height: 60px;
    width: 80px;
    margin-bottom: 0;
    margin-top: 0;
  }
}

@-webkit-keyframes fadeIn {
  from {
    overflow: hidden;
    opacity: 0;
    -webkit-opacity: 0;
    height: 0;
    visibility: hidden;
  }

  to {
    height: auto;
    opacity: 1;
    -webkit-opacity: 1;
    visibility: visible;
  }
}

@keyframes fadeIn {
  from {
    overflow: hidden;
    height: 0;
    opacity: 0;
    visibility: hidden;
  }

  to {
    height: auto;
    opacity: 1;
    visibility: visible;
  }
}

@-webkit-keyframes fadeInFooter {
  from {
    overflow: hidden;
    opacity: 0;
    -webkit-opacity: 0;
    height: 0;
  }

  to {
    height: 57px;
    opacity: 1;
    -webkit-opacity: 1;
    visibility: visible;
  }
}

@keyframes fadeInFooter {
  from {
    overflow: hidden;
    height: 0;
    opacity: 0;
  }

  to {
    height: 57px;
    opacity: 1;
    visibility: visible;
  }
}

@-webkit-keyframes height {
  from {
    height: calc(100vh - 340px);
  }

  to {
    height: 0;
    display: none;
  }
}

@keyframes height {
  from {
    height: calc(100vh - 340px);
  }

  to {
    height: 0;
    display: none;
  }
}

.loader {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 99;
  background: rgba(0, 0, 0, 0.9);
}

.loader_container {
  color: #fff;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  font-size: 20px;
}

.grecaptcha-badge {
  transform: translateX(100%);
}
#access-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
}
#access-nav a:focus-visible,
#access-nav a:focus,
#access-nav a:active,
#access-nav:focus-within a {
    white-space: nowrap;
    z-index: 999999;
    top: 0;
    right: 0;
    left: auto;
    height: auto;
    width: auto;
    overflow: visible;
    color: #000;
    background: #fff;
    clip: auto;
    clip-path: none;
    -webkit-clip-path: none !important;
    padding: 0.5rem 1rem;
    position: fixed;
    transform: translateZ(0);
}

.form-group {
  position: relative;
}

.form-group label {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  transition: 0.2s;
  pointer-events: none;
  color: #888;
}

.form-group:has(input:focus) label,
.form-group.has-value label,
.form-group:has(select option:checked:not([value=""])) label {
  top: 6px;
  font-size: 12px;
}
