@import url("https://fonts.googleapis.com/css?family=Heebo:400,700,900");

:root {
    --laranja: #fe712d;
    --azul: #2766a5;
    --azul-escuro: #133773;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    font-family: 'Heebo', sans-serif;
}

/*a:not(.btn),
a:not(.btn-estudante),
a:not(.btn):visited,
a:not(.btn-estudante):visited {
    color: #fe712d;
    text-decoration: none;
    -webkit-transition: color .3s ease-in-out;
            transition: color .3s ease-in-out;
}*/

a,
a:visited {
    text-decoration: none;
    -webkit-transition: color .3s ease-in-out;
            transition: color .3s ease-in-out;
}

a:hover,
a:focus,
a:active {
    color: #2766a5;
    text-decoration: none;
}

a.link-inverse,
a.link-inverse:visited {
    color: #2766a5 !important;
}
a.link-inverse:hover,
a.link-inverse:focus,
a.link-inverse:active {
    color: #fe712d !important;
}

.mar-top-sm {
    margin-top: 2rem;
}
.mar-bottom-sm {
    margin-bottom: 2rem;
}

.mar-top-md {
    margin-top: 3.5rem;
}
.mar-bottom-md {
    margin-bottom: 3.5rem;
}

.mar-top-lg {
    margin-top: 5rem;
}
.mar-bottom-lg {
    margin-bottom: 5rem;
}

.sep-top-sm {
    padding-top: 2rem;
}
.sep-bottom-sm {
    padding-bottom: 2rem;
}

.sep-top-md {
    padding-top: 3.5rem;
}
.sep-bottom-md {
    padding-bottom: 3.5rem;
}

.sep-top-lg {
    padding-top: 5rem;
}
.sep-bottom-lg {
    padding-bottom: 5rem;
}

.text-upper-js {
    text-transform: uppercase;
}

