/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    /*color: #222;*/
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/*  
   font-family:'DIN1451W01-Mittelschrif';
   font-family:'DIN 1451 W01 Engschrift';
*/

a, a img {
   outline: 0;
   border:none;
   border: 0;
   -webkit-tap-highlight-color: rgba(0,0,0,0);
}

input::-moz-focus-inner { 
  border: 0; 
}

html, body{
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-font-smoothing: antialiased;
  background: #fff;
  font-family: 'DIN1451W01-Mittelschrif';
  font-weight: normal;
}

a:hover, a:focus {
  color: ;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #fff; ;
  z-index: 100000;
}

#loading img{
   width: 32px;
   height: 33px;
   position: absolute;
   left: 50%;
   top: 50%; 
   margin-left: -16px;
   margin-top: -16.5px;
}

.row {
  max-width: 64em;
}

#header{
}


#logo img{
  display: block;
 /* margin: 0 0 0 140px;*/
}



h2, h3{
  font-family:'DIN1451W01-Mittelschrif';
  font-weight: 700;
  line-height: 1.2;
}

#contact h2, #contact h3{
  text-align: center;
}

#contact h2{
  padding-top: 10px;
  text-transform: uppercase;
}


#copy-left h2{
  font-family:'DIN1451W01-Mittelschrif';
  font-weight: 700;
  text-transform: uppercase;
}


h3{
  font-family:'DIN1451W01-Mittelschrif';
  font-weight: 500;
  line-height: 1.2;
}



p{
  line-height: 1;
  font-size: 14px;
  margin-bottom: 0.5rem;
}

/*animate the text*/

.fade-up {
  -webkit-animation-duration: 1.2s;
  -moz-animation-duration: 1.2s;
  -o-animation-duration: 1.2s;
  animation-duration: 1.2s;
  -webkit-animation-delay: 0.3s;
  -moz-animation-delay: 0.3s;
  -o-animation-delay: 0.3s;
  animation-delay:  0.3s;
}

/*format text on an angle*/

h2 span{
  display: block;
}

h2 span.line-two{
  margin-left: 35px;
}
/*
.center p{
  text-align: justify;
}

p.first{
  margin-left: -90px;
}

p.second{
  margin-left: -70px;
}

p.third{
  margin-left: -50px;
}

p.fourth{
  margin-left: 10px;
}

ul.routes{
  list-style-type: none;
  font-size: 14px;
  margin-left: -130px;
  text-align: justify;
}*/


/*location*/
.overlay-container {
  position: relative;
}

.overlay-container .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.4rem;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0);
  -webkit-transition:background-color 0.5s;
   -moz-transition:background-color 0.5s;
  transition:background-color 0.5s;
  text-align: center;
  font: 0/0 a;
}


.overlay-container .overlay:hover{
  background-color: rgba(0,0,0,0.5);
  -webkit-transition:background-color 0.5s;
  -moz-transition:background-color 0.5s;
  transition:background-color 0.5s;
}



.overlay-container .overlay:before {
  content: ' ';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.overlay-container .overlay span {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  padding: 20px;
}

.zoom span p.desc{
 color: #fff;
}


.overlay-container .overlay span p.desc{
    opacity: 0;
    font-size: 20px;
   -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,20px,0);
    transform: translate3d(0,20px,0);  
    text-transform: uppercase;
}


.overlay-container .overlay:hover span p.desc{
    opacity: 1;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);  
}


#baguetteBox-overlay {
  background-color: #fff;
  background-color: rgba(255,255,255,0.9);
}


.baguetteBox-button, .baguetteBox-button:hover {
  background-color: #fff;
  background-color: rgba(255,255,255,1);
  color: #ddd;
  font: 1.6em sans-serif;
  -webkit-transition: background-color .4s ease;
  transition: background-color .4s ease;
}

.team-member{
  text-transform: uppercase;
  font-weight: 700;
}


#team #copy-right{
  /*overflow-y: scroll;
  height: 170px;*/
  margin: 30px 0 10px;
}

/*custom scroll*/

.mCS-rounded-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, .mCS-rounded-dots-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
 /* background-color: #47cff3;
  background-color: rgba(71,207,243,1);*/
   background-color: #000;
  background-color: rgba(0,0,0,1);
}

#team #copy-right div{
  margin-bottom: 30px;
}

#copy-right{
  padding-right: 30px;
}




#enquiry{
  padding: 20px 30px;
}

