/*
Theme Name: Beke Ádám Oldalválasztó 2016
Author: Akos Beke
Author URI: http://bekedesign.hu
Description: Custom theme made exclusively for bekeadam.hu
Version: 1.0
Text Domain: bekeadam
*/

@import url(css/editor-style.css);

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* =Theme styles
-------------------------------------------------------------- */

header#header {
	margin-top: 17px;
}

a.thumb {
	background: black;
}
	a.thumb:after {
		position: absolute;
		z-index: 1000;
		content: "\f05a";
		font-family: FontAwesome;
		font-size: 72px;
		line-height: 1;
		color: white;
		font-weight: bold;
		text-align: center;
		top: 50%;
		left: 0;
		right: 0;
		margin-top: -36px;
		display: none;
	}
		a.thumb:hover:after {
			display: block;
		}
	a.thumb img {
		margin: 0;
		-webkit-transition: all 150ms ease;
		-moz-transition: all 150ms ease;
		-ms-transition: all 150ms ease;
		-o-transition: all 150ms ease;
		transition: all 150ms ease;
	}
	a.thumb:hover img {
		opacity: 0.5;
	}

h1.logo {
	margin: 0;
	text-indent: -99999px;
}
	h1.logo a {
		display: block;
		width: 350px;
		height: 70px;
		background: url(img/logo.svg) no-repeat;
	}
		.no-svg h1.logo a {
			background: url(img/logo.png) no-repeat;
		}

.tagline {
	color: #cdb380;
	font-size: 24px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: right;
	padding-top: 45px;
	line-height: 1;
}
	.tagline span {
		color: #e8ddcb;
	}

section.search {
	padding-top: 34px;
}

.search-form {
	position: relative;
}
	.search-form .search-field::-webkit-input-placeholder {
	   color: #cdcdcd;
	}

	.search-form .search-field:-moz-placeholder { /* Firefox 18- */
	   color: #cdcdcd;
	}

	.search-form .search-field::-moz-placeholder {  /* Firefox 19+ */
	   color: #cdcdcd;
	}

	.search-form .search-field:-ms-input-placeholder {
	   color: #cdcdcd;
	}

	.search-form .search-field {
		width: 250px;
		border: 1px solid #f4f4f4;
		height: 35px;
		padding: 0 10px;
		font-family: 'Open Sans', sans-serif;
		font-weight: 300;
	}
	.search-form .search-submit {
		position: absolute;
		top: 0;
		right: 0;
		height: 35px;
		width: 35px;
		border: none;
		background: none;
		color: #cdcdcd;
	}
		.search-form .search-submit:hover {
			color: black;
		}
		.search-form .search-field:focus, .search-form .search-submit:focus {
			outline: none;
		}

@media only screen and (max-width : 1200px) {
	.tagline {
		font-size: 22px;
	}
	.search-form .search-field {
		width: 150px;
	}
}
@media only screen and (max-width : 992px) {
	section.search .pull-right {
		float: none !important;
	}
	.search-form .search-field {
		width: 100%;
	}
}
@media only screen and (max-width : 768px) {
	section.tagline {
		text-align: center;
	}
	h1.logo a {
		margin: 0 auto;
	}
}
@media only screen and (max-width : 480px) {
	h1.logo a {
		background-size: 310px 62px;
		width: 310px;
		height: 62px;
	}
}

nav#main-nav {
	margin: 30px 0;
	background: #f4f4f4;
}
	nav#main-nav ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
		nav#main-nav ul li {
			float: left;
			position: relative;
			font-family: 'Open Sans', sans-serif;
		}
			nav#main-nav ul li a {
				color: #033649;
			}
			nav#main-nav ul li a:hover {
				text-decoration: none;
				color: #036564;
			}
	nav#main-nav #toggle-menu-button {
		display: none;
		color: #033649;
		font-size: 20px;
		font-weight: 700;
		font-family: 'Open Sans', sans-serif;
		text-transform: uppercase;
		padding: 16px 22px;
	}
		nav#main-nav #toggle-menu-button:hover {
			text-decoration: none;
		}
	nav#main-nav ul.menu {}
		nav#main-nav ul.menu li {}
			nav#main-nav ul.menu li:after {
				    content: "/";
				    position: absolute;
				    top: 16px;
				    right: -5px;
				    font-size: 22px;
				    color: #e8ddcb;
			}
				nav#main-nav ul.menu li:last-child:after {
					display: none;
				}
			nav#main-nav ul.menu li a {
				font-size: 22px;
				display: block;
				padding: 15px 25px;
			}
	nav#main-nav ul.lang-switch {
		padding-right: 15px;
	}
		nav#main-nav ul.lang-switch li {}
			nav#main-nav ul.lang-switch li:after {
				content: "/";
				position: absolute;
				top: 21px;
				right: -2.5px;
				color: #d8d8d8;
			}
				nav#main-nav ul.lang-switch li:last-child:after {
					display: none;
				}
			nav#main-nav ul.lang-switch li.current-lang a {
				font-weight: 700;
			}
			nav#main-nav ul.lang-switch li a {
				display: block;
				font-size: 14px;
				text-transform: uppercase;
				padding: 21px 5px 19px;
			}
