/* Fonts */

@font-face {
	font-family: "General Sans";
	src: url("../../assets/fonts/GeneralSans-Regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "General Sans";
	src: url("../../assets/fonts/GeneralSans-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "General Sans";
	src: url("../../assets/fonts/GeneralSans-Medium.ttf") format("truetype");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "General Sans";
	src: url("../../assets/fonts/GeneralSans-Semibold.ttf") format("truetype");
	font-weight: 600;
	font-style: normal;
}

/* End of fonts */

iframe {
	display: block; /* iframes are inline by default */
	border: none; /* Reset default border */
	width: 100%;
	height: 1000px;
}

/* Event list styling */

.box-office-wp-event-is-on-sale {
	display: flex;
	align-items: center;
	height: 3em;
	margin-right: 1em;
	margin-bottom: 1em;
	border: 1px solid #000;
	width: fit-content;
	background-color: #000;
	color: #fff;
}

.box-office-wp-event-filter {
	width: 100%;
	background: #f2f5f8;
	border-radius: 16px;
	max-width: 1280px;
	margin: 0 auto;
}

.box-office-wp-event-filter form {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 0 auto;
	gap: 1.5rem;
	padding: 32px;
}

.box-office-wp-event-filter form label {
	display: none;
	visibility: hidden;
}

.box-office-wp-event-filter form > div,
.box-office-wp-event-more-details a {
	border: 1px solid #c6cfd7;
	border-radius: 100px;
	width: 250px;
	max-width: 250px;
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.box-office-wp-event-filter form > div input,
.box-office-wp-alpha-sort form select {
	border: none;
	color: black;
	font-size: 12px;
	font-family: General Sans;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	word-wrap: break-word;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	width: 100%;
	text-decoration: none;
	background-color: transparent;
}

.box-office-wp-event-filter-event-name::after {
	content: url("../../assets/icon-search.svg");
}

.box-office-wp-event-filter-submit {
	background: black;
	display: inline-flex;
	width: 115px !important;
	border: unset !important;
}

.box-office-wp-event-filter-submit input {
	width: 100% !important;
	background-color: unset;
	color: white !important;
    cursor: pointer;
}

.box-office-wp-event-filter form > div input[type="date"]::-webkit-inner-spin-button,
.box-office-wp-event-filter form > div input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
}

.box-office-wp-event-filter-from-date::after,
.box-office-wp-event-filter-to-date::after {
	content: url("../../assets/icon-calendar.svg");
}

.box-office-wp-alpha-sort {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	max-width: 1280px;
    margin: 1rem auto;
}

.box-office-wp-alpha-sort form {
	border: 1px solid #c6cfd7;
	border-radius: 100px;
	width: 175px;
	max-width: 175px;
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.box-office-wp-alpha-sort form select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.box-office-wp-alpha-sort form::after {
	content: url("../../assets/icon-select.svg");
}

.wp-block-box-office-wp-box-office-wp-event-list {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.box-office-wp-event-list {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, minmax(300px, 1fr));
	gap: 2rem;
    padding: 0px;
}

.box-office-wp-event {
	list-style-type: none;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
    position: relative;
    padding-bottom: 2rem;
}

.box-office-wp-event::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 1px;
    background-color: #c6cfd7;
}

.box-office-wp-event-name {
	margin: 0px;
}

.box-office-wp-event-name a {
	color: black;
	font-size: 2rem;
	font-family: General Sans;
	font-weight: 500;
	word-wrap: break-word;
	text-decoration: none;
}

.box-office-wp-event-instance-dates {
	color: black;
	font-size: 1.5rem;
	font-family: General Sans;
	font-weight: 500;
	word-wrap: break-word;
}

.box-office-wp-event-description {
	color: black;
	font-size: 1rem;
	font-family: General Sans;
	font-weight: 400;
	line-height: 22.4px;
	word-wrap: break-word;
}

.box-office-wp-event .box-office-wp-event-description {

    overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.box-office-wp-event-more-details a {
	max-width: 150px;
    width: fit-content;
	border: unset;
	background: black;
	color: white;
	font-size: 1rem;
	font-family: General Sans;
	font-weight: 500;
	word-wrap: break-word;
    text-decoration: none;
    padding: 0.875rem 1.5rem;
}


.box-office-wp-event-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.box-office-wp-event-image a,
.box-office-wp-event-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.box-office-wp-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-office-wp-event-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-items: flex-start;
}

.box-office-wp-instance-list {
    margin: 0 auto;
}

.box-office-wp-instance-list ul {
    list-style-type: none;
    padding: 0px;
}

.box-office-wp-instance-list ul li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: black;
    font-size: 1rem;
    font-family: General Sans;
    font-weight: 500;
}

.box-office-wp-instance-list ul li a {
    word-wrap: break-word;
    text-decoration: none;
	border-radius: 100px;
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 0.875rem 1.5rem;
	background: black;
	color: white;
	display: inline-flex;
	width: fit-content !important;
	border: unset !important;

}

@media screen and (max-width: 1024px) {
    .box-office-wp-event-list {
        grid-template-columns: repeat(2, minmax(300px, 1fr));
        padding: 1rem 2rem;
    }
    
}

@media screen and (max-width: 768px) {
    .box-office-wp-event-list {
        grid-template-columns: repeat(1, minmax(300px, 1fr));
        padding: 1rem 2rem;
    }

    .box-office-wp-event-filter form > div {
        max-width: unset;
        width: 100% !important;
    }

    .box-office-wp-alpha-sort {
        padding: 0px 32px;
    }

    .box-office-wp-alpha-sort form {
        max-width: unset;
        width: 100% !important;
    }
    
}