html{
    --orange: #E85306;
    scroll-behavior: smooth;
}

#hero-header{
	height: 80vh !important;
}

#hero-content{
	transform: translate(-50%, -50%) !important;
	left: 50%;
    top: 50% !important;
	padding: 0 !important;
	background: none !important;
	justify-content: center;
	border: none !important;
	width: 90% !important;
    text-align: center;
    min-height: auto !important;
}

#hero-content h1{
	font-weight: 700 !important;
	text-transform: none !important;
}

.page-container{
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.courses .course-type h2{
    font-weight: 700;
    line-height: 106%;
}

.courses .course-type .course-content .content{
    line-height: 200%;
    font-weight: 600;
}

.courses .book-now-button{
    display: inline-block;
    color: white;
    background-color: var(--orange);
    font-weight: 600;
    padding: .5em 1em;
    margin-top: 1em;
}

.courses .course-type .course-img img{
    aspect-ratio: 1;
    object-fit: cover;
    height: 100%;
}

.courses .course-type:nth-of-type(odd){
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2em;
    padding: 2em 20px;
}

.courses .course-type:nth-of-type(odd) .course-content,
.courses .course-type:nth-of-type(odd) .course-img{
    width: 50%;
}



.courses .course-type:nth-of-type(even){
    display: grid;
    grid-template-columns: .4fr .6fr;
    align-items: center;
    gap: 2em;
    background-color: #313E47;
    border-right: .8em solid var(--orange);    
}

.courses .course-type:nth-of-type(even) .course-content{
    width: 100%;
    padding: 2em;
    color: white;
    grid-column: 2;
}

.courses .course-type:nth-of-type(even) .course-content h2{
    color: white;
}

.courses .course-type:nth-of-type(even) .course-img{
    width: 100%;
    grid-column: 1;
    grid-row: 1;
}

#dialog{
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 80%;
    max-width: 1000px;
    min-height: 50vh;
    border: 2px solid #E85306;
}

#dialog::backdrop{
    background: #313e47cc;
}

#dialog .form{
    padding: 1em;
}

#dialog .close-button{
    position: absolute;
    right: 10px;
    font-size: 2em;
    background-color: transparent;
    cursor: pointer;
    z-index: 10;
}

#dialog input, 
#dialog select{
    border: 1px solid black;
}

#dialog input[type="submit"]{
    padding: .5em 1em;
    color: white;
    font-weight: 700;
    background-color: #E85306;
    border: none;
    cursor: pointer;
}


#booking-form{
    position: relative;
    overflow: hidden;
}

.right-bg{
    position: absolute;
    height: 100%;
    width: 50%;
    left: 66%;
    top: 0;
    background-color: #313E47;
    z-index: -1;
}


.main-booking-form-con{
    display: flex;
    gap: 2em;
}

.main-booking-form-con .form-col{
    width: 33%;
}

.book-course-title{
    font-size: 2rem;
    color: black;
    font-weight: 700;
}

