/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

*{margin:0; padding:0; font-size:11px; letter-spacing: 1px;}

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 1em;
    line-height: 1.4;
	margin:0 auto;
	width:1000px;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
p {font-size:1em; text-align:justify; }
h1, h2 {font-size:1em; margin: 30px 0 0 0;}
h3 {font-size:1em; margin: 0 0 -12px 0;}
a { text-decoration:none; color:#000;}
header {margin:50px 0 100px 0;}
article {clear: both;}
footer { margin:30px 0; display: inline-block;}
h2 + p {
    margin-top: 0;
} {margin-top:0;}
h1>span, h2>span, h3>span {font-weight: normal;}

nav {float:right; width:42%; position:relative; margin-top: 22px;}
nav li { position:absolute; font-size:1em; font-weight:bold; letter-spacing:0.1em}
nav li:nth-child(1) { right:230px; top: 17px;}
nav li:nth-child(2) { right:145px; top:-6px;}
nav li:nth-child(3) { right:70px; top: 18px;}
nav li:nth-child(4) { right:0px; top:-7px;}

.textvert {-webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); -ms-transform: rotate(-90deg); -o-transform: rotate(-90deg); transform: rotate(-90deg);}
.menuicon { font-size:24px; font-weight:bold; text-align:center; position:absolute; line-height: 26px;}

nav li:nth-child(1) span.menuicon, nav li:nth-child(3) span.menuicon {
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}
nav li:nth-child(1) span.menuicon {margin-left:-35px; margin-top:-6px}
nav li:nth-child(2) span.menuicon {margin-left:25px; margin-top:22px}
nav li:nth-child(3) span.menuicon {margin-left:-30px; margin-top:-5px}
nav li:nth-child(4) span.menuicon {margin-left:21px; margin-bottom: 7px; position:relative; display: table;}

nav li.active a span, nav li a:hover span, nav li a:active span { background: url(/img/linebg.gif) repeat-x bottom;}

/*
nav li.active:nth-child(1) a span, nav li:nth-child(1) a:hover span {margin-left:-30px; margin-top:-6px}
nav li.active:nth-child(2) a span, nav li:nth-child(2) a:hover span {margin-left:23px; margin-top:20px}
nav li.active:nth-child(3) a span, nav li:nth-child(3) a:hover span {margin-left:-28px; margin-top:-5px}
nav li.active:nth-child(4) a span, nav li:nth-child(4) a:hover span {margin-left:19px; margin-bottom: 9px;}
*/

article {min-height:400px;}

/*--Beginning--*/

#beginnings h1 {margin:0;}
.caption {font-size: 0.9em; margin: 5px 0;}
.footnote {padding-top:50px;}

/*--Projects--*/

.projectlink { text-decoration:underline;}
.projectlink:hover { font-weight:bold;}
.col-2  {position:relative;}
.col-2 div.L {width:432px; float:left;}
.col-2 div.R {width:520px; float:right}

#projects .col-2 div.L img {padding-top:40px;}
#projects div.L > img:first-child {padding-top:0;}
#projects div.L > img:nth-child(4) {padding-top: 50px;}

/*.projectlist > div:nth-child(2), .col-3 > div {background: #f2f2f2; display: inline-block; margin-right: 5px; width: 327px; }
.projectlist > div:nth-child(2):hover, .projectlist > div:nth-child(2):hover a, .col-3 > div:hover, .col-3 > div:hover a  {background:#000; color:#fff;}
*/
.col-3 > div {display: inline-block; margin-right: 5px; width: 327px; }
.col-3 > div.R {margin:0;}

.projectlist div h3{ padding:10px 0 10px 20px; margin:2px 0 0 0; background: #f2f2f2; }
.projectlist a:hover > h3 { background: #000; color:#fff; }

/*
.projectlist img {filter: blur(0);
-webkit-filter: blur(0);
-moz-filter: blur(0);
-o-filter: blur(0);
-ms-filter: blur(0);
transition: 1s;
}

.projectlist img:hover { filter: blur(2px);
-webkit-filter: blur(3px);
-moz-filter: blur(3px);
-o-filter: blur(3px);
-ms-filter: blur(3px);
transition: 1s;
}
*/

.pressbtn { border: solid 1px #000;
width: 329px;
margin-top: 20px;
position: relative;
font-size: 0.8em;
padding: 40px 50px;}
.pressbtn:first-child {margin:0;}

.pressbtn:hover {background-color:#ebebeb;}
.pressbtn a{position: absolute; padding: 32px 109px; top: 0; left: 0; width: 210px;}

.projects h2 {margin:10px 0 0 0;}
.projects .col-2 div.L {width:504px; float:left;}
.projects .col-2 div.R {width:432px; float:right }
.projects .col-2 div.R h1 {margin:0 0 30px 0;}
.projects .col-2 div.R p { font-weight:normal;}

.credits p {margin: 13px 0 0 0;}

/*--contact--*/
#slideshow{padding:0; margin:0; z-index:0; }
#slideshow img{position:absolute; left:0; top:0; z-index:1; background:cover}
#slideshow img.active{z-index:3}

#contact .col-2 div.R {width:320px; margin-top: 460px;}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

    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;
    }
}