/* INCREASE LINE HEIGHT */

h1 {
	line-height: 1.2;
}

h2 {
	line-height: 1.2;
}

h3 {
	line-height: 1.3;
}

h4 {
	line-height:1.4;
}

article h2 {
	font-size:22px;
}

.article h4 {
	font-size:22px;
}

.article h3 {
	font-size:20px;
}

h5 {
	line-height: 1.5;
}

#themes small, 
#themes .small, 
#themes .small p {
	line-height: 1.5;
}

/* CHANGE THE GREENS TO STRONGER CONTRAST */

#page-navi span.pages {
  color: #128559;
}

a:hover,
a:active,
a:focus {
  color: #128559;
}

a.green:link,
a.green:visited {
  color: #128559;
}

article a:link,
article a:visited {
  color: #128559;
}

.green {
  color: #128559;
}

.green a:link,
.green a:visited {
  color: #128559;
}

.green a:hover,
.green a:active,
.green a:focus {
  color: #128559;
}

/* Changed h5 to h3 on homepage and footer */
#subjects h3 {
    font-size: 22.5px;
    display: inline-block;
    margin: 0 0.5em 0 0;
    padding: 0;
    line-height:1.5;
    font-weight:500;
}

#subjects h3 span {
    display: inline-block;
    margin-left: 0.25em;
    font-size: 75%;
}

@media (min-width: 640px) and (max-width: 1024px) {
    #subjects h3 {
        font-size: 18.4px;
        margin: 0 0.5em 0 0;
    }
}

@media (max-width: 640px) {
    #subjects h3 {
        font-size: 18.4px;
        margin: 0 0.5em 0 0;
    }
}

/* Changed h3 to h2 on blog index */
#index .item .info-container h2 {
	line-height: 1.3;
	font-size:27px;
	font-weight:600;
}

@media (min-width: 640px) and (max-width: 1024px) {
    #index .item .info-container h2 {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    #index .item .info-container h2 {
        font-size: 20px;
    }
}

/* Changed h5 to h3 on related posts */
#related-posts h3 {
    padding-bottom: 0;
    font-weight: 500;
    line-height: 1.5;
    font-size: 18px;
    opacity:1!important;
}

@media (min-width: 640px) and (max-width: 1024px) {
    #related-posts h3 {
        font-size: 16px;
    }
}

/* Changed h3 to h2 on related posts */
.yarpp-related h2 {
    font-size: 125%;
    font-weight: 700;
    margin: 0;
    padding: 0 0 5px;
    text-transform: capitalize;
    line-height: 1.3;
}

/* Add padding to related posts listing */
.yarpp-related {
	padding:0 20px;
}


/* Increase strapline size */
header #logo #blog-description {
	font-size:0.8em;
	padding-right:40px;
}

/* Increase logo size */
#logo img {
    max-width: 380px;  
}

@media (max-width: 640px) {
    #logo img {
        max-width: 320px;
    }
}

@media (max-width: 400px) {
    #logo img {
        max-width: 260px;
    }
}


/* Search form */
label.search_label {
	display: block;
	font-size:0.9rem;
	font-weight:500;
}

form.search_form {
	max-width: 100%;
}



