/* 
Theme Name: Brogyányi Team Theme 
Theme URI: http://sajatoldalad.hu/sajat-theme 
Author: Wadolowski Tomasz
Author URI: http://sajatoldalad.hu 
Description: Basic Theme by Wadolowski Tomasz 
Version: 1.0 
License: GNU General Public 
License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html 
Text Domain: basic-theme 
*/

body {
	background: #fff;
	font-family: 'Roboto';
	font-size: 16px;	
}

header {
	padding-top: 20px;
}

header, section, .footer-menu {
	margin-bottom: 30px;
}

article {
	margin-bottom: 20px;
}

main {
	padding: 0px 10px;
}

.widget {
	margin-bottom: 30px;
}

a {
	color: #41afbb;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: #bda58b;
}

a .icon-path {
	fill: #41afbb;
}

a:hover .icon-path {
	fill: #bda58b;
} 

button,
input[type='submit'] {
	background-color: #41afbb;	
	color: white;
	padding: 10px 20px;
	margin: 10px 0;
	border-radius: 3px;
	border: none;
}

button:hover,
input[type='submit']:hover {
	background-color: #bda58b;
	cursor: pointer;
}

.icon {
	width: 24px;
	height: auto;
	margin-right: 10px;	
}

.contact-box {
	display: flex;
	justify-content: center;
}

.contact-item {    
    display: flex;
    align-items: center;
	margin-bottom: 20px;
}

.align-center {
	text-align: center;
}

.clearfix {
	clear: both;
}

#content {
	/* nem működik */
	overflow: hidden;
	clear: both;
}

/* Search widget */

#searchform {
	padding: 15px 15px 15px 15px;
	position: relative;
}

#searchform input[type='submit'] {
	border: none;
	background: url(img/icons/search.svg) center center no-repeat;
	background-size: 20px auto;
	height: 30px;
	width: 30px;
	position: absolute;
	right: 20px;
	margin-top: 5px;
}

#searched-term {
	margin: 15px 0px 30px;
}

/* ----- Front-page content ----- */

/* Intro */

#intro {
	background-image: linear-gradient(#f1f1f1, #ffffff);
	display: flex;	
}

#intro-content {
	padding: 20px;
	position: relative;
}

#intro-text {
	font-family: 'Blinker';
	font-weight: 500;
	font-size: 2rem;
	color: #707070;
	display: inline-block;
	margin-top: 15%;		
}

#intro-btn {
	position: absolute;
	bottom: 15%;
	left: 1rem;	
}

#intro-btn-text {
	color: white;
	font-weight: 400;
}

#intro-image {	
	padding: 0px 1rem;	
	margin: auto 0px 0px auto;
}

#intro-image img {	
	width: 100%;
	height: auto;
}

/* Services */

.service {
	position: relative;
	margin-bottom: 20px;
	cursor: pointer;
}

.service .content-overlay {
	background: rgba(0, 0, 0, 0.2);
	position: absolute;	
	left: 10px;
	top: 10px;
	bottom: 10px;
	right: 10px;
	opacity: 0;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-moz-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}

.service:hover .content-overlay {
	opacity: 1;
}

.service-img {
	padding: 10px;
	border: 1px solid #707070;	
}

.services-btn-box {
	position: absolute;
	bottom: 25px;
	width: 100%;
	text-align: center;		
}

.services-btn {
	background-color: #525252;
	font-size: 1rem;
	opacity: 0.8;
	color: white;
	padding: 0.5rem 1rem;	
	border-radius: 0;	
}

.service:hover .services-btn {
	background-color: black;
	color: #41afbb;
}

/* Philosophy */

.philosophy {
	background-image: url('img/decor/texture-gray-wall-1140x600.jpg');
	height: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.center-box #philosophy-1 {
	position: relative;
}

#plasterboard-screw {
	width: 150px;
	position: absolute;
	right: 20px;
	top: -70px;
}

.center-box #philosophy-2 {
	position: relative;
}

#plasterboard-screw-2 {
	width: 50px;
	position: absolute;
	left: 50px;
	bottom: -35px;
	rotate: -30deg;
}

/* Reference */

#reference {
	float: left;
}

/* Offer */

#offer {
	float: right;
}

/* Offer - form */

#form {
	background-color: #444442;
	color: white;
	padding: 40px 20px;
}

input[type='text'], 
input[type="email"], 
input[type="tel"] {	
	padding: 10px;
	width: 100%;
	margin: 10px 0px;
	float: left;
}

input#search {
	margin: 0px;
}	

textarea {
	clear: both;
	padding: 10px;
	margin: 10px 0px;
	min-height: 150px;
	width: 100%;	
}

input[type='submit'] {
	float: right;
}

input[type="checkbox"] {
	height: 1.5em;
	width: 1.5em;
	vertical-align: middle;
	border: 2px solid #333;
	background-color: white;
  }

  input[type="checkbox"]:checked {	
	background: url('img/icons/check.svg') no-repeat center / 100% auto;	
  }

