/*
Theme Name: Falcon Structural Repairs Ltd  
Theme URI: https://falconstructural.co.uk
Author: MSGD Studio Ltd
Author URI: https://msgdstudio.com
Description: Falcon Structural Repairs Ltd WordPress theme. 
Version: 1.0
License: Copyright Falcon Structural Repairs Ltd
Notes: 
	Colours: Burgundy #8f0134 / Light Grey: #e2e2e2
	Fonts: "news-gothic-std" / "futura-pt" 
*/

/*--------------------------------------- Reset */

html{color:#000;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}
	
/* --------------------------------------------------- Common */

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body { 
	font-family:"news-gothic-std",arial;
	font-size:18px;
	background:#fff;
	color:#000;
	position:relative;
	}
	
.clear { 
	clear: both; 
	}
	
h1 {
	font-family:"futura-pt",arial;
	font-size:36px;
	color:#8f0134;
	text-transform:uppercase;
	font-weight:700;
	margin-bottom: 20px;
	}
	
h2 {
	font-family:"futura-pt",arial;
	font-size:32px;
	color:#8f0134;
	margin-bottom:20px;
	}

h3 {
	font-family:"futura-pt",arial;
	font-size:24px;
	}

img{ 
	padding:0px; 
	border:0px;
	}
	
img a {
	border:0px;
	}

.alignnone {
	margin:0px 0px 20px 0px;
	}

.alignleft {
	float:left;
	margin:0px 28px 30px 0px;
	}

.alignright {
	float:right;
	margin:0px 0px 30px 0px;
	}

@media screen and (max-width : 960px){
	.alignleft {
	float:none;
	display:block;
	margin:0px auto 30px auto;
	}
	
	.alignright {
	float:none;
	display:block;
	margin:0px auto 30px auto;
	}
}

@media screen and (max-width : 450px){
	.alignleft {
	margin:0px auto 10px auto;
	}
	
	.alignright {
	margin:0px auto 10px auto;
	}
}

.wp-caption {
	max-width:100%;
	}

strong {
	font-weight:bold;
	}

em {
	font-style:italic;
	}

blockquote {
	margin:0px 0px 20px 20px;
	padding:10px 10px 1px 10px;
	background:#f6f6f6;
	border-left:4px solid #aaa;
	}

p {
	margin:0px 0px 10px 0px;
	line-height:1.5;
	}

ul {
	margin:0px 0px 20px 0px;
	padding:0px 0px 0px 20px;
	list-style-type:disc;
	}

@media screen and (max-width : 960px){
	ul {
		margin-left:10px;
		}
}
	
ul li {
	margin:0px 0px 8px 0px;
	padding:0px 0px 0px 0px;
	}

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail,
.size-blogthumbnail {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration:none;
	}

p a {
	color:#8f0134;
	text-decoration:underline;
	}

p a:hover {
	text-decoration:none;
	}

p.nocontent {
	margin:30px 0px 30px 0px;
	text-align:center;
	}

.aligncenter {
	margin:30px auto;
	text-align:center;
	font-size:0;
	display: block;
	}

p.wp-caption-text {
	background:#8f0134;
	margin:0 auto;
	padding:10px 0;
	color:#fff;
	font-size:18px;
	}

hr {
	margin: 40px auto !important;
	border-color: #8f0134;
}
	
/* --------------------------------------------------- Header */

header {
	width:100%;
	overflow:hidden;
	}
	
.logo {
	max-width:380px;
	margin:0 auto;
	padding:30px 0px;
	}	

@media screen and (max-width : 420px){
	.logo {
	padding:20px;
	}
}

/* --------------------------------------------------- Main Menu */


.navcontainer {
	width:100%;
	height:40px;
	background:#8f0134 url('images/gradient.png') top repeat-x;
	}

nav {
	max-width:1100px;
	margin:0px auto 0px auto;
	position:relative;
	z-index:999;
	}

nav ul {
	list-style-type:none;
	margin:0;
	padding:0;
	position: absolute;
}

nav li {
	display:inline-block;
	margin:0;
	padding:0;
}

nav li a {
	display:block;
	padding:0px 10px 0px 10px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	font-family:"futura-pt",arial;
	text-transform:uppercase;
	font-size:16px;
	color: #fff;
	text-decoration: none;
}

nav li:hover a {
	background:#f1f1ef url('images/gradient.png') top repeat-x;
	color:#000;
}

nav li:hover ul a {
	background: #f1f1ef;
	color: #000;
	height: 40px;
	line-height: 40px;
}

nav li:hover ul a:hover {
	background: #8f0134;
	color: #fff;
}

nav li ul {
	display: none;
	border-bottom:3px solid #8f0134;
}

nav li ul li {
	display: block;
	float: none;
	margin:0px;
	padding:0px;
}

nav li ul li a {
	width: auto;
	min-width: 100px;
	text-align:left;
}

nav ul li a:hover + .sub-menu, 
nav .sub-menu:hover {
	display: block;
}

nav .show-menu {
	text-decoration: none;
	color: #fff;
	text-align: center;
	padding: 0px 0px 0px 0px;
	display: none;
	min-height:40px;
	line-height:40px;
	font-family:"futura-pt",arial;
	text-transform:uppercase;
	font-size:16px;
}

nav .show-menu:hover {
	color:#000;
	}

nav input[type=checkbox]{
    display: none;
}

nav input[type=checkbox]:checked + #themenu{
    display: block;
}

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

		nav {
		overflow:hidden;
		}

		nav ul {
		position: static;
		display: none;
		}

		nav li {
		margin:0px 0px 0px 0px;
		padding:0px 0px 0px 0px;
		text-align:center;
		}
		
		nav li a {
		background:#8f0134!important;
		}
		
		nav li:hover a {
		color:#000;
		}

		nav ul li, 
		nav li a {
		width: 100%;
		margin:0px 0px 0px 0px;
		padding:0px 0px 0px 0px;
		}
		
		nav li ul li a {
		text-align:center;
		}
		
		nav li:hover ul a:hover {
		color: #fff;
		}

		nav .show-menu {
		display:block;
		cursor:pointer;
		}
}

