/*

Theme Name: Astons2014



Theme URI: http://www.ianraba.com/

Description: Astons Solicitors.

*/



/* Title */



/* Menu 


	#menu li.current_page_item {
		background: #626365;
	}

	#menu li.current_page_item a {
		background: #626365;
			}

	#menu li.current_page_item span {
		display: inline-block;
		background: #626365;
		color: #FFFFFF;
	}

		#menu li.current-menu-item {
			background: #626365;
		}


		#menu li.current-menu-item a {
			background: #626365;
				}
				
		#menu li.current-menu-item span {
			display: inline-block;
			background: #626365;
			color: #FFFFFF;
	}*/


/* Sidebar */



	#sidebar select {

		width: 100%;

		padding: 6px;

		margin: 0px;

		border: 1px solid #CCCCCC;

		background: none;

		text-transform: lowercase;

		font: normal 11px "Times New Roman", Georgia, Times, serif;

		color: #5E5E5E;		

	}



	#box2 {

		height: auto!important;

	}

	#box2 h2 a{

		color: #000;

		text-decoration: none;

	}

	#box2 li {

		border-bottom: none!important;

	}

	

	.widget, #box3 {

		margin-bottom: 35px;

	}
	
div#text-3.box-style.widget_text.widget {
	margin-top: 30px;
	padding: 40px 15px 15px 15px;
	background: url(http://www.astonssolicitors.co.uk/wp-content/themes/astons/images/testimonials-bg.png) no-repeat top;
	height: 294px;
}

div#text-3.box-style.widget_text.widget .title, div#text-3.box-style.widget_text.widget p, div#text-3.box-style.widget_text.widget strong {
	margin-bottom: 10px;
	color: #FFF;
}

div#text-3.box-style.widget_text.widget em {
	font-size: 13px;
	line-height: 17px;
}


	

	ul.style1 li {

		border-top: 1px solid #CCCCCC;

		border-bottom: none!important;

		margin-top: 10px;

		padding-top: 10px;		

		margin-bottom: 0px!important;

		padding-bottom: 0px!important;	

	}

	

	ul.style1 li:first-child{

		border-top: none!important;

		border-bottom: none!important;

		margin-top: 0px;

		padding-top: 0px;		

		margin-bottom: 0px!important;

		padding-bottom: 0px!important;	

	}	



	/* Widgets */

	

		.widget {

			line-height: 220%;

			margin-bottom: 40px;

		}

	

		.widget ul li {

			padding: 5px 0px;



		}	

		

		.widget ul li:first-child {

			border: none;

		}

		

		.widget ul li a{

						font-size: 12px ;

			text-decoration: none;

		}

			

		/* Search Widget */

		

			#search {

				width: 255px;

				margin: 0px;

				padding: 0px 0px 0px 0px;

			}



			#search form {

				margin: 0px;

				padding: 0px 0px 0px 0px;

			}



			#search fieldset {

				margin: 0;

				padding: 0;

				border: none;

			}



			#search-text {

			float:left;

				width: 150px;

				height: 25px;

				display:block;

				margin-top: 0px;

				padding: 0px 10px 0px 10px;

				border: 1px solid #CCCCCC;

				background: none;

				text-transform: lowercase;

				font: normal 12px  Arial, Helvetica, sans-serif;

				color: #5E5E5E;

			}



			#search-submit {

				width: 55px;

				height: 27px;

				margin-right:20px;

						display:block;

						float:right;

			border: none;

				background: #0e3553;

				font-family: "Times New Roman", Georgia, Times, serif;

				color: #FFFFFF;

			}		



		/* Calendar Widget */

		

			#wp-calendar {

				width: 100%;

			}



			#wp-calendar caption {

				padding: 10px 0px;

				padding-bottom: 4px;

				text-align: center;

				font-size: 14px;

				font-weight: bold;

				color: #222;

			}



			#wp-calendar thead {

				font-size: 11px;

			}



			#wp-calendar thead th {

			}



			#wp-calendar tbody {

				color: #aaa;

			}



			#wp-calendar tbody td {

				background: #f5f5f5;

				border: 1px solid #fff;

				padding: 3px 0 2px;

				text-align: center;

			}



			#wp-calendar tbody .pad {

				background: none;

			}



			#wp-calendar tfoot #next {

				text-align: right;

			}		



