/*
Theme Name: Tassells Solicitors
Version: 1.0
Author: (c) ADM Computing, Jakub Gadkowski
*/

@import "reset.css"; /* reset all defaults to 0 */


/* General declarations */
html {
	height:100%;
	width:100%;
} 

body {
	font-size: 62.5%; /* Resets 1em = 10px */
	background-image:url(images/body-bkg2.png);
	background-repeat: no-repeat;
	background-position:top center;
	height:100%;
	width:100%;
	background-color: #D0D1CA;
	}

a img {
	border: none;
	}

h3, h2{
	line-height:normal;
	}

h1 {
	font-size:3em;
	line-height:normal;
}

h2 {
	font-size:2em;
}

h3{
	font-size:1.2em;
}

ul, ol {
	
	line-height:1.2em;
}

p {
	font-family: Verdana, Geneva, sans-serif;
	
	font-weight:normal;
	line-height:1.4em;
	padding-bottom:15px;

}

p img {
	padding: 0;
	max-width: 100%;
	}

a {	
	font-family: Verdana, Geneva, sans-serif;
	color:#41413f;
}



/* end of general declarations */


/* page containers */


#container {
	width:760px;
	height:auto;
	margin:0 auto;
	background-color:transparent;
	background-image:url(images/container-bkg.gif);
	background-repeat:repeat-y;
}

/* end of page container  */


/* HEADER   */
#logo{
	height:133px;
	width:760px;
	background-image:url(images/header-bg.jpg);
	background-repeat:repeat-x;
	text-align:center;
}

#logo a {
	float:left;
	text-decoration:none;
	color:#000;
	font-size:12px;
	margin: 15px 0 0 15px;
	width:auto;
	height:auto;
}

#logo p{
	margin:0;
	padding:0;
	}

#h_info {
	float:right;
	text-align:right;
	margin:15px 15px 0 0;
}

#h_info h1, #h_info p {
	font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
}

#h_info h1 {
	font-size:16px;
}

#h_info p {
	font-size:10px;
}

#font_resizer {
	float:right;
	color:#FFF;
	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
	margin-top: 3px;
	margin-right:10px;
	font-size:12px;
}

#font_resizer a{
	color:#FFF;
	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
#font_resizer  {
}

#font_resizer #default {
	font-size:10px;
}
#font_resizer #larger{
	font-size:14px;
}
#font_resizer #largest{
	font-size:18px;
}

/* top menu and roll-overeffect on buttons */

#menu {
	width:760px;
	height:32px;
	background-image:url(images/menu.gif);
	background-repeat:no-repeat;
	fontsize:12px;
	line-height:31px;
}


#menu ul#first_level_menu,
#menu ul#first_level_menu li,
#menu ul#first_level_menu ul {
 list-style: none;
 margin: 0;
 padding: 0;
}

#menu ul#first_level_menu {
 position: relative;
 /*display: table;
 margin:0 auto; */
 margin-left:15px;    /* IE7 hack to 'center' menu */
 z-index: 597;
 
}

#menu ul#first_level_menu li {
 float: left;
 padding:0 5px 0 5px;
 line-height: 31px;
 vertical-align: middle;
 zoom: 1;
 border-left:1px solid #f1f1f1;
}

#menu ul#first_level_menu>li:first-child {
	border-left:none;
}

#menu ul#first_level_menu li:hover {
 position: relative;
 z-index: 599;
 cursor: default;
}

#menu li a{
	color:#f1f1f1;
	font-size:12px;
	text-decoration:none;
	text-shadow: 1px 1px #333;
}
#menu ul#first_level_menu>li>a{
	font-weight:bold;
}

#menu ul#first_level_menu>li:hover>a {
	border-bottom:3px solid #f1f1f1;
}

#menu li.current_page_item, #menu li.current_page_parent {
	background-image:url(images/menubar-dark.gif);
	
}

#menu ul#first_level_menu ul {
 visibility: hidden;
 position: absolute;
 width:200px;
 top: 100%;
 left: -1px;
 z-index: 598;
}


		/*** second level menu *****/
		
		#menu ul#first_level_menu ul li {
		 float: none;
		 background-color:#878c7b;
		 border-bottom:1px dashed #f1f1f1;
		}
		
		#menu ul#first_level_menu ul li:hover {
			background-color:#b3b8a8;
		}
		
		#menu ul#first_level_menu ul ul {
		 top: 1px;
		 left: 99%;
		}
		
		#menu ul#first_level_menu li:hover > ul {
		 border-top:1px dashed #e0e0e0;
		 visibility: visible;
		
		}
		/*** end of second level menu *****/

