/* Modals */
/*
.modal-popup-error,
.modal-popup-success {
  display: block !important;
}
*/

#reg-modal-guest, #reg-modal-code, #reg-modal, .modal-open .modal {
  background: rgba(255, 255, 255, 0.715);
}
.modal .modal-dialog {
  width: 100%;
}

.modal .modal-dialog .modal-content {
  border: 12px solid #00AEEF;
  border-radius: 30px;
  height: 810px;
  background: white url("../images/popup/bg-popup.png?v=1") right bottom no-repeat;
  background-size: 250px;
  max-width: 95%;
}
.modal .modal-dialog .modal-content.modal-content-form {
  background: none;
  height: initial;
}
.modal-content {
  border: none;
}
.modal-header {
  border-bottom: none;
}
.modal-footer {
  display: none;
}
.form-error {
  text-align: left;
  padding-left: 10px;
  margin-bottom: 0 !important;
  line-height: 1em !important;
}
.form-msg {
  display: none;
  background: white;
  text-align: center;
  margin: 20px auto 0 auto;
  font-size: 16px;
  line-height: 1.325em;
  padding: 10px 15px;
}
.thanks-msg {
  color: #00aeef;
  border: 1px solid #00aeef;
}
.error-msg {
  color: #e22a86;
  border: 1px solid #e22a86;
}
.hd-success-trans {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}
.hd-form-wrap {
  background: white;
  padding: 15px;
  text-align: center;
  margin: auto;
  box-shadow: 1px 0px 7px 0px rgba(152, 152, 152, 1);
  -webkit-box-shadow: 1px 0px 7px 0px rgba(152, 152, 152, 1);
  -moz-box-shadow: 1px 0px 7px 0px rgba(152, 152, 152, 1);
}
.hd-form-inner-top {
  border: 3px solid #00aeef;
  padding: 5px;
  box-shadow: 1px 0px 3px 0px rgba(152, 152, 152, 1) inset;
  -webkit-box-shadow: 1px 0px 3px 0px rgba(152, 152, 152, 1) inset;
  -moz-box-shadow: 1px 0px 3px 0px rgba(152, 152, 152, 1) inset;
}
.hd-form-inner {
  border: 3px solid white;
  padding: 10px;
  box-shadow: 1px 0px 8px 0px rgba(152, 152, 152, 1) inset;
  -webkit-box-shadow: 1px 0px 8px 0px rgba(152, 152, 152, 1) inset;
  -moz-box-shadow: 1px 0px 8px 0px rgba(152, 152, 152, 1) inset;
}
.nrm-ppop-ttl-wrap {
  text-align: center;
  margin: auto;
  margin-top: 15px;
}
.close-popup-reg {
  font-size: 2.75rem;
}
.form-ttl {
  color: #ff2a86;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.135em;
}
.form-teaser {
  color: #081d39;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.135em;
  margin: 8px auto;
}


.hd-sound {
  width: 40px;
  height: 40px;
  background: url(../images/volume.png) 2px center no-repeat;
  transition: all 0.2s linear;
  cursor: pointer;
  margin-top: 34px;
  position: relative;
  right: 12px;
}

.hd-sound-wrap {
  display: none;
}

/* Check volume if decided to add | Eldad */
.hd-sound.active {
  display: block;
  background: url(../images/volume.png) right center no-repeat;
}
#hd-sound-checkbox {
  display: none;
}
@media screen and (max-width: 768px) {
  .hd-sound {
    margin-top: 21px;
  }
  .modal-header h4 {
    width: 80%;
  }
}