.btn-estudante {
    display: inline-block;
    text-decoration: none;
    color: #fff !important;
    font-weight: bold;
    background-color: var(--orange);
    padding: 20px 70px;
    font-size: 24px;
    border: 1px solid #fe712d;
    background-image: linear-gradient(bottom, #fe712d 0%, var(--orange) 100%);
    background-image: -o-linear-gradient(bottom, #fe712d 0%, var(--orange) 100%);
    background-image: -moz-linear-gradient(bottom, #fe712d 0%, var(--orange) 100%);
    background-image: -webkit-linear-gradient(bottom, #fe712d 0%, var(--orange) 100%);
    background-image: -ms-linear-gradient(bottom, #fe712d 0%, var(--orange) 100%);
    background-image: -webkit-gradient(   linear,   left bottom,   left top,   color-stop(0, #fe712d),   color-stop(1, var(--orange))  );
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-shadow: 0px -1px 0px rgba(0,0,0,.5);
    -webkit-box-shadow: 0px 6px 0px rgb(255, 87, 34), 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    -moz-box-shadow: 0px 6px 0px rgb(255, 87, 34), 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    box-shadow: 0px 6px 0px rgb(255, 87, 34), 0px 3px 15px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    -webkit-transform: rotateX(20deg);
}

.btn-estudante:hover {
    background-image: linear-gradient(bottom, #fe712d 0%, var(--orange) 100%);
    background-image: -o-linear-gradient(bottom, #fe712d 0%, var(--orange) 100%);
    background-image: -moz-linear-gradient(bottom, #fe712d 0%, var(--orange) 100%);
    background-image: -webkit-linear-gradient(bottom, #fe712d 0%, var(--orange) 100%);
    background-image: -ms-linear-gradient(bottom, #fe712d 0%, var(--orange) 100%);
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, #fe712d),
        color-stop(1, var(--orange))
    );
    color: #fff;
}

.btn-estudante:active {
    -webkit-box-shadow: 0px 2px 0px rgb(255, 87, 34), 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    -moz-box-shadow: 0px 2px 0px rgb(255, 87, 34), 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    box-shadow: 0px 2px 0px rgb(255, 87, 34), 0px 1px 6px rgba(0,0,0,.4), inset 0px 1px 0px rgba(255,255,255,.3), inset 0px 0px 3px rgba(255,255,255,.5);
    background-image: linear-gradient(bottom, var(--orange) 0%, #fe712d 100%);
    background-image: -o-linear-gradient(bottom, var(--orange) 0%, #fe712d 100%);
    background-image: -moz-linear-gradient(bottom, var(--orange) 0%, #fe712d 100%);
    background-image: -webkit-linear-gradient(bottom, var(--orange) 0%, #fe712d 100%);
    background-image: -ms-linear-gradient(bottom, var(--orange) 0%, #fe712d 100%);
    
    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0, var(--orange)),
        color-stop(1, #fe712d)
    );
    -webkit-transform: translate(0, 4px) rotateX(20deg);  
    -moz-transform: translate(0, 4px);  
    transform: translate(0, 4px);  
}

.btn-estudante:focus {
    color: #fff;
}

h2.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    color: #133773;
}

#loader {
  position: fixed;
  margin-top: 0px;
  width: 100%;
  height: 6px;
  background-color: #fe712d;
  top: 0;
  z-index: 1031;
  opacity: 0;
  transition: opacity .5s ease-in-out;
}
#loader.open {
    opacity: 1;
}
#loader .bar {
  content: "";
  display: inline;
  position: absolute;
  width: 0;
  height: 100%;
  left: 50%;
  text-align: center;
}
#loader .bar:nth-child(1) {
  background-color: #fe712d;
  animation: loading 3s linear infinite;
}
#loader .bar:nth-child(2) {
  background-color: #2766a5;
  animation: loading 3s linear 1s infinite;
}
@keyframes loading {
    from {left: 50%; width: 0;z-index:100;}
    33.3333% {left: 0; width: 100%;z-index: 10;}
    to {left: 0; width: 100%;}
}


/* Main navbar
-------------------------------------------*/
#main-navigation {
    background-color: #fff;
    padding: 20px 25px;
    box-shadow: 0 5px 26px 0 rgba(61, 73, 87, 0.07);
}
#main-navigation .nav-link {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    padding: 0 15px;
    text-align: center;
    color: #fe712d;
}
#main-navigation .navbar-social .nav-link {
    font-size: 22px;
    padding: 0 10px;
}
#main-navigation .nav-link.btn {
    color: #fff;
}

/* Home banner
-------------------------------------------*/
#home-banner {
    width: 100%;
    height: auto;
    position: relative;
}
#home-banner .banner {
    position: relative;
    text-align: center;
    z-index: 2;
    overflow: hidden;
}

#home-banner .banner a {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
    transition: all .3s ease-in-out;
}

#home-banner .banner a.active {
    opacity: 1;
    z-index: 2;
}

/* Como solicitar home section
-------------------------------------------*/
#como-solicitar .passo-passo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
}
#como-solicitar .passo-passo .icone {
    width: 177px;
    height: 202px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-right: 20px;
}
#como-solicitar .passo-passo.passo-1 .icone {
    background-image: url('../img/como-solicitar/passo1.jpg');
}
#como-solicitar .passo-passo.passo-2 .icone {
    background-image: url('../img/como-solicitar/passo2.jpg');
}
#como-solicitar .passo-passo.passo-3 .icone {
    background-image: url('../img/como-solicitar/passo3.jpg');
}
#como-solicitar .passo-passo.passo-4 .icone {
    background-image: url('../img/como-solicitar/passo4.jpg');
}
#como-solicitar .passo-passo .texto {
    font-size: 18px;
    font-weight: bold;
    color: #133773;
    max-width: 60%;
}

/* FAQ home section
-------------------------------------------*/
#faq {
    background: #133773;
    color: #fff;
}

#faq h2.section-title {
    color: #fff;
}

#faq p {
    color: #dcb732;
    font-size: 18px;
}

#faq #accordion .card {
    background-color: transparent;
    border: 0;
}

#faq #accordion .card .card-header {
    padding: 0;
}

#faq #accordion .card .card-header button {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    width: 98%;
    text-align: left;
    padding: .75rem 1.25rem;
    background-image: url('../img/arrow_down.png');
    background-repeat: no-repeat;
    background-position: right center;
    font-size: 24px;
    white-space: normal;
}

#faq #accordion .card .card-body {
    color: #dcb732;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

