/*
 Theme Name:   Simple Mag Child
 Theme URI:    http://coastal.com
 Description:  Simple Mag Child Theme
 Author:       Kate Moore Hermes + Adam Tester
 Author URI:   http://coastal.com
 Template:     simplemag
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  simplemag-child
*/


/* CSS RESET */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

img {
	max-width:100%;
	height:auto;
}

/* CHILD THEME STYLES */
.wrapper {
	max-width: 1050px;
	margin: 0 auto;
	clear: both;
}

.color-site-dark {
	background-color: #f9f9f9;
}

/* TYPOGRAPHY */
.home article.post:nth-child(1) .entry-summary {
	max-width:60%;
}

.entry-header {
	text-align: left;
	text-transform: capitalize;
	margin-bottom: 15px;
	text-align: center;
}

.page-title, .single-title, .home-section .section-header .title {
	background:none;
}

.entry-meta {
	text-transform:capitalize;
}

h1.single-title {
	margin: 5px 0 0;
	text-transform: none;
	font-size: 36px;
}

.page-title span, .single-title span, .home-section .section-header .title span {
	margin: 0;
	padding: 0;
}

.entry-category {
	font-size: 14px;
	line-height: 2;
	letter-spacing: 0.3px;
}

.entry-category a {
	color: #51c28a;
	text-decoration:none;
}

.title-text h2, .page .page-content h2, .single .entry-content h2 {
	font-size: 28px;
	line-height:32px;
	text-align:left;
	font-weight:bold;
}

.page .page-content h3, .single .entry-content h3 {
	  font-size: 18px;
	  line-height:22px;
}

p {
	font-size: 16px;
	line-height: 1.9;
}

strong {
	font-weight:bold;
}

em {font-style:italic;}

blockquote p {
	color: #51c28a;
    font-size: 24px;
    letter-spacing: -0.74px;
    line-height: 34px;
}

.page blockquote::before, .single blockquote::before, .page blockquote::after, .single blockquote::after {
    font-size: 24px;
    line-height: 34px;
    margin-right: 0;
    vertical-align: 0em;
	color: #51c28a;
}

.page blockquote, .single blockquote {
	padding: 15px 0;
}

/* NAVIGATION & MASTHEAD */
#masthead {
	margin-bottom: 0;
	border-bottom: 1px solid rgba(38,129,236,0.1);
	margin-bottom: 40px;
}

#masthead .top-strip {
	height: 30px;
	line-height: 38px;
	display: none;
}

.logo {
	display: inline-block;
}

.logo img {
	height: 25px;
}

nav li {
	text-transform:capitalize;
	line-height: 1;
}

#masthead .top-strip nav > ul > li {
	border: none;
	border-left: solid 1px #c0c0c0;
	height: 12px;
	line-height: 12px;
}

#masthead .top-strip nav > ul > li:first-child {
	border-left: none;
}

#masthead .top-strip #secondary-nav li a {
	font-weight: 600;
	letter-spacing: 0;
}

#masthead .top-strip #secondary-nav li:first-child a {
	padding-left: 0;
}

.color-site-dark a,
.color-site-dark a:visited {
	text-transform: capitalize;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.4px;
	color: #666666;
}

.color-site-dark a:hover,
.color-site-dark a:focus,
.color-site-dark a:active {
	color: #2681ec;
}

#masthead #branding {
	text-align: center;
	max-width: 100%;
	width: 100%;
	float: none;
	margin: 20px auto;
}

#masthead .main-menu {
	border: none;
	max-width: 65%;
	width: 1050px;
	float: left;
	font-size: 14px;
	color: #333333;
	margin: 9px auto;
}

#masthead .main-menu > ul {
	text-align: left;
}

#masthead .main-menu > ul > li {
	text-tranform: capitalize !important;
	letter-spacing: 0;
}

#masthead .main-menu > ul > li::after {
	content: normal;
}

#masthead .main-menu > ul > li > a {
	font-size: 14px;
	color: #333333;
	padding: 18px 32px 15px 0;
}

#masthead .main-menu .sub-menu {
	top: 47px;
}

#open-pageslide, #close-pageslide {
    float: left;
    line-height: 0.7;
    position: relative;
    z-index: 1;
}

#close-pageslide {
	position: relative;
	z-index: 10;
	left: 15px;
	top: 19px;
	line-height: 0.8;
}

.js-ready #pageslide {
	background: #FFF;
	box-shadow: none;
}

#pageslide .block {
	margin: 0 15px;
	border: 0;
}

#pageslide .block:first-of-type {
	left: 0;
	right: 0;
	margin: 0 auto;
	text-align: center;
	border-bottom: 1px solid rgba(38,129,236,0.1);
}

#pageslide .block:last-of-type {
	border-top: 1px solid rgba(0,0,0,0.1);
}

#pageslide .menu li {
	border-top: 1px solid rgba(0,0,0,0.1);
}

#pageslide .menu li:first-child {
	border-top: 0;
}

#pageslide .menu li a {
	color: #333;
	text-transform: none;
	letter-spacing: 0;
	font-size: 16px;
	padding: 20px 0;
	font-family: Open Sans;
}

#pageslide .menu li:hover a {
	color: #333;
}

.csstransforms3d.csstransitions.js-nav #inner-wrap {
	transform: translate3d(100%, 0px, 0px);
}

.csstransforms3d.csstransitions.js-nav #pageslide {
	width: 100%;
}

#pageslide .menu .main_menu_search {
	display: none;
}

