/*!
Theme Name: Outgrid Child
Theme URI: https://uicore.co
Description: Multi-Purpose Elementor WordPress Theme
Author: UiCore
Author URI: https://uicore.co
Template: outgrid
Version: 1.0.0
Text Domain: outgrid
*/

 /* Add your custom style here */
#wrapper-navbar .uicore-header-wrapper .uicore-menu-container ul.uicore-menu li ul.sub-menu li a {
    padding: 12px 18px !important;
}

.clsSlider .swiper-pagination{
	bottom:25px !important;
}
._cntfrm input, select{
	font-size:15px !important;
	line-height:40px !important;
	border: none;
     border: 1px solid #d4d4d4;
    border-radius: 6px;
    padding: 8px 16px;
}
._cntfrm ._spt {
    display: flex;
    gap: 15px;
	justify-content: space-between;
    align-items: center;
	width: 100%;
	position:relative;
}
._cntfrm ._spt ._spt_dv_3{
	width:32%
}
._cntfrm .fContainer {
	background: #f9f9f9;
    padding: 50px;   
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 5%);
}
._cntfrm .fContainer:not(:last-child) {
	 margin-bottom: 35px;
}
._cntfrm .fContainer label{
	font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5em;
    color: #000;
    width: 100%;
    display: block;
}
._cntfrm .fContainer .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
}
._cntfrm .fContainer .wpcf7-checkbox span, ._cntfrm .fContainer .wpcf7-checkbox label {
    display: inline;
    font-weight: 400;
}
._cntfrm .fContainer .wpcf7-checkbox label{
	display: flex;
    align-items: center;
    gap: 5px;
}
._cntfrm ._spt textarea{
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    padding: 12px 16px;
	max-height: 200px;
}
._cntfrm ._spt p {
	width:100%;
	margin-bottom: 30px;
}
._cntfrm ._spt:last-child p {
	margin-bottom: 0;
}
._cntfrm ._spt input[type=submit] {
    background-color: #fff;
    color: #000;
    width: 100%;
	max-width: 200px;
    margin: 0 auto 0 0;
	padding: 8px 16px;
	box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.15) inset;
}
._cntfrm ._spt input[type=submit]:hover{
	background-color:#fb5649;
}
._cntfrm ._spt span.wpcf7-not-valid-tip, ._cntfrm ._spt .wpcf7-spinner {
    position: absolute;
    font-size: 12px;
    bottom: -20px;
}
form.wpcf7-form.invalid ._cntfrm + div{
	margin: 0;
    font-size: 14px;
}
._cntfrm .fContainer input {
    border-color: #008f4066;
}
.clsCtFrm{
	justify-content: center !important;
}
.clsQL ul {
    padding: 0;
}
.clsQL ul li a svg {
    font-size: 10px;
    width: 10px;
    padding-right: 3px;
}
ul.elementor-icon-list-items {
    padding: 0;
}
footer.elementor-slideshow__footer.elementor-lightbox-prevent-close {
    display: none !important;
}
.clsPlus {
    width: 100%;
    height: 100%;
}
.clsPlus a {
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
}

/* ----------------------------------------------------------------
 * Timeline Layout start
 * ---------------------------------------------------------------- */
.timeline-container{
	position: relative;
	/* Main vertical line for the timeline */
	padding-left: 40px;
}
.timeline-container:before {
	content: '';
	position: absolute;
	left: 24px;
	top: 0;
	bottom: 0;
	width: 2px;
	background-color: #e5e7eb;
}

.agenda-item {
	position: relative;
	margin-bottom: 25px;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}
.agenda-item:hover .session-card {
	box-shadow: 0 6px 16px rgba(92, 0, 163, 0.15);
	transform: translateY(-2px);
}

/* Time Marker (The dot on the line) */
.time-marker {
	position: absolute;
	left: -21px;
	top: 24px;
	z-index: 10;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #ffffff;
	border: 2px solid #5c00a3;
}

/* ---------------------------------------------------------------- */
.session-card {
	background: #ffffff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	border-left: 4px solid #008f40; /* Accent border */
}

/* BREAKS (Tea Break, Lunch) */
.break-item .time-marker {
	background-color: #e5e7eb;
	border-color: #6b7280;
}
.break-card {
	padding: 20px;
	background-color: #ffffff;
	border-radius: 8px;
	border: 1px dashed #e5e7eb;
	color: #6b7280;
	font-weight: 500;
	cursor: default;
}
.break-item:hover { 
	transform: none; 
}

/* ---------------------------------------------------------------- */
.session-time {
	font-size: 14px;
	font-weight: 600;
	color: #008f40;
	margin-bottom: 5px;
}
.session-title {
	font-size: 18px;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 10px;
	line-height: 1.3;
}
.session-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 10PX
		padding-top: 14x;
	border-top: 1px solid #f3f4f6;
	font-size: 14px;
}
.moderator { color: #5c00a3; font-weight: 500; }
.type-pill {
	background: #f29414;
	color: white;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
}

/* Speaker Avatars Row */
.speaker-avatars {
	display: flex;
	gap: 5px;
	margin-top: 8px;
}
.avatar-small {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background: #d1ebdd;
    color: #414141;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 600;
	flex-shrink: 0;
	border: 2px solid #ffffff;
}

/* ----------------------------------------------------------------*/

.modal-backdrop{ 
	position: fixed; 
	inset: 0; background: rgba(0, 0, 0, 0.7); 
	display: none; 
	align-items: center; 
	justify-content: center; 
	padding: 20px; 
	z-index: 60; 
}
.modal{ 
	background: #ffffff; 
	width: min(1000px, 98%); 
	border-radius: 16px; 
	padding: 30px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); 
	position: relative; 
	animation: fadeIn 0.3s ease-out; 
	max-height: 95vh;
	overflow-y: auto;
}

