/*
Theme Name: Polar 04
Author: Elemental Films
Version: 4.0
*/

/******************************************************************
Base Styles
******************************************************************/

/*********************
GENERAL STYLES
*********************/
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
}

html {
	overscroll-behavior: none;
	font-size: 24px;
}

body {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	font-family: 'Asap', Helvetica, Arial, sans-serif;
	font-weight: 400;
	color: #2d2d2d;
	background: #2d2d2d;
	font-size: 0.6em;
}

.clearfix:after, .wpcf7-form:after {
	content: "";
	display: table;
	clear: both;
}

/*********************
HEADER STYLES
*********************/

.pageHead {
	position: relative;
	width: 100%;
	margin: 0 auto;
}

.pageHead img {
	width: 100%;
	display: block;
	line-height: 0;
	object-fit: cover;
}

nav p {
	font-size: 2em;
	font-weight: 500;
	letter-spacing: -2px;
	color: #ffffff;
	text-align: center;
	line-height: 0.5;
}

nav a {
	color: #ffffff;
	text-decoration: none;
}

nav span.leftDot {
	letter-spacing: normal;
}

/* never shows but needed to center text in column*/
nav a span.leftDot {
	visibility: hidden;
}

span.rightDot {
	opacity: 0;
	letter-spacing: normal;
	transition: opacity 0.15s ease-out;
	padding-left: 0.1em;
}

a:hover span.rightDot {
	opacity: 1;
}

/*********************
TEXT STYLES
*********************/
h1 {
	font-size: 2em;
	font-weight: 500;
	letter-spacing: -0.04em;
	margin: 0;
	line-height: 0.8;
}

h1 a {
	color: #2d2d2d;
	text-decoration: none;
}

h1 a:hover {
	color: #2d2d2d;
}

h1 a:focus {
	outline: none;
}

h2 {
	font-size: 1em;
	font-weight: 400;
}

h3 {
	font-size: 1em;
	font-weight: 500;
}

body.home h3 {
	margin-bottom: 0.6em;
}

blockquote {
	padding: 0 4.5%;
	margin: 0;
}

blockquote p {
	font-style: italic;
	margin-top: -0.167em;
}


/*********************
PAGE STYLES
*********************/

#modal-fill {
	height: 70px;
	width: 100%;
	background-color: #FFFFFF;
}

#container {
	width: 100%;
	max-width: 1440px;
	min-height: calc(100% - 70px);
	margin: 0 auto;
	background-color: #ffffff;
	padding-bottom: 3.9em;
	box-sizing: border-box;
}

section, #commenter {
	width: 90%;
	margin: 0 auto;
}

.contentHold, .filmHold {
	padding-top: 2.5em;
}

body header {
	margin-bottom: 1.25em;
}

.award {
	display: none;
	width: 100%;
	height: 70px;
	margin-top: 30px;
	padding: 10px 0;
	background-color: #c6951e;
}
.award #bifa {
	width: 100%;
	max-width: 328px;
	height: 100%;
	margin: 0 auto;
	background: url(img/bifa-winner.svg) center center no-repeat;
}

#container div:nth-child(2) {
	display: block;
}

.deep {
	margin-bottom: 1.65em;
}

article {
	margin: 0 0 2.5em;
}

article p {
	line-height: 1.2;
	margin: 0 0 1.25em;
}

p.separator {
	font-size: 2em;
	text-align: center;
}

section:last-of-type p.separator{
	display: none;
}

article a {
	color: #9d9d9d;
	text-decoration: underline;
}
article a:hover {
	color: #2d2d2d;
	text-decoration: none;
}

article img {
	width: 100%;
	height: auto;
	padding: 0 0 0.83em;
}

.more-link {
	text-decoration: none !important;
}

.postMeta, .commentMeta {
	text-align: left;
	font-size: 0.75em;
	color: #9d9d9d;
}

.postMeta {
	padding-top: 0.56em;
}

.postMeta a, .commentMeta a {
	color:#9d9d9d;
	text-decoration: underline;
}
.postMeta a:hover, .commentMeta a:hover {
	color: #2d2d2d;
}

.logo-single, .logo-double {
	position: relative;
	top: calc(-1 * ( 1vw + 30px ) );
	width: 100%;
	height: 20px;
	margin: 0;
}

/*
.logo-double {
	width: 274px;
	display: flex;
	justify-content: space-between;
}
*/
.watch, .app {
	width: 135px;	
	height: 40px;
	margin: 0;
	cursor: pointer;
}

