/* 
Theme Name: Basic Theme 
Theme URI: http://lovaszkrisztina.hu/sajat-theme 
Author: Sajat Neved 
Author URI: http://lovaszkrisztina.hu 
Description: Basic Theme by Böröcz-Mezei Angelika
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 {
	color: #526056;
	background: #e3e2da url(img/body.png) top center repeat;
	background-position: cover;
	background-repeat: no-repeat;
	margin: 0;
	padding: 0;
	
}

html {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.center-box {
	margin: 0 auto;
	max-width: 1280px;
	overflow: hidden;
	padding: 0 20px;
}

.flex-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap;
	padding: 20px 0 0 0;
	margin: 0 -15px;
}

footer .flex-container {
    align-items: flex-start;
}

.twobox {
    width: 50%;
}

.hero-text {
    background: rgba(247,248,248,0.7);
    z-index: 3;
    position: relative;
	left: 2vw;
    padding: 3vw;
}

nav ul {
	display: flex;
}

nav ul li a{
	display: block;
	padding: 10px 15px;
	text-transform: uppercase;
	font-size: 24px;
	font-weight: 600;
	color: inherit;
}

nav ul li a:hover{
	color: #29352c;
}

a {
	text-decoration: none;
	color: #526056;
}

a:hover{
	color: #29352c;
}

ul, li {
	margin: 0;
	padding: 0;
}

li {
	list-style-type: none;
}

main ul {
	margin: 10px 0;
}

main ul li {
	line-height: 1.2;
	margin-bottom: 5px;
	position: relative;
	padding-left: 15px;
}

main ul li:before{
	content: "";
	position: absolute;
	height: 5px;
	width: 5px;
	border-radius: 50%;
	display: block;
	top: 10px;
	left: 0;
	background: #29352c;
}

.row {
	margin-left: -20px;
	margin-right: -20px;
	clear: both;
	overflow: hidden;
}

.one-half {
	width: 50%;
}

.one-third {
	width: 33.33%;
}

.two-third {
	width: 66.66%;
}

.one-third, .two-third {
	float: left;
	min-height: 1px;
	padding-left: 20px;
	padding-right: 20px;
}

.articles {
	display: flex;
	margin: 0 -15px;
	flex-flow: row wrap;
}

.widget {
	margin-bottom: 30px;
}

p + h2, p + h3 {
	margin-top: 15px;
}

#logo h4 {
	font-size: 22px;
}

.inner-page {
	margin-bottom: 40px;
}

footer {
    background-color: #73BFBF;
    padding-bottom: 30px;
	margin-top: 60px;
	clear: both;
}



.image-border {
    position: relative;
    z-index: 2;
    right: 6vw;
}

.image-border-left {
    position: relative;
    z-index: 2;
    left: 6vw;
}

.button {
    background-color: #29352C;
	padding: 0.6vw;
    text-align: center;
    font-weight: 600;
    font-size: 32px;
    text-transform: uppercase;
	font-family: 'Nunito Sans', sans-serif;
	border-radius: 10px;
}

a.button {
    color: #e3e2da;
}

.button:hover {
	 background-color: #73BFBF;
     transition: 0.7s;
}

.button-cookie {
    background-color: #29352C;
    padding: 0.4vw;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Nunito Sans', sans-serif;
    border-radius: 8px;
    color: #e3e2da;
}

.flex3box {
    width: 33.33%;
	padding: 0 15px;
	
}

.services-box {
	width: 100%;
    height: 500px;
	background: url(img/muvek.png) center no-repeat;
	margin: 0 auto;
	padding: 20px;
	text-align: center;
	text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
	
}

.services-text {
	
   
}

#works {
	margin-top: 60px;
}

#intro {
	margin-top: 60px;
}

#blog {
	margin-top: 60px;
}

#opinions {
	margin-top: 60px;
}

.intro-text h2 {
	text-align: left;
	margin: 0 0 2vw 0;
}

.intro-text {
	text-align: left;
	background: rgba(247,248,248,0.7);
    z-index: 3;
    position: relative;
    right: 2vw;
    padding: 3vw;
}

#opinions {
	background: url(img/rolambg.jpg) no-repeat;
	margin-top: 60px;
    height: 768px;
}

.blog-box {
	background: rgb(115, 191, 191,0.7);
	padding: 20px;
	height: 100%;
}

.articles-container .blog-box {
	padding: 15px;
	margin: 0;
}

#blog .flex-container {
	    align-items: stretch;
}

.blog-box h4 {
	padding-bottom: 1vw;
}

#carousel {
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    padding: 0 0 40px 0;
	
}

#carousel-wrap {
    max-width: 960px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    box-shadow: 2px 3px 8px 2px rgb(0 0 0 / 20%);
	background: rgba(227,226,218,0.8);
	padding: 2vw;
    margin-top: 10%;
}

#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;
}

.slide {
    padding: 40px;
    margin: 0 auto;
    color: #526056;
}
li {
    list-style-type: none;
}

.slide-text {
    padding-top: 10px;
    border-top: 1px solid #313c4c;
}

#navigation {
	display: block;
	position: absolute;
	width: 100%; 
	height: 30px;
	bottom: 0;
	z-index: 5;
	text-align: center;
}

#navigation div {
	display: inline-block;
	width: 20px; 
	height: 20px;
	cursor: pointer;
	border-radius: 50%;
	background: #e3e2da;
	margin: 0 10px;
}

.nav-active {
	border: solid 3px #29352C;
}

#searchform {
	width: 200px;
    padding:  5px;
	border: solid 1px rgba(0, 0, 0, 0.2);
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	position: relative;
}

#searchsmall {
	width: 150px;
	border-radius: 4px;
	top: 5px;
    left: 10px;
	background: #d0d4d8;
}

#searchform input[type="text"] {
	border: none;
	height: 30px;
}

#searchform input[type="submit"] {
	border: none;
	height: 30px;
	width: 30px;
	position: absolute;
	top: 5px;
    right: 5px;
	background: url(img/nagyito.png)center center no-repeat;
}

#archives-dropdown-2 {
    padding: 5px;
    border: solid 1px rgba(0, 0, 0, 0.2);
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    box-shadow: inset 0 1px 3px rgb(0 0 0 / 20%);
    border-radius: 4px;
    background: #d0d4d8;
}

#go-to-top {
	background: #73BFBF;
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	cursor: pointer;
	
}

#go-to-top:before {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  margin-top: -6px;
  margin-left: -7px;
  width: 0; 
  height: 0; 
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid #29352C;
}


footer {
    background-color: #73BFBF;
    padding-bottom: 30px;
	margin-top: 60px;
}

.text {
    margin: 0 auto;
}

#infos ul {
    margin: 15px 0 0 0;
}

#infos li {
    margin: 10px 0 0 0;
}

.tel {
    background: url(img/tel.png) no-repeat;
    background-size: 20px auto;
}

.fb {
    background: url(img/fb.svg) no-repeat;
    background-size: 20px auto;
	padding-bottom: 5px;
}

.in{
    background: url(img/in.svg) no-repeat;
    background-size: 20px auto;
	padding-bottom: 5px;
}

.link {
    background: url(img/link.svg) no-repeat;
    background-size: 20px auto;
	padding-bottom: 5px;
}

#infos ul li a {
    padding-left: 2rem;
}

.email {
    background: url(img/email.png) no-repeat;
    background-size: 20px auto;
}

.icons-flex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    padding: 20px 0;
}

.icons {
    margin-right: 20px;
}

#rights ul {
    margin: 15px 0 0 0;
}

#copyright {
    text-align: center;
    padding: 15px;
    background: #73BFBF;
    
}

#copyright p {
	font-size: 14px;
}

.hamburger {
	display: none;
}

.articles-container {
    display: flex;
    margin: 0 -15px;
    flex-flow: row wrap;
}

main .flex3box {
	width: 33.33%;
    padding: 0 15px;
    margin-bottom: 20px;
  
}

main h3 {
	font-size: 30px;
}

main h1 {
	font-size: 40px;
}

#cat {
	padding: 5px;
    border: solid 1px rgba(0, 0, 0, 0.2);
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    box-shadow: inset 0 1px 3px rgb(0 0 0 / 20%);
    border-radius: 4px;
    background: #d0d4d8;
}

.nav-links {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 18px;
	font-weight: 400;
	padding: 10px 0;
}

/*769 fölött érvényesül*/

