/*
Theme Name:     Science Morning Child
Description:    Child theme for Science Morning
Author:         Dana Small
Template:       sciencemorning
Version:        0.1.0 
*/

@import url("../sciencemorning/style.css");

.hide {display:none;}

/* SKIP NAVIGATION */	
#skip_navigation {
	position: absolute;
	display: none;
	height: 20px;
	top: 100px;
	right: 41px;
	font-size: .8em;
	color: #456dab;
	
}
/* ===========================================================================
   Body and Links 
   ======================================================================== */

body {
/*background: #0c6a9b url(images/back-page.png) repeat top left;*/
background: #fff;
margin: 0;
color: #3f4249;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 65%;
line-height: 1.2em;
text-align: center;
}
a { color: #c43a1e; text-decoration:none; }
ul.posts div.postmeta a:hover,
ul.posts div.postmeta p.postmetadata a:hover {
	color: #fac823 !important;
	text-decoration: none !important;
        text-transform: none;
}

ul.posts p.postmetadata, 
article.single p.postmetadata {
	font-family: Lato,helvetica,arial,sans-serif;
	font-size: 16px;
	line-height: 22px;
	color: #aaa;
	text-transform: none;
    margin-bottom:10px;

}

header#header {
	/*background: #0080c5 url(images/back-header2.png) repeat-x bottom left;*/
	background: #3f4249;
	border-top: solid 1px #3f4249;
	padding: 25px 0 0; 
}

nav#header-menu div.wrapper {
	/*background: #08699c url(images/back-menu.png) repeat-x top left;*/
	background: #3f4249;
}

.post-content {
	font-size: 1.55em;  
	line-height: 1.55em; 
	overflow: hidden;
	max-width: 630px;
}


a { color: #0c6a9b; text-decoration:none; }

ul#main-menu li {
	float: left;
	display: inline;
	list-style-type: none;
	font-size: 18px;
	font-weight: bold;
	font-family: Lato,helvetica,arial,sans-serif;
	line-height: 38px;
	margin-right: 5px;
	position: relative;
        text-transform:none;
}

#pre-header {
background-color: #202023;
color: #ccc;
height: 35px;
line-height: 35px;
font-family: Lato,helvetica,arial,sans-serif;
font-size: 14px;
text-shadow: #000 1px 1px 0;
text-transform: none;
}

#pre-header a:hover {color: #ffd400; text-decoration: none;}

#pre-header a {color: #ccc;}

ul#main-menu a:hover,
ul#main-menu li.current-menu-item a,
ul#main-menu li.current-menu-item li a:hover {
	color: #ffd400;
	text-decoration: none;
}

p.breadcrumbs .current {
	color: #0177a8;
        padding-right: 0;
}


ul.posts div.postmeta p.postmetadata,
ul.posts div.postmeta p.postmetadata a {
	color: #ffd400 !important;
}

p.postmetadata a { color: #3a7796 !important; }

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

ul#social-links {
	margin-right: 10px;
}

/* Begin Images */
.aligncenter, img.aligncenter { clear:both; display: block; margin-left: auto; margin-right: auto;}

/* End Images */

/* ===========================================================================
   Main Menu text size
   ======================================================================== */
ul#main-menu li {
	font-size: 18px;
}

/* ===========================================================================
   RSS links on loop.php
   ======================================================================== */
   
#archivebox {
	background:#FFFFFF;
	padding-right:5px;
	width:100%;
	margin-bottom:10px;
}

/* ===========================================================================
   WP Caption
   ======================================================================== */
   
p.wp-caption-text {font-size: 12px; font-style: italic; margin-left: 15px; margin-right: 15px; color: #555; margin-top: 0; max-width: 100% !important;}
.alignleft { float: left; margin-left: 0; margin-right: 15px; }
.alignright { float: right; margin-left: 15px; margin-right: 0px;  }

img.alignleft {
margin: 5px 10px 5px 0;
display: inline;
}



@media (max-width: 988px){
  .wp-caption {
    /* Force the box to be 100% */
    width: 100% !important;
  }
div.header-banner {
	float: right;
	display: inline;
	max-width: 40%;
}

/* ===========================================================================
   commenting
   ======================================================================== */
.comment-list { margin: 0; padding: 15px 0 0; font-size: 14px; line-height: 16px;} 
.commleft { border-top:3px solid #e6e6e6; float: left; padding-top:15px; width: 25%; }
.comment-list li div p { color: #808080; margin-bottom: 0; margin-left: 25%; padding-right: 15px;}
.comment-content-wrapper { float: right; width: 75%; }

/* ===========================================================================
   Responsive Images
   ======================================================================== */

img {max-width:100%;}
.post-content img {
	margin-bottom: 10px; 
	max-width: 100%;
	height: auto;}
}