@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('ttf');
    font-weight: bold;
    font-style: bold;
}

:root {
    --accent-color: #bdbdbd;
    --site1: #4148f5;
    --site2: #41F0B7;
    --site3: #10C288;
    --site4: #003153;
    --site5: #272DC2;
}

/********************
 GENERAL
 ********************/
body {
    background-color: #F2F3FF;
    color: var(--site4);
    font-family: 'Poppins', sans-serif;
    font-size: 15px; font-weight: normal;
    line-height: 19px;
}

a, button {
    transition: .5s all ease;
    -webkit-transition: .5s all ease;
}

a { color: var(--site4); }

a:hover { color: var(--site3); }

hr { border-top: 2px solid #bdbdbd; }

h1, h2, h3, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

h1 {
    font-size: 36px;
    line-height: 40px;
}

h4, h5 {
    font-size: 22px;
    line-height: 26px;
}

h6 {
    font-size: 18px;
    line-height: 22px;
}

@media (width <= 1199px) {
    h1 {
        font-size: 33px;
        line-height: 37px;
    }
    h4, h5 {
        font-size: 20px;
        line-height: 24px;
    }
    h6 {
        font-size: 17px;
        line-height: 21px;
    }
}

@media (width <= 992px) {
    h1 {
        font-size: 30px;
        line-height: 34px;
    }

    h4, h5 {
        font-size: 19px;
        line-height: 23px;
    }

    h6 {
        font-size: 16px;
        line-height: 20px;
    }
}

@media (width <= 767px) {
    h1 {
        font-size: 27px;
        line-height: 31px;
    }

    h4, h5 {
        font-size: 18px;
        line-height: 22px;
    }
}

@media (width <= 576px) {
    h1 {
        font-size: 25px;
        line-height: 29px;
    }

    h4, h5 {
        font-size: 17px;
        line-height: 21px;
    }
}

ul {
    list-style: none;
}

ul, ul > li {
    padding-left: 0;
}

ul > li:not(:last-child) {
    margin-bottom: 12px;
}

ul > li svg {
    float: left;
    margin-right: 10px;
}

.p-relative { position: relative; }

.text-justify { text-align: justify; }

.bkg-site1 { background-color: var(--site1); }
.bkg-site2 { background-color: var(--site2); }
.bkg-site3 { background-color: var(--site3); }
.bkg-site4 { background-color: var(--site4); }
.bkg-site5 { background-color: var(--site5); }

.text-site1 { color: var(--site1); }
.text-site2 { color: var(--site2); }
.text-site3 { color: var(--site3); }
.text-site4 { color: var(--site4); }
.text-site5 { color: var(--site5); }

.button {
    background-color: var(--site2);
    border: 0;
    border-radius: 6px;
    color: var(--site4);
    display: inline-block;
    font-weight: bold;
    padding: 15px 36px;
    text-align: center;
    text-decoration: none;
}

.button:not([disabled]):hover {
    background-color: var(--site3);
    color: var(--site4);
}

.button.button-site1 {
    background-color: var(--site1);
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    padding: 15px 36px;
    text-align: center;
    text-decoration: none;
}

.button.button-site1:hover {
    background-color: var(--site5);
    color:#ffffff;
}

.button[disabled] {
    background-color: #d1d1d1;
    cursor: default;
}

.fill { fill: var(--site2); }

.white-box, .box {
    background-color: white;
    border-radius: 6px;
    padding: 45px;
}

.box {
    background-color: var(--site1);
}

.white-box > *:last-child, .box > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.brand-logo { width: 100px; }

@media (width <= 1199px) {
    .white-box, .box { padding: 40px; }
}

@media (width <= 992px) {
    .white-box, .box { padding: 35px; }
}

@media (width <= 767px) {
    .white-box, .box { padding: 30px; }
}

@media (width <= 576px) {
    .white-box, .box { padding-inline: 20px; }
}

/********************
 HEADER
 ********************/
#header {
    background-color: var(--site1);
    padding-bottom: -5px;
    padding-top: 20px;
}

.progress, .progress-stacked {
    background-color: #003153;
    display: inline-block;
    height: 1.8rem;
    overflow: visible;
    position: relative;
    width: calc(100% - 40px);
}

.progress-bar {
    background-color: var(--site2);
    border-radius: var(--bs-border-radius);
    height: 100%;
}

#header .logout {
    color: white;
    display: inline-block;
    float: right;
    font-size: 22px;
    margin-left: 15px;
    position: relative;
    top: 3px;
}

