﻿<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style-media.css" media="all">

body {margin:0;}

/* CSS Document */

body {
	background: rgb(250,230,200);
	color: rgb(10,10,10);
	margin: 0;
	padding: 0;
	word-wrap:break-word !important;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	}

a {
    color: #a03030;
}

div.w3-main a {
    color: #a03030;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-style: italic;
    text-decoration: none;
    margin: 10px auto 0;
    max-width: 150px;
    outline: none;
    font-size: 13px;
    font-weight: normal;
}
div.w3-main a.largelink {
    font-size: 18px;
    line-height: 22px;
}

div.w3-main a.largelink:hover,
.body div.focus a:hover {
    color: #f02020;
}

#container {
	margin: 0 auto;
	max-width: 1600px;
}

.toggle,
[id^=drop] {
	display: none;
}

img.focuspic{
	margin:0px 0 0 12px;
	border:0;
	float:right;
}

/* Giving a background-color to the nav container. */
nav { 
	margin:0;
	padding: 0px 0px 10px 0px;
	background-color: rgb(180,60,60);
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
	content:"";
	display:table;
	clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
	float: right;
	padding:0px 28px 0px 0px;
	margin:0;
	list-style: none;
	position: relative;
	}
	
/* Positioning the navigation items inline */
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: rgb(180,60,60);
	}

/* Styling the links */
nav a {
	display:block;
	padding:4px 10px 4px 10px;
	font-size:16px;
	text-decoration:none;
	line-height: 28px;
	}

nav ul li ul li ul li,
nav ul li ul li,
nav ul li {
	color:rgb(250,250,250);
	}

nav ul ul ul li.selected,
nav ul ul li.selected,
nav ul li.selected {
	color:rgb(250,250,150);
	}

nav ul ul ul li:hover,
nav ul ul li:hover,
nav ul li:hover {
	color: rgb(200,20,20);
	background-color: rgb(245,255,235);
	}

nav ul li ul li { background-color: rgb(220,90,90); }

nav ul {
	top: 10px; 
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	display: none;
	position: absolute; 
	/* has to be the same number as the "line-height" of "nav a" */
	top: 36px; 
}
	
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
	display:inherit;
}
	
/* Fisrt Tier Dropdown */
nav ul ul li {
	width:170px;
	float:none;
	display:list-item;
	position: relative;
}

/* Second, Third and more Tiers	
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
	position: relative;
	top:-100px;
	/* has to be the same number as the "width" of "nav ul ul li" */ 
	left:170px; 
}

	
/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ''; }
li > a:only-child:after { content: ''; }

/* Media Queries
--------------------------------------------- */

@media all and (max-width : 728px) {

	nav {
		margin: 0;
	}

	/* Hide the navigation menu by default */
	/* Also hide the  */
	.toggle + a,
	.menu {
		display: none;
	}

	/* Styling the toggle label */
	.toggle {
		display: block;
		background-color: rgb(180,60,60);
		padding:4px 10px 4px 10px;
		color:rgb(255,255,255);
		font-size:16px;
		text-decoration:none;
		border:none;
	}
	
	li.selected .toggle {
		color:rgb(250,250,150);
	}

	.menu a:hover,
	li .toggle:hover {
		color: rgb(200,20,20);
		background-color: rgb(255,245,235);
	}

	/* Display Dropdown when clicked on Parent Label */
	[id^=drop]:checked + ul {
		display: block;
	}

    nav ul {
        padding: 0px 0px 0px 0px;
    }

	/* Change menu item's width to 100% */
	nav ul li {
		display: block;
		width: 100%;
		}

	nav ul ul .toggle,
	nav ul ul a {
		padding: 0 40px;
	}

	nav ul ul ul a {
		padding: 0 80px;
	}

	nav ul li ul li .toggle {
		padding:4px 10px 4px 10px;	
	}
  
	nav ul li ul li .toggle {
		color:rgb(255,255,255);
	}
  
	nav ul li ul li .toggle {
		background-color: rgb(220,90,90); 
	}

	/* Hide Dropdowns by Default */
	nav ul ul {
		float: none;
		position:static;
		/* has to be the same number as the "line-height" of "nav a" */
	}
		
	/* Hide menus on hover */
	nav ul ul li:hover > ul,
	nav ul li:hover > ul {
		display: none;
	}
		
	/* Fisrt Tier Dropdown */
	nav ul ul li {
		display: block;
		width: 100%;
	}

	nav ul ul ul li {
		position: static;
		/* has to be the same number as the "width" of "nav ul ul li" */ 
	}

}

@media all and (max-width : 330px) {

	nav ul li {
		display:block;
		width: 94%;
	}

}

/*------------------------- Footer ------------------------*/ 
.footer {
	max-width:640px;
	padding:15px 10px 20px;
	margin:0 auto;
	overflow:hidden;
}

.footer p {
	color:#3b3b3b;
	font-size:10px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight:normal;
	float:left;
	margin:12px 0 0 0px;
}

.footer div.connect {
	float:right;
	margin:0 0 0 10px;
}

.footer div.connect a {
	float:left;
	outline:none;
}

a.facebook {
	width:40px;
	height:40px;
	display:block;
	text-indent:-9999px;
	background:url(../images/social_media_icons.jpg) no-repeat -160px -160px;
}

a.twitter {
	width:40px;
	height:40px;
	display:block;
	text-indent:-9999px;
	background:url(../images/social_media_icons.jpg) no-repeat -240px -160px;
	margin:0 0 0 8px;
}

a.instagram {
	width:40px;
	height:40px;
	display:block;
	text-indent:-9999px;
	background:url(../images/social_media_icons.jpg) no-repeat -400px -160px;
	margin:0 0 0 8px;
}

a.linkedin {
	width:40px;
	height:40px;
	display:block;
	text-indent:-9999px;
	background:url(../images/social_media_icons.jpg) no-repeat -560px -240px;
	margin:0 0 0 8px;
}

a.google {
	width:40px;
	height:40px;
	display:block;
	text-indent:-9999px;
	background:url(../images/social_media_icons.jpg) no-repeat -320px -720px;
	margin:0 0 0 8px;
}

a.yahoo {
	width:40px;
	height:40px;
	display:block;
	text-indent:-9999px;
	background:url(../images/social_media_icons.jpg) no-repeat -160px -796px;
	margin:0 0 0 8px;
}

a.youtube {
	width:40px;
	height:40px;
	display:block;
	text-indent:-9999px;
	background:url(../images/social_media_icons.jpg) no-repeat -160px -320px;
	margin:0 0 0 8px;
}

a.facebook:hover,
a.twitter:hover,
a.instagram:hover,
a.linkedin:hover,
a.google:hover,
a.yahoo:hover,
a.youtube:hover {
	filter:alpha(opacity=0);
	opacity:0.6;
}
