@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700|Raleway:300);

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

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

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Open Sans", sans-serif;
}

a {
  text-decoration: none;
}
img {
  max-width: 100%;
}

/* Helpers */

.orange {
  background-color: rgba(245,130,52,100);
}
.font--white {
  color: #fff;
}
.font--light {
  font-weight: 300;
}
.font--bold {
  font-weight: 700;
}
.text--right {
  text-align: right;
}
.text--left {
  text-align: left;
}
.text--center {
  text-align: center;
}
.flex-ctn {
  display: flex;
}
.hidden {
  display: none;
  opacity: 0;
  visibility: hidden;
}
.no-mobile {
  display: none;
  opacity: 0;
  visibility: hidden;
}
.mobile-only {
  display: block;
  opacity: 1;
  visibility: visible;
}
@media screen and (min-width: 1025px) {
  .no-mobile {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  .mobile-only {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
}

header {
  background-color: #fff;
  display: block;
  width: 100%;
  height: 60px;
  position: fixed;
  top:0px;
  z-index: 9003;
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
}

.logo {
  position: absolute;
  left: 0%;
  top: 0%;
  /*-webkit-transform: translate(-50%, -50%);*/
          /*transform: translate(-50%, -50%);*/
  margin: 0px auto;
  display: block;
  transition: left 0.3s ease-out;
  max-height: 60px;
}




.logo.nav-visible {
  right: auto;
}
.nav {
  position: absolute;
  transition: right 0.3s ease-out;
}
.nav ul li {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin: 0em;
}

.nav a {
  display: block;
  line-height: 60px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Raleway';
}
.nav__trigger {
  border: 0px solid #000;
/*   border-radius: 6px; */
  width: 40px;
  height: 30px;
  overflow: hidden;
  white-space: nowrap;
  position: fixed;
  top: 30px;
  right: 3rem;
  -webkit-transform: translate(0%, -50%);
          transform: translate(0%, -50%);
/*   background: rgba(255,255,255,1); */
  transition: background 0.15s 0.15s ease-out;
}
.nav__trigger span {
  position: absolute;
  top: 50%;
  right: 50%;
  -webkit-transform: translate(50%,-50%);
          transform: translate(50%,-50%);
  
}
.nav__trigger span,
.nav__trigger span::before,
.nav__trigger span::after {
  position: absolute;
  display: inline-block;
  height: 5px;
  width: 36px;
  background: #000;
  border-radius: 6px;
  transition: background 0.15s 0.15s ease-out;
}
.nav__trigger span::before {
  top: -12px;
}
.nav__trigger span::after {
  top: 12px;
}
.nav__trigger span::before,
.nav__trigger span::after {
  content:'';
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transform-origin: 0% 50%;
          transform-origin: 0% 50%;
  transition: -webkit-transform 0.15s 0.15s ease-out;
  transition: transform 0.15s 0.15s ease-out;
  transition: transform 0.15s 0.15s ease-out, -webkit-transform 0.15s 0.15s ease-out;
}





nav.nav-visible {
  right: 320px !important;
}
.nav-visible .nav__trigger {
/*   background: rgba(0,0,0,1); */
}
.nav-visible .nav__trigger span {
  background: rgba(0,0,0,0);
}
.nav-visible .nav__trigger span::before,
.nav-visible .nav__trigger span::after {
  background: rgba(0,0,0,1);
}
.nav-visible .nav__trigger span::before {
  -webkit-transform: translateX(4.5px) translateY(-0.5px) rotate(45deg);
          transform: translateX(4.5px) translateY(-0.5px) rotate(45deg);
}
.nav-visible .nav__trigger span::after {
  -webkit-transform: translateX(4.5px) translateY(0.5px) rotate(-45deg);
          transform: translateX(4.5px) translateY(0.5px) rotate(-45deg);
}
.nav__subnav {
  width: 100%;
  height: 100%;
  background: #333;
  position: fixed;
  z-index: 9002;
  top: 0;
  right: -100%;
  padding: 1em;
  padding-top: calc(90px + 1em);
  transition: right 0.3s ease-out;
  box-shadow: ;
}
.nav__subnav li {
  width: 100%;
}
.nav-visible .nav__subnav {
  right: 0;
  padding: 1em;
  padding-top: calc(90px + 1em);
}
.nav-visible main {
  margin-left:-400px;
}
.nav__subnav a {
  font-size: 1.5em;
  line-height: 2em;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.nav ul li.social {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.5em;
}
.nav ul li.social a {
  flex-basis: 20%;
}
.nav ul li.social img {
  width: 24px;
}
@media screen and (min-width: 1025px) {
  .nav ul li.social {
    margin-top: 1em;
  }

  .nav ul li.social img {
    width: 30px;
  }
  .nav ul li.social a {
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

main {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 60px;
  transition: margin-left 0.3s ease-out;
}
.featured--slider {
  width: 100%;
  display: block;
  position: relative;
  height: 360px;
}
div.slide {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 360px;
  
}

div.slide:nth-of-type(1) {
  background-image: url('/img/img1.jpg');
  background-position: 10% 50%;
}
div.slide:nth-of-type(2) {
  background-image: url('/img/img2.jpg');
  background-position: 50% 65%;
}
div.slide:nth-of-type(3) {
  background-image: url('/img/img3.jpg');
  background-position: 50% 75%;
}

aside {
  display: block;
}
.image-bg {
  width: 100%;
  height: calc((100vh / 3) * 2);
  margin: 0;
  padding: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}


/* Mobile Background Images */

#aside01 .image-bg {
  background-image: url('/img/img1-mobile.jpg');
}
#aside02 .image-bg {
  background-image: url('/img/img2-mobile.jpg');
}
#aside03 .image-bg {
  background-image: url('/img/img3-mobile.jpg');
}


@media screen and (min-width: 421px) {

  /* Tab Background Images */

  #aside01 .image-bg {
    background-image: url('/img/img1-tab.jpg');
  }
  #aside02 .image-bg {
    background-image: url('/img/img2-tab.jpg');
  }
  #aside03 .image-bg {
    background-image: url('/img/img3-tab.jpg');
  }


}


