.modality-one .header {
  height: 100% !important;
  height: -moz-available !important;
  height: -webkit-fill-available !important;
  background-position: top left;
}
@media screen and (min-width: 800px) and (max-width: 1200px) and (orientation: landscape) {
  .modality-one .header {
    background-position: top center !important;
  }
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .modality-one .header {
    background-position: top center !important;
  }
}

/*
 * CSS para wrappers comuns aos vários simuladores e produtos
 */
.wrapper_wrapper {
  margin: 0 auto;
  width: 100%;
  width: -webkit-fill-available;
  height: 100vh;
  height: -webkit-fill-available;
  position: relative;
  padding-top: 0px;
}
@-moz-document url-prefix() {
  .wrapper_wrapper {
    height: 100vh;
    position: relative;
    padding-top: 0px;
  }
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .wrapper_wrapper {
    display: table;
    margin: 0 0;
  }
}

.wrapper_top {
  padding-left: 60px;
  height: 53px;
  position: relative;
  background-color: #ed1c24;
  border-style: none;
  z-index: 2;
}
@media screen and (max-width: 480px) and (orientation: portrait) {
  .wrapper_top {
    display: table-row;
    background-color: transparent;
    padding: 0 18%;
    height: 33px;
  }
}
@media screen and (min-width: 480px) and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .wrapper_top {
    display: table-row;
    background-color: transparent;
    padding: 0 0;
  }
}

.wrapper_top_middle {
  padding-left: 30px;
  position: relative;
  height: calc(100vh - 53px - 170px - 100px - 40px);
  min-height: 100px;
  z-index: 2;
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .wrapper_top_middle {
    display: table-row;
    height: 100%;
    margin-top: 0%;
    padding: 0 0;
  }
}

.wrapper_wrapper .color_bar {
  width: 0;
  height: 0;
  position: absolute;
	right: 0px;
  top: 0px;
  padding-right: 67px;
  z-index: -1;
  overflow: hidden;
  border-bottom: 100vh solid;
  border-left: calc(0.337 * 100vh) solid;
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .wrapper_wrapper .color_bar {
    display: table-row;
    width: 0;
    height: 0;
    position: absolute;
    right: 0;
    top: auto;
    bottom: 0;
    padding: 0 0;
    padding-bottom: 15vh;
    z-index: -1;
    overflow: hidden;
    border-top: 10vw solid;
    border-right: 100vw solid;
    border-bottom: 0;
    border-left: 0;
  }
}
@media screen and (max-width: 480px) and (orientation: portrait) {
  .wrapper_wrapper .color_bar {
    padding-bottom: 12vh;
  }
}
/* Mobile Landscape */
@media screen and (max-width: 800px) and (max-height: 480px) and (orientation: landscape) {
  .wrapper_wrapper .color_bar {
    display: none;
  }
}

