/* 
Theme Name: Boxy Crawford
Description: Boxy Crawford is a responsive minimalist theme designed for writers. Edited by Kate Arpin to provide additional styling for SWCDM.
Author: Michael Burrows and Kate Arpin  
Author URI: http://www.wpmultiverse.com/
Theme URI: http://www.wpmultiverse.com/themes/crawford/
Tags: black, white, light, one-column, responsive-layout, custom-menu, custom-colors, editor-style, featured-images, sticky-post
Version: 1.0.3
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html 
Crawford WordPress Theme, Copyright 2014 wpmultiverse.com
Crawford WordPress Theme is distributed under the terms of the GNU GPL
Text Domain: boxy_crawford
*/ 

body {color:#222; font-family:'Domine',serif;}
img {display:inline-block; height:auto; max-width:100%;}

/* Team Profile Styling */

h3 {color: blue;}

/* Page structure */
.site {
	padding: 0 24px;
	padding: 0 1.714285714rem;
	background-color: #fff;
}
.site-content {
	margin: 24px 0 0;
	margin: 1.714285714rem 0 0;
}
.widget-area {margin: 24px 0 0; margin: 1.714285714rem 0 0;}

.row {margin-top: 25px;}

/* ----- body ----- */
@media screen and (min-width: 960px) {
	body {background-color: #e6e6e6;}
	body .site {max-width: 1200px; padding: 40px 0; padding: 2.857142857rem 0; margin: 48px auto; margin: 3.428571429rem auto; box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);}
	body.custom-background-empty {background-color: #fff;}
	body.custom-background-empty .site,
	body.custom-background-white .site {padding: 0; margin-top: 0; margin-bottom: 0; box-shadow: none;}
}

/* ----- header & footer ----- */
header {margin: 0}
header #logo-tagline {text-align:center; padding-bottom:30px;}
header #site-name {text-transform:uppercase; font-size:48px; color:#222; font-family:'Oswald',sans-serif; margin:0;}
header #tagline {margin:20px 0 0 0;}
header nav {border-top:1px solid #ddd; border-bottom:2px solid #ddd;}
header nav ul {position:relative; float:left; left:50%; margin:0; padding:0; list-style:none;}
header nav li {position:relative; float:left; right:50%; margin:6px 0; border-right:1px solid #ddd; padding:8px 20px; display:block; text-transform:uppercase;}
header nav li a {color:#353535; font-size:13px; font-family:'Oswald',sans-serif;}
header nav li.last {border:0;}
header nav .sub-menu {display:none; float:none; position:absolute; left:-1px; z-index:9999; background-color:#eaeaea; top:35px; padding:3px 20px;}
header nav .sub-menu li {float:none; border:0; position:static; right:0; white-space:nowrap; font-size:12px; text-transform:none; padding:0;}
header nav .sub-menu li a {font-family:'Domine',serif; padding:4px 0; width:100%; display:block;}
header nav .menu-item-has-children:hover {background-color:#eaeaea;}
header nav .menu-item-has-children:hover .sub-menu li a {color:#353535;}
footer {margin-top:60px;}
#footer-sidebar {border-top:2px solid #ddd;}
#footer-sidebar .row {overflow: hidden;}
#footer-sidebar .col {border-right:1px solid #e1e2e3; padding:30px 0 9999px 0; margin-bottom: -9999px; *margin-bottom: -9999px;}
#footer-sidebar .left {padding-right:30px;}
#footer-sidebar .middle {padding-left:30px; padding-right:30px;}
#footer-sidebar .right {padding-left:30px; border:0;}
#footer-sidebar .widget {padding-bottom:15px;}
#footer-sidebar .widget h4 {margin-top:0;}
#footer-meta {text-align:center; border-top:1px solid #ddd; padding:15px 0;}
#footer-meta p {color:#aaa; font-size:12px;}
#footer-meta a {color:#aaa;}
#footer-meta .menu {position:relative; float:left; left:50%; padding:0; list-style:none; margin-top:0;}
#footer-meta .menu li {position:relative; float:left; right:50%; margin: 0 5px; font-size:13px;}
#right-sidebar .widget {border-bottom:1px solid #e1e2e3; padding-bottom:15px; padding-right:15px;}
#right-sidebar .widget_search {padding-right:0px;}
#homepage-widget-1 .widget h4 {font-size: 20px; color: #353535;}
#homepage-widget-2 .widget h4 {font-size: 20px; color: #353535;}

/* ----- buttons ----- */

.permitbutton {display:inline-block; cursor:pointer; background-color:#8A160E; color:#ffffff; padding:8px 12px; text-decoration:none; border:solid 1px #8A160E; border-radius:3px;}
.permitbutton:hover {background-color:#ffffff; color:#8A160E;}
.permitbutton:active {position:relative; top:1px;}

.rubybutton {display:inline-block; cursor:pointer; background-color:#ffffff; color:#8A160E; font-size:14px; padding:8px 12px; text-decoration:none; border:solid 1px #8A160E; border-radius:3px;}
.rubybutton:hover {background-color:#8A160E; color:#ffffff;}
.rubybutton:active {position:relative; top:1px;}

.programsbutton {display:inline-block; cursor:pointer; color:#169C56; font-size:14px; padding:8px 12px; text-decoration:none; border:solid 1px #169C56; border-radius:3px;}
.programsbutton:hover {background-color:#169C56; color:#ffffff;}
.programsbutton:active {position:relative; top:1px;}

.policybutton {display:inline-block; cursor:pointer; color:#1E99C9; font-size:14px; padding:8px 12px; text-decoration:none; border:solid 1px #1E99C9; border-radius:3px;}
.policybutton:hover {background-color:#1E99C9; color:#ffffff;}
.policybutton:active {position:relative; top:1px;}

.greenbutton {display:inline-block; cursor:pointer; background-color:#ffffff; color:#319153; font-size:14px; padding:8px 12px; text-decoration:none; border:solid 1px #319153; border-radius:3px;}
.greenbutton:hover {background-color:#319153; color:#ffffff;}
.greenbutton:active {position:relative; top:1px;}

/* ----- widgets ----- */
.widget p {line-height:1.4em;}
.widget ul {padding-left:0;}
.widget li {margin:0 0 5px 16px;}
.widget select {width:100%;}
.widget_search input[type=text] {width:75%;}
.widget_calendar table {width:100%;}
.widget_calendar table td {text-align:center;}
.widget_calendar table caption {border-bottom:1px solid #ddd; padding-bottom:6px; margin-bottom:10px;}
.widget_tag_cloud a {font-size:12px!important; background-color:#eee; padding:4px 6px; margin:0 6px 6px 0; display:inline-block;}

/* ----- posts ----- */
#post-title, .post-title {padding-top:20px; text-align:left; font-size:32px;}
.post-date {text-align:left; color:#353535; font-size:16px; font-style:italic; margin:0;}
.post-title a {color:#222; margin-bottom:-20px;}
.divider {width:100%; text-align:center; color:#ddd; font-size:30px; margin:20px 0 20px 0;}
.excerpt-link {width:100%; text-align:right; font-size:14px; font-weight:bold;}
article {line-height:1.75em; font-size:18px;}
article.last .divider {display:none;}
article h1, article h2, article h3, article h4, article h5, article h6 {font-weight:bold; margin:0 0 0 0; line-height:1.5em;} 
article h1 {font-size:32px;}
article h2 {font-size:29px;}
article h3 {font-size:26px;}
article h4 {font-size:24px;}
article h5 {font-size:21px;}
article h6 {font-size:18px;}
article ul ul, article ol ol {margin-bottom:0}
article li {margin-bottom:10px;}
article table {width:100%; margin-bottom:25px;}
article table td, article table th {border:1px solid #ddd; padding:5px 10px; font-size:16px;}
article blockquote {border-left:3px solid #20b2aa; padding-left:30px;}
article blockquote cite {font-style:italic;}
article dl {margin-bottom:25px;}
article dt {font-weight:bold; font-size:17px;}
article dd {margin:0 0 10px 0; font-size:16px;}
#featured-image, .featured-image {margin-bottom:30px; text-align:left;}
#featured-image img, .featured-image img {padding-bottom:3px; border-bottom:1px solid #ddd;}
#post-tags {font-size:14px; text-align:center; margin-top:45px;}
#post-tags a {color:#353535; margin-right:10px; font-style:italic; display:inline-block;}
#page-links {text-align:center; font-size:14px;}
.wp-caption, .gallery-caption {max-width:97%; font-size:14px;}
.wp-caption-text {font-size:14px;}
.aligncenter {text-align:center;}
.alignleft {float:left; margin-right:15px;}
.alignright {float:right; margin-left:15px;}
.sticky {background-color:#f0f8ff; padding:20px 60px;}
.sticky .post-title {font-size:40px;}
.sticky .divider {display:none;}
.pager {width:100%; text-align:center; clear:both; padding-top:80px; text-transform:uppercase;}
.pager a.page-numbers, #page-links a {background-color:#222; color:#fff; padding:4px 10px;}
.pager .current {padding:4px 10px;}
.pager a.page-numbers:hover, #page-links a:hover {background-color:#ddd; color:#222;}
.pager a.prev, .pager a.next {background-color:#fff; color:#222;}
.pager a.prev:hover, .pager a.next:hover {background-color:#fff; color:#555;}
.pager .current {background-color:#eee; color:#222;}
.post-nav {height: 50px; margin-top: 50px; padding-top: 11px; font-size: 18px; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;}
.continue-reading {text-align: right;}

/* ----- comments ----- */
#comments {margin-top:60px; margin-bottom:45px; border-top:1px solid #ddd; padding-top:25px;}
#comments-title {font-size:18px;}
#respond {margin-top:30px;}
.comment-form-comment label {width:100%; margin-bottom:10px;}
.comment-list {list-style:none; padding-left:0;}
.comment-list li {margin-bottom:20px;}
.comment-author-name {margin-bottom:3px; font-weight:bold;}
.comment-author-name a {color:#222;}
.comment-body p {margin-top:0; line-height:1.75em;}
.bypostauthor {padding:5px 20px; background-color:#f0f8ff;}
.comment-awaiting-moderation {color:#aaa; font-style:italic; background-color:#ebebeb; padding:8px;}
#commentform label, .form-allowed-tags {display:none;}

/* ----- form elements ----- */
input[type=text], input[type=email], input[type=password], input[type=search], textarea {border:1px solid #ddd; margin-right:5px; padding:12px; width:85%; font-size:14px; color:#222; margin-bottom:10px; -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px;}
input[type=submit], input[type=reset] {background-color:#222; border:0; color:#fff; padding:10px 12px; text-align:center; font-size:14px;}
input[type=password] {width:100%;}
.screen-reader-text {display:none;}
form.navbar-search {float: right; padding-top: 3px;}
input.search-query.span3 {padding: 10px; margin-bottom: 0px;}
input#s {padding: 10px; margin-bottom: 0;}

/* -- media queries -- */
@media (max-width:768px) {	
	header {margin:25px 0;}
	#logo a {font-size:36px;}
	header nav li {width:100%; border:0; float:none; text-align:center;}
	header nav .menu-item-has-children:hover {background-color:transparent;}	
	header .navbar-toggle {background-color:#222; float:left; position:absolute; margin-top:9px; z-index:9999;}
	header .navbar-toggle span {background-color:#fff;}
}
@media (max-width:992px) {	
	#footer-sidebar .col {border:0;}
	#footer-sidebar .left, #footer-sidebar .middle, #footer-sidebar .right {padding-left:15px; padding-right:15px;}	
}


/* Highlighted posts widget */
.widget_highlighted_posts .single-article {
   position: relative;
   float: left;
   margin-bottom: 10px;
   margin-right: 2%;
   max-width: 49%;
}
.widget_highlighted_posts .single-article:nth-child(even) {
   margin-right: 0;
}
.widget_highlighted_posts img {
   margin-bottom: 0;
}
.widget_highlighted_posts .article-content {
   position: absolute;
   bottom: 0;
   background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
   background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
   background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
   background: linear-gradient(to bottom, rgba(0, 0, 0, 0) , rgba(0, 0, 0, 0.8));
   padding-bottom: 10px;
   padding-left: 5%;
   position: absolute;
   width: 95%;
}
.widget_highlighted_posts .above-entry-meta {
   display: none;
}
.widget_highlighted_posts .article-content .above-entry-meta .cat-links a {
   background-color: #289dcc;
   border-radius: 3px;
   color: #ffffff;
   font-size: 12px;
   padding: 3px 10px;
}
.widget_highlighted_posts .article-content .entry-title {
   padding: 10px 0 0;
   font-size: 16px;
}
.widget_highlighted_posts .article-content .entry-title a {
   color: #ffffff;
   text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.widget_highlighted_posts .article-content .entry-title a:hover {
   color: #289dcc;
}
.widget_highlighted_posts .article-content .below-entry-meta .posted-on,
.widget_highlighted_posts .article-content .below-entry-meta .byline {
   padding-right: 10px;
}
.widget_highlighted_posts .article-content .below-entry-meta .byline {
   display: none;
}
.widget_highlighted_posts .article-content .below-entry-meta .posted-on .fa {
   color: #ffffff;
   font-size: 10px;
   padding-right: 3px;
}
.widget_highlighted_posts .article-content .below-entry-meta .byline .fa,
.widget_highlighted_posts .article-content .below-entry-meta .comments .fa {
   color: #ffffff;
   padding-right: 5px;
   font-size: 11px;
}
.widget_highlighted_posts .article-content .below-entry-meta .posted-on a,
.widget_highlighted_posts .article-content .below-entry-meta .byline a,
.widget_highlighted_posts .article-content .below-entry-meta .comments a,
.widget_highlighted_posts .article-content .below-entry-meta .comments span {
   color: #ffffff;
   font-size: 11px;
}
.widget_highlighted_posts .article-content .below-entry-meta .posted-on a:hover,
.widget_highlighted_posts .article-content .below-entry-meta .byline a:hover,
.widget_highlighted_posts .article-content .below-entry-meta .comments a:hover {
   color: #289dcc;
}
.widget_highlighted_posts .widget-title {
   color: #555555;
   font-size: 24px;
}

/* -----featured posts widget ----- */
.widget_featured_posts .article-content .above-entry-meta .cat-links a {
   border-radius: 3px;
   color: #353535;
   font-size: 12px;
   padding: 3px 10px;
}
.widget_featured_posts .article-content .entry-title {
   padding: 10px 0 0;
   font-size: 30px;
    margin: 0px
}
.widget_featured_posts .article-content .entry-title a {
   color: #353535;
   text-shadow: none;
}
.widget_featured_posts .article-content .entry-title a:hover {
   color: #289dcc;
}
.widget_featured_posts .article-content .below-entry-meta .posted-on,
.widget_featured_posts .article-content .below-entry-meta .byline {
   padding-right: 10px;
}
.widget_featured_posts .article-content .below-entry-meta .posted-on .fa {
   color: #888888;
   font-size: 10px;
   padding-right: 3px;
}
.widget_featured_posts .article-content .below-entry-meta .byline .fa,
.widget_featured_posts .article-content .below-entry-meta .comments .fa {
   color: #888888;
   padding-right: 5px;
   font-size: 11px;
}
.widget_featured_posts .article-content .below-entry-meta .posted-on a,
.widget_featured_posts .article-content .below-entry-meta .byline a,
.widget_featured_posts .article-content .below-entry-meta .comments a,
.widget_featured_posts .article-content .below-entry-meta .comments span {
        text-align: left;
    color: #353535;
    font-size: 16px;
    font-style: italic;
    margin: 0;
}

.widget_featured_posts {
   margin-bottom: 30px;
}
.widget_featured_posts .widget-title {
   border-bottom: 1px solid #E3E3E3;
   font-size: 26px;
    margin-top: 30px;
   margin-bottom: 15px;
   padding-bottom: 20px;
    text-align:center;
}
.widget_featured_posts .widget-title span {
   color: #e3e3e3;
   padding: 6px 12px;
   display: inline-block;
}
.widget_featured_posts img {
   margin-bottom: 18px;
}
.widget_featured_posts .first-post {
   float: left;
   width: 48.70129870%;
   margin-bottom: 20px;
}
.widget_featured_posts .following-post {
   float: right;
   width: 48.70129870%;
}

@media (max-width: 800px) {
	.widget_featured_posts .first-post {
   float: none;
   width: 100%;
   margin-bottom: 20px;
}
.widget_featured_posts .following-post {
   float: none;
   width: 100%;
}
}

.widget_featured_posts .following-post .byline {
   display: none;
}
.widget_featured_posts.widget_featured_posts_vertical .first-post,
.widget_featured_posts.widget_featured_posts_vertical .following-post {
   float: none;
   width: 100%;
}
.widget_featured_posts .single-article {
   background-color: #ffffff;
   box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}
.widget_featured_posts .article-content {
   padding: 0 15px 5px;
}
.widget_featured_posts .article-content .below-entry-meta {
   margin-bottom: 12px;
}
.widget_featured_posts .article-content .entry-content p {
   font-size: 14px;
}
.widget_featured_posts .following-post .single-article {
   margin-bottom: 15px;
}
.widget_featured_posts .following-post figure {
   float: left;
   margin-right: 10px;
}
.widget_featured_posts .first-post figure {
    margin: 0;
    text-align: center;
}
#secondary .widget_featured_posts .following-post .article-content .entry-title {
   font-size: 14px;
   line-height: 1.4;
}
.widget_featured_posts .following-post .article-content .entry-title {
   font-size: 18px;
    font-size: 22px;
    margin: 0px;
}
.widget_featured_posts .following-post .article-content .below-entry-meta .posted-on a,
.widget_featured_posts .following-post .article-content .below-entry-meta .byline a {
    text-align: left;
    color: #353535;
    font-size: 16px;
    font-style: italic;
    margin: 0;
}
.widget_featured_posts .following-post .article-content .below-entry-meta {
   margin-bottom: 0;
}
.widget_featured_posts .following-post img {
   margin-bottom: 0;
}
.widget_featured_posts .following-post .above-entry-meta {
   display: none;
}

.news-bar {
   background-color: #ffffff;
   padding: 8px 0 4px;
   box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
   font-size: 14px;
}
.breaking-news {
   float: left;
}
.breaking-news div {
   display: none;
}
.breaking-news-latest {
   color: #555555;
   margin-right: 10px;
   position: absolute;
}

.widget_featured_posts.widget_featured_posts_vertical .first-post {
    float: left;
    width: 48.70129870%;
    margin-bottom: 20px;
}

.widget_featured_posts.widget_featured_posts_vertical .following-post {
    float: right;
    width: 48.70129870%;
    margin-bottom: 20px;
}

@media (max-width: 800px) {
	.widget_featured_posts.widget_featured_posts_vertical .first-post {
    float: none;
    width: 100%;
    margin-bottom: 20px;
}

.widget_featured_posts.widget_featured_posts_vertical .following-post {
    float: none;
    width: 100%;
    margin-bottom: 20px;
}
}

.widget_featured_posts .widget-title span {
    /* background-color: #289dcc; */
    color: #616060;
    padding: 6px 12px;
    display: inline-block;
}