/* Base Styles */
* {
	box-sizing: border-box;
}




.appointment-scheduling h1 {
	text-align: center;
	color: #333;
	margin-bottom: 20px;
}

.appointment-scheduling{
	font-family:Arial, sans-serif;
}

.appointment-scheduling h4 {
	margin-top: 10px;
	margin-top: 10px;
	font-size: 17px;
	font-weight: bold;
	margin-bottom: 13px;
	letter-spacing: -0.5px;	
}

.cal-logo-container{
	position:absolute;
	top:0;
	left:0;
	
	z-index:10;
	width: 100%;	
}

.logo, .logo-white{
	margin-left:15px;
	margin-right:15px;
	margin-top:15px;
	margin-bottom:10px;
	display:inline-block;
}
.logo img, .logo-white img{
	width:100%;
	max-width:300px;
}
.logo{
	display:none;
}

@media (max-width: 767px) {
	.cal-logo-container{
		
		box-shadow: 1px 1px 10px #c4c4c4;
		text-align:center;
	}
	
}

/* Main Container */
.appointment-scheduling {
	/* padding: 100px 20px 100px;	 */
	position: relative;
	height: auto;
	/* background-image:url('/appointment/images/logo_bg.webp'); */
	/* background-image: */
	/*url('images/logo_bg.webp'),
		linear-gradient(to top, #1bc5d3 0%, #127aad 100%);
		background-size: 51%, cover; 
		background-blend-mode: overlay;
	*/
	/* url('images/bg-home-3.webp'); */
	background-size: cover;
	background-position: right center, center; 
	background-repeat: no-repeat;
	background-size:cover; 
	/* height:100%; */
	/* margin-bottom: 40px; */
	/* min-height:920px; */
	padding-top:0px;
	padding-bottom:0px;
	
	
}

.appointment-scheduling p {
	font-size: 16px;
	margin: 0;
	line-height: 1.6;
}


/* iframe mode*/ 

.iframe-mode {
	height:auto !important;
	/* margin-top:100px; */
}

.titulo-agendar{	
	/* display:none; */
}




.titulo-agendar{
	text-align:center;
	padding-left:15px;
	padding-right:15px;
	margin-bottom: 30px;
	max-width:850px;
	margin-left:auto;
	margin-right:auto;
}
.titulo-agendar h2{
	font-size: 50px;
	font-weight: 500;
	color: #fff;
	letter-spacing: -2px;
	margin-top:0px;
	margin-bottom:10px;
	font-family: open sans, Sans-serif, serif;
}
.titulo-agendar h5{
	color: #fff;
	font-size: 34px;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: -1px;
	margin-top:0px;
	font-family: open sans, Sans-serif, serif;  
}

@media (max-width: 991px) {
	.titulo-agendar{
		margin-bottom:0px;
		padding-bottom: 0px;
	}
}

@media (max-width: 767px) {
	.titulo-agendar{
		padding-top:110px;
	}
	
	.titulo-agendar h2 {
		font-size: 34px;
		line-height: 1.1;
	}
	.titulo-agendar h5 {
		color: #fff;
		font-size: 20px;
		margin-bottom: 0px;
		font-weight: 500;
	}
	
	.titulo-agendar h2, .titulo-agendar h5{
		color:#1789a0;
	}
	
}
@media (max-width: 575px) {
	
	
	
}

body::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
}

.appointment-scheduling > * {
	position: relative;
	z-index: 2;
}

