/*
Theme Name: Firesafe
Theme URI: http://www.firesafeductwork.co.uk/
Description: Firesafe Theme
Author: Piranha Solutions
Author URI: http://www.piranha-solutions.com/
Version: 2.0
*/



/* General Styles */
* {
	margin:0;
	padding:0;
}

body {
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
	font-family:'Lato', Arial, sans-serif;
	background-color:#fff;
	font-size:16px;
	font-weight:400;
	line-height:1.25;
	color:#444;
	margin:0;
	padding:0;
}

p {
	font-size:16px;
	color:#444;
	line-height:21px;
	margin-bottom:30px;
}

a {
	color:#FF4C00;
	text-decoration:underline;
}

a:focus {
	outline:none;
}

h1, h2, h3, h4, h5, h6 {
	color:#FF4C00;
	font-weight:400;
	text-transform:uppercase;
	margin:0 0 30px 0;
}

h1 {
	font-size:30px;
	font-weight:900;
}

h2 {
	font-size:23px;
}

h1:after, 
h2:after {
	content:"";
	width:40px;
	height:2px;
	display:block;
	background-color:#FF3800;
	margin-top:30px;
}

h3 {
	font-size:20px;
}

h4, h5 {
	font-size:18px;
}

h6 {
	font-size:16px;
}

ol, ul {
	margin:0;
}

img {
	max-width:100%;
	height:auto;
	border:none;
}

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

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

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

.aligncenter {
	margin:0 auto 30px auto;
}

.clear {
	clear:both;
}

.news_pagination {
	display: block;
	padding: 20px 20px 40px 20px;
	width: calc(100% - 40px);
	overflow: hidden;
}
.next_posts {
	float: left;
}
.prev_posts {
	float: right;
}
/* End General Styles */



/* Header */
.header {
	background:url(images/header.jpg) no-repeat left top;
	background-size:cover;
	padding:10px 15px 25px 15px;
}

.header .contacts {
	float:right;
}

.header .contacts li {
	font-size:15px;
	font-weight:700;
	list-style:none;
	display:inline-block;
}

.header .contacts li:first-of-type {
	background:url(images/call.png) no-repeat left center;
	padding:1px 30px;
}
/* End Header */



/* Main Nav */
.navigation {
	text-align:right;
	margin-top:25px;
}

.navigation .menu > li {
	list-style:none;
	display:inline-block;
	position:relative;
	padding-bottom:5px;
	margin:0 12px;
}

.navigation .menu > li:last-of-type {
	margin:0 0 0 35px;
}

.navigation .menu > li:last-of-type > a {
	font-weight:400;
	padding:7px 12px;
}

.navigation a {
	font-size:15px;
	font-weight:900;
	text-transform:uppercase;
	text-decoration:none;
}

.navigation a:hover {
	text-decoration:underline;
}

.navigation li.current-menu-item > a, 
.navigation .current-page-ancestor > a {
	color:#FF4E00;
}

.navigation .menu > li:last-of-type.current-menu-item > a {
	color:#fff;
}

.navigation ul ul {
	width:200px;
	text-align:left;
	background-color:#444;
	padding:10px;
	position:absolute;
	top:100%;
	left:-9999px;
	z-index:40;
}

.navigation ul ul li {
	list-style:none;
	padding:3px 0;
	border-bottom:1px solid #777;
}

.navigation ul ul li:last-of-type {
	border-bottom:none;
}

.navigation li:hover ul {
	left:0;
}

.slicknav_btn {
	padding:11px 0.625em !important;
	margin:0 !important;
}

.slicknav_icon {
	margin:4px 0 0 8px !important;
}

.slicknav_menu {
	padding:0 !important;
}

.slicknav_nav {
	background-color:#444;
}

.slicknav_nav .menu {
	margin-left:0;
}

.slicknav_nav li {
	border-bottom:1px solid #666;
}

.slicknav_nav li:last-child {
	border-bottom:none !important;
}

.slicknav_nav a {
	border-radius:0 !important;
	margin:0 !important;
}

.slicknav_nav li > a {
	padding:8px 10px !important;
}
/* End Main Nav */



/* Default Page Styles */
.container-fluid {
	padding-left:50px;
	padding-right:50px;
}

.invert h1, 
.invert h2, 
.invert h3, 
.invert h4, 
.invert h5, 
.invert h6, 
.invert p, 
.invert a, 
.invert li {
	color:#fff;
}

.button {
	font-size:15px;
	font-weight:700;
	text-transform:uppercase;
	text-decoration:none;
	display:inline-block;
	padding:7px 12px;
}

.btn-1 {
	color:#fff;
	background-color:#FF4E00;
}

