/*The CSS style sheet for StyroDigita, developed by the owner - Kannika Styron*/


/*Global style sheet, 99% get rid of H-scroll bar*/
body {background-color: #504f4f;
	color: #1f2025;
	font-family: Verdana, Arial, sans-serif;
	background-image: url(images/deco/styrocover2.jpg);
	background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 99%;
    height: 100%;
	padding-top: 0;
	margin-top: 0;
	padding-bottom: 300px;}

/*Configuring page to be centered, having min and max width*/
#wrapper {margin-left: auto; 
		margin-right: auto; 
		width: 70%;
		color: #eaeaea;
		min-width: 960px;
		max-width: 1920px;/*my try*/
	
		}
/*Configure background image for logo, prepared width for the logo image*/
header { 
	color: #000000; 
	background-image: url(images/deco/styrologolatest.gif);
	background-position: center;
	background-repeat: no-repeat;
	height: 250px;
	padding-bottom: 20px;
	padding-top: 10px;}
	
/* This configures tag-line at the logo area.*/     
#tagline { padding: 170px 50px 0 30px;
		   color: #1b1b1b;
          text-align: right;
		  font-size: 1.5em;
		  font-weight: normal;
		  border-bottom: none;
		  text-shadow: none;
		  text-transform: none;
		 
            }
/*Apply text image replacement technique*/	
h1 {margin: 0;
   text-indent: 100%;
   white-space: nowrap;
   overflow: hidden;}

/* Configure relative position for the sub-menu*/
nav { font-weight: bold;
		font-size: 1.1em;
	position: relative;
	background-color: #504f4f;
	color: #ffffff;
	padding: 15px;
	margin: 0;}
	
/* Configure navigation with no marker*/
nav ul {list-style-type: none;
		text-align: center;
		text-transform: uppercase;
		padding-left: 0;}
nav li {display: inline-block;}

/*Configure no underline of nav links by using descendant selector*/
nav a { text-decoration: none;}

/*Configure link, visited, and hover pseudo-classes for navigation*/
nav a:link { color: #ffffff;
			text-shadow: 2px 2px 2px #000000;}
nav a:visited { color: #ffffff;
				text-shadow: 2px 2px 2px #000000;}
nav a:hover { color: #000000;
			text-shadow: none;
			background-color: #828282;
			padding: 15px;}
			
/*Sub Menu*/
nav ul ul {position: absolute;
		background-color:#828282;		
		text-transform: none;
		font-weight: normal;
		padding: 0;
		text-align: left;
		display: none;}
nav ul ul li {display: block;
				width: 13em;
				margin-left: 0;
				padding: 0.3em 0.2em 0.2em 0.5em;
				border-bottom: 1px solid #000000;}
nav li:hover ul {display: block;
				padding: 0.2em;}
nav ul ul a:link { text-shadow: none;}
nav ul ul a:visited { text-shadow: none;}
nav ul ul a:hover { padding: 0;}

/*Configure footer and email link, having background color as the same body*/
footer { font-size: .90em;	 
	   text-align: center;
		padding: 10px 5px 10px 5px;
		color: #000000;}

footer ul {list-style-type: none;
		text-align: center;
		font-weight: bold;
		padding: 0 5px 5px 5px;
		margin: 0;}
footer li {display: inline;}
footer a { text-decoration: none;}
footer a:link { color: #000000;
				font-weight: bold;}
footer a:visited { color: #000000;
					font-weight: bold;}
footer a:hover { color: #000000;
				text-decoration: underline;
				font-weight: normal;}


/*Adding following CSS to compatible with most older browsers*/
header, nav, main, footer, figure, figcaption { display: block;}


/* Code a media query for tablet and smaller devices viewport size to not display sub-menu*/
@media only screen and (max-width: 1024px) {
   nav li:hover ul {display: none;}
}


	