#pageslide #searchform {
	background: transparent;
}

#pageslide #searchform input, #pageslide #searchform button {
	text-transform: none;
	letter-spacing: 0
}

/* Navigation */

.nav-single {
	border-bottom:none;
	border-top:none;
	padding:0;
}

.nav-next, .nav-previous {
    padding: 0 5%;
}

.nav-next {
	text-align:right;
} 

.nav-previous {
	text-align:left;
}

.entry-header .entry-author::after {
    content: "";
    padding: 0 5px;
}
.entry-header .entry-author {
    font-size: 14px;
	line-height:2.7;
	text-transform:none;
}

@media screen and (min-width: 801px) {
#masthead .top-strip {
	display: block;
}

#masthead #branding {
	text-align: left;
	max-width: 80px;
	float: left;
	margin: 18px 32px 18px 0;
}

#searchform {
	background: transparent;
	float: left;
	top: -10px;
	padding: 0;
}

#searchform input, #searchform button {
	height: auto;
	text-transform: none;
	letter-spacing: 0
}

#searchform input {
	padding-left: 38px;
}

#searchform button {
	margin-top: 0;
	top: 0;
	left: 0;
}
}

/* INDEX BODY */
.entry-header .entry-meta .entry-category::after {
	content:'';
}

.home .entry-title {
	text-transform: capitalize;
	font-size: 18px;
	letter-spacing: 0;
}

.home .entry-summary {
	max-width: 90%;
	margin: 0 auto;
}

.home .entry-summary  p {
	font-size: 14px;
	line-height: 1.7;
	letter-spacing: -0.4px;
	color: #666666;
	text-align: center;
}

body:not(.with-sidebar) .home article:nth-child(3n+1) {
    clear: left;
}

[class*="grid-"] {
    display: inline;
    float: left;
}

/* SINGLE POST */
#author-box {
    background: none;
    color: #666;
    font-size: 90%;
    padding: 10px;
}

#author-box .inner {
	border: none;
}

/* FOOTER */

#footer {
	background: #F9F9F9;
}

.footer-sidebar .widget {
	padding: 30px 0 40px;
	border: none;
}

.copyright {
	background-color: transparent;
	padding: 0;
	line-height: 1.5;
}

.copyright .wrapper {
	border-top: 1px solid #E0E0E0;
	padding: 15px 0 25px;
}

#second, #third {
	border: none;
}

.footer-sidebar .widget-area .widget h3 {
	text-transform: none;
	color: #000 !important;
	letter-spacing: 0;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 30px;
	text-align: left;
}

.footer-menu li {
	margin-bottom: 15px;
	color: #666;
	line-height: 19.6px;
}

.footer-menu a {
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}

.footer-menu a:hover {
	text-decoration: underline;
}

.copyright {
	text-transform: none;
	font-size: 12px;
	color: #666;
	letter-spacing: 0;
	text-align: center;
}

.copyright-text {
	opacity: 0.5;
	display: block;
	margin-bottom: 5px;
}

.copyright a {
	font-size: 12px;
	text-decoration: none;
	padding: 0 15px;
	font-weight: 500;
}

.wrapper section#content {
	max-width:1050px;
	margin:0 auto ;
}

.blog article.post:nth-child(1) {
    width: 100%;
    height: 100%;
    clear: both;
    display: block;
    margin-bottom: 30px;
    padding-bottom: 50px;
    border-bottom: 1px solid #000;
}


.blog article.post {
	width:30%;
	float:left;
	margin-right:5%;
	margin-left:0;
    height: 450px;
}

.blog article.post:nth-child(3n+1) {
	margin-right:0;
}

.pagination {
	clear:both;
	margin-top:30px;
}

.learn-more {
	margin:30px auto 0;
	background:#2681EC;
	text-align:center;
	width: 133px;
	height: 50px;
	border-radius: 4px;
	display:table;
}

.learn-more a {
	display:table-cell;
	vertical-align:middle;
	color:#fff;
	text-decoration:none;
	text-size:12px;
}

.learn-more a:hover {
	background-color:#fff;
	color:#2681EC;
	border:thin solid #2681EC;
	border-radius: 4px;
}

.wp-pagenavi {
    clear: both;
    margin: 1em auto;
    text-align: center;
	font-family: Open Sans, "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}
.wp-pagenavi a {
	color:#000;
}


.blog article.post {
	width:100%;
	float:left;
	height: auto;
	margin-bottom: 50px;
}

.single-post .learn-more {
	width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content;

}

.single-post .learn-more a {
	padding:0 1em;
}

@media screen and (max-width: 640px) {
.col-2 .widget-area {
	width: 50%;
	float: left;
}
}

@media screen and (min-width: 641px) and (max-width: 800px) {
#first, #second {
	float: left;
	border: none;
}
}

@media screen and (min-width: 801px) and (max-width: 959px) {
.copyright {
	text-align: left;
}
}

@media screen and (min-width: 641px) {
.col-2 .widget-area, .col-3 .widget-area {
	width: 33.33%;
	float: left;
}

#first {
	margin-right: 15px;
}
}

@media screen and (min-width: 801px) {
.copyright-text {
	display: inline-block;
	float: left;
}

#first {
	margin-right: 0;
}

.blog article.post {
	width:30%;
	margin-right:5%;
	margin-left:0;
	height: 450px;
	margin-bottom: 0;
}
}

@media screen and (min-width: 960px) {
.col-2 .widget-area, .col-3 .widget-area {
	width: 25%;
	float: left;
}
}