/*
Theme Name: ashton
Author: Red Graphic
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);position:absolute !important}


html, body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family:'Oswald', Arial, sans-serif;
}

p {
	font-family:'Open Sans';
	line-height:20px;
}

.wrapper {
	width:980px;
	margin:0 auto;
	position: relative;
}

#container {
	background:#ffffff;
}

#header {
	position: relative;
	z-index:9999;
}

#top_header {
	background:#f1f1f1;
	width:100%;
	height:36px;
}

#top_header ul {
	float: right;

}


#top_header ul li {
	color:#6e6e6e;
	display: inline-block;
	font-size:14px;
	margin-left:20px;
	padding:10px 0 10px 20px;
	border-left:1px solid #c3c3c3;
}

#top_header ul li:first-child {
	border-left:none;
}

#top_header ul li img {
	margin-right:10px;
	height:14px;
}

#top_header ul li a {
	color: inherit;
	text-decoration: none;
}

#bottom_header {
	background:#ffffff;
	height:92px;
	width:100%;
	-webkit-box-shadow: 0px 9px 22px -10px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 9px 22px -10px rgba(0,0,0,0.75);
	box-shadow: 0px 9px 22px -10px rgba(0,0,0,0.75);
}

#header.fixed #bottom_header {
	position: fixed;
	top:0;
	z-index: 999999;
}

#header.fixed #top_header {
	padding-bottom:92px;
}

#bottom_header .logo {
	width: 156px;
	margin-top:16px;
	float: left;
}

#bottom_header .logo img {
	width: 100%;
}

#bottom_header #menu {
	float: right;
	margin-top:40px;
}

#bottom_header #menu ul li {
	display: inline-block;
	margin-left:22px;
	font-size:14px;
}

#bottom_header #menu ul li a {
	color: #000000;
	text-decoration: none;
}

#bottom_header #menu ul li a:hover {
	color:#a81111;
}
#bottom_header #menu ul li.current-menu-item a {
	color:#a81111;
}


.page_content {
	width:100%;
	background:#ffffff;
	float: left;
}


#banner {
	height:620px;
	width:100%;
	overflow: hidden;
}

.cycle-slideshow {
	width:100%;
	height:100%;
}

#banner .slide {
	width:120%;
	height:100%;
	background-size:cover;
	background-repeat:no-repeat;
	background-position: right center;
	transform:translateX(-10%);
}

#banner .slide.cycle-slide-active {
	animation:movepic 4.5s linear;
	transform:translateX(-10%);

}

@keyframes movepic {
	0% {
	transform:translateX(0);
	}

	100% {
	transform:translateX(-10%);
	}
}


.banner_text {
	z-index:200;
	position: absolute;
	top:100px;
	left:0;
}

.banner_text h1 {
	font-size:36px;
	color:#ffffff;
	width:400px;
	padding:28px;
	background:rgba(0,0,0,0.85);
	border-bottom:2px solid #a81111;
}

.banner_text h1 span {
	display: block;
	color:#a81111;
	padding-top:8px;
}

.banner_text p {
	color:#ffffff;
	width:400px;
	padding:28px 28px 60px 28px;
	font-weight:lighter;
	font-size:28px;
	line-height: 50px;
	background:rgba(0,0,0,0.6);
	font-family:'Oswald', Arial, sans-serif;
}

.banner_text a {
	float: right;
	background:#a81111;
	padding:20px 20px;
	width:200px;
	font-size:20px;
	margin-top:-30px;
	color:#ffffff;
	text-decoration: none;
}

.banner_text a img {
	float: right;
	width:8px;
	padding-top:3px;
	opacity: 0;
	transform:translateX(-20px);
	transition:all ease 0.3s;
}

.banner_text a:hover img {
	transform:translateX(0px);
	opacity: 1;
}


.content_section {
	padding:86px 0;
	float: left;
	width:100%;
}

h2 {
	font-size:26px;
	color:#a81111;
	padding-bottom:30px;
}

h2 img {
	height:38px;
	margin-right:20px;
	margin-bottom:-8px;
}

.left_content {
	width:50%;
	float: left;
}

.right_content {
	width:40%;
	float: right;
	text-align: right;
}

.houses {
	width: 100%;
	padding-top:50px;
}

.content_section p {
	font-size:14px;
}

.left_content a {
	color:#a81111;
	text-decoration: none;
	margin-top:30px;
	display: block;
}


.latest_work_featured {
	height:auto;
	background-size:cover;
	background-attachment: fixed;
	background-position: center;
}

.latest_work_featured h2 {
	color:#ffffff;
}

.project_image_container {
	width:360px;
	height:300px;
	border:8px solid #ffffff;
	float: left;
	box-sizing:border-box;
	overflow: hidden;
	position: relative;
}

.latest_slide img {
	width: 100%;
	height:100%;
    object-fit: cover;
}

.latest_slide {
	width:100%;
	height:100%;
	position: relative;
	text-align: center;
}

.latest_slide p {
	width:100%;
	position: absolute;
	bottom:10px;
	color:#ffffff;
	text-align: center;
}

.project_image_container span {
	z-index:9999;
	position: absolute;
	bottom:10px;
	left:10px;
	cursor:pointer;
}

.project_image_container span.cycle-next {
	right:10px;
	left:auto;
}


.project_text {
	float: right;
	width:620px;
}

.project_text h3 {
	background:#ffffff;
	padding:20px 20px;
	font-size:26px;
	width:auto;
	float: left;
	color:#000000;
}

.project_text p {
	color:#ffffff;
	padding-left:20px;
	padding-top:20px;
	font-weight:lighter;
	clear:both;
}

.testimonial_section {
	width: 45%;
	float: left;
}

.single_testimonial {
	margin:20px 0 45px 0;
	padding-left:20px;
	border-left:2px solid #a81111;
}

.single_testimonial p {
	font-size:14px;
	font-family:'Open Sans';
}

.single_testimonial h5 {
	padding-top:20px;
	color:#a81111;
}

.single_testimonial h5 span {
	color:#000000;
}

.get_in_touch {
	width:45%;
	float: right;
}

.contact_form_page {
	width:90%;
	float: left;
	border-top:1px solid #a81111;
	padding-top:30px;
	margin-top:10px;
}

.get_in_touch .cell {
	width:45%;
	float: left;
	margin:10px 0;
}

.get_in_touch .cell:nth-of-type(odd) {
	float: right;
}

.get_in_touch .cell input {
	width:100%;
	border:none;
	background:#f1f1f1;
	padding:10px;
	margin-top:5px;
	box-sizing:border-box;
}

.get_in_touch .cell textarea {
	width:100%;
	border:none;
	background:#f1f1f1;
	padding:10px;
	margin-top:5px;
	box-sizing:border-box;
	resize:none;
}

.get_in_touch .cell input:focus {
	outline:none;
}

.get_in_touch .cell textarea:focus {
	outline:none;
}

.get_in_touch .cell.textarea {
	width:100%;
	float: left;
}

.get_in_touch .wpcf7-submit {
	-webkit-appearance:none;
	border:none;
	background:#a81111;
	color:#ffffff;
	font-size:18px;
	font-family:'Oswald', sans-serif;
	padding:12px 30px;
	cursor: pointer;

}

.get_in_touch p {
	clear:both;
}


.inside_container {
	height:auto;
	float: left;
	width:100%;
	box-sizing:border-box;
	min-height: 400px;
}

.page_header {
	width:100%;
	clear:both;
	background:#a81111;
	-webkit-box-shadow: inset 0px -9px 22px -10px rgba(0,0,0,0.4);
	-moz-box-shadow: inset 0px -9px 22px -10px rgba(0,0,0,0.4);
	box-shadow: inset 0px -9px 22px -10px rgba(0,0,0,0.4);
}

.left_image {
	width:100%;
	height:450px;
	overflow: hidden;
	float: left;
	text-align: center;
	background-size:cover;
	background-position: center center;

}

.contact_page .left_image {
	width:50%;
	height:auto;
}

.contact_page .inside_container {
	width:50%;
	height:auto;
}

.contact_page .inside_content {
	padding:40px;
	box-sizing:border-box;

}



.entry-title {
	font-size:22px;
	padding:35px 0;
	color:#ffffff;
}

.inside_content {
	padding:40px 0;
	float: left;
	width:100%;
}

.inside_content h2 {
	font-size: 20px;
}

.inside_content p {
	line-height: 20px;
	font-size: 15px;
	padding-bottom:10px;
}

.page-id-13 .inside_content p{
padding-bottom: 20px;
}

.inside_content ul li {
	position: relative;
	padding-bottom:30px;
	font-family: 'Open Sans';
	text-indent: 40px;
	width:50%;
	float: left;
}



.page-id-13 .inside_content ul li {
	width:50%;
	float: left;
}

.page-id-11 .inside_content .list_container {
	width:50%;
	float: left;
}

.page-id-11 .inside_content ul li {
	width:100%;
}

.inside_content ul li:before {
	content: '';
	position: absolute;
	height:25px;
	border-radius:30px;
	box-shadow: 1px 1px 4px 0px #000000;
	width:25px;
	left:0px;
	top:-5px;
	background:#a81111;
    background-image:url(https://ashtonrenovations.co.uk/wp-content/themes/ashton/images/white_tick.png);
    background-repeat: no-repeat;
    background-position: center center;
}

.contact_page ul li:before {
	display: none;
}

.contact_page ul li {
	text-indent: 0;
	width:100%;
}

.contact_page ul li a {
	color:inherit;
	text-decoration: none;
}

.contact_page ul li span {
	border-radius:20px;
	width:20px;
	height:20px;
	display: inline-block;
	box-shadow: 1px 1px 4px 0px #000000;
	background:#a81111;
	margin-right:20px;
	margin-bottom:-8px;
	background-repeat: no-repeat;
	background-position: center center;
	padding:5px;
}


#footer {
	width:100%;
	background:#f1f1f1;
}

.footer_big_image {
	position: absolute;
	bottom:0;
	left:20%;
	z-index: 200;
	opacity: 0.6;
}

#top_footer {
	padding:80px 0;
	position: relative;
	overflow: hidden;
	background:#f1f1f1;
	-webkit-box-shadow: inset 0px 9px 22px -10px rgba(0,0,0,0.4);
	-moz-box-shadow: inset 0px 9px 22px -10px rgba(0,0,0,0.4);
	box-shadow: inset 0px 9px 22px -10px rgba(0,0,0,0.4);
}

.footer_col {
	width:26%;
	height:auto;
	float: left;
	vertical-align: top;
	margin-right:11%;
	z-index: 500;
	position: relative;
}

.footer_col.right_col {
	margin-right:0;
}

.footer_col_text {
	margin-top:30px;
}

.footer_col ul.menu li {
	font-size:14px;
	width:50%;
	float: left;
	padding-bottom:20px;
	color:#6e6e6e;
	list-style-image: none;
}

.footer_col ul li {
	font-size:14px;
	padding-bottom:20px;
	color:#6e6e6e;
}

.footer_col p {
	font-size:14px;
	color:#6e6e6e;
	font-family:'Oswald', sans-serif, Arial;
}

ul.tick_list {
    counter-reset: none;
    display: table;
    border-collapse: collapse;
}

ul.tick_list > li {
    counter-increment: none;
    display: table-row;
    border-bottom:20px solid transparent;
}

ul.tick_list > li::before {
    content: '';
    width:30px;
    height:12px;
    background-image:url(https://ashtonrenovations.co.uk/wp-content/themes/ashton/images/tick.png);
    background-repeat:no-repeat;
    display: table-cell; /* aha! */
    text-align: right;
}


