* {
    font-size: 100%;
    font-family: OpenSans;
}

/* sup {
    top: 0.4rem;
}

sub {
    bottom: -1rem;
} */

.window-size {
   /* max-width: 897px; */
    /* max-width: 56.25rem; */ /* Equivale a 900px */
    max-width: 71rem;
}

.row {
    --bs-gutter-x: 1rem;
}

.table {
    --bs-table-color-type: initial;
    --bs-table-bg-type: initial;
    --bs-table-color-state: initial;
    --bs-table-bg-state: initial;
    --bs-table-color: initial;
    --bs-table-bg: initial;
    --bs-table-border-color: initial;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: initial;
    --bs-table-striped-bg: initial;
    --bs-table-active-color: initial;
    --bs-table-active-bg: initial;
    --bs-table-hover-color: initial;
    --bs-table-hover-bg: initial;
}

.g-0, .gx-0 {
    --bs-gutter-x: 0 !important;
}

.g-0, .gy-0 {
    --bs-gutter-y: 0 !important;
}

.min-w-0 {
  min-width: 0 !important;
}

.lh-normal {
    line-height: normal !important;
}

.d-flex-optional {
    display: flex;
}

.user-email {
    font-weight: 600;
    color: var(--secondary);
}

.top-navbar {
    width: 100%;
    min-height: 4rem;
    background-color: var(--primary);
}

.img-nav {
    height: 2.75rem;
    max-height: 4rem;
}

.img-nav-filtered {
    filter: var(--secondary-filter);
}

.img-nav-white {
    filter: brightness(0) saturate(100%) invert(100%);
}

.company-navbar-name {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
}

.offer-navbar {
    padding: 1rem;
    background-color: var(--secondary);
    min-width: 100%;
}

.offer-navbar h1 {
    color: var(--primary);
    display: inline;
    width: max-content;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.006rem;
    line-height: normal;
}

.offer-navbar .summary-title {
    color: var(--primary);
    display: inline;
    width: max-content;
    font-size: 1.5rem;
    line-height: normal;
}

.custom-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.info-icon {
    width: 1.25rem;
    height: 1.25rem;
    align-self: center;
}

.info-icon:hover {
    filter: var(--secondary-filter);
}

.tooltip {
    /* font-family: Roboto !important; */
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.125rem;
    letter-spacing: 0.006rem;
}

.tooltip.show {
    opacity: 1;
    max-width: 100vw;
}

.tooltip-inner {
    text-align: left;
    background-color: var(--secondary);
    border-radius: 0.25rem;
    padding: 0.5rem 0.813rem;
    gap: 0.625rem;
    max-width: fit-content;
    width: fit-content;
    font-weight: 600;
}

.tooltip-arrow {
    --bs-tooltip-bg: var(--secondary);
}

.green-tooltip .tooltip-inner {
    background-color: var(--primary);
    color: var(--secondary);
}

.green-tooltip .tooltip-arrow {
    --bs-tooltip-bg: var(--primary);
}

h1, h2, h3, h4, h5 {
    color: var(--secondary);
    margin-bottom: 0;
    font-weight: 700;
    line-height: normal;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.125rem;
}

.font-0 {
    font-size: 0;
}

.h3-community {
    color: var(--secondary);
    margin-bottom: 0;
    font-size: 2rem;
    font-weight: 700;
}

.h-primary {
    color: var(--primary);
}

p {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-self: center;
}

.title-community p {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    align-self: center;
    color: #2C364D;
}

.title p {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    align-self: center;
    color: #2C364D;
}

.summary {
    display: flex;
    flex-direction: column;
}

.summary label {
    font-size: 1rem;
    font-weight: 400;
    display: flex;
    align-self: center;
    line-height: 1.362rem;
    color: var(--secondary);
}

.summary .label {
    font-size: 1rem;
    font-weight: 400;
    display: flex;
    align-self: flex-start;
    line-height: 1.362rem;
    color: var(--secondary);
}

.summary .bold-label {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-self: flex-start;
    line-height: 1.362rem;
    color: var(--secondary);
}

.summary .bubble-label {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-self: flex-start;
    line-height: 1.362rem;
    color: var(--secondary);
    border-radius: 0.25rem;
    border: 0.063rem solid var(--secondary);
    background: var(--tertiary);
    padding: 0.5rem 1rem;
    width: fit-content;
    align-items: center;
    gap: 0.5rem;
}

.summary p {
    font-size: 1.5rem;
    font-weight: 400;
    display: flex;
    align-self: center;
    line-height: 2.043rem;
    color: var(--secondary);
}

.summary-card {
    padding: 2.5rem 0 2.5rem 0;
}

.recalculate-title {
    height: 4.625rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--secondary);
    color: var(--primary);
}