@media screen and (min-width: 1025px) {

  /* Desktop Background Images */
  .image-bg {
    background-attachment: fixed;
  }

  #aside01 .image-bg {
    background-image: url('/img/img1.jpg');
  }
  #aside02 .image-bg {
    background-image: url('/img/img2.jpg');
  }
  #aside03 .image-bg {
    background-image: url('/img/img3.jpg');
  }
  div.slide:nth-of-type(1) {
    background-image: url('/img/img1.jpg');
    background-position: 50% 50%;
  }
  div.slide:nth-of-type(2) {
    background-image: url('/img/img2.jpg');
    background-position: 50% 65%;
  }
  div.slide:nth-of-type(3) {
    background-image: url('/img/img3.jpg');
    background-position: 50% 75%;
  }


}


@media screen and (min-width: 1920px) {

  /* XL Screen Background Images */

  #aside01 .image-bg {
    background-image: url('/img/img1-XL.jpg');
  }
  #aside02 .image-bg {
    background-image: url('/img/img2-XL.jpg');
  }
  #aside03 .image-bg {
    background-image: url('/img/img3-XL.jpg');
  }


}


footer {
  position: relative;
  width: 100%;
  border-top: 1px solid #000;
  display: flex;
  flex-direction: column;
  padding: 0.25em 0.25em 0.5em 0.25em;
  transition: left 0.3s ease-out;
  background-color: #333;
}
footer div {
  width: 100%;
  display: block;
  color: #fff;
  margin: 0 auto;
  text-align: center;
}
.copyright-ctn {
  border-top: 1px solid #fff;
  justify-content: space-between;
  padding-top: 0.5em;
}
#copyright-text {
  text-align: left;
  font-size: 0.75em;
  font-weight: 300;
  padding: 0px;
  width: 75%;
  line-height: 1.2em;
}
footer img {
  max-height: 21px;
}

#contact--trigger {
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
  background-color: rgba(245,130,52,100);
  padding: 15px;
  border-radius: 50%;
  border: 4px solid #fff;
  position: fixed;
  bottom: 3vh;
  right: 50%;
  -webkit-transform: translate(50%, 0%);
  transform: translate(50%, 0%);
  z-index: 9001;
}
#contact--trigger img {
  height: 30px;
}

/* FORM */
#contact-modal {
  width: 300px;
  padding: 1em 0.5em;
  margin: 0px;
}


