/* @font-face {
    font-family: 'title';
    src: url('../fonts/title-bold.woff') format('woff');
    font-weight: bold;
}

@font-face {
    font-family: 'text';
    src: url('../fonts/text-bold.woff') format('woff');
    font-weight: 700;
}

@font-face {
    font-family: 'text';
    src: url('../fonts/text-regular.woff') format('woff');
    font-weight: 400;
} */

:root {
    --gray: #d8e0e5;
    --gray-second: #5e6777;    
    --bs-primary: #5e6777;
}

body, html {
    font-size: 18px;
}

body {
    color: black;
    font-family: "Roboto", serif;
}

a {
    text-decoration: none;
    color: var(--gray-second);
}

img {
    max-width: 100%;
}

p {
    line-height: 1.7;
}

.bg-gray {
    background-color: var(--gray);
}

.bg-gray-second {
    background-color: #f1f1f1;
}

.text-gray {
    color: var(--gray-second);
}

.button {
    padding: 15px 40px 15px 40px;   
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all .3s ease;
}

.button-light {
    border: 2px solid white;
    background-color: transparent;
    color: white;
}

.button-black {
    background-color: black;
    border: 2px solid black;
    color: white;
}

.button-border-black {
    border: 2px solid;
    color: black;
    background-color: white;
}

.section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

header {
    box-shadow: -2px 2px 5px 0 rgba(0,0,0,0.16), -1px 10px 10px 0 rgba(0,0,0,0.12);
}

.navbar-brand {
    max-width: 110px;
}

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

.navbar-toggler .navbar-toggler-icon {
    background-image: url(../../images/svg/close.svg);
}

.navbar-toggler.collapsed .navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg);
}

.nav-link {
    color: black;
    text-transform: uppercase;
}

.nav-link.active {
    color: var(--gray-second) !important;
    position: relative;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--gray-second);
}

.btn-header {
    color: white;
    font-size: 0.9rem;
    border-radius: 50px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-color: black;    
}


.btn-header-2 {
    background-color: var(--gray-second);
}

.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    background-image: url(../../images/hero.jpg);
    background-size: cover;
    background-position: center;
}

.logo-hero {
    width: 100%;
    max-width: 350px;
}


.loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255,255,255,0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader svg {
    width: 50px;
    height: 50px;
}

.subtitle {
    font-size: 1rem;
    font-weight: 700;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: "Roboto Condensed", serif;
    text-transform: uppercase;
    font-style: italic;
}

.title-profile {
    font-size: 2rem;
}

