/*
#noiazomaiPopups
#noiazomaiPopups .closeArea //to be used as close area
#noiazomaiPopups .blockNoiazomaiPopups //each block. class added in block edit
#noiazomaiPopups .blockNoiazomaiPopups //each block. class added in block edit
#noiazomaiPopups .blockNoiazomaiPopups .popupsWrapper //wrapper of popups in each block
#noiazomaiPopups .blockNoiazomaiPopups .popupsWrapper .popup //each popup in each block. has node id class eg popup-1256


body.showNoiazomaiPopups
.popup.active

THEMES:
body.theme-gs (glikessintages)
body.theme-lm (loumidis)
*/

#noiazomaiPopups {
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 200;
  top: 0;
  left: 0;
  display: none;
}
body.showNoiazomaiPopups #noiazomaiPopups {
  display: block;
}

/*FIX Contextual*/

#noiazomaiPopups .blockNoiazomaiPopups.contextual-region {
  position: unset;
}
#noiazomaiPopups .closeArea {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}
#noiazomaiPopups .popup {
  width: 100%;
  height: auto;
  max-width: 580px;
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
  margin: 0;
  padding: 30px;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  display: none;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
#noiazomaiPopups .popup.active {
  display: block;
}
#noiazomaiPopups .popup .field--name-field-popup-image img {
  width: 100%;
  height: auto;
  display: block;
}
#noiazomaiPopups .popup .ctas {
  text-align: center;
  padding: 0px 0 0 0;
}
#noiazomaiPopups .popup p {
  margin: 0px;
  padding: 0px;
}
#noiazomaiPopups .popup .field--name-field-popup-title {
  color: #364ca7;
  font-size: 25px;
  font-family: 'PFCentroSerifPro-Medium';
  font-weight: bold;
  margin: 0px;
  padding: 32px 10px 15px 10px;
}
#noiazomaiPopups .popup .field--type-text-with-summary {
  font-size: 22px;
  color: #828282;
  font-family: 'PFEncoreSansPro-Reg';
  margin: 0px;
  padding: 0 10px 32px 10px;
}
body.theme-gs #noiazomaiPopups .popup .field--name-field-popup-title,
body.theme-gs #noiazomaiPopups .popup .field--type-text-with-summary {
  color: #5a4126;
}
#noiazomaiPopups .popup .ctas a {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  font-size: 16px;
  text-transform: uppercase;
  font-family: 'PFEncoreSansPro-Bold';
  background-color: #5bba9b;
  border: 2px solid #5bba9b;
  color: #fff;
  -webkit-transition: all 200ms;
  -moz-transition: all 200ms;
  -o-transition: all 200ms;
  transition: all 200ms;
  height: 50px;
  line-height: 50px;
  padding: 0 20px 0 20px;
  text-decoration: none;
  display: block;
  vertical-align: top;
  text-align: center;
}
#noiazomaiPopups .popup .ctas a:hover {
  background: #8bd1b5;
  border-color: #8bd1b5;
}
#noiazomaiPopups .popup .closePopup {
  position: absolute;
  right: 10px;
  top: 12px;
  background: url("images/icon-close.svg") no-repeat center center;
  background-size: contain;
  width: 16px;
  height: 16px;
}



/* korpi theme */
.pg-korpi-website #noiazomaiPopups .popup .field--name-field-popup-title{
  color: #00427A;
}

.pg-korpi-website #noiazomaiPopups .popup .field--type-text-with-summary{
  font-size: 20px;
  line-height: 134.99%;
  color: #000;
  font-family: 'Helvetica';
}

.pg-korpi-website #noiazomaiPopups .popup .ctas a {
    background-color: #FFF200;
    border: 2px solid #FFF200;
    font-size: 16px;
    color: #000;
    height: 58px;
    line-height: 58px;
}

/* gourmet theme */

.theme-gg #noiazomaiPopups .popup{
  background: #F7ECDD;
}

.theme-gg #noiazomaiPopups .popup .closePopup {
  background-image: url("images/icon-close-gg.svg");
}

.theme-gg #noiazomaiPopups .popup .field--name-field-popup-title{
  color: #3D2E2C;
  font-family: "RainierNorth700";
  text-transform: uppercase;
}

.theme-gg  #noiazomaiPopups .popup .field--type-text-with-summary{
  font-weight: 400;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  line-height: 134.99%;
  letter-spacing: -0.02em;
  color: #333333;
}

.theme-gg  #noiazomaiPopups .popup .ctas a {
    background-color: #005640;
    border: 2px solid #005640;
    font-size: 16px;
    color: #fff;
    height: 55px;
    line-height: 55px;
    font-weight: 400;
  font-family: "Roboto Condensed", sans-serif;
}




/* glikes sintages theme */

body.theme-gs #noiazomaiPopups .popup .field--name-field-popup-title,
body.theme-gs #noiazomaiPopups .popup .field--type-text-with-summary {
  color: #5a4126;
}

/* loumidis theme */

body.theme-lm #noiazomaiPopups .popup .field--name-field-popup-title {
  color: #006666;
  font-family: 'MatrixScriptOTGR-Bold';
}
body.theme-lm #noiazomaiPopups .popup .field--type-text-with-summary {
  color: #006666;
  font-family: 'PFFuturaNeu-Book';
  font-size: 20px;
}
body.theme-lm #noiazomaiPopups .popup .ctas a {
  background-color: #126039;
  border-color: #126039;
}
body.theme-lm #noiazomaiPopups .popup .ctas a:hover {
  background-color: #126039;
  border-color: #126039;
  opacity: 0.9;
}
@media screen and (max-width: 767px) {
  #noiazomaiPopups .popup {
    padding: 20px;
    width: calc(100% - 20px);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
  }
  #noiazomaiPopups .popup .field--name-field-popup-title {
    font-size: 20px;
    padding: 22px 10px 10px 10px;
  }
  #noiazomaiPopups .popup .field--type-text-with-summary {
    font-size: 18px;
    padding: 0 10px 20px 10px;
  }
  #noiazomaiPopups .popup .closePopup {
    right: 6px;
    top: 6px;
  }
}
@media screen and (max-height: 700px) {
  #noiazomaiPopups .popup {
    padding: 20px;
    max-width: 480px;
    top: 56%;
  }
  .gsPageGlikesSintages #noiazomaiPopups .popup {
    top: 58%;
  }
  .lmPageHomepage #noiazomaiPopups .popup {
    top: 54%;
  }
  #noiazomaiPopups .popup .field--name-field-popup-title {
    font-size: 20px;
    padding: 20px 10px 7px 10px;
  }
  #noiazomaiPopups .popup .field--type-text-with-summary {
    font-size: 18px;
    padding: 0 10px 15px 10px;
  }
  #noiazomaiPopups .popup .ctas a {
    font-size: 14px;
    height: 40px;
    line-height: 40px;
  }
  #noiazomaiPopups .popup .closePopup {
    right: 9px;
    top: 10px;
    width: 11px;
    height: 10px;
  }
}