/* Breadcrumb
-------------------------------------------*/
#breadcrumb {
    background-color: #133773;
    padding: 25px 0 20px 0;
}
#breadcrumb ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    list-style: none;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    margin: 0;
    padding: 0;
}
#breadcrumb ul li:not(:last-child):after {
    content: '/';
    margin: 0 10px;
    color: rgba(255,255,255,0.9);
}
#breadcrumb ul li {
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
}
#breadcrumb ul li.active {
    color: #dcb732;
    font-weight: 600;
    font-size: 26px;
}
#breadcrumb ul li a {
    color: #fff;
}

/* Cadastro
-------------------------------------------*/
form#enviarSolicitacao .solicitacao-datanascimento {
    margin-bottom: 0;
}
form#enviarSolicitacao .in_file > img {
    margin-top: 10px;
    border-radius: .25rem!important;
    border: 1px solid #dee2e6!important;
}

#cropModal,
#modalFoto {
    padding: 0 !important;
    margin: 0;
}
#cropModal .modal-dialog,
#modalFoto .modal-dialog {
    min-width: 100% !important;
    margin: 0;
}
#cropModal .modal-content,
#modalFoto .modal-content {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    border-radius: 0;
    text-align: center;
}
#cropModal .modal-title,
#modalFoto .modal-title {
    width: 200px;
    height: 35px;
    background-image: url('../img/logo-top.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    margin-top: -4px;
}
#cropModal .crop-area {
    width: 100%;
    height: 500px;
    display: block;
    position: relative;
}

#modalFoto #picture {
    width: 640px;
    height: 480px;
    display: inline-block;
    position: relative;
}
#modalFoto #pacientePicture { display: block; margin: 0; width: 640px; height: 480px; padding: 0; }
#modalFoto #pacientePicture-canvas {
    display: block;
    width: 640px;
    height: 480px;
    background-image: url('../img/canvas_overlay.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 0px;
    opacity: 0.6;
}

.img-container {
  text-align: center;
  width: 100%;
  max-height: 497px;
  min-height: 200px;
  margin: 0 auto;
}

.img-container > img {
  max-height: 497px;
  min-height: 200px;
  max-width: 100%;
}

@media screen and (min-width: 768px) {
    /*#modalFoto #picture,
    #modalFoto #picture #pacientePicture,
    #modalFoto #picture #pacientePicture-canvas {
        width: 360px;
        height: 480px;
    }*/

    .img-container {
        min-height: 497px;
    }
}


.enviar-foto {
    width: 150px;
    display: block;
    overflow: hidden;
    clear: both;
}

.img-preview {
  margin-bottom: .5rem;
  overflow: hidden;
  height: 200px;
  width: 150px;
  position: relative;
  border-radius: 3px;
}

.img-preview > img {
  max-width: 100%;
}

.img-preview:before {
    content: "";
    width: 150px;
    height: 200px;
    background-image: url('../img/fotoplaceholder.jpg');
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 3px;
}

.img-preview.visible:before {
    opacity: 0;
}

.radio-image {
    display: inline-block;
    width: 130px;
    height: 130px;
    cursor: pointer;
}

.radio-image > input[type="radio"] {
    position: absolute;
    left: -9999px;
}

.radio-image > input[type=radio] + label {
    display: block;
    border: 1px solid #eee;
    width: 120px !important;
    height: 120px;
    padding: 5px;
    border-radius: 3px;
    transition: all .3s ease-in-out;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.radio-image > input[type=radio]:checked + label {
    border: 1px solid #ccc;
    box-shadow: 0 0px 15px rgba(0,0,0,.3);
    transform: scale(1.3);
}

/* Footer
-------------------------------------------*/
#main-footer {
    background-color: #f8f8f8;
    position: absolute;
    width: 100%;
    *bottom: 0;
}

#main-footer .logo-footer {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#main-footer .footer-info p {
    font-size: 15px;
}

#main-footer p {
    font-size: 13px;
}

#main-footer h4.title {
    font-size: 18px;
    font-weight: 600;
    color: #2766a5;
}

#main-footer h4.title:before {
    content: "\f101";
    font-family: 'FontAwesome';
    margin-right: 10px;
}

#main-footer .footer-social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding-left: 0;
    justify-content: space-around;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    list-style: none;
}

#main-footer .footer-social a {
    padding: 0 10px;
    font-size: 35px;
    display: block;
}