@media only screen and (min-width: 1040px) {

	#menu-item-33:hover {
		text-decoration: line-through 7px rgb(115,191,191,0.7);
	}

	#main-menu ul li ul {
		z-index: 100;
		position: absolute;
		display: block;
		text-align: left;
		overflow: hidden;
		opacity: 0;
		transition: all 0.3s ease-in-out;
	}

	#main-menu ul li ul li {
		background: rgba(247,248,248,0.7);
		display: block;
		width: 100%;
	}

	#main-menu ul li ul li a {
		white-space: nowrap;
		padding: 10px 15px;
	}

	#main-menu ul li:hover ul {
		opacity: 1;
	
	}

	#main-menu ul li ul:after {
		content: "";
		display: block;
		width: 100%;
		height: 50px;
		
	}
	
	
	
	
	
}


@media only screen and (max-width: 1039px) {
	.center-box {
		width: 100%;
	}
	
	nav ul {
		display: none;
	}

	nav ul li a{
		display: block;
		padding: 2vw 12vw 1vw 0;
		text-align: left;
	}
	
	header .flex-container {
		display: block;
	}

	.hamburger {
		display: block;
		float: right;
		padding-top: 10px;
	}
	
	.hamburger .line{
		width: 50px;
		height: 5px;
		background-color: #29352C;
		border-radius: 6px;
		display: block;
		margin: 8px auto;
		-webkit-transition: all 0.3s ease-in-out;
		-o-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}

	.hamburger:hover{
		cursor: pointer;
	}
	
	#hamburger-1.is-active .line:nth-child(1){
		-webkit-transform: translateY(13px);
		-ms-transform: translateY(13px);
		-o-transform: translateY(13px);
		transform: translateY(13px);
	}

	#hamburger-1.is-active .line:nth-child(3){
		-webkit-transform: translateY(-13px);
		-ms-transform: translateY(-13px);
		-o-transform: translateY(-13px);
		transform: translateY(-13px);
	}
	
	#main-menu ul, 
	#main-menu li {
		display: block;
		width: 100%;
	}
	
	#main-menu li a {
		padding: 5px 15px;
	}
	
	#main-menu ul {
		display: none;
	}
	
	#main-menu ul li ul {
		display: none;
	}
	
	#menu-item-33:hover {
		text-decoration: line-through 7px rgb(115,191,191,0.7);
		cursor: pointer;
		
	}
	
	#main-menu ul li ul {
		z-index: 100;
		position: absolute;
		display: block;
		text-align: left;
		overflow: hidden;
		opacity: 0;
		transition: all 0.3s ease-in-out;
		left: 200px;
	}
	
	#main-menu ul li ul li {
		background: rgba(247,248,248,0.7);
		display: block;
		width: 100%;
	}
	
	#main-menu ul li:hover ul {
		opacity: 1;
	
	}
	
	main .flex-container {
		display: block;
	}
	
	main .flex3box {
		width: 50%;
	}
}

@media only screen and (max-width: 768px) {
	.flex-container {
		display: block;
	}
	
	.flex3box {
		width: 100%;
		margin: 0 auto;
		margin-bottom: 20px;
	}
	
	main .flex3box {
		width: 100%;
	}
	
	.twobox {
		width: 100%;
	}
	
	.hero-text {
		left: 0;
		padding: 5vw;
	}
	
	.intro-text {
		right: 0;
		padding: 5vw;
	}
	
	.image-border {
		right: 0;
	}
	
	.image-border-left {
		left: 0;
	}
	
	.button {
		padding: 1.5vw;
		font-size: 28px;
	}
	
	.button-cookie {
		padding: 1.5vw;
	}
	
	#opinions {
		height: auto;
	}
	
	.text {
		margin: 0;
	}
	
	.one-half {
		width: 100%;
	}

	.one-third {
		width: 100%;
	}

	.two-third {
		width: 100%;
	}

	.one-third, .two-third {
		float: none;
	}
	
	#navigation div {
		width: 17px;
		height: 17px;
    
	}
	
	
	
	
	
}