/*
	Theme Name: Fred Avril V2
	Theme URI: http://www.fred-avril.com
	Description: Fred Avril V2 theme
	Version: 1.0
	Author: William Pinaud - DocFX
	Author URI: http://www.innersonics.net
	Tags: HTML5, CSS3

*/

@font-face {
    font-family: FreeSans;
    src: url("wp-content/themes/html5blank-stable/fonts/FreeSans.otf");
    src: url("wp-content/themes/html5blank-stable/fonts/FreeSans.ttf");
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'FreeSans', Helvetica, Arial, sans-serif;
	color:#101010;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#606060;
	text-decoration:none;
	transition: all 0.15s ease 0s;
}

a:hover {
	color:#a0a0a0;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

body.page-template-page-front {
    display: flex;
    height: 100%;
    position: absolute;
    width: 100%;
}

/* wrapper */
.wrapper {
	max-width:1000px;
	width:95%;
	margin:0 auto;
	position:relative;
}

.page-template-page-front .wrapper {
    margin: auto;
    position: relative;
}

.page-template-page-front header {
    margin: 0 0 2em;
}

/* header */
.header {
    margin: 4em 0 2em;
}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/* Custom */
.showreel-container {
    align-items: flex-start;
    box-sizing: border-box;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}

.main-video-container {
    align-self: normal;
    margin-right: 5%;
    position: relative;
    width: 70%;
}

.main-video-description {
    box-sizing: border-box;
    color: #505050;
    font-size: 2em;
    max-height: 0;
    min-height: 225px;
    padding: 0;
}

.main-video-description h1 {
    margin: 0em 0 0.3em;
    text-transform: uppercase;
	color: #a0a0a0;
	font-size: 1em;
}

.main-video-description h1 strong {
    color: #707070;
}

.main-video-description h2 {
    color: #505050;
    font-size: 0.6em;
    margin: 0 0 1em;
    font-weight: normal;
}

.front-content-separator {
    border-bottom: 1px solid #f4f4f4;
    display: inline-block;
    margin-bottom: 1em;
    width: 100%;
	visibility: hidden;
}

.main-video-container > img {
    height: auto;
    margin: auto;
    position: relative;
    width: 100%;
    z-index: 0;
    display: block;
}

.main-video-container > iframe {
    display: block;
    margin: auto;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.side-videos-container {
    align-items: center;
    column-count: 5;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.main-sidebar {
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
	justify-content: space-between;
    height: 100%;
    width: 25%;
}

.side-video-container {
    background-color: #101010;
    margin-left: 1%;
    margin-top: 5px;
    min-height: 80px;
    overflow: hidden;
    position: relative;
    width: 32%;
}
.side-video-container > img {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.side-video-container > iframe {
    height: 250%;
    left: -75%;
    position: absolute;
    top: -75%;
    width: 250%;
    z-index: 1;
	opacity: 0;
}


.side-video-container:hover > iframe {
    opacity: 1;
}


.side-video-container > a {
    align-items: center;
    box-sizing: border-box;
    color: #ffffff;
    display: flex;
    font-size: 1em;
    font-weight: bold;
    height: 100%;
    justify-content: center;
    left: 0;
    padding: 0.5em;
    position: absolute;
    text-align: center;
    top: 0;
    transition: all 0.25s ease 0s;
    vertical-align: middle;
    width: 100%;
    z-index: 2;	
}

.side-video-container > a span {
    
}

.side-video-container > a img {
	
}

.side-video-container > a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 6px 22px rgb(0, 0, 0);
    color: #efefff;
    opacity: 1;
}

.main-video-container > iframe {
    background: rgba(255, 255, 255, 0.95) url("wp-content/themes/html5blank-stable/img/ring.gif") no-repeat scroll center center;
}

.logo {
    float: left;
    min-width: 30%;
	display: none;
}

.logo > a {
    color: #e4e4e4;
    font-size: 5em;
    font-weight: bold;
    text-transform: uppercase;
}

.logo > a:hover {
	color: #808080 !important;
}

header nav {
    float: left;
    min-width: 40%;
}

header nav > ul {
	display: inline-block;
    list-style: outside none none;
	padding: 0;
}

header nav > ul li {
    display: inline-block;
    float: left;
    line-height: 4em;
    padding: 1em 5em 0 0;
    text-align: center;
    vertical-align: middle;
}

header nav > ul li  a {
	display: block;
}

header nav > ul li a {
    font-size: 1.3em;
    text-transform: uppercase;
	color: #a6a6a6;
}

header nav > ul li a:hover {
	text-decoration: underline;
	color: #303030;
}

.main-content {
    font-size: 14px;
	overflow: hidden;
	display: none;
}

.main-content p {
    font-size: 14px !important;
}

.post-image-container {
    background-color: #303030;
    display: flex;
    height: 400px;
    position: relative;
    width: 100%;
}

.post-image-container > img {
    float: left;
    max-width: 50%;
}

.post-video-container {
    float: left;
    width: 50%;
}

.post-video-container iframe {
    height: 100%;
    width: 100%;
}

.page .type-page p, .single-post .post p {
    font-size: 1.2em;
}

#sharing {
    display: block;
    opacity: 0.4;
    position: absolute;
    right: 3em;
    top: 0;
    transition: all 0.15s ease-in 0s;
}

#sharing:hover {
	opacity: 1.0;
}

.liker {
    float: right;
    margin: 2.5em 0 1em 2em;
    padding: 1em 0 0.5em 2em;
}

.copyright {
    color: #e4e4e4;
}

#main-title {
    color: #d0d0d0;
}


