/*
 Theme Name:   Twenty Sixteen Child - RDF
 Theme URI:    http://www.roalddahlfans.com
 Description:  Twenty Sixteen Child Theme for Roald Dahl Fans.com
 Author:       Kristine Howard
 Author URI:   http://www.krishoward.org
 Template:     twentysixteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Ads */
div.headerbanner {
	margin: 1em 0;
	padding: 0 8.3333%;
}

ins {
	background: transparent;
	text-decoration: none;
}

/* Amazon */

div.azlink {
	display: inline;
}

div.azlink a {
	border: 0;
	box-shadow: none;
}

div.azlink a img {
	width: 125px;
	display: inline;
}

/* Galleries */

dd {
	margin-bottom: 0px;
}

dd.gallery-caption div.azlink a img {
	width: 75px;
	margin: 0 auto;
}

/* Calendar */

article.mc-events .entry-content {
	float: none !important;
	width: auto !important;
}

.entry-content a.url.summary {
	box-shadow: none;
}

.mc-main .weekend .mc-date {
    background: #c25a7c;
    color: #000;
}

.mc-main h3, .mc-main h3 a {
    font-weight: normal; 
}

.mc-main .current-day {
    background: #FAE743;
}

.mc-description {
	margin-top: 1em;
}

.mc-main .mc-list .odd {
    background: #D6D6D6;
}

.mc-main .odd .list-event .details {
    background: #ffffff;
}

.mc-main .sub-details {
    margin-left: 0;
}



/**
 * 3.0 - Typography
 */
 
h1,
h1.entry-title,
h2,
h2.entry-title,
h3,
h4,
h5,
h6,
.post-navigation .post-title {
	font-family: GoodDog;
	font-weight: 700;
	margin-bottom: .5em;
}

.entry-content h1 {
	font-size: 2.5rem;
	margin-bottom: .5em;
	line-height: 1em;
}

.entry-content h2 {
	font-size: 1.75rem;
	margin-top: .75em;
	margin-bottom: .5em;
}

ins {
	background-color: transparent !important;
}

div.breadcrumbs {
	font-style: italic;
	font-size: 80%;
	margin-bottom: 1em;
	color: rgba(51, 51, 51, 0.7);
	margin-right: 7.6923%;
    margin-left: 7.6923%;
}

div.breadcrumbs a {
	border-bottom: 1px solid rgba(51, 51, 51, 0.7);
	color: rgba(51, 51, 51, 0.7);
}

.cd-timeline-content p {
	margin: 0;
}

#cd-timeline {
	margin-top: 0px !important;
	margin-bottom: 2em !important;
}

/**
 * 11.0 - Content
 */

.site {
	margin-top: 2em;
}

.site-inner {
	box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
}

.page-header {
	margin-bottom: 2em;
}
.site-header {
	padding-bottom: 0px;
}

.site-main, .site-main article {
	margin-bottom: 2em;
}

.site-branding {
	margin: 0 auto 1em 0 !important;
}

.site-header-menu {
	margin: 0.875em 0 1.5em 0;
}

.sidebar {
	margin-bottom: 2em;
}

.widget {
	margin-bottom: 2em;
}

.content-bottom-widgets .widget-area {
    margin-bottom: 2em;
}

body:not(.search-results) article:not(.type-page) .entry-content {
	float: none;
	width: auto;
}

body:not(.search-results) article:not(.type-page) .entry-footer {
	float: none;
	width: auto;
	}

.author {
    display: none;
}

/**
 * 14.0 - Media Queries
 */
 
/**
 * 14.1 - >= 710px
 */

@media screen and (min-width: 44.375em) {
	.site {
		margin: 1em 50px 50px 50px;
	}
	
	.site-header {
		padding-top: 3em;
		padding-bottom: 1em;
	}
	
	.sub-menu {
		 text-indent: initial;
		 top: 105px;
	}	
}

/**
 * 14.3 - >= 910px
 */

@media screen and (min-width: 56.875em) {

	.site-branding {
		margin: 0 2em 1em 0 !important;
	}
	
	.main-navigation {
		margin: 0px;
	}
	
	.site-header-menu {
		-webkit-flex: 1 1 auto;
		-ms-flex: 1 1 auto;
		flex: 1 1 auto;
	}
	
	div.breadcrumbs {
	margin-right: 0;
    margin-left: 0;
}
	
	.entry-content h1 {
		font-size: 2.5rem;
		margin-bottom: .5em;
	}
	
	li.menu-item-21 {
	  width: 12.5%;
	  height: 105px;
	  background-image: url("images/banner_Home_nav.png");
	  background-color: #4E397E;
	  background-size: contain;
	  background-repeat: no-repeat;
	  background-position: center;
	  text-indent: -9999px;
	}
	
	li.menu-item-24 {
	  width: 12.5%; 
	  height: 105px;
	  background-image: url("images/banner_HisLife_nav.png");
	  background-color: #7E587E;
	  background-size: contain;
	  background-repeat: no-repeat;
	  background-position: center;
	  text-indent: -9999px;
	}
	
	li.menu-item-27 {
	  width: 12.5%; 
	  height: 105px;
	  background-image: url("images/banner_HisWork_nav.png");
	  background-color: #C25A7D;
	  background-size: contain;
	  background-repeat: no-repeat;
	  background-position: center;
	  text-indent: -9999px;
	}
	
	li.menu-item-30 {
	  width: 12.5%; 
	  height: 105px;
	  background-image: url("images/banner_Collecting_nav.png");
	  background-color: #4963A0;
	  background-size: contain;
	  background-repeat: no-repeat;
	  background-position: center;
	  text-indent: -9999px;
	}
	
	li.menu-item-33 {
	  width: 12.5%; 
	  height: 105px;
	  background-image: url("images/banner_Classroom_nav.png");
	  background-color: #2B547F;
	  background-size: contain;
	  background-repeat: no-repeat;
	  background-position: center;
	  text-indent: -9999px;
	}
	
	li.menu-item-42 {
	  width: 12.5%; 
	  height: 105px;
	  background-image: url("images/banner_Fun_nav.png");
	  background-color: #676362;
	  background-size: contain;
	  background-repeat: no-repeat;
	  background-position: center;
	  text-indent: -9999px;
	}
	
	li.menu-item-36 {
	  width: 12.5%; 
	  height: 105px;
	  background-image: url("images/banner_Places_nav.png");
	  background-color: #6E4E37;
	  background-size: contain;
	  background-repeat: no-repeat;
	  background-position: center;
	  text-indent: -9999px;
	}
	
	li.menu-item-47 {
	  width: 12.5%; 
	  height: 105px;
	  background-image: url("images/banner_About_nav.png");
	  background-color: #C68E17;
	  background-size: contain;
	  background-repeat: no-repeat;
	  background-position: center;
	  text-indent: -9999px;
	}
	
	ul.primary-menu li a {
	  height: 105px;
	}
	
	ul.sub-menu li a {
	  height: auto;
	}
}