/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
} */
.calendar-container {
    max-width: 930px;
    margin: auto;
    background: #fff;
    border-radius: 15px;
}
.c-container {
    width: 100%;
}

.container {
    width: 100%;
    min-height: 100vh;
    background: #fff;
    color: #000;
    padding: 0 3rem;
}
.calendar {
    width: 100%;
    min-height: 100vh;
    /* box-shadow: 0 .5rem 3rem rgba(0, 0, 0, 0.4); */
}
.calendar-top {
    display: flex;
    justify-content: center;
    align-items: center;
/*     background: rgb(40,39,39);
    background: linear-gradient(90deg, rgba(40,39,39,1) 0%, rgba(225,10,10,1) 78%, rgba(255,196,0,1) 100%); */
    /* background: rgb(223,13,13);
    background: radial-gradient(circle, rgba(223,13,13,1) 79%, rgba(252,176,70,1) 100%); */
   /*  background: rgb(223,13,13);
    background: radial-gradient(circle, rgba(223,13,13,1) 72%, rgba(52,3,3,1) 100%); */
}
.calendar-top-mid {
    width: 100%;
}
.calendar-top-left,
.calendar-top-mid,
.calendar-top-right {
    /* width: calc(100% / 3); */
}
.calendar-top-right {
    display: flex;
    flex-direction: row-reverse;
}
.calendar-top-right form {
    margin: 0!important;
}
.calendar-top-right select {
    font-size: 1.25rem;
    outline: none;
    padding: .5rem 1.5rem;
    border: none;
/*     border: 1px solid #011694; */
    color:#340303;
    font-weight: 600;
}
.calendar-top-left img{
    width: 100%;
    max-width: 15rem;
}
.month {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    text-align: center;
}
.date {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.month i {
    font-size: 2.5rem;
    cursor: pointer;
    color:rgba(16, 106, 55, 1);
}
.current-month-txt {
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff;
}
.current-month {
    font-size: 40px;
    color: rgba(16, 106, 55, 1);
}
.calendar-body {
    width: 100%;
    overflow-y: auto;
}
.calendar-scroll {
    min-width: 57.5rem;
}
.weekdays {
    width: 100%;
    height: 2rem;
    padding: 0 .2rem;
    display: flex;
    align-items: center;
}
.weekdays div {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.1rem;
    margin: 0.3rem;
    width: calc( (100% - 0.4rem - 4.2rem) / 7 );
    display: flex;
    justify-content: center;
    align-items: center;
    color: #232323;
    /* text-shadow: .3rem .5rem rgba(0, 0, 00, .5); */
}
.weekdays div {
    border-bottom: 3px solid rgba(16, 106, 55, 1);
}

.days {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: .2rem;
}
.days .day {
    /* font-size: 1.4rem; */
    margin: 0.3rem;
    width: calc( (100% - 0.4rem - 4.2rem) / 7 );
    height: 12rem;
    display: flex;
    flex-direction: column;
    border: .2rem solid transparent;
}
.day:nth-child(1) .day-head,
.day:nth-child(8) .day-head,
.day:nth-child(15) .day-head,
.day:nth-child(22) .day-head,
.day:nth-child(29) .day-head,
.day:nth-child(36) .day-head{
    border-bottom: 1px solid #bebebe;
}
.day:nth-child(2) .day-head,
.day:nth-child(9) .day-head,
.day:nth-child(16) .day-head,
.day:nth-child(23) .day-head,
.day:nth-child(30) .day-head,
.day:nth-child(37) .day-head{
    border-bottom: 1px solidrgba(16, 106, 55, 1);
}
.day:nth-child(3) .day-head,
.day:nth-child(10) .day-head,
.day:nth-child(17) .day-head,
.day:nth-child(24) .day-head,
.day:nth-child(31) .day-head,
.day:nth-child(38) .day-head{
    border-bottom: 1px solid rgba(16, 106, 55, 1);
}
.day:nth-child(4) .day-head,
.day:nth-child(11) .day-head,
.day:nth-child(18) .day-head,
.day:nth-child(25) .day-head,
.day:nth-child(32) .day-head,
.day:nth-child(39) .day-head{
    border-bottom: 1px solid rgba(16, 106, 55, 1);
}
.day:nth-child(5) .day-head,
.day:nth-child(12) .day-head,
.day:nth-child(19) .day-head,
.day:nth-child(26) .day-head,
.day:nth-child(33) .day-head,
.day:nth-child(40) .day-head{
    border-bottom: 1px solid rgba(16, 106, 55, 1);
}
.day:nth-child(6) .day-head,
.day:nth-child(13) .day-head,
.day:nth-child(20) .day-head,
.day:nth-child(27) .day-head,
.day:nth-child(34) .day-head,
.day:nth-child(41) .day-head{
    border-bottom: 1px solid rgba(16, 106, 55, 1);
}
.days .day:hover:not(.today) {
    border: .2rem solid #ededed;
    box-shadow: 0 .5rem .725rem rgba(0, 0, 0, 0.3);
}

.prev-date, .next-date {
    opacity: .5;

}
.prev-date .day-head,
.next-date .day-head {
    border-bottom: 1px solid transparent!important;
}
.today {
    border: 2px solid rgba(16, 106, 55, 1)!important;
    /* box-shadow:
    0px 0px 10px #bdba0085,
    0px 0px 20px #bdba0085,
    0px 0px 30px #bdba0085!important; */
}
.day-head {
    font-size: .75rem;
    display: flex;
    justify-content: center;
    font-weight: 600;
    padding: .4rem 0;
    text-shadow: 0 .3rem .5rem rgba(0, 0, 0, 0.5);
    background: #ededed;
}
.head-color{
    background: rgba(16, 106, 55, 1)!important;
    color: white!important;
}
.day-body {
    flex-grow: 1;
    overflow-y: auto;
}

.course-item {
    background: #c7c7c7;
    margin: 0.3rem 0.15rem;
    text-align: center;
    cursor: pointer;
    padding: 0.25rem 0;
    font-size: .75rem;
    color: #000;
    cursor: no-drop;
    border: 2px solid transparent;
    cursor: pointer;
}
.out-time-course {
    opacity: .5;
    cursor: not-allowed!important;
}
.enrolled-course {
    background: #83e09f!important;
    border: 2px solid #21d356!important;
    cursor: pointer!important;
}
.not-enrolled-course {
    background: #b0d4df!important;
    border: 2px solid #66bcd6!important;
    cursor: pointer!important;
}
.full-course {
    background: #e49494!important;
    border: 2px solid #d62a2a!important;
    cursor: pointer!important;
}


/* .day:nth-child(1) .course-item,
.day:nth-child(8) .course-item,
.day:nth-child(15) .course-item,
.day:nth-child(22) .course-item,
.day:nth-child(29) .course-item,
.day:nth-child(36) .course-item{
    background: #bebebe3f;
    transition: all .3s ease;
}
.day:nth-child(1) .course-item:hover,
.day:nth-child(8) .course-item:hover,
.day:nth-child(15) .course-item:hover,
.day:nth-child(22) .course-item:hover,
.day:nth-child(29) .course-item:hover,
.day:nth-child(36) .course-item:hover{
    background: #bebebe;
    color: #fff;
}

.day:nth-child(2) .course-item,
.day:nth-child(9) .course-item,
.day:nth-child(16) .course-item,
.day:nth-child(23) .course-item,
.day:nth-child(30) .course-item,
.day:nth-child(37) .course-item{
    background: #0116943f;
    transition: all .3s ease;
}
.day:nth-child(2) .course-item:hover,
.day:nth-child(9) .course-item:hover,
.day:nth-child(16) .course-item:hover,
.day:nth-child(23) .course-item:hover,
.day:nth-child(30) .course-item:hover,
.day:nth-child(37) .course-item:hover{
    background: #011694;
    color: #fff;
}


.day:nth-child(3) .course-item,
.day:nth-child(10) .course-item,
.day:nth-child(17) .course-item,
.day:nth-child(24) .course-item,
.day:nth-child(31) .course-item,
.day:nth-child(38) .course-item{
    background: #347EF73f;
    transition: all .3s ease;
}
.day:nth-child(3) .course-item:hover,
.day:nth-child(10) .course-item:hover,
.day:nth-child(17) .course-item:hover,
.day:nth-child(24) .course-item:hover,
.day:nth-child(31) .course-item:hover,
.day:nth-child(38) .course-item:hover{
    background: #347EF7;
    color: #fff;
}

.day:nth-child(4) .course-item,
.day:nth-child(11) .course-item,
.day:nth-child(18) .course-item,
.day:nth-child(25) .course-item,
.day:nth-child(32) .course-item,
.day:nth-child(39) .course-item{
    background: #FF8B023f;
    transition: all .3s ease;
}
.day:nth-child(4) .course-item:hover,
.day:nth-child(11) .course-item:hover,
.day:nth-child(18) .course-item:hover,
.day:nth-child(25) .course-item:hover,
.day:nth-child(32) .course-item:hover,
.day:nth-child(39) .course-item:hover{
    background: #FF8B02;
    color: #fff;
}

.day:nth-child(5) .course-item,
.day:nth-child(12) .course-item,
.day:nth-child(19) .course-item,
.day:nth-child(26) .course-item,
.day:nth-child(33) .course-item,
.day:nth-child(40) .course-item{
    background: #6A257F3f;
    transition: all .3s ease;
}
.day:nth-child(5) .course-item:hover,
.day:nth-child(12) .course-item:hover,
.day:nth-child(19) .course-item:hover,
.day:nth-child(26) .course-item:hover,
.day:nth-child(33) .course-item:hover,
.day:nth-child(40) .course-item:hover{
    background: #6A257F;
    color: #fff;
}

.day:nth-child(6) .course-item,
.day:nth-child(13) .course-item,
.day:nth-child(20) .course-item,
.day:nth-child(27) .course-item,
.day:nth-child(34) .course-item,
.day:nth-child(41) .course-item{
    background: #B90B793f;
    transition: all .3s ease;
}
.day:nth-child(6) .course-item:hover,
.day:nth-child(13) .course-item:hover,
.day:nth-child(20) .course-item:hover,
.day:nth-child(27) .course-item:hover,
.day:nth-child(34) .course-item:hover,
.day:nth-child(41) .course-item:hover{
    background: #B90B79;
    color: #fff;
}
 */
/****************[MODAL ALERT LOGIN]******************/
.window-alert-login{
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0000007a;
    display: none;
}

.window-alert-login .modal-alert-login{
    width: 280px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    padding: 25px 10px;
    background: rgba(16, 106, 55, 1);
}

.modal-alert-login .modal-header-login{
    display: flex;
    justify-content: end;
    padding-bottom: 5px;
}

.modal-alert-login .content-modal-login{
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 0 5px;
    color: #ffffff;
    text-align: center;
}

.modal-alert-login .content-modal-login h5{
    font-weight: 600;
}

.set-button-modal-login{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.set-button-modal-login > *:first-child{
    display: flex;
    justify-content: center;
}

/**********************************/
.modal-calendar-container {
    width: 100%;
    position: fixed;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    padding-top: 10px;
    padding-bottom: 10px;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}
.modal-calendar {
    display: flex;
    background: rgba(16, 106, 55, 1);
    width: 100%;
    max-width: 50rem;
    padding: 20px;
    margin: 20px;
    transition: transform .75s;
    transform: translateY(0%);
    border-radius: 15px;
}
.course-info-container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #ffffff;
    text-align: justify;
    flex: 1;
}

.des-course{
    overflow-y: auto;
    width: 480px;
    max-height: 25rem;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.des-course::-webkit-scrollbar-thumb {
    background: rgba(16, 106, 55, 1)!important;
    border-radius: 4px!important;
    height: 10px!important;
    width: 10px!important;
}

.des-course h5{
    margin: 0;
    font-weight: 700;
}
.des-course p{
    flex: 1;
}

.btn-primary-v2{
    background: #71BF45;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    color: #ffffff;
}

.btn-primary-v2:hover{
    background: #589f2f;
}

.btn-primary-v2:disabled{
    background: #88cf5f;
}

.link-solid{
    border-bottom: 1px solid #CCF15F;
    color: #CCF15F;
    cursor: pointer;
    display: inline;
}
.link-solid:hover{
    color:#CCF15F;
}

.des-course div{
    margin: auto;
}

.container-course{
    flex: 1;
    display: flex;
    justify-content: center;
    height: 100%;
}

.detail-course{
    max-width: 380px;
    width: 100%;
    background: #0C4A27;
    border-radius: 10px;
    min-width: 250px;
}

.detail-course .content-infor-course{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.content-infor-course .box-infor{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.box-infor h6{
    margin: 0;
    font-weight: 700;
    text-align: center;
}

.box-infor .item-infor{
    display: flex;
    gap: 10px;
}

.icon-item-infor{
    margin-top: 3px;
}

.modal-close {
    transform: translateY(-200%);
}

.modal-head {
    display: flex;
    justify-content: end;
}
.modal-head span {
    font-size: 2rem;
    color: #000;
    font-weight: 600;
}
#close-modal-calendar {
    border: none;
    outline: none;
    color: #d30404;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
    transition: all .3s ease;
}
#close-modal-calendar:hover {
    color: #ff0000;
}
#close-modal-calendar i:hover {
    color: #ff0000;
}

.course-info-container {
    display: flex;
    flex-wrap: wrap;
}
.course-info {
    width: 100%;
    margin: .5rem;
    max-width: calc( ( (100% / 2) - 1rem));
    padding-right: .75rem;
}
.course-info-w100 {
    max-width: none!important;
}
.course-info-label {
    color: #011694;
    font-weight: 600;
    font-size: 0.875rem;
}
.course-info-value {
    font-size: 1rem;
    width: 100%;
    background: #ececec;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    margin-top: .5rem;
}
#btn-inscribir-curso,
#btn-cancel-inscribir-curso {
    display: flex;
    width: 100%;
    max-width: 14rem;
    margin-top: 2rem;
    outline: none;
    cursor: pointer;
    border: none;
    background: #011694;
    color: #fff;
    padding: 0.75rem 0;
    font-size: 1.25rem;
    justify-content: center;
    align-items: center;
}
#btn-inscribir-curso p,
#btn-cancel-inscribir-curso p {
    margin-bottom: 0!important;
}
#btn-cancel-inscribir-curso {
    background: #b31313;
}
.course-info-loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 28rem;
}
.course-info-loader {
    display: flex;
    justify-content: center;
}
.course-info-loader::after {
    content: "";
    width: 5rem;
    height: 5rem;
    border: 0.625rem solid #dddddd;
    border-top-color: #616161;
    border-radius: 50%;
    animation: loadingC 1s ease infinite;
}
@keyframes loadingC {
    to {
        transform: rotate(1turn);
    }
}
.course-info-loader-small {
    display: flex;
    justify-content: center;
    margin-left: 0.25rem;
}
.course-info-loader-small::after {
    content: "";
    width: 1rem;
    height: 1rem;
    border: 0.25rem solid #dddddd;
    border-top-color: #616161;
    border-radius: 50%;
    animation: loadingC 1s ease infinite;
}

