@font-face {
    font-family: "Gadugi";
    src: url("gadugi.ttf") format("truetype");
}
html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
*, *:before, *:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}


body {
	background-color:#ede3bc;
	margin:0;
	font-family: 'Gadugi';
	min-width:400px;
}

#main_gallery {
  float: left;
  margin: 12px 0 18px 0px;
}
#gallery{

  display: inline-block;
}

#main_gallery a {
  float: left;
  width: 180px;
  height: 130px;
  background-color: #ccc;
  border: 7px solid #fff;
}
#main_gallery a {
      margin: 0 30px 30px 0;
}
#main_gallery a img{
	width:100%;
	height: 100%;
}


#container {
	max-width:1024px;
	width:100%;
	background-color:#ede3bc;
	min-height:600px;
	margin: 0 auto;
}
img{display: block;float:left;}

#main_page{
	min-height: 500px;
	max-width: 945px;
	margin-top:5px;
	margin-left:50px;
	margin-right: 40px;
}

#header{
	color:#2f5b05;
	min-height:104px;
	width:100%;
}
#header #logo{
	float:left;
	margin-left:50px;
	width:130px;
}
#header #title{
	float:left;
	width:59%;
}
#header #title h1{
	font-family: 'Tahoma';
	text-transform: uppercase;
	font-size: 24px;
	text-align: justify;
	margin:0px;
	margin-top:48px;
	text-align: center;
}
#header #title h3{
	font-size:13px;
	margin:0px;
	text-align: center;
}
#header #logo2{
	margin-left:5px;
	margin-right:5px;
	width:75px;
	float:left;
	margin-top:15px;
}
#header #logo3{
	margin-left:5px;
	margin-right:5px;
	float:left;
	margin-top:15px;
}
nav#menubar{
	background: url('../images/menubar.png');
	height: 65px;
}
nav#menubar ul#menu1{
	margin-right:175px;
	list-style-type: disc;
	list-style-position: inside;
}
nav#menubar ul#menu1 li{
	float:right;
	line-height: 65px;
	margin-left: 20px;
}
nav#menubar ul#menu1 li a{
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
	color:#2f5b05;
}

#dogs{
	width:675px;
	background-color: #fffffd;
	height: 275px;
	margin-right:20px;
	margin-bottom: 22px;
}
#online_reg{
	width:235px;
	float:right;
	background-image: url('../images/dog_icon2.png');
	background-repeat: no-repeat;
	background-position: 175px bottom;
}
#leftside{
	width:235px;
	float:right;
}
.box{
	background-color: #fffffd;
	float:left;
	padding-bottom:5px;
}
.grid .box{
	background-image: url('../images/dog_icon2.png');
	background-repeat: no-repeat;
	background-position: 270px bottom;
}
.box h2{
	background: url('../images/szalag.png');
	color:#fffffd;
	overflow: visible;
	background-repeat: no-repeat;
	background-size:100% 100%;
	height:35px;
	display: block;
	padding-left:15px;
	position: relative;
	left:-8px;
	font-size:15px;
	line-height: 30px;
	text-transform: uppercase;
}

.box h3,#online_reg h3{
	background: url('../images/szalag2.png');
	color:#fffffd;
	overflow: visible;
	background-repeat: no-repeat;
	background-size:100% 100%;
	display: block;
	width:135px;
	padding:5px 15px;
	font-size:15px;
	text-transform: uppercase;
	text-align: center;
	position: relative;
	left:5px;
	margin:0;
	margin-top:30px;
}
footer h3{
	background: url('../images/szalag2.png');
	overflow: visible;
	background-repeat: no-repeat;
	background-size:100% 100%;
	display: inline-block;
	padding:10px 20px;
	font-size:15px;
	text-transform: uppercase;
	text-align: center;
	margin:5px;
	float:right;
}
footer h3 a,#online_reg h3 a{
	text-decoration: none;
	color:#fffffd;
}
footer h4{
	display: inline-block;
	color:rgba(255,255,255,0.7);
	float:left;
	margin-left: 5px;
}