/* Posts */

	.box-stylep {
		margin-bottom: 50px;
		border-top: 1px solid #CCCCCC;
	}

		.box-stylep p {margin-bottom: 20px;

 color:#7A7A7A; font-size:14px; line-height:19px;

			}

		.box-stylep h1 {margin-bottom: 30px;
 color:#222; font-size:22px; line-height:28px;
			}

.box-stylep h2 {margin-bottom: 0px;
	line-height:28px;
	font-size: 22px;
	color:#76102C;
			}

		.box-style a {color:#330066;}

	.first {

		margin-bottom: 50px;

		padding-top: 0px;

		border-top: none;

	}

	.box-stylep .title {
		margin-bottom: 15px;
		font-size: 22px;
		color:#76102C;
	}

	.box-stylep .byline {
		margin: -30px 0px 0px 0px !important;
		padding: 0px 0px 20px 0px !important;
	}

	.box-stylep .title a {
		text-decoration: none;
		color: #1E2C37;
	}

	.box-stylep .title a:hover {

		text-decoration: underline;color:#330066;

	}



	.box-stylep .link1 {

		display: inline-block;

		margin: 18px 0px 0px 0px;

		padding: 0px 0px 4px 20px;

		background: url(images/homepage06.gif) no-repeat left 6px;

	}



	.box-stylep h5 {

		margin-bottom: 30px;

		letter-spacing: -1px;

		font-size: 28px !important;

	}



	.box-stylep h5 a {

		text-decoration: none;

		color: #000;

	}



	.box-stylep ul { margin: 0 0 40px 40px; color:#330066;list-style-type: none; padding:0px; }

.box-stylep li { 
	color:#7A7A7A;
	font-size:14px;  
	line-height:22px;
	list-style: disc;
	padding: 0 0 0 20px; }

	.box-stylep li a { color:#330066;text-decoration:none; }

	.box-stylep li a:hover { color:#000; text-decoration:underline;}

.box-stylep ol li { color:#7A7A7A; font-size:14px;  line-height:22px;
	list-style: decimal;
	padding: 0 0 0 20px; }

	.entry-content ul { margin: 0 0 40px 40px; color:#330066;list-style-type: none; padding:0px; }

	.entry-content li { color:#7A7A7A;/*was 939598*/
	font-size:14px;  
	line-height:22px;
	list-style: disc;
	padding: 0 0 0 20px; }

	.entry-content li a { color:#76102c;text-decoration:none; }

	.entry-content li a:hover { color:#000; text-decoration:underline;}





/* Post Thumbnails */

	

		.wp-caption {

			margin: 0;

			padding: 0;

		}

		.wp-caption img {

			margin: 0;

		}

		

		.wp-caption-text {

			margin: 2px 0 0 0;

			padding: 6px 0 6px 0px;

			line-height: normal;

			width: 100%;

			text-align:center;

			font-weight: bold;

		}

		

		.alignleft {

			float: left;

			margin-right: 20px;

		}

		

		.alignright {

			float: right;

			margin-left: 20px;

		}

		

		.aligncenter {

			margin: 0 auto;

			margin-bottom: 20px;

		}		

		.smallimg {

			width: 75px;

			height: 70px;

			overflow: hidden;

			margin-right: 0px!important;

		}



		.postimg {

			width: 112px;

			height: 104px;

			overflow: hidden;

			padding-right: 25px;

			margin: 0!important;

		}	

		

		.size-thumbnail img{

			width: 112px;

			height: 104px;

			border: none;

			float: left;

			padding-right: 25px;

		}		



	/* Gallery Posts */

	

		.gallery img {

			border: none!important;

		}



	/* Comments */

	



		h2#comments-title {

			margin: 18px 0 0px 0;

			font-family: "Times New Roman", Georgia, Times, serif;

			font-size: 20px;

			font-weight: normal;

			color: #1E2C37;

		}



		#comments-title {

			padding-bottom: 30px;

			font-size: 32px;

		}



		#comments ol, #comments ul {

			margin: 0;

			padding: 0;

			list-style: none;

		}



		#comments li {

			margin: 0 0 20px 0;

			padding: 20px 0px;

			min-height: 110px;

			border: 1px solid #CCCCCC;

			clear: both;

		}



		#comments .children li{

			border: none;

			margin: 0;

			padding: 0 0 0 0;

			width: 100%;

		}



		#comments .avatar {

			margin: 0 20px 20px 20px;

			padding: 5px;	

			width: 96px;

			height: 96px;

			float: left;

			border: none;

		}



		#comments .comment-body {

			text-align: justify;

			padding: 0px 20px 0px 20px;



		}



		#comments .comment-meta a {

			display: inline-block;

			padding: 0 20px 20px 0px;

			text-decoration: none;

			font-size: 11px;

			font-weight: normal;

			color: #333;

		}



		#comments .comment-meta a:hover {

			text-decoration: underline;

		}



		#comments .navigation {

			padding: 0 0 18px 0;

		}



		.comment-author {

			font-family: "Times New Roman", Georgia, Times, serif;

			font-size: 18px;

			font-weight: normal;

			font-style: normal;

			color: #1E2C37;

		}



		.comment-author a {

			text-decoration: none;

			color: #1E2C37;

		}







		.commentmetadata {

			margin: 0px;

			padding: 0px;

		}



		.comment-reply-link, .comment-edit-link  {

			margin-right: 20px;

			padding: 5px 15px!important;

			color: #FFF!important;

			background: #0e3553;

			float: right;

			font-size: 14px;

			font-weight: normal!important;

			text-align: center;

			text-decoration: none!important;

		}

		

		.comment-reply-link:hover, .comment-edit-link:hover  {

			text-decoration: none!important;

		}			

		

		/* Comment Form */

		

			h3#reply-title {

				margin: 18px 0 0px 0;

				font-family: "Times New Roman", Georgia, Times, serif;

				font-size: 20px;

				font-weight: normal;

				color: #1E2C37;

			}



			.form-allowed-tags {

				line-height: 1em;

			}



			.children #respond {

				margin: 0 48px 0 0;

			}



			#comments-list #respond {

				margin: 0 0 18px 0;

			}



			#comments-list ul #respond {

				margin: 0;

			}



			#cancel-comment-reply-link {

				font-size: 12px;

				font-weight: normal;

				line-height: 18px;

			}



			#respond {

				margin: 0;

				padding: 20px 20px;

				overflow: hidden;

				position: relative;

				border: 1px solid #CCCCCC;

			}



			#respond p {

				margin: 0;

			}



			#respond .comment-notes {

				margin-bottom: 1em;

				font-size: 11px;

				font-style: italic;

			}



			#respond .required {

				color: #ff4b33;

				font-weight: bold;

			}



			#respond label {

				font-size: 12px;

			}



			#respond input {

				margin: 0 0 9px;

				width: 98%;

				padding: 3px;

				border: 1px solid #CCCCCC;

			}



			#respond textarea {

				width: 98%;

				padding: 3px;

				border: 1px solid #CCCCCC;

			}



			#respond .form-allowed-tags {

				color: #888;

				font-size: 12px;

				line-height: 18px;

			}



			#respond .form-allowed-tags code {

				font-size: 11px;

			}



			#respond .form-submit {

				margin: 12px 0;

			}



			#respond .form-submit input {

				display: block;

				width: 220px;

				height: 40px;

				margin: 0px;

				padding: 0px 0px 0px 0px;

				background: #0e3553;

				border: none;

				font: normal 14px "Times New Roman", Georgia, Times, serif;

				color: #FFFFFF;

			}		



