/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/* ==========================================================================
   Base styles
   ========================================================================== */

html {
    color: #fff;
    font-size: 16px;
}

/* Remove text-shadow in selection highlight. 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 audio, canvas, iframes, images, videos and the bottom of their containers: https://github.com/h5bp/html5-boilerplate/issues/440 */

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

/* Remove default fieldset styles. */

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

/* Allow only vertical resizing of textareas. */

textarea {resize: vertical;}


/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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


/* COLOR NOTE ------------------------------------------

#6666ff / rgb(102,102,255) / bright purple (links)
#eeedff / rgb(238,237,255) / light blue site bg
#00bd5f / rgb(0,189,95) / green site text
#ff6294 / rgb(255,98,148) / warm pink (index page links)
#ff14f6 / rgb(255,20,246) / bright pink (current page on nav)
#e2ff00 / rgb(226,255,0) / fluorescent green/yellow
#5831b3 / rgb(88,49,179) / purple index bg

*/


/* GENERAL ------------------------------------------ */

body {
	background: #eeedff;
	color: #00bd5f;
	font-family:'IBM Plex Serif', serif;
}

nav {
	display: block;
	margin: 0;
	padding: 0;
    font-family:'IBM Plex Serif', serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5em;
}
    @media screen and (max-width: 700px) {
	    nav {
            font-size: 1.2em;
            line-height: 1.3em;
        }
    }
    
    
/* LINKS ------------------------------------------ */

