/*

Class 4 MOT Centre - Pages Stylesheet
Handwritten by Richard Wilmot (AztecMedia.eu)
http://www.class4motcentre.co.uk/

*/
																					/* ------------Homepage ------------ */
																	
/* ------------Features ------------ */

#features-container {
	background: #333435; /* Old browsers */
	background: -moz-linear-gradient(left,  #333435 0%, #333435 50%, #dfe0e0 51%, #dfe0e0 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left,  #333435 0%,#333435 50%,#dfe0e0 51%,#dfe0e0 100%); /* Chrome10-25,Safari5.1-6 */	
	background: linear-gradient(to right,  #333435 0%,#333435 50%,#dfe0e0 51%,#dfe0e0 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */	
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333435', endColorstr='#dfe0e0',GradientType=1 ); /* IE6-9 */
	margin-bottom:60px;
}

#features {
	width:100%;
	max-width:1170px;
	margin:auto;
}

#features ul {
	width: -moz-calc(100% - 292px);
	width: -webkit-calc(100% - 292px);
	width: -o-calc(100% - 292px);
	width: calc(100% - 292px);
	background:#333435;
	border-right: #f3f3f3 40px solid;
	padding:20px 6px 20px 20px;
	float:left
}

#features ul li {
	width:33.33%;
	float:left;
	max-width:253px;
	margin-right:20px;
	width: -moz-calc(33.33% - 20px);
	width: -webkit-calc(33.33% - 20px);
	width: -o-calc(33.33% - 20px);
	width: calc(33.33% - 20px);
}

#features ul li:nth-child(3) {
	margin-right:0;
}

#features ul li img {
	float:left;
	margin:0 0 20px 0;
	width: -moz-calc(100% - 20px);
	width: -webkit-calc(100% - 20px);
	width: -o-calc(100% - 20px);
	width: calc(100% - 20px);
	height:auto
}

#features ul li a {
	background-image:url(../images/btn-rw.png);
	float:left;
}

#features ul li a:hover {
	color:#333435
}

#features .specials {
	width:292px;
	float:right;
	text-align:center;
	position:relative;
	padding:20px
}

#features .specials a {
}

#features .specials p {
	font-size:12px;
	line-height:20px;
}

#features .specials  strong {
	color:#ee2f2c;
	font-weight:700;
	font-size:14px;
	text-transform:uppercase
}

#features .specials img {
	margin:-75px auto 20px 0 ;
	clear:both;
}

@media screen and (max-width: 1170px) {
	#features-container {
		background: none;
	}
	#features ul {
		width: 100%;
		border:none;
		float:none;
		text-align:center
	}
	#features ul li {
		display:inline-block;
		float:none
	}
	#features .specials {
		background:#dfe0e0;
		float:none;
		margin:80px auto 0 auto;
		width:50%;
	}
}

@media screen and (max-width: 680px) {
	#features ul li {
		width:50%;
		max-width:none;
		margin-bottom:20px;
	}
	#features ul li:nth-child(3) {
		margin-right:20px;
	}
	#features .specials {
		width:80%;
	}
}

@media screen and (max-width: 450px) {
	#features ul li {
		width:80%;
	}
}


																					/* ------------ MOT ------------ */

#failures-container {
	background: #dfe0e0;
	padding:20px 0;
	margin-bottom:60px;
}

#failures {
	width:100%;
	max-width:1170px;
	margin:auto;
}

#failures > div {
	padding-bottom:20px;
}

.pie {
  width: 100px; height: 100px;
  border-radius: 50%;
   background: #ee2f2c;
   position:relative;
     float:left;
	 margin:0 20px 10px 0;
	background-image: linear-gradient(to left, transparent 50%, #333435 0);
}

.pie span {
  content: '';
  display: block;
  margin-left: 50%;
  height: 100%;
  border-radius: 0 100% 100% 0 / 50%;
  background: #333435;
  transform-origin: left;
}

.pie div {
	position:absolute;
	width:100px;
	line-height:100px;
	font-weight:700;
	font-size:25px;
	color:#f3f3f3;
	top:0;
	left:0;
	text-align:center
}

#failures img {
	float:left;
	 margin:0 20px 10px 0;
}

