/*----------------------------------------------------------------------------*/
/*                                                                            */
/* Copyright (c) 2019 by color:gray. All Rights Reserved.    	              */
/*                                                                            */
/* CSS        : layout.css    (mobile-first/responsive)                       */
/*                                                                            */
/* Description: Layout rules for website.com                                  */
/*                                                                            */
/*----------------------------------------------------------------------------*/

/* Resets
---------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, video {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* General settings
---------------------------------*/
body, td, th {
	font-family: 'Montserrat', Arial, Helvetica, sans-serif;
	font-size: 90%;
}
a {
    color: #2080a8;
    text-decoration: none;
    -webkit-transition: color 0.35s;
    transition: color 0.35s;
}
a:hover {
    color: #9a6201;
    text-decoration: underline;
}
p, h1, h2, h3, h4, h5, h6 {
	margin-bottom: 16px;
}
h1 {
    font-size: 2.0em;
}
h2 {
    font-size: 1.5em;
}
h3 {
    font-size: 1.2em;
}
h4 {
    font-size: 1.0em;
}
h5 {
    font-size: 0.8em;
}
h6 {
    font-size: 0.7em;
}
strong, b {
    font-weight: bold;
}
em, i {
    font-style: italic;
}

/* Preload
---------------------------------*/
main {
	opacity: 1;
    transition: 4s opacity;
}
main.fade-out {
    opacity: 0;
    transition: none;
}

/* Logged-in message
---------------------------------*/
p#in {
	position: absolute;
    top: 200px;
    width: calc(90% - 12px);
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 5%;
    padding-right: 5%;
    border: 6px solid #ddd;
    border-radius: 24px;
    background-color: rgba(248, 248, 248, 0.9);
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.4em;
    z-index: 500;
}

/* Wrapper settings
---------------------------------*/
div.hero_spot {
	position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("/images/site/Newman-conducting.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: -100;
}
div.hero_spot div#scrollprompt {
	position: absolute;
    bottom: 32px;
    width: 90%;
    padding: 0 10% 0 0;
    text-align: center;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
}
/*div.video-holder {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
}
div.video-holder video.desktop {
	display: none;
}
div.video-holder video.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
        	-ms-transform: translate(-50%, -50%);
	    		transform: translate(-50%, -50%);
    background-image: url("/images/site/Newman-conducting.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}*/
section {
	position: relative;
	width: 80%;
    padding: 38px 18% 24px 2%;
    margin-bottom: 38px;
    background: #fff;
    z-index: 0;
}

/* Header
---------------------------------*/
header {
    position: relative;
    width: 86%;
    height: 100vh;
}
header img#identity {
    width: 96%;
    height: auto;
}

/* Navigation
---------------------------------*/
nav#menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 15%;
    max-width: 90px;
    height: 100vh;
    background-color: #42494b;
}
nav#menu div#menu-icon {
    position: relative;
    opacity: 0.4;
    transition: opacity 0.35s;
    z-index: 100;
}
nav#menu div#menu-icon:hover {
    opacity: 1.0;
}
nav#menu div#menu-icon img {
    width: 68%;
    margin: 20px 16% 0 16%;
    height: auto;
}
nav#foldout {
    display: none;
    position: fixed;
    top: 0;
    right: 15%;
    width: 230px;
    background-color: #ccc;
}
nav#foldout ul#foldoutmenu li {
    height: 48px;
    margin-bottom: 2px;
    padding-top: 28px;
    background-color: #89a8b2;
    text-align: center;
    font-size: 2.0em;
}
nav#foldout ul#foldoutmenu li a {
    font-family: 'Archivo Black', Arial Black, sans-serif;
    color: #42494b;
    transition: color 1.0s;
}
nav#foldout ul#foldoutmenu li a:hover {
    color: #fff;
    text-decoration: none;
}
nav#foldout ul#foldouticons {
	display: none;
    position: absolute;
    top: 0;
    left: -56px;
    height: 93%;
    padding: 22px 0 0 0;
    background-color: #42494b;
    text-align: center;
}
nav#foldout ul#foldouticons li {
	margin-bottom: 6px;
}
nav#foldout ul#foldouticons li img {
	width: 60%;
    height: auto;
}
nav#menu ul {
    position: absolute;
    bottom: 54px;
    width: 100%;
    z-index: 80;
}
nav#menu ul li {
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
}
nav#menu ul li#last-one {
    margin-bottom: 52px;
}
nav#menu ul li img {
    width: 70%;
    height: 35px;
    transition: width 0.35s;
}
nav#menu ul li img:hover {
    width: 32%;
}

