/*
Theme Name: Somerton Computing
Author: Somerton Computing
Author URI: http://www.somertoncomputing.co.uk
Description: The custom template used for the Somerton Computing website.
Version: 1.0

*/


@charset "utf-8";

/* IMPORTS */
@import url("css/normalize.css");
@import url("css/clearfix.css");


/* FONTS */
@font-face {
    font-family: 'MicrogramMed';
    src: url('css/fonts/m025094d_0-webfont.eot');
    font-weight: normal;
    font-style: normal;
}
@font-face { /* for non-IE */
	font-family: 'MicrogramMed';
	src: url(http://:/) format("No-IE-404"),url('css/fonts/m025094d_0-webfont.ttf') format("truetype");
}
@font-face {
    font-family: 'MicrogramBol';
    src: url('css/fonts/m025096d_0-webfont.eot');
    font-weight: normal;
    font-style: normal;
}
@font-face { /* for non-IE */
	font-family: 'MicrogramBol';
	src: url(http://:/) format("No-IE-404"),url('css/fonts/m025096d_0-webfont.ttf') format("truetype");
}
h1 {
	font-family: 'MicrogramBol', Arial;
	font-size: 30px;	
	font-weight: lighter;
	letter-spacing: 0.03em;
	
}
h2 {
	font-family: 'MicrogramBol', Arial;
	font-size: 22px;
	color: #fff;
	font-weight: lighter;
	letter-spacing: 0.04em;
}
h3 {
	font-family: 'MicrogramBol', Arial;
	font-size: 24px;
	color: #f8c200;
	font-weight: lighter;
	letter-spacing: 0.03em;
}
p {
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
}
a {
	text-decoration: none;
	color: #fff;	
}
a:hover {
	color: #f8c200;	
}


/* SLIDER PAGE */
.single main h1 {
	display: inline-block;
	width: 700px;	
}
.portfoliolink  {
	float: right;	
	width: 170px;
	height: 35px;
	background: #22c4b8;
	padding: 20px 0 0 22px;
	margin-top: 10px;
}

.portfoliolink a {
	color: #fff;
}
.portfoliolink:hover {
	background: #485969;

}
.page-id-12 main img {
	padding: 0px !important;
}
.rsUni, .rsUni .rsOverflow, .rsUni .rsSlide, .rsUni .rsVideoFrameHolder, .rsUni .rsThumbs {
	background-color: #f8c200 !important;
}
.rsUni .rsThumb.rsNavSelected .thumbIco {
	border: none !important;	
}
.rsUni .rsThumb.rsNavSelected {
	background: none !important;	
}


/* SINGLE POST */
.single-post .main-content {
		
}


/* STRUCTURE */
html, body {
    height: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}
body {
	background-color: #fff;
}


/* HEADER */
.header-container {
	max-width: 100%;
	background: #485969;	
}
#page-header {
	margin: 0 auto;
	max-width: 1140px;
	height: 145px;
	background: #485969;
}
#page-header img {
	padding: 40px 20px 0 20px;
	float: left;
}
.telephone {
	float: right;
	padding: 20px 20px 0 0;
}
.telephone p {
	font-family: 'MicrogramBol', Arial !important;
	font-size: 34px !important;
	color: #fff;
	padding-right: 10px;
}


/* NAVIGATION */
.nav-container {
	max-width: 100%;
	background: #fff !important;
	margin: 0;
}
#nav1 {
	width: calc(100% - 20px);
	max-width: 1140px;
	margin: 0 auto;	
	padding: 0 10px;
	background-color: #fff;
}
#nav1 ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
	list-style-type: none;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
    text-align: right;
    display: -webkit-flex;
    display: flex;
    display: -ms-flexbox;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -ms-flex-pack: space-between;
    white-space: nowrap;
}
#nav1 ul li.last {
	padding-right: 0px !important;
}
#nav1 ul li {
	display: block;
	position: relative;
	float: left;
	width: 100%;
}
#nav1 ul li ul {
	display: none;
	max-width: 100%;
}
#nav1 ul li a {
	display: block;
	padding: 15px 0px 15px 0px;
	text-decoration: none;
	text-align: center;
    white-space: nowrap;
	color: #777;
}
#nav1 ul li a:hover {
	border-bottom: 8px solid #22c4b8;
	padding-bottom: 7px;
}
#nav1 ul li:hover ul {
	display: block; 
	position: absolute;
	width: 100%;
}
#nav1 ul li:hover li {
	float: left;
	position: relative;
	width: 100%;
}
#nav1 ul li ul li {
	border: 0px;
	background: #fff !important;
}
#nav1 ul li ul li a {
	width: 100% !important;
}


