@import 'grid.less';

@columns: 3;
@gutter-width: 0;

@gpp-canvas-height: 33.3%;

@gpp-black: #838383;
@gpp-hover-white: #656565;

@font-face {
  font-family: 'franklin-gothic';
  src: url("../fonts/Franklin%20Gothic%20Book%20Regular/Franklin%20Gothic%20Book%20Regular.ttf");
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

@font-face {
  font-family: 'letter-gothic';
  src: url("../fonts/Letter%20Gothic%20Std%20Bold/Letter%20Gothic%20Std%20Bold.ttf");
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

body {
  -webkit-font-smoothing: antialiased;
  font-weight: normal;
  font-family: letter-gothic, arial, helvetica, san-serif;
}

.canvas-rollover-on {
  -webkit-transition-delay: 0s;
  -webkit-transition-duration: 0.4s;
  -webkit-transition-property: opacity;
  -webkit-transition-timing-function: ease;
  -moz-opacity: 0.2;
  -webkit-opacity: 0.2;
  opacity: 0.2;
  filter: alpha(opacity=20);
}

@total-width: 100%;

.reset {
  margin-top: 0px !important;
  margin-left: 0px !important;
  top: 0;
  left: 0;
}

#skip-link {
  display: none;
}

#grid-container {
  .column(3);
  .cpp {
    .gpp-canvas {
      .pps-hover {
        margin-top: 31%;
        color: #FFFFFF;
        text-align: left;
        overflow: hidden;
      }
    }
  }
  ul {
    .row(3);
    li{
      &:hover {
        -webkit-box-shadow:inset 0px -4px 0px #ecb700;
        -moz-box-shadow:inset 0px -4px 0px #ecb700;
        box-shadow:inset 0px -4px 0px #ecb700;
        background-color: transparent;
      }
    }
    .gpp-canvas {
      .column(1,3);
      height: @gpp-canvas-height;
      img {
        &:hover {
          .canvas-rollover-on;
        }
      }
    }

    .place-holder {
      display: none;
      position: relative;
      color: #000000;
      font-size: 16px;
      font-weight: bold;
      text-align: center;
      z-index: 0;
      &:hover {
        z-index: 6;
      }

      .pps-hover {
        font-family: franklin-gothic, arial, helvetica, san-serif;
        width: 70%;
        position: absolute;
        margin-left: 6%;
        h4 {
          font-size: 16px;
          font-weight: normal;
          color: #FFFFFF;
          margin-bottom: 2px;
        }
        p {
          margin: 0;
          font-weight: normal;
          font-size: 13px;
          line-height: 16px;
        }
        .see-more {
          margin-top: 2px;
          font-size: 13px;
          line-height: 16px;
          color: #ecb700;
        }
      }
    }

    .grid-footer {
      .column(4,4);
      height: 8.3em;
      background-color: #000000;
      border: none;
      &:hover {
        border: none;
      }
    }
  }
}
.node-type-cpp-screen, .cpp-screen {
  img {
    max-width: 100%;
    vertical-align: middle;
  }
  #mynav {
    font-family: franklin-gothic, arial, helvetica, san-serif;
    display: inline;
    float: left;
    width: 100%;
    margin: 0 0%;
    background-color: #181818;
    font-size: 13px;

    #menu-container {
      overflow: hidden;
      .menu-wrapper {
        float: left;
      }
      .contact {
        float: right;
        padding: 1.5em;
        .in-cta {
          background: url('../images/gisele-instagram-01.svg');
          width: 21px;
          display: inline-block;
          background-size: cover;
          color: transparent;
          margin-left: 1em;
          &:hover {
            background: url('../images/gisele-instagram-yellow.svg');
            background-size: cover;
          }
        }
        .fb-cta {
          background: url('../images/gisele-facebook-01.svg');
          width: 21px;
          display: inline-block;
          background-size: cover;
          color: transparent;
          margin-left: 0.5em;
          &:hover {
            background: url('../images/gisele-facebook-yellow.svg');
            background-size: cover;
          }
        }
        .tel {
          color: #FFFFFF;
          vertical-align: middle;
        }
        a {
          text-decoration: none;
          color: #333333;
        }
      }
    }
    ul {
      margin: 0;
    }
    li {
      float: left;
      width: auto;
      list-style: none;
      position: relative;
      a {
        padding: 1.5em 2em;
        display: block;
        color: @gpp-hover-white;
        border: 1px solid #333333;
        border-top: none;
        border-bottom: none;
        border-left: none;
        &:hover {
          color: #ffffff;
          text-decoration: none;
          -webkit-box-shadow:inset 0px -3px 0px #ecb700;
          -moz-box-shadow:inset 0px -3px 0px #ecb700;
          box-shadow:inset 0px -3px 0px #ecb700;
        }
      }
      .active {
        color: #FFFFFF;
        -webkit-box-shadow:inset 0px -3px 0px #ecb700;
        -moz-box-shadow:inset 0px -3px 0px #ecb700;
        box-shadow:inset 0px -3px 0px #ecb700;
      }
    }
    /*
    li.last {
      a {
        background: url('/sites/all/themes/gpp/images/new_starburst.png') no-repeat right;
        height: 19px;
        display: inline-block;
        width: 150px;
      }
    }
    */
   &:hover {
     text-decoration: none;
   }
  .gpp-logo {
    font-family: letter-gothic, arial, helvetica, san-serif;
    letter-spacing: 2px;
    padding: 1.5em 3em;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 13px;
    float: left;
    border: 1px solid #333333;
    border-top: none;
    border-bottom: none;
    border-left: none;
    &:hover {
      text-decoration: none;
    }
  }
  }
}