/* Contact modal
---------------------------------*/
aside#contact_modal {
    position: fixed;
    display: none;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 81%;
    height: 312px;
    margin: auto 2%;
    padding: 42px 6%;
    font-size: calc(0.9em + 0.2vw);
    line-height: 1.2;
    border: 6px solid #ddd;
    border-radius: 24px;
    box-shadow: 2px 2px 200px 5px #666;
    background-color: rgba(248, 248, 248, 0.9);
    z-index: 30;
}
aside#contact_modal div.inter {
    display: table;
    width: 100%;
    height: 100%;
}
aside#contact_modal div.inter div {
    display: table-cell;
    vertical-align: middle;
}
aside#contact_modal h2 {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 85%;
    opacity: 0.4;
    line-height: 0.9em;
}
aside#contact_modal ul {
	text-align: center;
}
aside#contact_modal ul li {
	display: block;
    width: 100%;
    vertical-align: top;
}
aside#contact_modal p.direct {
    text-align: center;
}
aside#contact_modal span.close-contact {
    position: absolute;
    top: 16px;
    right: 16px;
}

/* Content, general
---------------------------------*/
section.content {
    color: #42494b;
    line-height: 1.2em;
}
section.content h2 {
	font-weight: bold;
    color: #06445e;
}
section.content p.bolder {
	font-weight: bold;
}

/* Content, clips
---------------------------------*/
section#clips {
	width: 85%;
    min-width: calc(100% - 90px);
    padding: 38px 0 0 0;
}
section#clips h2 {
	padding-left: 2%;
}
section#clips div.grid-holder {
	display: grid;
    grid-gap: 0;
    grid-template-columns: auto;
    justify-content: center;
    padding: 0 2% 24px 2%;
}
section#clips div.grid-holder div.itemset {
    position: relative;
}
section#clips div.grid-holder div.itemset div.rollover {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.75);
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}
section#clips div.grid-holder div.itemset div.rollover:hover {
    opacity: 1;
}
section#clips div.grid-holder div.itemset div.rollover span {
	display: block;
    padding: 30% 0 0 0;
    margin-bottom: 4px;
    font-weight: bold;
    color: #666;
}
section#clips div.grid-holder div.itemset div.rollover h4 {
    font-size: 1.6em;
    font-weight: bold;
    line-height: 1.0em;
    color: #42494b;
    margin-bottom: 0;
}
section#clips div.grid-holder div.itemset div.rollover a {
    display: inline-block;
    padding: 8px 20px;
    margin-top: 12px;
    border-radius: 4px;
    border-top: 4px solid #42494b;
    border-bottom: 4px solid #42494b;
    background-color: transparent;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
section#clips div.grid-holder div.itemset div.rollover a:hover {
    text-decoration: none;
    color: #fff;
    padding: 4px 20px;
    margin-top: 16px;
    background-color: #42494b;
}
section#clips div.grid-holder div.itemset img {
	width: 100%;
    max-width: 100%;
    height: auto;
}

/* Content, credits
---------------------------------*/
section#credits {
	width: 81%;
    min-width: calc(96% - 90px);
    padding: 38px 2% 24px 2%;
    background-image: url("/images/site/RCA.png");
    background-repeat: no-repeat;
    background-position: left bottom;
}
section.content ul.expander {
	text-align: center;
    margin-bottom: 24px;
}
section.content ul.expander li.l1 div.open, section.content ul.expander li.l1 div.close {
	width: 80%;
    padding: 1px 0;
    margin: 28px auto 6px;
    background-color: #ccc;
    border-radius: 2px;
}
section.content ul.expander li.l1 div.close {
	display: none;
}
section.content ul.expander li.l1 div.open a:hover, section.content ul.expander li.l1 div.close a:hover {
	text-decoration: none;
}
section.content ul.expander li.l1 div.credits_detail {
	display: none;
    margin-bottom: 0;
}
section.content ul.expander li.l1 b {
	font-weight: bold;
	color: #06445e;
}
section.content ul.expander li.l1 div.credits_detail p {
	margin-bottom: 10px;
}

/* Content, about
---------------------------------*/
section#about {
	width: 81%;
    min-width: calc(96% - 90px);
    padding: 38px 2% 24px 2%;
}
section#about img {
	width: 100%;
    height: auto;
}

/* Content, clips-detail
---------------------------------*/
section.clips_detail a.bTOclips {
	position: absolute;
    display: block;
    top: -28px;
    left: 0;
    padding: 2px 30px;
    background: url("/images/site/fade.png") no-repeat center center;
    text-align: center;
    font-weight: bold;
    font-size: 0.8em;
}
section.clips_detail {
	width: 85%;
    min-width: calc(100% - 90px);
    padding: 0 !important;
}
section.clips_detail div#mediacol {
	display: block;
	width: 100%;
    border-right: none;
    vertical-align: top;
}
section.clips_detail div#mediacol div.video-responsive {
	position: relative;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}
section.clips_detail div#mediacol div.video-responsive iframe {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
}
section.clips_detail div#textcolone {
	display: block;
	width: 100%;
    padding: 12px 0;
}
section.clips_detail div#textcoltwo {
	display: none;
	width: 64%;
    padding: 12px 0 12px 5px;
    margin-left: -5px;
    vertical-align: top;
    overflow: hidden;
}
section.clips_detail div.textcol div.clips_text {
	width: 94%;
    padding: 0 0 0 4%;
}
section.clips_detail div.textcol h1 {
	text-align: center;
	color: #42494b;
    font-weight: bold;
    line-height: 0.8em;
    padding: 0 1% 0 0%;
}
section.clips_detail div.textcol h1 span {
	font-size: 0.6em;
    font-weight: normal;
}
section.clips_detail div.textcol img {
	width: 100%;
    height: auto;
}