.recalculate-title h3 {
    color: var(--primary);
    font-weight: 600;
}

.grae-lite-input {
    opacity: 1 !important;
}

.error-message {
    display: none;
    margin: 0;
    margin-top: 0.25rem;
    color: #EB5757;
    font-size: 14px;
    line-height: 19px;
    font-style: italic;
}

.form-error {
    margin-top: -0.25rem;
}

.input-error {
    border: 0.125rem solid var(--custom-red) !important;
}

.red {
    color: var(--custom-red);
}

.a-download {
    color: var(--secondary);
    gap: 0.5rem;
}

.a-download:hover {
    color: var(--secondary-hover);
    font-weight: 700;
}

.a-download:hover span {
    text-decoration: underline;
}

input[type="radio"].custom-check-input {
    background-color: transparent;
    border: 0.125rem solid var(--secondary);
    background-image: none;
}

input[type="radio"].custom-check-input:checked {
    border-color: var(--secondary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2.5' fill='%232c364d'/%3e%3c/svg%3e");
}

.form-field {
    align-items: flex-start;
    row-gap: 0.5rem;
}

.form-field [class*="col-"],
.form-field .col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-size: 1rem;
    font-weight: 600 !important;
    display: flex;
    align-self: center;
    line-height: normal;
    width: 100%;
    gap: 0.5rem;
}

.inline-label {
    display: inline-block !important;
}

.form-field input[type="text"],
.form-field input[type="textarea"],
.form-field input[type="email"],
.form-field input[type="password"],
.form-field input[type="number"],
.form-select,
.select2-selection.select2-selection--single.form-select,
.select2-container--default .select2-search--dropdown .select2-search__field {
    height: 3rem;
    background-color: var(--tertiary);
    border: none;
    border-radius: 0.25rem;
    background-size: 1rem 1rem !important;
}

.form-select-opened {
    background-image: url("../images/select-up.svg");
}

.form-field input[type="text"]::placeholder,
.form-field input[type="textarea"]::placeholder,
.form-field input[type="email"]::placeholder,
.form-field input[type="password"]::placeholder,
.form-field input[type="number"]::placeholder,
.select2-selection .select2-selection--single .select2-selection__placeholder {
    font-weight: 400 !important;
    font-size: 1rem !important;
    line-height: 1.375rem !important;
    color: #BABABA !important;
}

.custom-placeholder {
    font-weight: 400 !important;
    font-size: 1rem !important;
    line-height: 1.375rem !important;
}

.placeholder-color {
    color: #BABABA !important;
}

select:invalid
/* select option[value=""] { */
{
    font-weight: 400 !important;
    font-size: 1rem !important;
    line-height: 1.375rem !important;
    color: #BABABA !important;
}

.form-field input[type="text"]:focus,
.form-field input[type="textarea"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="password"]:focus,
.form-field input[type="number"]:focus,
.form-select:focus,
.select2-selection.select2-selection--single.form-select:focus,
.form-control:focus {
    background-color: var(--tertiary) !important;
    border: 0.125rem solid var(--secondary);
    box-shadow: none;
}

.form-field input[type="text"]:not(:disabled):hover,
.form-field input[type="textarea"]:not(:disabled):hover,
.form-field input[type="email"]:not(:disabled):hover,
.form-field input[type="password"]:not(:disabled):hover,
.form-field input[type="number"]:not(:disabled):hover,
.form-field input[type="url"]:not(:disabled):hover,
.form-select:not(:disabled):hover,
.select2-selection.select2-selection--single.form-select[aria-disabled="false"]:hover,
.form-control:not(:disabled):hover {
    background-color: var(--tertiary-hover);
    box-shadow: none;
}

.form-field input[type="text"]:disabled,
.form-field input[type="textarea"]:disabled,
.form-field input[type="email"]:disabled,
.form-field input[type="password"]:disabled,
.form-field input[type="number"]:disabled,
.form-field input[type="url"]:disabled,
.form-field input[type="text"]:read-only,
.form-field input[type="textarea"]:read-only,
.form-field input[type="email"]:read-only,
.form-field input[type="password"]:read-only,
.form-field input[type="number"]:read-only,
.form-field input[type="url"]:read-only,
.form-select:disabled,
.select2-selection.select2-selection--single.form-select[aria-disabled="true"] {
    background-color: var(--primary-grey) !important;
    box-shadow: none;
    color: var(--secondary-grey) !important;
    cursor: default;
}

