
 @import 'https://fonts.googleapis.com/css?family=Calibri';

html {
	background-color: #fff1f1;
	background-size: 1800px;
} 
body {
	font-family: 'Calibri', sans-serif;
	background-repeat:no-repeat;
	background-size: 1400px;
}

h1,h2 {
    font-family: 'Calibri', sans-serif;
}

/* Megcélozza az összes 'a' (link) elemet, ami a 'header' elemen belül van */
header a {
    text-decoration: none; /* Eltávolítja az aláhúzást */
    color: black;          /* Fekete színt állít be */
}

/* Fontos: A linkeknek vannak különböző állapotai is, amiket külön is érdemes beállítani,
   hogy biztosan fekete maradjon, és ne változzon meg, ha pl. már meglátogatták
   az oldalt, vagy ráviszik az egeret. */

header a:link {
    text-decoration: none;
    color: black;
}

header a:visited {
    text-decoration: none;
    color: black;
}

header a:hover {
    text-decoration: none; /* Ha ráviszi az egeret */
    color: black;
}

header a:active {
    text-decoration: none; /* Kattintás pillanatában */
    color: black;
}
p {
 text-align:justify;
 }


 #myHeading img {
	float:left;
	margin-right:10px;
	position: relative;
  }
  #myHeading h1 {
	
  }
 
.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}


.or{
	text-align: center;
	font-weight: bold;
	margin: 30px;
}
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
	position: relative;
	display: inline-block;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
  }
  
  /* Links inside the dropdown */
  .dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #f1f1f1}
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
	display: block;
  }
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  .dropdown:hover .dropbtn {
	background-color: #be4fa0;
  }

  .navbar{
	display: flex;
	flex-wrap: wrap;
   flex-direction: row;
   /* Below sets up your display method: flex-start|flex-end|space-between|space-around */
   justify-content: flex-start; 
   /* Below removes bullets and cleans white-space */

   padding: 0;
  }


  .dropbtn {
	background-color: #b4cf8f;
	color: black;
	padding: 10px;
	font-size: 1.1em;
	border: none;
	cursor: pointer;
	display: flex;
  }
  
  .dropbtn:hover, .dropbtn:focus {
	background-color: #90be4f;
	text-decoration:underline;
  }
  
  .dropdown {
	position: relative;
	display: inline-block;
  }
  
  .dropdown-content {
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 160px;
	overflow: auto;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
  }
  
  .dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
  }
  
  .dropdown a:hover {background-color: #ddd;}
  
  .show {display: block;}

header, main, footer, #header,#tartalom,#footer {
	width:70%;
	min-width:400px;
	max-width:1000px;
	margin-left:auto;		
	margin-right:auto;
	margin-top:0;
	margin-bottom:0;
	background-color: hsla( 0, 0%, 100%, 0.8);
	padding:10px;
	}
	
header, footer, #header, #footer {opacity:0.9;}
	
header, #header {
	border-radius: 10px 10px 0 0 ;
	padding-bottom:0;	
	position:relative;				    
	}

footer, #footer  {
	border-radius: 0 0 10px 10px;
	}	



footer p, #footer p {text-align:center}





header nav, #header div {
	background-color:#b4cf8f;
	padding:5px 5px 5px 10px;
	margin-left:-10px;
	margin-right:-10px;
	border-top:1px solid black;
	border-bottom:1px solid black;
	}



	
header nav  ul  li, #header div ul li {
	display:inline;	
	white-space: nowrap;
	}

header nav a, #header div a {
	text-decoration:none;	
	font-variant:small-caps;
	font-size:1.2em;
	
}

header nav a:link, #header div a:link {color:black;}							
				
header nav a:hover:not(.active), #header div a:hover:not(.active) {background-color:#90be4f; text-decoration:underline;}				
.active {font-weight: bold; text-transform:uppercase; font-size: 1.2em;}


	

#elet  aside, #elet #aside {
  float:center;				
  width:300px;				
  font-style:italic;		
  border:1px solid #999;		
  background-color:#b4cf8f;		
  padding:10px;					
  margin:auto;		
  border-radius:5px;			
  box-shadow:10px 10px 5px lightgray; 		
}

#elet  aside p, #elet, #aside p {
	font-weight:bold;		
	font-size:90%;			
	}

.free{		
  	width:350px;				
  	font-style:italic;		
  	border:1px solid #999;		
  	background-color:#b4cf8f;		
  	padding:10px;					
  	margin:30px;		
  	border-radius:5px;			
  	box-shadow:10px 10px 5px lightgray; 
}

.description{
	font-size: 1.2em;
	margin-left: 30px;
}

.fokep{
	min-width: 110px;
	max-width: 90%;
}

.kep2{
	min-width: 110px;
	max-width: 70%;
}
.kezdo_tabla{
	width: 60%;
}
.promo{
	width: 100%;
}
	
h3{
	text-align: center;
}


table {
	border-collapse:collapse;					
	border: double 3px gray;					
	margin:0 auto;	
	text-align:center;				
}

table th {background-color:#b4cf8f;
	padding: 5px;
	border: 1px solid gray;}  

table td, table th {
	border: 1px solid gray;					
	padding: 5px;					
}

caption {caption-side: initial;}			

#feladat {
	text-align:center;
}


@media print {

body {
font-family:'Calibri', serif;  
margin:3cm;		
}

header, main, footer, #header, #tartalom, #footer {
	width:100%;		
	padding:0;		
		}

nav, #header div {display:none}		

a:after { content: " (" attr(href) ")";}  
 
}
