@charset "utf-8";
/* CSS Document */

#wrapper {
	width: 96%;	
	max-width: 1000px;
	margin: auto;
	padding: 2%;
	} 
body {
	background-color:lightgrey; 
}
header {
	width:auto;
	height:auto;
}
nav ul {
	float:none;
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid #e7e7e7;
	background-color:firebrick;
	color: #FFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
}
nav li {
	float: left;
	padding: 10px 75px;
}
nav li a {
	display: block;
    text-align: center;
	text-decoration: none;
	color: ghostwhite;

}

nav li a:hover:not(.active) {
	color:cornsilk;
}

nav li a.active {
	color:yellow;
}



main {
	height: auto;
	width: auto;
	background-color: #FFF;
	border-radius: 10px;
	padding:10px;
	box-shadow: 0px 0px 5px 5px #333;
	margin-top:10px;
	/*text-align:center;*/
}


footer {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 44px;
	line-height: 22px;
	border-top:#666 medium solid;
	text-align: center;
	margin-top:30px;
}

h2{
	background-color:gold;
	border:thin solid #000;
}
.gallery {
	width: 800px;
 	margin: 0 auto;
 	padding: 5px;
  	background: #fff;
  	box-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.gallery > div {
  position: relative;
  float: left;
  padding: 5px;
}

.gallery > div > img {
	display: block;
	width: 250px;
	transition: .1s transform;
	transform: translateZ(0);
	height: 150px;
	border: medium solid #666;
}

.gallery > div:hover {
  z-index: 1;
}

.gallery > div:hover > img {
  transform: scale(2,2);
  transition: .3s transform;
  border:medium solid #000000;
}


.cf:before, .cf:after {
  display: table;
  content: "";
  line-height: 0;
}

.cf:after {
  clear: both;
}
input {
  width: 100%;
  display: block;
  border: 1px solid #999;
  height: 30px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}
form {
	position: relative;
	width: 380px;
	height: auto;
	font-size: 20px;
	font-weight: bold;
	color:crimson;
	border-radius: 10px;
	padding: 10px;
	border: 1px solid #999;
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
	margin-top: 20px;
	margin-left: 20px;
	margin-right:auto;
}

input[type=submit] {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
select {
  width: 100%;
  display: block;
  border: 1px solid #999;
  height: 30px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}
textarea {
	 width: 100%;
  display: block;
  border: 1px solid #999;
  height: 80px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

#map{
	width:500px;
	height:500px;
	margin:auto;
	border:medium solid;
	margin-top: -500px;
	margin-left: 450px;
}
.thumbnails img {
	height: 80px;
	border: 4px solid #555;
	padding: 5px;
	margin-top: 0;
	margin-bottom: 10px;
	margin-left: 30px;
}

.thumbnails img:hover {
	border: 4px solid #00ccff;
	cursor:pointer;
}

.preview img {
	border: 4px solid #444;
	padding: 10px;
	width: 700px;
}
img {
    margin: 0 auto;
	max-width:100%;
	height:auto;
}

.dropbtn {
	display: inline-block;
	color: white;
	padding: 2px 10px;
	text-decoration: none;

}
.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
	background-color:#FFF;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
	background-color:#333;}

.dropdown:hover .dropdown-content {
    display: block;
}

img {
    margin: 0 auto;
	max-width:100%;
	height:auto;
}
.responsive {
    float: left;
    width: 30%;
	
}
/*mobile preview*/
@media screen and (max-width: 500px){

nav li {
	float: none;
}

header,main {
	width:auto;
	min-height:200px;
}
.responsive {
        width: 100%;
}

.gallery {
	max-width: 300px;
 	padding: 5px;
	margin: 0px;
	
}
.preview img {
	border: 4px solid #444;
	padding: 10px;
	max-width:300px;

}

form {
	position: relative;
	width: auto;
	height: auto;
	
}
#map{
	max-width: 300px;
	height:300px;
	margin:auto;
	border:medium solid;
}
#icon{
	text-align:left;

}