/* Blog */

#carousel {
	background-color: rgba(0, 0, 0, 0.8);
	margin-bottom: 30px;
	overflow: hidden;
	position: relative;
}

#carousel-wrap {
	width: 100%;
	overflow: hidden;
	position: relative;
}

#carousel ul.slides {
	display: block;
	white-space: nowrap;
	font-size: 0;
	position: relative;
}

#carousel li.slide {
	display: inline-block;
	position: relative;
	width: 100%;
	white-space: initial;
	font-size: initial;
	vertical-align: top;
}

#carousel li.slide a {
	display: block;
	color: white;
}

#carousel li.slide a:hover {
	color: #41afbb;
}

/* Carousel - text */

.carousel-content {
	padding: 30px 20px;
	position: absolute;
	bottom: 0;
	background-color:rgba(0, 0, 0, 0.8);
	width: 100%;
	min-height: 55px;	
}

/* Carousel - navigation buttons */

#next-slide,
#prev-slide {
	display: block;
	position: absolute;
	width: 50px;
	height: 50px;
	top: 50%;
	margin-top: -25px;
	z-index: 5;
	cursor: pointer;
}

#next-slide {
	right: 0px;
}

#prev-slide {
	left: 0px;
}

#next-slide:before {
	/* arrow right */
	position: absolute;
	top: 50%;
	left: -10px;
	margin-top: -6px;
	content: '';
	width: 0;
	height: 0;
	border: solid white;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 14px;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}

#prev-slide:before {
	/* arrow left */
	position: absolute;
	top: 50%;
	right: -10px;
	margin-top: -6px;
	content: '';
	width: 0;
	height: 0;
	border: solid white;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 14px;
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}

/* Contact */

.contact-item {
	margin-bottom: 10px;
}

/* ----- Footer ----- */

footer {
	background: #444442;
	padding: 20px;
	min-height: 300px;
	color: white;
}

.footer-content {
	display: flex;
	justify-content: space-around;
}

.footer-menu, .newsletter {
	padding: 15px;
}

.footer-menu {
	min-width: 50%;
}

footer nav ul li {
	display: block;
	margin-bottom: 10px;
}

footer nav ul li a {
	color: white;
	font-size: 1rem;
}

/* ----- Newsletter form ----- */

.wpcf7-list-item {
	margin: 0 0 0 0;
}

#copyright {
	text-align: center;
	font-size: 0.75rem;
}

/* ----- Media queries ----- */

@media only screen and (max-width: 767px) {
	main,
	aside {
		float: none;
		width: 100%;
	}

	#intro-content{
		min-width: 45%;
		min-height: 150px;
	}
	
	button,
	input[type='submit'] {
	font-size: 1rem;	
	padding: 0.5rem 1rem;	
	}

	header, section {
		margin-bottom: 15px;
	}

	#philosophy-1 {
		margin-top: 40px;
	}
	#plasterboard-screw {
		width: 100px;
		position: absolute;
		right: 20px;
		top: -40px;
	}

	.carousel-content {
		padding: 5px 10px;			
	}

	input[type='text'], 
	input[type="email"], 
	input[type="tel"] {	
	width: 100%;	
	float: none;
}

	.footer-menu ul li:first-of-type {
		padding-top: 5px;				
		border-top: 1px solid #707070;
	}

	.footer-menu ul li {
		padding-bottom: 5px;		
		border-bottom: 1px solid #707070;
	}
	
	.footer-content {
		flex-wrap: wrap;
	}

	.newsletter {
		flex: 1;
		order: 1;
	}

	.footer-menu {
		order: 2;
		width: 100%;		
	}	
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	#intro-text {			
		font-size: 1.25rem;		
		margin-top: 10%;		
	}
}

@media only screen and (max-width: 479px) {
	#intro-text {			
		font-size: 0.8rem;		
		margin-top: 5%;		
	}

	footer {
		padding: 0px;
	}
}

@media only screen and (max-width: 375px) {
	#call-us a {
		font-size: 0.6rem;
	}
	#intro-content {
		padding: 10px;
	}
	#intro-btn {
		font-size: 0.7rem;
		padding: 5px 10px
	}
	#intro-image {
		paddign: 0px 10px;
	}
	#plasterboard-screw {
		width: 75px;
	}
	#plasterboard-screw-2 {
		width: 30px;
	}
	.carousel-content {
		padding: 10px 10px;
	}
	#next-slide, #prev-slide {
		height: 10px;
	}
	h2 {
		font-size: 1.5rem;
	}
	h3 {
		font-size: 1rem;
	}
	h4 {
		font-size: 2rem;
		margin-bottom: -10px;
	}
}

/* ----- Blog article ----- */

time {
	display: block;
	margin: 10px 0;
}

/* ----- Rólunk (page) ----- */

#imi-bence {
	display: flex;
	justify-content: space-between;
}

#imi {
	margin-left: 10%;
}

#bence {
	margin-right: 10%;
}