/* Responsive
-------------------------------------------*/
@media (max-width: 499px) {
    /* Como solicitar home section
    -------------------------------------------*/
    #como-solicitar .passo-passo {
        flex-direction: column;
    }
    #como-solicitar .passo-passo .icone {
        width: 100px;
        height: 114px;
        margin-right: 0;
    }
    #como-solicitar .passo-passo .texto {
        margin-top: 10px;
        max-width: 100%;
        text-align: center;
    }

    /* Footer
    -------------------------------------------*/
    #main-footer {
        margin-left: auto;
        margin-right: auto;
    }
    #main-footer > .container > .row {
        flex-direction: column-reverse;
    }
    #main-footer .logo-footer {
        text-align: center;
    }
}

@media (min-width: 600px) {
    form#enviarSolicitacao .form-group {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }
    form#enviarSolicitacao .form-group label:not(.btn) {
        width: 100px;
        font-weight: 600;
        line-height: 19px;
        margin-bottom: 0;
    }
    form#enviarSolicitacao .form-group .form-control {
        width: calc(100% - 100px);
        float: right;
    }
}

@media (max-width: 768px) {
    /* Main navbar
    -------------------------------------------*/
    #main-navigation {
        padding: 10px 15px;
    }
    #main-navigation .navbar-brand {
        max-width: 70%;
    }
    #main-navigation .navbar-menu {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    #main-navigation .navbar-menu .nav-item {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #main-navigation .navbar-social {
        display: flex;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-justify-content: space-around;
        justify-content: space-around;
    }
    #main-navigation .navbar-social .nav-link {
        font-size: 30px;
    }
    #main-navigation .navbar-toggler {
        border-color: #2766a5;
    }
    #main-navigation .navbar-toggler .navbar-toggler-icon {
        color: #2766a5;
        line-height: 1.5em;
    }
}

@media (min-width: 1000px) {
    /* Main navbar
    -------------------------------------------*/
    #main-navigation {
        padding-left: 15px;
        padding-right: 15px;
        -webkit-transition: padding .2s ease-in-out;
                transition: padding .2s ease-in-out;
    }

    #main-navigation.navbar-shrink {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

@media (min-width: 1000px) and (max-width: 1150px) {
    /* Main navbar
    -------------------------------------------*/
    #main-navigation .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 1200px) {
    /* Main navbar
    -------------------------------------------*/
    #main-navigation .container {
        max-width: 100%;
    }

    /* Home banner
    -------------------------------------------*/
    #home-banner .overlay {
        position: absolute;
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        z-index: 1;
    }
}

@media (min-width: 1600px) {
    /* Main navbar
    -------------------------------------------*/
    #main-navigation .container {
        max-width: 1400px;
    }
}

.form-check.checkbox-lg {
    padding-left: 1.80rem;
}

.form-check.checkbox-lg .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: -1.80rem;
}

@media (min-width: 600px) {
    form#enviarSolicitacao #freteDados,
    form#enviarSolicitacao #cartaoDados,
    form#enviarSolicitacao #boletoDados,
    form#enviarSolicitacao #pixDados {
        width: calc(100% - 100px);
    }
    form#enviarSolicitacao #cartaoDados .form-group:not(.flex-row) {
        -webkit-box-orient: vertical!important;
        -webkit-box-direction: normal!important;
        -ms-flex-direction: column!important;
        flex-direction: column!important;
    }
    form#enviarSolicitacao #cartaoDados .form-group label {
        width: 100%;
        margin-bottom: 5px;
    }
    form#enviarSolicitacao #cartaoDados .form-group .form-control {
        width: 100%;
    }
}

footer .payment-methods {
    float: left;
    margin-bottom: 50px;
}

footer .payment-methods h3, footer .download-app h3, footer .security h3 {
    color: #555555;
    text-transform: uppercase;
    font: Bold 14px/30px 'Heebo',sans-serif;
    margin-bottom: 0;
}

footer .payment-methods h3 > span {
}

footer .payment-methods > div, footer .download-app > div, footer .security > div {
    margin-right: 50px;
    float: left;
}

footer .payment-methods > div:last-child {
    margin-right: 0;
}

footer .payment-methods > div > span {
    color: #555555;
    font: Bold 12px/25px 'Heebo',sans-serif;
    display: block;
}

