﻿
.ContCalendar {
    z-index: 1;
    background: #55555569;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.conteinerCalendar {
    width: 90%;
    max-width: 950px;
    background-color: var(--disable-day);
    display: flex;
    flex-direction: column;
    position: absolute;
    border: 1px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.25);
}


.closecalendar {
    background-color: var(--Primary-color-background);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close {
    display: flex;
    gap: 12px;
    align-items: center;
    color: gray;
    cursor: pointer;
    border: gray 1px solid;
    border-radius: 40px;
    text-decoration: none;
    padding: 6px 12px;
}

    .close:hover {
        color: black;
        background-color: #f4f4f4;
    }

    .close h4 {
        font-family: sans-serif;
    }

.semaforo {
    background-color: white;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

    .semaforo p {
        margin: 0;
        font-family: sans-serif;
        font-weight: bolder;
    }

    .semaforo .verde, .semaforo .amarillo, .semaforo .rojo {
        display: flex;
        gap: 12px;
        align-items: center;
    }

        .semaforo .verde div, .semaforo .amarillo div, .semaforo .rojo div {
            width: 20px;
            height: 20px;
            background-color: black;
            border-radius: 20px;
        }

        .semaforo .verde div {
            background-color: #0bb09d;
        }

        .semaforo .verde p {
            color: #0bb09d;
        }

        .semaforo .rojo div {
            background-color: #dc3545;
        }

        .semaforo .rojo p {
            color: #dc3545;
        }

        .semaforo .amarillo div {
            background-color: #f2c200;
        }

        .semaforo .amarillo p {
            color: #f2c200;
        }

.tablaOficinas tbody tr:nth-of-type(odd) {
    background-color: #EEEEEE
}

.titlecalendar {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: stretch;
    background-color: #f3f3f3;
    border: solid 1px #e3e3e3;
    border-left: 0px;
    border-right: 0px;
}

.back {
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 1;
    height: 100%;
}

    .back:hover {
        background-color: var(--background-color-hover-primary);
    }

    .back:active {
        background-color: var(--Primary-color-background);
    }

.month {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    font-weight: bolder;
}

    .month:hover {
        background-color: var(--background-color-hover-primary);
    }

    .month:active {
        background-color: var(--Primary-color-background);
    }

.year {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    font-weight: bolder;
}

    .year:hover {
        background-color: var(--background-color-hover-primary);
    }

    .year:active {
        background-color: var(--Primary-color-background);
    }

.next {
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: normal;
    height: 100%;
}

    .next:hover {
        background-color: var(--background-color-hover-primary);
    }

    .next:active {
        background-color: var(--Primary-color-background);
    }

.contentDays {
    display: flex;
    flex-direction: column;
    background-color: var(--disable-day);
    gap: 10px;
    margin: 10px 0;
}

.daysTitle {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}


.daysrow {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.day {
    width: 45px;
    font-weight: bold;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

    .day:hover {
        background-color: var(--background-color-hover-primary);
        border: 1px solid transparent;
        border-radius: 40px;
    }

    .day.block {
        background-color: var(--disable-day);
        cursor: unset;
    }

        .day.block:hover {
            border-radius: 0px;
        }


        .day.block.today {
            background-color: var(--selected-item) !important;
            border: 1px solid transparent;
            border-radius: 40px;
        }

        .day.block.start {
            background-color: rgb(163, 42, 184);
            border: 1px solid transparent;
            border-top-left-radius: 40px;
            border-bottom-left-radius: 40px;
        }

            .day.block.start:hover {
                background-color: var(--background-color-hover-primary);
                border-radius: unset;
                border-top-left-radius: 40px;
                border-bottom-left-radius: 40px;
            }


day.block.start.between {
    background-color: rgb(163, 42, 184);
    border: 1px solid transparent;
}

.day .block.start.between:hover {
    background-color: var(--background-color-hover-primary);
    border: unset;
    border-radius: unset;
}


.between.end {
    background-color: rgb(163, 42, 184);
    border: 1px solid transparent;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}

    .between.end:hover {
        background-color: var(--background-color-hover-primary);
        border: 1px solid transparent;
        border-radius: unset;
        border-top-right-radius: 40px;
        border-bottom-right-radius: 40px;
    }

.yearrow {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 45px;
}

.years {
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

    .years:hover {
        background-color: var(--background-color-hover-primary);
        border: 1px solid transparent;
        border-radius: 10px;
    }


    .years.today {
        background-color: var(--selected-item);
        border: 1px solid transparent;
        border-radius: 40px;
    }



.Montrow {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 40px;
}

.months {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 5px;
    padding-right: 5px;
    height: 100%;
}

    .months:hover {
        background-color: var(--background-color-hover-primary);
        border: 1px solid transparent;
        border-radius: 10px;
    }


    .months.today {
        background-color: var(--selected-item);
        border: 1px solid transparent;
        border-radius: 10px;
    }
