/**
	Theme Name:   	Twenty Fifteen ResPlus
	Theme URI:    	https://druijter.tk/twenty-fifteen-resplus/
	Description:  	Twenty Fifteen ResPlus Theme
	Author:       	Dennis de Ruijter
	Author URI:   	https://druijter.tk
	Template:     	twentyfifteen
	Version:      	1.2
	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:	twenty-fifteen-resplus
*/

/**
* Table of Contents
*
* 1.0 - Reset
* 2.0 - Genericons
* 3.0 - Typography
* 4.0 - Elements
* 5.0 - Forms
* 6.0 - Navigations
*	6.1 - Links
* 	6.2 - Menus
* 7.0 - Accessibility
* 8.0 - Alignments
* 9.0 - Clearings
* 10.0 - Header
* 11.0 - Widgets
* 12.0 - Content
*	12.1 - Posts and pages
*	12.2 - Post Formats
*	12.3 - Comments
* 13.0 - Footer
* 14.0 - Media
*	14.1 - Captions
*	14.2 - Galleries
* 15.0 - Multisite
* 16.0 - Media Queries
* 	16.1  - Mobile XXSmall
*	16.2  - Mobile XSmall
*	16.3  - Mobile Small
*	16.4  - Mobile Large
*	16.5  - Tablet Small
*	16.6  - Tablet Large
*	16.7  - Desktop Small
*	16.8  - Desktop Medium
*	16.9  - Desktop Large
*	16.10 - Desktop X-Large
*	16.11 - Desktop XX-Large
* 17.0 - Print
*/

/**
 * 1.0 - Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine
 * work of Eric Meyer, Nicolas Gallagher, Jonathan Neal, and Blueprint.
 * 
 * Used colors:
 * Light green #d3cfac (Gray-green)
 * Middle green #757250 (Olive-green)
 * Dark green #262b28 (Black-green)
 */

.slogan {
	background-color: #757250;
	font-size: 12px;
	position: absolute;
	width: 100%;
	bottom: 0px;
}

.slogan p {
	margin: 0 auto;
	width: 100%;
	text-align: center;
}

.main-navigation {
	width: 100%;
}

.main-navigation li {
	border-top: 1px solid rgba(51, 51, 51, 0.1);
	margin-bottom: 5px;
	position: relative;
}