#failures div.description h4,
#failures div.description p {
	text-align:left;
	line-height:20px
	}

#failures div.description h4 {
	color:#ee2f2c
}

@media screen and (max-width: 1170px) {
	#failures-container {
		padding:20px;
	}
}


																				/* ------------ Prices ------------ */

#price-list {
	text-align:center;
	font-size:0;
	margin-bottom:40px;
}

#price-list li {
	display:  inline-block;
	width:25%;
	font-size:16px;
	vertical-align:top;
	padding:0 20px;
	font-weight:700;
}

#price-list li .img {
	background:#ee2f2c;
	-webkit-border-radius: 200px;
	-moz-border-radius: 200px;
	border-radius: 200px;
	padding:35px;
	margin-bottom:20px;
}

#price-list li .img img {
	width:100%;
	height:auto
}

#price-list li span {
	font-size:13px;
	font-weight:300
}

.full-price-list {
	width:48%;
	margin:0 1% 40px 1%;
	text-align:left;
	float:left;
	font-size: 13px;
	line-height:18px;
}

.full-price-list th {
	padding:5px;
	background:#ee2f2c;
	color:#f3f3f3;
	width:40%
}

.full-price-list td {
	padding:5px;
	width:40%
}

.full-price-list th:nth-child(3),
.full-price-list td:nth-child(3) {
	width:20%
}

.full-price-list tr:nth-child(odd) {background: #dfe0e0}

@media screen and (max-width: 780px) {
	#price-list li {
		padding:0 10px;
	}
	#price-list li .img {
		padding:15px;
	}
	.full-price-list {
		float: none;
		width: 100%;
	}
}

@media screen and (max-width: 540px) {
	#price-list li {
		width:50%;
		margin-bottom:20px;
		padding:0 20px;
	}
}
																/* ------------ Contact	 ------------ */



.contactform {
	margin-bottom:40px;
}

.contactform div {
	text-align:center
}

.contactform legend {
	display:none
}

.contactform label {
    display: block;
	font-weight:300;
	text-transform:uppercase;
    text-align: center;
    width: 100%;
	padding:10px;
	width:50%;
	margin:auto;
	margin-bottom:1px;
	font-weight:700;
	background:#ee2f2c;
	color:#f3f3f3
}

.contactform div ul {
	width:50%;
	margin:auto;
	text-align:center;
	font-size:0;
	background:#dfe0e0;
	margin-bottom:20px;
}

.contactform div ul li {
	display: inline-block;
	width:33%;
	font-size:13px
}

.contactform div ul li label {
	width:100%;
	padding:0;
	background:none;
	margin-top:-20px;
	color:#333435
}

.contactform div ul li .cms_checkbox {
	margin:0;
	width:100%;
	background:#dfe0e0
}

.contactform div .cms_checkbox {
	background:#dfe0e0
}

.contactform input,
.contactform textarea {
	background:#dfe0e0;
	margin:auto;
	padding:5px;
	width:50%;
	border:none;
	margin-bottom:20px;
    text-align:center;
	font-size:14px;
	display:block;
	font-weight:300;
	font-family: 'Poppins', sans-serif;
	color:#333435;
}

.contactform textarea {
	height:100px;
}

.error_message li {
	text-align:center;
	color:#900
}

.required span {
	background-color:#FFC200;
	width:50%;
	color:#FFF;
	margin:-43px auto 20px;
	padding:10px;
	display:block
}

.error_message {
	display:none
}

.captcha {
	margin:auto;
	margin-bottom:10px;
	width:50%;
	background:#f4f4f4;
	padding:5px;
}

.captcha div div {
	margin:auto
}

.submit input {
	font-size:16px;
	padding:0 20px;
	height:40px;
	line-height:40px;
	text-align:center;
	display:inline-block;
	background: url(../images/btn-br.png) no-repeat top right;
	color:#f3f3f3;
	text-decoration:none;
	margin:auto;
	cursor:pointer;
	font-weight:700;
	text-transform:uppercase;
}

.submit input:hover {
	background-position: right -40px;
}
	
	
@media screen and (max-width: 730px) {	
	.contactform label,
	.contactform input,
	.contactform textarea,
	.contactform .captcha,
	.form-error {
		width:100%;
	}
}