.halfaudio {
    width: 40%;
    display: inline-block;
    padding: 0 4%;
    box-sizing: content-box;
    margin: 0;
    text-align: center;
}

.halfaudio h1, .halfaudio iframe {
    position: relative;
    margin: auto;
}

.halfaudio h1 {
    line-height: 30px;
    background-color: #ffffff;
    display: inline-block;
    padding: 50px;
    position: relative;
    width: 100%;
    z-index: 11;
}

.halfaudio iframe {
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

main section > h1 {
    display: none;
}


/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:320px) {

}
@media only screen and (max-width:480px) {
	.side-video-container {
		width: 100% !important;
	}

	.halfaudio {
	    width: 100%;
	}
}
@media only screen and (max-width:768px) {
	#sharing {
		display: none;
	}
}

@media only screen and (max-width:1280px) {
	.side-video-container {
		min-height: 80px;
	}
}

@media only screen and (max-width:1140px) {
	.side-video-container {
		min-height: 70px;
	}
}

@media only screen and (max-width:1024px) {
	.showreel-container,
	.main-video-container,
	.main-video-description,
	.side-videos-container,
	.side-video-container,
	.post-image-container,
	.post-image-container > img,
	.post-image-container .post-video-container,
	.main-sidebar
	{
		width: 100%;
		height: auto;
	}
	
	.post-image-container {
		display: flex;
		column-count: 1;
		columns: 1;
	}
	
	.post-image-container > img {
		display: none;
	}	
	
	.post-image-container .post-video-container
	{
		width: 100%;
		float: none;
		max-width: none;
		position: relative;
		clear: both;
		z-index: 1;
	}
	
	.side-video-container {
		min-height: 300px;
		width: 50%;
		position: relative;
		margin: auto;
	}
	
	.main-video-description {
		width: 100%;
		text-align: center;
		padding-top: 1em;
		min-height: 100px;
	}
	
	.main-video-container iframe {
		width: 100%;
	}
	
	header nav > ul li {
	    display: inline-block;
		line-height: 2em;
		padding: 0 !important;
		text-align: center;
		vertical-align: middle;
		width: 50%;	
	}
	
	.page-template-page-front header {
		margin: 0;
	}
}

@media only screen and (-webkit-max-device-pixel-ratio:1.5),
	   only screen and (max-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