.plan {
    background-color: black;
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    transition: all .3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-clases {
    margin-top: -1rem;
}

.plan-number {
    font-size: 70px;
    font-family: "Roboto Condensed", serif;
    font-weight: 700;
    line-height: 1;
}

.plan-title {
    font-size: 40px;
}

.plan-price {
    font-size: 1.3rem;
}

.plan-vigency {
    font-size: 14px;
}

.plan .button {
    font-size: 16px;
    padding: 15px 25px;
}

.banner-home {
    background-image: url(../../images/banner-3.jpg);
    height: 250px;
    background-position: center;
    background-size: cover;
}

.calendar-title {
    font-size: 1.3rem;
}

.week, .calendar {
    display: flex;
    justify-content: space-between;
}

.day {
    width: 15%;
}

.day-number {
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 .1rem 1rem .25rem rgba(0, 0, 0, .05) !important;
    background-color: white;
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.day-letter {
    font-size: 3vw;
    text-align: center;
}

.calendar-class {
    background-color: black;
    color: white;
    width: 100%;
    padding: 2vw 0;
    font-size: 2.4vw;
    display: block;
    text-align: center;
    border-radius: 5px;
    transition: all .5s ease;
}

.calendar-class-hour {
    font-size: 3vw;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;

}

.calendar-class-disabled {
    background-color: #c4c7cc;    
    position: relative;
    pointer-events: none;
}

.calendar-class-disabled::before {
    content: 'AGOTADO';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--gray-second);
    padding: 0.5vw 2vw;
    display: inline-block;
    color: white;
    border-radius: 5px;
    font-size: 1.7vw;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.coach-picture {
    margin: 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.coach-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.study {
    display: flex;
    justify-content: center;
}

.place {
    min-width: 50px;
    height: 50px;
    margin: 0 0.3rem 1rem;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circles-info {
    font-size: 16px;
}

.circle {
    width: 16px;
    height: 16px;
    display: inline-block;    
    border-radius: 50%;
    margin-right: 5px;
}

.available {
    border: 1px solid;
}

.disabled {
    background-color: black;
    color: white;
}

.selected {
    background-color: var(--gray);
}

footer {
    background-color: black;
    padding: 2rem;
    color: white;
}

.logo-footer {
    max-width: 150px;
}

footer a {
    color: var(--gray);
    text-decoration: underline;
}

.copy {
    background-color: black;
}

.logo-icono {
    max-width: 100px;
}

.form-control {
    color: black;    
}

.form-control:focus {
    border-color: black;
    box-shadow: none;
}

.profile-icon {
    width: 100px;
    height: 100px;
    padding: 1rem;
    background: white;
    border-radius: 50%;
    margin: 0 auto;
    border: 3px solid;
}

.profile-name {
    font-size: 1.4rem;
}

.number-class {
    font-size: 2rem;
}

.btn-cancel {
    background: var(--bs-red);
    color: white;
    margin-left: 1rem;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
    background-color: var(--gray-second) !important;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control, table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control {
    padding-left: 50px !important;
}

table.dataTable tr.odd {
    background-color: var(--bs-table-striped-bg) !important;
}

table.dataTable tr.odd + .child {
    background-color: var(--bs-table-striped-bg) !important;
}

table.dataTable tr.odd td, table.dataTable tr.even td{
    background-color: transparent;
    --bs-table-accent-bg : transparent;
}

table.dataTable tr.even {
    background-color: white !important;
}

table.dataTable tr.even + .child td {
    background-color: transparent !important;
    --bs-table-accent-bg : transparent !important;
}

.paginate_button.disabled {
    background-color: transparent;
}

.active>.page-link, .page-link.active{
    background-color: var(--gray-second) !important;
    border-color: var(--gray-second) !important;
}

.back {
    width: 10vw;
    position: absolute;
    top: -40px;
    position: absolute;
    display: inline-flex
    ;font-weight: 700;
    align-items: center;
}

.back img {
    width: 100%;
    display: block;
    margin-right: 0.5rem;
}

/* .message {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #181818a6;
    left: 0;
    top: 0;
    z-index: 9999;
}

.message-error {
    background-color: #2c0b0e;
    color: #ea868f;
    border-color: #842029;
}

.message-wrapper {
    display: flex;
    font-weight: 700;
    position: fixed;
    z-index: 1000;
    top: 50vh;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    padding: 1rem;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.message-wrapper img {
    max-width: 30px;
    display: inline-block;
    margin-right: 1rem;
}

.message-success {
    background-color: var(--gray);
    color: var(--gray-second);
    border-radius: 20px;
    font-weight: 600;
} */

.message {    
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    width: 100%;
}

.message-wrapper {
    min-width: 200px;
    margin-bottom: 15px;
    width: fit-content;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 4px;
    box-shadow: 0 10px 15px rgba(var(--light-gray-rgba), 0.2);
    color: white;
    font-weight: 600;
    justify-content: center;
}

.message-wrapper svg {
    display: inline-block;
    margin-right: 1rem;
    max-width: 30px;
}

.message-success {
    background-color: #01b81a;
}

.message-error {
    background-color: #ff0f0f;
}

.coach-profile {
    background: white;
    padding: 0.5rem;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border: 1px solid var(--gray);
}

.coach-profile-photo {
    position: relative;
    height: 350px;
}

.coach-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.coah-profile-description {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000a8;
    color: white;
    padding: 2rem;
    font-size: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
    cursor: default;
}

.coach-profile-photo:hover .coah-profile-description {
    opacity: 1;
}

.coach-profile-name {
    text-transform: uppercase;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: "Roboto Condensed", serif;
    padding-bottom: 0;
}

.offcanvas {
    width: 85%;
    max-width: 300px;
}

.offcanvas-item {
    display: block;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: black;
}

.user-icon svg {
    max-width: 35px;
    height: auto;
}

@media (min-width: 768px) {
        
    .hero-section {
        height: 230px;
    }

    .section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .title {
        font-size: 3rem;
    }

    .title-profile {
        font-size: 2.5rem;
    }

    .plan {
        padding: 2rem;
    }

    .plan-price {
        font-size: 1.8rem;
    }

    .banner-home {
        height: 400px;
    }

    .day-number {
        width: 50px;
        height: 50px
    }

    .day-letter {
        font-size: 1rem;
    }

    .calendar-class-hour {
        max-width: 70%;
        margin: 0 auto;      
        font-size: 1rem;
    }

    .calendar-class {
        font-size: 15px;
        border-radius: 10px;
        padding: 1rem;
    }

    .coach-picture {
        height: 150px;
        width: 150px;
    }

    .place {
        height: 80px;
        width: 80px;
    }

    .circles-info {
        font-size: 1rem;
    }

    .calendar-class-disabled::before {
        font-size: 15px;
        padding: 0.2rem 1rem;
    }

    .back {
        width: 30px;
    }
    
}

@media (min-width: 998px) {
    .navbar {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .navbar-brand {
        padding-top: 0;
    }

    .nav-link {
        position: relative;
    }
    

    /* .nav-link.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 160%;
        z-index: -1;
        background-color: #c69995;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    } */

    .nav-item {
        margin: 0 .8rem;
    }    
    
}

@media (min-width: 1200px) {
    .title {
        font-size: 75px;
    }
    
    .plan-title {
        font-size: 50px;
    }

    .title-profile {
        font-size: 3rem;
    }
}

@media (min-width: 1400px) {
    .hero-section {
        height: 300px;
    }

    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1200px;
    }
}

@media (hover: hover) {
    .nav-link:hover {
        color: var(--gray-second);
    }   

    .btn-header:hover {
        background-color: var(--gray-second);
        color: white;
    }           

    .button-light:hover {
        background-color: white;
        color: black;
    }

    .button-black:hover {
        background-color: transparent;
        color: black;
    }

    .button-border-black:hover {
        background-color: black;
        color: white;
    }

    .hero, .banner-home {
        background-attachment: fixed;
    }

    .available:hover {
        background-color: var(--gray);
    }

    .calendar-class:hover {
        background-color: var(--gray-second);
    }

    .btn-cancel:hover {
        background: var(--bs-red);
        color: white;        
    }

    .place-avalaible:hover {
        background-color: var(--gray);
    }
    
    
}