/*
Theme Name: XX
Theme URI: https://bostonunderground.org/
Description: 20th Anniversary BUFF Redesign
Author: Bryan McKay
Author URI: https://bostonunderground.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/* Text Styles */

body { 
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.underline {
    text-decoration: underline;
}

/* Homepage & Dispatches Overrides */

.home, .dispatches {
    background: #0a0a0a;
}

.home #main #content-wrap, .dispatches #main #content-wrap {
    padding-top: 0;
}

/* Image Styles */

.cover img {
    height: 100% !important;
	min-width: 100%;
    object-fit: cover;
}

/* Header Styles */

#site-header {
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
}

.elementor-type-footer.elementor-location-footer {
	box-shadow: 0 -3px 5px rgba(0, 0, 0, 0.15);
}

.elementor-menu-toggle::after {
	content: 'Menu';
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	padding-left: 10px;
}

.festival-submenu {
	cursor: pointer;
}

.search-trigger {
	cursor: pointer;
}

/* Page Title */

.page-header-title {
	letter-spacing: -1px;
}

/* Schedule Pages (also used on film pages to style shorts with some added classes) */

@media only screen and (max-width: 959px) {
#main #content-wrap {
    padding-top: 5px !important;
    }
}

.tax-festival-year .js-wpv-view-layout {
	width: 100%;
}

.schedule-item {
    display: inline-block;
    width: 100%;
	margin-bottom: 20px;
	color: #333333;
    background: #fff;
    height: 100%;
    text-align: left !important;
	box-shadow: 0 0 10px 0 rgba(0,0,0,.075);
	transition: all .25s;
}

.schedule-item:hover {
	box-shadow: 0 0 30px 0 rgba(0,0,0,.075);
}