.form-control-lg,
.input-group-lg > .form-control,
.input-group-lg > .input-group-append > .btn,
.input-group-lg > .input-group-append > .input-group-text,
.input-group-lg > .input-group-prepend > .btn,
.input-group-lg > .input-group-prepend > .input-group-text,
.input-group-lg > .input-group-append > select.btn:not([size]):not([multiple]),
.input-group-lg > .input-group-append > select.input-group-text:not([size]):not([multiple]),
.input-group-lg > .input-group-prepend > select.btn:not([size]):not([multiple]),
.input-group-lg > .input-group-prepend > select.input-group-text:not([size]):not([multiple]),
.input-group-lg > select.form-control:not([size]):not([multiple]),
select.form-control-lg:not([size]):not([multiple]) {
  margin-top: 15px;
  padding: 0.35rem 1rem;
  border-radius: 0;
  border: 1.5px solid #00aeef;
  height: 40px;
  line-height: 1.25rem;
  font-size: 1rem;
}
.input-terms input,
.input-terms label {
  cursor: pointer;
}
.input-terms label {
  display: flex;
  align-items: flex-start;
  margin-top: 10px;
}
.hd-terms-span {
  font-size: 12px;
  text-align: left;
  padding-left: 5px;
}
.hd-submit {
  margin: 8px auto 20px auto;
  text-align: center;
}
#hd-form-submit {
  background: #00aeef;
  border-radius: 30px;
  color: white;
  text-align: center;
  display: inline-block;
  padding: 0 3em;
  font-size: 24px;
  line-height: 1.55em;
  font-weight: bold;
  border-color: transparent;
  cursor: pointer;
}
@media screen and (min-width: 960px) {
  .modal .modal-dialog {
    min-width: 1000px;
  }
  .modal .modal-dialog .modal-content {
    height: 691px;
    background: white url("../images/popup/bg-popup.png?v=1") right bottom no-repeat;
    background-size: 400px;
    max-width: 100%;
    padding-left: 50px;
  }
  
  .modal .modal-dialog .modal-content.bg2 {
    background: white url("../images/popup/bg-popup-2.png?v=1") right bottom no-repeat;
    background-size: 800px;
    max-width: 100%;
  }

  #hd-reg-form .container {
    max-width: 560px;
    margin-left: 0;
    margin-top: 50px;
  }

  #hd-form-submit {
    line-height: 2em;
  }

  .modal .modal-dialog .modal-content.modal-content-form {
    height: 600px;
  }
  .form-ttl {
    font-size: 26px;
  }
  .form-teaser {
    font-size: 20px;
    margin: 10px auto;
    line-height: 1.25em;
  }

  /* Check Diploma | Eldad */
  .hd-form-wrap {
    background: white;
  }
/*  .hd-form-wrap {
    background: transparent url(../images/easter-diploma-dt.png) center no-repeat;
    background-size: contain;
    padding: 0;
    text-align: center;
    margin: auto;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    height: 610px;
    border: 1px solid transparent;
  }
*/
  .hd-form-inner-top {
    border: none;
    padding: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
  }
  .hd-form-inner {
    border: none;
    padding: 0 12%;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
  }
}
@media screen and (min-width: 1800px) {
  .modal .modal-dialog .modal-content.modal-content-form {
    height: 890px;
  }
  .nrm-ppop-ttl-wrap {
    margin: 160px 0 0 0;
  }
  .form-ttl {
    font-size: 40px;
    line-height: 1.075em;
  }
  .form-teaser {
    font-size: 30px;
    margin: 10px auto;
  }

/* Check Diploma | Eldad */
/*
  .hd-form-wrap {
    background: transparent url(../images/easter-diploma-dt.png) center no-repeat;
    background-size: contain;
    padding: 0;
    text-align: center;
    margin: auto;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    height: 900px;
    border: 1px solid transparent;
  }
*/
  .hd-form-inner-top {
    border: none;
    padding: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
  }
  .hd-form-inner {
    border: none;
    padding: 0 12%;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
  }
}

.modal-header button.close {
  font-size: 55px;
  line-height: 1em;
  padding: 0;
  margin: 0;
  margin-top: 0;
  margin-right: 0;
}
.hd-easter-chars {
  position: relative;
  z-index: 601;
}
.modal-header h4 {
  text-align: left;
  margin: 55px 0 0 0;
  font-size: 30px;
  line-height: 1.15em;
  color: #00aeef;
  font-weight: 600;
}
.modal-body {
  text-align: left;
  margin: 0;
  padding: 0;
  font-family: "open-sans", sans-serif;
}

.modal-hd-code-bunny {
  padding-top: 50px;
}

.modal-hd-reg-bunny .modal-body {
  padding-top: 1rem;
}

.modal-hd-reg-bunny .modal-hd {
  right: 0;
  bottom: 40px;
}

.modal-hd-reg-bunny img {
  max-width: 150px;
}

.modal-hd-code-bunny.modal-has-code .modal-answers {
  margin: auto;
  margin-top: 50px;
  max-width: 310px;
  padding: 0 1rem;
}

.modal-hd-code-bunny .modal-body .modal-answer.submit-code,
.modal-hd-code-bunny.modal-has-code .modal-answer.code-correct,
.modal-hd-code-bunny.modal-has-code .modal-answer.has-code-cta {
  width: initial;
  margin: 20px auto;
  border: 2px solid #00aeef;
  background: #00aeef;
  color: white;
}

.code-teaser-correct,
.code-correct,
.code-incorrect {
  display: none;
}
.modal-hd-code-bunny.modal-has-code .modal-answer.code-correct,
.modal-hd-code-bunny.modal-has-code .modal-answer.code-incorrect {
  color: #F47D20;
  font-size: 14px;
  width: initial;
  border: none;
  background: transparent;
}