/* end of menuitem */

	/* end of top menu */

#masthead {
	width: 760px;
	height:180px;
	background-image:url(images/masthead.jpg);
	background-repeat:no-repeat;
	padding-top:20px;
}

.masthead_link {
	display: block;
	font-size:20px;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	color:#FFF;
	text-decoration:none;
}

#masthead .left {
	float:left;
	margin-left:150px;
	clear:left;
}

#masthead .right {
	float:right;
	margin-right:150px;
	clear:right;
}

	/* picture replacements for masthead links  */
	#Employment{
		width: 198px;
		height: 32px;
		background-image:url(images/banner-text.png);
		background-position: 0 -5px;
		text-indent: -100000px;
	}
    
	#Employment:hover {
		background-image:url(images/banner-text-shadow.png);
		background-position: 0 -5px;
	}
		
	#Wills{
		width: 198px;
		height: 32px;
		background-image:url(images/banner-text.png);
		background-position: 0 165px;
		text-indent: -100000px;
	}
    
	#Wills:hover {
		background-image:url(images/banner-text-shadow.png);
		background-position: 0 165px;
	}
	
	#Family{
		width: 198px;
		height: 32px;
		background-image:url(images/banner-text.png);
		background-position: 0 -37px;
		text-indent: -100000px;
	}
       
	#Family:hover {
		background-image:url(images/banner-text-shadow.png);
		background-position: 0 -37px;
	}
	
	#Probate{
		width: 198px;
		height: 32px;
		background-image:url(images/banner-text.png);
		background-position: 0 -197px;
		text-indent: -100000px;
	}
       
	#Probate:hover {
		background-image:url(images/banner-text-shadow.png);
		background-position: 0 -197px;
	}
	
	#Conveyancing{
		width: 198px;
		height: 32px;
		background-image:url(images/banner-text.png);
		background-position: 0 -70px;
		text-indent: -100000px;
	}
       
	#Conveyancing:hover {
		background-image:url(images/banner-text-shadow.png);
		background-position: 0 -70px;
	}
	
	#Elderly{
		width: 198px;
		height: 32px;
		background-image:url(images/banner-text.png);
		background-position: 0 -230px;
		text-indent: -100000px;
	}
       
	#Elderly:hover {
		background-image:url(images/banner-text-shadow.png);
		background-position: 0 -230px;
	}
	
	#Litigation{
		width: 198px;
		height: 32px;
		background-image:url(images/banner-text.png);
		background-position: 0 -101px;
		text-indent: -100000px;
	}
       
	#Litigation:hover {
		background-image:url(images/banner-text-shadow.png);
		background-position: 0 -101px;
	}
	
	#Education{
		width: 198px;
		height: 32px;
		background-image:url(images/banner-text.png);
		background-position: 0 -261px;
		text-indent: -100000px;
	}
       
	#Education:hover {
		background-image:url(images/banner-text-shadow.png);
		background-position: 0 -261px;
	}
	
	#Business{
		width: 198px;
		height: 32px;
		background-image:url(images/banner-text.png);
		background-position: 0 -132px;
		text-indent: -100000px;
	}
       
	#Business:hover {
		background-image:url(images/banner-text-shadow.png);
		background-position: 0 -132px;
	}
	
	#Planning{
		width: 198px;
		height: 32px;
		background-image:url(images/banner-text.png);
		background-position: 0 -293px;
		text-indent: -100000px;
	}
	   
	#Planning:hover {
		background-image:url(images/banner-text-shadow.png);
		background-position: 0 -293px;
	}
	
	
	/*end of picture replacements  */

/* end of HEADER  */


		/* middle section of the page  - content*/
		
