/*
Theme Name: Disarming Films 2

*/

/*
HTML Boilerplate styles can be found in the html5-boilerplate/css directory.
*/

/* WordPress Required Styles */
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
}
	
.sticky h2 {
	padding-top: 10px;
}

h1, h2 {
	font-family: "Rockwell", sans-serif;
	font-weight: normal;
}

h1 {
	font-size: 3em;
	margin: 1em 0 0.5em;
}

h1:first-child {
	margin-top: 0;
}

h2 {
	font-size: 2em;
	margin: 1em 0;
}

p {
	font-size: 16px;
	line-height: 24px;
	margin: 1em 0;
	font-weight: lighter;
}

p:last-child {
	margin-bottom: 3em;
}

p:first-child {
	margin-top: 0;
}

a, a:visited {
	font-weight: 600;
	text-decoration: none;
	color: #5070D0;
}

a:hover {
	color: #DDD;
	text-decoration: underline;
}

h2 a, h2 a:visited {
	color: white;
	font-weight: normal;	
}

/* LAYOUT */

body {
	background-color: black;
	color: white;
	font-size: 16px;
	overflow: hidden;
}

.small {
	font-size: 0.8em;
}

.bannerimg {
	position: absolute;
	left: 20px;
	top: 20px;
}

body.home .bannerimg {
	top: 95px;
	left: 20px;
}

@media screen and (max-width: 817px) {
	body.home .bannerimg img {
		width: 640px;
		height: 69.6px;
		margin-top: 19px;
	}
}

body.single .bannerimg img, body.error404 .bannerimg img, body.page:not(.home) .bannerimg img {
	width: 400px;
	height: 44px;
}

body.post-type-archive-tia_blog_post .bannerimg img {
	width: 400px;
	height: 44px;
}

.tagline {
	font-family: "Rockwell", sans-serif;
	position: absolute;
	top: 37px;
	left: 435px;
	color: #CCC;
        width: 500px;
}
body.home .tagline {

	top: 170px;
	left: 35px;
	font-size: 1.25em;
}

.pagelist {
	position: absolute;
	top: 80px;
	left: 20px;
}

body.home .pagelist {
	top: 550px;
	left: 20px;
}

.pagelist ul {
	font-size: 1.8em;
	list-style-type: none;
	text-transform: uppercase;
	margin: 0;
	width: 4000px;
}

.pagelist ul li {
	float: left;
	margin-right: 40px;
	margin-bottom: 10px;
	width: 400px;
}

.pagelist ul li:first-child {
	width: 160px;
}

.pagelist ul li:nth-child(3) {
	width: 140px;
}

.pagelist ul li:nth-child(4) {
	width: 250px;
}

@media screen and (max-width: 1360px) {
	.pagelist {
		width: 1050px;
	}

	.pagelist ul {
		font-size: 1.5em;
	}

	.pagelist ul li {
		margin-right: 20px;
		width: 220px;
	}
}

@media screen and (max-width: 1050px) {
	.pagelist {
		width: 768px;
	}
	.pagelist ul {
		font-size: 1em;
	}
	.pagelist ul li {
		width: auto;
	}

	.pagelist ul li:first-child {
		width: 200px;
	}
	.pagelist ul li:nth-child(3) {
		width: 130px;
	}

	.pagelist ul li:nth-child(4) {
		width: 100px;
	}
}

.pagelist ul li a {
	text-decoration: none;
	color: white;
	font-family: "Rockwell", sans-serif;
	color: #CCC;
	font-weight: 400;
}

.pagelist ul a:before {
	display: block;
	float: left;
	content: '\25BA';
	font-size: 1em;
	color: rgba(0,0,0,0);
	text-shadow: 0 0 10px rgba(155,155,155,0.5);
}

.pagelist ul a:hover {
	color: white;
	text-decoration: none;
}

.pagelist ul a:hover:before {
	text-shadow: 0 0 10px rgba(255,255,255,1);
}

.pagelist ul li.current_page_item a:before {
	text-shadow: 0 0 10px rgba(209, 81, 93, 1);
}

.filmlist {
	position: absolute;
	left: 50px;
	top: 130px;
}

.filmlist ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	width: 1300px;
}

.filmlist ul li {
	float: left;
	margin-right: 20px;
}

.filmlist ul li a {
	color: #FFF;
}

.filmlist ul li a:hover {
	text-decoration: underline;
}

.scroller {
	width: 100%;
	height: 297px;
	background-color: black;
	position: absolute;
	top: 220px;
	left: 0;
	overflow: hidden;
	border-width: 1px 0;
	border-color: rgba(50,50,50,0.75);
	border-style: solid;
	min-width: 1360px;
}