.btn-2 {
	color:#444 !important;
	background-color:#F7E600;
}

.btn-3 {
	border:1px solid #fff;
}

.cont-btn {
	margin-top:30px;
}

.default-content {
	background-color:#eee;
	padding:50px 50px 90px 50px;
}

.main-content {
	padding-top:50px;
}

.main-content ul, 
.main-content ol {
	margin-bottom:30px;
}

.main-content ol {
	margin-left:15px;
}

.main-content ul li, 
.main-content ol li {
	line-height:21px;
}

.main-content ul li {
	list-style:none;
	background:url(images/bullet.png) no-repeat left 8px;
	padding-left:30px;
	margin-bottom:5px;
}

.excerpt p {
	font-size:20px;
	line-height:26px;
}

.excerpt:after {
	content:"";
	width:40px;
	height:2px;
	display:block;
	background-color:#FF3800;
	margin-top:30px;
	margin-bottom:30px;
}

.featured-img {
	text-align:right;
	padding-top:100px;
	position:relative;
}

.featured-img img {
	position:relative;
	z-index:2;
}

.featured-img .frame {
    background-color: #fff;
    height: 425px;
    right: 60px;
    position: absolute;
    top: 0;
    width: 100%;
    max-width:640px;
    z-index: 1;
}
/* End Default Page Styles */



/* Homepage Styles */
.rslides-container {
	position:relative;
	border-bottom:4px solid #ccc;
	border-top:4px solid #ccc;
	padding:0 !important;
}

.rslides-container .intro {
	position:absolute;
	top:70px;
	left:50px;
	z-index:10;
}

.rslides {
	position:relative;
	list-style:none;
	overflow:hidden;
	width:100%;
	height:800px;
	padding:0;
	margin:0;
}

.rslides li {
	background-position:center center;
	background-repeat:no-repeat;
	background-size:cover;
	-webkit-backface-visibility:hidden;
	position:absolute;
	display:none;
	width:100%;
	height:800px;
	left:0;
	top:0;
}

.rslides li:first-child {
	position:relative;
	display:block;
	float:left;
}

.rslides p {
	font-size:20px;
	line-height:23px;
	font-weight:700;
	color:#fff;
	background-color:#FF4E00;
	padding:8px 15px;
	margin:0;
	position:absolute;
	bottom:35px;
	right:50px;
}

.home-content {
	background:url(images/bg.jpg) no-repeat top center;
	background-size:cover;
}

.home-main {
	padding:70px 0;
}

.home-main h1 {
	font-size:25px;
	color:#FF3800;
	font-weight:400;
	text-transform:none;
	text-shadow:2px 2px 2px #222;
}

.home-main p {
	font-size:18px;
	line-height:24px;
	text-shadow:2px 2px 2px #222;
}

.home-img {
	text-align:center;
	padding-top:70px;
}

.row.home-boxes {
	margin-left:0;
	margin-right:0;
}

.home-box {
	padding-left:10px;
	padding-right:10px;
	margin-bottom:20px;
}

.home-box .box {
	height:100%;
	padding:20% 50px;
}