.schedule-item a { color: #333333; }

.schedule-item-box {
    padding: 0 50px 0 50px;
    float: left;
    text-align: center;
    height: 160px;
    background-color: #c62510;
}
.schedule-item-box .more-sm { 
    color: #ffffff; 
    margin-bottom: 0px; 
}
.schedule-item-box .more-lg { 
    font-size: 40px; 
    color: #ffffff; 
    margin-bottom: 0px; 
}

.schedule-item-box__mobile {
	width: 100%;
	background-color: #c62510;
}

.schedule-item-date {
    position: relative;
    top: 50px;
}

.schedule-item-box__mobile .schedule-item-date {
	text-align: center;
	top: 0;
	margin-bottom: 2px;
}

.schedule-item-box__mobile .schedule-item-date h3 {
	line-height: 1.2em;
	padding-top: 5px;
	color: #ffffff;
	margin-bottom: 0;
}

.schedule-item-image {
    float: left;
    width: 25%;
    height: 160px;
	overflow: hidden;
	margin-right: 10px;
}

.archive .tax-festival-year .schedule-item-image.cover img {
	transition: 0.5s;
	-webkit-transition: 0.5s;
	transform: scale(1.01);
}

.archive .tax-festival-year .schedule-item:hover > .schedule-item-image.cover img {
	transform: scale(1.03);
}

.schedule-item h3 { 
    margin-bottom: 0px; 
    line-height: 1.2em; 
}

.schedule-item p { 
    margin-bottom: 0px; 
}

.schedule-item-more {
    position: relative;
    top: 45px;
    color: white;
}
.schedule-item-more a {
    display: block;
    height: 100%;
    width: 100%;
}
.schedule-item-more .glyphicon {
    margin-bottom: 0px;
}

/* Film & Program Pages */

button a {
    color: #ffffff;
    font-weight: bold;
}
button a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.program__image {
	position: relative;
	height: 0;
	padding-top: 56.25%;
}

.program__image .elementor-shortcode {
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
}

.program__image .elementor-shortcode img {
	height: 100%;
	width: 100%;
}

.view-trailer {
	border: none;
	padding: 3px;
}

.screening-info h1 {
    margin: 0;
}
.screening-info h2 {
    border-bottom: 2px solid black;
    margin-right: -1000px;
    padding-bottom: 15px;
}

.film-info {
    margin-top: 15px;
    padding: 10px;
    font-size: 16px;
    background: #f3f3f3;
}
.film-info p {
    margin-bottom: 5px;
}
.film-info p:last-child {
    margin-bottom: 0px;
}

.film-info.screening {
    height: 100%;
    display: inline-block;
    width: 100%;
    background: #f3f3f3;
    text-align: left !important;
    padding: 0;
	margin: 0;
}

.screening-icon { 
    float: left;
    text-align: center;
    height: 65px;
    width: 65px;
	background-color: #fddc26;
	/* background-color: #e66920; Halloween */
    padding: 10px;
    color: #000000;
}

.screening-icon .glyphicon {
    top: 7px;
    font-size: 30px;
}

.screening-info { 
    display: inline-block; 
    float: left; 
    position: relative;
	top: 1px;
    padding: 7px;
    font-weight: 700;
}

.screening-info .glyphicon {
    top: 2px;
}

.screening-info p {
    margin-bottom: 0;
}

.schedule-item-box.showtimes {
    height: 25px;
}

.tickets {
    float: right;
    border-radius: 0 !important;
    height: 65px;
	padding: 0 !important;
}

.tickets a, .tickets a:hover {
	color: #0a0a0a;
	padding: 20px;
}

.mobile-tix {
    position: relative;
    width: 100% !important;
    border-radius: 0 !important;
    height: 45px;
}

.short-films__header {
    text-align: center;
    margin-bottom: 0px;
}

.short-film__anchor {
	height: 20px;
}

.short-film__item {
	margin-bottom: 0;
}

.short-film__image {
    width: 36%;
    height: 200px;
    margin-right: 15px;
}

.short-film__image img {
    width: 100%;
}

.short-film__details {
	padding: 10px 10px 0;
}

.short-film__title {
	padding-top: 5px;
}

.short-film__info {
    margin-bottom: 10px;
}

/**** FILM GRIDS ****/

.search-results .search-form {
	margin: 0 -15px 15px -15px;
}

.search-results .col-sm-3 {
   padding-left: 10px;
   padding-right: 10px;
}

.search-results .form-group.filters {
   text-align: center;
}

.search-results .form-control {
   display: inline-block;
   width: 20%;
}

.search-results .navigation {
	text-align: center;
}

.search-results .navigation a,
.search-results .pagination a:hover {
   	color: #000000;
}

.search-results .pagination a:hover {
	color: #000000;
}

.search-results .pagination .active span {
    color: #000000;
    background-color: #fddc26;
    border-color: #fddc26;
    transition: all .25s;
}

.search-results .pagination .active span:hover {
    background-color: #fddc26;
    opacity: 0.69;
    border-color: #fddc26;
}

.film-grid__item {
    box-shadow: 0 0 10px 0 rgba(0,0,0,.075);
    margin-bottom: 20px;
    overflow: hidden;
	border-radius: 5px;
}

.dispatches .film-grid__item {
	background: #ffffff;
}

.film-grid__item:hover {
   box-shadow: 0 0 30px 0 rgba(0,0,0,.075);
}

.search-results .film-grid__item p {
	margin-bottom: 0;
}

.film-grid__thumbnail {
   position: relative;
   overflow: hidden;
   height: 0;
   padding-top: 56.25%;
}

.film-grid__thumbnail img {
   position: absolute;
   top: 0;
   height: 100%;
   width: 100%;
   transition: all .5s;
}

.film-grid__type {
	position: absolute;
	z-index: 10;
	top: 0;
	margin: 5px;
	padding: 0 6px 0 6px;
	background: #fddc26;
	background: rgba(253, 220, 38, 0.69);
	border-radius: 2px;
}

.film-grid__type p {
	font-size: 14px;
	font-weight: bold;
	color: #000000;
}

.film-grid__item:hover > .film-grid__thumbnail img {
   transform: scale(1.02);
}

.film-grid__details {
	padding: 10px;
	color: #000000
}

.film-grid__details .truncate {
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

.film-grid__title {
   font-weight: bold;
   font-size: 20px;
   margin: 0;
}

.film-grid__director, .film-grid__country {
   font-size: 14px;
}

.film-grid__date, .film-grid__venue {
	font-size: 16px;
	margin-bottom: 0;
}

.film-grid__details .glyphicon {
	position: relative;
	top: 2px;
	padding-right: 2px;
}

.search-results .oceanwp-pagination {
	display: none;
}

/* Dispatches */
.dispatches .page-header {
	display: none;
}

/* New Schedule Styles */

.schedule__day {
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 18px;
	line-height: 1em;
}

.schedule__day--wrapper {
	padding: 30px 0 30px 8px;
	border-radius: 15px 5px;
	min-width: calc((160px * 16 / 9) + 32px + 50px);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
	margin-bottom: 45px;
}

.schedule-item__wrapper {
	display: flex;
	position: relative;
	height: 160px;
	min-width: calc((160px * 16 / 9) + 32px);
	max-width: calc(100% - 50px);
	margin: 0 auto;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .05);
	margin-bottom: 30px;
	transition: all .5s ease-in-out;
}

.schedule-item__wrapper:hover {
	box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.1);
}