/* --------------------------------------------------- Top Image */

.topimage {
	max-width:1920px;
	max-height:calc(100vh - 192px);
	max-height:-o-calc(100vh - 192px); /* opera */
	max-height:-webkit-calc(100vh - 192px); /* google, safari */
	max-height:-moz-calc(100vh - 192px); /* firefox */
	margin:0 auto;
	overflow:hidden;
	position:relative;
    z-index:1;
	
	}

.topimagecaption {
	z-index:10;
	position:absolute;
	left:50%;
	top:50%;
	-webkit-transform:translate(-50%, -50%);
	transform:translate(-50%, -50%);
	color:#fff;
	font-family:"futura-pt",arial;
	font-size:30px;
	font-weight:700;
	text-transform:uppercase;
	text-align:center;
	background-color:rgba(143, 0, 53, 0.7);
	padding:20px 10px;
	line-height: 1.2;
	}

@media screen and (max-width : 960px){
	.topimagecaption {
	font-size:24px;
	}

}

@media screen and (max-width : 620px){
	.topimagecaption {
	font-size:22px;
	}
}

@media screen and (max-width : 420px){
	.topimagecaption {
	font-size:18px;
	}
}


.readmore {
	z-index:20;
	position:absolute;
	left:0;
	bottom:30px;
	right:0;
	margin:0 auto;
	text-align:center;
	}



@media screen and (max-width : 960px){
	.readmore {
	display:none;
	}
}

/* --------------------------------------------------- Titles */

.pagetitle {
	max-width:1200px;
	margin:0 auto;
	padding:30px;
	overflow:hidden;
	}

.pagetitle h1, 
.pagetitle h2 {
	text-align:center;
	margin-bottom: 16px;
	}

.pagetitle h2 {
	margin:0;
	line-height: 1.2;
	}

/* --------------------------------------------------- Page Links */

.eachlink {
	text-align:center;
	overflow:hidden;
	}

.eachlink h2 {
	color:#8f0035;
	font-weight:700;
	text-transform:uppercase;
	font-size:20px;
	margin:20px 0px;
	}

.eachlink p {
	color:#000;
	}	

@media only screen and (max-width: 1200px) {
	.eachlink {
	min-height:300px;
	}
}


@media only screen and (max-width: 720px) {
	.eachlink {
	margin:10px auto!important;
	min-height:0;
	}
	
	.eachlink h2 {
	margin:10px 0px;
	}
}

/* --------------------------------------------------- File Links */

.eachfilelink {
	text-align:center;
	overflow:hidden;
	}

.eachfilelink .fileimage {
	border: 1px solid #8f0134;
}

.eachfilelink h2 {
	color:#8f0035;
	font-weight:700;
	text-transform:uppercase;
	font-size:20px;
	margin:20px 0px;
	}

@media only screen and (max-width: 1200px) {
	.eachlink {
	min-height:300px;
	}
}


@media only screen and (max-width: 720px) {
	.eachfilelink {
	margin:10px auto!important;
	min-height:0;
	}
	
	.eachfilelink h2 {
	margin:10px 0px;
	}
}

/* --------------------------------------------------- Columns */

.colcontainer {
	clear:both;
	padding:0px;
	margin:0 auto;
	overflow:hidden;
	max-width:1200px;
	}

@media only screen and (max-width: 1200px) {
	.insidecontainer { 
		padding:0px 20px;
	}
}

.greybackground {
	background-color: #e2e2e2;
	padding-top: 30px;
	margin-bottom: 30px;
}