#contact #copy{
   background: url('../img/copy-right-bg.png') no-repeat right bottom;
}


#submit {
  width: 100%;
  height: 37px;
  background: #000;
  color: #fff;
  border: 0;
  text-transform: uppercase;
  margin-top: 20px;
}

select {
  -webkit-appearance: none !important;
  background-color: #fff;
  text-transform: uppercase;
  font-size: 0.875rem;
}

label{
  text-transform: uppercase;
}

.special-select label.error {
  margin-top: -12px;
  margin-bottom: 10px;
}

#sent{
  padding: 20px 0 30px;
}

#error{
  color: #c60f13;
  text-align: center;
}

#thanks p{
  text-align: center;
}

#footer{
  margin: 5px auto 15px;
  line-height: 34px;
}


#footer-middle{
  text-align: center;
}

#buildform{
  display: inline-block;
  max-width: 120px;
  /*float: right;*/
  margin-top: 8px;
 /* margin-right: 10px;*/
}

#mcgrath{
  display: inline-block;
  margin-top: 8px;
  float: right;
}

#team #buildform{
  display: block;
  /*max-width: 70px;*/
  float: none;
  margin-bottom: 0;
  padding: 10px 0;
}

#team #design-inc{
  max-width: 100px;
  margin-bottom: 0;
  padding: 5px 0;
}

#team #kerry-corp{
  max-width: 200px;
  margin-bottom: 0;
  padding: 5px 0;
}

#colliers{
  max-width: 50px;
  float: right;
}

#privacy{
  /*text-align: center;*/
  line-height: 54px;
}

#privacy a{
  text-transform: uppercase;
  color: #000;
  font-size: 10px;
}

#privacy a:hover{
  color: #000;
}


.flexslider {
  margin: 0;
  background: #fff;
  border: 0;
  -webkit-border-radius: 0;
  -moz-border-radius:  0;
  -o-border-radius:  0;
  border-radius:  0;
  -webkit-box-shadow:  0;
  -moz-box-shadow:  0;
  -o-box-shadow:  0;
  box-shadow:  0;
}

.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 13px;
  height: 24px;
  margin: -12px 0 0;
}

.flex-direction-nav a.flex-next{
  background: url('../img/next.png') no-repeat;
}

.flex-direction-nav a.flex-prev{
  background: url('../img/prev.png') no-repeat;
}


.flex-control-nav {
  width: 100%;
  position: absolute;
  /*bottom: 0px;*/
  text-align: center;
  z-index: 10; 
  margin-bottom: 4px;
}

.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #fff;
  background: rgba(255,255,255,0.5);
  border: 1px solid #47cff3;
  cursor: pointer;
  text-indent: -9999px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: inset 0 0 3px rgba(255,255,255,0.3);
  -moz-box-shadow: inset 0 0 3px rgba(255,255,255,0.3);
  -o-box-shadow: inset 0 0 3px rgba(255,255,255,0.3);
  box-shadow: inset 0 0 3px rgba(255,255,255,0.3);
}

.flex-control-paging li a.flex-active {
  background: #47cff3;
  background: rgba(71,207,243,1);
  cursor: default;
}

.flex-control-paging li a:hover {
  background: #47cff3;
  background: rgba(71,207,243,0.7);
}


.flex-caption {
  /*width: 96%;*/
  padding: 8px 10px;
  position: absolute;
  left: 10px;
  bottom: 0;
  background: #000;
  background: rgba(0,0,0,.8);
  color: #fff;
  /*text-shadow: 0 -1px 0 rgba(0,0,0,.3);*/
  font-size: 14px;
  line-height: 18px;
  }






/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


/*Small screens Define mobile styles */

@media only screen { } 


/* max-width 640px, mobile-only styles, use when QAing mobile issues */
@media only screen and (max-width: 40em) { 
  /*body{
      background: #333;
    }*/

    br.rwb{
      display: block;
    }

  /* #menu is the original menu */
    #menu {
      display:none;
    }
    
    .slicknav_menu {
      display:block;
      background: #fff;
      padding: 0;
    }

    

    .slicknav_nav a {
      text-decoration: none;
      color: #000;
      text-transform: uppercase;
      text-align: center;
    }

    .slicknav_nav a:hover {
      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
      background: #fff;
      color: #47cff3;
    }

    .slicknav_nav li.active a{
      color: #47cff3;
    }

    #logo img{
      margin: 0 ;
      max-width: 250px;
    }

    #copy-left h2{
      font-size: 22px;
      margin-top: 30px;
    }

    #copy{
      background: url('../img/copy-right-bg.png') no-repeat center bottom;
    }

    #contact h2{
      font-size: 20px;
      margin-top: 30px;
    }

    #contact h3{
      text-align: center;
      font-size: 14px;
    }

    .flex-next, .flex-prev{
      display: none !important;
    }


    #footer{
      text-align: center;
    }


    #mcgrath, #buildform{
      margin: 8px auto;
      float: none;
    }




   
}