.node-type-portfolio-piece {
  overflow: hidden;
  #supersize img, #supersize a {
    height: 100%;
    width: 100%;
    min-width: 400px;
    display: none;
  }

  #supersize .activeslide, #supersize .activeslide img {
    display: inline;
  }

  #mynav {
    display: inline;
    float: left;
    width: 100%;
    margin: 0 0%;
    background-color: #181818;
    font-size: 13px;

    #menu-container {
      overflow: hidden;
      .menu-wrapper {
        float: left;
      }
      .contact {
        float: right;
      }
    }
    li {
      float: left;
      width: auto;
      list-style: none;
      position: relative;
      a {
        color: @gpp-hover-white;

        &:hover {
          color: #FFFFFF;
          text-decoration: none;
          -webkit-box-shadow:inset 0px -3px 0px #ecb700;
          -moz-box-shadow:inset 0px -3px 0px #ecb700;
          box-shadow:inset 0px -3px 0px #ecb700;
        }
      }
      .active {
        color: #FFFFFF;
        -webkit-box-shadow:inset 0px -3px 0px #ecb700;
        -moz-box-shadow:inset 0px -3px 0px #ecb700;
        box-shadow:inset 0px -3px 0px #ecb700;
      }
    }

    .logo {
      background: url("/sites/default/files/cp-logo.png") no-repeat;
      width: 92px;
      float: left;
      margin-left: 1em;
      &:hover {
        -webkit-backface-visibility: hidden;
        -webkit-transition-delay: 0s;
        -webkit-transition-duration: 0.7s;
        -webkit-transition-property: background;
        -webkit-transition-timing-function: ease;
        background: url("/sites/default/files/cp-logo-hover.png") no-repeat;
      }
    }
  }
  #prevslide {
    margin-top: 20em;
    float: left;
  }
  #nextslide {
    margin-top: 20em;
    float: right;
  }
  .slider-arrow {
    cursor: pointer;
  }
}
.safari-mac-ctas {
  bottom: 111px !important;
}
.ctas {
  z-index: 2;
  position: fixed;
  bottom: 9em;
  padding: 1.5em;
  right: 2%;
  width: 85px;
  background: #ecb700;
  font-size: 11px;

  a:hover {
    text-decoration: none;
  }

  .mobile-cta {
    background: url("../images/gisele-mobile-menu.svg");
    height: 3em;
    width: 40px;
    float: right;
    display: none;
    cursor: pointer;
  }

  .info-cta {
    width: 85px;
    color: #000000;
    font-weight: bold;
  }

  .pp-info-cta {
    width: 85px;
    color: #000000;
    font-weight: bold;
    font-size: 12px;
    line-height: 17px;
    font-family: franklin-gothic, arial, helvetica, san-serif;
  }

  .pp-prev {
    background: url("/sites/default/files/arrow-left.png")no-repeat;
    opacity: 0.5;
    height: 3em;
    width: 40px;
    margin-left: 0.3em;
    float: right;
    cursor: pointer;
    &:hover {
      background: url("/sites/default/files/arrow-left-hover.png")no-repeat;
    }
  }

  .pp-next {
    background: url("/sites/default/files/arrow-right.png")no-repeat;
    opacity: 0.5;
    height: 3em;
    width: 40px;
    margin-left: 0.3em;
    float: right;
    cursor: pointer;
    &:hover {
      background: url("/sites/default/files/arrow-right-hover.png")no-repeat;
    }
  }

  .pp-info-close {
    background: url("/sites/all/themes/cpp/images/portfolio_piece_more_info_cross-01.svg") no-repeat;
    height: 2em;
    width: 40px;
    float: right;
    display: none;
    &:hover {
      background: url("/sites/all/themes/cpp/images/more-info-cross-yellow.svg") no-repeat;
      cursor: pointer;
    }
  }

}

