/*
Theme Name: RGR 2.0
  Author: Chris Bewick
  Description: Updated to work with mobile browsers

*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/*
  960 Grid System ~ Core CSS.
  Learn more ~ http://960.gs/

  Licensed under GPL and MIT.
*/

/*
  Forces backgrounds to span full width,
  even if there is horizontal scrolling.
  Increase this if your layout is wider.

  Note: IE6 works fine without this fix.
*/

body {
  padding-top:100px;
}



/* `Container
----------------------------------------------------------------------------------------------------*/

.container_12 {
  margin-left: auto;
  margin-right: auto;
  width: 960px;
}

/* `Grid >> Global
----------------------------------------------------------------------------------------------------*/

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
  display: inline;
  float: left;
  margin-left: 1.041666667%;
  margin-right: 1.041666667%;
}

.push_1, .pull_1,
.push_2, .pull_2,
.push_3, .pull_3,
.push_4, .pull_4,
.push_5, .pull_5,
.push_6, .pull_6,
.push_7, .pull_7,
.push_8, .pull_8,
.push_9, .pull_9,
.push_10, .pull_10,
.push_11, .pull_11 {
  position: relative;
}

/* `Grid >> Children (Alpha ~ First, Omega ~ Last)
----------------------------------------------------------------------------------------------------*/

.alpha {
  margin-left: 0;
}

.omega {
  margin-right: 0;
}

/* `Grid >> 12 Columns
----------------------------------------------------------------------------------------------------*/

.container_12 .grid_1 {
  width: 6.25%;
}

.container_12 .grid_2 {
  width: 14.58333333%;
}

.container_12 .grid_3 {
  width: 22.91666667%;
}

.container_12 .grid_4 {
  width: 31.25%;
}

.container_12 .grid_5 {
  width: 39.58333333%;
}

.container_12 .grid_6 {
  width: 47.91666667%;
}

.container_12 .grid_7 {
  width: 56.25%;
}

.container_12 .grid_8 {
  width: 64.58333333%;
}

.container_12 .grid_9 {
  width: 72.91666667%;
}

.container_12 .grid_10 {
  width: 81.25%;
}

.container_12 .grid_11 {
  width: 89.58333333%;
}

.container_12 .grid_12 {
  width: 97.91666667%;
}

/* `Prefix Extra Space >> 12 Columns
----------------------------------------------------------------------------------------------------*/

.container_12 .prefix_1 {
  padding-left: 8.333333333%;
}

.container_12 .prefix_2 {
  padding-left: 16.66666667%;
}

.container_12 .prefix_3 {
  padding-left: 25%;
}

.container_12 .prefix_4 {
  padding-left: 33.33333333%;
}

.container_12 .prefix_5 {
  padding-left: 41.66666667%;
}

.container_12 .prefix_6 {
  padding-left: 50%;
}

.container_12 .prefix_7 {
  padding-left: 58.33%333333;
}

.container_12 .prefix_8 {
  padding-left: 66.66666667%;
}

.container_12 .prefix_9 {
  padding-left: 75%;
}

.container_12 .prefix_10 {
  padding-left: 83.33333333%;
}

.container_12 .prefix_11 {
  padding-left: 91.66666667%;
}

/* `Suffix Extra Space >> 12 Columns
----------------------------------------------------------------------------------------------------*/

.container_12 .suffix_1 {
  padding-right: 8.333333333%;
}

.container_12 .suffix_2 {
  padding-right: 16.66666667%;
}

.container_12 .suffix_3 {
  padding-right: 25%;
}

.container_12 .suffix_4 {
  padding-right: 33.33333333%;
}

.container_12 .suffix_5 {
  padding-right: 41.66666667%;
}

.container_12 .suffix_6 {
  padding-right: 50%;
}

.container_12 .suffix_7 {
  padding-right: 58.33333333%;
}

.container_12 .suffix_8 {
  padding-right: 66.66666667%;
}

.container_12 .suffix_9 {
  padding-right: 75%;
}

.container_12 .suffix_10 {
  padding-right: 83.33333333%;
}

.container_12 .suffix_11 {
  padding-right: 91.66666667;
}

/* `Push Space >> 12 Columns
----------------------------------------------------------------------------------------------------*/