.watch {
	position: absolute;
	right: 0;
	background: url(img/elemental-play.svg) center top no-repeat;
}

.app {
	background: url(img/App_Store_Badge_US-UK_135x80.svg) center top no-repeat;
}

.watch:hover, .app:hover {
	background-position: center -40px;	
}

#latest {
	width: 100%;
	max-width: 570px;
	margin: 0 auto 1.25em;
	border-bottom: #303030 0.2em solid;
	border-top: #303030 0.2em solid;
	text-align: center;
}

.latestClick {
	width: 100%;
	padding-top: 1.55em;
}
.latestClick img {
	display: block;
	width: 100%;
	height: auto;
	padding: 0;
	margin: 0 0 1.25em;
}

/* -------- Bitmovin Player ---------- */

#player-wrapper {
	width: 100%;
	margin: 2.5em auto 0;
	font-size: 12px;
}

/*********************
FOOTER STYLES
*********************/

#containerFoot {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	background-color: #ffffff;
}

footer {
	width: 90%;
	height: 3em;
	margin: -3.9em auto 0;
	border-top: #303030 0.2em solid;
	padding-bottom: 0.6em;
}

#leftFoot {
	width: 60%;
	float: left;
}

#leftFoot p {
	font-size: 0.8em;
	line-height: 0.28;
}

#twit {
	float: right;
	margin-top: 0.5em;
	width: 40px;
	height: 40px;
	background-image: url(img/twit.png);
	background-position: 50% 0;
	background-repeat: no-repeat;
	cursor: pointer;
}

#twit:hover {
	background-position: 50% 100%;
}

#rightFoot {
	display: none;
	margin-top: 0.5em;
	width: 50%;
	background: url(img/elemental-logo.svg) center top no-repeat;
	background-size: contain;
	height: 100%;
}

/*********************
MAILER & PASSWORD FORM STYLES
*********************/

/* 2025-06-28 fix an error in Contact Form 7 styling */
.hidden-fields-container {
	border: none;
}

#wpcf7-form {
	width: 100%;
}

.findsplit {
	width: 100%;
}

textarea, input[type="text"], input[type="submit"], input[type="email"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

input:focus, textarea:focus, input:required:invalid:focus, textarea:required:invalid:focus {
	outline: none;
	background-color: #dbdbdb;
}

textarea:required:invalid, input:required:invalid {
	box-shadow: none;
	outline: none;
}

span.wpcf7-quiz-label {
	display: none;
}

input.wpcf7-text, input.wpcf7-quiz, textarea, .pass-look {
	padding: 0.5em;
	border: none;
	background-color: #ededed;
	outline: none;
	border-top: 3px solid #303030;
	transition: background-color 0.15s ease-in-out;
	box-sizing: border-box;
	border-radius: 0;
}

textarea {
	height: 10em;
	width: 100%;
	resize: none;
	overflow: auto;
	margin: 0 0 0.5em;
}

input.wpcf7-text, input.wpcf7-quiz {
	width: 100%;
	height: 3.5em;
	margin: 0 0 0.5em;
}

.pass-look, .pass-submit {
	width: 100%;
	max-width: 300px;
	display: block;
}

.pass-look {
	height: 3.5em;
	margin: 0 0 0.5em;
}

.pass-label {
	display: none;
}

input.wpcf7-submit, .pass-submit {
	margin: 0;
	height: 3.5em;
	background-color: #303030;
	border: none;
	width: 100%;
	text-align: center;
	outline: none;
	color: #ffffff;
	opacity: 0.7;
	transition: opacity 0.3s ease-out;
	box-sizing: border-box;
	border-radius: 0;
}

input[type="submit"]:hover {
	opacity: 1;
	cursor: pointer;
}

.screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	margin: 0;
	padding: 0;
	border: 0;
}

.ajax-loader {
	display: none;
}

#msgHold {
	position: relative;
	width: 100%;
	margin: 1.3em 0 0;
}

.wpcf7-response-output {
	width: 100%;
	font-size: 100%;
	text-align: center;
}

.wpcf7-display-none {
	display: none;
}

span.wpcf7-not-valid-tip {
	display: none;
}

textarea.wpcf7-not-valid, input.wpcf7-not-valid {
	border-top: 3px solid #AF1E2D !important;
}

