@font-face {
  font-family: 'Droid Serif';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/droidserif_italic.woff') format('woff'),
	   url('fonts/droidserif_italic.svg') format('svg'),
	   url('fonts/greatvibes_latin.ttf') format('truetype');
}

@font-face 
{
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/greatvibes_latin.woff') format('woff'),
	   url('fonts/greatvibes_latin.svg') format('svg'),
	   url('fonts/greatvibes_latin.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
	font-family: 'Droid Serif', normal;
	background: #FFFFFF;
}

.container
{
	margin-left: auto;
	margin-right: auto;
	max-width: 960px;
}

.img_container
{
	margin-left: auto;
	margin-right: auto;
	max-width: 800px;
}

.img_resize
{
	max-width: 30%;
	max-height: 30%;
	margin-right: 20px;
}

header
{
	margin:  0 auto;
	height: 10vh;
	width: 100vw;
}

#logo h1
{
	color: #000000;
	margin: 3vh 0 0 0;
	padding: 0;
	font-size: 160%;
}

#logo p
{
	color: #333333;
	padding: 0;
	font-size: 120%;
	text-align: right;
}

#logo
{
	float:left;
	margin: auto;
	display: inline-block;
}

#wrapper 
{
	min-height:100%;
	position:relative;
}

#navigation2
{
	float: right;
	margin-top: 3vh;
	margin-right: 0;
	width: 40%;
	font-size: 100%;
	font-weight: bold;
}

#navigation2 ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
} 

#navigation2 ul li {
	float: right;
	display: inline;
	margin-right: 20px;
	margin-top: 5px;
	padding: 0;
}

#slidertext
{
	color: #000000;
	margin-top: 4vh;
	font-size: 3vh; 
	text-align: center;
	font-family: 'Great Vibes', cursive;
	font-size: 3.8vh;
	min-height: 15vh;
}


#v_space
{
	margin-top: 5vh;
}

#navigation2
{
	float: right;
	margin-top: 3vh;
	margin-right: 0;
	font-size: 120%;
	font-weight: bold;
}

#navigation2 ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
} 

#navigation2 ul li {
	float: right;
    display: inline;
	margin-right: 20px;
	padding: 0;
}

#navigation2 ul li a {
    text-decoration: none;
	color: #000000;
}

#navigation2 ul li a:hover {
	color: #999999;
}

#spacer
{
	margin: auto;
	height: 1px;
	width: 95vw;
	margin-top: 10px;
	background-color: #333333;
}

#main
{
	/* background-color: #eeeeee; */
    text-align: center;
	padding-bottom: 28px;
	max-width: 95%;
	margin: 5vh auto 0 auto;
}
#main p
{
	text-align: left;
	max-width: 800px;
	margin: auto;
	padding: 10px;
}

#main h2
{
	text-align: left;
	max-width: 800px;
	margin: auto;
	padding: 10px;
}

#slides_background
{
	background-color: #ffffff;
	margin: auto;
	position: relative;
	margin: 5vh auto 0 auto;
	/*
	top: 50%;
	transform: translateY(-50%); */
	/* border: 10px solid #eeeeee; */
}

footer
{
	position: absolute;
	bottom: 0;
	left: 0;
	height: 28px;
	background-color: #000000;
	width: 100%;
	color: #eeeeee;
}

#footer_menu
{
	text-align: center;
	font-size: 14px;
	margin: auto;
}

#footer_menu ul 
{
  display: inline;
  margin: auto;
  /* padding: 15px 4px 17px 0; */
  list-style: none;
}
#footer_menu ul li 
{
  display: inline-block;
  margin-right: -4px;
  position: relative;
  padding: 5px 40px 5px 0px;
  background: #000000;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

#footer_menu ul li a
{
	text-decoration: none;
	color: #ffffff;
}

#footer_menu ul li a:hover 
{
  background: #000000;
  color: #888888;
}
#footer_menu ul li ul 
{
  padding: 0;
  position: absolute;
  bottom: 26px;
  left: -20px;
  width: 130px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  display: none;
  opacity: 0;
  visibility: hidden;
  -webkit-transiton: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -ms-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  -transition: opacity 0.2s;
}

#footer_menu ul li ul li 
{ 
	background: #000000;
	display: block;
	text-align: left;
}

#footer_menu ul li ul li a
{
	text-decoration: none;
	color: #ffffff;
	margin-left : 30px;
}

#footer_menu ul li ul li a:hover { color: #888888;}

#footer_menu ul li ul li:hover { background: #000000; }
#footer_menu ul li:hover ul
{
  display: block;
  opacity: 1;
  visibility: visible;
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
{	
	.container
	{
		max-width: 98vw;
	}
	
	#logo h1
	{
		font-size: 140%;
	}

	#logo p
	{
		font-size: 90%;
	}
	
	#navigation2
	{
		float: right;
		margin-top: 4vh;
		margin-right: 0;
		font-size: 120%;
		font-weight: bold;
	}

	#navigation2 ul li {
		margin-right: 3vw;
		padding: 0;
	}
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
{
	html, body
	{
		min-width: 768px;
		min-height: 1024px;
	}
}

@media screen 
and (max-width: 600px)
{
	#v_space
	{
		margin-top: 15vh;
	}
	
	#logo h1
	{
		font-size: 80%;
	}

	#logo p
	{
		font-size: 60%;
	}
	
	#navigation2
	{
		float: right;
		margin-top: 4vh;
		margin-right: 0;
		font-size: 120%;
		font-weight: bold;
	}
}