.modal h3 {
  margin: 0 auto;
  margin-bottom: 0.5em;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  text-align: center;
  font-weight: 300;
  font-size: 1.75em;
  text-transform: uppercase;
  width: 100%;
  border-bottom: 1px solid #000;
}
.modal div.name, div.email, div.tel, div.message {
  position: relative;
}
.modal input, .modal textarea {
  position: relative;
  border-radius: 3px;
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
  outline: none;
  padding: 0.25em;
  font-size: 1em;
  margin: 6px 0px;
  border: 1px solid #DDDDDD;
  width: 100%;
}
.modal label {
  font-size: 0.7em;
  font-weight: bold;
  color: #444;
}
.modal input:focus, .modal textarea:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  border: 1px solid rgba(81, 203, 238, 1);
}
.modal form input[type=Submit] {
  width: 100%;
  margin: 0.5em auto 0 auto;
  transition: 0.2s background ease-in-out;
  color: #fff;
  border: none;
  text-align: center;
  text-transform: uppercase;
  border-radius: 3px;
  background: #f58233;
  padding: 1em;
}
.modal form input[type=Submit]:hover {
  background: #666;
}
.modal form input[type=Submit]:focus {
  outline: none;
}
.button {
  transition: 0.2s background ease-in-out;
  color: #fff;
  border: none;
  text-align: center;
  border-radius: 3px;
  background: #f58233;
  font-size: 100%;
}
.button:hover {
  background: #666;
}


/* Slick Slider Overrides */
.slick-next:before, .slick-prev:before {
  font-size: 30px;
  
  color: #fff;
}
.slick-prev:before {
/*   content: '⟵'; */
/*   left: 30px; */
}
.slick-next:before {
/*   content: '⟶'; */
/*   right: 30px; */
}
.slick-next, .slick-prev {
  width: 30px;
  height: 30px;
  z-index: 9000;
}
.slick-prev {
  left: 30px;
  right: auto;
}
.slick-next {
  right: 30px;
}
.slick-dots {
  bottom: 15px;
}
.slick-dots li button:before {
  color: #fff;
  opacity: 0.6;
}
.slick-dots li.slick-active button:before {
  color:#fff;
  opacity: 0.95;
}
.slick-dotted.slick-slider {
    margin-bottom: 0px;
}

section {
  display: block;
  padding: 5em 1em;
}
section h2 {
  margin: 0 auto;
  margin-bottom: 1.25em;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  text-align: center;
  font-weight: 300;
  font-size: 1.75em;
  text-transform: uppercase;
  width: 100%;
  border-bottom: 1px solid #000;
}


/* Sales Section */

.icon-bg {
  background-color: #666;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
}
.icon-bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
}
#sales .flex-ctn {
  margin-top: 0em;
  justify-content: space-between;
  flex-direction: column;
}
#sales article {
  margin: 0em 0em 3em 0em;
}
#sales h3 {
  text-align: center;
  font-weight: 300;
  font-size: 1.5em;
  margin: 1.25em auto 0.75em auto;
}
#sales p {
  max-width: 400px;
  line-height: 1.25em;
  font-size: 1em;
  text-align: center;
  display: block;
}

#sales a {
  padding: 1em 1.5em;
  border-radius: 3px;
  background-color: rgba(245,130,52,100);
  color: #fff;
  display: block;
  margin: 3em auto 0 auto;
  text-align: center;
  width: 200px;
}

#flex-ctn article {
  margin: 0em 1em 3em 1em;
}


#featured-gallery div {
  display: flex;
  padding: 0em;
  justify-content: space-around;
  margin-top: 0em;
  flex-direction: column;
}

#featured-gallery a {
  margin: 0em 0.5em 3em 0.5em;
  background-size: cover;
  background-repeat: no-repeat;
  width: calc(96%);
  height: 180px;
  position: relative;
  overflow: hidden;
}
#featured-gallery a:nth-of-type(1) {
  background-image: url('https://aaronletourneau.ca/rockwoodgaragedoors/img/project1-2.jpg');
  background-position: 40% 50%;
}
#featured-gallery a:nth-of-type(2) {
  background-image: url('https://aaronletourneau.ca/rockwoodgaragedoors/img/project2-2.jpg');
  background-position: 30% 50%;
}
#featured-gallery a:nth-of-type(3) {
  background-image: url('https://aaronletourneau.ca/rockwoodgaragedoors/img/project3-2.jpg');
  background-position: 80% 50%;
}
#featured-gallery a:nth-of-type(4) {
  background-image: url('https://aaronletourneau.ca/rockwoodgaragedoors/img/project4-2.jpg');
  background-position: 80% 50%;
}
.text--link {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0,0,0,0.3);
  padding: 1em 2em;
  color: #fff;
}
.image-label {
  font-weight: 600;
  color: #fff !important;
  text-shadow: 0px 2px 3px #000000;
  text-transform: uppercase;
}