/* MAIN */
.main-container {
	width: calc(100% - 40px);
	padding: 0 20px;
	background: #f8c200;
	min-height: 490px;
}
.main-content {
	float: right;
	max-width: calc(50% - 20px);
	padding: 30px 20px 40px 10px;
}
.single .main-content {
	width: 100% !important;
	float: left !important; 
	padding: 30px 0 30px 0 !important;	
}
.main-content a {
	color: #000;
}
.main-content a:hover {
	color: #fff;
}
main img {
	float: left;
	height: auto;
	width: calc(50% - 40px);
	padding: 20px 0 20px 0;
}
main ul {
	list-style: none;
}
main ul li { 
    text-indent: -2.5em;
	line-height: 150%;
}

main ul li:before {
    content: "■ ";
    color: #f7f7f7; /* or whatever color you prefer */
	padding-right: 5px;
}
main {
	margin: 0 auto;
	max-width: 1140px;
	background-color: #f8c200;
}
/* PRE CHRISTMAS STYLES */
/*
.opening-times-container {
	width: calc(100% - 40px);
	background: #22c4b8;
	padding: 0 20px 20px;
	float: left;
}
.opening-times {
	margin: 0 auto;
	max-width: 1140px;	
}
.opening-times ul {
	list-style-type: none;
    margin: 0 0 0 0;
    float: left;
    width: calc(100% - 40px);
	padding: 0 20px;
    list-style: none;
    margin: 0px;
    list-style-type: none;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
    display: -webkit-flex;
    display: flex;
    display: -ms-flexbox;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -ms-flex-pack: space-between;
    white-space: nowrap;
}

.opening-times ul.last {
	list-style-type: none;
	padding: 0 0 0 60px;
	float: left;
}
.opening-times ul li {
	float: left;
	display: inline;
}
.opening-times h4 {
	color: #fff;	
	padding: 0;
	margin: 0;
}
*/
.opening-times-container {
	width: calc(100% - 40px);
	background: #22c4b8;
	padding: 0 20px 20px;
	float: left;
}
.opening-times {
	margin: 0 auto;
	max-width: 1140px;	
}
.opening-times ul {
	list-style-type: none;
    float: left;
    width: calc(100% - 40px);
	padding: 0 20px;
    list-style: none;
    list-style-type: none;
	display: block;
}
.opening-times ul.last {
	list-style-type: none;
	float: left;
}
.opening-times ul li {
	float: left;
	display: inline;
	width: 25%;
}
.opening-times .christmas-ot {
	margin-top: 30px;
	display: inline-block;
}
.opening-times h4 {
	color: #fff;	
	padding: 0;
	margin: 0;
}
.recent-projects-container {
	height: 320px;
	max-width: 100%;
	background: #fff;
	float: left;
	 cursor: pointer;
}
.tc-layout-1 ul {
	list-style-type: none;
	padding-left: 0px;
}
.recent-projects {
	margin: 0 auto;
	width: 1140px;	
}
.pre-footer-container {
	height: 390px;
	width: calc(100% - 40px);
	padding: 0 20px;
	background: #fff;
	float: left;
}
.pre-footer {
	margin: 0 auto;
	max-width: 1140px;
}
.pre-footer h2 {
	font-family: 'MicrogramBol', Arial;
	font-size: 180%;
	margin: 26px 0;
	color: #000;
}
.opening-times h3 {
	color: #fff;	
}
.services img {
	float: left;
	padding: 0px 10px 0 0;	
}
.services {
	float: left;
	width: calc(50% - 80px);
	padding: 30px 20px 0 0;	
}
.services:last-child {
	padding: 30px 20px;	
	float: right;
}
.services h3 {
	padding: 20px 0 0 0;
	margin: 0;
}
.services p {
	margin: 15px 0 0 0;	
	color: #000;
}
.button p {
	color: #fff;	
}
.services .button {
	width: 150px;
	height: 45px;
	background: #22c4b8;
	margin: 20px 0 0 0 !important;
}
.services .button:hover {
	background: #485969;
}
.services .button p {
	padding: 13px 10px 0 10px;
	text-align: center;
}


/* FOOTER */
.page-footer-container {
    width: calc(100% - 40px);
    padding: 0 20px;
    background: #485969;
    float: left;
    height: 350px;
}
#page-footer {
	background-color: #485969;
	margin: 0 auto;
	max-width: 1140px;
}
.footer-column {
	max-width: calc(50% - 40px);	
	float: left;
	padding: 30px 20px 0 0px;
}
.footer-column2 {
	max-width: calc(50% - 40px);	
	float: right;
	padding: 30px 20px 0 20px;
}