.home-box-1 .box {
	background:url(https://www.firesafeductwork.co.uk/wp-content/uploads/what-we-do.jpg) no-repeat center center;
}

.home-box-2 .box {
	background:url(https://www.firesafeductwork.co.uk/wp-content/uploads/Lightbox-Mockups_PK-Green-1.jpg) no-repeat center center;
}

.home-box-3 .box {
	background:url(https://www.firesafeductwork.co.uk/wp-content/uploads/applications-dark.jpg) no-repeat center center;
}


.home-box-1 .box h2,
.home-box-3 .box h2{
	color:#fff
}
.home-box-1 .box p,
.home-box-3 .box p{
	color:#fff;
}

.home-box-1 .box li{
	color:#fff;
}


.home-box-3 .box a:hover,
.home-box-3 .box a:hover{
	text-decoration:none;
	color:#fff;
}

.home-box-1 .box, 
.home-box-2 .box, 
.home-box-3 .box {
	background-size:cover;
}

.home-box-5 h2 {
	color:#F8E500;
}

.home-box-5 .box h2:after {
	background-color:#F8E500;
}

.home-box-5 .box {
	background:url(images/red-grid.png) left top;
}

.home-box ul {
    margin-bottom:30px;
}

.home-box ul li {
    background:url(images/bullet.png) no-repeat left 8px;
    list-style:none;
    line-height:21px;
    padding-left:30px;
    margin-bottom:5px;
}
/* End Homepage Styles */



/* Form Styles */
.wpcf7-form {
	width:100%;
}

.wpcf7-form br {
	display:none !important;
}

.wpcf7-form p {
	margin-bottom:0;
	clear:both;
}

.wpcf7-form label {
	width:28%;
	font-weight:400;
	text-transform:uppercase;
	float:left;
	padding-top:5px;
	margin-bottom:15px;
}

.wpcf7-form label span {
	color:#ff0000;
}

.wpcf7-form input[type="text"], 
.wpcf7-form input[type="email"], 
.wpcf7-form textarea {
	width:70%;
	height:40px;
	background-color:#fff;
	border:none;
	float:right;
	padding:0 10px;
	margin-bottom:15px;
}

.wpcf7-form textarea {
	height:100px;
	padding:10px;
}

.wpcf7-radio {
	width:70%;
	float:right;
	margin-bottom:15px;
}

.wpcf7-list-item-label {
	color:#878787;
}

.wpcf7-form input[type="submit"] {
	width:auto;
	font-size:15px;
	font-weight:700;
	color:#444;
	background-color:#F7E600;
	text-transform:uppercase;
	border:none;
	padding:7px 12px;
	margin-top:20px;
}

.wpcf7-form input[type="submit"]:hover {
	color:#fff;
	background-color:#FF4E00;
}

.wpcf7-not-valid-tip {
	display:inline-block !important;
}

.wpcf7-response-output, .wpcf7-validation-errors {
    border:2px solid #FF4E00 !important;
}
/* End Form Styles */



/* Footer */
.footer {
	background-color:#EFF3F6;
	padding:20px 50px;
	margin-top:20px;
}

.footer p {
	font-size:13px;
	margin:35px 0 0 0;
}

.footer .social ul {
	margin-top:30px;
}

.footer .social ul li {
	list-style:none;
	display:inline-block;
	margin:0 4px;
}

.footer-logos {
	text-align:right;
}
/* End Footer */



/* Other Styles */
.box {
	background:url(images/dark-grid.png) left top;
}

.box h2:after, 
.member .box h4:after {
	content:"";
	width:40px;
	height:2px;
	display:block;
	background-color:#FF3800;
	margin-top:30px;
}

.member .box {
	height:100%;
	padding:195px 15px 40px 15px;
	position:relative;
}

.row.members {
	margin-left:0;
	margin-right:0;
}

.member {
	padding:0 10px;
	margin:210px 0 20px 0;
}

.member:first-of-type {
	padding-left:0;
}

.member:nth-of-type(4n) {
	padding-right:0;
}

.member img {
	position:absolute;
	top:-195px;
	left:50%;
	transform:translateX(-50%);
}

.member .box h4 {
	font-size:23px;
}

.member .bio {
	max-width:280px;
	margin:0 auto;
}

.news-container {
	background-color:#eee;
}

.news-item {
	margin-top:140px;
}

.news-item .date {
	font-weight:900;
	text-transform:uppercase;
	margin-bottom:5px;
}

.news-item img {
	top:-118px;
}

.staff .box h4 {
	margin-bottom:4px;
}

.staff .box h4:after {
	display:none;
}

.staff .box h5 {
	margin:15px 0 22px 0;
}

.staff .box h5:after {
	width:40px;
	content:"";
	background-color:#ff3800;
    display:block;
    height:2px;
    margin-top:22px;
}

.staff .additional-info {
	font-size:18px;
	margin:0;
}

.accordion {
	margin-bottom:10px;
}

.accordion-heading {
    background:url(images/accordion.png) no-repeat #FAE700 95% center;
    cursor:pointer;
    margin-bottom:20px;
}

.accordion-heading h3 {
	width:88%;
	background-color:#fff;
	padding:12px 15px;
	position:relative;
	margin:0;
}

.accordion-heading:hover h3 {
	color:#444;
    background-color:#FAE700;
}

.accordion-content {
    padding-bottom:15px;
}

body.page-id-20 .main-content h2 {
	font-size:30px;
	font-weight:900;
}

.tpadd {
	padding-top:35px;
}

.caption {
	font-size:18px;
	color:#ff3800;
	margin-top:20px;
}
/* End Other Styles */



/*
Styles for responsive layouts
*/

/* !1540 AND UNDER*/
@media only screen and (max-width : 1540px) {

	.media-size:after {
		content: "max-width: 1540px";
	}

	.navigation {
		width:100%;
		text-align:left;
	}

}

/* !1199 AND UNDER*/
@media only screen and (max-width : 1199px) {

	.media-size:after {
		content: "max-width: 1199px";
	}

	.container-fluid {
		padding-left:15px;
		padding-right:15px;
	}

	.navigation .menu > li, 
	.navigation .menu > li:last-of-type {
		margin:0 10px;
	}

	.navigation .menu > li:last-of-type > a {
		font-weight:900;
		background-color:transparent;
		padding:0;
	}

	.footer p {
	    margin:0 0 20px 0;
	}

	.footer .social ul {
		margin-top:0;
	}

	.footer-logos {
		text-align:left;
		padding-top:20px;
	}

}

/* !991px AND UNDER*/
@media only screen and (max-width : 991px) {

	.media-size:after {
		content: "max-width: 991px";
	}

	.home-box .box {
	    padding:50px;
	}

}

/* !640px AND UNDER*/
@media only screen and (max-width : 640px) {

	.media-size:after {
		content: "max-width: 640px";
	}

	.header {
		text-align:center;
	}

	.header .contacts {
		float:none;
		margin-bottom:15px;
	}

}

/* !360px AND UNDER*/
@media only screen and (max-width : 360px) {

	.media-size:after {
		content: "max-width: 360px";
	}

	.home-box .box {
	    padding:50px 15px;
	}

}

.wpfilebase-file-default {
	max-width: 100% !important;
}



/* Gallery */

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail img{
	width: 100%;
}
.post-type-archive-gallery .banner{
	height: 300px;
	background-position: center;
	background-size: cover;
	margin-bottom: 20px;
	display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-type-archive-gallery .bg-cover{
	height: 300px;
	background-position: center;
	background-size: cover;
	margin-bottom: 20px;
}
.post-type-archive-gallery .banner h1{
    margin-bottom: 0;
    background-color: #343b3e;
    padding: 20px;
    display: inline-block;
}
.post-type-archive-gallery h3{
	text-align: center;
	margin-bottom: 10px;
}
.post-type-archive-gallery .gallery-feed{
	margin:60px 0;
}
.post-type-archive-gallery .gallery-feed a{
	text-decoration: none;
}


.post-type-archive-gallery p{
	text-align: center;
}
.post-type-archive-gallery .btn{
	background: #f0810e;
	color: #fff;
	font-weight: bold;
	padding: 10px 40px;
	font-weight: 900 !important;
	text-align: center;
	margin: 0 auto;
}

.single-gallery .banner{
	height: 300px;
	background-position: center;
	background-size: cover;
	margin-bottom: 20px;
	display: flex;
    flex-direction: column;
    justify-content: center;
}
.single-gallery .banner h1{
    margin-bottom: 0;
    background-color: #343b3e;
    padding: 20px;
    display: inline-block;
}
.single-gallery .button{
	background: #f0810e;
	color: #fff;
	font-weight: bold;
	padding: 10px 40px;
	font-weight: 900 !important;
	text-align: center;
	margin: 0 auto;
	margin-top: 0 !important;
}

/* Videos */
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	margin-bottom: 30px;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.single-gallery .main-content .button{
	margin-top: 60px;
}



.navigation ul ul{
	background: #000000e6;
}
.navigation ul ul li{
	border-bottom: 1px solid #fff;
}


#menu-item-4202 ul{
	background-color: #DB3930;
}
#menu-item-4202 ul li{
	border-bottom: 1px solid #fff;
}



#menu-item-4202:hover ul{
	left: -217px;
	width: 254px;
	top: 37px;
}

#menu-item-4202 .sub-menu .menu-item-has-children .sub-menu{
	display: none;
}