@media only screen and (max-width : 992px) {
	nav#main-nav ul.menu li a {
		font-size: 20px;
	}
}
@media only screen and (max-width : 768px) {
	nav#main-nav {
		position: relative;
	}
	nav#main-nav ul.menu {
		display: none;
		position: absolute;
		background: white;
		z-index: 100;
		width: 100%;
		border-style: solid;
		border-color: #f4f4f4;
		border-width: 0 1px 1px;
	}
		nav#main-nav.mobile-open ul.menu {
			display: block;
		}
		nav#main-nav ul.menu li {
			float: none;
		}
			nav#main-nav ul.menu li:after {
				display: none;
			}
	nav#main-nav #toggle-menu-button {
		display: inline-block;
	}
}

section#introduction {
	background: #033649;
	color: #d7e9f0;
	padding: 35px 0;
}
	section#introduction h2 {
		margin-top: 15px;
		margin-bottom: 30px;
		color: white;
	}
	section#introduction blockquote {
		margin-bottom: 25px
	}
		section#introduction blockquote:before {
			color: #264854;
		}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	section#introduction {
		text-align: center;
	}
		section#introduction img {
			max-width: 75%;
		}
		section#introduction h2 {
			text-align: center;
		}
		section#introduction p {
			text-align: left;
		}
}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	section#introduction p {
		font-size: 14px;
	}
		section#introduction h2 {
			font-size: 22px;
		}
}

section.block{
	margin-top: 50px;
}
	section.block h2.subtitle{
		text-transform: none;
		font-size: 36px;
		margin: 0 0 28px;
	}
		section.block h2.subtitle .btn {
			float: right;
		}
			section.block h2.subtitle .btn.btn-primary {
				background: #e8ddcb;
				color: #cdb380;
				margin-top: 4px;
			}
	.archive section.block{
		margin-top: 0;
	}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	section.block h2.subtitle .btn {
		float: none;
	}
}

section#partners {}
	section#partners ul {}
		section#partners ul li {}
			section#partners ul li a {
				display: block;
				background: #f8f7f4;
				text-align: center;
				margin-bottom: 15px;
				padding: 0 10px;
				min-height: 165px;
			}
				section#partners ul li a:hover {
					text-decoration: none;
				}
				section#partners ul li a img{
					cursor: pointer;
					max-width: 100%;
					filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&l…3 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
				    filter: gray;
				    filter: grayscale(100%);
				    -webkit-filter: grayscale(100%);
				}
					section#partners ul li a:hover img {
						filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&l…1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale");
						filter: grayscale(0%);
						-webkit-filter: grayscale(0%);
					}

section#main-references {}
	section#main-references h3 {
		margin-bottom: 0;
		margin-top: 10px;
	}
	section#main-references h4 {
		margin-top: 0;
		margin-bottom: 20px;
	}
	section#main-references ul li {
		margin-bottom: 15px;
	}

footer#footer {
	padding: 25px 0 15px;
	background: #033649;
	color: #d7e9f0;
	margin-top: 50px;
	line-height: 1.6em;
}
	footer#footer a {
		color: #d7e9f0;
	}
	footer#footer a.footer-logo{
		display: block;
		width: 275px;
		height: 54px;
		background: url(img/logo-white.svg);
		margin-top: 40px;
	}
		.no-svg footer#footer a.footer-logo{
			background: url(img/logo-white.png);
		}
	footer#footer h3 {
		margin: 0 0 20px;
		font-family: 'Open Sans', sans-serif;
		font-weight: 500;
		text-transform: uppercase;
		font-size: 18px;
		color: white;
	}
	footer#footer ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	footer#footer span.white {
		color: white;
	}
	footer#footer .copyrights {
		margin-top: 20px;
		color: #557079;
		border-top: 1px solid #144658;
		padding-top: 10px;
	}
		footer#footer .copyrights a {
			color: #7E9AA5;
		}
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	footer#footer .row > div {
		margin-bottom: 15px;
	}
	footer#footer .copyrights {
		text-align: center;
	}
		footer#footer .copyrights .pull-left, footer#footer .copyrights .pull-right{
			float: none !important;
		}
}

h2.page-title {
	margin-top: 0;
	margin-bottom: 25px;
}

.single-references h3.author{
	margin: 0 0 15px;
	font-size: 20px;
	color: #666666;
}

#dispatcher {
  width: 500px;
  margin: 0 auto;
  margin-top: -75px;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-left: -250px;
}

#dispatcher .router-option {
  display: block;
  background: #033649;
  color: white;
  text-align: center;
  font-size: 18px;
  text-transform: uppercase;
  padding: 20px 10px;
}
  #dispatcher .router-option:hover {
    text-decoration: none;
    background: #036564;
  }

h1.logo a {
  margin: 0 auto 15px;
}
