/* Entry checker */
.dynamic-entry_checker {
    margin: 0;
    background: var(--lightblue);
    padding: 154px 0;
    position: relative;
    border-bottom: 5px solid var(--gold);
    color: var(--white);
}
.dynamic-entry_checker:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 25px;
    top: 25px;
    width: 100%;
    max-width: 512px;
    height: auto;
    text-align: center;
    background-color: var(--white);
    -webkit-mask-image: url("/wp-content/themes/schoolcms/images/lion-icon-bg.png");
    mask-image: url("/wp-content/themes/schoolcms/images/lion-icon-bg.png");
    mask-size: cover;
    mask-position: right top;
    mask-repeat: no-repeat;
    display: block;
    z-index: 1;
    pointer-events: none;
}

.form_block select { display: none !important;
    border-radius: 25px;
    height: 52px;
    padding: 10px 14px;
    width: 280px;
    color: var(--white) !important;
    background: var(--lightblue);
    text-align: center;
    border: 1px solid var(--white) !important;
    font-size: 12px;
    margin-right: 10px;
    margin-bottom: 50px;
}
.form_block select option {
    color: var(--purple)!important;
}
.text-birth {
    display: block;   
	margin:1rem 0;
}
.dynamic-entry_checker .sectionTitle {
    color: var(--white);
    font-size: 60px;
    line-height: 1.2;
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}
.dynamic-entry_checker .sectionTitle:before {
    content: '';
    width: 61px;
    height: 65px;
    text-align: center;
    padding: 18px 27px 46px;
    background-color: var(--white);
    -webkit-mask-image: url("/wp-content/themes/schoolcms/images/horse-icon-title.png");
    mask-image: url("/wp-content/themes/schoolcms/images/horse-icon-title.png");
    mask-size: cover;
    mask-repeat: no-repeat;
    margin: 0 auto 13px;
    z-index: 11;
    display: block;
}

.first-row-select {
    vertical-align: top;
    margin-bottom: 20px;
}

.slider-caption-top-posttype {
	flex-wrap: wrap;
}
.slider-caption-top a, .slider-caption-top-posttype a {
    display: inline-block;
    color: var(--button_colour,#fff);
    border: solid 2px var(--purple,transparent);
    background: var(--purple,#000);
    text-decoration: none!important;
    font-size: 14px;
    line-height: 1.5em;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    margin: 10px 5px 10px 5px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    transition: 300ms;
    border-radius: 50px;
    text-align: center;	
	width: 150px;
}

.slider-caption-top a.cycle-pager-active, .slider-caption-top a:hover, .slider-caption-top-posttype a.cycle-pager-active, .slider-caption-top-posttype a:hover {
    background: var(--blue,#000);
    border: solid 2px var(--blue,transparent);
    color: var(--button_colour_hover,#fff);
}

.dynamic-entry_checker {
    text-align: center;
}

#registration_timeline {
    margin-top: 40px !important;
}
#time_line_entry_posttype {
	margin-top: 40px;
}

.time_line {
	margin-top:60px;
}

.time_line_single {
    padding: 40px 0;
    font-size: 16px;    
}

.time_line p {
    font-size: 16px;
    text-align: left;
}

.time_line h4.notEligible p {
    text-align: center;
	font-weight: 400;
}

.time_line_single_inner {
    text-align: left;
    padding: 20px 20px 20px 60px;
    position: relative;
}
.time_line_single_inner:after {
    background: rgba(0, 0, 0, 0.25);
    height: 1px;
    width: 100%;
    content: '';
    margin: 20px auto;
    display: block;
}
.time_line_single_inner:before {
    content: '';
    display: block;
    position: absolute;
    margin: 0 2px;
    cursor: pointer;
    display: inline-block;
    height: 30px;
    width: 30px;
    text-align: center;
    font-size: 0px;
    background-color: var(--purple,#000);
    transition: background-color 300ms;
    vertical-align: middle;
    left: 0px;
    border-radius: 50%;
}
#timeline_back {
    margin-top: 20px;
}
#entry_checker_form #btnSubmit {
    margin: 0 auto;
    display: block;
    max-width: 240px;
    background: var(--white);
    border-color: var(--white);
    color: var(--purple);
}

#entry_checker_form #btnSubmit:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: var(--white);
}

@media only screen and (min-width: 768px) {
	.form_block select {
		display:inline-block;
	}
	.dynamic-entry_checker h2 {
		font-size: 3rem;
	}
	.slider-caption-top a, .slider-caption-top-posttype a {
    	padding-left: 2rem;
    	padding-right: 2rem;
		width: 200px;
	}
}

/* Custom admissions dropdowns */
.cs-wrapper {
    position: relative;
    display: inline-block;
    width: 280px;
    margin-right: 10px;
    margin-bottom: 50px;
    vertical-align: top;
}
.cs-lozenge {
    border-radius: 25px;
    height: 52px;
    padding: 10px 20px;
    width: 100%;
    color: var(--white);
    background: transparent;
    text-align: center;
    border: 1px solid var(--white);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    user-select: none;
    font-family: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}
.cs-lozenge.is-open {
    border-radius: 25px 25px 0 0;
    border-bottom-color: transparent;
}
.cs-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--lightblue);
    border: 1px solid var(--white);
    border-top: none;
    border-radius: 0 0 15px 15px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 999;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.4) var(--lightblue);
}
.cs-panel.is-open {
    display: block;
}
.cs-panel::-webkit-scrollbar {
    width: 6px;
}
.cs-panel::-webkit-scrollbar-track {
    background: var(--lightblue);
    border-radius: 0 0 15px 0;
}
.cs-panel::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.4);
    border-radius: 3px;
}
.cs-option {
    padding: 9px 14px;
    color: var(--white);
    text-align: center;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
}
.cs-option:hover {
    background: rgba(255,255,255,0.15);
}
.cs-option.is-selected {
    background: rgba(255,255,255,0.1);
}

/* Reduce bottom padding when timeline is visible */
.dynamic-entry_checker.has-timeline {
    padding-bottom: 60px;
}
