.iesl-page {
  background-color: #d8ebd0;
}

.iesl {
  position: relative;
  overflow: hidden;
}

@media only screen and (max-width: 980px) {
  .iesl .desktop-el {
    display: none;
  }
}

@media only screen and (min-width: 981px) {
  .iesl .mobile-el {
    display: none;
  }
}

.iesl__title-container {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 21;
  width: 100%;
  text-align: center;
}

@media only screen and (max-width: 980px) {
  .iesl__title-container {
    position: relative;
    left: 0;
    transform: none;
    top: 0;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

.iesl__title-container h1 {
  color: #fff;
  text-shadow: 2px 2px #a0ad9a;
}

@media only screen and (max-width: 980px) {
  .iesl__title-container h1 {
    color: #2c2b2b;
    text-shadow: none;
  }
}

.iesl__subtitle {
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}

.iesl__subtitle h3 {
  color: #2c2b2b;
  padding-bottom: 0;
  font-size: 1.2em;
}

@media only screen and (max-width: 980px) {
  .iesl__title-container h1 {
    padding-bottom: 0;
    text-align: center;
  }
}

.iesl__text-box {
  max-width: 320px;
  border: 1px solid #e6f2e0;
  position: absolute;
  left: 50px;
  padding: 20px;
  padding-top: 0;
  background-color: #fff;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 5px;
  z-index: 20;
}

.iesl__text-box--bottom {
  position: relative;
  width: 450px;
  max-width: 100%;
  margin: 0 auto;
  left: 0;
  top: 0;
  transform: none;
  padding-bottom: 60px;
  padding-top: 10px;
  border: 0;
}

@media only screen and (min-width: 450px) {
  .iesl__text-box--bottom {
    margin-bottom: 60px;
    padding-bottom: 20px;
    border: 1px solid #e6f2e0;
  }
}

.iesl__text-box__header {
  padding: 20px;
  text-align: center;
  background-color: #39533f;
  margin-left: -20px;
  margin-right: -20px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.iesl__text-box__header h3 {
  color: #fff;
  font-size: 1.5em;
  margin: 0;
  padding: 0;
}

.iesl__text-box__content__title {
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.1rem;
  padding-bottom: 0;
  font-weight: 400;
}

.iesl__text-box__content p {
  line-height: 1.4em;
}

.iesl__img-wrapper {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 50px;
}

@media only screen and (max-width: 1400px) {
  .iesl__img-wrapper {
    position: relative;
    left: 15%;
  }
}

@media only screen and (max-width: 980px) {
  .iesl__img-wrapper {
    position: relative;
    left: 0;
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media only screen and (max-width: 500px) {
  /* Make image bigger on small screens */
  .iesl__img-wrapper {
    max-width: calc(100% + 80px);
    position: relative;
    left: -40px;
  }
}

.iesl__img-container {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}

.iesl__img-container__img {
  position: absolute;
  top: 0;
  left: 0;
  /* transition: .3s ease-in all; */
}

@media only screen and (max-width: 980px) {
  .iesl__img-container__img {
    width: 120%;
  }
}


.iesl__img-container__img--main {
  z-index: 10;
}

.iesl__img-container__img--cork {
  z-index: 1;
  opacity: 0;
}

.iesl__img-container__img--dublin {
  z-index: 1;
  opacity: 0;
}

.iesl__img-container__img--galway {
  z-index: 1;
  opacity: 0;
}

.iesl__img-container__img--northern {
  z-index: 1;
  opacity: 0;
}

.iesl__img-container__img--westmeath {
  z-index: 1;
  opacity: 0;
}

.iesl__img-container__img--is-shown {
  z-index: 5;
  opacity: 1;
}

.iesl__img-container__img--persist {
  z-index: 5;
  opacity: 1;
}

.iesl__img-container__img--is-transparent {
  opacity: 0;
}

.iesl__img-container__img--is-transparent-persist {
  opacity: 0;
}

.hidden-popup-triggers {
  display: none;
}

.iesl-page .popup-container .popup-box {
  max-width: 300px;
  padding: 20px;
}

.iesl-page .popup-container .lightbox-close {
  color: #fff;
}

@media only screen and (max-width: 980px) {
  .iesl-page .popup-container .lightbox-close {
    width: auto;
    padding: 0;
    height: auto;
    margin-left: auto;
    background: transparent;
    color: #000;
  }
}

.iesl-modal-content p {
  padding-bottom: 0;
}

.iesl-modal-content .iesl-modal-title {
  font-weight: 500;
  font-size: 20px;
  padding-bottom: 10px;
}
