/*
Theme Name: De Runen Child Theme
Theme URI: http://zthemes.net/themes/kokorolite
Description: Customized Child Theme for De Runen based on Kokoro by ZThemes.net
Author: ZThemes.net and Designstudio Twente
Author URI: https://www.designstudiotwente.nl
Text Domain: kokoro
Template: kokoro

*/

@import url("../kokoro/style.css");
html, body {
	font-size: 15px;
}

h1, h2.entry-title, h1.entry-title, h2 {
	color: #009886;
	letter-spacing: 0px;
	font-weight:normal;
	font-family: 'Lato', sans-serif;
}
h1, h2, h3 {
	margin-top:0;
	font-family: 'Lato', sans-serif;
}
#primary h1 {
	font-size: 28px;
	margin-bottom: 25px;
	color: #007e6f;
	font-weight:normal;
	letter-spacing: 0px;
}
#primary h2 {
	font-size: 22px;
	font-weight:normal;
	color: #009886;
	margin-top: 5px;
	margin-bottom:10px;
	font-size: 20px;
}
#primary h3 {
	color: #009886;
	margin-top:0;
	margin-bottom: 8px;
	font-weight:normal;
	font-size: 16px;
}
#primary h4 {
	margin-top:0;
	margin-bottom: 5px;
	font-size: 16px;
	line-height: 28px;
}
p, .widget p {
	font-size: 15px;
	line-height: 26px;
	margin-top: 0;
	margin-bottom:14px;
}
p.large {
	font-size: 19px;
	line-height: 28px;
}
a {
	font-weight:bold;
}
.su-spoiler-title {
	color: #009886;	
}
.su-spoiler-title:hover {
	color: #006836;	
}
#content a.button, #content input[type="submit"] {
	color:#fff;
	display:block;
	padding: 10px 10px 10px 45px;
	text-align: center;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: #009886 url(img/bg-button.png) bottom left no-repeat; 
    background-image: url(img/bg-button.png), linear-gradient(#20c6b2, #039d8b); 
	font-size: 18px;
	font-weight: bold;
	margin: 16px 0 14px 0;
	max-width: 280px;
	border:none;
}
.wpcf7 input[type="button"], .wpcf7 input[type="submit"] {
	line-height: 26px;
	padding: 10px 10px 10px 45px;
	display:block;
	font-weight: normal;
	text-transform: uppercase;
	min-width: 200px;
}
#content a.button:hover {
	background: #1fc4b1 url(img/bg-button.png) bottom left no-repeat; 
    background-image: url(img/bg-button.png), linear-gradient(#2cd0bd,#10af9d); 
	text-decoration:none;
}
#primary ul {
	list-style:none;
	padding:0;
	margin: 5px 0 20px 0;
}
#primary ul li {
	list-style:none;
	padding: 2px 0 2px 30px;
	background: url(img/bg-ul.png) top left no-repeat;
}
#primary .home-widget ul li {
	padding: 8px 0 8px 30px;
	margin-bottom:0;
}
#primary ul ol {
	list-style:lower-alpha;
	margin-top: 10px;
	margin-left: 14px;
}
#primary ul ol li {
	list-style:decimal;
	background:none;
	padding-left: 0;
}
/* Navigation */
#primary-menu.menu li a  {
	letter-spacing: 0px;
	color: #009886;
	font-size: 14px;
	font-weight: normal;
}
#primary-menu.menu li a:hover, #primary-menu.menu li.current-menu-item a, #primary-menu.menu li.current-menu-item .sub-menu a:hover, .current-menu-ancestor a, .current-menu-parent a {
	color: #444;
}
#primary-menu.menu li.current-menu-item .sub-menu a, .current-menu-ancestor a, .current-menu-parent a{
	color: #009886;	
}
/* Submenu */
#secondary .menu li a {
	text-transform: none;
	font-size: 16px;
	line-height: 16px;
	padding-top: 5px;
	padding-bottom: 15px;
	color: #007e6f;
}
#secondary .menu li.current-menu-item a {
	color: #333;
}
#secondary .menu li, #secondary .menu li a {
	width: 100%;
} 
/* Header */
#masthead {
	border-top: 10px solid #009886;
	background: #fff url(img/bg-masthead.jpg) bottom left no-repeat;
	background-size: cover;
}
/* Main */
.page-template-default .entry-header, .page-template-page-home  .entry-header, .page-template-page-full-width .entry-header {
	display:none;
}
div#content {
	padding-top: 15px;
}
.page-template-page-home  main#main, .page-template-page-full-width  main#main {
	width: 100%;
}
	