.wrapper_wrapper .color_bar.yellow {
  border-bottom-color: rgb(252, 204, 60);
  border-left-color: transparent;
}
.wrapper_wrapper .color_bar.pink {
  border-bottom-color: rgb(237, 64, 105);
  border-left-color: transparent;
}
.wrapper_wrapper .color_bar.cyan {
  border-bottom-color: rgb(13, 146, 181);
  border-left-color: transparent;
}
.wrapper_wrapper .color_bar.red {
  border-bottom-color: rgb(217, 36, 38);
  border-left-color: transparent;
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .wrapper_wrapper .color_bar.yellow {
    border-top-color: transparent;
    border-right-color: rgb(252, 204, 60);
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
  .wrapper_wrapper .color_bar.pink {
    border-top-color: transparent;
    border-right-color: rgb(237, 64, 105);
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
  .wrapper_wrapper .color_bar.cyan {
    border-top-color: transparent;
    border-right-color: rgb(13, 146, 181);
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
  .wrapper_wrapper .color_bar.red {
    border-top-color: transparent;
    border-right-color: rgb(217, 36, 38);
    border-bottom-color: transparent;
    border-left-color: transparent;
  }
}

.wrapper_middle {
  padding: 0 0;
  margin: 0 auto;
  height: 170px;
  position: relative;
  z-index: 2;
  padding-right: 5px;
}
/* Mobile L screens */
@media screen and (max-width: 480px) and (min-height: 550px) and (orientation: portrait) {
  .wrapper_middle {
    height: 130px;
  }
}
/* Mobile S screens */
@media screen and (max-width: 480px) and (max-height: 550px) and (orientation: portrait) {
  .wrapper_middle {
    height: 110px;
  }
}

.wrapper_mid_bottom {
  padding: 0 10px;
  margin: 0 auto;
  height: 100px;
  position: relative;
  z-index: 2;
  padding-right: 5px;
}
@media screen and (max-width: 480px) and (orientation: portrait) {
  .wrapper_mid_bottom {
    display: table-row;
    padding: 0 0;
    max-width: 250px;
    height: 70px;
  }
}
@media screen and (min-width: 480px) and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .wrapper_mid_bottom {
    display: table-row;
    padding: 0 0;
    max-width: 250px;
  }
}

@media screen and (min-width: 1360px) and (min-aspect-ratio: 16/9) {
  .wrapper_wrapper .color_bar {
    padding-right: calc(100vw - ((16 / 9) * (100vh)));
  }
  .wrapper_middle, .wrapper_mid_bottom {
    padding-right: calc(100vw - ((16 / 9) * (100vh)) - 67px);
  }
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .wrapper_middle, .wrapper_mid_bottom {
    display: table-row;
  }
}

.wrapper_bottom {
  padding-left: 60px;
  padding-bottom: 20px;
  height: 20px;
  z-index: 2;
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .wrapper_bottom {
    display: table-row;
    padding: 0;
    height: 0;
    display: none;
  }
}

.header__region {
  clear: both;
  height: 0;
}

/* Wrapping link for logo. */
.header__logo {
  float: left;
  margin: 0;
  padding: 0;
}
/* Generic 480px < W < 800px */
@media screen and (max-width: 800px) {
  .header__logo {
    float: none;
  }
}
/* Generic Width < Height */
@media screen and (orientation: portrait) {
  .header__logo {
    float: none;
  }
}

/* Logo image. */
.header__logo-image {
  border: none;
  vertical-align: bottom;
  height: auto;
  max-height: 53px;
  text-align: center;
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 480px) and (orientation: portrait) {
  .header__logo-image {
    max-height: 33px;
    display: block;
    margin: auto;
  }
}
@media screen and (min-width: 480px) and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .header__logo-image {
    max-height: 64px;
    display: block;
    margin: auto;
  }
}

/* Wrapper for website name and slogan. */
.header__name-and-slogan {
	margin-top: 15%;
  float: left;
  padding-bottom: 40px;
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .header__name-and-slogan {
		margin-top: 0%;
    float: none;
    padding: 0 0;
  }
}

.modality-one .header #name-and-slogan {
  float: left;
  clear: left;
  width: 450px;
  text-align: center;
}
@media screen and (max-width: 480px) and (orientation: portrait) {
  .modality-one .header #name-and-slogan {
    width: 100%;
    padding-top: 5px !important;
  }
}
@media screen and (min-width: 480px) and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .modality-one .header #name-and-slogan {
    width: 100%;
    padding-top: 20px !important;
  }
}

/* The name of the website. */
.header #name-and-slogan .header__site-name {
  margin: 0;
  font-size: 2em;
  line-height: 1.5em;
}
@media screen and (max-width: 480px) and (orientation: portrait) {
  .header #name-and-slogan .header__site-name {
    margin-top: 5px;
    line-height: 100%;
  }
}
@media screen and (min-width: 480px) and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .header #name-and-slogan .header__site-name {
    line-height: 40px;
  }
}

.modality-one .header #name-and-slogan .header__site-slogan {
  font-size: 22px;
  line-height: 1.3em;
  white-space: nowrap;
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .modality-one .header #name-and-slogan .header__site-slogan.sm-white {
    color: rgb(255, 255, 255);
  }
  .modality-one .header #name-and-slogan .header__site-slogan.sm-black {
    color: rgb(46, 46, 46);
  }
}
@media screen and (max-width: 480px) and (orientation: portrait) {
  .modality-one .header #name-and-slogan .header__site-slogan {
    font-size: 14px;
  }
}
@media screen and (min-width: 480px) and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .modality-one .header #name-and-slogan .header__site-slogan {
    font-size: calc((100% + 0.25vw) * 1.5);
  }
}

.modality-one .header .slogans {
  width: 450px;
  text-align: center;
}
@media screen and (max-height: 670px) and (orientation: landscape) {
  .modality-one .header .slogans {
    display: none;
  }
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 980px) and (orientation: landscape) {
  .modality-one .header .slogans {
    display: none;
  }
}

