/*!MODALS CSS
 * Author:  Diário de Notícias da Madeira
 * Email:   dep.informatica@dnoticias.pt
 * ---
 * Project: DNOTICIAS.PT (2022-12-21)
 * URL:     http://www.dnoticias.pt
*/
.modal-editions {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  visibility: hidden;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;

  width: 100%; max-width: 360px;
  height: auto; min-height: 240px;
  padding: 40px 20px 30px 20px;
  border-radius: 10px;
  background: #e5e8eb;
  z-index: 200;

  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 200;
  -webkit-box-shadow: 0px 10px 15px 0px rgb(0 0 0 / 30%);
  -moz-box-shadow: 0px 10px 15px 0px rgba(0,0,0 / 30%);
  box-shadow: 0px 10px 15px 0px rgb(0 0 0 / 30%);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;

  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  transition: all 0.25s linear;
  opacity: 0;
  margin-top: -10px;
}
.modal-editions--actions {
  display: block; position: relative;
}
.modal-editions:before,
.modal-editions--actions:after {
  display: block; position: absolute;
  content: ""; border-radius: 50%;
  background: #ffffff;
  opacity: .3; z-index: -1;
}
.modal-editions:before {
  right: 0; bottom: 0;
  width: 600px; height: 600px;
}
.modal-editions--actions:after {
  top: -50px; left: -90px;
  width: 360px; height: 360px;
}
.modal-editions--footer {
  display: block; position: relative;
  margin-top: 30px;
}
.modal-editions_btn {
  display: inline-block; position: relative;
  padding: 15px 20px;
  border-radius: 10px;
  font: 600 16px/18px Titillium Web, Helvetica, Arial, sans-serif;
  color: #ffffff; background: #4285f4;
  -webkit-box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 15%);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,.15);
  box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 15%);
  -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  -moz-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modal-editions_btn:hover {
  background: #2364d1;
  -webkit-box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 30%);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0 / 30%);
  box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 30%);
}
.modal-editions_btn > span {
  display: inline-block; position: relative;
  padding-left: 15px; margin-left: 10px;
  font-weight: 300;
}
.modal-editions_btn > span:before {
  display: block; position: absolute;
  left: 0; top: -15px;
  width: 1px; height: calc(100% + 30px);
  content: "";
  background: rgba(255, 255, 255, .15);
}
.modal-editions_btn svg { 
  display: inline-block; position: relative;
  width: 14px; height: 14px;
  margin: -1px 0 -1px 0;
  fill: #ffffff;
}
.modal-editions_close {
  display: block; position: absolute;
  right: 10px; top: 10px;
  width: 20px; height: 26px;
  font-size: 30px; line-height: 20px;
  text-align: center;
  font-weight: 300;
  color: #777d84;
}
.modal-editions_close:hover {
  color: #000000;
}
.modal-editions_close > span {
  display: none;
}
.modal-editions_href {
  display: inline;
  color: #4285f4;
  text-decoration: underline;
}
.modal-editions h4 {
  font: 600 11px/18px Titillium Web, Helvetica, Arial, sans-serif;
  color: #9ea3a7;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.modal-editions h3 {
  font: 400 26px/32px Titillium Web, Helvetica, Arial, sans-serif;
  color: #384049;
  margin-bottom: 30px;
}
.modal-editions h3 .title {display: block;}

.modal-editions p {
  font: 300 14px/20px Titillium Web, Helvetica, Arial, sans-serif;
  color: #777d84;
  margin-bottom: 5px;
}
.modal-editions p:last-child {margin-bottom: 0;}
.modal-ticker {
  display: none; position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 20px 0;
  text-align: center;
  background: #e5e8eb;
  -webkit-box-shadow: 0px 10px 15px 0px rgb(0 0 0 / 30%);
  -moz-box-shadow: 0px 10px 15px 0px rgba(0,0,0 / 30%);
  box-shadow: 0px 10px 15px 0px rgb(0 0 0 / 30%);
  overflow: hidden;
  z-index: 200;
}
.modal-ticker .modal-ticker_wrapper {
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}
.modal-ticker .modal-ticker_row {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  height: auto;
}
.modal-ticker .modal-ticker_row > div {
  position: relative; width: 100%;
  padding: 10px 10px 0 10px;
}
.modal-ticker .modal-editions--left,
.modal-ticker .modal-editions--right {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.modal-ticker h3 {
  font: 400 26px/32px Titillium Web, Helvetica, Arial, sans-serif;
  color: #384049;
}
.modal-ticker p {
  font: 300 14px/20px Titillium Web, Helvetica, Arial, sans-serif;
  color: #777d84;
}
.modal-ticker .modal-editions_btn {
  margin: 10px 0;
}
.modal-ticker .modal-ticker_wrapper:before, 
.modal-ticker .modal-ticker_wrapper:after {
  display: block; position: absolute;
  content: "";
  border-radius: 50%;
  background: #ffffff;
  opacity: .3; z-index: -1;
}
.modal-ticker .modal-ticker_wrapper:before {
  right: -20px; bottom: -20px;
  width: 600px; height: 600px;
}
.modal-ticker .modal-ticker_wrapper:after {
  top: -40px; right: -90px;
  width: 360px; height: 360px;
}


.show-modal {
  overflow: hidden;
}
.modal-editions.md-open {
  visibility: visible;
  opacity: 1;
  margin-top: 0;
}
.modal-editions-bg {
  display: none; position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 199;
  background: rgba(10,19,45,.9);
}


@media only screen and (min-width: 680px) {
  .modal-ticker {text-align: left;}
  .modal-ticker .modal-ticker_wrapper {
    max-width: 680px;    
  }
  .modal-ticker .modal-ticker_row {
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  .modal-ticker .modal-ticker_wrapper:before {
    left: -60px;
    bottom: -160px;
  }
  .modal-ticker .modal-editions--left {
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
} 