.container_12 .push_1 {
  left: 80px;
}

.container_12 .push_2 {
  left: 160px;
}

.container_12 .push_3 {
  left: 240px;
}

.container_12 .push_4 {
  left: 320px;
}

.container_12 .push_5 {
  left: 400px;
}

.container_12 .push_6 {
  left: 480px;
}

.container_12 .push_7 {
  left: 560px;
}

.container_12 .push_8 {
  left: 640px;
}

.container_12 .push_9 {
  left: 720px;
}

.container_12 .push_10 {
  left: 800px;
}

.container_12 .push_11 {
  left: 880px;
}

/* `Pull Space >> 12 Columns
----------------------------------------------------------------------------------------------------*/

.container_12 .pull_1 {
  left: -80px;
}

.container_12 .pull_2 {
  left: -160px;
}

.container_12 .pull_3 {
  left: -240px;
}

.container_12 .pull_4 {
  left: -320px;
}

.container_12 .pull_5 {
  left: -400px;
}

.container_12 .pull_6 {
  left: -480px;
}

.container_12 .pull_7 {
  left: -560px;
}

.container_12 .pull_8 {
  left: -640px;
}

.container_12 .pull_9 {
  left: -720px;
}

.container_12 .pull_10 {
  left: -800px;
}

.container_12 .pull_11 {
  left: -880px;
}

/* `Clear Floated Elements
----------------------------------------------------------------------------------------------------*/

/* http://sonspring.com/journal/clearing-floats */

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

/* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified */

.clearfix:before,
.clearfix:after,
.container_12:before,
.container_12:after {
  content: '.';
  display: block;
  overflow: hidden;
  visibility: hidden;
  font-size: 0;
  line-height: 0;
  width: 0;
  height: 0;
}

.clearfix:after,
.container_12:after {
  clear: both;
}

/*
  The following zoom:1 rule is specifically for IE6 + IE7.
  Move to separate stylesheet if invalid CSS is a problem.
*/

.clearfix,
.container_12 {
  zoom: 1;
}

html {
  font-size: 62.5%;
  line-height: 1.4;
  font-family: 'Raleway', sans-serif;
  font-weight: light;
}

body {
  background: #fff;
  color: #3d3c3c;
}

.wrapper{
  width:960px;
  margin:0 auto;
  position: relative;
}

.header{
  background: #000;
}

.header .wrapper{
  height:400px;
  position: relative;
}

.header-grad{
  background: url(images/header-grad.png) 50% 0% no-repeat;
}




.header-tagline{
  background: url(images/tagline.png) top left no-repeat;
  height:219px;
  width:175px;
  display: block;
  position: absolute;
  top:90px;
  right:100px;
  text-indent: 3000px;
  white-space: nowrap;
  overflow: hidden;
}


.nav{
  background: #1B3455;
  text-align: right;
  position: fixed;
  top:0;
  left:0;
  right:0;
  z-index:999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
  min-height: 100px;
}

.is-fixed .header{
  padding-bottom: 60px;
}

.nav-list{
  text-align: right;
  
}

.page_item {
  display: inline-block;
}

