@import url(//fonts.googleapis.com/css?family=Montserrat:400,700);
@import url(http://firstflooringhadleigh.co.uk/wp-content/themes/Sass_theme/css/css/reset.css);
/* variables */
/* Mixins */
body {
  font-size: 16px;
  color: #111111;
  font-family: open sans, arial;
}

.clear {
  clear: both;
}

.Button {
  font-size: 17px;
  line-height: 33px;
  padding: 10px 35px;
  display: inline-block;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  text-transform: uppercase;
  border: 3px solid #f3c50f;
  cursor: pointer;
}
.Button:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
}

a:hover, a:focus {
  text-decoration: none;
}

/*------------------

	Footer

------------------*/
.footer {
  padding: 20px;
  background: #55565A;
  color: #CCC;
  margin-top: 50px;
}

.essex a {
  color: teal;
}

/* Fix for fire fox - border */
.carousel {
  border: 0 solid rgba(249, 249, 249, 0);
  margin-bottom: -10px;
}

/* Logo styles*/
img.logo {
  padding-top: 34px;
  padding-bottom: 39px;
  width: 220px;
  padding-left: 12px;
}

.lower-footer {
  padding: 15px;
  background: #000;
  color: #fff;
}
.lower-footer .row {
  padding-top: 8px;
}

/* Scroll up button bottom right */
.scrollUp {
  background: rgba(0, 0, 0, 0.77);
  padding: 10px;
  position: fixed;
  color: white;
  opacity: 0;
  float: right;
  transition: 2s;
  -webkit-transition: 2s;
  -moz-transition: 2s;
  -o-transition: 2s;
  box-shadow: 1px 1px 2px #111;
  bottom: 103px;
  right: 0px;
}

.scrollAppear {
  opacity: 1;
}

/* Position of scroll up anchor */
.anchor {
  position: relative;
  top: -30px;
}

/* Mobile nav */
.button-sidepanel {
  padding: 10px 12px;
  background: #d0ab22;
  display: inline-block;
  color: white;
  z-index: 4;
  position: absolute;
  left: 0px;
  top: 0px;
  display: none;
}
.button-sidepanel p{
font-size:9px;
  }

.sidePanel {
  width: 300px;
  height: 900px;
  background: #272727;
  position: fixed;
  left: -300px;
  z-index: 3;
  top: 0px;
}

.bg {
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.93);
  display: none;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 2;
}

.container-sidepanel {
  width: 795px;
  margin: 0 auto;
}

.mobile-nav {
  text-align: center;
  padding-top: 30px;
  width: 100%;
}
.mobile-nav li {
  float: none;
}
.mobile-nav a {
  color: white;
}
.mobile-nav .current-menu-item a {
  color: #d0ab22;
}

/* normal nav */
.menu {
  margin-top: 51px;
}
.menu li {
  float: left;
  margin-right: 23px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 100;
}
.menu a {
  color: #fff;
      text-shadow: 1px 1px 4px #000000;
    font-weight: 400;
}
.menu a:after {
  display: block;
  content: '';
  border-bottom: solid 3px #d0ab22;
  -webkit-transform: scaleX(0.0001);
  transform: scaleX(0.0001);
  -webkit-transition: -webkit-transform 250ms ease-in-out;
  transition: -webkit-transform 250ms ease-in-out;
  transition: transform 250ms ease-in-out;
  transition: transform 250ms ease-in-out, -webkit-transform 250ms ease-in-out;
}
.menu a:hover:after {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.current-menu-item a {

      font-weight: bold;
}

.navigation-wrapper {
  position: absolute;
  top: 0px;
}

/* Slider arrows and slider images */
.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .glyphicon-chevron-left, .carousel-control .icon-next {
  margin-right: -10px;
  border: 2px solid white;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  padding-top: 6px;
  padding-right: 3px;
}

.slider-caption {
  position: absolute;
  right: 15%;
  bottom: 35px;
  left: 16%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
  width: 453px;
}
.slider-caption h2 {
  font-size: 29px;
  font-weight: 400;
}
.slider-caption .Button, .slider-caption h2{
  float: left;
}
.slider-caption .Button {
  bottom: -20px;
  position: relative;
}
.slider-caption a {
  color:#fff !important;
}
.carousel-indicators {
  display: none;
}

.carousel-control.left, .carousel-control.right {
  background-image: none;
}

.carousel-inner > .item > img {
  width: 100%;
}

.nav > li > a:focus, .nav > li > a:hover {
  background: none !important;
}

/* Four boxes on home page */
.fourBoxes li {
  width: 50%;
  float: left;
  padding: 50px;
  height: 386px;
}
.fourBoxes .black {
  background: #272727;
  color: #fff;
}
.fourBoxes .black h1,.fourBoxes .black h2 {
  color: #fff;
  font-size: 4vw;
}

.kitten,.services {
  background-size: cover;
  background-repeat: no-repeat;

}
.kitten {
  background-image: url("../images/Home/boxes/3.jpg");
}
.services {
  background-image: url("../images/Home/boxes/services.jpg");
}

.topLeft a {
  color: #fff;
}
.topLeft h2 {
  line-height: 72px;
  text-align: center;
}

/* Six Boxes styles */
.sixBoxes {
  /* Background cover and no repeat */
  /* Background images for homepage six images */
}
.sixBoxes ul li {
  width: 33.3%;
  float: left;
  text-align: center;
  height: 303px;
  padding: 20px;
  position: relative;
  color: #fff;
}
.sixBoxes ul li a {
  color: #fff;
}
.sixBoxes ul li h2 {
  font-weight: bold;
  text-transform: uppercase;
}
.sixBoxes ul li h2, .sixBoxes ul li p {
  position: relative;
}
.sixBoxes ul li .Button {
  position: absolute;
  left: 50%;
  margin-left: -98px;
  bottom: 45px;
}
.sixBoxes .one, .sixBoxes .two, .sixBoxes .three, .sixBoxes .four, .sixBoxes .six {
  background-size: cover;
  background-repeat: no-repeat;
}
.sixBoxes .one {
  background-image: url("../images/Home/six/1.png");
}
.sixBoxes .two {
  background-image: url("../images/Home/six/2.png");
}
.sixBoxes .three {
  background-image: url("../images/Home/six/3.png");
}
.sixBoxes .four {
  background-image: url("../images/Home/six/4.png");
}
.sixBoxes .five {
  background: #272727;
}
.sixBoxes .six {
  background-image: url("../images/Home/six/6.png");
}

/* Background + Hover overlay on six boxes */
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(25, 25, 25, 0.3);
  transition: 0.5s;
}