.modal-hd-code-bunny.modal-has-code .modal-answer.code-correct {
  color: #00aeef;
}


@media screen and (min-width: 960px) {
  .modal-header button.close {
    font-size: 80px;
    margin-top: 0;
    margin-right: 0;
  }
  .modal-header h4 {
    margin-top: 55px;
    font-size: 52px;
  }
  .modal-body {
    text-align: left;
    margin: 0;
    padding: 20px 250px 20px 0; /* 250px in order not to touch the char on the right */
    font-family: "open-sans", sans-serif;
  }
  .hd-form-wrap .close.close-popup-reg {
    position: relative;
    right: 0;
    top: -90px;
  }

  .modal-hd-code-bunny.modal-has-code .modal-answers {
    margin: 50px 0 0 0;
  }
}

.modal-hd {
  position: absolute;
  right: 15px;
  bottom: 20px;
}

.modal-hd img {
  width: 100%;
}
.modal-hd-natcat img {
  max-width: 110px;
}
.modal-hd-granny img,
.modal-hd-ollie img,
.modal-hd-flupe img,
.modal-hd-didi img,
.modal-hd-kangi img,
.modal-hd-bunny img {
  max-width: 150px;
}

.modal-hd-code-bunny img {
  max-width: 350px;
}

.modal-popup-error,
.modal-popup-success {
  display: none;
  padding: 40px 20px 0 25px;
  color: white;
  text-align: center;
  margin: auto;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35em;
  font-family: "Open Sans", sans-serif;
}

.modal-popup-error {
  background: url(../images/popup/bubble-wrong-m.png) 0 0 no-repeat;
  background-size: contain;
  width: 220px;
  height: 158px;
  position: absolute;
  top: -80px;
  left: 114px;
}

.modal-popup-success {
  background: url(../images/popup/bubble-correct-m.png) 0 0 no-repeat;
  background-size: contain;
  padding: 40px 40px 0 0;
  width: 238px;
  height: 144px;
  position: absolute;
  top: -80px;
  left: 120px;
}

.modal-popup-error.modal-didi-popup-error {
  top: -140px;
  left: 88px;
}
.modal-popup-success.modal-didi-popup-success {
  top: -100px;
  left: 200px;
}
.modal-popup-error.modal-ollie-popup-error {
  top: -220px;
  left: 180px;
}
.modal-popup-success.modal-ollie-popup-success {
  top: -170px;
  left: 250px;
}
.modal-popup-error.modal-natcat-popup-error {
  top: -180px;
  left: 115px;
}
.modal-popup-success.modal-natcat-popup-success {
  top: -160px;
  left: 110px;
}
.modal-popup-error.modal-bunny-popup-error {
  top: -180px;
  left: 110px;
}
.modal-popup-success.modal-bunny-popup-success {
  top: -110px;
  left: 150px;
}
.modal-popup-error.modal-kangi-popup-error {
  top: -210px;
  left: 105px;
}
.modal-popup-success.modal-kangi-popup-success {
  top: -185px;
  left: 120px;
}
.modal-popup-error.modal-flupe-popup-error {
  top: -180px;
  left: 140px;
}
.modal-popup-success.modal-flupe-popup-success {
  top: -150px;
  left: 160px;
}
.modal-popup-error.modal-granny-popup-error {
  top: -175px;
  left: 204px;
}
.modal-popup-success.modal-granny-popup-success {
  top: -160px;
  left: 178px;
}
.modal-body h5 {
  font-size: 24px;
  line-height: 1.15em;
  font-weight: 700;
  color: #575757;
  padding: 0 1rem;
}

.modal-body h5 strong {
  font-weight: 700;
  text-decoration: underline;
}