.page_item a{
  display: inline-block;
  line-height: 100px;
  padding:0 18px;
  text-decoration: none;
  font-size:1.4rem;
  font-weight: 400;
  color:rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.is-accessory .page-item-12 a,
.is-work .page-item-14 a,
.is-repair .page-item-10 a{
    color:rgb(255,255,255);
  font-weight: 600;
}



.current_page_item a{
  color:rgb(255,255,255);
  font-weight: 600;
}

.header-logo{
  overflow:hidden;
  text-indent:4000px;
  display: block;
  height: 60px;
  width:94px;
  background:url(images/rgr-logo.svg) top left no-repeat;
    background-size: 94px 60px;

  position: absolute;
  top:20px;
  white-space: nowrap;
  left:18px;
}

.header-burger{
  display: none;
  text-indent:4000px;
  white-space: nowrap;
  height:60px;
  width:60px;
  position: absolute;
  top: 0px;
  left: 0;
}


.homepage-hero{
  min-height:370px;
  background-color:#27677a;
	background-image: url(images/bg-colours.png);
	background-size:cover;
	background-position:50% 0%;
	background-repeat:no-repeat;
	/*margin-top:68px;*/
	position:relative;
  overflow:hidden;
}

.homepage-hero img{
  height:100%;
	position:absolute;
	top:0;
	left:50%;
	margin-left:-1000px;
}

.homepage-hero-mobile{
  width:100%;
  height:auto;
  display: none;
}

.homepage-hero-black{
	
}




p{
  font-size: 1.4rem;
  line-height: 2.2rem;
  margin-bottom:2.2rem;
  color:#4A4A4A;
  font-weight: 400;
}



table{
  width:100%;
  margin:50px 0px 50px;
}

th, td{
  font-size: 1.4rem;
  line-height: 2.2rem;
  margin-bottom:2.2rem;
  color:#4A4A4A;
  font-weight: 400;
  padding:10px;
}


th:nth-of-type(3n), td:nth-of-type(3n){
  padding-right:0;
}


tr:nth-of-type(2n-1){
  background:rgba(27,52,85,0.05);
}


.content a, .content a:link, .content a:visited{
  color:#274A7A;
  text-decoration: none;
}

.content a:hover, .content a:active{
  text-decoration: underline;

}

.page-title{
  font-size: 2.7rem;
  color:#274A7A;
  font-weight:500;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom:2.7rem;
  line-height:3.4rem;
}


.accessory-meta{
  float: left;
  min-height:500px;
  padding-left:360px;
  padding-bottom:60px;
}

.accessoryList-item{
  width:30.6666666667%;
  float:left;
  margin-bottom:90px;
  margin-right:4%;
}

.accessoryList-item:nth-of-type(3n){
  margin-right:0;
}


.accessoryList-heroImg{
  display: block;
  width:100%;
  max-width: 220px;
  height:auto;
  margin:0 auto 18px;
}

.accessory-button{
  color:#204558;
  font-size:1.4rem;
  padding:7px 25px;
  display: inline-block;
  border:1px solid #7ea2b5;
  text-decoration: none;
  border-radius: 10px;
  letter-spacing: 2px;
}

.accessoryList{
  margin-top:50px;
}

.accessory-brand{
  font-weight:600;
  font-size: 14px;
  color: #9B9B9B;
  letter-spacing: 1.4px;
  margin-bottom:3px;
}

.accessory-vat{
  color:#999;
  font-weight: 400;
  font-size:90%;
}



.accessory-name, .accessory-name a{
  font-weight:600;
  font-size: 1.8rem;
  color: #274A7A;
  letter-spacing: 1.4px;
  line-height: 2.2rem;
  text-transform: uppercase;
  text-decoration: none;
}

.accessory-name a:hover{
  text-decoration: underline;
}

.accessory-price{
  font-weight:600!important;
  font-size: 1.4rem!important;
  color: #4A4A4A;
  letter-spacing: 0.6px;
  margin-bottom:0;
}

#featuredImage{
  cursor: pointer;
}

.accessory-heroImg{
  display: block;
}
.accessory-brand{
  text-transform: uppercase;
}

.accessory-single-title{
  margin-bottom:23px;
}


.accessory-single-brand{
  font-weight:600;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom:10px!important;
  color: #9B9B9B;
  letter-spacing: 1.4px;
  margin-bottom:13px!important;
}

.accessory-single-price{
font-weight: 600;
font-size: 2.3rem;
color: #4A4A4A;
  letter-spacing: 0.6px;
line-height: 2.6rem;
margin-bottom:37px;
}



a.button, a.button:link, a.button:visited{
  display: inline-block;
  text-decoration: none;
  font-size: 1.6rem;
  color: #FFFFFF;
  line-height: 4.5rem;
  background: #274A7A;
  border-radius: 10px;
  padding: 0 30px;
}

a.button:hover, a.button:active{
  background: #1B3455;

}

.accessory-gallery{
  width:310px;
  margin-right:50px;
  position: absolute;
}


#gallery-1{
  margin:30px auto!important;
}

#gallery-1 .gallery-item {
  width:70px!important;
  margin:0 10px 10px 0!important;
}

#gallery-1 .gallery-item:nth-of-type(4n) {
  width:70px!important;
  margin:0 0px 10px 0!important;
}