#menu-item-4202 .sub-menu .menu-item-has-children:hover .sub-menu{
	display: block;
	top: 198px;
    left: -250px;
	background: #000000e6;
}
#menu-item-4202 a{
	height: 37px;
	width: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
	text-decoration: none;
}
#menu-item-4202 a:hover{
	text-decoration: none;
}
#menu-item-4202:hover .fa-bars{
    display: none;
}
#menu-item-4202 .fa-xmark {
    display: none;
}
#menu-item-4202 .fa-xmark,
#menu-item-4202 .fa-bars{
	font-size: 26px;
}




#menu-item-4202:hover .fa-xmark{
	display: block;
	text-decoration: none;
}
#menu-item-4202 .sub-menu a{
	height: 100%;
	width: 100%;
	align-items: start;
	justify-content: flex-start;
	padding: 7px 10px;
}


.mobilenav{
	display: none;
}


#menu-item-4204 .sub-menu{
	top: -2px !important;
}
#menu-item-4207 .sub-menu{
	top: 48px !important;
}
#menu-item-4215 .sub-menu{
	top: 87px !important;
}
#menu-item-215 .sub-menu{
	top: 324px !important;
}

@media (max-width:1024px){
	.desktopnav{
		display: none;
	}
	.mobilenav{
		display: block;
	}
}