@import url(reset.css);

* {
  outline: none;
}

html,
body {
  height: 100%;
  min-height: 100%;
}

body {
  line-height: 20px;
  font-size: 18px;
  font-weight: 400;
}

img {
  vertical-align: top;
}

.site {
  background: url(../img/xnes_iframe.jpg) no-repeat 50% 0%;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}

.site::-webkit-scrollbar {
  width: 0;
}

.clearfix:after {
  display: block;
  clear: both;
  content: '';
}

/*--------- Xnes iframe ---------*/

.xnes_iframe {
  /*display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: vw(30);*/
  direction: rtl;
  width: 100%;
  min-width: 100%;
  height: 100%;
  font-family: 'open_sans_hebrewregular';
  z-index: 9999;
}

.xnes_iframe .iframe_content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  min-height: 64.84375vw;
  margin: 0 auto;
  padding: 0 4.6875vw;
  color: #fff;
}

.xnes_iframe .iframe_content.iframe_content_thanks {
  min-height: 1px;
}

.xnes_iframe .iframe_top {
  padding: 1.875vw 2.34375vw 1.875vw 2.34375vw;
  text-align: center;
}

.xnes_iframe .iframe_top img {
  width: 42.03125vw;
  max-width: 42.03125vw;
}

.xnes_iframe .iframe_bottom {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
  padding: 2.03125vw 2.34375vw 2.03125vw 2.34375vw;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.xnes_iframe .iframe_title {
  margin: 0 0 2.96875vw 0;
  line-height: 6.25vw;
  font-family: 'open_sans_hebrewbold';
  font-size: 6.25vw;
  text-align: center;
  color: #f8991c;
}

.xnes_iframe .iframe_title span {
  display: block;
  padding: 0.46875vw 0 0 0;
  line-height: 3.4375vw;
  font-family: 'open_sans_hebrewregular';
  font-size: 3.4375vw;
  color: #fff;
}

.xnes_iframe .iframe_title span span {
  display: inline;
}

.iframe_form {
  width: 62.1875vw;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 3.28125vw;
  font-size: 2.8125vw;
  color: #fff;
}

.iframe_form .iframe_form_columns {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.iframe_form .iframe_form_columns p {
  width: 50%;
  margin: 0 0 2.1875vw 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 2.8125vw;
  font-size: 2.8125vw;
  color: #fff;
}

.iframe_form .iframe_form_columns p span {
  display: block;
  margin: 0 0 1.09375vw 0;
}

.iframe_form p {
  padding: 0 1.40625vw;
}

.iframe_form p.extra {
  margin: -0.78125vw 0 1.875vw 0;
}

.iframe_form p.no_indent {
  margin: 0 !important;
}

.iframe_form input[type="text"],
.iframe_form input[type="email"],
.iframe_form input[type="url"],
.iframe_form input[type="password"],
.iframe_form input[type="search"],
.iframe_form input[type="number"],
.iframe_form input[type="tel"],
.iframe_form input[type="range"],
.iframe_form input[type="date"],
.iframe_form input[type="month"],
.iframe_form input[type="week"],
.iframe_form input[type="time"],
.iframe_form input[type="datetime"],
.iframe_form input[type="datetime-local"],
.iframe_form input[type="color"],
.iframe_form textarea {
  background: #fff;
  width: 100%;
  min-height: 5.46875vw;
  margin: 0;
  padding: 1.09375vw 1.5625vw 1.09375vw 1.5625vw;
  border: none;
  -webkit-border-radius: 0.9375vw;
  -moz-border-radius: 0.9375vw;
  border-radius: 0.9375vw;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: top;
  line-height: 3.28125vw;
  font-family: 'open_sans_hebrewregular';
  font-size: 2.8125vw;
  font-weight: normal;
  color: #000;
}

.iframe_form input[type="text"]::-webkit-input-placeholder,
.iframe_form input[type="email"]::-webkit-input-placeholder,
.iframe_form input[type="url"]::-webkit-input-placeholder,
.iframe_form input[type="password"]::-webkit-input-placeholder,
.iframe_form input[type="search"]::-webkit-input-placeholder,
.iframe_form input[type="number"]::-webkit-input-placeholder,
.iframe_form input[type="tel"]::-webkit-input-placeholder,
.iframe_form input[type="range"]::-webkit-input-placeholder,
.iframe_form input[type="date"]::-webkit-input-placeholder,
.iframe_form input[type="month"]::-webkit-input-placeholder,
.iframe_form input[type="week"]::-webkit-input-placeholder,
.iframe_form input[type="time"]::-webkit-input-placeholder,
.iframe_form input[type="datetime"]::-webkit-input-placeholder,
.iframe_form input[type="datetime-local"]::-webkit-input-placeholder,
.iframe_form input[type="color"]::-webkit-input-placeholder,
.iframe_form textarea::-webkit-input-placeholder {
  color: #000;
}

.iframe_form input[type="text"]:-moz-placeholder,
.iframe_form input[type="email"]:-moz-placeholder,
.iframe_form input[type="url"]:-moz-placeholder,
.iframe_form input[type="password"]:-moz-placeholder,
.iframe_form input[type="search"]:-moz-placeholder,
.iframe_form input[type="number"]:-moz-placeholder,
.iframe_form input[type="tel"]:-moz-placeholder,
.iframe_form input[type="range"]:-moz-placeholder,
.iframe_form input[type="date"]:-moz-placeholder,
.iframe_form input[type="month"]:-moz-placeholder,
.iframe_form input[type="week"]:-moz-placeholder,
.iframe_form input[type="time"]:-moz-placeholder,
.iframe_form input[type="datetime"]:-moz-placeholder,
.iframe_form input[type="datetime-local"]:-moz-placeholder,
.iframe_form input[type="color"]:-moz-placeholder,
.iframe_form textarea:-moz-placeholder {
  opacity: 1;
  color: #000;
}

.iframe_form input[type="text"]::-moz-placeholder,
.iframe_form input[type="email"]::-moz-placeholder,
.iframe_form input[type="url"]::-moz-placeholder,
.iframe_form input[type="password"]::-moz-placeholder,
.iframe_form input[type="search"]::-moz-placeholder,
.iframe_form input[type="number"]::-moz-placeholder,
.iframe_form input[type="tel"]::-moz-placeholder,
.iframe_form input[type="range"]::-moz-placeholder,
.iframe_form input[type="date"]::-moz-placeholder,
.iframe_form input[type="month"]::-moz-placeholder,
.iframe_form input[type="week"]::-moz-placeholder,
.iframe_form input[type="time"]::-moz-placeholder,
.iframe_form input[type="datetime"]::-moz-placeholder,
.iframe_form input[type="datetime-local"]::-moz-placeholder,
.iframe_form input[type="color"]::-moz-placeholder,
.iframe_form textarea::-moz-placeholder {
  opacity: 1;
  color: #000;
}

.iframe_form input[type="text"]:-ms-input-placeholder,
.iframe_form input[type="email"]:-ms-input-placeholder,
.iframe_form input[type="url"]:-ms-input-placeholder,
.iframe_form input[type="password"]:-ms-input-placeholder,
.iframe_form input[type="search"]:-ms-input-placeholder,
.iframe_form input[type="number"]:-ms-input-placeholder,
.iframe_form input[type="tel"]:-ms-input-placeholder,
.iframe_form input[type="range"]:-ms-input-placeholder,
.iframe_form input[type="date"]:-ms-input-placeholder,
.iframe_form input[type="month"]:-ms-input-placeholder,
.iframe_form input[type="week"]:-ms-input-placeholder,
.iframe_form input[type="time"]:-ms-input-placeholder,
.iframe_form input[type="datetime"]:-ms-input-placeholder,
.iframe_form input[type="datetime-local"]:-ms-input-placeholder,
.iframe_form input[type="color"]:-ms-input-placeholder,
.iframe_form textarea:-ms-input-placeholder {
  color: #000;
}

.iframe_form input[type="checkbox"] {
  background: #fff;
  width: 2.03125vw;
  min-width: 2.03125vw;
  height: 2.03125vw;
  min-height: 2.03125vw;
  margin: 0 0 0 1.40625vw;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  vertical-align: middle;
}

.iframe_form input[type="submit"],
.iframe_form input[type="reset"] {
  background: #f8991c;
  width: 100%;
  height: 6.25vw;
  margin: 0;
  padding: 0 2.34375vw;
  border: none;
  -webkit-border-radius: 0.9375vw;
  -moz-border-radius: 0.9375vw;
  border-radius: 0.9375vw;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: background 0.8s, color 0.8s;
  -o-transition: background 0.8s, color 0.8s;
  -moz-transition: background 0.8s, color 0.8s;
  transition: background 0.8s, color 0.8s;
  font-family: 'open_sans_hebrewbold';
  font-size: 2.8125vw;
  font-weight: normal;
  cursor: pointer;
  color: #fff;
}

.thankYouArea {
  padding: 0 0 1.875vw 0;
  line-height: 5vw;
  font-family: 'FbSpacerBold';
  font-size: 4.6875vw;
  text-align: center;
}

.thankYouArea strong {
  display: block;
  margin: 0 0 -0.78125vw 0;
  line-height: 9.6875vw;
  font-size: 9.6875vw;
  font-weight: normal;
}

/*--------- Xnes iframe ---------*/

@media (max-width: 991px) {
  .thankYouArea {
    line-height: 10vw;
    font-size: 9.375vw;
  }

  .thankYouArea strong {
    margin: 0;
    line-height: 10vw;
    font-size: 9.375vw;
  }

  .thankYouArea span {
    display: block;
  }
}

@media (max-width: 540px) {
  .site {
    background: url(../img/xnes_iframe_mobile.jpg) no-repeat 50% 0%;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

  .xnes_iframe {
    display: block;
    padding: 0;
    overflow-y: scroll;
  }

  .xnes_iframe .iframe_content {
    min-height: 169.375vw;
    padding: 0 4.6875vw;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .xnes_iframe .iframe_top {
    padding: 4.375vw 4.6875vw 0.9375vw 4.6875vw;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .xnes_iframe .iframe_top img {
    width: 84.0625vw;
    max-width: 84.0625vw;
  }

  .xnes_iframe .iframe_bottom {
    height: 100%;
    padding: 2.1875vw 0 2.1875vw 0;
  }

  .xnes_iframe .iframe_title {
    margin: 0 0 4.6875vw 0;
    line-height: 8.75vw;
    font-size: 8.125vw;
  }

  .xnes_iframe .iframe_title span {
    padding: 0;
    line-height: 8.125vw;
    font-size: 6.875vw;
  }

  .xnes_iframe .iframe_title span span {
    display: block;
  }

  .iframe_form {
    width: 100%;
    line-height: 6.5625vw;
    font-size: 5.625vw;
  }

  .iframe_form .iframe_form_columns p {
    width: 100%;
    margin: 0 0 1.5625vw 0;
    line-height: 5.625vw;
    font-size: 5.625vw;
  }

  .iframe_form .iframe_form_columns p span {
    margin: 0 0 1.875vw 0;
  }

  .iframe_form p {
    line-height: 5.625vw;
    font-size: 5.625vw;
  }

  .iframe_form p.extra {
    margin: 0;
    padding: 0.9375vw 0 0 3.125vw;
  }

  .iframe_form input[type="text"],
  .iframe_form input[type="email"],
  .iframe_form input[type="url"],
  .iframe_form input[type="password"],
  .iframe_form input[type="search"],
  .iframe_form input[type="number"],
  .iframe_form input[type="tel"],
  .iframe_form input[type="range"],
  .iframe_form input[type="date"],
  .iframe_form input[type="month"],
  .iframe_form input[type="week"],
  .iframe_form input[type="time"],
  .iframe_form input[type="datetime"],
  .iframe_form input[type="datetime-local"],
  .iframe_form input[type="color"],
  .iframe_form textarea {
    min-height: 10.9375vw;
    padding: 2.1875vw 3.125vw 2.1875vw 3.125vw;
    -webkit-border-radius: 1.875vw;
    -moz-border-radius: 1.875vw;
    border-radius: 1.875vw;
    line-height: 6.5625vw;
    font-size: 5.625vw;
  }

  .iframe_form input[type="checkbox"] {
    float: right;
    width: 4.0625vw;
    min-width: 4.0625vw;
    height: 4.0625vw;
    min-height: 4.0625vw;
    margin: 0.9375vw 0 2.8125vw 2.8125vw;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }

  .iframe_form input[type="submit"],
  .iframe_form input[type="reset"] {
    height: 18.4375vw;
    margin: 5vw 0 0 0;
    padding: 0 4.6875vw;
    -webkit-border-radius: 1.875vw;
    -moz-border-radius: 1.875vw;
    border-radius: 1.875vw;
    font-size: 6.875vw;
  }
}