.form-field input[type="text"]:disabled::placeholder,
.form-field input[type="textarea"]:disabled::placeholder,
.form-field input[type="email"]:disabled::placeholder,
.form-field input[type="password"]:disabled::placeholder,
.form-field input[type="number"]:disabled::placeholder,
.form-field input[type="url"]:disabled::placeholder,
.form-field input[type="text"]:read-only::placeholder,
.form-field input[type="textarea"]:read-only::placeholder,
.form-field input[type="email"]:read-only::placeholder,
.form-field input[type="password"]:read-only::placeholder,
.form-field input[type="number"]:read-only::placeholder,
.form-field input[type="url"]:read-only::placeholder {
    color: var(--secondary-grey) !important;
}

.form-select {
    cursor: pointer;
}

input[type="file"] {
    display: none;
}

.file-div {
    height: 4rem;
    border: 0.063rem dashed #C3D5EB;
    border-radius: 0.35rem;
    width: 80%;
    cursor: pointer;
}

input {
    height: 3rem;
}

.bin-icon,
.view-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.bin-icon:hover {
    cursor: pointer;
    filter: var(--custom-red-filter);
}

.view-icon:hover {
    cursor: pointer;
    filter: var(--secondary-hover-filter);
}

.form-control {
    background-color: var(--tertiary);
    border: none;
}

input[type="checkbox"].custom-check-input {
    border: 0.125rem solid #848586;
    border-radius: 0.125rem;
}