a .schedule-item__wrapper {
 	color: #0a0a0a;
}

.schedule-item__time {
	position: absolute;
	text-align: center;
	width: 160px;
	top: 50%;
	left: -95px;
	transform-origin: 50% 50%;
	transform: translateY(-50%) rotate(270deg);
	font-family: 'neue-kabel';
	font-size: 18px;
	font-weight: bold;
}

.schedule-item__image {
	flex-grow: 0;
	flex-shrink: 0;
	height: 160px;
	width: calc(160px * 16 / 9);
}
.schedule-item__image img {
  	border-radius: 5px 0 0 5px;
}

.schedule-item__details {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-content: flex-start;
	height: calc(100% - (15px + 10px));
	margin: 15px 15px 12px;
}

.schedule-item__details p.title {
	font-family: 'neue-kabel';
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 8px;
}

.schedule-item__details p,
.schedule-item__details li {
	font-size: 18px;
	line-height: 1em;
	margin-bottom: 5px;
	margin-right: 3px;
}

.schedule-item__details ul {
	list-style: none;
	margin: 0;
}
.schedule-item__details li {
  	display: inline-block;
}
.schedule-item__details li + li::before {
  	content: " • ";
}

.schedule-item__end-badge {
	background-color: #FDDC26;
 	border-radius: 5px 5px 0 0;
	position: absolute;
	text-align: center;
	width: 160px;
	height: 32px;
	top: 50%;
	right: -64px;
	transform-origin: 50% 50%;
	transform: translateY(-50%) rotate(90deg);
	font-size: 15px;
	text-transform: uppercase;
	line-height: 1em;
	padding-top: 9px;
}

/* New Schedule Mobile Styles */

@media only screen and (max-width: 768px) {
	.schedule__day--wrapper {
		box-shadow: none;
		padding: 0;
	}
	.schedule-item__wrapper {
		height: auto;
		flex-direction: column;
	}
	.schedule-item__image {
		width: calc(100%);
	}
	.schedule-item__image img {
		border-radius: 5px 5px 0 0;
	}
	.schedule-item__details {
		margin-top: 46px;
	}
	.schedule-item__details--bottom {
		display: none;
	}
	.schedule-item__end-badge {
		width: 100%;
		transform: translateY(0) rotate(0);
		top: 160px;
		right: 0;
		border-radius: 0;
	}
}

/* Audience Polling - YOP Poll Widget */
/*
.audience-poll .basic-yop-poll-container {
    visibility: hidden;
}

.audience-poll .basic-yop-poll-container[data-id] {
    visibility: visible;
    margin-top: -20px;
}

.audience-poll .basic-inner {
    padding-top: 0px;
}

.audience-poll .basic-answers .row {
    margin-bottom: 5px;
}

.audience-poll .basic-question-title {
    font-family: 'neue-kabel';
    text-align: center;
    font-size: 22px;
    font-weight: 900;
}


.audience-poll .basic-label-media .basic-text {
    display: block;
    height: 160px;
    margin-bottom: 30px;
    overflow: hidden;
    padding: 0;
}

@media (min-width: 750px) {
    .audience-poll .row .basic-inner {
        margin-right: 10px;
    }
}

.audience-poll .basic-text {
    font-size: 22px;
    line-height: 1.4em;
}

.audience-poll .basic-text img {
    min-height: calc(100%);
    min-width: 100%;
    object-fit: cover;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.audience-poll .basic-label-media input[type=radio] {
    visibility: hidden;
}

.audience-poll .basic-label-media :checked + .basic-answer-content .basic-text {
    outline: 5px solid #fcd600;
}

.audience-poll .basic-label-media :checked + .basic-answer-content .basic-text .basic-media-text {
    background: #fcd600;
    outline: 3px solid #fcd600;
}

.audience-poll .basic-media-text {
    position: absolute;
    padding: 0 4px;
    left: -2px;
    top: 163px;
    line-height: 1.2em;
    background: white;
    display: block !important;
    font-family: 'neue-kabel';
    font-size: 18px;
    max-width: calc(100% - 5px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audience-poll .basic-custom-field {
    margin: 10px 0 0;
    padding: 5px;
}

.audience-poll .basic-vote {
    margin-top: 0;
    padding: 0 5px;
}

.audience-poll .basic-vote-button {
    padding: 10px 20px !important;
}
*/