.menu-item {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#262b28+0,787451+100 */

	background: #262b28; /* Old browsers */
	background: -moz-linear-gradient(left,  #262b28 0%, #787451 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#262b28), color-stop(100%,#787451)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  #262b28 0%,#787451 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  #262b28 0%,#787451 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  #262b28 0%,#787451 100%); /* IE10+ */
	background: linear-gradient(to right,  #262b28 0%,#787451 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#262b28', endColorstr='#787451',GradientType=1 ); /* IE6-9 */
	-webkit-transition: background 1s ease-out;  
	-moz-transition: background 1s ease-out;  
	-o-transition: background 1s ease-out;  
	transition: background 1s ease-out;
}

.menu-item:hover {
	background-position:-100px;
} 

.current_page_item {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#262b28+0,d6d2ae+100 */

	background: #262b28; /* Old browsers */
	background: -moz-linear-gradient(left,  #262b28 0%, #d6d2ae 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,#262b28), color-stop(100%,#d6d2ae)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  #262b28 0%,#d6d2ae 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  #262b28 0%,#d6d2ae 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  #262b28 0%,#d6d2ae 100%); /* IE10+ */
	background: linear-gradient(to right,  #262b28 0%,#d6d2ae 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#262b28', endColorstr='#d6d2ae',GradientType=1 ); /* IE6-9 */
}

/**
 * 3.0 Typography
 */

p {
	font-family: 'Alegreya Sans', sans-serif;
	color: #262b28;
}

li {
	font-family: 'Alegreya Sans', sans-serif;
	color: #262b28;
}

/**
 * 6.1 Links
 */

a {
	font-family: 'Alegreya Sans', sans-serif;
	color: #fff;
}

/**
 * 6.2 Menus
 */

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
	font-weight: 400;
} 

.main-navigation a {
	padding: 0.8em 10px;
	font-size: 14px;
	color: #d3cfac;
}

.main-navigation a:hover {
	color: #fff; 
}

.secondary-toggle {
	background-color: #757250;
	top: 10%;
	right: 5%;
}

/**
 * 10.0 Header
 */

.site-header {
	background-color: #262b28;
	padding: 0;
}

.site-branding {
	padding-right: 0px;
	min-height: 2em;
	position: relative;
	margin-bottom: -1px;
}

.custom-logo {
	max-height: 120px;
}

/**
 * 12.0 Content
 */

.secondary {
	background-color: #262b28;
}

/**
 * 12.1 Posts and pages
 */

.hentry {
	background-color: #d3cfac;
}

/**
 * 16.0 Media Queries
 */


/**
 * 16.1 Mobile XXSmall 160px
 */

@media screen and (min-width: 10em) {

	.site-branding {
		min-height: 16em;
	}

	.slogan {
		font-size: 12px;
	}
}

/**
 * 16.2 Mobile XSmall 320px
 */

@media screen and (min-width: 20em) {

	.site-branding {
		min-height: 23em;
	}
}

/**
 * 16.3 Mobile Small 480px
 */

@media screen and (min-width: 30em) {

	.main-navigation a {
		padding: 0.75em 10px;
		font-size: 16px;
	}

	.site-branding {
		min-height: 35em;
	}
}

/**
 * 16.4 Mobile Large 620px
 */

@media screen and (min-width: 38.75em) {

	.main-navigation a {
		padding: 0.75em 10px;
		font-size: 18px;
	}

	.site-branding {
		min-height: 40em;
	}

	.menu-item:hover {
		background-position:-120px;
	}

	.site-main {
		padding: 0;
	}

	.hentry,
	.page-header,
	.page-content {
		margin: 0;
	}
}

/**
 * 16.5 Tablet Small 740px
 */

@media screen and (min-width: 46.25em) {

	.main-navigation a {
		padding: 1em 10px;
		font-size: 20px;
	}

	.menu-item:hover {
		background-position:-140px;
	}

	.site-branding {
		min-height: 45em;
	}

	.custom-logo {
		max-height: 140px;
	}
}

/**
 * 16.6 Tablet Large 880px
 */

@media screen and (min-width: 55em) {

	.main-navigation a {
		padding: 0.75em 10px;
		font-size: 22px;
	}

	.menu-item:hover {
		background-position:-160px;
	}

	.site-branding {
		min-height: 50em;
	}

	.custom-logo {
		max-height: 160px;
	}
}

/**
 * 16.7 Desktop Small 955px
 */

@media screen and (min-width: 59.6875em) {

	body:before {
		width: -webkit-calc(32%);
		width: calc(32%);
	} 

	.main-navigation a {
		padding: 0.5em 10px;
		font-size: 12px;
	}

	.site {
		margin-left: 190px;
		margin-right: auto;
		margin-top: 0px;
		margin-bottom: 0px;
		max-width: 69.3%;
	}

	.sidebar {
		background-color: #262b28;
		max-width: 140px;
		margin-left: 70px;
	        height: 100%;
		width: 21.5%;
		-webkit-box-shadow: 4px 2px 94px -7px rgba(0,0,0,0.75);
		-moz-box-shadow: 4px 2px 94px -7px rgba(0,0,0,0.75);
		box-shadow: 4px 2px 94px -7px rgba(0,0,0,0.75);
		z-index: 999;
	}

	.secondary {
		margin-top: 60px;
	}
	
	.site-main {
		padding: 0;
	}

	.site-content {
		margin-left: 23.5%;
		width: 92%;
	}

	.main-navigation {
		margin: 0;
	}

	.main-navigation a {
		padding: 0.5em 10px;
	}

	.menu-item:hover {
		background-position: -40px;
	}

	.site-header {
		margin: 10% 0;
		padding: 0 0;
	}

	.widget {
		color: #fff;
	}

	.hentry,
	.page-header,
	.page-content {
		margin: 0;
	}

	.entry-content,
	.entry-summary {
		padding: 0 5% 10% 10%;
	}

	.site-branding {
		min-height: 2em;
	}

	.custom-logo {
		display: block;
		width: 75%;
		margin-left: auto;
		margin-right: auto;
		max-height: 198px;
	}

	.site-footer {
		margin: 0 0 0 29.2%;
		width: 56.5882%;
	}
}

/**
 * 16.8 Desktop Medium 1100px
 */

@media screen and (min-width: 68.75em) {

	.site {
		margin-left: 190px;
		max-width: 71.4%;
	}

	.main-navigation a {
		padding: 0.5em 10px;
		font-size: 12px;
	}

	.menu-item:hover {
		background-position:-43px;
	}

	.sidebar {
		max-width: 140px;
		margin-left: 100px;
	}

	.custom-logo {
		max-height: 200px;
	}
}

/**
 * 16.9 Desktop Large 1240px
 */

@media screen and (min-width: 77.5em) {

	.site {
		margin-left: 210px;
		max-width: 71.8%;
	}

	.main-navigation a {
		padding: 0.5em 5px;
		font-size: 14px;
	}

	.menu-item:hover {
		background-position:-46px;
	}

	.sidebar {
		max-width: 150px;
		margin-left: 120px;
	}

	.custom-logo {
		max-height: 228px;
	}

	.slogan {
		font-size: 14px;
	}
}

/**
 * 16.10 Desktop X-Large 1403px
 */

@media screen and (min-width: 87.6875em) {

	body:before {
		width: -webkit-calc(35% - 150px);
		width: calc(35% - 150px);
	}

	.site {
		max-width: 73.4%;
	}

	.main-navigation a {
		padding: 0.5em 10px;
		font-size: 16px;
	}

	.menu-item:hover {
		background-position:-56px;
	}

	.sidebar {
		max-width: 180px;
		margin-left: 120px;
	}

	.custom-logo {
		max-height: 248px;
	}

	.slogan {
		font-size: 16px;
	}
}

/**
 * 16.11 Desktop XX-Large 1680px
 */

@media screen and (min-width: 105em) {

	body:before {
		width: -webkit-calc(35% - 200px);
		width: calc(35% - 200px);
	}

	.site {
		max-width: 75.5%;
	}

	.menu-item:hover {
		background-position:-76px;
	}

	.main-navigation a {
		padding: 0.5em 5px;
		font-size: 18px;
	}

	.sidebar {
		max-width: 220px;
		margin-left: 130px;
	}

	.slogan {
		font-size: 18px;
	}
}

/**
 * 17.0 Print
 */

@media print {

	.sidebar {
		background-color: #262b28;
	}

	.site-header {
		padding: 0;
	}
}