.background:hover {
  opacity: 0.3;
}

/* Testimonial slider */
.testimonials {
  min-height: 271px;
  margin-top: 34px;
  margin-bottom: 10px;
}
.testimonials h2 {
  margin-bottom: 34px;
}
.testimonials .fa {
  margin: 10px 5px;
}
.testimonials .carousel-control {
  color: #272727;
}
.testimonials small {
  display: block;
}

.item .fa {
  transition: 0.5s;
}

.testimonials .item:hover .fa {
  color: #d0ab22;
  font-size: 20px;
}

/* Accreditations */
.accredidations {
  background: #272727;
  padding-top: 20px;
  padding-bottom: 56px;
}
.accredidations h2 {
  text-align: center;
  color: #6f6f6f;
}
.accredidations ul {
  text-align: center;
  margin-top: 50px;
}
.accredidations ul li {
  margin-right: 50px;
  display: inline;
}
.accredidations ul li img {
  width: 13%;
}

/* Social Footer */
.socialFooter {
  background: #2f3439;
  padding-top: 20px;
  padding-bottom: 56px;
  text-transform: uppercase;
  padding: 12px;
}
.socialFooter a {
  color: #6f6f6f;
  transition: 0.5s;
}
.socialFooter ul {
  text-align: center;
  margin-top: 10px;
}
.socialFooter ul li {
  margin-right: 50px;
  display: inline-block;
  margin: 20px;
  width: 20%;
}
.socialFooter ul li p {
  display: inline;
}
.socialFooter ul li .fa {
  border: 3px solid;
  font-size: 20px;
  padding: 13px;
  margin-left: 20px;
}
.socialFooter ul li .Button {
  border: 3px solid #6f6f6f;
  padding: 5px;
  min-width: 151px;
}
.socialFooter ul img {
  width: 250px;
}
.socialFooter:hover a {
  color: white;
}
.socialFooter:hover .Button {
  border: 3px solid #fff;
}

.carousel-control {
  width: 9%;
}

/* Top image for pages - apart from home */
.topImage {
  margin-bottom: -9px;
}
.topImage img {
  width: 100%;
}

/* BG images for four squares on pages */
.aboutPic, .laminate, .kardean, .carpets, .contact {
  background-size: cover;
  background-repeat: no-repeat;
}

.aboutPic {
  background-image: url("../images/about/aboutPic.jpg");
}

.laminate {
  background-image: url("../images/laminate/laminate.jpg");
}

.kardean {
  background-image: url("../images/kardean/kardean.jpg");
}

.carpets {
  background-image: url("../images/carpets/carpets.jpg");
}

h1.lineGap {
  line-height: 72px;
}

/* Contact page */
.contact {
  background-image: url("../images/contact/contact.jpg");
  min-height: 500px;
}
.contact .wrapper {
  width: 900px;
  margin: 0 auto;
}
.contact .leftBox a {
  color: #272727;
}
.contact .leftBox {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  background: #fff;
  padding: 50px;
}
.contact .leftBox,
.contact .rightBox {
  float: left;
  width: 45%;
  position: relative;
  margin-top: 80px;
  margin-right: 3%;
  height: 300px;
}

/* Icons on contact page */
li.map-mark:before, p.phone:before, p.mail:before {
  font-family: "FontAwesome";
  display: block;
  position: absolute;
  left: 23px;
}

li.map-mark:before {
  content: "\f041";
}

p.phone {
  margin: 33px 0px;
}
p.phone:before {
  content: "\f10b";
  font-size: 24px;
}

p.mail:before {
  content: "\f0e0";
}

/* Contact form styles */
.input {
  font-size: 15px;
  line-height: 1.4em;
  color: #555;
  border: none;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  background: #DADADA;
  padding: 10px;
  border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
  -webkit-transition: background-color 1s ease;
  transition: background-color 1s ease;
}

.input:focus, .submit:focus {
  border: none;
  outline: none;
  background: #fff;
}

/* Message Text Box */
.message {
  height: 136px !important;
  border-radius: 6px;
}
/* Submit Button */
.submit {
  background: none;
  border: 3px solid #f3c50f;
  width: 160px !important;
  position: relative;
  left: 50%;
  margin-left: -80px;
  color: #fff;
}
/* Response after form has been sent*/
.ninja-forms-response-msg p {
  color:#fff;
}
/* Email to big for boxes on mobile so removed */
.mailGo {
  display: none;
}

/* Map on contact page */
.map {
  margin-bottom: -5px;
}
.topLeft p {
  display:inline;
}
.topLeft p:before {
     font-family: fontAwesome;
    content: '\f111';
    font-size: 7px;
    margin-right: 5px;
    margin-left: 10px;
    color: #F3C50F;
}
.galleryGap {
      padding: 20px 0px;
}
.pagesTemplate {
  margin-top: 33px;
    margin-bottom: 30px;
}