#content {
	font-size: 1em;
	width:750px;
	overflow: auto;  /* this and next line is a new method of clearing floating divs without clear:both */
	height: 100%;
	border-left:5px solid #A6A7A3;
	border-right:5px solid #A6A7A3;
	background-image: url(images/content-bg.png);
	background-repeat:repeat-y;
	}
		
	#content-header {
		width:750px;
		height:30px;
		border-top:1px solid #CCC;
		border-left:5px solid #7C7D7A;
		border-right:5px solid #7C7D7A;
		background-color:#A6A7A3;
	}
	#content-header p{
		color:#fff;
		padding:3px 0 0 10px;
		font-family:Georgia, "Times New Roman", Times, serif;
		font-size:16px;
		font-weight:600;
	}
	
	#content-text {
		width:520px;
		height:auto;
		float:left;
		min-height:250px;
		background-color:#DEDFD9;
		margin-top:20px;
		padding-bottom:80px;
	}
	
	#content-text a {	
		font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	}
	
	#content-text a:hover {	
	color:#eeeee7;
	background-color:#41413f;
}

	
	#content-text p{
		color:#000;
		padding:10px 10px 5px 10px;
		font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
		font-size:1.2em;
	}
	#content-text h1 {
		color:#000;
		padding:20px 0 25px 10px;
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size:16px;
		font-weight:600;
	}
	
	#content-text h2 {
		color:#000;
		padding:20px 0 10px 10px;
		font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
		font-size:1.4em;
		font-weight:600;
	}
	
	.wp-caption {
		float:left;
		border: 1px solid #999;
		margin:10px 0 10px 10px;
		padding: 5px 3px 5px 3px;
		text-align:center;
		background-color:#cfd0ca;
		min-height: 165px;
	}
	
	#content-text .wp-caption p{
				font-size:9px;
				padding:5px  0;
	}
	
	#content-text .wp-caption img{
		border: 1px solid #999;
		padding: 5px 3px 5px 3px;
		text-align:center;
		background-color:#cfd0ca;
	}
	
			/**** post content ***/
			.post {
				background-color:#cfd0ca;
				margin: 10px 0 10px 15px;
				padding-bottom: 20px;
				overflow:auto;
			}
			
			.post_date {
				font-style:italic;
				color:#666;
				padding-left:10px;
			}
			/***end of post content ***/
	
		/* end of content  */

	
	
	/* sidebar  */

	#sidebar {
		width: 200px;
		float:right;
		background-color:#FFF;
		font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
		overflow:visible;

	}
	
	#sidebar #home_inf_pack {
		background-image:url(images/home_information_pack.png);
		width:170px;
		height:60px;
		display:block;
		text-indent:-10000px;
		
	}
	
	#sidebar .textwidget, #tdd-recent-posts {
		margin: 10px 10px 20px 15px;
		padding: 0 0 10px 0;
		font-size:1em;
	}
	
	#sidebar .textwidget {
		border-bottom:1px solid #000;
	}
		
	.sidebardate {
		font-size:1em;
		color:#999;
	
	}
	
	.sidebar_post_title {
		font-size: 2.1em;
		line-height:normal;
		font-weight:bold;
		color: #000;
		text-decoration:none;
	}
	
	.read_more {
		font-size:10px;
	}
	
	/*end of Sidebar */
		
		/* Footer */	
		
		#footer {
		width:750px;
		height:auto;
		border-left:5px solid #646461;
		border-right:5px solid #646461;
		background-color:#858682;
		text-align:center;
		}	

		#footer p {
		color:#fff;
		padding:20px 20px 10px 10px;
		font-family: "Times New Roman", Times, serif;
		font-size:11px;
		font-style:italic;
		line-height:110%;
		}
		
		#footer h1 {
		color:#fff;
		padding:10px 20px 5px 0px;
		font-family: Georgia, "Times New Roman", Times, serif;
		font-size:16px;
		font-weight:600;
		}

		
		/* end of footer  */
		
/* general classes */


		/* horizontal menu on top and at the bottom of the page */
		.horizontal-menu {
			background-color:#FCAF17;
			width:auto;
			height:25px;
			text-align:center;
		}
		
		.horizontal-menu ul, .horizontal-menu ol{
			margin: 0;
			padding: 0;
			list-style:none;
		}
		
		.horizontal-menu ul li {
			display:inline;
			vertical-align:top;
		}
		
		.horizontal-menu ul li a {
			font-size: 1.1em;
			text-decoration:none;
			color:#000;
			padding-left:0.4em;
			border-left:1px solid #000;
		}
		
		.horizontal-menu ul li:first-child a{
			border-left:none;
		}
		
		.horizontal-menu ul li a:hover{
			text-decoration:underline;
			color:#f00;
		}
		
		.horizontal-menu .current_page_item a{
			color:#f00;
		}

		/* end of horizontal menu */
		

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
	
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}
	
.alignleft {
	float: left;
	}
/* End Images */


/* end of classes  */

/**** google map *****/

#SGM {width:100%; height:350px; margin:10px 0 10px 15px;}
#SGM .infoWindow {line-height:13px; font-size:10px;}
#SGM input {margin:4px 4px 0 0; font-size:10px;}
#SGM input.text {border:solid 1px #ccc; background-color:#fff; padding:2px;}

/***** end of google map *****/