input[type="checkbox"].custom-check-input:checked {
    border: 0.125rem solid var(--secondary);
    border-radius: 0.125rem;
    background-color: var(--secondary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23afff49' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}

.check-green input[type="checkbox"].custom-check-input {
    border: 0.125rem solid #848586;
    border-radius: 0.125rem;
}

.check-green input[type="checkbox"].custom-check-input:checked {
    border: 0.125rem solid var(--primary);
    border-radius: 0.125rem;
    background-color: var(--primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%232c364d' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}

.form-switch {
    padding-left: calc(2.5em + var(--bs-gutter-x) * .5)
}

.form-check-input {
    margin: 0;
}

.form-switch .form-check-input {
    cursor: pointer;
    width: 2.5rem;
    height: 1.5rem;
    background-size: 1.625rem;
    border: none;
    background-color: var(--secondary-grey);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:checked {
    background-color: var(--secondary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:checked:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:disabled {
    opacity: 1;
    background-color: #E9ECEF;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ced4da'/%3e%3c/svg%3e");
}

.inline-input {
    flex-grow: 1;
    min-width: 0;
    width: auto !important;
}

.eternal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.extra-prices-div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.white-bubble {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 0 0.25rem 0 rgba(0, 0, 0, 0.08);
}

.white-bubble:hover {
    box-shadow: 0 0.25rem 0.25rem 0 rgba(0, 0, 0, 0.08);
}

.white-bubble:has(> div.show) {
    box-shadow: 0 0.25rem 0.25rem 0 rgba(0, 0, 0, 0.08);
}

.grey-bubble {
    display: flex;
    padding: 0.5rem 1.5rem;
    justify-content: center;
    align-items: center;
    border-radius: 0.25rem;
    background: var(--tertiary);
}

.secondary-bubble {
    display: flex;
    height: 3rem;
    padding: 0.5rem 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    align-self: stretch;
    border-radius: 0.25rem;
    background: var(--secondary);
    color: var(--primary);
}

.card {
    border-radius: 0.35rem;
    background-color: white;
    border: 0.125rem solid white;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.12);
}

.card-img {
    max-height: 7.5rem;
}

.custom-card-body {
    width: 80%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.custom-card-body label,
.custom-card-body p {
    font-weight: 600;
}

.custom-card-body p {
    font-size: 0.875rem;
    align-self: flex-start;
}

.custom-card-body div {
    font-weight: 700;
    background: var(--primary-grey);
    border-radius: 0.25rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.maintenance-input {
    text-align: center;
    font-weight: 700;
}

.form-check-bold-label {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.362rem;
    color: var(--secondary);
}

.div-final-price {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    width: 50%;
    min-width: fit-content;
    background-color: #2C364D;
    border-radius: 0.35rem;
    color: var(--primary);
}

.div-final-price h1 {
    font-size: 1.5rem;
    display: flex;
    align-self: center;
    line-height: 2.043rem;
    font-weight: 600 !important;
    margin: 0.469rem 1rem 0.469rem 1rem;
    white-space: nowrap;
    overflow: hidden;
}

.section-1 {
    background-color: #FFFFFF;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.section-2 {
    background-color: #F9F9FA;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.section-3 {
    background-color: #FFFFFF;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.section-4 {
    background: var(--tertiary);
    display: flex;
    padding: 5rem 2.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-5 {
    background-color: var(--tertiary);
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.buttons-footer {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}

.measuring-cursor {
    cursor: url("../images/measuring-cursor.svg"), auto;
}

.map-div {
    border-radius: 0.35rem;
    min-height: 25rem;
}

/* NEW MARKERS CSS */

.marker-property {
    background-color: white;
    border-radius: 0.5rem;
    color: black;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    position: relative;
}

.marker-property::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 0);
    width: 0;
    height: 0;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-top: 0.5rem solid white;
}

.marker-property .marker-title {
    display: none;
}

.marker-property .marker-details {
    display: none;
    flex-direction: column;
    flex: 1;
}

.marker-property .marker-features {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
}

.marker-property .marker-features > div {
    align-items: center;
    background: var(--tertiary-hover);
    border-radius: 0.25rem;
    display: flex;
    font-size: 0.875rem;
    gap: 0.375rem;
    padding: 0.375rem;
}

.marker-property.marker-highlight {
    background-color: #FFFFFF;
    border-radius: 0.5rem;
    box-shadow: 0.75rem 0.75rem 0.375rem rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.marker-property.marker-highlight::after {
    border-top: 9px solid #FFFFFF;
}

.marker-property.marker-highlight .marker-title {
    display: inline;
}

.marker-property.marker-highlight .marker-details {
    display: flex;
    gap: 0.25rem;
}

/* FIN NEW MARKERS CSS */

.summary-map {
    width: 100%;
    max-width: 29.5rem;
    border-radius: 1rem;
}

.summary-submap {
    --bs-gutter-x: 0;
    border-radius: 0 0 0.5rem 0.5rem;
    background: var(--tertiary);
}

.summary-submap p {
    font-weight: 700;
}

.summary-warning {
    font-size: 0.75rem !important;
    color: var(--custom-red) !important;
    line-height: normal !important;
}

.payment-div h1 {
    align-items: center;
}

.payment-div .row {
    --bs-gutter-x: 0;
    border-radius: 1rem;
    background: var(--tertiary);
    padding: 1.5rem 1rem;
}

.cash-payment-div {
    border-right: 0.125rem solid #7599C7;
    padding-right: 1rem;
}

.iva-p {
    font-size: 0.75rem;
    font-style: italic;
    font-weight: 600;
    line-height: normal;
}

input[type="range"] {
    --webkit-appearance: none;
    width: 100%;
    height: 0.5rem;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--primary);
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--primary);
    cursor: pointer;
}

#azimuth-range {
    transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
}

.era-footer {
    background-color: var(--secondary);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.era-terms {
    background-color: var(--primary);
    padding: 0.5rem;
}

.era-terms p {
    color: var(--secondary);
    font-weight: 400;
    font-size: 0.875rem;
    line-height: normal;
    letter-spacing: 0.006rem;
}

.footer-img {
    height: 3.75rem;
    filter: var(--primary-filter);
}

.footer-a {
    color:  var(--secondary);
    text-decoration: underline var(--secondary);
}

.footer-a:hover {
    color: #6477A5;
}

#search {
    border: none !important;
    border-radius: 10rem;
    background-color: #F9F9FA;
}

.table>:not(caption)>*>* {
    padding: 0.5rem 1rem;
}

.table-borderless {
    margin: 0;
    border: hidden;
}

.parent-table {
    overflow-x: auto;
}

.summary-table {
    text-align: center;
    font-size: 0.875rem;
    justify-content: center;
    align-items: center;
    align-self: center;
    align-content: center;
}

.summary-table thead {
    background-color: var(--tertiary);
}

.summary-table td:not(.month, .total) {
    color: #848586;
}

.summary-table .month {
    font-weight: 700;
}

.summary-table .total {
    font-size: 1rem;
    font-weight: 700;
}

.summary-table tr:nth-child(even) {
    background-color: #F9F9FA;
}

.custom-modal {
    max-width: 120rem;
    width: 90%;
}

.modal-table {
    text-align: center;
    vertical-align: middle;
}

.modal-table thead {
    font-size: 0.875rem;
    font-weight: 400;
    color: #4A4A4A;
}

.modal-table tr:not(thead) {
    border: 0.625rem solid white;
}

.modal-table tbody tr {
    font-size: 1rem;
    font-weight: 400;
    color: #2C364D;
    background-color: #F9F9FA;
}

.modal-table tbody tr:hover {
    background-color: var(--tertiary);
}

.modal-table tbody .selected-row {
    background-color: var(--tertiary);
}

.page-item.active .page-link{
    color: var(--secondary);
    background-color: var(--primary);
    border-color: var(--primary);
}

.page-item .page-link {
    color: var(--secondary);
    font-weight: 600;
}

.page-link:focus {
    color: var(--secondary);
    background-color: #fff;
    border: 0.063rem solid #DEE2E6;
    box-shadow: none;
}

.prev-next:focus {
    color: var(--secondary);
    background-color: var(--secondary);
    border-color: var(--primary);
}

.prev-next,
.prev-next:hover {
    background-color: var(--secondary);
}

.prev-next span {
    color: var(--primary);
}

.form-outline {
    position: relative;
}

.input-search {
    padding: 0.75rem 3rem 0.75rem 3rem;
    background-image: url("../images/search.svg");
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 1rem;
    border-radius: 3rem;
}

.icon-search {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    left: 1.125rem;
    top: 50%;
    transform: translateY(-50%);
}

hr {
    border-color: var(--tertiary);
    opacity: 1;
    appearance: none;
    margin: 0;
}

.hr-dropdown {
    border-color: var(--primary);
}

.dropdown a {
    text-decoration: none;
}

.dropdown-menu {
    background-color: var(--secondary);
    padding: 1rem;
    border-radius: 0.5rem;
    min-width: 20rem;
    top: 0.25rem !important;
    border: 0.063rem solid var(--primary);
    gap: 0.5rem;
}

.dropdown-menu.show {
    display: flex;
    flex-direction: column;
}

.dropdown-menu-right {
    left: auto !important;
    right: 0 !important;
}

.custom-dropdown-menu {
    transform: none !important;
    top: 3.5rem !important;
}

.dropdown-toggle {
    color: var(--secondary);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    white-space: normal;
}

.dropdown-toggle:hover {
    color: var(--secondary-hover);
}

.green-toggle::after {
    color: var(--primary) !important;
    border-top: 0.4em solid !important;
    border-right: 0.4em solid transparent !important;
    border-bottom: 0 !important;
    border-left: 0.4em solid transparent !important;
}

.dropdown-green-item {
    color: var(--primary);
    font-weight: 600;
    min-height: 3rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.25rem;
}

.dropdown-green-item:hover {
    font-weight: 600;
    color: var(--secondary);
    background-color: var(--primary);
}

.dropdown-icon {
    width: 1.5rem;
    height: 1.5rem;
    filter: var(--primary-filter);
}

.dropdown-green-item:hover .dropdown-icon,
.dropdown-green-item:hover img {
    filter: var(--secondary-filter);
}

.dropdown-green-item:active {
    color: var(--secondary);
    background-color: var(--primary-hover);
}

.dropdown-green-item:active .dropdown-icon,
.dropdown-green-item:active img {
    filter: var(--secondary-filter);
}

.modal-content {
    border-radius: 1rem !important;
}

.corrective-maintenance {
    display: flex;
    padding: 0.5rem 1.5rem;
    justify-content: center;
    align-items: center;
    border-radius: 0.25rem;
    background: var(--tertiary);
}

.toast-top-right {
    top: 9rem !important;
}

#toast-container > .toast-success {
    background-image: url("../images/toast-success.svg") !important;
}

#toast-container > .toast-warning {
    background-image: url("../images/toast-warning.svg") !important;
}

#toast-container > .toast-error {
    background-image: url("../images/toast-error.svg") !important;
}

#toast-container > div {
    background-position: 1.5rem center;
}

.toast {
    width: 22rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    line-height: 1.406rem !important;
    border-radius: 1rem !important;
    opacity: 1 !important;
    box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.08) !important;
    padding: 1.5rem 1.5rem 1.5rem 4rem !important;
}

.toast-success {
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
}

.toast-success a,
.toast-error a {
    color: var(--secondary) !important;
}

.toast-success:hover {
    background-color: var(--primary-hover) !important;
}

.toast-success a:hover,
.toast-error a:hover {
    color: var(--secondary-hover) !important;
}

.toast-error {
    background-color: var(--custom-red) !important;
    color: white !important;
}

.toast-error:hover {
    background-color: var(--red-hover) !important;
}

.toast-warning {
    background-color: var(--secondary) !important;
    color: var(--primary) !important;
}

.toast-warning:hover {
    background-color: var(--secondary-hover) !important;
}

.panel-grid {
    gap: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.panel-img {
    overflow: hidden;
    cursor: pointer;
    padding: 1rem;
    border-radius: 0.5rem;
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.panel-img-selected {
    border: 0.25rem solid var(--primary) !important;
}

.panel-img-selected img {
    filter: grayscale(0) !important;
}

.panel-img img {
    height: 10rem;
    max-width: 100%;
    filter: grayscale(1);
    transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    transition: all 600ms ease-in-out;
    -webkit-transition: all 600ms ease-in-out;
    -moz-transition: all 600ms ease-in-out;
    -ms-transition: all 600ms ease-in-out;
    -o-transition: all 600ms ease-in-out;
}

@media (min-width: 2400px) {
    .panel-img img {
        height: 17rem;
    }
}

.panel-img img:hover {
    filter: grayscale(0) !important;
    transform: scale(1.15);
    -ms-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -webkit-transform: scale(1.15);
    -o-transform: scale(1.15);
}

.panel-img:active {
    -webkit-box-shadow: 0.1rem 0.1rem 0.3rem 0.1rem #888888;
    box-shadow: 0.1rem 0.1rem 0.3rem 0.1rem #888888;
    transform: translate(0.2rem, 0.2rem);
    -ms-transform: translate(0.2rem, 0.2rem);
    -moz-transform: translate(0.2rem, 0.2rem);
    -webkit-transform: translate(0.2rem, 0.2rem);
    -o-transform: translate(0.2rem, 0.2rem);
}

.h3-load {
    font-size: 1.75rem;
}

.img-load {
    width: 100%;
    animation: brightness 3s linear infinite;
}

.sun-load {
    position: absolute;
    width: 6rem;
    height: 9rem;
    animation: x-motion 4s ease-in-out 0s infinite normal;
    bottom: 11.5rem;
    left: 0;
}

.sun-load:before {
    content: "";
    width: 6rem;
    height: 6rem;
    position: absolute;
    top: 100%;
    background-image: url("../images/sun-load.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    animation: y-motion 4s ease-in-out 0s infinite alternate;
    border-radius: 1rem;
}

@keyframes brightness {
    0%, 100% {
        filter: grayscale(0);
    }

    50% {
        filter: grayscale(1);
    }
}

@keyframes x-motion {
    0% {
        left: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: calc(100% - 6rem);
        opacity: 0;
    }
}

@keyframes y-motion {
    0%, 100% {
        top: 100%;
    }

    50% {
        top: 0%;
    }
}

.summary-img-load {
    width: 100%;
}

.summary-animation-load {
    width: 15rem;
    height: 15rem;
    animation: breathe 3s linear infinite;
}

@keyframes breathe {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.month-row {
    display: none;
}

.arrow-down {
    height: 1.5rem;
    width: 1.5rem;
    rotate: 0deg;
}

.arrow-up {
    height: 1.5rem;
    width: 1.5rem;
    rotate: 180deg;
}

.custom-hr {
    background-color: var(--secondary);
}

.card-hr {
    width: 80%;
    background-color: var(--primary-grey);
}

.text-thick {
    font-weight: 400;
}

.login-background {
    height: 100vh;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100%;
}

.dividing-line {
    height: 0.063rem;
    background-color: var(--secondary);
}

.pagination {
    margin: 0;
}

.summary-pdf-div {
    width: 150%;
    height: 68.5rem;
}

/* SHOW OFFER */
.show-offer-div {
    width: 100%;
    height: 100vh;
}

.pdf-div {
    width: 90rem;
    max-width: 58vw;
}

@media (min-width: 1500px) {
    .pdf-div {
        max-width: 65vw;
    }
}

@media (min-width: 1800px) {
    .pdf-div {
        max-width: 70vw;
    }
}

.embed-pdf {
    width: 100%;
    height: 100%;
}

.buttons-div {
    position: fixed;
    top: 11rem;
    right: 2rem;
}

.buttons-div a {
    text-decoration: none;
}

.dropdown-button {
    background-color: var(--primary);
    color: var(--secondary);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    height: 3rem;
    gap: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.dropdown-button:hover {
    background-color: var(--primary-hover);
    color: var(--secondary);
}

.dropdown-button img {
    transition: .3s transform ease-in-out;
    transform: rotate(270deg);
}

.dropdown-button.show img {
    transform: rotate(450deg);
}

/* LOGIN */
.login-card {
    max-width: 90vw;
    width: 32rem;
    padding: 2.5rem;
    background: #FFFFFF;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    height: max-content;
}

.login-card a {
    text-decoration: none;
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.015rem;
    line-height: 1.188rem;
}

.login-card a:hover {
    color: var(--primary);
}

.login-title {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.688rem;
    letter-spacing: 0.015rem;
    max-width: 75%;
    color: #06004A;
}

.show-password {
    height: 3rem;
    max-width: 3.5rem;
    position: absolute;
    right: 0;
    top: 0;
    background-color: transparent;
    border: none;
    padding: 0.375rem 1rem;
}

.show-password.active {
    filter: var(--secondary-filter);
}

.reset-pass-img {
    width: 18rem;
    margin-bottom: 1.5rem;
}

.reset-pass-txt {
    display: block;
}

.login-thin-text {
    font-weight: 400;
    font-size: 0.875rem;
}


/* CUSTOM SELECT */
.custom-select {
    position: relative;
}

.select-items, .select2-container--default .select2-dropdown {
    display: flex;
    flex-direction: column;
    position: absolute;
    background: #FFFFFF;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.08);
    border-radius: 0.35rem;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 0.5rem;
    gap: 0.25rem;
    max-height: 20.25rem;
    overflow: auto;
}

.select2-container--default .select2-dropdown {
    border-color: var(--tertiary-hover) !important;
}

.form-field .select2-hidden-accessible {
    height: 4.875rem !important;
    width: inherit !important;
}

.select-hide {
    display: none;
}

.select2-results__options {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.custom-option-select, .select2-results__option {
    background-color: var(--tertiary);
    height: 3rem;
    border-radius: 0.35rem;
    cursor: pointer;
    font-family: OpenSans;
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.375rem;
    color: var(--secondary);
    padding: 0.813rem 0.5rem;
    display: flex;
    align-items: center;
}

.select2-results__option {
    background-color: var(--tertiary) !important;
    color: var(--secondary) !important;
}

.select2-results__options .select2-results__message {
    background-color: white !important;
}

.custom-option-select:hover {
    background-color: var(--tertiary-hover);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--tertiary-hover) !important;
}

.same-as-selected {
    background-color: var(--primary);
}

.same-as-selected:hover {
    background-color: var(--primary);
}

.download-items {
    padding: 0;
    padding-top: 0.5rem;
    border: none;
    min-width: 18.5rem;
    background: #FFFFFF;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.08);
    border-radius: 0.35rem;
    z-index: 99;
}

.edit-items {
    top: 0 !important;
    padding: 0;
    padding-top: 0.5rem;
    border: none;
    min-width: 9.5rem;
    background: #FFFFFF;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.08);
    border-radius: 0.35rem;
    z-index: 99;
}

.custom-option-download:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

.custom-option-edit:hover {
    background-color: var(--secondary);
    color: var(--primary);
}

.custom-option-edit:hover img {
    filter: var(--primary-filter);
}

.custom-option-delete:hover {
    background-color: var(--custom-red);
    color: white;
}

.custom-option-delete:hover img {
    filter: brightness(0) saturate(100%) invert(100%);
}

.card-guest-saving {
    background-color: #FFFFFF;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.12);
    border-radius: 0.5rem;
    width: 30%;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.card-guest-saving p {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
}

.card-guest-saving h2 {
    font-style: normal;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2.063rem;
}

.card-guest-saving-title {
    background-color: var(--secondary);
    border-radius: 0.5rem 0.5rem 0 0;
    color: var(--primary);
    height: 4.563rem;
    left: 0;
    top: 0;
    font-family: OpenSans;
    font-style: normal;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2.063rem;
}


/* COMPANY FORM */
.pre-image-div {
    height: 6rem;
    cursor: pointer;
    position: relative;
    border-radius: 1rem;
}

.edit-icon {
    height: 1.5rem;
    width: 1.5rem;
}

.pre-image-div div {
    opacity: 0.9;
    background-color: var(--tertiary);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 1rem;
}

.pre-image-div:hover div {
    background-color: var(--secondary);
    opacity: 0.9 !important;
}

.pre-image-div:hover .edit-icon {
    filter: var(--primary-filter);
}

.pre-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 0.25rem;
    opacity: 0;
}

#app-pre-img {
    filter: var(--secondary-filter);
}

.custom-collapse-a {
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.custom-collapse-a h3 {
    font-weight: 700;
}

.custom-tab {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.custom-tab div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: fit-content;
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem 0.25rem 0 0;
    background: var(--tertiary);
    cursor: pointer;
}

.custom-tab div:hover {
    background: var(--tertiary-hover);
}

.custom-tab img {
    filter: var(--secondary-filter)
}

.custom-tab .active {
    background: var(--secondary) !important;
    color: var(--primary);
}

.custom-tab .active img {
    filter: var(--primary-filter);
}

.collapse-arrow {
    transition: .3s transform ease-in-out;
}

.collapsed .collapse-arrow {
    transform: rotate(180deg);
}

.transparent-card {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent;
}

.transparent-card-header {
    display: flex;
    padding: 0.5rem 1rem;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.5rem 0.5rem 0 0 !important;
    background: transparent;
    border-bottom: 0.125rem solid var(--secondary);
}

.transparent-card-header a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.collapse-arrow {
    width: 1rem;
    height: 1rem;
    rotate: 180deg;
    cursor: pointer;
}

.big-arrow {
    width: 1.5rem;
    height: 1.5rem;
}

.company-table {
    margin: 0 !important;
}

.company-table thead {
    background-color: var(--tertiary-hover);
}

.company-table tr:nth-child(even) {
    background-color: #F9F9FA;
}

.company-table tr {
    height: 3rem;
    vertical-align: middle;
}

.company-table .menu-column {
    padding: 0 0.5rem;
    width: 1.5rem;
}

/* django-autocomplete-light's select2 */
.select2-container--open {
    z-index: 9999;
}

.select2-selection__rendered {
    width: 100%;
}

.select2-selection__arrow {
    display: none !important;
}

.select2-selection.select2-selection--single.form-select {
    display: flex;
    align-items: center;
}

.select2-container--open .form-select {
    background-image: url("../images/select-up.svg");
}


/* ERA SCHOOL */
.icons-div {
    position: absolute;
    width: 20%;
    top: -11%;
    left: -6%;
    z-index: 1;
}

.icons-div img {
    width: 100%;
}

.school-menu-div {
    margin-right: 5rem;
    max-width: 17.5rem;
}

.school-menu {
    display: flex;
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    border-radius: 1rem;
    background: var(--tertiary);
    box-shadow: 0 0.25rem 0.25rem 0 rgba(0, 0, 0, 0.08);
}

.school-menu-title {
    display: flex;
    padding: 0.5rem;
    justify-content: center;
    align-items: flex-start;
}

.school-menu-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: normal;
}

.school-menu-items-parent {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: auto;
}

.school-menu-items-parent::-webkit-scrollbar {
    width: 0.25rem;
}

.school-menu-items-parent::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 2rem;
}

.school-menu-items-parent::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border-radius: 2rem;
}

.school-menu-items-parent::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-hover);
    border-radius: 2rem;
}

.school-menu-item {
    display: flex;
    padding: 0.5rem;
    align-items: flex-start;
    border-radius: 0.25rem;
    background: #FFFFFF;
    cursor: pointer;
}

.school-menu-item:hover {
    background-color: var(--tertiary-hover);
}

.school-menu-item.selected {
    background: var(--secondary);
}

.school-menu-item.selected:hover {
    background: var(--secondary-hover);
}

.school-menu-item.selected p {
    color: var(--primary);
}

#video-div {
    border: 0.125rem solid var(--secondary);
    border-radius: 1rem;
    overflow: hidden;
}