#header .logout:hover {
    color: var(--site2);
}

.summary {
    border-top: 2px solid white;
    display: grid;
    grid-template-columns: 22% 26% 52%;
    margin-bottom: 0;
}

.summary > li {
    margin-bottom: 0;
    padding-top: 6px;
}

.summary > li:not(:first-child) {
    padding-left: 10px;
}

.summary > li:not(:last-child) {
    border-right: 2px solid white;
    padding-right: 10px;
}

.summary > li * {
    color: white;
}

.summary > li p, .summary > li h5 {
    margin-bottom: 0;
    padding-bottom: 0;
}

.open-calculator {
    color: white;
    font-size: 24px;
    position: absolute;
    right: 15px;
    top: 50%;
    translate: 0 -50%;
    rotate: 0;
    transition: .5s all ease;
}

.open-calculator.active, .open-calculator:hover {
    color: var(--site2);
}

.open-calculator.active { rotate: 180deg; }

#header-calculator {
    height: calc(100% - 128px);
    left: 0;
    overflow-y: auto;
    padding: 35px;
    position: relative;
    width: 100%;
    z-index: 99999;
}

#header-calculator .calculator {
    max-width: 400px;
    margin: 0 auto;
}

@media (width <= 992px) {
    #header-calculator {
        height: calc(100% - 127px);
        top: 0;
    }
}

@media (width <= 767px) {
    .summary > li p {
        font-size: 14px;
        line-height: 18px;
    }

    .summary > li h5 {
        font-size: 15px;
        line-height: 19px;
    }

    #header-calculator {
        height: calc(100% - 123px);
        top: 0;
    }
}

/********************
 CONTENT
 ********************/
section#main-content {
    margin-block: 75px;
}

section#main-content.customer-login {
    margin-top: 40px;
}

.requirements {
    margin-bottom: 25px;
}

.requirements > li {
    padding-left: 30px;
    position: relative;
}

.requirements > li [class*="fa-"] {
    color: var(--site3);
    left: 0;
    position: absolute;
    top: 2px;
}

.fields-group {
    padding-left: 65px;
    position: relative;
}

.fields-group .icon {
    font-size: 40px;
    left: 0;
    line-height: 40px;
    position: absolute;
    top: 0;
}

label {
    font-weight: bold;
}

label + .form-control {
    margin-top: 8px;
}

.form-control, .select2 {
    background-color: white;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 2px 0 rgba(0,0,0,.1);
    color: #596574;
    padding: 16px 12px;
}

.select2 {
    padding-block: 14px;
    width: 100%!important;
}

.form-control::placeholder {
    color: #bdbdbd;
}

.form-control:focus {
    box-shadow: 0 2px 0 var(--site2);
    outline: 0;
}

.input-group {
    border-radius: 6px;
    box-shadow: 0 2px 0 rgba(0,0,0,.1);
}

.input-group .form-control {
    box-shadow: none;
}

.select2-container--default .select2-selection--single {
    border: 0;
    border-radius: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #bdbdbd;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 6px;
    top: 50%;
    translate: 0 -50%;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-top-color: black;
    border-width: 6px 5px 0 5px;
}

.select2-dropdown {
    border-color: #edeef2;
}

.select2-results__option {
    margin-bottom: 0!important;
    padding: 14px 15px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #edeef2;
    color: #a76663;
}

.fields-group + .fields-group, .form-group + .form-group {
    margin-top: 25px;
}

.fields-group .form-group + .form-group {
    margin-top: 10px;
}

fieldset {
    border: 1px solid #cccccc;
    border-radius: 6px;
    display: block;
    margin-top: 25px!important;
    padding: 25px 15px 15px;
    position: relative;
}

fieldset > legend {
    background-color: #edeef2;
    display: inline-block;
    font-size: 15px;
    left: 15px;
    line-height: 19px;
    padding: 2px 15px;
    top: -12px;
    position: absolute;
    width: auto;
}

.checkbox {
    font-size: 15px;
    font-weight: 300;
    line-height: 19px;
    padding-left: 30px;
    position: relative;
}

.checkbox, .checkbox a {
    color: #05243e;
}

.checkbox a:hover {
    color: var(--site3);
}

.checkbox + .checkbox, .checkbox + .form-group {
    margin-top: 30px;
}

.checkbox input {
    left: 0;
    position: absolute;
    top: 2px;
}

.checkbox input[type="checkbox"], .checkbox input[type="radio"] {
    appearance: none;
    background-color: #bdbdbd;
    border-radius: 2px;
    cursor: pointer;
    height: 15px;
    width: 15px;
}