/* Gallerax */

	

	#galleraxOutput {

		margin: 20px auto;

		position: relative;

		width: 516px;

		border: 1px solid #cccccc;

	}

	

	#galleraxOutput img{

		width: 508px;

		padding: 4px!important;

				

	}



	#galleraxThumbnails {

		margin: 20px 0 20px 35px;

		list-style: none;

		padding: 0;

	}	



	#galleraxThumbnails li {

		float: left;

		margin:6px;

		padding:0;

	}	



	#galleraxThumbnails li img {

		cursor: pointer;

		width:110px;

		height: 80px;

		padding: 4px;

		border: 1px solid #cccccc;

	}

	

	#galleraxCaptions {

		position: absolute;

		bottom: 4px;

		left: 4px;

		margin-top: 0px;

		padding: 5px 0 5px 0;

		width: 508px;

		letter-spacing: -1px;

		font-size: 20px;

		font-weight: normal;

		color: #0e3553;

		text-align: center;	

		background: #fff;	

	}

	

	#galleraxNav {

	

	}	

	

	#galleraxNav a{



	}

	

		.galleraxNavFirst {



		}

		.galleraxNavPrevious {

			width: 37px;

			height: 49px;

			display: block;

			position: absolute;

			top: 50%;

			left: 4px;

			text-indent: -999999px;

			background: url(images/galleryleft.png) no-repeat top left;

		}

		.galleraxNavNext {

			width: 37px;

			height: 49px;

			display: block;

			position: absolute;

			top: 50%;

			right: 3px;			

			text-indent: -999999px;

			background: url(images/galleryright.png) no-repeat top left;

		}

		.galleraxNavLast {



		}

		.galleraxNavStopAdvance {

		

		}

		.galleraxNavPlayAdvance {

		

		}	