.pp-footer {
  .column(4);
  height: 18%;
  background-color: #ffffff;
}


#pp {
  .slider, .flexslider {
    border: 0px;
    margin-bottom: 0px;
  }
  .slider img {
  }
  .flex-direction-nav, .flex-control-nav {
    display: none;
  }

  .desc-container {
    height: 100px;
  }
  #desc {
    .column(4);
    background-color: #000000;
    opacity: 0.8;
    font-family: arial;
    font-size: 12px;
    line-height: 15px;
    color: #ffffff;
    padding-top: 2em;
    padding-bottom: 2em;
    position: fixed ;
    bottom: 5em;
    display: none;
    max-height: 420px;
    .inner {
      a {
        color: @gpp-hover-white;
      }
      width: 80%;
      margin: 0 auto;
      .desc-left {
        float: left;
        width: 33%;
        max-height: 420px;
        overflow: hidden;
      }
      .desc-right {
        float: left;
        width: 35%;
        max-height: 420px;
        overflow: hidden;
        padding-left: 2em;
      }
    }
  }
}

.front {
  .ctas {
    display: none;
  }
}

.mobile-cta {
  display: none;
}

.section-about {
  .ctas {
    display: none;
  }
  .slider-arrow {
    display: none !important;
  }
  #pp {
    #desc {
      display: block;
      position: fixed;
      top: 10em;
      background-color: transparent;
      .inner {
        width: 85%;
        .desc-left {
          width: 40%;
        }
        h1 {
          font-size: 50px;
          line-height: 53px;
          padding-left: 25px;
          border-left: 1px solid #ecb700;
        }
        p, a {
          font-size: 16px;
          line-height: 19px;
          padding-left: 25px;
        }
        a.about-cta {
          color: #ecb700;
          text-decoration: none;
        }
      }
    }
  }
}