.gallery img{
  border:0!important;
}

#gallery-1 .gallery-caption{
  display:none;
}


.contact-post{
  margin-bottom:40px;
}

.contact-map{
  margin-top:40px;
}

.latest-work-img{
  position: absolute;
  top:0;
  left:0;
}

.latest-work-items{
  margin-top:50px;
}


.latest-work-item{
  padding-left:250px;
  position: relative;
  min-height: 200px;
  margin-bottom: 50px;
}

.latest-work-item-date{
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.4rem;
  color: #9B9B9B;
  letter-spacing: 1.4px;
  line-height: 2.6rem;
  margin-bottom:8px!important;

}

.latest-work-item-title{
  font-weight: 600;
  font-size: 2.3rem;
  letter-spacing: 2.3px;
  line-height: 2.6rem;
  text-transform: uppercase;
  margin-bottom:7px;
}

.latest-work-item-title a{
  color: #274A7A!important;
  text-decoration: none;
}


.latest-work-item-title a:hover{
  text-decoration: underline;
}

.latest-work-synopsis{
  font-weight: 500;
font-size: 1.4rem;
color: #4A4A4A;
letter-spacing: 0;
line-height: 2.3rem;
}

.promo{
  width:80%;
  padding:150px 0 170px;
  margin: 0 auto;
  clear:both;
}

.promo-left{
  width:45.83333333%;
  min-width:280px;
  margin-right:8.3333%;
  float:left;
  margin-bottom:30px;
}

.promo-right{
  width:45.83333333%;
  min-width:280px;
  float:left;
}

.button-promo, .repair-button{
  margin-top:11px;
}

.repairs-promo{
  background: black;
  background-size:cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.repairs-promo .page-title{
  color:#fff;
}

.repairs-promo p{
  color:#fff;
}





.footer{
  background:#1B3455;  
  padding:150px 0 200px;
  text-align: center;
  font-size:1.4rem;
  line-height:140%;
  color:#5f6a72;
}

.footer-title{
  font-size: 2.7rem;
  color:#fff;
  font-weight:500;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom:2.7rem;
}

.footer-details{
  width:62.5%;
  max-width: 600px;
  margin:0 auto;
  font-size:1.4rem;
  line-height: 2.0rem;
  color:rgba(255,255,255,0.6);
  font-weight:400;
}

.footer-details a{
  color:rgba(255,255,255,0.6);
}

.footer-details p{
  color:rgba(255,255,255,0.6);
  margin-bottom:2.0rem;
}

.footer-left{
  width:45.83333333%;
  margin-right:8.3333%;
  float:left;
  text-align:right;
}

.footer-right{
  width:45.83333333%;
  float:left;
  text-align:left;
}

.footer-social-facebook{
  display: inline-block;
  height:38px;
  margin-left:15px;
  width:38px;
  background-image:url(images/Facebook-48.png);
  text-indent: 3000px;
  overflow:hidden;
}

.footer-social-twitter{
  display: inline-block;
  height:38px;
  margin-left:15px;
  width:38px;
  background-image:url(images/Twitter-48.png);
  overflow:hidden;
  text-indent: 3000px;
}

.footer-social-instagram{
  display: inline-block;
  height:38px;
  margin-left:15px;
  width:38px;
  background-image:url(images/Instagram-48.png);
  overflow:hidden;
  text-indent: 3000px;
}

.homepage-hero{

}



.footer-promo{
  display: block;
}

.footer-module{
  display: block;
  border:1px solid #A4A2A2;
  text-decoration: none;
  color:#3d3c3c;
}

.footer-banner{
  height:240px;
  display: block;
}

.footer-heading{
  font-size:1.2rem;
  text-align: right;
  border-top:1px solid #A4A2A2;
  line-height:40px;
  padding:0 20px;
  text-transform: uppercase;
}

a:hover .footer-heading{
  background:#e5e9eb;
}

.footer-copyright{
  display: block;
  margin:0 auto;
}


.ig-item{
  height:98px!important;
  width:98px!important;
  padding:0!important;
  margin:0 8px 8px 0!important;
  float:left!important;
}

.ig-item:nth-of-type(3n){
  margin-right:0!important;
}

.ig-item img {
  width:98px;
  height:98px;
}


.rgr-wide{
  width:760px;
  margin:60px auto 120px;
}

.rgr-narrow{
  width:620px;
  margin:60px auto 120px;
}

.rgr-narrow-left{
  width:48%;
  margin-right:4%;
  float: left;
}

.rgr-narrow-right{
  width:48%;
  float:left;
}



.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 50px;
}