.checkbox input[type="radio"] {
    border-radius: 50%;
}

.checkbox input[type="checkbox"]:checked, .checkbox input[type="radio"]:checked {
    background: transparent url('../img/icons/square-check.webp') no-repeat center;
    background-size: contain;
}

.form-switch .form-check-input {
    height: 1.4em;
    margin-left: -2.8em;
    position: relative;
    top: -5px;
    width: 2.5em;
}

.form-switch .form-check-input:checked {
    background-color: var(--site2);
    border-color: var(--site3);
}

.form-switch .form-check-input:checked, .form-switch .form-check-input:focus {
    box-shadow: none;
}

input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
    width: 100%;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: var(--site2);
    height: 4px;
}

input[type="range"]::-moz-range-track {
    background: var(--site2);
    height: 4px;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    margin-top: -7px;
    background-color: var(--site3);
    border-radius: 50%;
    height: 16px;
    width: 16px;
}

.otp {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 8px;
    max-width: 300px;
}

.otp input {
    text-align: center;
}

@media (width >= 993px) {
    #main-content .panel {
        padding-right: 60px;
    }
}

@media (width <= 1299px) {
    section#main-content {
        margin-block: 60px;
    }

    .form-control {
        padding-block: 15px;
    }

    .select2 {
        padding-block: 13px;
    }
}

@media (width <= 992px) {
    section#main-content {
        margin-top: 45px;
    }

    section#main-content.customer-login {
        margin-top: 35px;
    }

    .fields-group {
        padding-left: 58px;
    }

    .fields-group .icon {
        font-size: 35px;
        line-height: 35px;
    }

    .form-group + .form-group {
        margin-top: 20px;
    }

    .form-control {
        padding-block: 14px;
    }

    .select2 {
        padding-block: 12px;
    }

    .checkbox + .checkbox, .checkbox + .form-group {
        margin-top: 25px;
    }

    .sidebar {
        margin-top: 45px;
    }
}

@media (width <= 767px) {
    section#main-content {
        margin-top: 40px;
    }

    section#main-content.customer-login {
        margin-top: 30px;
    }

    .fields-group {
        padding-left: 50px;
    }

    .fields-group .icon {
        font-size: 30px;
        line-height: 30px;
    }

    .form-group + .form-group {
        margin-top: 16px;
    }

    .form-control {
        padding-block: 13px;
    }

    .select2 {
        padding-block: 11px;
    }

    .form-group > .row .col-12:not(:first-child) .form-group {
        margin-top: 10px;
    }
}

@media (width <= 576px) {
    .fields-group {
        padding-left: 44px;
    }

    .fields-group .icon {
        font-size: 25px;
        line-height: 25px;
    }
}

/********************
 CALCULATOR
 ********************/
.calculator {
    background-color: #edeef2;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(5,36,62,.15);
    padding: 20px;
}

.calculator p {
    color: var(--site1);
}

.calculator .amount {
    background-color: white;
    border-radius: 4px;
    color: black;
    display: inline-block;
    float: right;
    font-weight: 600;
    padding: 6px 12px;
}

.calculator input[type="range"] {
    width: 100%;
}

dl {
    background-color: white;
    border-radius: 4px;
    display: inline-block;
    padding-inline: 16px;
    width: 100%;
}

dl dt, dl dd {
    display: inline-block;
    float: left;
    margin: 0;
    padding-block: 16px;
}

dl dt:not(:nth-last-child(2)), dl dd:not(:last-child) {
    border-bottom: 1px solid rgba(94,118,138,.2);
}

dl dt {
    width: 60%;
}

dl dd {
    text-align: right;
    width: 40%;
}

.white-box dl {
    padding-inline: 0;
}

.white-box dl dt:first-child, .white-box dl dd:nth-child(2) {
    padding-top: 0;
}

/********************
 CUSTOMER AREA
 ********************/
.actions {
    background-color: white;
    border-radius: 4px;
    padding: 15px 25px;
}

.actions > li {
    padding: 12px 0;
}

.actions > li:not(:last-child) {
    border-bottom: 1px solid rgba(94,118,138,.2);
    margin-bottom: 0;
}

.actions > li > a {
    padding-left: 27px;
    position: relative;
    text-decoration: none;
}

.actions > li > a [class*="fa-"] {
    color: var(--site3);
    left: 0;
    position: absolute;
    top: 50%;
    translate: 0 -50%;
}

@media (min-width: 768px) {
    .w-md-50 {
        width: 50% !important;
    }
}