#about {
  top: 0;
  .place-holder {
    display: none;
    position: relative;
    color: #000000;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    z-index: 0;
    max-height: 313px;
    &:hover {
      z-index: 6;
    }
  }

  .pps-hover {
    width: 70%;
    position: absolute;
    margin-left: 15%;
    max-height: 313px;
    .see-more {
      font-size: 14px;
    }
  }
  .canvas-four {
    .pps-hover {
      margin-top: 30%;
      margin-top: 90px;
    }
  }
  .canvas-two {
    .pps-hover {
      margin-top: 68%;
      margin-top: 190px;
    }
  }
  .location {
    position: absolute;
    margin-top: 19.4% !important;
    left: 0;
    height: 313px !important;
  }
  .county {
    position: absolute;
    margin-top: 19.4% !important;
    height: 313px !important;
    left: 75%;
  }

  .gisele {
    position: absolute;
    left: 0;
    margin-top: 38.8% !important;
  }
  .learn {
    position: absolute;
    left: 25%;
    margin-top: 38.8% !important;
  }
  .social {
    position: absolute;
    left: 49.9%;
    margin-top: 38.8% !important;

  }
  .mid-row-safari {
    margin-top: 39.6% !important;
  }
  .last-row-safari {
    margin-top: 79.3% !important;
  }
  .about-footer {
    margin-top: 19.4% !important;
  }
  br, p:not([class='title']):not([class='see-more']) {
    display: none;
  }
  li {
    a {
      cursor: default;
    }
  }

}

//::selection      { background:#f7e836; color:#000; /* Safari and Opera */ }
//::-moz-selection  { background:#f7e836; color:#000; /* Firefox */ }


@media screen and (max-width: 960px) {
  #grid-container {
    .responsive {
      .column(4,4) !important;
      .reset;
      position: relative;
    }
    .grid-footer {
      display: none;
    }
  }
  .mobile-cta {
    background: url("../images/gisele-mobile-menu.svg") no-repeat;
    background-size: cover;
    height: 35px;
    width: 33px;
    float: right;
    display: block;
    cursor: pointer;
    margin: 1.1em 2em;
  }
  .ctas {
    z-index: 2;
    position: fixed;
    bottom: 9em;
    padding: 1.5em;
    right: 2%;
    width: 85px;
    background: #ecb700;
    font-size: 11px;
    text-align: center;
    a:hover {
      text-decoration: none;
    }
  }

  #mynav {
    text-align: center;
    height: 60px;
    z-index: 999;
    li {
      .column(4);
    }
    #menu-container {
      clear: both;
      .menu {
        li {
          width: 100%;
        }
      }
    }
    .logo {
      margin-left: 33% !important;
      &:hover {
        margin-left: 29.2% !important;
        -webkit-perspective: 100px;
        -webkit-transform-style: preserve-3d;
        -webkit-backface-visibility: hidden;
        -webkit-transition-delay: 0s;
        -webkit-transition-duration: 0.7s;
        -webkit-transition-property: background;
        -webkit-transition-timing-function: ease;
        background: url("/sites/default/files/cp-logo-hover.png")no-repeat;
      }
    }
    .gpp-logo {
      text-decoration: none;
      color: #FFFFFF;
      font-size: 16px;
    }
  }

  #pp {
    #desc {
      max-height: 44%;
      overflow: scroll;
    }
    .pp-footer {
      display: none;
    }
    .pp-image {
      bottom: 0;
    }
  }

  .pps-hover {
    position: relative;
    margin-left: 0px;
    .see-more {
      font-size: 14px;
    }
  }

  .section-about {
    .ctas {
      display: none;
    }
    .slider-arrow {
      display: none !important;
    }
    #pp {
      #desc {
        display: block;
        top: 4em;
        background-color: transparent;
        max-height: none;
        width: auto;
        .inner {
          width: 85%;
          .desc-left {
            width: 98%;
          }
          h1 {
            font-size: 30px;
            line-height: 33px;
            padding-left: 10px;
            border-left: 1px solid #ecb700;
          }
          p, a {
            font-size: 16px;
            line-height: 19px;
            padding-left: 10px;
          }
          a.about-cta {
            color: #ecb700;
            text-decoration: none;
          }
        }
      }
    }
  }
}