.global-container {
	display: flex;
	flex-direction: row;
	gap: 60px;
	background-color: #fff;
	/* padding: 40px; */
	border-radius: 8px;
	/* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
	width: 880px;
	margin: 0 auto;
	transition: all 0.3s;
	opacity: 1;
	min-height:470px;
}



/* Info Section */
.info-appointment {
	max-width: 350px;
	text-align: center;
	position: relative;
}

.info-appointment::after {
	content: "";
	position: absolute;
	right: -30px;
	top: 0;
	bottom: 0;
	width: 1px;
	background-color: #c7c7c7;
}

.info-appointment img {
	width: 80px;
	border-radius: 50px;
}

.info-appointment-body {
	margin-top: 20px;
}

.info-appointment-body p{
	text-align: left;
}

.info-appointment-body p {
	line-height:1.8;
}

.info-title {
	font-weight: 600;
	margin-bottom: 5px;
}

.subject {
	margin: 5px 0;
	font-size: 18px;
	font-weight: bold;
}

.infoap-wider {
	width: 34%;
}



/*Una sola columna*/

.info-appointment{
	display:none;
}
.container-wider {
	/* width: 1040px; */
}

.calcon-wider {
	/* width: 66%; */
}
.global-container {
	width: auto;
}






.horizontal-separator {
	display: none;
}

/* Calendar Styling */
.month-selector {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 0;
	font-size:1.4rem;
}

.month-selector button {
	padding: 8px 16px;
	background-color: transparent;
	color: #333;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s;
}

.month-selector button:hover {
	background-color: rgba(255, 255, 255, 0);
}

.calendar-section {
	flex: 1;
	/* max-width: 392px; */
}

.calendar-header {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	margin-bottom: 5px;
	padding: 10px 0;
	border-radius: 4px;
	font-size: 15px;
}

.calendar {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 7px;
}

.day {
	padding: 22px 15px;
	text-align: center;
	border: 1px solid #bfbfbf;
	cursor: pointer;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: all 0.3s;
}

.day:hover:not(.empty):not(.unavailable):not(.selected) {
	background-color: #1789a01c;
	border-color: #1789a0;
}

.day.selected {
	background-color: #1789a0;
	color: white;
	border-color: #1789a0;
}

.day.unavailable {
	background-color: #f5f5f5;
	color: #c4c4c4;
	cursor: default;
	border: 1px solid #d7d7d7;
}

.day.empty {
	border: none;
}

.selected-date {
	text-align: left;
	font-size: 15px;
	color: #333;
	margin-bottom: 20px;
	padding: 15px 0;
	border-radius: 4px;
}

/* Time Section */
.time-section {
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	margin-right: -18px;
	transition: all 0.5s ease-in-out;
}

.time-section.visible {
	opacity: 1;
	max-height: 600px;
	width: 230px;
}

@media (max-width: 1200px) {
	.time-section.visible {
		opacity: 1;
		max-height: 600px;
		width: 190px;
	}

}

.time-section h3 {
	margin-top: 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
	text-align: center;
}

.time-slots {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-height: 320px;
	overflow-y: auto;
}

@media (max-width: 991px) {

	.time-slots{
	max-height:none;
	}
}

.time-slot-wrapper {
	display: flex;
	gap: 7px;
	margin-right: 18px;
}

.time-slot {
	padding: 15px 10px;
	text-align: center;
	border: 1px solid #d7d7d7;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.3s;
	width: 100%;
	font-weight: 500;
	font-size: 16px;
	color: #333;
	line-height: 1.3;
}

.time-slot:hover:not(.unavailable):not(.selected) {
	background-color: #1789a01c;
	border-color: #1789a0;
}

.time-slot.selected {
	background-color: #666;
	color: white;
	border-color: #666;
}

.time-slot.unavailable {
	background-color: #f5f5f5;
	color: #c4c4c4;
	cursor: default;
}

.appointment-layout.visible {
	display: flex;
	gap: 30px;
}

/* Buttons */
.cta-select {
	display: none;
}

.next-button {
	width: 30%;
	background-color: #1789a0;
	color: white;
	border: 1px #1789a0 solid;
	border-radius: 4px;
	padding: 15px 10px;
	text-align: center;
	cursor: pointer;
	font-weight: 500;
	font-size: 16px;
	transition: width 0.3s;
	line-height: 1.3;
}

#next-button {
	padding: 10px 20px;
	background-color: #1789a0;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s;
}

#next-button:hover {
	background-color: #45a049;
}

.selected-slot {
	background-color: #f0f0f0;
	padding: 20px;
	border-radius: 4px;
	margin-top: 20px;
	display: none;
	text-align: center;
}

.selected-slot p {
	font-size: 18px;
	font-weight: bold;
	margin: 20px 0;
}

/* Media Queries */
@media (max-width: 991px) {	 
	
	
	.appointment-scheduling {
		padding: 0;
		/* padding-top:100px; */
		/* height: 1700px; */
		/* padding-bottom:100px; */
		min-height:auto;
	}
	
	.global-container {
		display: block;
		max-width: 722px;
		width: 100%;
		padding:30px;
		margin-top: 5px;
		padding-top:0px;
	}
	
	.info-appointment {
		width: 100%;
		max-width: 440px;
		margin: 0 auto 28px;
	}
	
	.info-appointment::after {
		display: none;
	}
	
	.select-date-hour {
		display: none;
	}
	
	.appointment-layout.visible {
		display: block;
	}
	
	.calendar-section {
		margin: 0 auto;
		max-width: 392px;
	}
	
	.info-appointment-body {
		margin-top: 22px;
	}
	
	.horizontal-separator {
		display: block;
		border: none;
		height: 1px;
		background-color: lightgray;
		margin-bottom: 32px;
	}
	
	.calendar-container {
		width: 100%;
		/* padding-bottom: 150px; */
	}
	
	.cta-select {
		display: block;
		text-align: center;
	}
	.selected-date {
		text-align: center;
		font-size: 20px;
		font-weight: 600;
		margin-top:20px;
	}
	.time-section{
		margin-left:auto;
		margin-right:auto;
	}
}

@media (max-width: 767px) {
	
	.logo-white{
		display:none;
	}
	.logo{
		display:block;
	}
	.appointment-scheduling {
		background-color: transparent;
		padding: 0;
		background-image: none;
		height: 100%;
	}
	
	.appointment-scheduling::after {
		display: none;
	}
	
	.global-container {
		box-shadow: none;
		border-radius:0px;
	}
	
	.horizontal-separator {
		max-width: 392px;
	}
	
	.appointment-layout.visible {
		display: block;
	}
	
	.calendar-section {
		margin: 0 auto;
	}  
	
	.selected-date {
		text-align: center;
		font-size: 20px;
		font-weight: 600;
	}
	
	.time-section.visible {
		width: 100%;
		max-width: 392px;
		max-height: 800px;
		margin: 0 auto;
	}
	.time-section {
		margin-top: 30px !important;
	}
	.time-slot-wrapper {
		margin-right: 0;
	}
	
	.time-slots {
		max-height: 800px;
	}
	
	.time-slot {
		padding: 18px 10px;
	}
}

@media (max-width: 575px) {
	
	body{
		background:none;
	}
	.appointment-scheduling {
		
		height: 100%;
		background-color:#fff;
	}
	
	.day {
		padding: 0;
	}
	
}	