.idae-dialog-drop {
  font-size: 0.9em;
  width: 100%;
  height: 100%;
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: auto;
  padding: 1.5em;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

@media screen and (min-width: 620px) {
  .idae-dialog-drop {
    font-size: 1em;
  }
}

.idae-dialog-drop .dialog__info {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  height: 368px;
}

@media screen and (min-width: 620px) {
  .idae-dialog-drop .dialog__info {
    height: 364px;
  }
}

.idae-dialog-drop .dialog__box {
  width: 100%;
  max-width: 31.625em;
  background: #fff;
  border-radius: 0.5em;
  padding: 1.5em 0.5em 0.5em;
  position: relative;
  z-index: 2;
}

.idae-dialog-drop .button--close {
  width: 2em;
  height: 2em;
  background-image: url('../images/idae/button-close.png');
  background-size: contain;
  position: absolute;
  right: 0.5em;
  top: 0.5em;
  z-index: 2;
}

@media screen and (min-width: 620px) {
  .idae-dialog-drop .button--close {
    transform: translate(100%, -100%);
    right: 0;
    top: 0;
  }

  .csstransforms .idae-dialog-drop .button--close:hover,
  .csstransforms .idae-dialog-drop .button--close:focus {
    transform: translate(100%, -100%);
  }
}

.idae-dialog-drop .box__header {
  display: flex;
  display: -ms-flexbox;
  flex-direction: row;
  flex-wrap: nowrap;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  align-items: center;
  -ms-flex-align: center;
  width: 100%;
  margin: 0 0 1.5em;
}

.idae-dialog-drop .box__header .logo {
  flex: 0 1 auto;
  -ms-flex: 0 1 auto;
  font-size: 0.8em;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

@media screen and (min-width: 620px) {
  .idae-dialog-drop .box__header .logo {
    font-size: 1em;
  }
}

.idae-dialog-drop .box__header .logo--idae {
  width: 10.4375em;
  height: 9.375em;
  background-image: url('../images/idae/modal-patrons-1@2x.png');
}

.idae-dialog-drop .box__header .logo--idae.is-2 {
  background-image: url('../images/idae/modal-patrons-2@2x.png');
}

.idae-dialog-drop .box__header .logo--idae.is-3 {
  width: 12.4375em;
  height: 11.375em;
  background-image: url('../images/idae/modal-patrons-3@2x.png');
}

.idae-dialog-drop .box__header .logo--cuetara {
  width: 10.1875em;
  height: 4.875em;
  background-image: url('../images/idae/modal-cuetara.png');
}

.idae-dialog-drop .dialog__container {
  background: #efefef;
  border-radius: 0.5em;
  padding: 1em 1.5em;
  overflow: auto;
  min-height: 400px;
  max-height: 400px;
}

@media screen and (min-width: 620px) {
  .idae-dialog-drop .dialog__container {
    padding: 1.125em 2.875em;
  }
}

.idae-dialog-drop .dialog__box .dialog__text {
  font:
    normal 0.6875em / 1.4 Arial,
    Helvetica,
    sans-serif;
  color: #121212;
}

.idae-dialog-drop .dialog__box .dialog__text-subtitle {
  font-weight: bold;
  margin-top: 1em;
}

.idae-dialog-drop .dialog__dropdown__container {
  margin-top: 2em;
}

.idae-dialog-drop
  .dialog__dropdown__option:nth-child(odd)
  .dialog__dropdown__option__header {
  background: #f4e2a4;
}

.idae-dialog-drop .dialog__dropdown__option__header {
  cursor: pointer;
  position: relative;
  padding: 0.6em 1em;
  background: #f2e7c2;
  outline: none;
  border: none;
  width: 100%;
  text-align: left;
}

.idae-dialog-drop .dialog__dropdown__option__wrapper {
  background: #ffffff;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.6s ease-in-out;
}

.idae-dialog-drop .dialog__dropdown__option__wrapper.is-open {
  max-height: 500px;
  transition: max-height 1s ease-in;
}

.idae-dialog-drop .dialog__dropdown__option__container {
  padding: 0.65em 1em;
}

.idae-dialog-drop .dialog__dropdown__option__message {
  font:
    normal 0.6em / 1.4 Arial,
    Helvetica,
    sans-serif;
}

@media screen and (max-width: 419px) {
  .idae-dialog-drop .dialog__dropdown__option__header.is-logo {
    min-height: 88px;
  }
}

.idae-dialog-drop .dialog__dropdown__option__name,
.idae-dialog-drop .dialog__dropdown__option__desc {
  font:
    normal 0.65em / 1.4 Arial,
    Helvetica,
    sans-serif;
  color: #000000;
  margin: 0;
  pointer-events: none;
  padding-right: 3em;
}

.idae-dialog-drop .dialog__dropdown__option__desc {
  font-weight: bold;
}

.idae-dialog-drop
  .dialog__dropdown__option__header.is-logo
  .dialog__dropdown__option__desc {
  margin-top: 1em;
}

@media screen and (min-width: 420px) {
  .idae-dialog-drop
    .dialog__dropdown__option__header.is-logo
    .dialog__dropdown__option__name,
  .idae-dialog-drop
    .dialog__dropdown__option__header.is-logo
    .dialog__dropdown__option__desc {
    padding-right: 8.8em;
  }
}

.idae-dialog-drop
  .dialog__dropdown__option__header.logo--gobierno-cantabria
  .dialog__dropdown__option__name,
.idae-dialog-drop
  .dialog__dropdown__option__header.logo--gobierno-cantabria
  .dialog__dropdown__option__desc {
  padding-right: 6em;
}

@media screen and (min-width: 420px) {
  .idae-dialog-drop
    .dialog__dropdown__option__header.logo--gobierno-cantabria
    .dialog__dropdown__option__name,
  .idae-dialog-drop
    .dialog__dropdown__option__header.logo--gobierno-cantabria
    .dialog__dropdown__option__desc {
    padding-right: 14em;
    margin-top: 0;
  }
}

.idae-dialog-drop .dialog__dropdown__option__logo {
  width: 28px;
  height: 40px;
  position: absolute;
  top: 0.5em;
  right: 0.7em;
}

@media screen and (min-width: 420px) {
  .idae-dialog-drop .dialog__dropdown__option__logo {
    width: 34px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    right: 4.1em;
  }
}

.idae-dialog-drop .dialog__dropdown__option__logo.madrid-fener {
  position: relative;
  width: 88px;
  height: 26px;
  top: -0.5em;
  right: 0;
}

@media screen and (min-width: 420px) {
  .idae-dialog-drop .dialog__dropdown__option__logo.madrid-fener {
    width: 100px;
    height: 30px;
    position: absolute;
    top: 50%;
    right: 3.5em;
  }
}

.idae-dialog-drop .dialog__dropdown__option__logo.gobierno-cantabria {
  width: 60px;
  height: 28px;
}

@media screen and (min-width: 420px) {
  .idae-dialog-drop .dialog__dropdown__option__logo.gobierno-cantabria {
    width: 80px;
    height: 38px;
  }
}

.idae-dialog-drop .dialog__dropdown__option__button {
  width: 28px;
  height: 28px;
  border-radius: 100%;
  background: #fdf3ce;
  position: absolute;
  top: 50%;
  right: 0.7em;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0.65em;
}

@media screen and (min-width: 620px) {
  .idae-dialog-drop .dialog__dropdown__option__button {
    right: 1.2em;
    padding: 0.5em;
  }
}

@media screen and (max-width: 419px) {
  .idae-dialog-drop
    .dialog__dropdown__option__header.is-logo
    .dialog__dropdown__option__button {
    top: 90%;
    transform: translateY(-90%);
  }
}

.idae-dialog-drop .dialog__dropdown__option__button__icon {
  width: 100%;
  height: 100%;
  background: url('../images/idae/cross.png') 50% 50% / contain no-repeat;
  transform: rotateZ(45deg);
  pointer-events: none;
  transition: transform 0.5s ease-in-out;
}

.idae-dialog-drop .dialog__dropdown__option__button__icon.is-flipped {
  transform: rotateZ(0);
}

.idae-dialog-drop .dialog__shadow {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}

.idae {
  display: flex;
  flex-direction: column;
}

.idae__text {
  margin-top: 12px;
  font: 300 8px / 120% helvetica;
  color: #2d2d2d;
}

@media screen and (max-width: 900px) {
  .idae__text {
    margin: 12px auto 0;
    display: block;
    max-width: 340px;
    text-align: center;
  }
}

.idae__group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 0.625em;
}

@media screen and (max-width: 900px) {
  .idae__group {
    flex-direction: column;
  }

  .idae__ngeu {
    margin-top: 16px;
  }
}

.idae__flag {
  width: 11.75em;
  height: 3.0625em;
  background: url('../images/idae/footer-flag@2x.png') 50% 50% / contain
    no-repeat;
  background-size: contain;
  margin-right: 1em;
  float: left;
}

@media screen and (max-width: 450px) {
  .idae__flag {
    width: 8em;
    height: 2.0625em;
  }
}

.ngeu__flag {
  width: 9.75em;
  height: 3.0625em;
  background: url('../images/idae/ngeu-flag2@2x.png') 50% 50% / contain
    no-repeat;
  background-size: contain;
  margin: 0 1em 0 2em;
  float: left;
}

@media screen and (max-width: 450px) {
  .ngeu__flag {
    width: 7em;
    height: 2.0625em;
  }
}

@media screen and (max-width: 900px) {
  .ngeu__flag {
    margin: 0 auto;
  }
}

.button--idae-industry {
  width: 5.625em;
  height: 3.0625em;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
  float: left;
}

@media screen and (max-width: 900px) {
  .button--idae-industry {
    width: 4.625em;
    height: 2.5625em;
  }
}

.csstransforms .button--idae-industry:hover,
.csstransforms .button--idae-industry:focus {
  transform: none;
}

.button--idae-industry.is-1 {
  background-image: url('../images/idae/footer-industry-1@2x.jpg');
  margin-right: 0.5em;
}

.button--idae-industry.is-2 {
  background-image: url('../images/idae/footer-industry-2@2x.jpg');
}

.button--ngeu-prtr {
  width: 14.625em;
  height: 3.0625em;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: contain;
  float: left;
  background-image: url('../images/idae/footer-prtr@2x.png');
  margin-right: 0.5em;
}

@media screen and (max-width: 450px) {
  .button--ngeu-prtr {
    width: 10em;
    height: 2.0625em;
  }
}

.csstransforms .button--ngeu-industry:hover,
.csstransforms .button--ngeu-industry:focus {
  transform: none;
}

.button {
  border: none;
  background-color: transparent;
}