#content{
	width:695px;
	float:left;

}
#events{
	margin-top:22px;
	float:right;
	width: 235px;
}
#events img{
	float:none;
	display: block;
	margin: 0 auto;

}
.grid-item{
	width:330px;
	margin-bottom:10px;
}
.f_left{
	float:left;
}
.f_right{
	float:right;
	margin-right:20px;
}
.grid-item p, #online_reg p{
	color:#2a0e02;
	text-align: justify;
	margin-left:15px;
	margin-right: 15px;
}
.grid-item img{
	display: block;
	margin: 0 auto;
	float:none;

}

#documents,#contact,#gallery{
	color:#2f5b05;
	background-color: #fffffd;
	padding:20px;
	margin-right: 15px;
	min-height: 500px;
}
#documents p{
	text-align: justify;
	color:black;
}
#dogs .line{
	padding:44px 14px;
	width:46%;
}
#dogs .dogi{
	width:8%;
	padding-top:15px;
}
#dogs{
	padding:0 20px;
}

footer{
	height: 50px;
	background-color: rgba(50,87,30,0.5);
	width: 100%;
	max-width: 1024px;
	position:fixed;
	bottom:0;
	left:auto;
	right:auto;
}
#slide div,#slide .slick-slide{
	width:18%;
	float:left;
	margin-left:1%;
	margin-right:1%;
}
#slide div img{
	width:100%;
	height:auto;
}
#slide {
	width:100%;
	height:auto;
}
nav#menubar ul#menu2,nav#menubar #menusav{
	display: none;
}

@media all and (max-width:880px){
	#logo2,#logo3{
		display: none;
	}
	nav#menubar ul#menu1{
		margin-right: 50px;
	}

}


@media all and (max-width:1040px){

	#main_page{
		width:80%;
		margin-left:10%;
		margin-right: 10%;
	}#content{
		width:100%;
		margin-bottom:15px;
	}
	#dogs{
		width:94%;
		margin-left:3%;
		margin-right: 3%;
	}
	#leftside{
		width:100%;
	}
	#leftside div{
		margin:0 3%;
		width:44%;
	}
	.grid-item{
		margin:0 3%;
		width:44%;

	}
	#online_reg{
		background-position: bottom right;
	}
	.box img{
		max-width: 85%;
	}
	.grid .box{
		background-position: bottom right;
	}
	#documents{
		width:94%;
		margin-left:3%;
		margin-right: 3%;
	}
	#header #title{
		width:60%;
		margin-left:5%;
		margin-right:5%;
	}
	#header #logo{
		width:25%;
		margin-left:5%;
	}
	#logo2,#logo3{
		display: none;
	}
	#main_gallery a {
	  float: left;
	  width: 25%;
	  height: auto;
	  background-color: #ccc;
	  border: 7px solid #fff;
	}
	#main_gallery a {
	      margin: 0 8% 30px 0;
	}
}
@media all and (min-width:1041px){
	#header #logo{
		float:left;
		margin-left:50px;
		width:130px;
	}
	#header #title{
		float:left;
		width:59%;
		margin:0;
	}
}

@media all and (max-width:520px){
	nav#menubar ul#menu1{
		display: none;
	}
	nav#menubar #menusav{
		display: block;
	}
	nav#menubar #menusav a{
		margin-top:5px;
	}

 .home_button{
 	margin-left:25%;
 	float:left;
 }
 .contact_button{
 	margin-right:25%;
 	float:right;
 }
 .menu_toogle{float:left}
	nav#menubar{
		background-size:100% 60px;
		background-repeat:repeat-x;
		height:auto;
	}

	nav#menubar.menuOn #menu_m ul#menu2{
		text-align: center;
		display: block;
		margin:0;
		width:100%;
		padding:0;
	}

	.menuOn ul#menu2 li{
		display: block;
		width:100%;
		float:right;
		line-height: 40px;
	}
	nav#menubar ul#menu2 li a{
		font-weight: bold;
		text-decoration: none;
		text-transform: uppercase;
		color:#2f5b05;
	}
	#menusav{
		height:60px;
	}
	.menuOn #menu_m{
	display: block;
	background-color:rgba(255,255,255,0.8);
	width: 100%;
	height: 170px;
	right: auto;
	margin-bottom:20px;
}
}