nav{
	background-color:rgba(81,149,72,1);
	min-height:9%;
}

.navbar-collapse{
	background-color:rgba(81,149,72,1);
}

.navbar a {
    color: white !important;
}

.dropdown-menu a{
	color: black !important;
}

body {
  padding-top: 5rem;
  background-image: url("../images/hatterkep.JPG")
}

.indexPage, .tagok{
	background-color:rgba(209, 249, 87,0.4);
}

.nav-link.active {
	color:green;
} 

.container{
	width:95%;
}

#header_text_background{
	text-align: center;
	background-color:rgba(255,190,64,0.9);
	padding-bottom: 0.4rem;
	border-radius: 10px;
	border: 1px solid;
	width:80%;
	margin-top: 2rem;
	margin-left: auto;
	margin-right:auto;
}

#index_header_text_background{
	text-align: center;
	background-color:rgba(255,190,64,0.9);
	padding-bottom: 0.4rem;
	border-radius: 10px;
	border: 1px solid;
	width: 100%;
	margin-top: 2rem;
	margin-left: auto;
	margin-right: 4%;
}

#content{
	width: 100%;
	margin-left:auto;
	margin-right:auto;
}

.index_header_text{
	margin:0;
	padding:0;
	padding-top:1%;
	font-size: 20px;
	font-weight:bold;
}


.footerText{
	margin:0;
	padding:0;
	margin-top:0.3rem;
}

footer{
	border-top: 1px solid;
	text-align:center;
	font-size:20px;
	color: white;
	background-color:rgba(81,149,72,1);
	height: 3%;
}

footer a{
	color: white;
	text-decoration: underline;
	margin-left:0.5%;
}

#header_text_background{
	text-align: center;
	background-color:rgba(255,190,64,0.9);
	padding-bottom: 0.4rem;
	border-radius: 10px;
	border: 1px solid;
}

.header_text{
	margin:0;
	padding:0;
	padding-top:1%;
	font-size: 20px;
	font-weight:bold;
}

#header, #content{
	position:relative;
}

.img-fluid{
	position: relative;
}

#ady_logo{
	opacity: 0.9;
	position:absolute;
	margin-top:-20%;
	margin-left: 14%;
}

#ady_logo img{
	height: 40%; 
	width:  48%;
}

.carousel-control-prev-icon, .carousel-control-next-icon{
    	background-color:rgba(81,149,72,1.0);
		height: 2.0rem;
		width: 2.0rem;
}

#imgmove{
	margin-left:1%;
	margin-top:-8%;
}

#calendar{
	width: 520px; 
	height: 240px; 
	visibility: visible; 
	overflow: hidden; 
}

.left-cont, .left-cont-sponsors{
	background-color:rgba(209, 249, 87,0.4);
	display: inline-block;
}

.right-cont{
	background-color:rgba(209, 249, 87,0.4);
}

.months{
	margin-left: auto;
	margin-right:auto;
}

.months > a{
	color: black;
	font-size: 18px;
}

#monthsContainer{
	width:80%;
	margin-left:auto;
	margin-right:auto;
	background-color:rgba(209, 249, 87,0.4);
	height:300px;
	visibility: visible; 
	overflow: hidden;
}

#content_right_container{
	width:80%;
	margin-left:auto;
	margin-right:auto;
	background-color:rgba(209, 249, 87,0.4);
	visibility: visible; 
	overflow: hidden;
}

#content_right_container_index{
	width:100%;
	margin-left:auto;
	margin-right:4%;
	background-color:rgba(209, 249, 87,0.4);
	visibility: visible; 
	overflow: hidden;
}

.competitions{
	font-size: 20px;
	margin-top: -2%;
}

.ownCompetition{
	font-size: 20px;
	margin: 0;
	color: #B80A10;
}

.compImg{
	margin-top: 10%;
	margin-left: 17%;
}

.sponsorsImg{
	margin-top: 10%;
	margin-left: 12%;
}

.sponsorsOrImg{
	margin-top: 6%;
	margin-left: 27%;
}

#sponsor-imgs{
	display: inline-block;
}

.prim_sponsor_text{
	margin-left:64%;
	font-weight: bold;
	font-size: 17px;
}

.prim_sponsor_text2{
	margin-top: -2%;
	margin-left:54%;
	font-weight: bold;
	font-size: 17px;
}

.prim_sponsor_text_ro{
	margin-left:60%;
	font-weight: bold;
	font-size: 17px;
}
/* Device settings */

@media only screen and (min-width: 300px) and (max-width: 499px) {
	#header{display:none;}

	#monthsContainer{
		width: 100%;
	}
	
	.sponsorsOrImg{
		visibility: hidden;
	}
	
	.sponsText{
		font-size: 14px !important;
	}
	
	.sponsValue{
		font-size: 15px !important;
	}
	
	.contactInfo{
		margin-top: 1% !important;
		margin-left: 5% !important;
	}
	
	.contactEmail{
		margin-left: 12%;
	}
		
	#facebook{
		display: none;
	}
}