#featured-gallery a p {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5em;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
/*     opacity: 0; */
    transition: all .20s;
}
#featured-gallery a:hover p {
/*   opacity: 1; */
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
}


/* Brands Section */
#brands .flex-ctn {
  align-items: center;
  align-content: center;
  flex-direction: column;
}
#brands article {
  width: calc(96%);
  text-align: center;
  padding: 1em;
}
#brands img {
  width: calc(80%);
}


#gallery > div {
/*   max-width: 1280px; */
  margin: 0 auto;
/*   padding: 1em 2em; */
}
#gallery ul {
  display: flexbox;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#gallery ul li {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
/*   width: 33.333333333%; */
  width: calc(100%);
  margin: 0%;
/*   box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.45); */
/*   border: 15px solid #fff; */
}
#gallery ul li.item a {
  outline: none;
}
#gallery ul li.item:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color .15s;
}
#gallery ul li.item figure {
  display: block;
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
#gallery ul li.item figure img {
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 0;
  -webkit-transform: scale(0.5);
          transform: scale(0.5);
  transition: all .20s;
}
#gallery ul li.item figure figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5em;
  -webkit-transform: translateY(50%);
          transform: translateY(50%);
  opacity: 0;
  transition: all .20s;
}
#gallery ul li.item figure figcaption h4 {
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  padding-bottom: 0.25em;
}
#gallery ul li.item figure figcaption p {
  color: #fff;
  font-size: 0.88em;
  font-weight: 200;  
}
#gallery ul li.item:hover figure img {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
}
#gallery ul li.item:hover figure figcaption {
/*   opacity: 0; */
  opacity: 1;
/*   -webkit-transform: translateY(50%); */
/*           transform: translateY(50%); */
  -webkit-transform: translateY(0%);
          transform: translateY(0%);
}
#gallery ul li.item:hover:before {
  background-color: rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 800px) {
  #gallery ul li.item {
    width: 50%;
    width: calc((100% - 4%) / 2);
  }
}
@media screen and (max-width: 640px) {
  #gallery ul li.item {
    width: 100%;
    margin-bottom: 1em;
  }
}



/* Grid */
.wrapper {
/*   max-width: 1440px; */
  width: 95%;
  margin-left: auto;
  margin-right: auto;
/*   background: #ccc; */
  padding-bottom: 2.85714%;
}
.wrapper:after {
  content: " ";
  display: block;
  clear: both;
}

.masonry__column {
  width: 97.14286%;
}

.masonry__gutter {
  width: 2.85714%;
}

.masonry__item {
  width: 97.14286%;
  margin-top: 2.85714%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  height: 180px;
}

.fancybox-button--share{
  display: none;
}



  #aside02 {
    display: none;
    opacity: 0;
    visibility: hidden;
  }