/* Contact Form */

	

	#ax-contactForm {

		margin-top: 20px;

	}

	

	.ax-label {

		font-size: 12px;

		display: block;

		margin: 5px 0;

	}

	

	.ax-input, .ax-textarea {

		width: 98%!important;

		padding: 6px!important;

		margin: 0 0 0px 0;

		border: 1px solid #CCCCCC;

		background: none;

		font: normal 11px "Times New Roman", Georgia, Times, serif;

		color: #5E5E5E;

	}

	.ax-textarea {

		height: 150px;

		margin-bottom: 10px;

	}

		

	.ax-button{

				display: block;

				width: 220px;

				height: 40px;

				margin: 10px 0;

				padding: 0px 0px 0px 0px;

				background: #330066;

				border: none;

				font: normal 14px "Times New Roman", Georgia, Times, serif;

				color: #FFFFFF;

	}



	.error {

		color: red;

		margin: 0;

	}

				

	/* ReCaptcha Widget */



		#recaptcha_icons{

			padding: 0 8px 0 5px;

			float: left;

		}



		#recaptcha_logo {

			padding: 8px 5px 0 0;

			float: right;

		}

		#recaptcha_image_border {

				margin: 0 0 9px;

				height: 57px;

				width: 98%;

				padding: 4px;

				background: none;

				border: 1px solid #cccccc;

		}

		#recaptcha_image {

			float: left;

		}



		.recaptcha_refresh_icon {

			margin: 5px 0;

		}



		.recaptcha_only_if_image, .recaptcha_only_if_audio {

				font: normal 12px "Times New Roman", Georgia, Times, serif;

				display: block;

				margin-bottom: 5px;

		}





		.recaptcha_help_icon {

			margin: 5px 0;

		}



		.recaptcha_only_if_incorrect_sol {



		}

		.recaptcha_only_if_no_incorrect_sol {



		}



/* Navigation */



	#nav-below {

		padding: 30px 0px 40px 0;

		font-weight: bold;

	}



/* Single or Page Navigation */



	#nav-below .nav-previous a {

		display: block;

		float: left;

		height: 15px;

		padding: 0 0 0 15px;

		background: url(images/arrow-left.png) no-repeat left top;

	}



	#nav-below .nav-next a {

		display: block;

		float: right;

		height: 15px;

		padding: 0 15px 0 0;

		background: url(images/arrow-right.png) no-repeat right top;

	}



/* Homepage or Archives navigation */

	#nav-below .post-nav-prev a {

		display: block;

		float: left;

		width: 140px;



		height: 30px;

		padding: 0;

		text-indent: -99999px;

		background: url(images/prev.png) no-repeat left top;

	}



	#nav-below .post-nav-next a {

		display: block;

		float: right;

		width: 140px;

		height: 30px;

		padding: 0;

		text-indent: -99999px;

		background: url(images/next.png) no-repeat right top;

	}

	

/* Pagination */



	.pagination {

		list-style: none;

		margin: 0;

		padding: 0;

	}

	

	.pagination a:hover {

		text-decoration: underline;

	}



	.pagination li {

		float: left;

		height: 15px;

		padding: 5px;

	}

	

	.pagination .paged {

		background: #cccccc;

		height: 15px;

		display: block;

		margin: 0;

		padding: 4px;

		line-height: normal;

		text-decoration: none;

	}

	

	.pagination .active {

		height: 15px;

		display: block;

		margin: 0;

		padding: 4px;

		background: #0e3553;

		color: #FFF;

		line-height: normal;

	}

	

	.pagination .first {

		display: block;

		height: 20px;

		width: 20px;

		padding: 0;

		background: url(images/first.png) no-repeat left center;

		border: none;

		text-indent: -9999px;

	}



	.pagination .prev {

		display: block;

		height: 20px;

		width: 10px;

		padding: 0;

		background: url(images/arrow-left.png) no-repeat left center;

		border: none;

		text-indent: -9999px;

	}

	.pagination .next {

		display: block;

		height: 20px;

		width: 10px;

		padding: 0;

		background: url(images/arrow-right.png) no-repeat left center;

		border: none;

		text-indent: -9999px;

	}



	.pagination .last {

		display: block;

		height: 20px;

		width: 20px;

		padding: 0;

		background: url(images/last.png) no-repeat left center;

		border: none;

		text-indent: -9999px;

	}

