/*
Theme Name:     Different Lives
Description:    Child theme for Different Lives based on the twentysixteen theme
Author:         Johnathan Lightley
Template:       twentysixteen
Version:        1.0
*/

/* -Jc. 11-08-2016 */

/* Typography */
body,
button,
input,
select,
textarea {
	color: #1a1a1a;
/*	font-family: Merriweather, Georgia, serif;*/
	font-family: "Open Sans", Arial, sans serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.75;
}

.entry-title {
font-size:2rem!important;
}

/* remove black border */
.site {
margin:0px!important;
}

body:not(.custom-background-image):before, body:not(.custom-background-image):after {
height: 0px !important;
}

/* blue menu item when selected */
.main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a {
    color: #007acc!important;
}

/*#main .post-thumbnail {
	display:none;
}*/

/* fix the weird space-eating chrome beahaviour at start of first para */
.entry-content p {
word-wrap: normal;
}

/* 50-50 page format */
.half {
float:left;
width:50%;
}

.left-side {
padding-right:10px;
}

.right-side {
padding-left:10px;
}

/* remove '/' after site title in footer */
.site-footer .site-title::after {
content:""!important;
}

/* Sidebar */
.widget {
border-width:2px!important;
}

.widget .widget-title {
font-size:12px!important;
/*min-width:82px;*/
}

.ccchildpages.ccflex .ccchildpage {
    margin: 0 0%;
    padding: 0 1%;
}

.ccpage_linked_title {
margin-bottom:5px!important;
}

h3 a.ccpage_title_link {
box-shadow:none;
font-size:13px;
font-weight:400;
}

.ccchildpage:hover a.ccpage_title_link {
color:#007acc!important;
}

.ccchildpages.ccflex a.ccpage_linked_thumb img {
margin-top:0px;
margin-bottom:0px;
}

.ccchildpages.ccflex .ccchildpage {
gap:0rem
}

.cc-child-pages-thumb {
margin-top:5px;
margin-bottom:15px;
}

.onecol .ccchildpage {
max-width:100px;
}

/* tighten header */
.site-header {
padding-bottom:1em!important;
}

/* style large bulleted paragraphs */
.long-list li {
margin-bottom:1em;
}

table, th, td {
border:none;
}

/* responsive add-ons */
@media screen and (min-width: 44.375em) {
.site-description {
    display: none!important;
}
/* widen content to fill screen -medium devices */
.entry-header, .post-thumbnail, .entry-content, .entry-summary, .entry-footer, .comments-area, .image-navigation, .post-navigation, .page-header, .page-content, .content-bottom-widgets {
margin-right:7.69%!important;
}
.sidebar, .widecolumn {
padding-right:7.67%!important;
}
}

@media screen and (min-width: 56.875em) {
.sidebar {
    margin-left: 93%!important;
    width: 7%!important;
}

.content-area {
    width: 93%!important;
}

.childpages-class ul {
margin:0px;
list-style:none;
}
.no-sidebar .content-area {
    width: 100%!important;
}

.no-sidebar .entry-header, .no-sidebar .entry-content, .no-sidebar .entry-summary, .no-sidebar .entry-footer, .no-sidebar .comments-area, .no-sidebar .image-navigation, .no-sidebar .post-navigation, .no-sidebar .pagination, .no-sidebar .page-header, .no-sidebar .page-content, .no-sidebar .content-bottom-widgets {
    margin-left:0px!important;
    margin-right:0px!important;
}

.widget {
min-width:82px;
}

.entry-content {
margin-right:3%!important;
}

.site-header {
    padding: 1em 4.5455%!important;
}
}

@media screen and (max-width: 56.875em) {
/* format thumbs when at foot of page */
.onecol .ccchildpage {
height:100px;
}

a.ccpage_linked_thumb img {
width:65%;
}

/* tighten top margin for smaller screens */
.site-header {
padding-top:0px!important;
}
/* 50-50 page format */
.half {
width:100%;
}

.left-side {
padding-right:0px;
}

.right-side {
padding-left:0px;
}
}