.footer-column h2 {
	color: #f8c200;
}
.footer-column2 h2 {
	color: #f8c200;
}
.footer-column p {
	float: left;
	width: calc(100% - 70px);
	color: #fff;
	padding: 0 0 0 10px;
}
.footer-column2 span {
	margin: 90px 0 0 0;
	display: block;
	font-size: 13px;
}
.footer-column2 p {
	float: left;
	color: #fff;
	display: block;
	width: 100%;
	font-size: 13px;
}
#address {
	display: block;
	float: left;
	height: 50px;	
	width: 50px;
	background: url('images/marker.png') no-repeat 0 0; 
}
#address:hover {

}
#telephone {
	display: block;
	float: left;
	height: 50px;	
	width: 50px;
	background: url('images/phone.png') no-repeat 0 0; 
}
#telephone:hover {
	
}
#email {
	display: block;
	float: left;
	height: 50px;	
	width: 50px;
	background: url('images/email.png') no-repeat 0 0; 
}
#email:hover {
	background-position: 0 -50px;
}
#facebook {
	display: block;
	float: left;
	height: 50px;	
	width: 50px;
	background: url('images/facebook.png') no-repeat 0 0; 
}
#facebook:hover {
	background-position: 0 -50px;
}
#google {
	display: block;
	float: left;
	height: 50px;	
	width: 50px;
	background: url('images/google.png') no-repeat 0 0; 
}
#google:hover {
	background-position: 0 -50px;
}
#twitter {
	display: block;
	float: left;
	height: 50px;	
	width: 50px;
	background: url('images/twitter.png') no-repeat 0 0; 
}
#twitter:hover {
	background-position: 0 -50px;
}

@media (max-width: 1000px) {
	.home .services.facebook {
		max-width: 520px;
		float: none;
		margin: 0 auto;	
	}
	.opening-times-container {
		height: auto;
		width: calc(100% - 40px);
		background: #22c4b8;
		padding-bottom: 30px;
		float: left;
		text-align: center;
	}
	.pre-footer {
		max-width: 100%;	
	}
	.services {
    	float: left;
    	width: calc(100% - 40px);
    	padding: 30px 20px 30px 20px;
	}
	.services p {
		height: 70px;	
	}
	.fb_iframe_widget {
		display: block;
		position: relative;
		max-width: calc(100% - 30px);
		margin: 0 auto;
	}
	.services:last-child {
		float: left;
    	width: calc(100% - 40px);
    	padding: 30px 20px 0 20px;
	}
	.services img {
		display: none;
	}
	.services .button {
		margin: 0 auto !important;	
	}
	.services .button p {
		margin: 0 auto !important;
		padding: 13px 0 0 0;
		text-align: center;	
	}
	main img {
		width: calc(50% - 20px);
		height: auto;
	}
	.telephone p {
		font-family: 'MicrogramBol', Arial !important;
		font-size: 130% !important;
		color: #fff;
		padding-top: 20px;
		padding-right: 20px;
	}
	#page-footer {
		width: auto;	
	}
	.footer-column {
		width: calc(50% - 40px);
		padding: 30px 0px;
	}
	.footer-column2 {
		width: auto;
		padding: 30px 20px;	
	}
	.pre-footer h2 {
		text-align: center;	
	}
	.services h3 {
		text-align: center;	
		padding-top: 0px;
	}
	.services p {
		text-align: center;	
	}
	.pre-footer-container {
		height: auto;
		max-width: 100%;
		background: #fff;
		float: left;
		margin-bottom: 40px;
	}
}
@media (max-width: 760px) {
	main img {
		display: none;	
	}
	.main-container {
		min-height: 400px;	
	}
	.opening-times ul {
		list-style-type: none;
		margin: 0 0 30px 0;
		text-align: center;
		float: left;
		display: inline-block;
		width: calc(100% - 40px);
	}
	.opening-times ul li {
    	float: left;
    	display: inline;
		padding: 20px;
    	width: calc(50% - 40px);
	}
	#page-header img {
    	padding: 0px 20px 0 20px;
		float: left;
		margin: 0 auto;
		width: calc(100% - 40px);
		max-width: calc(100% - 40px);
		display: block;
	}
	#page-header {
		height: auto;
		float: left;
		width: 100%;
		padding: 20px 0;	
	}
	.telephone {
		display: none;
	}
	.telephone p {
		float: none;
		text-align: center;	
	}
	.main-content {
		max-width: 100%;
		padding-bottom: 0;
		padding: 0;	
	}
	.services p {
		margin-bottom: 20px;	
	}
	.footer-column {
		width: calc(100% - 40px);
		max-width: 100%;
		padding: 0 20px;
	}
	.footer-column2 {
		display: none;	
	}
}
@media (max-width: 400px) {
	.services p {
    	margin-bottom: 60px
	}
	#address, #telephone, #email {
		display: none;	
	}
	.opening-times-container {
    	height: auto;
    	width: calc(100% - 20px);
    	background: #22c4b8;
    	padding-bottom: 30px;
    	float: left;
    	padding-left: 0;
    	text-align: center;
	}
	.footer-column p {
    	color: #fff;
		display: block;
		width: 100%;
		margin: 0;
		padding: 0px 0 10px 0px;
	}
	}
}