.inlinimg { display : inline; }

.floatright { float:right}




#sub-page-menu {
		line-height: normal;
		background: #DEDFE0;
		padding: 10px;
}

#sub-page-menu a{
font-size: 18px;
color: #929298;
font-size: 14px;
}

#sub-page-menu h2{
font-size: 18px;
color: #1e2c37;
margin-bottom: 5px;
display: none;
}

#sub-page-menu ul{
padding-left:0px;
font-size: 14px;
color: #929298;
}

#sub-page-menu ul a{
	display: block;
font-size: 14px;
color: #929298;
border-bottom: solid 1px #FFF;
height: 25px;
}

#sub-page-menu ul a:hover{
font-size: 14px;
text-decoration: underline;
color: #76102C;
}


#recent-posts-2 ul li {
line-height: 14px;
padding-left:0px;
}



#recent-posts-2 ul li a{

font-size: 14px;

color: #770f30;

			text-decoration: underline;

}



#recent-posts-2 ul li a:hover {

color: #000000;

			text-decoration: none;

		}





.alignrightmag {width:300px; text-align:center; float:right;}

ul.children li {

padding-left:0px;

}



.trio {width:1000px;}

.employee {width:300px;height:120px;float:left;margin:0 0 12px 39px;text-align:center;}

.employee h2 {margin:0;padding:10px 20px; font-size:16px;line-height:16px;font-weight:bold;}

.employee p {padding:0px 20px;margin:0;font-size:12px;line-height:16px;}

.employee a {width:300px;height:120px;display:block; color:#fff; text-decoration:none; background-image:url(http://astonssolicitors.co.uk/assets/trio_u.png);}

.employee a:hover {background-image:url(http://astonssolicitors.co.uk/assets/trio_d.png);}



.employer {width:300px;height:120px;float:left;margin:0 0 12px 11px;text-align:center;}

.employer h2 {margin:0;padding:10px 20px; font-size:16px;line-height:16px;font-weight:bold;}

.employer p {padding:0px 20px;margin:0;font-size:12px;line-height:16px;}

.employer a {width:300px;height:120px;display:block; color:#fff; text-decoration:none; background-image:url(http://astonssolicitors.co.uk/assets/trio_u.png);}

.employer a:hover {background-image:url(http://astonssolicitors.co.uk/assets/trio_d.png);}





.compromise {width:300px;height:120px;float:left;margin:0 39px 12px 11px;text-align:center;}

.compromise h2 {margin:0;padding:10px 20px; font-size:16px;line-height:16px;font-weight:bold;}

.compromise p {padding:0px 20px;margin:0;font-size:12px;line-height:16px;}

.compromise a {width:300px;height:120px;display:block; color:#fff; text-decoration:none; background-image:url(http://astonssolicitors.co.uk/assets/trio_u.png);}

.compromise a:hover {background-image:url(http://astonssolicitors.co.uk/assets/trio_d.png);}



#top1 { margin:0px 0px 0 0; float:right; width:60%;/*was width:336px;*/ text-align: right;}

#top2 { margin:0px 0px 0 0; text-align: right; font-size:35px;font-family: "Times New Roman", Times, serif; color:#591754;/*color:#850631;*/ float:right; font-weight: normal;
text-transform: none;}

#top3 { margin:93px 10px 0 0; float:right;}

#top4 { margin:20px 0px 0 0; text-align:right; font-size:22px;font-family: "Times New Roman", Times, serif; color:#7A7A7A; font-weight: normal;
text-transform: none;}

#top5 { background: url(http://astonssolicitors.co.uk/wp-content/uploads/2011/11/astons_logo11.png) no-repeat top center; width:362px; height: 141px;}

.top5 { background: url(http://astonssolicitors.co.uk/wp-content/uploads/2011/11/astons_logo11.png) no-repeat top center; width:362px; height: 141; float:left;}

.clearboth { clear:both;}