blocks {
	justify-content: center;
}

/* --------------------------------------------------- Blog */

.eachblog {
	border-top:1px solid #8f0134;
	padding: 30px 0px 30px 0px;
	color: #000;
	float: left;
	width: 100%;
}

.eachblog:last-child {
	border-bottom:1px solid #8f0134;
}

.blogthumb img {
	max-width:373px;
	height: auto;
	float: left;
	margin:0px 30px 0px 0px;
}

@media only screen and (max-width: 720px) {
	.eachblog {
	text-align: center;
	}
	
	.blogthumb img {
	max-width:100%;
	height: auto;
	float: none;
	margin:0px 0px 10px 0px;
	}
}	

.blogreadmore {
	color: #8f0134;
}

.eachblog p.published,
.blogpost p.published {
	font-style: italic;
	color: #444;
}

.blogpost {
	margin:30px auto;
}

.blogpost .blogtitle {
	margin-bottom: 10px;
}

.blogpost .blogtitle,
.blogpost p.published {
	text-align: center;
}

/* --------------------------------------------------- Offices */	

.offices column {
	border:1px solid #8f0134;
}

.offices column h2 {
	background: #8f0134;
	color: #fff;
	padding:10px 0px;
}

/* --------------------------------------------------- Pagination */	

.paginationcontainer {
	max-width: 960px;
    margin: 30px auto 0 auto;
    text-align: center;
    overflow: hidden;
	}

.pagination {
	padding:0;
	font-size:16px;
	line-height:16px;
	display: inline-block;
	max-width: 300px;
	}
 
.pagination span, 
.pagination a {
	display:block;
	float:left;
	margin: 6px 6px 6px 0;
	padding:6px 9px 5px 9px;
	text-decoration:none;
	width:auto;
	color:#fff;
	background:#ccc;
	}
 
.pagination a:hover{
	color:#fff;
	background: #8f0134;
	}
 
.pagination .current {
	padding:6px 9px 5px 9px;
	background: #8f0134;
	color:#fff;
	}

/* --------------------------------------------------- Forms */	

.gform_wrapper {
	margin:30px auto 0px auto;
	padding:0px;
	max-width:465px;
	text-align: center;
	}

@media screen and (max-width : 960px){
	.gform_wrapper {
	margin:0px auto 20px auto;
	padding:10px 0px 10px 0px;
	width:100%;
	}
}

.gform_wrapper ul {
	list-style:none;
	margin:0px;
	padding:0px;
	}

.gform_wrapper ul li {
	margin:0px 0px 20px 0px;
	}

.gform_wrapper .gfield_html {
	padding:8px 0px 8px 0px;
	font-style:italic;
	}

.gform_wrapper label {
	display:none;
	}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="email"],
.gform_wrapper textarea,
.gform_wrapper select {
	padding:10px;
	width:100%;
	border:3px solid #626262;
	font-family:"news-gothic-std",arial;
	font-size:16px;
	}

.gform_wrapper select {
	width:99%;
	}

@media screen and (max-width : 640px){
	.gform_wrapper input[type="text"],
	.gform_wrapper input[type="tel"],
	.gform_wrapper input[type="email"],
	.gform_wrapper textarea {
	width:80%;
	margin:0px auto 0px auto;
	display:block;
	}
	
	.gform_wrapper select {
	width:88%;
	}
	
	.gform_wrapper input[type="text"],
	.gform_wrapper input[type="tel"],
	.gform_wrapper input[type="email"] {
	text-align:center;
	}
	
	.gform_wrapper ul li {
	text-align:center;
	}
}

.gform_wrapper input[type="text"]:focus,
.gform_wrapper input[type="tel"]:focus,
.gform_wrapper input[type="email"]:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
	border:3px solid #8f0134;
	outline:none;
	}
	
.gform_wrapper input[type="submit"] {
	margin:0px auto;
	padding:6px 10px 5px 10px;
	display:block;
	border:0;
	background:#8f0134;
	width:40%;
	cursor:pointer;
	color:#fff;
	font-family:"news-gothic-std",arial;
	font-size:18px;
	-webkit-appearance: none;
	}

@media screen and (max-width : 640px){
	.gform_wrapper input[type="submit"] {
	width:65%;
	}
}

.gform_wrapper input[type="submit"]:hover {
	color:#000;
	}
	
.gform_wrapper .validation_error {
	margin:10px 0px 10px 0px;
	padding:4px;
	border:3px solid #cb0505!important;
	text-align:center;
}	

.gform_wrapper .validation_message {
	color:#cb0505;
	}

.gform_wrapper .validation_message:before {
	content:"\2191 ";
	}

.gform_wrapper .gform_validation_container {
	display:none;
	}

.gform_wrapper .gfield_description {
	text-align: center;
	margin-bottom: 20px;
}