footer .payment-methods a:not(.selo), 
footer .payment-methods .credit-card span[class*="ico"] {
    text-indent: -9999px;
    width: 30px;
    height: 30px;
    margin: 0 8px 0 0;
    border-radius: 4px;
    float: left;
}

footer .payment-methods a:last-child {
    margin-right: 0;
}

.icon-cb {
    background: url(../img/pagamentos/icon-cb.svg) no-repeat;
}

.icon-pf {
    background: url(../img/pagamentos/icon-pf.svg) no-repeat;
}

.icon-ex {
    background: url(../img/pagamentos/icon-ex.svg) no-repeat;
}

.icon-visa {
    background: url(../img/pagamentos/icon-visa.svg) no-repeat;
}

.icon-mastercard {
    background: url(../img/pagamentos/icon-mastercard.svg) no-repeat;
}

.icon-american {
    background: url(../img/pagamentos/icon-american-express.svg) no-repeat;
}

.icon-diners {
    background: url(../img/pagamentos/icon-diners-club.svg) no-repeat;
}

.icon-elo {
    background: url(../img/pagamentos/icon-elo.svg) no-repeat;
}

.icon-hipercard {
    background: url(../img/pagamentos/icon-hipercard.svg) no-repeat;
}

.icon-banescard {
    background: url(../img/pagamentos/icon-banes-card.svg) no-repeat;
}

.icon-jcb {
    background: url(../img/pagamentos/icon-jcb.png) no-repeat 3px 6px;
    border: 1px solid #cccccc;
}

.payment-methods .other-methods span[class*="ico"] {
    text-indent: -9999px;
    margin: 0 8px 0 0;
    border-radius: 4px;
    float: left;
}

.icon-banqi {
    background: url(../img/pagamentos/icon-banqi.svg) no-repeat;
    width: 30px;
    height: 30px;
}

.icon-boleto {
    background: url(../img/pagamentos/icon-boleto.svg) no-repeat;
    width: 49px;
    height: 30px;
}

.icon-pix {
    background: url(../img/pagamentos/icon-pix.svg) no-repeat;
    width: 49px;
    height: 30px;
}

.icon-visa-checkout {
    background: url(../img/pagamentos/icon-visa-checkout.svg) no-repeat;
    width: 87px;
    height: 30px;
}

.icon-masterpass {
    background: url(../img/pagamentos/icon-masterpass.svg) no-repeat;
    width: 91px;
    height: 30px;
}

.icon-masterpass {
    background: url(../img/pagamentos/icon-masterpass.svg) no-repeat;
    width: 91px;
    height: 30px;
}

.icon-multi {
    background: url(../img/pagamentos/icon-multi-beneficios.png) no-repeat;
    width: 30px;
    height: 30px;
}

footer .footer-nav a.nav-link {
    padding: 0rem 0rem .2rem 1rem;
    color: #2766a5;
    position: relative;
}

footer .footer-nav a.nav-link:hover {
    color: #fe712d;
}

footer .footer-nav a.nav-link:before {
    content: "\f101";
    font-family: "Font Awesome 5 Free";
    font-size: 10px;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 4px;
    font-weight: 600;
}

#full_loader {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 9999999;
    background: #fff;
    width: 100%;
    height: 100%;
    top: 0;
}

#full_loader .loader {
  width: 65px;
  aspect-ratio: 1;
  position: relative;
}
#full_loader .loader:before,
#full_loader .loader:after {
  content: "";
  position: absolute;
  border-radius: 50px;
  box-shadow: 0 0 0 3px inset #fe712d;
  animation: l4 2.5s infinite;
}
#full_loader .loader:after {
  animation-delay: -1.25s;
}
@keyframes l4 {
  0% {
    inset: 0 35px 35px 0;
  }
  12.5% {
    inset: 0 35px 0 0;
  }
  25% {
    inset: 35px 35px 0 0;
  }
  37.5% {
    inset: 35px 0 0 0;
  }
  50% {
    inset: 35px 0 0 35px;
  }
  62.5% {
    inset: 0 0 0 35px;
  }
  75% {
    inset: 0 0 35px 35px;
  }
  87.5% {
    inset: 0 0 35px 0;
  }
  100% {
    inset: 0 35px 35px 0;
  }
}