/*****************
PAGINATION STYLES
*******************/
.pagination {
	text-align: center;
	margin: -0.3em 0 2.5em;
}

.pagination span.leftDot {
	opacity: 0;
	letter-spacing: normal;
	transition: opacity 0.15s ease-out;
}

.pagination span.leftDot {
	padding-right: 0.05em;
}

.pagination a {
	color: #9d9d9d;
	text-decoration: none;
	padding: 0.75em;
}

.pagination a:hover {
	color: #2d2d2d;
}

.pagination a:hover span.leftDot  {
	opacity: 1;
}

/*********************
COMMENT STYLES
**********************/

.form-submit {
	display: inline;
}

.comment-list {
	margin: 0 0 2.5em;
	padding: 0;
	list-style-type: none;
}

.children {
	list-style-type: none;
}

.comment-list h2 {
	margin: 0;
}

.comment-list p {
	line-height: 1.2;
	margin: 1.25em 0;
}

li.depth-1 {
	margin-bottom: 2.5em;
}

#reply-title {
	margin: 0 0 -1em;
}

.comment-reply-title {
	font-size: 0.75em;
	color: #9d9d9d;
}

.comment-reply-title a {
	color: #9d9d9d;
	text-decoration: underline;
}
.comment-reply-title a:hover {
	color: #2d2d2d;
}

/*********************
MEDIA QUERIES
*********************/

@media screen and (min-width:360px) {
	.wpcf7-response-output {
		width: 80%;
		margin: 0 auto;
	}
}

@media screen and (min-width: 380px) {
	#leftFoot {
		width: 40%;
	}
	#twit {
		float: left;
		width: 20%;
	}
	#rightFoot {
		display: block;
		float: right;
		width: 35%;
		max-width: 180px;
	}
}

@media screen and (min-width: 420px) {
	.pageHead img {
		object-fit: contain;
	}
}

@media screen and (min-width: 540px) {
	.wpcf7-response-output {
		width: 100%;
		text-align: center;
	}
}


@media screen and (min-width: 480px) {
	#latest {
		width: 66%;
	}
	#player-wrapper {
		font-size: 16px;
	}
}

@media screen and (min-width: 550px) {
	section, #commenter {
		width: 60%;
	}
	#latest {
		width: 100%;
	}
	footer {
		width: 60%;
		border-top: 3px solid #303030;
	}
}


@media screen and (min-width: 700px) {
	#latest {
		width: 66%;
	}
}

@media screen and (min-width: 768px) {
	body {
		font-size: calc(14.4px + (24 - 14.4) * ((100vw - 768px) / (1440 - 768)));
	}
}

@media screen and (min-width: 800px) {
		
	.findsplit {
		width: 34%;
		float: right;
	}

	textarea {
		height: 162px;
		width: calc(66% - 6px);
		float: left;
		margin: 0;
	}
	
	input.wpcf7-text, input.wpcf7-quiz, input.wpcf7-submit {
		width: 100%;
		height: 50px;
		margin: 0 0 6px;
	}

	.pass-look, .pass-submit {
		height: 50px;
	}
	.pass-look {
		margin: 0 0 6px;
	}
}

@media screen and (min-width: 900px) {
	input.wpcf7-text, input.wpcf7-quiz, textarea, .wpcf7-response-output, .pass-look, .pass-submit {
		font-size: 0.9em;
	}
}

@media screen and (min-width: 1024px) {
	footer {
		border-top: 4px solid #303030;
	}
	#rightFoot {
		width: 30%;
		max-width: 200px;
	}	
	input.wpcf7-text, input.wpcf7-quiz, textarea, .wpcf7-response-output, .pass-look, .pass-submit {
		font-size: 0.8em;
	}
}

@media screen and (min-width: 1200px) {
	
	input.wpcf7-text, input.wpcf7-quiz, textarea, .pass-look {
		border-top: 4px solid #303030;
	}

	textarea {
		height: 200px;
		width: calc(66% - 10px);
	}
	
	input.wpcf7-text, input.wpcf7-quiz {
		height: 60px;
		margin: 0 0 10px;
	}

	input.wpcf7-submit, .pass-look, .pass-submit {
		height: 60px;
	}

	.pass-look {
		margin: 0 0 10px;
	}
	
	textarea.wpcf7-not-valid, input.wpcf7-not-valid {
		border-top: 4px solid #AF1E2D !important;
	}
}

@media screen and (min-width: 1440px) {
	body {
		font-size: 24px;
	}
}