

body { 
  font-family: 'Orienta','Open Sans', sans-serif;
  color: #666;
  font-size: 16px;
  background-color: #f4f5f7;
 
}

/* STRUCTURE */

#pagewrap {
	padding: 5px;
	width: 960px;
	margin: 20px auto;
}
header {
	text-align: center;
	background:url("images/background-gradient.jpg");
        background-repeat: no-repeat;
       /* background-size: cover;       For flexibility */
	height: 100px;
	padding: 0 15px;
}


header2 {
	text-align: center;
	height: 20px;
	padding: 0 15px;
}
/* left of page */
#content {
	width: 190px;
	float: left;
	padding: 5px 15px;
}


.btn.btn-success {
    color: #ffffff;
    background-color: #5c92b8;
    background-image: linear-gradient(to bottom, #5CB85C, #419641);
    border-color: #3E8F3E #3E8F3E #3E8F3E;
}
.btn.btn-success:hover {
    color: #ffffff;
    background-color: #419641;
    background-image: linear-gradient(to bottom, #419641, #419641);
    border-color: #3E8F3E #3E8F3E #3E8F3E;
}
/* center of page */
#middle {
	width: 494px; /* Account for margins + border values */
	float: left;
	padding: 5px 15px;
	margin: 0px 5px 5px 5px;
	text-align: left;
}
/* right of page */
#sidebar {
	width: 170px;
	padding: 5px 15px;
	float: left;
}
footer {
	clear: both;
	padding: 0 15px;
}

#navigation li {

	display: block;
	list-style: none; 
	margin-bottom: 20px;
  	text-align: left;	
	background-color: #F3F5F8;
}
/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
	
	#pagewrap {
		width: 94%;
	}
	#content {
		width: 41%;
		padding: 1% 4%;
	}
	#middle {
		width: 41%;
		padding: 1% 4%;
		margin: 0px 0px 5px 5px;
		float: right;
	}
	
	#sidebar {
		clear: both;
		padding: 1% 4%;
		width: auto;
		float: none;
	}

	header, mfooter {
		padding: 1% 4%;
	}
}

/* for 700px or less */
@media screen and (max-width: 600px) {

	#content {
		width: auto;
		float: none;
	}
	
	#middle {
		width: auto;
		float: none;
		margin-left: 0px;
	}
	
	#sidebar {
		width: auto;
		float: none;
	}

}

/* for 480px or less */
@media screen and (max-width: 480px) {

	header {
		height: auto;
	}
	h1 {
		font-size: 2em;
	}
	#sidebar {
		display: none;
	}

}


#content {
	background: #f8f8f8;
}
#sidebar, #content,  #middle {
	background: #f0efef;
}

header, #content, #middle, #sidebar {
	margin-bottom: 5px;
}

header h1 {
	font-size: 120%;
}

/* #pagewrap, header, #content, #middle, #sidebar, footer {
	border: solid 1px #ccc;
}*/
.nav>li{position:relative;display:inline-block}
.nav>li>a{position:relative;display:block;padding:10px 15px}
.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}

.list1 {
	border-bottom: 1px solid black;
	background-color: #fcfdff;
}

.list2 {
	border-bottom: 1px solid black;
	background-color: #eaebed;
}


.centeredbold {
    text-align: center;
    font-weight: bold;
}

.subimg img {
 	height: 27%;
	width: 27% ;
	
}

.oneline {
    display: inline;
    margin-bottom: 10%;
}

.info-wrap {
    /* overflow to handle inner floating block */
    overflow: hidden;
    /* margin-bottom: 2%;*/
}

.infol {
    width: 65%;
    float: left;
    vertical-align: top;
}

.infor {
    width: 34%;
    float: right;
    vertical-align: top;
}

.emaill {
    width: 25%;
    float: left;
    vertical-align: top;
}

.addr {
    width: 73%;
    float: right;
    vertical-align: top;
}

.fixed-ratio-resize { /* basic responsive img */
        float: left;
	max-width: 80%;
	height: auto;
	width: auto\9; /* IE8 */
}
.adbox {
	width: 70%;
	margin: auto;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;	
}

#middle {
	text-align: left;
}
ul.slideuptabs{
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	text-align: left; /* change to "center" or "right" to align differently */
	border-bottom: 10px solid green; /* bottom border */
	background: #ffffff;
	background: -moz-linear-gradient(top,  #ffffff 0%, #d8d8d8 100%); /* gray gradient background */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#d8d8d8));
	background: -webkit-linear-gradient(top,  #ffffff 0%,#d8d8d8 100%);
	background: -o-linear-gradient(top,  #ffffff 0%,#d8d8d8 100%);
	background: -ms-linear-gradient(top,  #ffffff 0%,#d8d8d8 100%);
	background: linear-gradient(to bottom,  #ffffff 0%,#d8d8d8 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d8d8d8',GradientType=0 );
}


ul.slideuptabs li{
 display: inline;
}

ul.slideuptabs li:first-of-type{
	margin-left: 10px;
}

ul.slideuptabs a{
	position: relative;
	display: inline-block;
	overflow: hidden;
	color: blue; /* font color */
	text-decoration: none;
	padding: 8px 20px;
	font-size: 16px; /* font size */
	font-weight: bold;
	vertical-align: bottom;
	-webkit-transition: color 0.5s; /* transition property and duration */
	-moz-transition: color 0.5s;
	transition: color 0.5s;
}

ul.slideuptabs a span{
	position: relative;
	z-index: 10;
}

ul.slideuptabs a::before{
	content: '';
	color: white;
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background: green; /* tab background */
	left: 0;
	top: 110%; /* extra 10% is to account for shadow dimension */
	box-shadow: -2px 2px 10px rgba(255,255,255,.5) inset;
	border-radius: 15px 15px 0 0 / 12px 12px; /* oval shaped border for top-left and top-right corners */
	-webkit-transition: top 0.5s; /* transition property and duration */
	-moz-transition: top 0.5s;
	transition: top 0.5s;
}

ul.slideuptabs a:hover{
	color: white; /* hover color */
}

ul.slideuptabs a:hover::before{
	top: 0; /* slide tab up */
}

/****** Responsive Code ******/

@media screen and (max-width: 640px) {
	
	ul.slideuptabs li:first-of-type{
		margin-left: 0;
	}
}
/****** Theme Blue ******/

ul.slideuptabs.blue{
	border-bottom-color: #259AD1;
}

ul.slideuptabs.blue a::before{
	background: #259AD1;
}



<!--[if lte IE 8]>


	ul.slideuptabs a:hover{
		color: black; /* hover color for IE8 where tabs don't slide up */
	}


<![endif]-->