/* Content, restricted
---------------------------------*/
section.demo_videos {
	width: 81%;
    min-width: calc(96% - 90px);
    padding: 38px 2% 24px 2%;
}
section.demo_videos h2 {
	text-align: center;
}
section.demo_videos h3 {
	width: 60%;
    margin: 0 auto 12px;
    padding-top: 6px;
	border-top: 1px solid #ccc;
	text-align: center;
}
section.demo_videos ul.demo-nav {
	text-align: center;
}
section.demo_videos ul.demo-clips {
	margin-top: 32px;
	text-align: center;
}
section.demo_videos ul.demo-clips li {
	display: inline-block;
    max-width: 480px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
}
section.demo_videos ul.demo-clips li video {
	margin-bottom: -12px;
}

/* Footer
---------------------------------*/
footer {
	position: relative;
	width: 80%;
    margin: 96px 0 12px 0;
    padding: 12px 18% 12px 2%;
    font-size: 0.6em;
    line-height: 1.54em;
    letter-spacing: 3px;
    background: #fff;
}

/* Responsive
---------------------------------*/
@media (max-height: 500px) {
    nav#foldout ul#foldouticons {
		display: block;
    }
    nav#menu ul {
    	display: none;
    }
}
@media (min-width: 400px) {
    nav#menu ul li img {
        width: 68%;
    	height: 46px;
    }
}
@media (min-width: 520px) {
    nav#menu ul li img {
        width: 54%;
    	height: 46px;
    }
    nav#foldout {
        width: 320px;
    }
    nav#foldout ul#foldoutmenu li {
    	height: 54px;
    	padding-top: 22px;
    	font-size: 2.4em;
	}
    aside#contact_modal {
        height: 272px;
    }
    aside#contact_modal ul li {
		display: inline-block;
    	width: 48%;
	}
}
@media (min-width: 636px) {
    nav#foldout {
        right: 90px;
    }
    aside#contact_modal {
        width: 512px;
        padding: 42px;
        margin: auto;
    }
    section#clips div.grid-holder {
    	grid-template-columns: auto auto auto;
	}
    section#clips div.grid-holder div.itemset div.rollover span {
		padding: 12% 0 0 0;
	}
}
@media (min-width: 680px) {
    p#in {
    	left: 50%;
    	width: 380px;
    	padding: 32px;
    	margin-left: -276px;
	}
	nav#menu ul {
    	bottom: 0;
	}
    nav#menu div#menu-icon img {
    	width: 60%;
        margin: 20px 20% 0 20%;
	}
    section#clips div.grid-holder div.itemset div.rollover span {
		padding: 18% 0 0 0;
	}
    footer {
        letter-spacing: 8px;
    }
}
@media (min-width: 900px) {
    /*div.video-holder video.mobile {
		display: none;
    }
    div.video-holder video.desktop {
		display: block;
    }*/
	nav#menu {
        width: 10%;
        max-width: 112px;
    }
    nav#foldout {
        right: 10%;
        width: 380px;
    }
    nav#menu ul li img {
    	width: 48%;
        height: 46px;
    }
    section#clips {
		width: 90%;
        min-width: calc(100% - 112px);
	}
    section#clips div.grid-holder div.itemset div.rollover span {
		padding: 30% 0 0 0;
	}
    section#credits, section#about, section.demo_videos {
		width: 86%;
    	min-width: calc(96% - 112px);
	}
    section#about div {
		position: absolute;
    	top: 24%;
    	left: 6%;
    	width: 40%;
    	padding: 3% 2% 1%;
    	background-color: rgb(51, 51, 51);
    	background-color: rgba(51, 51, 51, 0.8);
    	color: #ecf9fd;
    	border-radius: 8px;
    	line-height: 1.6em;
	}
    section.clips_detail {
		width: 90%;
    	min-width: calc(100% - 90px);
	}
    section.clips_detail div#mediacol {
		display: inline-block;
        width: 35%;
    	border-right: 1px solid #42494b;
	}
    section.clips_detail div#textcolone {
		display: none;
	}
	section.clips_detail div#textcoltwo {
		display: inline-block;
        border-left: 1px solid #42494b;
	}
    section.clips_detail div.textcol div.clips_text {
		width: 94%;
        padding: 0;
	}
    section.clips_detail div.textcol h1 {
		text-align: left;
        padding: 0;
	}
}
@media (min-width: 1100px) {
    nav#foldout {
        right: 112px;
    }
    nav#menu ul li img {
    	width: 42%;
        height: 48px;
    }
}
@media (min-width: 1600px) {
    section.clips_detail div.textcol div.clips_text {
		width: 80%;
	}
}