@media screen and (min-width: 420px) {
  header {
    height: 90px;
  }
  .logo {
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    height: 81px;
    max-height: 81px;
  }
  .nav ul li {
    margin: 0 1em;
  }
  .nav a {
    line-height: 60px;
  }
  .nav__trigger {
    width: 60px;
    height: 60px;
    top: 45px;
    right: 3rem;
    -webkit-transform: translate(0%, -50%);
            transform: translate(0%, -50%);
  }
  .nav__trigger span {
    top: 50%;
    right: 50%;
    -webkit-transform: translate(50%,-50%);
            transform: translate(50%,-50%);
    
  }
  .nav__trigger span,
  .nav__trigger span::before,
  .nav__trigger span::after {
    height: 5px;
    width: 36px;
    border-radius: 6px;
  }
  .nav__trigger span::before {
    top: -12px;
  }
  .nav__trigger span::after {
    top: 12px;
  }
  .nav__trigger span::before,
  .nav__trigger span::after {
    content:'';
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    -webkit-transform-origin: 0% 50%;
            transform-origin: 0% 50%;
    transition: -webkit-transform 0.15s 0.15s ease-out;
    transition: transform 0.15s 0.15s ease-out;
    transition: transform 0.15s 0.15s ease-out, -webkit-transform 0.15s 0.15s ease-out;
  }
  .nav__subnav {
    width: 400px;
    right: -400px;
  }
  main {
    margin-top: 90px;
  }
  .featured--slider {
    width: 100%;
    height: 800px;
  }
  div.slide {
    height: 800px;
    
  }
  footer {
    padding: 1em;
  }
  .copyright-ctn {
    padding-top: 0.5em;
  }
  #copyright-text {
    padding: 1em 0 0 0;
    width: auto;
    line-height: 1.2em;
  }
  footer img {
    max-height: 24px;
  }
  #contact--trigger {
    padding: 18px;
    bottom: 33px;
    right: 1.5em;
  }

  #contact--trigger img {
    height: auto;
  }
  /* FORM */
  #contact-modal,
  #estimate-modal,
  #parts-modal,
  #service-modal {
    width: 700px;
    padding: 2em 1em;
  }
  section {
    display: block;
    padding: 6em 6em 9em 6em;
  }
  #gallery {
    padding: 6em 2em 9em 2em;
  }
  section h2 {
    margin-bottom: 1.25em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    font-size: 2.75em;
  }
  #sales .flex-ctn {
    margin-top: 3em;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #sales article {
    margin: 0em 0em 3em 0em;
    flex-basis: 50%;
    padding: 1em;
  }
  #sales p {
    font-size: 1.125em;
  }
  #flex-ctn article {
    margin: 0em;
  }
  #featured-gallery a {
    margin: 0em 0.5em 3em 0.5em;
  }
  #featured-gallery div {
    flex-direction: row;
  }

  #featured-gallery a {
    margin: 0em 0.5em 3em 0.5em;
    background-size: cover;
    background-repeat: no-repeat;
    width: calc(96% / 2);
    height: 320px;
  }
  /* Brands Section */
  #brands .flex-ctn {
    flex-direction: row;
  }
  #brands article {
    width: calc(96% / 3);
  }
  #brands img {
    width: calc(96% / 1.5);
  }

  .masonry__column {
    width: 97.14286%;
  }

  .masonry__gutter {
    width: 2.85714%;
  }

  .masonry__item {
    width: 97.14286%;
    margin-top: 2.85714%;
    height: 200px;
  }
  /* FORM */
  #contact-modal {
    margin: unset;
  }
}

/* Tablet Phone  */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 1000px) 
  and (orientation: landscape) {
    .logo {
      top: 0%;
      left: 0%;
      height: 81px;
      max-height: 54px;
    }
    header {
      height: 60px;
    }

    div.slide {
      height: calc(320px - 54px);
    }
    .nav-visible .nav__subnav {
      overflow: scroll;
    }
}
@media screen and (min-width: 768px) {
  .masonry__column {
    width: 22.85714%;
  }

  .masonry__gutter {
    width: 2.85714%;
  }

  .masonry__item {
    width: 22.85714%;
    height: 200px;
  }
  #contact--trigger {
    -webkit-transform: translate(0%, 0%);
            transform: translate(0%, 0%);
  }

  #brands img {
    width: calc(96% / 2);
  }
  #brands .flex-ctn {
    flex-direction: row;
  }
  .modal h3 {
    font-size: 2.75em;
  }
  .modal input, .modal textarea {
    padding: 0.5em;
    font-size: 1.25em;
  }
  .modal form input[type=Submit] {
    margin: 0.5em auto 0 auto;
    width: 200px;
  }

  #brands img {
    width: calc(96%);
  }
}


/* Tablet Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) {
    div.slide {
      height: 768px;
    }
}


@media screen and (min-width: 1025px) {

  #featured-gallery a {
    height: 480px;
  }

  #aside02 {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  #gallery {
    padding: 6em 6em 9em 6em;
  }
}







@media screen and (min-width: 1200px) {

  #sales article {
    flex-basis: 25%;
  }
  #brands img {
    width: calc(50%);
  }
  #contact--trigger {
    bottom: 36px;
  }
}












 



 



#virtual-garage a {
  padding: 1em 1.5em;
  border-radius: 3px;
/*   background-color: rgba(245,130,52,100); */
  background-color: #666;
  color: #fff;
  display: block;
  margin: 3em auto 0 auto;
  text-align: center;
  width: 200px;
}















