@media screen and (min-width: 1000px) and (max-width: 2000px) {
body {
	/*background-color: #F5DEB3;*/
	background-color: #8B4513;
	
	
	font-size: 12pt;
}


div#margin {
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: 40px;
	margin-right: 40px;
	width: auto%;
	height: 500%;
	/*background-color: #DEB887;	*/
	background-image: url("wooden.jpg");
    background-repeat: repeat-y;
    background-position: center;
	/*background-size: 100% 100%;*/
	border: 3pt solid #8B4513;
}

div#cim {
	font-size: 24pt;
	color: #683B07;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	
}

div#alcim {
	font-size: 20pt;
	color: #683B07;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	
}

div#sz1-cim {
	font-size: 24pt;
	color: #683B07;
	font-family: 'Brush Script MT', cursive;
	border-bottom: 1pt solid #8B4513;
}
div#sz2-cim {
	font-size: 24pt;
	color: #683B07;
	font-family: 'Brush Script MT', cursive;
	border-bottom: 1pt solid #8B4513;
	text-align: right;
	width: 100%;
}

div#tartalom {
	color: #683B07;
	font-size: 24pt;
	height: auto;
	margin-left: 20px;
	margin-right: 20px;
	

}

ul#felsorolas {

}

div#szoveg1 {
	background-color: #FFDAB9;
	opacity: 0.6;
	color: black;
	text-align: justify;
	padding-right: 40px;
	padding-left: 40px;
	padding-top: 30px;
	padding-bottom: 30px;

	margin-bottom: 20px;
	
	/*border: 1pt solid #8B4513;*/
	transform: translateX(-75%);
    bottom: -15px;
    left: 50%;
    width: 50%;
	float: right;
}

div#szoveg2 {
	background-color: #FFDAB9;
	opacity: 1;
	color: black;
	text-align: justify;
	padding-right: 40px;
	padding-left: 40px;
	padding-top: 30px;
	padding-bottom: 30px;
	
	margin-bottom: 20px;
	
	/*border: 1pt solid #8B4513;*/
	transform: translateX(75%);
    bottom: 15px;
    left: -50%;
    width: 50%;
	float: left;
}

ul#felsorolas {
    color: black;
}

/* NAV BAR */

ul#navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: 	#CD853F;
  border-top: 3pt solid 	#8B4513;
  border-bottom: 3pt solid 	#8B4513;
}

ul#navbar li {
  float: left;
}

ul#navbar li a, .dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul#navbar li a:hover, .dropdown:hover .dropbtn {
  background-color: 	#8B4513;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #CD853F;
  min-width: 160px;
  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;
  text-align: left;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.dropdown:hover .dropdown-content {
  display: block;
}



.container {
  position: relative;
  font-family: Arial;  
  width: 100%;
  height: auto;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}

img {
  	/*border: 3pt solid #8B4513;*/
}

.text-block {
  position: absolute;
  bottom: 30%;
  margin: auto;
  width: 20%;
  opacity:0.75;
  background-color: gray;
  transform: translate(200%, -60%); 
  text-align: center;
  font-size: 18pt;
  font-family: 'Kalam', cursive;

  }
  
/* IMAGE GALERY */
div.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 300px;
  height: auto;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
  font-size: 12pt;
  background-color: white;
}

/* GALERY 2 */

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* The Modal (background) */
.galery_modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.galery_modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.gslery_close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  float: right;
  width: 100%;
  text-align: right;
}

.gslery_close:hover,
.gslery_close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* CARD */

.card {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 40%;
  height: auto;
  margin-left: 30%;
  margin-right: 30%;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.card_container {
  padding: 2px 16px;
  background-color: white;
}

p#card1 {
font-size: 20pt;

}
p#card2 {
font-size: 14pt;

}
p#card_nev {
font-size: 30pt;

}

/* MODAL */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color:#FF7F50;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close, .close1, .close2 {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover, .close1:hover, .close2:hover,
.close:focus, .close1:focus, .close2:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

}