.user-details{
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.user-details input{
    width: 100%;
    font-size: 1.5rem;
    border-bottom: 0.5px solid #000000;
    padding: 1em;
}

.user-details input::placeholder{
    font-size: 18px;
}

.course-radio{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1em;
}

.course-radio label{
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
}

.course-radio input{
    width: 24px;
    height: 24px;
    border-color: #000000;
    cursor: pointer;
}

.course-radio [type=radio]:checked::before{
  content: "";
  width: 24px;
  height: 24px;
  background-color: var(--orange);
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 50%;
}

.form-required-info{
    font-size: 1.2rem;
    color: #000000;
    margin-top: 1em;
}

.seats-input-con,
.start-time,
.end-time{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.seats-input-con input{
    width: 48px;
    height: 48px;
    background-color: var(--orange);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    padding-left: 10px;
}

.seats-input-con button{
    background-color: transparent;
    color: black;
    font-weight: 700;
    font-size: 20px;
    padding: 0 1em;
}

.seats-input-con input::-webkit-outer-spin-button,
.seats-input-con input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.start-time,
.end-time{
    width: 90%;
}


.last-col{
    background-color: #313E47;
    padding-left: 2em;
    padding-top: 2em;
    color: white;
}

.last-col h4{
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: white;
}

.last-col h5{
    color: white;
    font-weight: 600;
}



.last-col .seperator{
    display: block;
    width: 100%;
    background-color: white;
    height: 2px;
    margin: 2em 0;
}

.selected-number-seats,
.selected-date{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1em;
    font-size: 16px;
}

.location{
    display: flex;
    padding-top: 1em;
    gap: 1em;
}

.error-text{
    margin-top: 1em;
    color: red;
}

#datepickerTwo,
#datepickerThree,
#datepickerFour{
	display: none;
}

.ui-datepicker{
	background: #FFFFFF !important;
    border: none !important;
	width: 90% !important;
	max-width: 400px;
}

.ui-datepicker .ui-widget-header{
	background-color: var(--orange);
	border: none;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    margin: 0 !important;
    margin-bottom: 1em !important;
    color: white;
    padding: 0.2em 0 !important;
    border-bottom: 0 !important;
}

.ui-datepicker .ui-datepicker-calendar thead{
	background-color: white !important;
	color: black !important;
}

.ui-datepicker .ui-datepicker-calendar tr{
	border: none;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-default{
	border: none;
	background-color: white;
	text-align: center;
	color: black;
	font-weight: 700;
	opacity: 0.3;
    border-radius: 0 !important;
    line-height: inherit !important;
}
    
.calendar-con .highlight a{
    color: black !important;
	opacity: 1 !important;
	background-color: white !important; 
    border: solid 1px var(--orange) !important;
    border-radius: 0 !important;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-active{
	color: white !important;
	background-color: var(--orange) !important;
    opacity: 1 !important;
}

.ui-datepicker .ui-datepicker-prev::before, 
.ui-datepicker .ui-datepicker-next::before{
    display: none !important;
}

.ui-datepicker .ui-datepicker-prev span, 
.ui-datepicker .ui-datepicker-next span{
    background-image: url(https://www.parkside.co.uk/wp-content/uploads/2023/03/Arrow.png);
    background-position: center;
    display: block !important;
}

.ui-datepicker .ui-datepicker-next span{
    rotate: 180deg;
}

.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover{
    background-color: var(--orange) !important;
    border: none !important;
}

.book-button{
    background-color: var(--orange);
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    padding: .2em 2em;
    border-radius: 7px;
}

.grav-form input[type="submit"]{
    visibility: hidden;
}

.other-date-text h4{
   font-size: 20px;
}

.other-date-text a{
    background-color: var(--orange);
    color: white;
    font-weight: 700;
    padding: 0.1em 1em;
    border-radius: 7px;
}




@media (max-width: 1000px) {
    .book-course-title{
        font-size: 1.5rem;
    }
    .seats-input-con button{
        padding: 0 0.1em;
    }
    .course-radio label {
        font-size: 16px;
    }
    .user-details input,
    .user-details input::placeholder,
    .selected-course-dis{
        font-size: 1rem;
    }
}



@media (max-width: 900px) {
    .courses .course-type h2{
        font-size: 3rem;
    }
    .courses .course-type .course-content .content {
        line-height: 130%;
        font-weight: 400;
    }
}

@media (max-width: 800px) {
    .main-booking-form-con{
        flex-direction: column;
    }
    .main-booking-form-con .form-col {
        width: 100%;
    }
    .right-bg{
        display: none;
    }
    .last-col{
        padding: 1em;
    }
    .seats-input-con{
        width: 95%;
    }
    .seats-input-con button {
        padding: 0 0.5em;
    }
}

@media (max-width: 700px) {
    .courses .course-type:nth-of-type(odd){
        flex-direction: column;
    }
    .courses .course-type:nth-of-type(odd) .course-content, 
    .courses .course-type:nth-of-type(odd) .course-img{
        width: 100%;
    }
    .courses .course-type .course-img img{
        aspect-ratio: 1 / .5;
    }
    .courses .course-type:nth-of-type(even){
        display: flex;
        flex-direction: column;
        gap: .5em;
    }
}

@media (max-width: 480px) {
    #hero-header {
        height: 60vh !important;
    }
}