/* Header */
.custom-header {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 550px;
}

.custom-header img {
	margin-bottom: 0;
	width: 600px;
}

.site .site-header {
	background-image: url('https://2018.noordnederland.wordcamp.org/files/2017/12/header-image.jpg');
}

.site-title a:before {
	background-image: url('/img/wordcamp-noord-nederlang-logo-white.svg');
}

.site-branding {
	display: none;
}

/* Navigation */
.menu {
	border-top: 1px solid #fff;
}

.main-navigation {
	background-color: #26223c;
}

.page-navigation-container li {
	display: inline-block;
	float: none;
	margin-left: -7px;
}

.page-navigation-container li a {
	color: #fff;
	font-family: 'Lato', sans-serif;
	padding: 1.5rem 2rem;
}

.page-navigation-container ul ul a {
	width: 100% !important;
}

#site-navigation .menu-toggle {
	background-color: #26223c;
}

.page-navigation-container .menu-item a:hover {
	background-color: #DA5F5C;
}

.page-navigation-container .current-menu-item a {
	background-color: #DA5F5C;
}

@media (min-width: 37.5em) {
	.menu-item-has-children.focus>.sub-menu, .menu-item-has-children:hover>.sub-menu {
		top: 71px;
	}
	
	.menu-item-has-children.focus>a, .menu-item-has-children:hover>a {
		background-color: #da5f5b !important;
	}
	
	.menu-item-has-children>a:after {
		border-top-color: #fff !important;
	}
	
	.sub-menu .menu-item {
		background: #26233c;
		border-top: 1px solid rgba(255,255,255,.5) !important;
	}
}

@media screen and (max-width: 768px) {
	.page-navigation-container ul ul {
		box-shadow: none;
		float: initial;
		position: relative;
		left: 0;
		top: 0;
		margin-left: 20px;
	}
	
	.page-navigation-container ul ul a {
		padding-left: 40px;
	}
}

/* Content */
@media (min-width: 62em) {
	#content {
		padding: 4.5rem 3rem 0 !important;
	}
}

.post {
	padding-bottom: 0 !important;
}

.post:after {
	height: 0 !important;
}

/* Titles */
article .entry-title {
	font-family: 'Lato', sans-serif;
}

article .entry-title a {
	color: #26223c;
}

.entry-title a:active,
.entry-title a:focus,
.entry-title a:hover {
	box-shadow: none !important;
	color: #26223c !important;
}

.page-slug-sponsors #content {
	max-width: 100% !important;
}

.wcorg-sponsor .wcorg-sponsor-description p,
.wcorg-sponsor .wcorg-sponsor-description ul,
.wcorg-sponsor .wcorg-sponsor-description div {
	display: none;
}

.wcorg-sponsors>div h2:before {
	border-top: 3px solid #DA5F5C !important;
}

.wcorg-sponsors>div h2:after {
	border-top: 3px solid #fff !important;
}

.wcorg-sponsor img {
	margin: 0 30px !important;
	max-height: 7.75rem !important;
}

/* Paragraphs */
.entry-content p {
	font-family: 'Roboto Slab', serif;
}

.entry-content a {
	box-shadow: inset 0 -1px 0 0 rgba(218,95,92,.5) !important;
	color: #DA5F5C !important;
}

.entry-content a:hover {
	box-shadow: inset 0 -1px 0 0 rgba(218,95,92,.5) !important;
}

article .entry-meta a,
article .comments-link a,
article .edit-link a {
	color: #26223c;
}

.entry-meta a:active,
.entry-meta a:focus,
.entry-meta a:hover {
	box-shadow: inset 0 -1px 0 0 rgba(0,0,0,.25) !important;
	color: #26223c !important;
}

.entry-footer a:active,
.entry-footer a:focus,
.entry-footer a:hover {
	box-shadow: inset 0 -1px 0 0 rgba(0,0,0,.25) !important;
	color: #26223c !important;
}

/* Widgets */
.widget {
	color: #fff;
	margin: 0;
}

.widget-title {
	color: #fff;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
}

.textwidget {
	font-family: 'Roboto Slab', serif;
}

#primary-sidebar section:before {
	background: #DA5F5C !important;
}