@keyframes fadeIn { 
	from { 
		opacity: 0; 
		transform: scale(0.95); 
	} to { 
		opacity: 1; 
		transform: scale(1); 
	} 
}
.modal .close{ 
	position: absolute; 
	right: 20px; 
	top: 20px; 
	border-radius: 50%; 
	width: 36px; 
	height: 36px; 
	border: 0; 
	background: #e5e7eb; 
	color: #1f2937; 
	cursor: pointer; 
	font-size: 18px; 
	line-height: 1; 
	transition: all 0.2s ease-in-out; 
}
.modal .close:hover{ 
	background: #dc2626; 
	color: white; 
}
.modal-grid{ 
	display: grid; 
	grid-template-columns: 1fr 380px; 
	gap: 30px; 
	align-items: center;
}
.modal h2{ 
	margin: 0 0 15px; 
	font-size: 24px; 
	font-weight: 600; 
	color: #5c00a3; 
}
.meta{ 
	font-size: 14px; 
	color: #6b7280; 
	margin-bottom: 15px; 
	font-weight: 500; 
}
.speakers{ 
	background-color: #f4f6f9; 
	padding: 15px; 
	border-radius: 10px; 
	border: 1px solid #e5e7eb; 
	max-height: 450px; 
	overflow-y: auto; 
	margin-top: 15px; 
}
.speaker{ 
	display: grid; 
	grid-template-columns: 50px 1fr; 
	align-items: start; 
	padding: 12px 0; 
	border-bottom: 1px solid #e5e7eb; 
}
.speaker:last-child{ 
	border-bottom: 0; 
}
.avatar{ 
	width: 40px; 
	height: 40px; 
	border-radius: 8px; 
	background: #9400ff; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	font-weight: 600; 
	color: white; 
	font-size: 14px; 
}
.sname{ 
	font-weight: 600; 
	color: #1f2937; 
	font-size: 15px; 
}
.sinfo{ 
	display: grid; 
	grid-template-columns: 1fr 1fr 1fr; 
	gap: 12px; 
	font-size: 13px;
	margin-top: 4px; 
}
.srole,.email,.phone{ 
	color: #6b7280; 
	word-break: break-word; 
}
.controls{ 
	display: flex; 
	gap: 10px; 
	align-items: center; 
	justify-content: flex-end;
}
.btn{ 
	background: #5c00a3; 
	color: white; 
	padding: 10px 16px; 
	border-radius: 8px; 
	cursor: pointer; 
	font-weight: 500; 
	transition: all 0.2s ease-in-out; 
	    border: 1px solid #5c00a3;
}
.btn:hover{ 
	background: #9400ff; 
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); 
}
.btn.secondary{ 
	background: transparent; 
	color: #5c00a3; 
	border: 1px solid #9400ff; 
}
.btn.secondary:hover{ 
	background: #eff6ff; 
}

.sinfo .phone {
	text-align: right;
	padding-right: 15px;
}
.clsSession div#modalModerator {
    margin-bottom: 18px;
}

/* Media Queries */
@media (max-width: 1024px) {
	.wrap { 
		padding: 20px; 
	}
	.modal-grid { 
		grid-template-columns: 1fr; 
		gap: 0;
	}
	.modal { 
		width: 95%; 
	}
	.speakers { 
		max-height: 300px; 
	}
	.clsSession{
		margin-top:25px;
	}
}
@media (max-width: 900px){
	.modal{
		padding: 24px;
	}
}
@media (max-width: 767px){
	.sinfo { 
		grid-template-columns: 1fr; 
		gap: 4px; 
	}
	.sinfo .phone {
		text-align: left;
		padding-right: 0;
	}
}
@media (max-width: 600px) {
	.timeline-container { 
		padding-left: 30px; 
	}
	.timeline-container:before { 
		left: 17px; 
	}
	.time-marker { 
		left: -19px; 
	}
	.session-title { 
		font-size: 16px; 
	}
	.session-meta { 
		flex-direction: column; 
		align-items: flex-start; 
		gap: 8px; 
	}
	.type-pill { 
		order: -1; 
	}
}
/* ----------------------------------------------------------------
 * Timeline Layout End
 * ---------------------------------------------------------------- */

@media only screen and (max-width: 1024px) {
	._cntfrm ._spt {
		flex-direction:column;
		gap: 0;
	}
	._cntfrm ._spt ._spt_dv_3{
		width:100%
	}
	._cntfrm ._spt p{
		margin-bottom: 20px;
	}
}
@media only screen and (max-width: 767px) {
	.clsOB figure img{
		margin:0 auto;
		max-width:200px;
	}
}