/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
    ========================================================================== */

/* ===========PAGE STYLES===========*/

/*-----------center content--------*/
body{
	margin: 30px; 0px; padding:0px;
	text-align:center; /*For IE6 Shenanigans*/
}

.page {
	font-family: Helvetica;
	font-size: 14px;
	font-color: #529774;
	max-width:560px;
	margin: 0 auto;
}

a img {
	border:none;  /*img - for dotted border shenanigans*/
}

/*=============GLOBAL NAVIGATION============*/
.logo img {
	max-width: 100%;
	height: auto;
}

.main-nav {
	padding-right: 3em;
	margin-bottom: 1em;
}

.main-nav li {
	display: inline-block;
	border-left: 1px solid #4b4b4b;
}

.main-nav li:first-child{
	border-left:none;
}

.main-nav a {
	display: inline-block;
	font-size: 1em;
	padding: .5em 1.15em .5em 1.4em;
	text-decoration:none;
}

/*-----links----*/
a:link{
	color: #000000;
	text-decoration:none;
}

a:visited {
	color: #3A3A3A;
}

a:hover {
	color: #7D7D7D;
	text-decoration:
}

a:active {
	outline: 0;
	color: #7D7D7D;
}

a:focus {
	outline: 1px solid grey;
}

/* =============MAIN STYLES==============*/

.container {
	max-width:560px; /*62.5% =600px/960px*/
  	margin: 2em 2em;
	margin: 0px auto;
}

.responsive-video {
  position: relative; padding-bottom: 56.25%; padding-top: 20px; height: 0; overflow: hidden; max-width: 100%; height: auto;
}

.responsive-video iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* =============ABOUT PAGE STYLES=========*/

.portrait img {
	max-width: 100%;
	height: auto;
	margin: .35em 1em .5em 0;
}

.about-content p {
	text-align:left;
}

.about-normal {
	max-width: 100%;
	height: auto;
}

.about-quote {
	max-width: 100%;
	height: auto;
	margin: 0em 2em 0em 2em;
  font-style: italic;
}

/* =============COLLECTIONS STYLES=========*/

.galleryblurb {
	max-width: 400px;
	margin: auto;
	padding: 2em;
}

        .black_overlay{										/* contact us lightbox */
            display: none;
            position: absolute;
            top: 0%;
            left: 0%;
            width: 100%;
            height: 100%;
            background-color: black;
            z-index:1001;
            -moz-opacity: 0.8;
            opacity:.80;
            filter: alpha(opacity=80);
        }
        .white_content {
            display: none;
            position: absolute;
            top: 25%;
            left: 25%;
            width: 50%;
            height: 50%;
            padding: 16px;
            border: 16px solid orange;
            background-color: white;
            z-index:1002;
            overflow: auto;
        }

.photofirst {									/* first of each line of photos */
	display:inline-block;
	margin: 2em 3em 0 1.2em;
	border: solid black .25em;
	padding: 2em 2em 0 2em;
	max-width: 160px;
	float: left;
}

.photofirst img {							/* first of each line of photos */
	display: inline;
}

.photo {
	display:inline-block;
	margin: 2em 3em 2em 3em;
	border: solid black .25em;
	padding: 2em 2em 0 2em;
	max-width: 160px;
	float: left;
}

.photo img {
	display: inline;
}

#fold {										    /*Applies to Collections AND Press*/
	clear:left;
}

.mainpic img {								/*Applies to Collections AND Press*/
	max-width: 100%;
	height: auto;
}

/* =============PRESS PAGE STYLES=========*/

.storiesfirst {							/* first of each line of stories */
	display:inline-block;
	margin: 2em 0 2em .75em;
	border:none;
	padding: 2em 0 0 0;
	max-width: 160px;
	height: 300px;
	float: left;
}

.storiesfirst p {						/* first of each line of stories */
	display: inline;
	padding: .5em;
}

.stories {
	display:inline-block;
	margin: 2em 0 2em .87em;
	border-left: solid #e3d6cb 1px;
	padding: 2em .40em 0 1em;
	max-width: 160px;
	height: 280px;
	float: left;
}

.stories p {
	display: inline;
	padding: .5em;
}

#last {
	padding:2em 0 0 1em;
}

/* =============FOOTER STYLES===========*/

.footer {
	clear: both;
	padding: 1em 2em 0 0;
}

.social-sites li {
	display:inline-block;
	padding: .5em .30em .5em .30em;
}

#copy {
	padding-left: 1em;
	color: #C0C0C0;
}


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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

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

