


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 {
	background:url("images/background-gradient.jpg");
        background-repeat: no-repeat;
       /* background-size: cover;       For flexibility */
	height: 50px;
	max-height: 60px;
	padding: 0 15px;
	
}


.header2 {
	text-align: left;
	height: 20px;
	padding: 0 15px;
	

}

/* left of page */
#leftside {
	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 */
#content {
	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;
	display:none;
}
#footer {
	clear: both;
	padding: 0 15px;
}

.navigation li {

	display: block;
	list-style: none; 
	margin-bottom: 20px;
  	text-align: left;	
	background-color: #F3F5F8;
}
.logocont {
	width:50%;

}



/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
	
	#pagewrap {
		width: 94%;
	}
	#leftside {
		width: 21%;
		padding: 1% 4%;
	}
	#content {
		width: 61%;
		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) {

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

}

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

	header {
		max-height: 40px;
	}
	h1 {
		font-size: 2em;
	}
	#sidebar {
		display: inline;
	}
	#leftside {
	display: none;
	}

}


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

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

header h1 {
	font-size: 120%;
}

/* #pagewrap, header, #leftside, #content, #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}

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

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


.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%;*/
}

.estate_agent_name_and_url {
    width: 65%;
    float: left;
    vertical-align: top;
    padding-top:10px;

}

.estate_agent_name {
    width: 65%;
    float: left;
    vertical-align: top;
    padding-top:10px;

}


.estate_agent_telephone {
    width: 34%;
    float: right;
    vertical-align: top;
    padding-top:10px;

}

.estate_agent_email {
    width: 25%;
    float: left;
    vertical-align: top;
   padding-top:10px;
 padding-bottom:10px;
  padding-left:5px;


}

.estate_agent_address {
    width: 73%;
    float: right;
    vertical-align: top;
    padding-bottom:10px;
		

}

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

/* Dropdown Button */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    height:40px;
    vertical-align:middle;
    
   
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    padding-left:10px;
    
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;

}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

}

#content {
	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{
	leftside: '';
	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]-->