/*.masonry__item:nth-child(3n+1) {
  height: 200px;
}
.masonry__item:nth-child(3n+2) {
  height: 400px;
}
.masonry__item:nth-child(3n+3) {
  height: 600px;
}*/

#gallery1 {
  background-image: url('https://aaronletourneau.ca/rockwoodgaragedoors/img/gallery1.jpg');
  height: 200px;
}
#gallery2 {
  background-image: url('https://aaronletourneau.ca/rockwoodgaragedoors/img/gallery2.jpg');
  height: 400px;
}
#gallery3 {
  background-image: url('https://aaronletourneau.ca/rockwoodgaragedoors/img/gallery3.jpg');
  height: 600px;
}
#gallery4 {
  background-image: url('https://aaronletourneau.ca/rockwoodgaragedoors/img/gallery4.jpg');
  height: 200px;
}
#gallery5 {
  background-image: url('https://aaronletourneau.ca/rockwoodgaragedoors/img/gallery5.jpg');
  height: 400px;
}
#gallery6 {
  background-image: url('https://aaronletourneau.ca/rockwoodgaragedoors/img/gallery6.jpg');
  height: 600px;
}
#gallery7 {
  background-image: url('https://aaronletourneau.ca/rockwoodgaragedoors/img/gallery7.jpg');
  height: 200px;
}
#gallery8 {
  background-image: url('https://aaronletourneau.ca/rockwoodgaragedoors/img/gallery8.jpg');
}


/* Before / After Slider */

img {
  max-width: 100%;
}

.image-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0em auto;
}

.image-container img {
  display: block;
}

.image-label {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #000;
  padding: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  transition: opacity 0.3s 0.7s, -webkit-transform 0.3s 0.7s;
  transition: transform 0.3s 0.7s, opacity 0.3s 0.7s;
  transition: transform 0.3s 0.7s, opacity 0.3s 0.7s, -webkit-transform 0.3s 0.7s;
}

.image-label.is-hidden {
  visibility: hidden;
}

.is-visible .image-label {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.resize-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  /* Force Hardware Acceleration in WebKit */
  
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.resize-img img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}

.resize-img .image-label {
  right: auto;
  left: 0;
}

.is-visible .resize-img {
  width: 50%;
  /* bounce in animation of the modified image */
  
  -webkit-animation: bounce-in 0.7s;
  animation: bounce-in 0.7s;
}
.fancybox-slide>* {
  padding: 0;
}

@-webkit-keyframes bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}

@keyframes bounce-in {
  0% {
    width: 0;
  }
  60% {
    width: 55%;
  }
  100% {
    width: 50%;
  }
}

.handle {
  position: absolute;
  height: 44px;
  width: 44px;
  /* center the element */
  
  left: 50%;
  top: 50%;
  margin-left: -22px;
  margin-top: -22px;
  border-radius: 50%;
  background: #f58233 url("https://aaronletourneau.ca/rockwoodgaragedoors/img/arrows.svg") no-repeat center center;
  cursor: move;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0) scale(0);
  transform: translate3d(0, 0, 0) scale(0);
}

.handle.draggable {
  /* change background color when element is active */
  
  background-color: #666;
}

.is-visible .handle {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity 0s 0.7s, -webkit-transform 0.3s 0.7s;
  transition: transform 0.3s 0.7s, opacity 0s 0.7s;
  transition: transform 0.3s 0.7s, opacity 0s 0.7s, -webkit-transform 0.3s 0.7s;
}







/* Virtual Garage Section */

#virtual-garage > div {
  padding: 0 10em;
}
#virtual-garage img {
  max-height: 320px;
}
#virtual-garage p {
  padding: 1em 6em 1em 0em;
}










/* Overrides */

#brands a.invisible-txt {
  display: none;
  opacity: 0;
  visibility: hidden;
}

#brands .door-designer-btn {
  transition: 0.2s background ease-in-out;
  color: #444;
  border: 2px solid #f58233;
  border-radius: 0.125em;
  text-align: center;
  background: #fff;
  font-size: 1.2em;
  font-weight: 300;
}
#brands .door-designer-btn:hover {
  background: #f58233;
  color: #fff;
}


@media screen and (min-width: 420px) {

}



