/* All */
body {
    font-family: 'Lato', sans-serif;
    color: #333;
    background: #f2f3fa;
}
p {
    font-size: 20px;
}
p.small {
    font-size: 16px;
}
ul {
    list-style: none;
}
ol {
    list-style: decimal;
}
a,
a:hover,
a:focus,
a:active,
a.active {
    color: #0a4f77;
}
label {
    font-weight: 400;
}

/* Modals */
.modal-body p {
    font-size: 14px;
}
.general p.small {
    font-size: 11px;
}
.modal .btn {
    width: auto;
    padding: 20px 60px;
}
.modal-content {
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    border-radius: 0;
    border: 2px solid #0a4f77;
}


/* Selects */
select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24' viewBox='0 0 24 24'><path fill='#444' d='M7.406 7.828l4.594 4.594 4.594-4.594 1.406 1.406-6 6-6-6z'></path></svg>") no-repeat 100% 50%;
}
.selected {
    color: #555555 !important;
}
.unselected {
    color: #999999 !important;
}
#gender, #education {
    color: #999999;
}


/* Checkout */
.checkout {
    display: block;
}
#no-param {
    padding-top: 1em;
}
#no-param h3 {
    margin-bottom: 15px;
    color: #0a4f77;
    text-transform: uppercase;
    font-weight: 900;
}
#no-param .btn-wrapper {
    text-align: center;
}
@media only screen and (max-width: 480px) {
    #no-param {
        padding-bottom: 1em;
    }
}


/* Check coverage */
.check-coverage {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9998;
}
.check-coverage:after {
    content: '';
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.8;
    display: block;
    position: absolute;
    top: 0;
    z-index: -1;
}
.check-coverage-wrapper {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.check-coverage .form-group {
    margin-top: 10px;
}
.check-coverage .message {
    display: none;
    text-align: center;
}
.check-coverage .message p {
    font-size: 22px;
    font-weight: 700;
    margin: 60px 0px;
}
.check-coverage .message .btn {
    max-width: 200px;
    margin-top: -20px;
    margin-bottom: 40px;
}


/* Navbar */
.navbar {
    background-color: #fff;
    border-top: 5px solid #179ddc;
    margin-bottom: 20px;
    height: 65px;
}
.navbar .container > div {
    display: inline-block;
}
.navbar-brand {
    height: 55px;
    padding: 15px;
}
.navbar-brand img {
    height: 40px;
    margin-top: -6px;
}
#navbar-security {
    height: 35px;
    line-height: 35px;
    background: url("../img/padlock.png") no-repeat center left;
    padding-left: 30px;
    color: #179ddc;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 10px;
}
@media only screen and (max-width: 480px) {
    #navbar-security {
        font-size: 12px;
    }
}


/* Loaders */
.container-table {
    display: table;
}
.vertical-center-row {
    display: table-cell;
    vertical-align: middle;
}
#loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background: center no-repeat rgba(255, 255, 255, 0.7);
}
#loader span {
    font-size: 5em;
}
#loader span, #cep-loader span {
    color: #0a4f77;
    -webkit-animation: spin 1500ms infinite linear;
    animation: spin 1500ms infinite linear;
}
#cep-loader {
    margin-left: -20px;
    margin-top: 12px;
    height: 24px;
}
#cep-loader span {
    font-size: 18px;
    position: relative;
    top: 3px;
}
@media only screen and (max-width: 992px) {
    #cep-loader {
        margin-bottom: 15px;
        margin-top: -10px;
        margin-left: 0;
    }
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

/* Panels */
.panel {
    border-radius: 0px;
}

.panel-body {
    padding: 60px 40px;
}
.panel-body h2 {
    margin-top: 0;
    font-size: 16px;
}
.panel-plan .panel-title {
    color: #0a4f77;
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0px;
}
.panel-plan .box {
    color: #666;
}
.panel-plan h2 {
    margin: 5px 0px;
    font-weight: 700;
}
.panel-plan .panel-body {
    background: #179ddc;
    color: #fff;
    padding: 20px;
}

