.fw600 {
    font-weight: 600;
}

.citas-subtitle {
        font-size: 17px !important;
    color: #00CCFE;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
}

.citas-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center;	
    max-width: 100%;
    width: 1280px;
    margin-left: auto;
    margin-right: auto;	
    padding: 75px 0;
}

@media screen and (max-width: 768px) {
    .citas-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

#citas-form>div:not(.citas-flex-form-container) {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

#citas-form>div label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#citas-form input,
#citas-form select,
#citas-form textarea {
    display: block;
    flex: 1;
    padding: 15px;
}

#citas-form input,
#citas-form textarea {
    border-radius: 25px;
    border: none;
    background-color: #EDF1FC;
}

#citas-form select {
    border: none;
    background-color: rgba(237, 241, 252, 0.2);
    border: 1px solid rgba(23, 34, 77, 0.2);
    border-radius: 8px;
}

#citas-form input[type="submit"], .submit-btn {
    background-color: #00CCFE !important;
    color: white !important;
    border: none !important;
    padding: 15px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    width: 50%;
}

#citas-form input[type="submit"].disabled, .submit-btn.disabled {
	background-color: #EDF1FC !important;
    color: #17224db3 !important;
}

.submit-btn{
	display: none;
	width: 100%
}

@media screen and (max-width: 768px) {
    #citas-form input[type="submit"] {
        display: none;
    }
	.submit-btn{
		display: block;		
    	margin-top: 25px;
	}
}

.citas-flex-form-container {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 20px;
}

@media screen and (max-width: 450px) {
    .citas-flex-form-container {
        flex-direction: column;
    }
}

.citas-flex-form-container div {
    flex: 1;
    display: flex;
    flex-direction: column;
}


/* Calendario */

.citas-calendar {
    margin-left: auto;
    margin-right: auto;
}

.vanilla-calendar {
    width: 100% !important;
}

.vanilla-calendar-header__content {
    justify-content: flex-start !important;
    padding-left: 0 !important;
}

.vanilla-calendar-days {
    row-gap: 0 !important;
}

.vanilla-calendar-week__day {
    aspect-ratio: 1 / 1;
}

.vanilla-calendar-day {
    border: 1px solid #EDF1FC;
    aspect-ratio: 1 / 1;
}

.vanilla-calendar-day__btn {
    border-radius: 0 !important;
}

.vanilla-calendar-day__btn.vanilla-calendar-day__btn_selected {
    background-color: #17224D !important;
    color: white !important;
}

button.vanilla-calendar-day__btn{
    width: 100%;
}

.vanilla-calendar-header__content button {
    background-color: transparent !important;
}

.vanilla-calendar-week__day, .vanilla-calendar-day {
    font-family: 'Inter' !important;
}

.vanilla-calendar-year.vanilla-calendar-year_disabled,
.vanilla-calendar-month {
    color: #17224D!important;
    font-weight: 900 !important;
    font-size: 22px !important;
    font-family: 'Inter' !important;
}

.vanilla-calendar-year.vanilla-calendar-year_disabled {
    padding-left: 0 !important;
}

[data-calendar-theme=light] .vanilla-calendar-day__btn:hover{
	color: #3393F0 !important;
}

/* Icono select */

.selectdiv {
  position: relative;
}

/*To remove button from IE11, thank you Matt */
.selectdiv select::-ms-expand {
     display: none;
}

.selectdiv:after {
	color: #17224D;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	right: 11px;
	/*Adjust for position however you want*/

	top: 44px;
	padding: 0 0 2px;

	position: absolute;
	pointer-events: none;
}

.selectdiv select{ 
  	-webkit-appearance: none;
  	-moz-appearance: none;
	appearance: none;
	background: transparent;
  	background-image: url("/wp-content/uploads/2024/02/down-icon.png");
  	background-repeat: no-repeat;
  	background-position-x: 97%;
  	background-position-y: 23px;
}

.loader-citas-container{
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0000007d;
    z-index: 100;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader-citas-container #loader {
	line-height: 1;
    text-align: center;
    width: fit-content;
    font-weight: bold;
    font-family: sans-serif;
    font-size: 40px;
    padding-bottom: 8px;
    background: linear-gradient(currentColor 0 0) 0 100% / 0% 3px no-repeat;
    animation: l2 2s linear infinite;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
	color: white;
}

.loader-citas-container #loader.obteniendo:before {
  content:"Obteniendo citas disponibles..."
}

.loader-citas-container #loader.insertando:before {
  content:"Insertando cita en el sistema..."
}

@keyframes l2 {to{background-size: 100% 3px}}


.citas-horario-container{
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	align-items: center;
	padding: 0px 16px;
	margin-top: 16px;	
    justify-content: center;
}

.cita-horario{
	cursor: pointer;
	padding: 8px 16px;
    border: 2px solid #16224D;
    border-radius: 10px;
    font-weight: 600;
    color: #16224D;
	transition: 0.1s ease-in;
}

.cita-horario.selected, .cita-horario:hover{	
    background-color: #EDF1FC;
}

.alerta-container{
	position: fixed;
    bottom: 0px;
	left: 0;
	right: 0;
	margin: 0 auto;
    width: 100%;
    z-index: 100;	
	display: flex;
    flex-direction: column;
    gap: 5px;
	
}

.alerta{	
    padding: 32px 24px;	
	opacity: 0;
	transition: .3s ease-in;	
    font-weight: 600;
	font-size: 16px;	
	text-align: center;
	color: white;
}

.alerta.ko{
    background-color: #ed1c24;
}

.alerta.ok{	
    background-color: #10c15c;
}