.footer_col ul li a {
	color:#6e6e6e;
	text-decoration: none;
}

.footer_col ul li a:hover {
	color:#a81111;
}


h3 {
	font-size:20px;
	color:#a81111;
	padding-bottom:30px;
}

#footer h3 {
	width:100%;
	border-bottom:1px solid #cccccc;
}


#bottom_footer {
	background:#a81111;
	padding:30px 0;
	float: left;
	width:100%;
}

#bottom_footer p {
	font-size:12px;
	float: left;
	color:#ffffff;
	font-family: 'Oswald', sans-serif;
}

#bottom_footer a {
	float: right;
	color:#ffffff;
	text-decoration: none;
	font-size:12px;
	line-height: 20px;
}

.inside_content.work_portfolio {
	padding:40px 0 0 0;
	width:100%;
}

.portfolio_container {
	margin-top:30px;
}

.project {
	width:25%;
	background-size:cover;
	background-position: center center;
	height:300px;
	float: left;
	cursor: pointer;
}

.project .overlay {
	width:100%;
	height:100%;
	text-align: center;
	background:rgba(0,0,0,0.4);
}

.project .overlay h5 {
	color:#ffffff;
	padding-top:40%;
}

.project:hover .overlay {
	background:rgba(0,0,0,0);
}