.gform_wrapper .gform_validation_container {
	display: none!important;
}

.fsrpostcode select {
	width:180px!important;
	text-indent: 5px;
	text-align-last:center;
	height: 40px;
	padding: 2px;
}

li.privacynotice.gfield_html {
	background-color: #f4f4f4;
	font-style: normal;
	padding: 20px;
	margin-bottom: 0px;
}

li.privacynotice.gfield_html a {
	color: #8f0134;
	text-decoration: underline;
}

li.privacynotice.gfield_html a:hover {
	text-decoration: none;
}

li.privacy .ginput_container_checkbox {
	background-color: #f4f4f4;
	padding: 0px 20px 10px 20px;
}	

li.privacy .ginput_container_checkbox label {
	display: inline !important;
}	

.captchaspam .gfield_label {
    display: none;
}

.captchaspam .ginput_recaptcha > div {
   margin: 30px auto 30px auto;
}

.captchaspam iframe {
	padding: 0px;
}
	
/* --------------------------------------------------- Maps */

.mapcontainer {
  display: block;
  height: 400px;
  z-index: 100;
}

.maptogglecontainer {
  margin:0 auto;
}

.maptogglecontainer ul {
	list-style-type: none;
	margin:0;
	padding: 0;
	font-size: 0;
	text-align: center;
}

.maptogglecontainer .eachmaplocation {
	cursor: pointer;
	display: inline-block;
	width: 120px;
	padding:10px;
	margin: 0px 3px;
	color: #fff;
	background: #444;
	font-size: 16px;
}

.maptogglecontainer .eachmaplocation:hover {
	background: #8f0035!important;
}

.maptogglecontainer li.eachmaplocation--currentlocation {
	position: relative;
	background: #8f0035!important;
	z-index: 110;
}

.maptogglecontainer li.eachmaplocation--currentlocation:after {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(143, 0, 53, 0);
	border-bottom-color: #8f0035;
	border-width: 10px;
	margin-left: -10px;
}

@media only screen and (max-width: 620px) {
	.mapcontainer {
	height: 250px;
	}
	
	.maptogglecontainer .eachmaplocation {
	width:25%;
	padding:10px;
	margin: 0px 0px;
	font-size: 14px;
	}
}

/* --------------------------------------------------- Contractor */

.contractor {
	background:#e2e2e2;
	padding:30px 20px;
	}

.contractorcontent {
	margin:0 auto;
	max-width:900px;
	text-align:center;
	}

.contractor p {
	margin:0;
	text-transform:uppercase;
	font-size:20px;
	float:left;
	line-height:1.6;
	}

.contractor a {
	background:#8f0035;
	color:#fff;
	text-decoration:none;
	margin-top:20px;
	padding:10px 15px;
	font-size:18px;
	display:inline-block;
	width:135px;
	}

@media screen and (max-width : 940px){
	.contractor p {
	float:none;
	line-height:1.4;
	} 
	
	.contractor a {
	margin:20px 0px 0px 0px;
	}
}

/* --------------------------------------------------- Misc */	

.content.privacy-and-cookies-policy h2 {
	font-size: 22px !important;
}

/* --------------------------------------------------- Footer */	

.backtotop {
	margin:0px auto 30px auto;
	padding: 0;
	text-align: center;
}

.blogpost .backtotop {
	margin:30px auto 30px auto;
	}

footer {
	text-align:left;
	color:#fff;
	}

.topfooter a {
	color: #fff;
}
	
.topfooter {
	background:#8f0134;
	padding-top:30px;
	}	

.topfooter blocks,
.bottomfooter blocks {
align-items: center;
}

.bottomfooter {
	background:#e2e2e2;
	padding:30px 0px 0px 0px;
	color: #444;
	border-top:10px solid #444;
	font-size: 16px;
	}	

@media only screen and (max-width: 768px) {
	.topfooter,
	.topfooter .text-right,
	.bottomfooter,
	.bottomfooter .text-right { 
		text-align: center!important;
	}
}

.bottomfooter a {
	color: #000;
	text-decoration: none;
}

.bottomfooter .width-3,
.bottomfooter .width-6 {
	float: left;
	padding-bottom: 20px;
}

.bottomfooter .footercopyright p {
	margin-top: 6px;
}

.bottomfooter .footercopyright a {
	text-decoration: underline;
}

.bottomfooter .footercopyright a:hover {
	text-decoration: none;
}

.bottomfooter .footerlogos {
	padding-top: 16px;
}

.bottomfooter .footermsgd p {
	margin-top: 21px;
	padding-top: 16px;
}

@media only screen and (max-width: 1000px) {
	.bottomfooter {
		padding-bottom: 30px;
	}
	
	.bottomfooter .width-3,
	.bottomfooter .width-6 {
	float: none;
	padding:0;
	text-align: center !important;
	width: 100% !important;
	}
}