/*Medium screens min-width 641px, medium screens */
@media only screen and (min-width: 641px) {

    br.rwb{
      display: none;
    }

    #logo img{
      margin: 0 0 0 80px;
    }

    .slicknav_menu, #mobile-nav {
      display:none;
    }

    #menu{
        list-style:none;
        margin:-20px 0 0;
        padding:0;
        text-align: center;
        width: 100%;
    }

    #menu li{
        display: inline;
    }

    #menu li a{
        display:inline-block;
        width: 19%;
        margin:0;
        color: #fff;
        font-size: 12px;
        text-transform: uppercase;
        padding: 8px 10px;
        background: #000;/* Old browsers */
        /* Safari 4, Chrome 1-9, iOS 3.2-4.3, Android 2.1-3.0 */
        background:
          -webkit-gradient(linear, left top, right top, from(black) 50%, to(#47cff3) 100%);
        /* Safari 5.1, iOS 5.0-6.1, Chrome 10-25, Android 4.0-4.3 */
        background:
          -webkit-linear-gradient(right, black 50%, #47cff3 100%);
        /* Firefox 3.6 - 15 */
        background:
          -moz-linear-gradient(right, black 50%, #47cff3 100%);
        /* Opera 11.1 - 12 */
        background:
          -o-linear-gradient(right, black 50%, #47cff3 100%);
        /* Opera 15+, Chrome 25+, IE 10+, Firefox 16+, Safari 6.1+, iOS 7+, Android 4.4+ */
        background:
          linear-gradient(to right, black 50%, #47cff3 100%);
        /*background: linear-gradient(to right, black 50%, #47cff3 100%);*/
        background-size: 300% 500%;
        background-position:left bottom;
        transition:all 0.5s ease;
        border: 1px solid #fff;
    }

    #menu li a:hover{
      background-position:right bottom;
      color: #fff;
      border: 1px solid #000;
    }

    #menu li.active a{
      background-position:right bottom;
      color: #fff;
      border: 1px solid #000;
    }

    #copy{
      background: none;
    }

    #copy-left h2{
      /*line-height: 153px;*/
      font-size: 22px;
    }
   

    #copy-left{
      background: url('../img/copy-left-bg.png') no-repeat -80px bottom;
      height: 250px;
    }

    #copy-right{
      background: url('../img/copy-right-bg.png') no-repeat left bottom;
      height: 250px;
    }

    #team #copy-right{
      height: 220px;
    }

    

    #contact h2{
          font-size: 26px;
          margin: 20px 0 0;
        }

    #contact h3{
          font-size: 18px;
     }

     
     




}

/* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
@media only screen and (min-width: 641px) and (max-width: 1024px) {
   
}

/*Large screens min-width 1025px, large screens*/
@media only screen and (min-width: 1025px) {
    
    #logo img{
      margin: 0 0 0 140px;
    }

    #copy-left h2{
      font-size: 26px;
    }

   
    #footer-left, #footer-right{
      padding: 0;
    }
    
    

    #copy-left{
      background: url('../img/copy-left-bg.png') no-repeat left center; 
      height: 200px;
    }

    #copy-right{
      background: url('../img/copy-right-bg.png') no-repeat left center;
      height: 200px;
    }

    #team #copy-right{
      height: 170px;
    }


}

/* min-width 1024px and max-width 1440px, use when QAing large screen-only issues */
@media only screen and (min-width: 1024px) and (max-width: 1440px) { 
}

/* XLarge screens min-width 1441px, xlarge screens */
@media only screen and (min-width: 1441px) { 
}

/* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */
@media only screen and (min-width: 1441px) and (max-width: 1920px) {
}

/* min-width 1921px, xxlarge screens */
@media only screen and (min-width: 1921px) {
} 


@media screen and (orientation: portrait) {
 
}

@media screen and (orientation: landscape) {
  
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
