/*!BASIC CSS
 * Author:  Diário de Notícias da Madeira
 * Email:   dep.informatica@dnoticias.pt
 * ---
 * Project: DNOTICIAS.PT (2022-03-15)
 * URL:     http://www.dnoticias.pt
*/
html {
  -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
        box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html,
body {
  width: 100%; min-height: 100%; height: auto;
  font: 16px/24px 'Montserrat', sans-serif;
  color: #000000; font-weight: 500;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h2 {
  font-size: 42px; line-height: 46px;
  font-weight: 600; color: #000000;
  margin-bottom: 20px;
}
h3 {
  font-size: 24px; line-height: 30px;
  font-weight: 600; color: #000000;
  margin-bottom: 20px;
}
h5 {
  font-size: 12px; line-height: 16px;
  text-transform: uppercase; letter-spacing: 1px;
  font-weight: 700; color: #000000;
  margin-bottom: 20px;
}
strong {font-weight: 800;}
img {display: block; max-width: 100%;}
a, a:hover {color: #4285f4;}

.logo {
  display: block; position: relative;
  width: 100%; text-align: center;
  margin: 10px auto;
}
h1.logo {margin-bottom: 30px;}
h2.logo {margin-top: 40px;}
.logo img {
  display: inline-block;
  max-height: 80px;
}
h3 + p {
  text-align: center;
  margin-bottom: 30px;
}
.txt-spacing {letter-spacing: 3px;}
.wrapper {
  display: block; position: fixed;
  width: 100%;
}
.container {
  display: block; position: relative;
  width: 100%; max-width: 390px;
  margin: 0 auto;
  padding: 10px 30px 30px 30px;
}
.container-fullH {
  height: 100vh;
  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;
  padding: 0px 10px;
}
.content-body {
  display: block; position: relative;
  width: 100%;
  padding-right: 120px;
  color: #9b9b9b;
}
.content-body p {
  font-size: 14px; line-height: 20px;
}
.content-body figure {
  display: block; position: absolute;
  width: 252px; height: auto;
  top: -10px; right: -160px;
  box-shadow: 00px 0px 10px 0px rgba(0, 0, 0, 0.15);
}
.content-body figure figcaption {display: none;}

.wrapper-actions {
  display: block; position: absolute;
  width: 100%; height: auto; padding: 10px;
  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: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.wrapper-actions:before {
  display: block; position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 100%;
  content: ""; z-index: 0;
}
.content-actions {
  display: block; position: relative;
  width: 100%; max-width: 390px;
  padding: 40px 20px 30px 20px;
  border-radius: 20px;
  box-shadow: 00px 0px 20px 0px rgba(0, 0, 0, 0.15);
  background: #ffffff; z-index: 100;
}
.content-actions h3 {
  text-align: center;
}
.content-actions_footer {
  display: block; position: relative;
  margin-top: 30px;
  text-align: center;
  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;
}
.content-blocker {
  /*display: none;*/ position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #000000; opacity: .7;
  z-index: 0; visibility: hidden;
}
.btn {
  display: block; position: relative;
  padding: 10px 10px; 
  margin: 0 auto;
  font-size: 18px;
  height: 60px; line-height: 40px;
  font-weight: 500; text-align: center;
  color: #ffffff;
  background: #4285f4;
  border: none; border-radius: 10px;
  /*letter-spacing: 1px;*/
  transition: all .27s ease-out;
}
.btn.btn-submit,
.btn.btn-submit:hover {
  width: 200px;
  background: #6c7b94;  
}
.valid .btn-submit {cursor: pointer; background: #0a59dd;}
.valid .btn.btn-submit:hover {background: #4285f4;}

.btn.btn-expired {
  letter-spacing: 3px;
  background: linear-gradient(269deg, #ff8f00, #fe6900);
}


form input {
  display: block;
  width: 100%; padding: 10px;
  margin-bottom: 10px;
  font-size: 18px; line-height: 40px;
  text-align: center; letter-spacing: 1px;
  font-weight: 500; 
  height: 60px; border-radius: 10px;
  border: 1px solid #c7c7c7;
}
form input:focus {
  border-color: #e3ebf6;
  background: #e3ebf6;
}
form input:read-only {
  color: #6c7b94;
  border-color: #eef1f6;
  background: #eef1f6;
}
form button:read-only {
  color: #ffffff;
  background: #748299!important;
}
.labelmark {
  display: block; position: relative;
  padding-left: 40px;
  font-size: 12px; line-height: 16px;
  color: #9b9b9b;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.labelmark input {
  position: absolute;
  width: 0; height: 0;
  opacity: 0;
  cursor: pointer;
}
.checkmark {
  position: absolute;
  top: 0; left: 0;
  height: 26px; width: 26px;
  background-color: #ffffff;
  border: 1px solid #c7c7c7;
  border-radius: 6px;

  animation: all 0.6s linear;
}
.labelmark:hover input ~ .checkmark {
  background-color: #e3ebf6;
  border-color: #e3ebf6;
}
.labelmark input:checked ~ .checkmark {
  background-color: #4285f4;
  border-color: #4285f4;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.labelmark input:checked ~ .checkmark:after {
  display: block;
}
.labelmark .checkmark:after {
  left: 7px; top: 1px;
  width: 10px; height: 16px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/*** EXPIRED MESSAGE ***/
.has-expired .wrapper-actions {
  height: 100%; margin-top: 0px!important;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.has-expired .content-blocker {
  display: block;
}

/*** ANIMATIONS ***/
.wrapper-actions .content-actions {
  visibility: hidden;
  opacity: 0;
  margin-top: 30px;
  transition: opacity .27s ease-in .5s, margin .27s ease-in .5s;
}
.show-actions .wrapper-actions .content-actions {
  visibility: visible;
  opacity: 1;
  margin-top: 0px;
}
.has-expired.show-actions .content-blocker {
  visibility: visible;
  opacity: .7;
}

/*** CONTENT BLOCKER ***/
.content-blocker {
  visibility: hidden;
  opacity: 0;
  transition: all .7s ease-in-out;
}
/*.content-blocker.show {
  visibility: visible;
  opacity: .7;
}*/

/*** BTN LOADING ***/
.btn-loading {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -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;
  position: absolute;
  visibility: hidden;
  width: 200px; padding: 10px 0px;
  background: #4285f4;
  transition: all .17s ease-out;
}
.btn-loading .btn-icons {
  display: block; position: relative;
  width: 36px; height: 36px;
  margin-left: 20px; margin-right: -56px;
}
.ico-loading {
  display: block; position: absolute;
  width: 36px; height: 36px;
  border: 4px solid #92bbff;
  border-radius: 50%;
  border-top: 4px solid #ffffff;
  animation: spinner .75s linear infinite;
}

@keyframes spinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.btn-loading .ico-loading {
  opacity: 0;
  transition: all .17s cubic-bezier(0.65, 0, 0.45, 1);
}
.checkmark_wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  stroke-width: 4;
  stroke: #0ecc6d;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #ffffff;
}
.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 10;
  stroke-miterlimit: 10;
  stroke: #ffffff;
  fill: none;
}
.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}
@keyframes stroke {
  100% {stroke-dashoffset: 0}
}
@keyframes scale {
  0%, 100% {transform: none}
  50% {transform: scale3d(1.1, 1.1, 1)}
}
@keyframes fill {
  100% {box-shadow: inset 0px 0px 0px 30px #ffffff;}
}


.invalid {animation: invalid 0.6s linear;}
@keyframes invalid {
  from,
  to {
    transform: translate3d(0, 0, 0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translate3d(-10px, 0, 0);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translate3d(10px, 0, 0);
  }
}


/*** LOADING ***/
.is-loading .content-actions input,
.is-loading .content-actions input:read-only {
  pointer-events:none;
}
.is-loading .btn-submit {visibility: hidden;}
.is-loading .btn-loading {
  visibility: visible;
  width: 100%;
  /*background: #0ecc6d;*/
  background: #4285f4;
}
.is-loading .btn-loading .ico-loading {opacity: 1;}

.is-loading .welcomeback .btn-loading {position: relative;}

/*** COMPLETE ***/
.is-complete .content-actions input,
.is-complete .content-actions input:read-only {
  background: #edf9f2;
  border-color: #edf9f2;
}
.is-complete .content-actions .labelmark input:checked ~ .checkmark {
  background-color: #0ecc6d;
  border-color: #0ecc6d;
}
.is-complete .btn-submit {visibility: hidden;}
.is-complete .btn-loading {background: #0ecc6d;}
.is-complete .btn-loading .ico-loading {opacity: 0;}

.is-complete .btn-loading .checkmark__circle {
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.is-complete .btn-loading .checkmark_wrapper {
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}
.is-complete .btn-loading .checkmark__check {
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@media only screen and (max-width: 600px) and (max-height: 375px) {
  body {overflow-x: hidden;}
  .wrapper {position: relative;}
  .wrapper-actions {margin-top: 0px!important;}
}