@font-face {
    font-family: 'Poppins';
    src: url('../../fonts/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../../fonts/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

:root {
    --white: #fff;
    --light-gray: #c7c7c7;
    --light-gray-2: #a5a5a5;
    --gray: #7d7d7d;
    --dark-gray: #373C3C;
    --red: #b93a3a;
    --dark-red: #780500;
    --bg: #f8f8f8;
}


html {
    font-size: .625rem;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    padding: 0;
    margin: 0;
    color: var(--dark-gray);
}

*,
*::after,
*::before {
    outline: none;
    box-sizing: border-box;
}

a,
button,
label {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -moz-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
}

a {
    text-decoration: none;
}

.b {
    border: 1px solid red !important;
}

.hidden {
    display: none !important;
}

.w-100 {
    width: 100%;
}

.text-center {
    text-align: center;
}

.logo {
    width: 21rem;
    height: 5.5rem;
    background: url(../../images/logo.svg) no-repeat center;
    display: block;
}

.header {
    height: 8rem;
    padding: 15px 30px;
    background: var(--white);
}

.container {
    width: 85%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 3rem;
}

.fs-5 {
    font-size: 1.2rem;
}

/* Progress bar */

.progressbar-wrapper {
    width: 80%;
}

.progressbar {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.progressbar li {
    width: 20%;
    font-size: 1.2rem;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    color: var(--dark-gray);
}

.progressbar li:before {
    width: 4rem;
    height: 4rem;
    content: "";
    line-height: 4rem;
    border: 1px solid var(--light-gray);
    display: block;
    text-align: center;
    margin: 0 auto 3px auto;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    background: var(--white);
}

.progressbar li:after {
    width: 100%;
    height: 1px;
    content: '';
    position: absolute;
    background: var(--light-gray);
    top: 2rem;
    left: -50%;
    z-index: 0;
}

.progressbar li:first-child:after {
    content: none;
}

.progressbar li.active {
    color: var(--dark-red);
}

.progressbar li.active:before {
    border-color: var(--dark-red);
    background: var(--dark-red);
    color: var(--white);
}

.progressbar li.active+li:after {
    background: var(--dark-red);
}

.progressbar li.active:before {
    background: var(--dark-red);
}

.progressbar li::before {
    background: var(--white);
}

.progressbar {
    counter-reset: step;
}

.progressbar li:before {
    content: counter(step);
    counter-increment: step;
}

/* btn */

.btn-nav-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.btn,
.btn-fill {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    padding: .6rem 2.5rem;
    display: block;
    letter-spacing: 1px;
    word-spacing: 1px;
    transition: 0.3s;
    margin: .5rem;
    cursor: pointer;
}

.btn {
    color: var(--dark-red);
    border: 1px solid var(--dark-red);
}

.btn:hover {
    background: var(--dark-red);
    color: var(--white);
}

.btn-fill {
    background: var(--dark-red);
    color: var(--white);
    border: 1px solid var(--dark-red);
}

.btn-fill:hover {
    background: none;
    color: var(--dark-red);
    border: 1px solid var(--dark-red);
}

.btn-nav {
    border-radius: 2.2rem;
    padding: 1rem 2rem;
}

.btn-round {
    height: 4.4rem;
    width: 4.4rem;
    padding: 0;
    border-radius: 50%;
}

.btn-gray {
    background-color: var(--light-gray);
    border-color: var(--light-gray);
    color: var(--white);
}

.badge-info {
    position: absolute;
    top: -0.4rem;
    right: -0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    /* font-family: serif; */
    /* font-style: italic; */
    width: 2.4rem;
    height: 2.4rem;
    background: var(--dark-gray);
    border-radius: 50%;
    color: var(--white);
}

.tooltip {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30rem;
    background-color: var(--white);
    color: var(--dark-gray);
    padding: 2rem;
    border-radius: 5px;
    opacity: 0;
    font-size: 1.4rem;
    border: 1px solid var(--light-gray);
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    box-shadow: 5px 5px 25px rgba(0, 0, 0, .05);
}

.tooltip>div {
    text-align: right;
    color: #7b3713;
}

.badge-info:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.position-relative {
    position: relative;
}

/* padding, margin */

.pt-1 {
    padding-top: 1rem;
}

.pt-2 {
    padding-top: 2rem;
}

.pt-4 {
    padding-top: 4rem;
}

.pb-2 {
    padding-bottom: 2rem;
}

.py-nav {
    padding: 2rem 0;
}

.m-0 {
    margin: 0 !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

.mt-2 {
    margin-top: 2rem !important;
}

/* colors */

.text-dark-red {
    color: var(--dark-red) !important;
}

.text-success {
    color: #00a123;
}

.text-danger {
    color: #e60b00;
}

.cell-red {
    background: var(--red);
    color: var(--white);
    border: none !important;
}

/* font weight */

.fw-normal {
    font-weight: normal;
}

.fw-bold {
    font-weight: bold;
}

/* fonst size */


.fs-1 {
    font-size: calc(1.375rem + 1.5vw) !important;
}

.fs-2 {
    font-size: calc(1.325rem + 0.9vw) !important;
}

.fs-3 {
    font-size: calc(1.3rem + 0.6vw) !important;
}

.fs-4 {
    font-size: calc(1.275rem + 0.3vw) !important;
}

.fs-5 {
    font-size: 1.25rem !important;
}

.fs-6 {
    font-size: 1rem !important;
}

/* calendar */

.calendar-container {
    display: flex;
}

.calendar {
    font-size: 1.5rem;
    border-spacing: .5rem;
    margin: 0 auto;
}

.calendar td,
.calendar th {
    border: 1px solid var(--light-gray);
    padding: .4rem;
    width: 8rem;
}

.calendar th>div:last-child {
    font-size: 1.2rem;
}

.calendar td {
    cursor: pointer;
    /* transition: background 0.3s; */
    text-align: center;
}

.calendar td:hover:not(.blocked):not(.reserved):not(.selected):not(.holiday) {
    background: var(--dark-gray);
    border: none;
    color: var(--white);
}

.calendar .blocked {
    background: var(--light-gray-2);
    color: var(--light-gray-2);
    border: none;
    cursor: not-allowed;
    user-select: none;
}

.calendar .holiday {
    background: var(--light-gray);
    color: var(--light-gray);
    border: none;
    cursor: not-allowed;
    user-select: none;
}

.calendar .reserved {
    background: var(--dark-red);
    color: var(--dark-red);
    border: none;
    cursor: not-allowed;
    user-select: none;
}

.calendar .selected {
    background: orange;
    border: none;
    cursor: not-allowed;
}

/* radio */

.radio-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-radio input[type="radio"] {
    display: none;
}

.custom-radio label {
    display: block;
    padding: 0.5rem 2rem;
    font-size: 1.4rem;
    text-align: center;
    cursor: pointer;
    margin: .8rem;
    letter-spacing: 1px;
    word-spacing: 1px;
    color: var(--dark-red);
    border: 1px solid var(--dark-red);
    transition: background-color 0.5s ease, color 0.5s ease;
}

.custom-radio label:hover {
    background-color: #610500;
    color: var(--white);
}

.custom-radio input[type="radio"]:checked+label {
    background-color: var(--dark-red);
    color: var(--white);
}

/* form contact */

.form-wrapper {
    width: 40%;
}

.form-wrapper label {
    font-size: 1.4rem;
}

.form-control {
    width: 100%;
    height: 4rem;
    border: 1px solid var(--light-gray);
    padding: 0 10px;
    background-color: transparent;
    box-sizing: border-box;
    font-size: 1.6rem;
    color: var(--dark-gray);
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    border: 1px solid var(--dark-red);
    border-radius: 0;
    outline: none;
}

.form-check-input {
    width: 1.6rem;
    height: 1.6rem;
    border: 1px solid var(--light-gray);
    border-radius: 0;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.form-check-input input {
    display: none;
}

.form-check-input input:checked+.form-check-label::before {
    content: "✔";
    font-size: 1.4rem;
    position: absolute;
    top: -0.3rem;
    left: 0.2rem;
}

.wrapper-send {
    display: flex;
    justify-content: flex-end;
}

/* form login */

.form-wrapper-login {
    width: 40rem;
    font-size: 1.3rem;
}

.form-wrapper-login h1,
.form-wrapper-login h2 {
    text-align: center;
}

/* alert */

.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    font-size: 1.4rem;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #a3cfbb;
}

/* summary */

.summary-wrapper {
    font-size: 1.6rem;
}

.summary-table {
    border-collapse: collapse;
}

.summary-table td {
    border-bottom: 1px solid var(--light-gray);
    padding: 2rem;
}

.summary-table tr:last-child td {
    border-bottom: none;
}

.summary-table td:last-child {
    font-weight: bold;
}

/* @media */

@media (max-width: 575.98px) {
    body {
        /* background: #fffed5; */
        padding-bottom: 10rem;
    }

    .container>h1 {
        padding-top: 0;
        font-size: 6vw;
    }

    .container>h2 {
        padding-top: 0;
    }

    .progressbar-wrapper {
        padding-top: 0;
    }

    .container {
        width: 95%;
    }

    .progressbar-wrapper {
        width: 100%;
    }

    .radio-wrapper {
        width: 100%;
        flex-direction: column;
    }

    .calendar {
        font-size: 1.3rem;
    }

    .calendar th,
    .calendar td {
        max-width: 12vw;
    }

    .calendar th>div:last-child {
        font-size: 1.7vw;
    }

    .form-wrapper {
        width: 95%;
    }

    .calendar-container {
        display: flex;
        flex-wrap: wrap;
    }

    .calendar-container div:first-child {
        order: 1;
    }

    .calendar-container div:last-child {
        order: 2;
        margin-left: auto;
    }

    .calendar-container div:nth-child(2) {
        order: 3;
        width: 100%;
    }

    .custom-radio label {
        padding: 1.5rem 2rem;
    }

    .btn-nav-wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 3rem 0 2rem 0;
        background-color: var(--bg);
        background: linear-gradient(0deg, rgba(248, 248, 248, 1) 80%, rgba(248, 248, 248, 0) 100%);
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    /* body {
        background-color: #acd1dd;
    } */

    .container {
        width: 95%;
    }

    .progressbar-wrapper {
        width: 100%;
    }

    .calendar th,
    .calendar td {
        max-width: 11vw;
    }

    .calendar th>div:last-child {
        font-size: 1.5vw;
    }

    .form-wrapper {
        width: 95%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* body {
        background-color: #ddacd7;
    } */

    .container {
        width: 95%;
    }

    .calendar th>div:last-child {
        font-size: 0.9rem;
    }

    .progressbar-wrapper {
        width: 100%;
    }

    .form-wrapper {
        width: 95%;
    }
}