﻿body {
		background: url('images/bg.jpg') center top;
		background-repeat:no-repeat;
		font-size:14px;
		font-family:Verdana, Geneva, Tahoma, sans-serif;
}
#container {
	width:100%;
	max-width:1000px;
	margin:auto;
}
#slider {
/*	margin-left:150px;*/
margin: 0 auto; 
	width:100%;
	max-width:700px;

	
}

#navigation {
	margin-left:51px;
	margin-top:10px;

}/*
#navigation ul {
	list-style:none;
	margin-left:-89px;
	margin-top:1px;
}
#navigation li {
	display:inline;
}
#navigation a:visited, #navigation a:link {
	background: url('images/nav-bg.jpg');
	display:inline-block;
	color:white;
	text-decoration:none;
	border:1px solid white;
	border-radius:5px;
	width:160px;
	height:31px;
	font-size:16px;
	padding-top:9px;
	margin-left:50px;
	text-align:center;
}
#navigation a.first:visited, #navigation a.first:link {
	margin-left:0px;
}*/
/* Remove margins and padding from the list, and add a black background color */
ul.topnav {
    list-style-type: none;
    margin:0;
    padding: 0;
    overflow: hidden;
   

}

/* Float the list items side by side */
ul.topnav li {float: left;}

/* Style the links inside the list items */
ul.topnav li a {
    background: url('images/nav-bg.jpg');
	display:inline-block;
	color:white;
	text-decoration:none;
	border:1px solid white;
	border-radius:5px;
	width:160px;
	height:31px;
	font-size:16px;
	padding-top:9px;
	margin-left:50px;
	text-align:center;

    
    /*background: url('images/nav-bg.jpg');
    display: inline-block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;*/
}

/* Change background color of links on hover */
ul.topnav li a:hover {background-color: #555;}

/* Hide the list item that contains the link that should open and close the topnav on small screens */
ul.topnav li.icon {display: none;}

#slogan {
	text-align:center;
	font-size:18px;
	background-color:white;
	margin-top:10px;
	padding-top:10px;
	padding-bottom:10px;
}
#wrapper {
	background-color:#788096;
	padding:5px;
}
#wrapper-inner {
	background-color:#C6C8CF;
	padding:5px;
}
#wrapper-left {
	
	line-height:22px;
	
	
}
#name {
	margin-top:10px;
}
#wrapper-right {
	float:left;
}
#weather {
	text-align:center;
}
#facebook-feed {
	margin-top:10px;
	margin-left:28px;
}
#footer {
	margin-top:10px;
	text-align:center
}
#w1 {
	float:left;
	color:white;
	width:500px;
	text-align:center;
}
#contact {
	background: url('images/nav-bg.jpg');
	border:1px solid white;
	border-radius:5px;
	padding:10px;
	margin-top:10px;
	min-height:77px;
	font-size:15px;
	
}
#w2 {
	float:left;
	width:470px;
	text-align:center;
	color:white;
	margin-left:20px;
}
#form {
	background: url('images/nav-bg.jpg');
	border:1px solid white;
	border-radius:5px;
	margin-top:10px;
	padding:10px;

}

#contact a:link, #contact a:active, #contact a:visited {
    color:white;
}



/* CLASSES */

.picture {
	vertical-align:middle;
}
.picture-padding {
	padding-right:10px;
}
.name {
	font-size:18px;
	font-weight:bold;
}
.no-border {
	border:0px;
}



/* MEDIA QUERIES */

@media only screen and (max-width: 1021px) {
	#wrapper-left {
	
	line-height:22px;
	width:100%;
	
}
    #wrapper-right {
	width:100%;
	margin-left:0px;
	margin-top:10px;
}
	#w1 {
	float:none;
	width:100%;
	}
	#w2 {
    float:none;
	width:100%;
    margin-left:0px;
    margin-top:10px;
}
#facebook-feed {
	margin-top:10px;
	text-align:center;
	margin-left:0px;
}
#weather-widget {display:none;
}
}

/* When the screen is less than 680 pixels wide, hide all list items, except for the first one ("Home"). Show the list item that contains the link to open and close the topnav (li.icon) */
@media screen and (max-width:1021px) {
  ul.topnav li:not(:first-child) {display: none;
  
  }
  ul.topnav li.icon {
    float: right;
    display: inline-block;

}
ul.topnav a.first {
margin-left:0;
    
    
}
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens */
@media screen and (max-width:1021px) {
  ul.topnav.responsive {position: relative;}
  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
    width:50px;
    
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: center;
    width:100%;
    margin-top:2px;
    margin-left:0;
    box-sizing: border-box;
    height:42px;
      }
    #navigation {
	margin-left:0px;
	
	

}
}
      
@media screen and (max-width:435px) {


#slogan {
	font-size:14px;

}
ul.topnav li a {
margin-left:30px;
}
}


@media screen and (max-width:375px) {

ul.topnav li a {
margin-left:10px;
}
#wrapper-left {
font-size:13px;

}
}