@media screen and (max-width: 1360px) {
	.scroller {
		min-width: 1050px;
	}
}

@media screen and (max-width: 1050px) {
	.scroller {
		min-width: 768px;
	}
}

.scrollrel {
	position: relative;
	top: 0;
	left: 0;
}

.scroller ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	height: 297px;
	width: 6000px;
	position: absolute;
	top: 0;
	left: 0;
}

.scrollmover {
	position: absolute;
}

a.scrollerlink {
	display: block;
	text-decoration: none;
	color: white;
}

.scroller ul li {
	margin: 0 0 0 -1px;
	padding: 0;
	width: 480px;
	height: 297px;
	display: block;
	float: left;
	position: relative;
	border-left: 1px solid rgba(50,50,50,0.75);
	cursor: pointer;
}

.scroller ul li figure figcaption {
	position: absolute;
	width: 460px;
	bottom: 10px;
	left: 10px;
	text-align: center;
	text-transform: uppercase;
	color: white;
	background-color: rgba(25,25,25,0.5);
	padding: 10px 0;
	border-radius: 20px;
	font-weight: bold;
	opacity: 0;
	transition: opacity 0.3s linear;
	-webkit-transition: opacity 0.3s linear;
}

.scroller ul li:hover figure figcaption {
	opacity: 1;
}

.content {
	position: absolute;
	left: 0;
	top: 180px;
	width: 100%;
}

.modalcontent .content {
	position: static;
	top: 0;
}

.content article.post {
	border-top: 1px solid #333;
	width: 854px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 20px;
	margin-top: 20px;
}

.modalcontent .content article.post {
	border-top: none;
	width: 80%;
}

.content article.post h1 {
	text-align: center;
}

body.home .content {
	left: 20px;
	top: 660px;
	width: 750px;
}

body.single .content footer, body.page:not(.home) .content footer {
	margin-left: 20px;
}

body.home .content footer {
	margin-top: -80px;
}


.overlaywrapper {
	display: none;
}

.overlaywrapper.loaded {
	display: block;
}

.overlay {
	position: fixed;
	z-index: 10;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
}

.modal {
	position: absolute;
	z-index: 11;
	min-width: 80%;
	min-height: 80%;
	top: 10%;
	left: 10%;
	background-color: #181818;
	border-radius: 3px;
	box-shadow: 2px 2px 5px black;
	overflow: hidden;
	-webkit-transform: scale(2);
	opacity: 0;
	border: 4px solid white;
}

.overlaywrapper.loaded .modal {
	-webkit-transform: scale(1);
	opacity: 1;
	-webkit-transition: opacity 0.5s ease-in-out
}

.modalrel {
	position: relative;
	width: 100%;
	height: 100%;
	margin-bottom: 20px;
}

.modalclose {
	display: block;
	position: absolute;
	background-image: url(images/closebutton.png);
	width: 24px;
	height: 24px;
	top: 10px;
	left: 10px;
	z-index: 1;
	cursor: pointer;
	text-decoration: underline;
	font-size: 0.8em;
	color: #999;
}

.discretewrapper {
	display: block;
	position: absolute;
	bottom: 40px;
	right: 20px;
	text-align: right;
}

a.discrete {
	margin-left: 10px;
	text-decoration: none;
	font-size: 1em;
	color: #999;
}

.modalclose.bottom {
	bottom: 20px;
	top: auto;
	left: 20px;
	background-image: none;
}

.loadgifwrap {
	position: fixed;
	width: 0;
	height: 0;
	top: 50%;
	left: 50%;
	z-index: 20;
	display: none;
}

.loadgifwrap.loading {
	display: block;
}


.loadgif {
	position: relative;
	width: 32px;
	height: 32px;
	top: -16px;
	left: -16px;
	background-image: url(images/ajax-loader.gif);

}

.modalcontent {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.videowrapper {
	display: block;
	margin-right: auto;
	margin-left: auto;
	border: 1px solid #222;
	width: 480px;
	height: 297px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.videorel {
	width: 100%;
	height: 100%;
	position: relative;
	cursor: pointer;
}

.videorel p {
	text-align: center;
	position: absolute;
	top: 130px;
	width: 100%;
	font-size: 1.5em;
	text-transform: uppercase;
}

.videowrapper img {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.2;
}


.videowrapper.active {
	width: 854px;
	height: 500px;
}

.wp-caption {
	margin-top: 40px;
	margin-bottom: 40px;
	color: black;
}

.wp-caption.aligncenter {
	margin-right: auto;
	margin-left: auto;
}

img.size-medium {
	border: 1px solid #333;
}