.panel-discount {
    /*background: transparent linear-gradient(249deg, #19DF5E 0%, #0F8337 100%) 0% 0% no-repeat padding-box;*/
    border-radius: 10px;
    opacity: 1;
    margin-bottom: 20px;
}

.panel-discount-bottom {
    /*background: transparent linear-gradient(249deg, #19DF5E 0%, #0F8337 100%) 0% 0% no-repeat padding-box;*/
    border-radius: 10px;
    opacity: 1;
}

@media only screen and (max-width: 400px) {
    .panel-discount-bottom {
        background-size: 100% 100% !important;
    }
}

@media only screen and (max-width: 320px) {
    .panel-discount .panel-heading,
    .panel-discount-bottom .panel-heading{
        padding: 10px 20px 0 !important;;
        margin-bottom: 5px !important;;
    }
    .img-discount{
        display: none;
    }
    .discount-button{
        font-size: 10px !important;
    }
}

@media only screen and (min-width: 992px) {
    .panel-discount {
        background: url("../img/bg-02.svg") no-repeat padding-box;
        background-size: 100%;
    }
    .panel-discount-bottom {
        background: url("../img/bg-05.svg") no-repeat padding-box;
        background-size: 100%;
    }
    .left {
        float: right;
        padding-right: 15px;
    }
    .right {
        float: left;
        margin-left: 15px;
    }
}

@media only screen and (min-width: 1200px) {
    .panel-discount {
        background: url("../img/bg-03.svg") no-repeat padding-box;
        background-size: 100%;
    }
    .panel-discount-bottom {
        background: url("../img/bg-04.svg") no-repeat padding-box;
        background-size: 100%;
    }
    .left {
        float: right;
        padding-right: 15px;
    }
    .right {
        float: left;
        margin-left: 15px;
        margin-top: 0;
    }
}

@media only screen and (max-width: 991px) {
    .panel-discount {
        background: url("../img/bg-04.svg") no-repeat padding-box;
        background-size: 100%;
    }
    .panel-discount-bottom {
        background: url("../img/bg-04.svg") no-repeat padding-box;
        background-size: 100%;
    }
    .left {
        float: right;
        padding-right: 15px;
        margin-top: -30px;
    }
    .right {
        float: right;
        padding-right: 15px;
        margin-top: -30px;
    }
}

@media only screen and (max-width: 760px) {
    .panel-discount {
        background: url("../img/bg-03.svg") no-repeat padding-box;
        background-size: 100%;
    }
    .panel-discount-bottom {
        background: url("../img/bg-03.svg") no-repeat padding-box;
        background-size: 100%;
    }
    .left {
        float: left;
        margin-left: 15px;
        margin-top: 0;
    }
    .right {
        float: left;
        margin-left: 15px;
        margin-top: 0;
    }
}

.panel-discount .panel-heading, .panel-discount-bottom .panel-heading {
    padding: 20px 20px 0;
    margin-bottom: 8px;
}

.panel-discount .title, .panel-discount-bottom .title {
    text-align: left;
    font: normal normal bold 20px/24px Lato;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: uppercase;
    opacity: 1;
}

.panel-discount .mb-6, .panel-discount-bottom .mb-6 {
    margin-bottom: 6px;
}

.panel-discount .img-discount, .panel-discount-bottom .img-discount {
    margin: -10px 6px -1px;
}

.panel-discount .discount-button, .panel-discount-bottom .discount-button {
    background: rgba(255, 255, 255, 0.3) no-repeat padding-box;
    border-radius: 6px;
    font-size: 12px;
    padding: 6px;
    color: white;
}

.panel-discount .panel-body, .panel-discount-bottom .panel-body {
    text-align: left;
    font: normal normal normal 14px/17px Lato;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
    padding: 0 20px 20px;
}