@media (min-width: 768px) {
	#primary.container {
		width: 90%;
	}
}
@media (min-width: 769px) and (max-width: 1023px) {
	.home #content a.button  {
		font-size: 15px;
		padding-left: 10px;
		background-image:none;
	}
}
@media (min-width: 769px) and (max-width: 960px) {
	main#main {
		width: 55%;
		float:left;
	}
	aside.sidebar { 
		width: 40%;
		float:right;
	}
	#sidebar-homepage .home-widget:first-of-type .textwidget, #sidebar-homepage .home-widget:last-of-type .textwidget {
		padding-bottom: 120px;
	}
	#content a.button, #content button, #content input[type="button"], #content input[type="submit"] {
		font-size: 16px;
	}	
}
@media (min-width: 960px) {
	main#main {
		width: 53%;
	}
	aside.sidebar { 
		width: 43%;
	}
}
@media (min-width: 1024px) {
	main#main {
		width: 55%;
	}
	aside.sidebar { 
		width: 40%;
	}
	#sidebar-homepage .home-widget {
		width: 33%;
		float: left;
		padding-left: 30px;
		box-sizing:border-box;
	}
}
@media (min-width: 1100px) {
	main#main {
		width: 60%;
	}
	aside.sidebar { 
		width: 36%;
	}

}
@media (min-width: 1280px) {
	main#main {
		width: 63%;
	}
	aside.sidebar { 
		width: 32%;
	}
}
/* Widgets */
#sidebar-homepage .home-widget:first {
	padding-bottom: 100px;
}
#sidebar-homepage .home-widget, #secondary  .widget_text {
	border: 1px solid #cae7e4;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	padding:0;
	margin-bottom: 40px;
}
.widget, #sidebar-homepage .textwidget, #secondary  .widget_text  {
	padding: 20px 30px 15px 30px;
}
.sidebar .widget {
	margin-bottom: 40px;
}
#primary .widget h2 {
	margin-top: 0;
}
#photo-mobile {
	display:block;
	box-sizing:content-box;
	line-height:0;
	width: 100%;
}
#photo-mobile img {
	margin:0;
	width: 100%;
}
.search-results hr {
	background-color: #ddd;
	margin: 30px 0;
}
/* Footer */
#instagram-footer {
	border-top: 10px solid #009886;	
	padding-top: 45px;
	padding-bottom: 45px;
	background: url(img/bg-footer.jpg) top center no-repeat;
}
footer.site-footer {
	background: #f1f1f1 url(img/bg-icon-corner.png) bottom left no-repeat;
	padding-top: 30px;
	padding-bottom: 36px;
}
footer .site-info {
	color: #b1b1b1;
	letter-spacing: 0px;
	font-size: 12px;
}
footer .site-info a {
    color: #999;
}
footer .site-info a:hover {
    color: #212121;
}
footer.site-footer .sep {
	clear:both;
	display:block;
	height: 5px;
	overflow: hidden;
}
.widget .search-form input.search-field {
	margin-bottom: 0;
}
#footer-wrapper .widget {
	margin-bottom:0;
	padding-top:0;
	padding-bottom:0;
}
/* Form */
.wpcf7 .field {
	padding-bottom: 10px;
}
.wpcf7 .field:after {
  content: "";
  display: table;
  clear: both;
}
.wpcf7-text {
    width: 100%;
}
.wpcf7 label {
	width: 150px;
	display:block;
	float:left;
	font-weight:bold;
	margin-right: 20px;
	padding-top: 6px;
}
.wpcf7-radio label {
	width: auto;
	display:inline;
	padding:0;
}
.wpcf7-radio {
	margin-top: 10px;
	display:block;
}
span.wpcf7-list-item {
	margin-left: 0;
}
.wpcf7-form-control-wrap {
	width: 50%;
	display:block;
	float:left;
}
.wpcf7 input {
	padding: 8px 10px;
}
span.wpcf7-not-valid-tip {
	color: #009886;
	font-weight:bold;
	font-style: italic;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
	border:None;
	padding: 10px 20px;
	margin: 10px 0 14px 0;
	background: #ddd;
	color: #333;
	font-weight:bold;
	font-style: italic;	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
@media screen and (max-width: 768px) {
	.site-branding {
		padding-top: 20px;
		padding-bottom: 20px;
		margin-top: 20px !important;
	}	
	.wpcf7-form-control-wrap {
		width: 100%;
	}
	button.menu-toggle {
		width: 100%;
		display:block;
		background: #009886;
		color: #fff;
		text-shadow:none;
		font-size: 18px;
		font-weight:bold;
		line-height: 20px;
	}
	nav.toggled button.menu-toggle {
		background-color: #999;
	}
	button.menu-toggle:hover, nav.toggled button.menu-toggle:hover {
		background-color: #12b3a0;
	}
	.m_menu_icon {
		background-color: #fff;
	}
	span.menu-icon {
		background: url(img/bg-menu-icon.png) center center no-repeat;
		width: 20px;
		height: 20px;
		display:inline-block;
		margin-right: 10px;
	}
	.main-navigation {
		border:None;
	}
	#primary-menu.menu {
		padding: 15px 0;
		border-bottom: 2px solid #ddd;
	}
	#primary-menu.menu li a{
		padding-top: 5px;
		padding-bottom: 5px;
		font-size: 16px;
	}
	.sub-menu {
		padding-top: 0px;
		padding-bottom: 15px;
	}
	#primary-menu.menu li .sub-menu a {
		font-size: 14px;
		color: #444;
		text-transform:none;
		padding-top: 3px;
		padding-bottom: 3px;
	}	
	#secondary  .widget_text {
		padding: 20px 25px 15px 25px;
	}
}
@media screen and (min-width: 480px) and (max-width: 640px) {
	#masthead .container {
		width: 70%;
	}
}
@media screen and (min-width: 641px) and (max-width: 768px) {
	#masthead .container {
		width: 60%;
	}
}
@media screen and (min-width: 768px) and (max-width: 959px) {
	.menu li {
		margin-right: 15px !important;
	}	
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
	footer .site-info {
		padding-left:30px;
	}
}
@media screen and (width: 768px) {
	.menu-toggle {
		display: block;
	}
	.main-navigation ul {
		display: none;
	}
}
@media screen and (min-width: 769px) {
	.custom-logo {
		max-width: 350px;
	}
	.sub-menu li {
		padding-top: 10px;
		padding-bottom: 15px;
		padding-left: 15px;
	}
	.sub-menu {
		padding-top: 15px;
		padding-bottom: 15px;
	}
	#instagram-footer {
		background:none;
	}
	#footer-wrapper {
		background: url(img/bg-footer.jpg) top left no-repeat;
		background-size: auto;
	}
	footer.site-footer {
		padding-top: 10px;
		padding-bottom: 20px;
		background: none;
	}
	footer.site-footer .sep {
		clear:none;
		display:inline;
		height: auto;
	}
	.widget .search-form input.search-field {
		width: 280px;
		margin-bottom: 0;
	}
	#sidebar-homepage {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
		list-style: none;
		margin: 0;
		box-sizing: border-box;
	}
	#sidebar-homepage .home-widget {
		flex: 1;
		margin: 20px 40px 40px 0;
		box-sizing: border-box;
		border: 1px solid #cae7e4;
		-webkit-border-radius: 6px;
		-moz-border-radius: 6px;
		border-radius: 6px;
		padding:0;
	}
	#sidebar-homepage .home-widget:last-of-type {
		margin-right:0;
	}	
	#sidebar-homepage .home-widget:first-of-type {
		background: url(img/praktijk-huisartsen-runen-enschede.jpg) bottom left no-repeat;
		background-size: 100%;
	}	
	#sidebar-homepage .home-widget:first-of-type .textwidget, #sidebar-homepage .home-widget:last-of-type .textwidget {
		padding-bottom: 240px;
	}
	#sidebar-homepage .home-widget:last-of-type {
		background: url(img/team-huisartsenpraktijk-runen-enschede-2.jpg) bottom left no-repeat;
		background-size: 100%;
	}
	#photo-mobile {
		display:none;
	}	
}