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

/* RULE: target ÷ context = result (default text size assumed to be 16px) */

/* 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 {
	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 {
	position: relative;
    background: url('/images/site/CL-base.jpg') no-repeat fixed right top;
    background-size: cover;
    font-family: 'Tinos', Cambria, Palatino Linotype, serif;
	font-size: 100%;
}
a {
    color: #015dbc;
    text-decoration: none;
    -webkit-transition: color 0.35s;
    transition: color 0.35s;
}
a:hover {
    color: #bc7801;
    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;
}
blockquote {
    margin-left: 8%;
    margin-right: 13%;
}

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

/* Wrapper settings
---------------------------------*/
main#page_wrapper {
	position: relative;
	width: 100%;
	margin: 0;
}

/* CL image
---------------------------------*/
div.hero_spot {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 75px);
    margin-top: 80px;
    background: url('/images/site/ChristopherLibertino-mobile-3-quaters.png') no-repeat;
    background-position: right bottom;
    background-size: auto calc(80vh - 75px);
    z-index: 400;
}

/* Header
---------------------------------*/
header {
    position: fixed;
    top: 0;
    left: 0;
    background: url('/images/site/CL-base.jpg') no-repeat fixed right top;
    background-size: cover;
    width: 100%;
    height: 75px;
    box-shadow: 0px 2px 8px #333;
    z-index: 500;
}
header img#CL-title {
    width: 320px;
    height: auto;
    margin: 20px 0 0 20px;
}

/* Navs
---------------------------------*/
header div.return {
	font-family: 'Tinos', Cambria, Palatino Linotype, serif;
    position: absolute;
    top: 0;
    left: 60%;
    width: 165px;
    height: 18px;
    font-size: 1.0em;
    text-align: center;
    padding: 2px 0;
    background: rgba(61, 73, 95, 0.6);
    border-radius: 0 0 18px 18px;
}
header div.return a {
	color: #ccc;
}
header div.return a:hover {
	color: #fff;
    text-decoration: none;
}

/* Content - projects
---------------------------------*/
section.projects-detail {
	position: relative;
    background: rgba(255, 255, 255, 0.7);
    padding: 12px;
    margin: 142px 0 380px 0;
}
section.projects-detail a.bTO {
	position: absolute;
    display: block;
    top: -28px;
    left: 0;
    padding: 2px 30px;
    background: #eee;
    border-radius: 0 12px 12px 0;
    text-align: center;
    font-weight: bold;
    font-size: 0.8em;
    z-index: 402;
}
section.projects-detail div.projects-inner {
	position: relative;
	width: 70%;
    margin: 0 auto 0 0;
    z-index: 402;
}
section.projects-detail h1 {
	text-align: center;
}
section.projects-detail img.project-hero {
	width: 100%;
    height: auto;
    margin-bottom: 16px;
    border: 2px solid #285578;
    box-shadow: -1px -1px 4px 0px #666;
}
section.projects-detail span {
	display: block;
	border-bottom: 1px solid #285578;
	margin-bottom: 4px;
	font-weight: bold;
}
section.projects-detail ul.media li {
	display: inline;
	list-style: none;
	margin-right: 4px;
}
section.projects-detail ul.media li img {
	border: 2px solid #285578;
    box-shadow: 0 0 4px 0px #555;
}
section.projects-detail p, section.projects-detail ul, section.projects-detail span {
	max-width: 100%;
}
section.projects-detail p, section.projects-detail ul {
	margin-bottom: 20px;
}
section.projects-detail li.forcircle {
	list-style: circle inside;
}
section.projects-detail ul.awards {
	min-height: 60px;
	padding-left: 80px;
	background: url("/images/site/laurel-leaves.png") no-repeat left center;
}

/* Sub content
---------------------------------*/
section.sub {
	position: fixed;
	top: 0;
	left: 0;
    right: 0;
	padding: 32px 2%;
    background-image: url("/images/site/siding.png");
	z-index: 1000;
}
section.sub div.close {
	position: absolute;
	top: 4px;
	right: 8px;
}
section.sub div.close a {
	font-weight: bold;
	color: #285578;
}
section.sub div.close a:hover {
    color: #bc7801;
    text-decoration: none;
}
section.sub div.VWW, section.sub div.SWW {
	max-width: 960px;
	margin: 0px auto;
}
section.sub div.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}
section.sub div.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    box-shadow: 0px 0px 4px 0px #000;
}
section.sub div.SWW iframe {
	border: 2px solid #285578;
    box-shadow: 0px 0px 4px 0px #000;
}
section.sub div.AWW {
	text-align: center;
}
section.sub div.AWW img {
	width: 100%;
	max-width: 720px;
}

/* Footer
---------------------------------*/
footer {
	position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.5);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7em;
    font-weight: bold;
    color: #ddd;
    z-index: 452;
}
footer a {
	color: #fff;
}
footer a:hover {
    color: #000;
    text-decoration: none;
}

/* Responsive
---------------------------------*/
@media (min-width: 650px) {
    div.hero_spot {
        background-size: auto calc(90vh - 75px);
    }
}
@media (min-width: 900px) {
    div.hero_spot {
        background-size: auto calc(100vh - 75px);
    }
    section.projects-detail {
    	padding: 16px 24px 24px 24px;
	}
    section.projects-detail p, section.projects-detail ul, section.projects-detail span {
		max-width: 80%;
	}
}
@media (min-width: 1200px) {
    div.hero_spot {
        background: url('/images/site/ChristopherLibertino.png') no-repeat;
        background-position: right bottom;
        background-size: auto calc(100vh - 75px);
    }
    section.projects-detail div.projects-inner {
		width: 60%;
	}
}