.portfolio_content_container {
	clear:both;
	float: left;
	width:100%;
}

.project_content {
	width:100%;
	clear:both;
	padding:50px 0 100px 0;
	display: none;
	float: left;
}

.project_content h2 {
	font-size:26px;
	border-bottom:1px solid #a81111;
	padding-bottom:10px;
	margin-bottom:20px;
}

.project_content h2 span {
	float: right;
	font-size:18px;
	color:#6e6e6e;
	cursor: pointer;
}

.project_images_col {
	width:30%;
	float: left;
	margin-right:5%;
	margin-top:50px;
}


.project_images_col h3 {
	padding-bottom:10px;
	color:#6e6e6e;
}

.project_images_col:nth-of-type(3) {
	margin-right:0;
}


.project_images_col img {
	width:100%;
}

.client {
	width:200px;
	height:160px;
	margin-right:57px;
	float: left;
	margin-bottom:57px;
	border:1px solid #cccccc;
	text-align: center;
}

.client p {
	text-align: left;
	padding-top:5px;
	font-family: 'Oswald', sans-serif;
}

.client:nth-of-type(4n) {
	margin-right:0;
}

.clients_container {
	min-height: 500px;
}



.image-gallery {
	margin:20px 0 0 0;
	width:100%;
	display:flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}