@media only screen and (max-width: 500px) {
	#index_header_text_background{
		text-align: center;
		background-color:rgba(255,190,64,0.9);
		padding-bottom: 0.4rem;
		border-radius: 10px;
		border: 1px solid;
	}
	
	.container{
		width:100%;
	}
	
    .leftCont{
		margin:0;
		width:100%;
		height: 465px;
	}
	
	.compImg{
		margin-left: 4%;
	}
	
	.rightCont{
		margin:0;
		width:100%;
		height: 530px;
	}
	
	#header_text_background, #monthsContainerm, #content_right_container{
		width: 100%;
	}
	
	.prim_sponsor_text{
		margin-left: 55%;
	}
	
	.prim_sponsor_text2{
		margin-top: -5%;
		margin-left: 51%;
	}
	
	.sponsorsImg{
		width: 85%;
		height: 80%;
		margin-top: 6%;
		margin-left: 7%;
	}

	.left-cont-sponsors{
		height: 115px;
	}
	
	#facebook{
		display: none;
	}
}

@media (max-width: 770px) {
    .memberCards{
		width:80%;
		margin-left: auto;
		margin-right:auto
	}
	
	#ady_logo img{
		height: 28%; 
		width:  35%;
	}
	
	#ady_logo{
		opacity: 0.9;
		position:absolute;
		margin-top:-24%;
		margin-left: 14%;
	}
	
	.contactInfo{
		margin-left: 16% !important;
		margin-top: 0 !important;
	}
	
	#facebook{
		display: none;
	}
}


@media only screen and (min-width: 800px) and (max-width: 1200px) {
	.compImg{
		margin-left: 8%;
	}
	
	.contactInfo{
		margin-left: 32% !important;
		margin-top: -8% !important;
	}
}

.sponsorImg{
	margin-left: 4%;
	margin-top: 5%;
}

.sponsorImg2{
	margin-top: 5%;
	margin-left:10%;
}

.sponsorImg3{
	margin-top: 5%;
	margin-left:20%;
}

.sponsText{
	margin-left: 1%;
	font-weight: bold;
	font-family: arial;
	font-size: 16px;
}

.sponsValue{
	margin-left: 1%;
	font-weight: bold;
	font-family: arial;
	font-size: 16px;
	color: #EA2A15;
}

.contactIcon{
	margin-left: 5%;
	margin-top: 4%;
}

.contactText{
	position: absolute;
	margin-top: 5%;
	margin-left: 2%;
	font-size: 18px;
	font-weight: bold;
}

.contactInfo{
	display: inline-block;
	margin-left: 27%;
	margin-top: -6%;
	font-size: 18px;
	font-weight: bold;
}

#facebook{
	margin-top: 10%;
	margin-left: 7%;
}

.title{
	font-size: 24px;
	margin-top: 3%;
	margin-left: 4%;
	text-decoration: underline;
	color: white;
}

.news{
	background-color: rgba(209, 249, 87,0.4)
}

.newsText, .usefulLink{
	margin-left: 2rem;
	padding-bottom: 3%;
	font-size: 20px;
}

.usefulLink{
	padding-top: 2%;
	margin-bottom: 0;
}

.bihar_cup_title{
	font-size: 20px;
	margin-bottom: 0px;
	height: 35px;
	text-align: center;
	text-decoration: underline;
	color: white;
	background-color: rgba(255,190,64,0.9);
}

.bihar_cup_img{
	margin-top: 2%;	
	margin-bottom: 2%;
	margin-left: 8%;
}

#race_information{
	background-color: rgba(209, 249, 87,0.4);
	margin-top: 2%;
	text-align: center;	
	margin-right:15%;
}

.race_inf_title{
	font-size: 20px;
	color: white;
	text-decoration: underline;
}

.race_inf{
	font-size: 18px;
	font-family: Arial;
}

.bihar_cup_img_mobile{
	visibility: hidden;
	position: absolute;
	margin-top: -100%;
}

@media only screen and (min-width: 300px) and (max-width: 750px) {
	.bihar_cup_img{
		visibility: hidden;
		position: absolute;
		margin-top:0;
	}
	
	#race_information{
		width: 100%;
	}
	
	.bihar_cup_img_mobile{
		visibility: visible;
		position: inherit;
		margin-top:0;
	}
	
	.about_us_pic{
		margin-left: 12% !important;
	}
	
	img.about_us_pic{
		width: 75%;
		height: 38%
	}
	
	.school_pic2{
		display: none;
	}
}

.own_comp_title{
	font-weight: bold;
	text-decoration: underline;
	font-size: 24px;
	font-family: arial;
	text-align: center;
}
.own_comp_title a{
	color: #B80A22;
}

.about_us_paragraph{
	font-size: 18px;
	font-family: arial;
	font-weight: bold;
	margin-left: 3%;
	margin-bottom: 3%;
}

.zt_signature{
	font-size: 18px;
	font-family: arial;
	font-weight: bold;
	margin-left: 55%;
}

.about_us_pic{
	margin-top: 10%;
	margin-left: 29%;
}

.left-cont-index{
	margin-left: 4%;
}