* { padding: 0; margin: 0; }

@font-face
{
	font-family: Ubuntu-Light;
	src: url("../fonts/Ubuntu-Light.ttf");
}

body {
	font-size: 16px;
	font-family: "Ubuntu-Light";
	background: #fff;
}

/*header kiegészítés*/

#header{
	margin: 0px;
	height: 470px;
	background: url("../images/background.jpg") no-repeat right top;
}

#social{
    margin-left: 30px;
    position: relative;
    top: -10px;
}

	#navbar_container{
		padding: 0 !important;
		height: 100px;
		margin: 0 auto;
	}

		.navbar-static-top{
			background: transparent;
			border-bottom: 0px !important;
		}

			.navbar-brand{
				display: block;
				float: none !important;
				height: 130px !important;
				padding: 0 20px !important;
				position: relative;
			}

			.navbar-header button{
				background: #333;
				margin: 15px 15px 0 0;
				position: absolute;
				right: 0;
				top: 100px;
			}

			#navbar{
				position: relative;
				top: -100px;
				background: url("../images/bg_menu.png");
			}
			
				#main-menu{
					margin: 0px;
					padding: 10px;
				}
				
					#main-menu li{
						margin: -10px 0;
						padding: 10px 0;
					}
					
						#main-menu li a{
							font-size: 15px;
							color: #fff !important;
						}
						
						#main-menu li a:hover{
							color: #f59922 !important;
							background: transparent !important;
						}

							#main-menu ul li a{
								color: #323232 !important;
							}

.navbar-collapse{
	width: 100% !important;
}

.navbar{
	width: 30% !important;
}

.caret {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid;
    display: inline-block;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    width: 0;
}

.dropdown-toggle{
	background: transparent !important;
}

.dropdown-menu li a{
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

#navbar[aria-expanded="true"]{
	margin-right: 0 !important;
	margin-left: 0 !important;
	width: 100% !important;
	float: none !important;
	background: #508b69;
	margin-top: 30px !important;
}

	#navbar[aria-expanded="true"] ul{
		float: none !important;
		margin: 0 !important;
		background: #508b69;
	}
	
		#navbar[aria-expanded="true"] ul a{
			color: #fff !important;
		}
	
	#navbar[aria-expanded="true"] ul a:hover{
		background: transparent !important;
	}

#contacts{
	position: absolute;
    right: 0;
    top: 290px;
    width: 160px;
	height: 150px;
}

	#contacts .c1{
		background: url("../images/bg_menu.png");
		height: 35px;
		margin: 5px 0;
		padding: 5px 5px 5px 15px;
	}

	#contacts .c1 a{
		color: #fff;
		font-size: 15px;
		margin-right: 20px;
	}
	
	#contacts .c1 img{
		margin-right: 5px;
		height: 80%;
	}
	
	#contacts .col-lg-4 a{
		text-transform: uppercase;
		font-size: 12px;
		color: #fff;
		text-align: center;
		display: block;
	}


/*fooldal formazas*/

#main_1{
	height: 300px;
	position: relative;
    margin-top: -280px;
}

	#main_1 .col-lg-7{
		background: url("../images/bg_content_text.png");
		height: 250px;
		margin-top: 50px;
	}
	
		#main_1 .col-lg-7 h1{
			color: #323232;
			font-size: 26px;
			margin: 15px;
		}
		
		#main_1 .col-lg-7 p{
			color: #212221;
			font-size: 16px;
			margin: 15px;
			text-align: justify;
		}

#main_2{
	z-index: 10;
	margin: 80px auto;
}
	
	#main_2 h1{
		color: #323232;
		font-size: 40px;
		margin: 15px;
		text-align: center;
		font-weight: 700;
	}
	
	#main_2 p{
		color: #605b5b;
		font-size: 14px;
		margin: 20px auto;
		text-align: center;
		width: 80%;
	}
	
#main_3{
	background: #fff;
	z-index: 9;
	padding: 0;
	margin-bottom: 30px;
}

		#main_3 .col-lg-4 h2{
			color: #323232;
			font-size: 23px;
			font-weight: 700;
			margin-top: 0;
			min-height: 55px;
		}
		
		#main_3 .col-lg-4 p{
			color: #616060;
			font-size: 13px;
			text-align: justify;
			margin: 10px 0 5px;
			height: 100px;
			border-bottom: 1px solid #d8d8d8;
		}
		
		#main_3 .col-lg-4 a{
			display: block;
			width: 30%;
			float: right;
			color: #fff;
			background: #3f4c5f;
			font-size: 13px;
			text-align: center;
			padding: 7px;
			margin-top: 5px;
		}

#main_4{
	height: 310px;
	background: #dde4df;
}

	#main_4 h1{
		color: #323232;
		font-size: 40px;
		padding: 40px 0 20px;
		margin: 0 auto;
		font-weight: 700;
	}
	
	#main_4 p{
		text-align: center;
		color: #fff;
		font-size: 18px;
		width: 60%;
		margin: 30px auto;
	}

/*landing formázás*/

