/*
Theme Name: SJRoberts
Theme URI: http://www.sjroberts.com/
Description: SJRoberts – Based on Bootstrap 3 Framework
Author: Reech Media
Author URI: http://reech.media/
Version: 2.0
*/


/* =Global
-------------------------------------------------------------- */


body {
  width: 100%;
  height: 100%;
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #eee;
  /*background: url('img/site-bg.png') no-repeat #eee;*/
  background-position: bottom center;
}

html {
  width: 100%;
  height: 100%;
}

.nopad {
  padding: 0px;
}



/* =Typography
-------------------------------------------------------------- */

p {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1em;
  line-height: 1.6em;
  color: #000;
  margin-bottom: 15px;
}

h1 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 2.6em;
  margin-bottom: 15px;
}

h2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.8em;
}

h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.6em;
}

h4 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.4em;
}

h5 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.2em;
}

strong {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
}

a:hover {
  text-decoration: none !important;
}


ul {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1em;
  line-height: 1.4em;
  color: #666;
  list-style-image: url('img/sqbullet.png');
  list-style-position: inside;
  list-style: #FFF;
  padding-left: 15px;
  margin-bottom: 20px;
}

a {
  color: #c3002f;
  -webkit-transition: all .2s ease-in-out;
  -moz-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

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

.bodycopy {
  margin-bottom: 30px;
}

.bodycopy .readmore {
  display: inline-block;
}





/* =Menu and Navigation
-------------------------------------------------------------- */

.sjlogo {
  background: url('img/sj-roberts-construction-logo.png') no-repeat;
  background-size: 225px;
  width: 225px;
  height: 62px;
  margin-top: 20px;
  float: left;
  opacity: 1;
  transition: all 0.5s ease-in-out;
}

.sjlogo:hover {
  opacity: 0.5;
}

.sjstrap {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  text-align: right;
  color: #000;
  margin-top: 30px;
  float: right;
}

.sjstrap strong {
  font-weight: 700;
}

.menu {
  height: auto;
  background: #eee;
  margin: 0px 0px 15px 0px;
  padding: 10px;
}

.menu>div>div>div {
  text-align: center;
}

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

.menu ul li {
  display: inline;
  text-transform: uppercase;
  padding-right: 4.5%;
}

.menu ul li:last-child {
  padding-right: 0px;
}

.menu a {
  color: #000;
}

.current-menu-item a {
  color: #C3002E;
}

nav>.container {
  min-height: 115px;
  background: url('img/header-bg.png') no-repeat;
  background-position: top right;
}



/* =Slider
-------------------------------------------------------------- */

#slider {
  background-color: #FFF;
  height: 450px;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

.carousel-fade .carousel-inner .item {
  -webkit-transition-property: opacity;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}

.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.carousel-fade .carousel-control {
  z-index: 2;
}

html,
body,
.carousel,
.carousel-inner,
.carousel-inner .item {
  height: 100%;
}

.carousel-inner>div {
  background-size: auto 100% !important;
}

.carousel-inner>.item>a>img {
  max-width: 1140px;
}

.item {
  background-size: 100% auto !important;
  background-position: top !important;
  background-repeat: no-repeat !important;
}

.carousel-control.right,
.carousel-control.left {
  background-image: none;
  margin-top: 12%;
  font-size: 6em;
}

.carousel-control {
  /*width: 40px;*/
}

#carousel>a.carousel-control.left {
  width: 50px;
}

#carousel>a.carousel-control.right {
  width: 110px;
}

.featimage {
  overflow: hidden;
  max-height: 450px;
}

.featimage img {
  width: 100%;
  height: auto;
}



/* =Home Page Styles
-------------------------------------------------------------- */




/* =News index.php
-------------------------------------------------------------- */

.newsarticle {
  height: auto;
  margin-bottom: 20px;
}

.readmore {
  background: #c3002f;
  color: #FFF;
  padding: 8px;
  transition: all 1s ease-in-out;
}

.readmore:hover {
  background: #333;
  color: #fff;
}

.newspanelimg {
  overflow: hidden;
  margin-right: 10px;
}

.post-index-filter {
  padding: 0px;
}

.post-index-filter>div>a {
  font-family: 'Source Sans Pro', sans-serif;
  text-transform: uppercase;
  color: #FFF;
  font-size: 1.2em;
  background-color: #ccc;
  padding: 10px;
  width: 100%;
  display: inline-block;
  text-align: center;
  margin-bottom: 15px;
  -webkit-transition: background-color 0.25s ease-in-out;
  -moz-transition: background-color 0.25s ease-in-out;
  -o-transition: background-color 0.25s ease-in-out;
  -ms-transition: background-color 0.25s ease-in-out;
  transition: background-color 0.25s ease-in-out;
}

.post-index-filter>div {
  list-style: none;
}

.post-index-filter>div>a:last-child {
  float: right;
}

.post-index-filter>div>a:hover,
.post-index-filter>div.current-cat a:hover {
  background-color: #666;
}

.post-index-filter>div.cat-item.cat-item-1>a {
  float: left;
}

.post-index-filter>div.cat-item.cat-item-3>a {
  float: right;
}

.post-index-filter>div.current-cat a {
  background-color: #c3002f;
  -webkit-transition: background-color 0.25s ease-in-out;
  -moz-transition: background-color 0.25s ease-in-out;
  -o-transition: background-color 0.25s ease-in-out;
  -ms-transition: background-color 0.25s ease-in-out;
  transition: background-color 0.25s ease-in-out;
}