.modality-one .header .cobertura_topo {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 20px 0;
  line-height: 1.2em;
}
.modality-one .header .cobertura_topo.uppercase_desktop {
  text-transform: uppercase;
}
/* Margin above 800px that does not overlap text */
@media screen and (min-width: 800px) and (max-width: 980px) {
  .modality-one .header .cobertura_topo {
    display: none;
  }
}
@media screen and (max-height: 670px) and (orientation: landscape) {
  .modality-one .header .cobertura_topo {
    display: none;
  }
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .modality-one .header .cobertura_topo {
    display: none;
  }
}

/* Wide laptop screens */
@media screen and (min-width: 1360px) and (max-height: 700px) and (min-aspect-ratio: 16/9) {
  .modality-one .header {
    background-position: top center !important;
  }
  .modality-one .header #name-and-slogan {
    width: 450px;
    padding-top: 20px !important;
  }
  .modality-one .header #name-and-slogan .header__site-name {
    line-height: 40px;
  }
  .modality-one .header #name-and-slogan .header__site-slogan {
    font-size: 22px;
  }
  .modality-one .header .slogans {
    display: block;
  }
  .modality-one .header .cobertura_topo {
    font-size: 22px;
    line-height: 1.0em;
  }
  .modality-one .header .cobertura {
    font-size: 14px;
    margin: 10px 0 0 40px;
    line-height: 1.0em
  }
  .modality-one .header .cobertura li {
    margin: 0 0 10px 0;
  }
}

.header-simulate {
  clear: right;
  float: right;
  margin-right: 25px;
  width: 370px;
  text-align: center;
  text-align: -moz-center;
  text-align: -webkit-center;
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .header-simulate {
    float: none;
    margin: 0 auto;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
  }
}

.modality-one .header .header-simulate.simulate {
  position: relative;
  background-color: rgba(255, 255, 255, 0.7);
  color: #333;
  padding: 10px 15px 10px 15px;
  width: 330px;
  font-size: 15.5px;
  line-height: 1.3em;
  border-radius: 4px;
}
@media screen and (max-width: 480px) and (orientation: portrait) {
  .modality-one .header .header-simulate.simulate {
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    max-width: 270px;
    font-size: 10px;
  }
}
@media screen and (min-width: 480px) and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
  .modality-one .header .header-simulate.simulate {
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    max-width: 400px;
    padding: 15px 25px 15px 25px;
  }
}
.modality-one .header .header-simulate.simulate p {
  margin: 0;
  padding-top: 10px;
}
.modality-one .header .header-simulate.simulate p:first-child {
  padding-top: 0;
}

.modality-one .header-simulate.simulate_condicoes {
	font-size: 18px;
	font-family: 'PT Sans';
	font-weight: bold;
	text-shadow: 1px 1px 1px #333;	
	color: #FFF;
}

.modality-one .simulate_condicoes p.simulate_condicoes_link {
	position: relative;
	width: 100%;
}
@media screen and (max-width: 480px) and (orientation: portrait) {
	.modality-one .simulate_condicoes p.simulate_condicoes_link {
      font-size: 14px;
	}
}
@media screen and (min-width: 480px) and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
	.modality-one .simulate_condicoes p.simulate_condicoes_link {
  		font-size: 16px;
	}
}
.modality-one .simulate_condicoes p.simulate_condicoes_link a {
  color: #FFF;
  text-decoration: underline;
  cursor: pointer;
}

.header .simulate-contact.contacts {
  float: right;
  position: relative;
  text-align: center;
  text-align: -webkit-center;
  text-align: -moz-center;
  z-index: 2;
  color: #2e2e2e;
  padding-left: 60px;
  margin-right: 25px;
  min-height: 60px;
  background-repeat: no-repeat;
  background-position: 12px 2px;
  background-image: url("../images/tel_black_40x40.png");
}
.header .simulate-contact.contacts.black {
  color: rgb(46, 46, 46);
  background-image: url("../images/tel_black_40x40.png");
}
.header .simulate-contact.contacts.grey {
  color: rgb(128, 130, 133);
  background-image: url("../images/tel_grey_40x40.png");
}
.header .simulate-contact.contacts.white {
  color: rgb(255, 255, 255);
  background-image: url("../images/tel_white_40x40.png");
}
/* Generic W < 480px */
@media screen and (max-width: 480px) {
  .header .simulate-contact.contacts {
    float: none;
    margin: 0 0;
    padding-left: 0px;
    background-size: 30px;
    background-position: 25% 6px;
  }
}
/* Generic 480px < W < 800px */
@media screen and (min-width: 480px) and (max-width: 800px) {
  .header .simulate-contact.contacts {
    float: none;
    margin: 0 auto;
    padding: 0 0;
    width: 250px;
    background-position: 2px 2px;
  }
}
/* Tablet */
@media screen and (min-width: 480px) and (max-width: 1200px) and (min-height: 800px) and (orientation: portrait) {
  .header .simulate-contact.contacts {
    float: none;
    margin: 0 auto;
    width: 250px;
  }
}