.modal-body .modal-answers {
  margin-top: 50px;
}
.modal-body .modal-answer {
  font-size: 1.5em;
  line-height: 1.55em;
  font-weight: 600;
  border: 2px solid #00aeef;
  border-radius: 30px;
  background: white;
  color: #081d39;
  max-width: 320px;
  margin: 20px 1rem 0 1rem;
  text-align: center;
  cursor: pointer;
}
.modal-body .modal-answer:hover {
  border: 2px solid #00aeef;
  background: #00aeef;
  color: white;
}
.modal-body .answer-error,
.modal-body .answer-error:hover,
.modal-body .answer-error:active,
.modal-body .answer-error:focus {
  border: 2px solid #f47d20;
  background: #f47d20;
  color: white;
}
.modal-body .answer-success {
  border: 2px solid #89c54f;
  background: #89c54f;
  color: white;
}
@media screen and (min-width: 960px) {
  .modal-body .modal-answers {
    padding-left: 1rem;
  }
  .modal-body h5 {
    font-size: 40px;
    margin-left: 0;
    max-width: 500px;
  }
  .modal-hd {
    left: initial;
    right: 15px;
    bottom: 20px;
  }
  .modal-popup-error,
  .modal-popup-success {
    padding: 60px 20px 0 35px;
    font-size: 28px;
  }

  .modal-popup-error {
    background: url(../images/popup/bubble-wrong.png) 0 0 no-repeat;
    background-size: contain;
    width: 290px;
    height: 208px;
    position: absolute;
    top: -210px;
    left: 135px;
  }

  .modal-popup-success {
    background: url(../images/popup/bubble-correct.png) 0 0 no-repeat;
    background-size: contain;
    width: 290px;
    height: 180px;
    position: absolute;
    top: -206px;
    left: 107px;
  }
  .modal-body .modal-answer {
    font-size: 24px;
    line-height: 2em;
    margin: 20px 0 0 0;
  }

  .modal-hd-reg-bunny .modal-body {
    padding-top: 3rem;
  }

  .modal-hd-reg-bunny .modal-body h5 {
    max-width: initial;
  }

  .modal-hd-code-bunny img {
    max-width: 400px;
  }

  .modal-hd-reg-bunny .modal-hd {
    right: 0;
    bottom: 170px;
  }

  .modal-hd-reg-bunny img {
    max-width: 250px;
  }

  .modal-hd-didi img {
    max-width: 250px;
  }

  .modal-hd-natcat img {
    max-width: 220px;
  }

  .modal-hd-ollie img,
  .modal-hd-granny img {
    max-width: 320px;
  }
  
  .modal-hd-flupe img,
  .modal-hd-kangi img,
  .modal-hd-bunny img {
    max-width: 275px;
  }

}

@media screen and (max-width: 1024px) {
  .modal-popup-error.modal-didi-popup-error {
    top: -90px;
    left: -150px;
  }
  .modal-popup-success.modal-didi-popup-success {
    top: -80px;
    left: -125px;
  }
  .modal-popup-error.modal-ollie-popup-error {
    top: -160px;
    left: -85px;
  }
  .modal-popup-success.modal-ollie-popup-success {
    top: -150px;
    left: -65px;
  }
  .modal-popup-error.modal-natcat-popup-error {
    top: -150px;
    left: -130px;
  }
  .modal-popup-success.modal-natcat-popup-success {
    top: -140px;
    left: -100px;
  }
  .modal-popup-error.modal-bunny-popup-error {
    top: -150px;
    left: -100px;
  }
  .modal-popup-success.modal-bunny-popup-success {
    top: -130px;
    left: -80px;
  }
  .modal-popup-error.modal-kangi-popup-error {
    top: -155px;
    left: -140px;
  }
  .modal-popup-success.modal-kangi-popup-success {
    top: -145px;
    left: -120px;
  }
  .modal-popup-error.modal-flupe-popup-error {
    top: -160px;
    left: -100px;
  }
  .modal-popup-success.modal-flupe-popup-success {
    top: -145px;
    left: -80px;
  }
  .modal-popup-error.modal-granny-popup-error {
    top: -81px;
    left: 134px;
  }
  .modal-popup-success.modal-granny-popup-success {
    top: -89px;
    left: 140px;
  }
}





/* Certification */
.my-cert-wrap {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.75);
}