#landing_main{
	margin-top: -250px;
	margin-bottom: 30px;
}

	#landing_main .col-lg-7{
		border-right: 1px solid #d6d8db;
	}

		#landing_main #main_1{
			height: auto;
			margin-bottom: 40px;
		}
	
			#landing_main h1{
				color: #323232;
				font-size: 26px;
				margin: 15px;
			}
			
			#landing_main p{
				color: #212221;
				font-size: 16px;
				margin: 15px;
				text-align: justify;
			}
			
	#landing_main .col-lg-5 input{
		height: 50px;
		padding: 10px;
	}
	
	#landing_main .col-lg-5 textarea{
		padding: 10px;
	}
	
	#landing_main .col-lg-5 button{
		background: #393939;
		color: #fff;
		padding: 15px 30px;
		border: 0px;
		border-radius: 10px;
	}

/*content kiegészítés*/

#content_text{
	margin-bottom: 20px;
	background: url("../images/bg_content_text.png");
	padding: 20px;
margin-top: 50px;
}

label{
	font-size: 16px;
	font-weight: normal;
}

/*********************************/

/*footer kiegészítés*/

footer{
	margin: 0;
	font-size: 16px;
	background: #4d5761;
	color: #fff;
	clear: both;
	height: 70px;
	padding-top: 30px;
}

	footer img{
		margin: 20px auto;
		width: 100%;
	}
	
	footer p{
		text-align: left;
		width: 100%;
		margin-left: 20px;
	}

footer #alsoleft{
	float: left;
	width: 40%;
	text-align: left;
}

footer #alsoright{
	float: right;
	width: 40%;
	text-align: right;
}

footer a{
	color: #f59922 !important;
}

footer #social{
	display: none;
}

/********************************/

@media all and (max-width: 790px) {

body{
	background: #fff;
}

#header{
	height: 165px;
	padding-top: 0 !important;
	background: #fff;
}

	.navbar{
		border-bottom: 0px;
		background: transparent;
		padding: 0;
		width: 100% !important;
	}

	.navbar-header button{
		top: 200px;
		left: 45%;
		width: 40px;
				z-index: 1003;
	}
	
	.navbar-brand{
		width: 100%;
		display: block;
		left: 0 !important;
	}
	
		.navbar-brand img{
			margin: 0 auto;
			width: auto;
			max-width: 96%;
		}
	
	#header #social{
		width: 100% !important;
		margin:  0 !important;
		top: -20px !important;
		left: 0 !important;
	}
	
	#header_d{
		background: transparent !important;
		height: auto;
		width: 100%;
	}
	
		#header_d .col-lg-5{
			padding: 1px 10px;
		}
	
	#contacts{
		width: 100%;
		position: relative;
		top: 0 !important;
		height: 45px !important;
		text-align: center;
	}
	
		#contacts .c1{
			
			margin: 5px 1%;
			padding: 5px 0;
			width: 30%;
			float: left;
			text-align: center;
			background: #3f4c5f !important;
		}
		
		#contacts .c1 img{
			display: none;
		}
	
		#contacts .c1 a{
			margin-right: 0 !important;
		}
	
		
		#social{
			width: 100%;
			float: none;
			text-align: center;
		}
	
	#navbar[aria-expanded="true"]{
		z-index: 999;
		background: #3e454c;
		margin-top: 232px !important;
		position: relative;
	}
	
	#navbar[aria-expanded="true"] ul{
		background: #3e454c;
	}
	
	#last_container h1{
		margin: 20px 10%;
	}
	
	#social{
		left: 50%;
		position: relative;
		top: 20px;
		width: 10%;
	}
	
	#main_1, #main_2, #main_3, #main_4{
		height: auto !important;
	}
	
	#main_1{
		
		margin-top: 22px !important;
	}

		#main_1 .col-lg-7{
			height: auto !important;
			text-align: center;
		}

			#main_1 .col-lg-7 p{
				text-align: justify;
			}
	
	#main_2{
		transform: none !important;
		margin-top: 10px !important;
	}
	
		#main_2 .col-lg-4{
			display: none;
		}
		
		#main_2 .col-lg-6{
			transform: none !important;
		}
		
			#main_2 .col-lg-6 h1 img{
				display: none;
			}
		
	#main_3 .col-lg-4{
		text-align: center;
		padding: 10px 0 20px;
	}

		#main_3 .col-lg-4 a{
			float: none !important;
			width: 100% !important;
		}

			
	#main_4 h1, #main_4 p{
		width: 90%;
	}
	
	#main_4{
		padding-bottom: 20px;
	}

	#main_4 p{
		padding-bottom: 20px;
		margin-bottom: 0 !important;
	}

	#landing_main{
		margin-top: 60px;
		margin-bottom: 180px;
	}
	
		#landing_main .col-lg-7{
			border-right: 0px;
		}

	#content_text{
		margin-top: 0 !important;
	}
	
	footer{
		height: auto !important;
	}
	
	footer #alsoleft{
		margin-top: 30px;
	}
	
	footer #alsoleft,
	footer #alsoright{
		width: 100%;
		text-align: center;
		padding: 1px 0;
	}
	
	footer #social{
		display: block;
		width: 100%;
		left: 0;
		top: 0;
	}
	
	footer p{
		margin-left: 0;
	}
	
		footer #social img{
			width: auto;
		}
	
}