.header .simulate-contact.contacts p {
  margin: 0;
  line-height: 120%;
}

.header .simulate-contact.contacts .contacts-number a {
  color: inherit;
  text-decoration: none;
  font-size: 26px;
  font-weight: bold;
  display: block;
  padding-top: 10px;
}
/* Generic W < 480px */
@media screen and (max-width: 480px) {
  .header .simulate-contact.contacts .contacts-number a {
    font-size: 18px;
  }
}
/* Generic 480px < W < 800px */
@media screen and (min-width: 480px) and (max-width: 800px) {
  .header .simulate-contact.contacts .contacts-number a {
    width: 250px;
  }
}

.header .simulate-contact.contacts .contacts-note {
  font-size: 14px;
}
/* Generic W < 480px */
@media screen and (max-width: 480px) {
  .header .simulate-contact.contacts .contacts-note {
    font-size: 10px;
    line-height: 100%;
  }
}
/* Generic 480px < W < 800px */
@media screen and (min-width: 480px) and (max-width: 800px) {
  .header .simulate-contact.contacts .contacts-note {
    font-size: 14px;
    line-height: 100%;
    width: 250px;
  }
}

.header .simulate-contact.contacts .contacts-local-call {
  font-size: 11px;
}
/* Generic 480px < W < 800px */
@media screen and (min-width: 480px) and (max-width: 800px) {
  .header .simulate-contact.contacts .contacts-local-call {
    font-size: 11px;
    line-height: 100%;
  }
}
/* Generic W < 480px */
@media screen and (max-width: 480px) {
  .header .simulate-contact.contacts .contacts-local-call {
    font-size: 8px;
    line-height: 100%;
  }
}

.header .simulate-contact.contacts .new {
  display: none;
  font-size: 18px;
  position: absolute;
  width: 100%;
  right: 0;
  padding: 10px 0;
  background-color: #D81E05;
  color: #FFF;
  border: none;
  text-shadow: 1px 1px 1px #333;
  margin-top: 30px;
  font-style: normal;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0px 2px 0px 0px #AD0000;
  border-bottom: 1px solid #D81E05;
  transition: all 0.2s linear;
  font-weight: bold;
}
@media screen and (min-width: 480px) and (max-width: 800px) {
  .header .simulate-contact.contacts .new {
    margin-top: 115px;
  }
}
@media screen and (max-width: 480px) {
  .header .simulate-contact.contacts .new {
    margin-right: 10px;
    padding: 10px;
    white-space: nowrap;
    max-width: none;
    width: auto;
  }
}

.header .simulate-contact.contacts p.trademark-note {
  font-size: 12px;
  font-family: 'PT Sans', sans-serif;
  position: absolute;
  bottom: -3em;
  right: 0;
  text-align: right;
  width: 270px;
  width: -webkit-max-content;
  width: -moz-max-content;
}
@media screen and (max-width: 800px) and (max-height: 700px) {
  .header .simulate-contact.contacts p.trademark-note {
    display: none;
  }
}

.modality-one .header .desconto_fundo {
  font-size: 10px;
  font-family: 'Noto Sans', sans-serif;
  padding-left: 80px;
}

.selo-footer-new {
    position: absolute;
    left: 100px;
    right: auto;
    bottom: 0px;
    background-repeat: no-repeat;
    background-size: 350px;
    max-height: 186px;
    min-width: 350px;
    max-width: 350px;
    z-index: 903;
}
@media screen and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape),
       screen and (max-height: 700px) and (orientation: landscape) {
  .selo-footer-new {
      display: none !important;
  }
}

.selo-mobile {
    position: absolute;
    right: 0px;
    bottom: 0px;
    background-repeat: no-repeat;
    max-width: 180px;
    z-index: 902;
    display: none !important;
}
@media screen and (max-width: 480px) and (orientation: portrait) {
	.selo-mobile {
      max-width: 104px;
	    display: block !important;
	}
}
@media screen and (min-width: 480px) and (max-width: 1200px) and (orientation: portrait),
       screen and (max-width: 800px) and (orientation: landscape) {
	.selo-mobile {
	    display: block !important;
	}
}