.no-decoration {
    text-decoration: none;
}


@media only screen and (min-width: 960px) {
    .mobile-show {
        display: none !important;
    }
}


@media only screen and (max-width: 959px) {
    .section-1, .section-2, .section-3 {
        padding: 1.5rem;
    }

    .hide-scrollbar::-webkit-scrollbar {
        display: none; /* for Chrome, Safari and Opera */
    }

    .hide-scrollbar {
      -ms-overflow-style: none;  /* IE and Edge */
      scrollbar-width: 0;  /* Firefox */
    }

    .top-navbar {
        position: relative;
        z-index: 1060;
    }

    .offcanvas {
        top: 5rem !important;
        background-color: var(--secondary);
        padding: 1rem;
        border-radius: 0 0 0.5rem 0.5rem;
        z-index: 1055;
        height: fit-content !important;
    }

    .offcanvas-body a {
        text-decoration: none;
    }

    .offcanvas-body > * {
        margin-top: 0.5rem;
    }

    .offcanvas-body > *:first-child {
        margin-top: 0;
    }

    .offcanvas-button {
        background-image: url("../images/mobile-menu.svg");
        background-color: transparent;
        background-repeat: no-repeat;
        background-position: center;
        padding: 0;
        border: none;
        width: 2rem;
        height: 2rem;
        cursor: pointer;
        transition: transform 0.3s ease, background-image 0.3s ease;
    }

    .offcanvas-button.open {
        background-image: url("../images/icon-cancel.svg");
        transform: rotate(90deg);
    }

    .offer-navbar {
        padding: 1rem 1.5rem;
    }

    .limited-offers-div {
        justify-content: flex-start !important;
    }

    .toast-top-right {
        top: 1rem !important;
    }

    .mobile-row-reverse {
        flex-direction: row-reverse !important;
    }

    .mobile-column-reverse {
        flex-direction: column-reverse !important;
    }

    .mobile-hide {
        display: none !important;
    }

    .mobile-show {
        display: inherit !important;
    }

    .mobile-flex-column {
        flex-direction: column !important;
    }

    .top-navbar {
        padding: 1.125rem 1.5rem;
    }

    .file-div {
        height: 5rem;
    }

    .custom-button {
        padding: 0.5rem 1rem !important;
    }

    .era-terms {
        padding: 1.125rem 1.5rem;
    }

    .payment-div .row {
        padding: 1rem;
    }

    .payment-div h1 {
        align-items: flex-start;
    }

    .div-final-price {
        width: 100%;
    }

    .login-card {
        margin-bottom: 9rem;
    }

    .summary-animation-load {
        width: 12rem;
        height: 12rem;
    }

    .summary-pdf-div {
        width: 100%;
        height: 100vh;
    }
}
