﻿
/*career panel custom styles begin*/

/*************************************
    Custom Styles (Added by Tim Beckett for the Careers box)
   ****************************************************************/
  /*base styles (seen in mobile view and up)*/

  /*base styles (seen in mobile view and up)*/
  .slide-out-panel {
    display: block;
    /*Replace Weil default green dots*/ }
    .slide-out-panel .group-photo.image-block {
      display: none; }
    .slide-out-panel .cd-panel-header a.cd-panel-close {
      display: block; }
    .slide-out-panel .text-block li a {
      color: #5e5e5e; }
    .slide-out-panel .text-block li::before {
      content: ">"; }
    .slide-out-panel p, .slide-out-panel li {
      font-size: 1.2625rem;
      line-height: 1.4;
      color: #5e5e5e;
      list-style: none;
      font-family: "Flama", "Helvetica Neue", Helvetica, Arial, sans-serif; }
      .slide-out-panel p a, .slide-out-panel li a {
        color: #5e5e5e; }
    .slide-out-panel ul > li:before {
      display: none; }
    .slide-out-panel ul.recruitment {
      padding-bottom: 1.5em;
      margin-left: 1em;
      margin-bottom: 1em;
      border-bottom: 2px solid #00ac5a; }
      .slide-out-panel ul.recruitment li a {
        padding-left: .2em; }
    .slide-out-panel ul.recruitment > li:before {
      display: block;
      background: transparent;
      content: ">";
      top: 3px;
      font-size: 1em;
      color: #013d01;
      font-weight: bold; }
    .slide-out-panel ul.weil-world-links li {
      font-size: 1rem; }
      .slide-out-panel ul.weil-world-links li a {
        font-size: 1em; }

  .show-in-mobile {
    display: block; }
    .show-in-mobile .content-block {
      width: 100%; }

  .block-c.click-expandable-box {
    display: none; 
    position: relative;
  }

  .mobile-box-wrapper {
    max-width: 80rem;
    border: 1px solid #c8c8c8;
    border-top: none;
    overflow: hidden;
    background: white;
    margin-top: 4em; }
    .mobile-box-wrapper .text-block, .mobile-box-wrapper .image-block {
      padding: 0 1em; }

  /*Larger Mobile and Tablet*/
  @media only screen and (min-width: 440px) {
    .show-in-mobile {
      display: none; }
    .block-c.click-expandable-box {
      display: block;
      background-color: #68be28;
      filter: progid:DXImageTransform.Microsoft.gradient(gradientType=1, startColorstr='#FF68BE28', endColorstr='#FF00AC5A');
      background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #68be28), color-stop(100%, #00ac5a));
      background-image: -webkit-linear-gradient(left, #68be28, #00ac5a);
      background-image: -moz-linear-gradient(left, #68be28, #00ac5a);
      background-image: -o-linear-gradient(left, #68be28, #00ac5a);
      background-image: linear-gradient(left, #68be28, #00ac5a);
      position: relative;
      height: auto;
      cursor: pointer; }
    .show-in-mobile .content-block {
      float: left;
      width: 50%; }
    .show-in-mobile.slide-out-panel {
      float: left;
      width: 47%;
      padding-left: 3%; }
      .show-in-mobile.slide-out-panel p {
        margin-top: 0; }
    h3.launch-career-title {
      color: white;
      font-size: 2.8rem;
      display: none;
      float: left;
      width: 98px; }
    .mobile-box-wrapper .text-block {
      padding: 1em; }
    .text-block {
      width: 90%;
      padding: 8% 0% 2% 5%; }/*orig bottom 5%*/
    .image-block.active {
      display: none; }
    .group-photo {
      width: 320px;
      position: absolute;
      right: 0;
      bottom: 0px; }
    .slide-out-panel {
      position: absolute;
      top: 0;
      right: -100%;
      height: auto;
      width: 200%;
      visibility: hidden;
      background-color: #68be28;
      filter: progid:DXImageTransform.Microsoft.gradient(gradientType=1, startColorstr='#FF68BE28', endColorstr='#FF00AC5A');
      background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #68be28), color-stop(100%, #00ac5a));
      background-image: -webkit-linear-gradient(left, #68be28, #00ac5a);
      background-image: -moz-linear-gradient(left, #68be28, #00ac5a);
      background-image: -o-linear-gradient(left, #68be28, #00ac5a);
      background-image: linear-gradient(left, #68be28, #00ac5a);
      -webkit-transition: all 0.2s ease-in-out;
      -moz-transition: all 0.2s ease-in-out;
      -o-transition: all 0.2s ease-in-out;
      transition: all 0.2s ease-in-out; }
      .slide-out-panel .cd-panel-header {
        position: absolute;
        top: 5px;
        right: 15px;
        height: 50px; }
        .slide-out-panel .cd-panel-header a {
          font-size: 2em; }
      .slide-out-panel .image-block {
        width: 40%;
        float: left; }
      .slide-out-panel .text-block li a {
        color: #fff; }
      .slide-out-panel .panel-text {
        width: 55%;
        float: right; }
      .slide-out-panel .group-photo.image-block {
        display: block;
        left: 0;
        width: 45%; }
      .slide-out-panel p, .slide-out-panel li, .slide-out-panel a {
        color: #fff; }
      .slide-out-panel ul.recruitment > li:before {
        color: #013d01; }
      .slide-out-panel::after {
        /* overlay layer */
        position: absolute;
        top: 0;
        left: 0;
        width: 200%;
        height: 100%;
        background: transparent;
        cursor: pointer; }
      .slide-out-panel.is-visible {
        visibility: visible;
        -webkit-animation-duration: .4s;
        -webkit-animation-name: panelClick;
        -webkit-animation-iteration-count: 1;
        -moz-animation-duration: .4s;
        -moz-animation-name: panelClick;
        -moz-animation-iteration-count: 1;
        -ms-animation-duration: .4s;
        -ms-animation-name: panelClick;
        -ms-animation-iteration-count: 1;
        animation-duration: .4s;
        animation-name: panelFade;
        animation-iteration-count: 1;
        z-index: 5; }
      .slide-out-panel .slide-out-panel-close::before {
        -webkit-transform: rotate(220deg);
        -moz-transform: rotate(220deg);
        -ms-transform: rotate(220deg);
        -o-transform: rotate(220deg);
        transform: rotate(220deg);
        background-color: #ffffff;
        -webkit-transition-property: -webkit-transform;
        -moz-transition-property: -moz-transform;
        transition-property: transform;
        -webkit-transition-duration: 0.3s;
        -moz-transition-duration: 0.3s;
        transition-duration: 0.3s; }
      .slide-out-panel .slide-out-panel-close::after {
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg); } }

  .text-block p {
    text-transform: capitalize;
    margin-top: 0;
    margin-left: .5em; }

  .text-block li {
    list-style-type: none; }
    .text-block li a {
      color: #fff; }

  .text-block .content-block {
    width: 100%;
    float: right; }

  .text-block .block-c.click-expandable-box.active .content-block > a {
    background: green;
    padding-top: -.5em; }

  .text-block .block-c.click-expandable-box a {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 2em;
    padding: .1em .2em;
    z-index: 10; }

  .text-block .show-in-mobile.home-box-content {
    background: green; }

  /*end min440*/
  @media only screen and (min-width: 620px) {
    .block-c.click-expandable-box img {
      width: 70%; }
    .slide-out-panel .group-photo.image-block {
      width: 60%; }
    /*Hack necessary to get height to be appear as same height in tablet view to mobile landscape*/
    .box-height-equalizer .block-c.click-expandable-box, .box-height-equalizer .block-d .hl-block-1-2 {
      height: 16em; } }

  /*min-width620px*/
  @media screen and (min-width: 769px) {
    .block-c.click-expandable-box {
      height: auto; }
      .block-c.click-expandable-box img {
        width: 100%; }
    .box-height-equalizer .block-c.click-expandable-box, .box-height-equalizer .block-d .hl-block-1-2 {
      height: auto; }
    .slide-out-panel {
      position: absolute;
      top: 0;
      right: 0;
      height: auto;
      width: 200%; }
      .slide-out-panel .image-block {
        float: right;
        width: 45%; }
      .slide-out-panel .group-photo.image-block {
        width: 60%;
        left: auto;
        right: 0; }
      .slide-out-panel .text-block {
        width: 100%;
        float: left; }
      .slide-out-panel .cd-panel-header a.cd-panel-close {
        display: block; } }

  /*end min-width:769px*/
@media only screen and (min-width: 1025px) {
    .block-c.click-expandable-box {
        height: auto;
    }

        .block-c.click-expandable-box img {
            width: 100%;
        }

        .block-c.click-expandable-box:hover {
            right: 0;
            left: auto;
            width: 50%;
        }

    @-webkit-keyframes panelClick {
        0% {
            position: absolute;
            opacity: 0;
        }

        50% {
            position: relative;
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    @-moz-keyframes panelClick {
        0% {
            position: absolute;
            opacity: 0;
        }

        50% {
            position: relative;
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    @-ms-keyframes panelClick {
        0% {
            position: absolute;
            opacity: 0;
        }

        50% {
            position: relative;
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    @keyframes panelClick {
        0% {
            position: absolute;
            opacity: 0;
        }

        50% {
            position: relative;
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    .block-c.click-expandable-box:hover {
        position: absolute;
        right: 0;
        width: 60%;
        height: 350px;
        z-index: 999;
        background-color: #68be28;
        filter: progid:DXImageTransform.Microsoft.gradient(gradientType=1, startColorstr='#FF68BE28', endColorstr='#FF00AC5A');
        background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #68be28), color-stop(100%, #00ac5a));
        background-image: -webkit-linear-gradient(left, #68be28, #00ac5a);
        background-image: -moz-linear-gradient(left, #68be28, #00ac5a);
        background-image: -o-linear-gradient(left, #68be28, #00ac5a);
        background-image: linear-gradient(left, #68be28, #00ac5a);
        -webkit-transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        -o-transition: all .5s ease-in-out;
        transition: all .5s ease-in-out;
        /*Close .slide-out-panel*/
    }

      .block-c.click-expandable-box:hover .image-block {
        display: none; }
      .block-c.click-expandable-box:hover .image-block.active {
        display: block; }
        .block-c.click-expandable-box:hover .image-block.active img {
          margin-top: -30px; }
      .block-c.click-expandable-box:hover .content-block {
        width: 50%;
        float: right; }
      .block-c.click-expandable-box:hover .slide-out-panel {
        position: relative;
        float: left;
        left: 0;
        opacity: 1;
        display: block;
        background: transparent;
        -webkit-animation-duration: 1s;
        -webkit-animation-name: panelClick;
        -webkit-animation-iteration-count: 1;
        -moz-animation-duration: 1s;
        -moz-animation-name: panelClick;
        -moz-animation-iteration-count: 1;
        -ms-animation-duration: 1s;
        -ms-animation-name: panelClick;
        -ms-animation-iteration-count: 1;
        animation-duration: 1s;
        animation-name: panelFade;
        animation-iteration-count: 1;
        margin-top: 0; }
        .block-c.click-expandable-box .slide-out-panel .panel-text {
           visibility: hidden;
           width: 200%;
        }
        .block-c.click-expandable-box:hover .slide-out-panel .panel-text{
          visibility: visible;
          float: left;
          width: 100%;
          p {
             font-size: 16px;
             } }
    /*Close.block-c.click-expandable-box*/
    .slide-out-panel .cd-panel-header a.cd-panel-close {
      display: none; } }

  /*For slightly larger tablets, in portrait view (Kindle at 800px for example)*/
  @media only screen and (min-width:865px) and (max-width: 1023px) {
     .slide-out-panel {
        width: 250%;
     }
 }

 @media only screen and (min-width:770px) and (max-width: 864px) {
    .slide-out-panel {
      width: 300%;
    }
}

 
/*career panel custom styles ends*/

 @media only screen and (min-width:620px) and (max-width: 770px) {
    .image-block {
      margin-top:-15px;
    }
}

[class^="cp-wrapper"] > .in { position: relative; }
@media (min-width: 470px) { [class^="cp-wrapper"] > .in { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; } }
.no-mq [class^="cp-wrapper"] > .in { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; }

.cp-wrapper { padding-bottom: 0; }
@media (min-width: 320px) { .cp-wrapper { padding-bottom: 0; } }
.no-mq .cp-wrapper { padding-bottom: 0; }
@media (min-width: 470px) { .cp-wrapper { padding-bottom: 100%; } }
.no-mq .cp-wrapper { padding-bottom: 100%; }
@media (min-width: 620px) { .cp-wrapper { padding-bottom: 60%; } }
.no-mq .cp-wrapper { padding-bottom: 60%; }
@media (min-width: 770px) { .cp-wrapper { padding-bottom: 100%; } }
.no-mq .cp-wrapper { padding-bottom: 100%; }


 @media only screen and (min-width:770px) and (max-width: 1090px) {
    .expansion-box {
      padding-bottom:-25px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1165px)  {
    .block-c.click-expandable-box:hover {
         height:370px;
    }
}

.gnfont {
    color:red;/*#68be28; green*/
}