form label {
	display: inline-block !important;
	font-family: 'Lato', sans-serif;
	margin-right: 8px;
	text-align: left;
}

form input[type="text"] {
	border-color: #fff;
	display: inline-block;
	font-family: 'Lato', sans-serif;
	margin: 0 16px 0 0;
	width: 30%;
}

form input[type="text"]:focus {
	border: 1px solid #fff;
	box-shadow: none !important;
}

form input[type="submit"] {
	background: #DA5F5C;
	border-color: #fff;
	color: #fff;
	display: inline-block !important;
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	margin-top: 25px;
	width: 17%;
}

form input[type="submit"]:hover {
	background: #fff;
	border-color: #fff;
	color: #DA5F5C;
}

#content-widget-1 {
	background-color: #eae9e6;
	text-align: center;
	margin: 0 -1rem;
	max-height: 188px;
}

#content-widget-1 .widget {
	display: inline-block;
	padding: 0;
}

#content-widget-1 .widget img {
	margin: 20px 38px;
	max-width: 196px !important;
}

#secondary-sidebar section:before {
	background: #26223c !important;
}

#secondary-sidebar img {
	display: inline-block;
	margin: 20px 25px 0;
}

/* Contact Form on page */
.contact-form label {
	display: block !important;
}

.contact-form input[type="text"] {
	border-color: #bfbdb5;
	width: 640px !important;
}

.contact-form input[type="text"]:focus {
	border-color: #bfbdb5;
}

.contact-form input[type="email"] {
	border-color: #bfbdb5;
	width: 640px !important;
}

form input[type="email"]:focus,
textarea:focus {
	border: 1px solid #bfbdb5 !important;
	box-shadow: none !important;
}

input#tix-coupon-input {
	border: 1px solid #bfbdb5;
	border-radius: .1875rem !important;
}

#tix-coupon-container input[type=submit] {
	background-color: #da5f5b !important;
	margin-top: 0;
}

td.tix-right input {
	border: 1px solid #bfbdb5;
	border-radius: .1875rem !important;
}

/* Colophon */
footer#colophon {
	background: #12101D;
	margin-top: 0;
	max-width: 100%;
}

footer#colophon .site-info-network {
	background-color: #12101D;
	margin-top: 18px;
}

footer#colophon .site-info-network:after {
	content: none;
}

/* Footer */
#content-widgets section {
	max-width: 100%;
}

#content-widgets section img {
	margin: 0 auto;
}

/* Mobile */
@media screen and (max-width: 768px) {
	#content {
		padding-bottom: 0 !important;
	}
	
	.custom-header {
		height: 200px;
	}
	
	.custom-header img {
		width: 300px;
	}
	
	.site-header  .main-navigation {
		background-color: #26223c;
	}
	
	.page-navigation-container li {
		display: block;
	}
	
	.page-navigation-container li a {
		padding: 1rem 2rem;
	}
	
	form label {
		display: block !important;
	}
	
	form input[type="text"] {
		display: block;
		margin-bottom: 20px;
		width: 100%;
	}
	
	form input[type="submit"] {
		margin-top: 0;
		width: 100%;
	}
	
	.contact-form input[type=text],
		.contact-form input[type=email],
		.contact-form textarea {
		max-width: 100% !important;
		width: 100% !important;
	}
}

@media screen and (max-width: 320px) {
	#secondary-sidebar img {
		margin: 20px 18px 0;
	}
}

@media (min-width: 48em) {
	#content-widget-1 {
		margin: 0 -2rem;
	}
	
	.wcorg-sponsor img {
		max-height: 9.5rem !important;
	}
}

@media (min-width: 62em) {
	#content-widget-1 {
		margin: 0 -3rem;
	}
}

@media (max-width: 1087px) {
	#content-widget-1 {
		max-height: 258px;
	}
	
	#content-widget-1 .widget img {
		margin: 10px 84px;
	}
}

@media (max-width: 727px) {
	#content-widget-1 .widget img {
		margin: 10px 38px;
	}
}

@media (max-width: 543px) {
	#content-widget-1 {
		max-height: 428px;
	}
	
	#content-widget-1 .widget img {
		margin: 0 38px;
	}
}