.column-small {
  display: flex;
  flex-direction: column;
  flex: 0 0 310px;
}

.column-big {
  display: flex;
  flex-direction: column;
  flex: 0 1 400px;
}

@media (max-width: 860px) {
	
  .column-big{
  	flex: 0 1 100%;  
  }

  .column-small{
  	margin:0 auto; 
  }

}


@media (max-width: 800px) {
	

  .promo-left{
    width: 100%;
    margin-right:0;
    margin: 0 auto 30px;
    float: none;
  }  
  .promo-right{
    width: 100%;
  }

  .promo-left img{
    width: 100%;
    max-width: 310px;
    height: auto;
  }

.rgr-wide{
  width:100%;
  margin:30px auto 60px;
}


.accessoryList-item{
  width:48%;
}

.accessoryList-item:nth-of-type(3n){
  margin-right:4%;
}

.accessoryList-item:nth-of-type(2n){
  margin-right:0;
}

.accessory-gallery{
  position: relative;
}
.accessory-meta{
  float: none;
  min-height:500px;
  padding-left:0px;
  padding-bottom:60px;
}


}



@media (max-width: 960px) {
  body{
    padding-top:60px;
  }

  .nav{
  min-height: 60px;
}


  .header-logo{
    top:4px;
    left:50%;
    margin-left:-39px;
    height: 50px;
    width:78px;
    background-size: 78px 50px;
  }

  .header-burger{
    display: block;
  }

  .burger1, .burger2, .burger3{
    display: block;
    background: #fff;
    height:3px;
    width:30px;
    position: absolute;
    top:28px;
    left:0px;
    opacity: 1;
    transform: translateY(0) rotate(0deg);
    transition:all ease-in-out .2s;
  }

  .burger1{
    transform:translateY(-12px);
  }

  .burger3{
    transform:translateY(12px);
  }  

  .is-showing-menu .burger1{
    transform: translateY(0px) rotate(45deg);
  }

  .is-showing-menu .burger3{
    transform: translateY(0px) rotate(-45deg);
  }  
  .is-showing-menu .burger2{
    opacity: 0
  }

  

  .wrapper{
    /*outline:4px solid green;*/
    width:90%;
    margin:0 auto;
    position: relative;
  }


  .nav-list{
    display: none;
    text-align: left;
    margin-top:60px;
    margin-bottom:30px;
  }

  .is-showing-menu .nav-list{
    display: block
  }

  .page_item{
    display: block;
  }

  .page_item a {
    line-height: 50px;
    padding:0;
  }
}

@media (max-width: 480px) {

  .promo{
    padding:60px 45px 60px;
  }

 .promo-left img{
    width: 70%;
    max-width: 310px;
    height: auto;
  }

  .homepage-hero{
 display: none;
}


.homepage-hero-mobile{
  display: block;
}

  .wrapper{
    /*outline:4px solid green;*/
    width:90%;
    margin:0 auto;
    position: relative;
  }

  .footer{
    padding:100px 0;
  }
.footer-left, .footer-right{
  text-align: left;
  width: 100%;
  margin:0;
}

.footer-details{
  width:80%;
}


.contact-post{
  width: 100%!important;
  padding:0!important;
}

.accessoryList-item{
  width:100%;
  margin-right:0;
}

.accessoryList-item:nth-of-type(3n){
  margin-right:0;
}

.accessoryList-item:nth-of-type(2n){
  margin-right:0;
}



.latest-work-item{
  padding-left:0px;
  position: static;
  min-height: 200px;
  margin-bottom: 50px;
  padding-bottom: 28px;
  border-bottom :1px solid #ddd;
}

.latest-work-item:last-of-type{
  border: none;
}

.latest-work-img{
  position: static;
  margin-bottom:20px;
}

}

