/*  
Site Name: Mary Jo Thompson, Poet
Site URI: http://www.maryjothompson.com
Description: Poet and author Mary Jo Thompson
Version: 1.0	
Author: jmbroekman	
Author URI: http://www.jmbroekman.com

*/


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

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

html { background-color:#ebebec;
}
body {
    font-size: 0.8em;
    line-height: 1.8;
	font-family:'Open Sans', sans-serif;
	text-align:justify;
	
	
}


/* RESET */
/*using html 5; to make elements block rather than in-line*/

header, footer, section, aside, nav, article, hgroup, details, figure, figcaption {display: block;}

/*global elements */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	padding: 0;
	margin: 0;
	}
table {
	border-collapse: collapse;
	border-spacing: 0;
	}
fieldset,img { 
	border: 0;
	}
ul {
	list-style: none;
	}

ol {
	margin:3%;
	list-style-type:decimal;
	}
ol li {
	margin-bottom:2%;
}
	
h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	font-size: 100%;
	/*font-family:'Open Sans', sans-serif;*/
	
	}
	
abbr,acronym { border: 0;
	}
figure {margin:0; padding:0;}	

/*MJ SPECIFIC */
html {
	height:100%;
}
body {
	height:100%;
}
a:link, a:visited { color:#3d5e69; text-decoration:none;} 
a:hover {color:#6da0a9;}
	
#bar {
	
	border-top:#6C0E2C solid 8px; width:100%; top:0; left:0; z-index:5;

	}
	
#wrapper { 
	max-width:1024px;
	width:100%;
	margin:0 auto;
	position:relative; 
	clear:both; 
	overflow:auto; 
	background-color:#fbfbf5;
	background-image:url(../images/MJT-background-rules.png); background-repeat:repeat-y;
	-webkit-box-shadow:2px 2px 9px rgba(91, 91, 91, 0.4);
	box-shadow:2px 2px 9px rgba(91, 91, 91, 0.4);
	min-height:100%;
	}

header { 
	height:129px;
    width: 100%;
    z-index: 100;
	max-width:1024px;
/*    position: fixed; background-color:#fbfbf5; */
}
	
h1, h2, h3 {
	font-family: 'Junge', serif;
	font-size:400%;
	margin-top:6px;
}
h1 {
	color: #6C0E2C;
	text-shadow:2px 2px 9px rgba(91, 91, 91, 0.4);
	font-weight:600;
	margin-left:2%;

}

h2 {
	margin-bottom:0.5%;
	font-size:200%;
	color:#6C0E2C;
	
}

h3 {
	color:#66645a;
	font-size: 130%;
	margin-top:2%;
}
#homelink {
	height: 82px;
	width: 600px;
	background-color: transparent;
	position: absolute;
}


/*main navigation*/

nav {
	float:right;
}
nav > ul {
	max-width: 1024px;
	margin-right:24px;
}
	
nav > ul > li {
	font-size: 135%;
	display: inline-block;
	padding: 0 8px;
	color: #3d5e69;
	font-family:'Merriweather', serif;
	margin: 0 5px;
}

li.select { color:#6da0a9;}
	

/* main content area */
section {
    width: 100%;
	overflow:hidden;
	margin-bottom:2%;
	max-width:976px;
	clear:both;
	margin-left:auto;
}

article {
	overflow:hidden;
	position:relative;
	max-width:976px;
	margin-bottom:4%;
	}

article figure {
	float: right;
	margin: 36px;
}

img  {
	 margin: 0 auto; 
	-webkit-box-shadow:2px 2px 9px rgba(91, 91, 91, 0.4);
	box-shadow:2px 2px 9px rgba(91, 91, 91, 0.4);  
}

.biocredit {
	font-size:85%;
}

section article p {margin-top:.5%; margin-bottom:1.25%; }
.blurb-author {text-align:right; margin-bottom: 1.25%; margin-top: -12px; font-size:90%;}

/*home page specific */
.no-wrap {
	margin-right:440px;
}

.contact {
	text-align:left;
	margin: 1% auto;
}
.contact a:link, .contact a:visited, .links a:link, .links a:visited {
	color:#3D5E69;
	/*text-decoration:underline;*/
}

.contact a:hover, .links a:hover {
	color:#6DA0A9;
}

ul.contact li {
	margin: 6px;
	display:inline-block;
	text-align:center;
}

ul.contact li img {
	width:60%;
	box-shadow: none;
	}

.links ul li {
	margin: 3px;
	font-size:95%;
}

.links h3{
	margin-top:3%;
	
}



section p{ margin: 2% 2% 2% 0;}


/* FOOTER */
footer {
	clear: both;
    font-size: 75%;
    padding-top: 1%;
    text-align: center;
	/*margin-left:2%;*/
	margin-bottom:2%;

}

/*footer p {
	margin-top:2.5%;
}*/


/*
 * 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
 */

.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
 */

.visuallyhidden.focusable:active,
.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;
}

#mobile-header {
    display: none;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
/*
@media only screen and (max-width: 768px) {
	aside {
		font-size:95%;
		width: 21%;
		margin-bottom:5%;
	}
	footer {
		text-align:center;
		
	}
}
*/

@media only screen and (max-width: 800px){

section {
	margin-left:2%;
	}
article {
	max-width:750px;
	margin-right:2.75%;
	text-align:left;
}
.no-wrap {
	margin-right:auto;
}
	
}
		

@media only screen and (max-width:640px) {

section {
	font-size:90%;
}
#about .flexbox-container div.about img {
    max-width: 95%;
	
}

#about .flexbox-container div{
	width:68.5:%;
}
img.elhi{
	max-width:90%;
}
#elhi .flexbox-container div.elhi {
	padding-left:6px;
}
.purchase {
	font-size:110%;
	margin-top: 6px;
}

}


@media screen and (max-width:485px){


 header {
	 font-size:85%;
	 height:90px;
 }
 
 #homelink {
	 width:200px;
	 height:45px;
 }
 h1 {
	 font-size:200%;
 }
 
 nav>ul {
	 max-width:400px;
	 
 }
 
 nav>ul>li {
	 padding: 0 2px;
	 margin: 0 6px;
	 font-size:120%
 }
 section {
	 width:95%;

 }
 
 article figure {
	 margin: 6px auto;
	 float:none;
	 text-align:center;
 }

}
@media only screen and (max-width:360px){


	
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* 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;
    }