.my-cert,
.my-cert-img {
  text-align: center;
  margin: 0 auto;
}
.my-cert-img {
  max-height: 90vh;
  margin-top: 3.5vh;
}
.my-cert-name,
.my-cert-print,
.my-cert-country,
.hd-date-wrap {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.25rem;
  text-align: center;
  margin: auto;
}
.my-cert-name,
.my-cert-country {
  position: absolute;
  top: 25vh;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
}
.my-cert-name {
  font-size: 3rem;
  top: 25vh;
}
.my-cert-country {
  top: calc(25vh + 3.5rem);
  font-weight: 400;
}
.hd-date-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(25vh + 7rem);
}
.hd-date-wrap label {
  cursor: pointer;
  border-bottom: 1px solid black;
  padding: 0 8px 5px 8px;
}
.hd-date-wrap span {
  display: block;
  font-size: 1rem;
  font-weight: 500;
}
.my-cert-print {
  position: absolute;
  top: 3vh;
  right: 30vw;
}
.my-cert-print img {
  width: 30px;
}
.my-cert-print span {
  background: #00aeef;
  border-radius: 5px;
  color: white;
  padding: 8px 12px;
  display: inline-block;
  cursor: pointer;
}
.my-cert-close {
  top: 50px;
  position: absolute;
  left: -200%;
  font-size: 2.75rem;
}
@media screen and (max-width: 1750px) {
  .my-cert-print {
    right: 27vw;
  }
  .my-cert-close {
    left: -180%;
  }
}
@media screen and (max-width: 1420px) {
  .my-cert-print {
    right: 24vw;
  }
  .my-cert-close {
    left: -160%;
  }
}
@media screen and (max-width: 1250px) {
  .my-cert-print {
    right: 20vw;
  }
}
@media screen and (max-width: 1024px) {
  .my-cert-print {
    right: 3vw;
  }
  .my-cert-close {
    left: 0;
  }
  .my-cert-name,
  .my-cert-print,
  .my-cert-country,
  .hd-date-wrap {
    font-size: 1.35rem;
    line-height: 1.15rem;
  }
  .my-cert-name {
    font-size: 2rem;
    top: 20vh;
  }
  .my-cert-country {
    top: calc(20vh + 2.125rem);
  }
  .hd-date-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(20vh + 4.25rem);
  }
}
@media screen and (max-width: 768px) {
  .my-cert-print {
    right: 0.25vw;
    top: 0.25vh;
  }
  .my-cert-name,
  .my-cert-print,
  .my-cert-country,
  .hd-date-wrap {
    font-size: 1.75rem;
    line-height: 1.25rem;
  }
  .my-cert-name {
    font-size: 2rem;
    top: 25vh;
  }
  .my-cert-country {
    top: calc(25vh + 2.125rem);
  }
  .hd-date-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(25vh + 4.25rem);
  }
}
@media screen and (max-width: 560px) {
  .my-cert-name,
  .my-cert-print,
  .my-cert-country,
  .hd-date-wrap {
    font-size: 1.35rem;
    line-height: 1.15rem;
  }
  .my-cert-name {
    font-size: 2rem;
    top: 19vh;
  }
  .my-cert-country {
    top: calc(19vh + 2.125rem);
  }
  .hd-date-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(19vh + 4.25rem);
  }
}
@media screen and (max-width: 378px) {
  .my-cert-name,
  .my-cert-print,
  .my-cert-country,
  .hd-date-wrap {
    font-size: 1.25rem;
    line-height: 1.15rem;
  }
  .my-cert-name {
    font-size: 1.75rem;
    top: 22vh;
  }
  .my-cert-country {
    top: calc(22vh + 1.75rem);
  }
  .hd-date-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(21.5vh + 3.25rem);
  }
}





/* Winner */
#easter-winner-modal .easter-popup-ttl-wrap {

}

#easter-winner-modal .easter-popup-ttl-wrap .modal-title {
  margin: 0 auto;
  font-size: 30px;
  line-height: 1.15em;
  color: #00aeef;
  font-weight: 600;
}

.winner-cnt-share {
  margin-top: 10px;
  color: #FFE600;
}

.winner-share-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-direction: row;
  margin: 30px auto 0px auto;
}

.winner-share-cta {
  background: #00AEEF;
  border-radius: 8px;
  margin: 0 12px;
  font-size: 30px;
  color: white;
  padding: 6px;
  text-decoration: none;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.winner-share-cta:hover,
.winner-share-cta:active,
.winner-share-cta:focus {
  text-decoration: none;
  background: black;
  color: white;
}


.winner-chars .winner-bunny,
.winner-chars .winner-polly {
  position: absolute;
  bottom: 0;
}

.winner-chars .winner-bunny {
  top: -35px;
  left: 0;
  max-width: 100px;
  transform: scaleX(-1);
}

.winner-chars .winner-polly {
  bottom: 20px;
  right: 10px;
  max-width: 190px;
}

@media screen and (min-width: 960px) {
  #easter-winner-modal .easter-popup-ttl-wrap .modal-title {
    font-size: 52px;
    margin-bottom: 30px;
  } 

  #easter-winner-modal.modal .modal-dialog .modal-content {
    padding-left: 0;
  }
  #easter-winner-modal .modal-body {
    
    padding: 0;
  }

  #easter-winner-modal .modal-header h4 {
    margin-top: 0;
  }

  .winner-share-cta-wrap {
    margin: 80px auto 0px auto;
  }

  .winner-share-cta {
    font-size: 32px;
    width: 50px;
    height: 50px;
  }

  .winner-chars .winner-bunny {
    top: initial;
    bottom: 130px;
    left: 20;
    max-width: 250px;
  }

  .winner-chars .winner-polly {
    bottom: 50px;
    max-width: 280px;
  }
}