.modal-msg-container {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
.modal-msg {
    background: #ebebeb;
    padding: 0.75rem 2rem;
    display: flex;
    margin-top: 1rem;
    box-shadow: 0 0.7rem 1rem rgba(0, 0, 0, 0.3);
    transition: transform .75s;
    transform: translateY(0%);
    min-width: 10rem;
    align-items: center;
}
.modal-msg-close {
    transform: translateY(-200%);
}
.m-m-success {
    color: #007a29;
}
.m-m-error {
    color: #7a0000;
}
.modal-msg .icono {
    margin-right: .5rem;
    font-weight: 600;
}


@media only screen and (max-width: 769px) {
    .calendar-top {
        flex-direction: column;
        padding: 1rem 0;
    }
    .calendar-top-left,
    .calendar-top-mid,
    .calendar-top-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .month {
        height: auto;
    }
    .current-month-txt {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    .current-month {
        font-size: 2.75rem;
    }
    .calendar-top-right select {
        font-size: 0.875rem;
        padding: .5rem 1rem;
    }
    .weekdays div {
        font-size: 1.2rem;
    }
    .course-info {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 468px){
    .des-course{
        width: auto;
    }
}

@media (max-width: 830px)
{
    .modal-calendar{
        width: 0;
        width: 430px;
        height: 100%;
    }
    .course-info-container{
        overflow-y: auto;
    }
    .des-course{
        max-width: 380px;
        height: auto;
    }
    .container-course{
        height: auto;
    }
}