.panel-cep {
    background: #179ddc;
}
.panel-cep .panel-heading {
    text-align: center;
}
.panel-cep .panel-heading img {
    width: 150px;
    height: auto;
    margin-top: 60px;
}
.panel-cep .panel-body {
    padding: 0px 20px;
}
.panel-cep p {
    color: #fff;
    text-align: center;
    margin-top: 10px;
}
@media only screen and (min-width: 992px) {
    .panel-primary .panel-body .form-group {
        margin-bottom: 0;
    }
}
@media only screen and (max-width: 480px) {
    .panel-body {
        padding: 60px 20px;
    }
}

/* Prices */
#price-container {
    margin-bottom: 10px;
    line-height: initial;
}
#price-container .price {
    font-size: 28px;
    font-weight: 900;
}

/* Forms */
fieldset {
    margin-bottom: 50px;
}
legend {
    font-size: 26px;
    font-weight: 900;
    color: #0a4f77;
    text-transform: uppercase;
    margin-bottom: 40px;
    border: 0;
}
label {
    font-size: 16px;
    color: #333;
}
.form-group {
    margin-bottom: 25px;
}
.form-control,
.form-control:focus,
.form-control:hover {
    box-shadow: none;
}
.form-control:active,
.form-control:focus {
    border: 1px solid #0a4f77;
}
.form-control {
    font-size: 16px;
    height: 45px;
    padding-left: 20px;
    padding-right: 20px;
    background: #ffffff;
    border-radius: 4px;
    border: 2px solid #e9e9e9;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.has-error .info-block {
    margin-bottom: 0;
}
.help-block {
    color: #0a4f77 !important;
    margin-bottom: 0;
}
.inline-help {
    display: inline;
    margin-left: 5px;
}
@media only screen and (max-width: 992px) {
    .inline-help {
        display: block;
        margin-left: 0;
    }
    .radio-inline.radio-inline {
        width: 100%;
        margin: 7px 0;
    }
    .boleto-increase-control {
        margin-top: 0;
        margin-bottom: 5px;
    }
}
.error-msg {
    color: #a94442 !important;
}
#cep-error {
    color: #dc7775 !important;
}
input[type="radio"] + label::after {
  background-color: #f0ad4e !important;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
input[type=number] {
    -moz-appearance: textfield !important;
}


/* Buttons */

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 0;
    color: #FFFFFF !important;
    background: #0a4f77;
    border: 2px solid #0a4f77;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
}
.btn:hover,
.btn-success.active.focus,
.btn-success:active.focus,
.btn-success:active:hover {
    color: #FFFFFF !important;
    border: 2px solid #179ddc;
    background-color: #179ddc;
}
.btn-white {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 0;
    color: #FFFFFF !important;
    background: #0a4f77;
    border: 2px solid #0a4f77;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
}
.btn-white:hover {
    color: #fff !important;
    border: 2px solid #fff;
    background-color: #0a4f77;
}
.btn-inactive {
    pointer-events: none;
    cursor: not-allowed;
    color: #777777 !important;
    background-color: #dddddd !important;
}
#confirm-btn .glyphicon {
    margin-left: 5px;
    position: relative;
    top: 2px;
}

/* Toast message */
#toast {
    top: 15px;
    height: 20px;
    z-index: 9999;
}
#toast > div {
    padding: 15px 20px;
    min-height: 20px;
    text-align: center;
    border: none;
    border-radius: 0;
    color: #fff;
    background: #0a4f77;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
#toast .error-toast {
    color: #ffffff;
    background: #d9534f;
}


/* Success page */
.success .panel {
    margin-top: 1em;
}
.success h1 {
    font-size: 26px;
    font-weight: 900;
    color: #0a4f77;
    text-transform: uppercase;
    margin-bottom: 40px;
}
.success p {
    color: #333;
    font-size: 18px;
    font-weight: 300;
}