a.gallerylink {display:block; width:30%; overflow:hidden;}
.image-gallery img {display:block; width:100%; border:none; margin:0 0 20px 0;}

.flex-contain {
	display: flex;
	margin-bottom: 15px;
}

.input-left-margin {
	margin-left: 20px;
}
.input-right-margin {
	margin-right: 20px;
}

#contactus label {
	font-family: Open Sans;
	font-size: 14px;
}
#contactus input {
	background-color: rgb(241, 241, 241);
	border: none;
	height: 35px;
	width: 100%;
	margin-top: 10px;
	padding: 5px;
}
#contactus textarea {
	background-color: rgb(241, 241, 241)!important;
	border: none;
	height: 150px;
	width: 100%;
	margin-top: 10px;
	font-family: Open Sans;
	padding: 5px;
}

.flex-contain div {
	width: 50%;
}

#contactus button {
    border: none;
    background: #a81111;
    color: #ffffff;
    font-size: 18px;
    font-family: 'Oswald', sans-serif;
    padding: 12px 30px;
    cursor: pointer;
}

.contact-footer {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}


.alert-danger {
	margin-bottom: 25px;
	background-color: #e94343;
	padding: 20px;
	color: white;
}
.alert-success {
	margin-bottom: 25px;
	background-color: #4ba548;
	padding: 20px;
	color: white;
}

@media screen and (max-width:700px) {

	.latest_work_featured {
		background-attachment: scroll;
	}
}

@media(max-width:500px) {
	.cf-turnstile iframe {
		width: 100% !important;
	}
	.cf-turnstile {
		width: 100%;
		margin-left: 20px;
	}
}
