/* CSS Document - KTML Pages Web site */
/* Set all containers to 0 */
html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6{
	margin: 0;
	padding: 0;
	border: 0;
}

/* Define attributes for html & body containers */
html, body{
	background: url("Images/sandston02.gif") repeat;
	font-size: 0.68em; /*11÷16*/
	margin: 0 auto;
	min-width: 742px;
	height: 100%;
}

/* class to make elements or objects invisible */
.hide{
	display: none;
}

/* set image default to be block-level element (with own 'box') vs inline */
img{
	display: inline;
	border: 0;
}

p, td, li, ul, ol, h1, h2, h3, h4, h5, h6{
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* Define attributes for page container */
#wrapper{
	background: #340065 url("Images/GradientTile.jpg") repeat-x;
	margin: 0 auto;
	width: 96%; /* 714÷742 */
/*extend to bottom of screen if not full page */
	position: relative;
	min-height: 100%;
}
	
/*#header{*/
header{
	background: url("Images/Triangles02.jpg") no-repeat center;
	width: 100%; /* 714÷714 */
	height: 100px;
}

#businessName{
	float: left;
	padding-bottom: 1.4%; /* 10÷714 */
	padding-left: 2.1%; /* 15÷714 */
	height: 35px;
}

#businessDesc{
	float: right;
	padding-bottom: 1.4%; /* 10÷714 */
	padding-right: 2.1%; /* 15÷714 */
	height: 35px;
}

/* Define attributes for menu container */
#menu{
	clear: both;
	margin: 0 auto;
	background: url(Images/KTMLup01b2.jpg) repeat-x;
	color: #cccccc;
	width: 100%; /* 714÷714 */
	height: 24px;
	font: 1.8em Arial, sans-serif;
}

#menu ul li{
	list-style-type: none;
	float: left;
	width: 20%; /* 100% ÷ 5 links*/
}

#menu ul li a{
	margin-top: 0%;
	padding-top: 2.0%;
	display: block;				/* force line breaks*/
	font-weight: bold;
	color: #340065;
	height: 24px;
	text-decoration: none;
	text-align: center;
}

#menu ul li a:hover{
	color: #860033;
}

#content{
	width: 96%; /* 714÷742 */
	clear: both;
	padding-top: 1.4%; /* 10÷714 */
	min-height: 100%;
	padding-bottom: 68px; /* height of the footer region */ 
}

#main{
	background-color: transparent;
	margin: 35px auto 0 auto;
	width: 575px;
}

#main li{
	list-style-position: inside;
	padding: 0 15px 3px 35px;
	font-size: 1.6em;
}

#contentbox{
	background-color: #d9d9d9;
	border: #cccccc outset 3px;
	margin: 0 auto;
	width: 100%;
}

#contentbox p{
	padding: 3px 10px 4px 20px;
	text-align: left;
	font-size: 1.8em;
	line-height: 1.3em;
}

#contentbox a:link{
	color: #990033;
	text-decoration: none;
}

#contentbox a:visited{
	color: #663399;
	text-decoration: none;
}

#contentbox a:hover{
	color: #0000CC;
	text-decoration: none;
}

/*#footer{*/
footer{
/*width: 100%; */
/*	width: 100%; *//* 714÷714 */
/*	bottom: 0;*/
	clear: both;
	width: 100%;
/*	height: 68px;*/
	height: 75px;
	position: absolute;
	bottom: 0;

}

#bottom{
	clear: both;
	width: 100%; /* 714÷714 */
	height: 20px;
	color: #888888;
	padding-top: 2.1%; /* 15÷714 */
}

#bottom p{
	text-align: center;
	font-weight: bold;
	font-size: 1.5em;
}

#bottom a{
	color: #888888;
	width: 66px;
	text-decoration: none;
}

#bottom a:hover{
	color: #FFFFFF;
}

#tagline{
	float: left;
	bottom: 2%;
	width: 100%; /* 714÷714 */
	border-top: 2px #000000 solid;
	background: url(Images/clearcurcon.jpg) no-repeat top center;
}

#tagline li{
	padding: 16px 0 0 0;
	width: 48%; /* 345÷714 */
	float: left;
	color: #888888;
	list-style-type: none;
	font-size: 1.4em;
}

#tagline li.l{
	text-align: left;
	padding-left: 1.4%; /* 10÷714 */
}

#tagline li.r{
	text-align: right;
	padding-right: 1.4%; /* 10÷714 */
}

#tagline a{
	color: #466190;
	text-align: right;
}

h1{
	font-size: 2.25em;
	font-weight: bold;
	text-align: center;
	color: #000000;
	padding-top: 5px;
	padding-bottom: 5px;
}

h2{
	font-size: 2.00em;
	font-weight: bold;
	margin-top: 0.5em;
	color: #CCCCCC;
}

h3{
	font-size: 1.75em;
	font-weight: bold;
	margin-top: 0.5em;
	color: #000000;
	text-indent: 5px;
}

.clearfix{
	clear: both;
}

.sites{
	margin: 0 auto;
	padding: 0 15px 10px 0px;
	width: 450px;
	list-style-type: none;
}
 .sites li, .sites li a, .sites li a img{
 	margin: 0;
	padding-top: 10px;
	padding-bottom: 5px;
}

.sites li a img{
	margin: 0 auto;
}

/* Media Queries */
@media screen and (min-width: 300px) and (max-width: 400px) {
	#logo {
		font-size: 1.5em;
	}
}
@media screen and (min-width: 300px) and (max-width: 600px) {
	#wrapper {
		margin: 0px;
		width: 100%;
	}
	#content li {
		margin-top: 3px;
		font: 1.25em 'BebasNeueRegular';
	}
	#menu ul li {
		margin: 0px;
		font-size: 0.9em;
		line-height: 0.8em;
	}
	#menu ul li a {
		margin: 0px;
	}
	#manu ul li a:hover {
		margin-left: 5%;
		background-color: #d6d5d5;
		padding-left: 2%;
	}
	#content h1 {
		font-size: 3em;
		text-shadow: 0 1px white, 2px 2px 0 #DAD7D7;
	}
	#content h2 {
		font-size: 1.2em;
	}
	#content p {
		font-size: 1.1em;
		line-height: 1.3em;
	}
	#content a.button {
		font-size: 1.2em;
		width: 94%;
		margin-top: 2%;
		text-align: center;
	}
}

@media screen and (min-width: 475px) and (max-width: 600px) {
	#content h1 {
		font-size: 5em;
		text-shadow: 0 1px white, 2px 2px 0 #DAD7D7;
	}
	#content h1 em {
		font-size: 0.4em;
	}
	#content h2 {
		font-size: 2.5em;
	}
	#content p {
		font-size: 1.25em;
		line-height: 1.3em;
	}
	#content a.button {
		font-size: 1.8em;
		width: 94%;
		margin-top: 2%;
		text-align: center;
	}
}

@media screen and (max-width: 600px) {
	#menu {
		display: block;
		background: none;
	}
	#menu ul {
		 display: block;
	}
	#menu ul li {
		display: list-item;
		color: red;
		text-align: left;
	}
}

@media screen and (max-width: 768px) {
	#body {width: 96%; margin: 2%; padding: 0px; margin-bottom: 0px;
	}	
}

@media screen and (min-width: 1000px) {
	#content h1 {
		font-size: 8em;
	}
	#content p {
		font-size: 2.3em;
		line-height: 1.2em;
		margin-top: 1%;
	}
}