a:link {color:#00bd5f; text-decoration: none; border-bottom: 1px solid #00bd5f;}     
a:visited {color:#00bd5f; text-decoration: none; border-bottom: 1px solid #00bd5f;} 
a:hover {color:#6666ff; text-decoration: none; border-bottom: 1px solid #6666ff;}  
a:active {color:#e2ff00; text-decoration: none; border-bottom: 1px solid #e2ff00;}

.index a:link {color:#ff6294; text-decoration: none; border-bottom: none;}     
.index a:visited {color:#ff6294; text-decoration: none; border-bottom: none;} 
.index a:hover {color:#6666ff; text-decoration: none; border-bottom: 1px solid #6666ff;}  
.index a:active {color:#e2ff00; text-decoration: none; border-bottom: none;}

nav a:link, nav a:visited {color:#6666ff; text-decoration: none; border-bottom: none;}
nav a:hover {border-bottom: 1px solid #6666ff;}
nav a:active {color:#e2ff00; text-decoration: none; border-bottom: none;}

.index .active {
	color: #e2ff00!important;
	border-bottom: none!important;
	cursor: text;
    background-color: rgb(226,255,0,0)!important;
}

nav .active {
	color: #ff14f6!important;
	border-bottom: none!important;
	cursor: text;
	background-color: #e2ff00!important;
}


/* MAIN TEXT STYLES ------------------------------------------ */

/** h1 {
	display: block;
	margin: 0;
	padding: 0;
    font-size: 1.5em;
    font-weight: 300;
    line-height: 1.7em;
    color: #ACACAC;
    letter-spacing: 2px;
    text-transform: uppercase;
} **/

h2 {
	display: block;
	margin-top: 30px;
	padding: 0;
	font-family:'IBM Plex Serif', sans-serif;
	font-size: 1.9em;
    font-weight: 500;
    line-height:1.4em;
}

h3 {
	margin: 1em 0 .5em 0;
    font-family:'IBM Plex Sans', serif;
    font-size: 1.2em;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.4em;
}

h4 {
	margin: 1.5em 0 .5em 0;	
	font-family:'IBM Plex Serif', serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.1em;
}

strong {
    font-family:'IBM Plex Serif', serif;
	font-weight: 400;
}

p {
	display: block;
	margin: 0;
    font-weight: 300;
	line-height: 1.5em;
}


ul {
	display: block;
	list-style-type: none;
	text-align: left;
	clear: left;
}

li {
	display: block;
	float: left;
}


/* POSITIONING ------------------------------------------ */

#canvas {
	margin: 0 auto;
    padding: 0 0 1em 0;
    max-width: 60em;      /* 960px/16px = 60em */
}

header, footer {
	display: block;
	text-align: left;
	clear: left;
	padding: 20px 01.0416667%;
}
    @media screen and (max-width: 700px) {
		header, footer {
		    width: 90%;
            margin: 0 5%;
            padding: 10px 0;
        }
    }

footer {
	padding-top: 5em;
}

.folio {
	padding: 0;
	height: auto;
}

li.one {
	width: 97.916667%;      /* 940px/960px = .97916667 */
	margin: 0 01.0416667% 20px;      /* 10px/960px = .010416667 */
}

li.two {
	width: 47.916667%;      /* 460px/960px = .47916667 */
	margin: 0 01.0416667% 20px;      /* 10px/960px = .010416667 */
}

li.three {
	width: 31.25%;      /* 300px/960px = .3125 */
	margin: 0 01.0416667% 20px;      /* 10px/960px = .010416667 */
}

@media screen and (max-width: 700px) {
	.folio li {
		float: none;
		width: 90%;
		margin: 0 5% 20px;  
	}
}
	
.folio img {
	width: 100%;    
	height: 100%;
}

.text {
	display: block;
	float: left;
	width: 70%;      /* 620px/960px = .64583333 */
	margin: 0 01.0416667% 20px;      /* 10px/960px = .010416667 */
    }
    @media screen and (max-width: 700px) {
	    .text {
		    float: none;
            width: 90%;
            margin: 0 5% 20px;
            padding: 10px 0;  
        }
    }

.about-image {
	display: block;
	float: right;
	width: 31.25%;      /* 300px/960px = .3125 */
	margin: 4em 01.0416667% 1em;      /* 10px/960px = .010416667 */
}

    @media screen and (max-width: 700px) {
	    .about-image {
		    float: none;
            width: auto;
            height: auto;
            margin: 0 5% 20px;
        }
    }
	

.about-image img {
	width: 100%;
	height: 100%;
}


/* INDEX NAV ------------------------------------------------------ */

.index ul {
    margin: 0;
	padding: 20px 01.0416667%;
}
    @media screen and (max-width: 700px) {
        .index ul {
            padding: 15px 5%;
        }
    }

.index li {
	float: none;
	padding-bottom: 10px;
}


/* FULL BG IMAGE OR COLOR (CURRENT INDEX) ------------------------------------------ */

body.full {background: url('../img/28.jpg') no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;}
body.full-color {background: #5831b3;}


/* GRADIENT BG (FOR NATUREGIFMANIFESTO) ------------------------------------------ */

.manifesto {background: linear-gradient(105deg, rgba(118, 203, 218, 1), rgba(243, 133, 140, 1));}


/* ADDITIONAL TEXT STYLES ------------------------------------------ */

p.copyright {
color: #999;
font-size: .8em;
}

.slide-caption {
	margin-top: 5px;
}

.text p {
	margin: 10px 0;
}

.credit {
	font-size: .8em;
}

p.date {
	margin: 3em 0 0 0;
	font-weight: 700;
	color: #ACACAC;
}

.no-underline {border-bottom: none;}

.italic {font-style: italic;}

.footnote {padding-top: 30px; font-size: .9em;}

/* newhive header */

.arhive h3 {
    margin: .5em 0 1em 0;
	padding-left: 0;
	text-align: center;
    font-weight: 400;
    line-height: 1.1em;
}

/* MAILCHIMP FORM ------------------------------------------ */

#mc_embed_signup {background:#fff; clear:left; font:14px 'IBM Plex Serif', serif; font-weight: 400; }
#mc_embed_signup form {
	padding: 20px 0 10px 0!important;
	text-align: left!important;
}

#mc_embed_signup .button {
	font-family: 'IBM Plex Serif', serif;
	font-weight: 300!important;
	text-transform: uppercase;
	letter-spacing: 2px;
}

#mc_embed_signup .email {
	font-family:'IBM Plex Serif', serif!important;
	font-weight: 300;
}


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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