/* =Contact Page / Forms
-------------------------------------------------------------- */

.gform_wrapper input[type=submit] {
  border: 0px;
  background: #c3002f;
  color: #FFF;
  padding: 8px;
  transition: all 1s ease-in-out;
}

.gform_wrapper input[type=submit]:hover {
  background: #333;
  color: #fff;
}

.gform_wrapper .gform_footer {
  margin: 5px 0px !important;
  padding: 0px !important
}

.gform_wrapper .top_label .gfield_label {
  margin-bottom: 0px !important;
}

#gforms_confirmation_message_1 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #c3002f;
}

#contact-map {
  ;
  height: 450px;
  width: 100%;
}




/* =Accreditations
-------------------------------------------------------------- */

.cred-row {
  border-bottom: 1px solid #eee;
  min-height: 75px;
  height: auto;
  padding-top: 25px;
  overflow: auto;
}

.cred-title {
  color: #666;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1em;
}

.cred-download {
  float: right;
  background: #c3002f;
  color: #FFF;
  padding: 5px;
  transition: all 1s ease-in-out;
  margin-bottom: 5px;
}

.cred-download:hover {
  background: #333;
  color: #fff;
}




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

.sjr-footer {
  padding-bottom: 50px;
}

.sjgrouplogo {
  background: url('img/sj-roberts-group-logo.png') no-repeat;
  background-size: 110px;
  width: 110px;
  height: 55px;
  margin-top: 30px;
}

.jumpto {
  text-align: right;
  margin-top: 30px;
}

.jumpto p {
  margin-bottom: 0px;
}

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

.jumptologos {
  width: 100px;
  float: right;
}

.footernav {
  text-align: left;
  margin-top: 30px;
}

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

.lft-logo {
  background: url('img/lowfield-timber-frames-logo.png');
  width: 91px;
  height: 29px;
  margin-bottom: 15px;
  margin-left: auto;
  float: right;
  opacity: 1;
  display: inline-block;
  transition: all 0.5s ease-in-out;
}

.sjr-homes-logo {
  background: url('img/sj-roberts-homes-logo.png');
  width: 87px;
  height: 40px;
  margin-bottom: 15px;
  float: right;
  opacity: 1;
  display: inline-block;
  transition: all 0.5s ease-in-out;
  margin-left: auto;
}

.lft-logo a {
  display: block;
  cursor: pointer;
  width: 91px;
  height: 29px;
}

.sjr-homes-logo a {
  display: block;
  cursor: pointer;
  width: 87px;
  height: 40px;
}

.lft-logo:hover,
.sjr-homes-logo:hover {
  opacity: 0.5;
}

.address {
  margin-top: 30px;
}

.address p {
  line-height: 16px;
  margin-bottom: 6px;
}

body>div.container-fluid.nopad {
  padding-bottom: 30px;
}

.cred {
  margin-top: 15px;
}



/* =Post Pagination
-------------------------------------------------------------- */

.paginate {
  background: #FFF;
  height: 60px;
  margin-bottom: 15px;
}

.postpagination {
  float: right;
  font-family: 'Source Sans Pro', sans-serif;
}

.postpagination li a,
.postpagination li a:hover,
.postpagination li.active a,
.postpagination li.disabled {
  color: #fff;
  text-decoration: none;
}

.postpagination li {
  display: inline;
}

.postpagination li a,
.postpagination li a:hover,
.postpagination li.active a,
.postpagination li.disabled {
  background-color: #c3002f;
  /*border-radius: 3px;*/
  cursor: pointer;
  padding: 12px;
  padding: 0.75rem;
}

.postpagination li a:hover,
.postpagination li.active a {
  background-color: #666;
}




/* =Bootstrap 5 Col Grid hack
-------------------------------------------------------------- */

.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-xs-15 {
  width: 20%;
  float: left;
}

@media (min-width: 768px) {
  .col-sm-15 {
    width: 20%;
    float: left;
  }
}

@media (min-width: 992px) {
  .col-md-15 {
    width: 20%;
    float: left;
  }
}

@media (min-width: 1200px) {
  .col-lg-15 {
    width: 20%;
    float: left;
  }
}


.sjstrap {
  float: none;
  margin-left: auto;
  margin-right: auto;
}



/* =RESPONSIVE
-------------------------------------------------------------- */

@media (max-width : 1200px) {}

/* Medium Devices, Desktops */
@media (max-width : 992px) {}

/* Small Devices, Tablets */
@media (max-width : 767px) {
  .sjlogo {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }

  .sjstrap {
    width: 217px;
    float: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .menu li {
    padding-top: 5px;
  }

  #slider {
    height: auto;
  }

  #slider img {
    width: 100%;
    height: auto;
  }

  .jumptologos {
    margin-top: -320px;
  }

  .address {
    text-align: center;
  }

  .sjgrouplogo {
    margin-left: auto;
    margin-right: auto;
  }

  #contact-map {
    height: 290px;

  }

  nav>.container {
    min-height: 115px;
    background: none;
    padding-bottom: 10px;
  }

  .cred {
    text-align: center;
  }
}

/* Extra Small Devices, Phones */
@media (max-width : 480px) {}

/* Custom, iPhone Retina */
@media (max-width : 320px) {}