/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* Imports & Custom Sass
/* ************************************************************************ */
/* ************************************************************************ */
/* Main CSS
/* ************************************************************************ */
body {
  min-width: inherit;
}

/* 5 column grid */
.col-xs-24 {
  width: 20%;
  float: left;
}

@media (min-width: 768px) {
  .col-sm-24 {
    width: 20%;
    float: left;
  }
}

@media (min-width: 992px) {
  .col-md-24 {
    width: 20%;
    float: left;
  }
}


@media (max-width:991px) {
  .lightbulb{
   /* visibility:hidden; */
  }
}


@media (min-width: 1200px) {
  .col-lg-24 {
    width: 20%;
    float: left;
  }
}

/* Grid margin */
[class^="col-"], [class*=" col-"] {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}



/* ************************************************************************ */
/* Some universal mixins */
/* ************************************************************************ */
.socblock {
  padding-top: 12px;
  padding-bottom: 25px;
}

/* ************************************************************************ */
/* Pullquote highlight
/* ************************************************************************ */
.highlight-pullquote {
  margin-top: 50px;
  background-color: #fdfce6;
  position: relative;
  box-shadow: 0 3px 30px 0 rgba(246, 139, 28, 0.15);
  -webkit-transition: box-shadow 0.2s ease, background-color 0.2s ease;
          transition: box-shadow 0.2s ease, background-color 0.2s ease;
  border-radius: 10px;
  clear: both;
}

.highlight-pullquote a {
  padding: 0 20px 10px 20px;
  display: block;
  width: 100%;
  text-decoration: none;
  -webkit-transition: color 0.2s ease, background-color 0.2s ease;
          transition: color 0.2s ease, background-color 0.2s ease;
}

.highlight-pullquote a:hover, .highlight-pullquote a:focus {
  color: #f68b1c;
  outline: none;
}

.highlight-pullquote:hover, .highlight-pullquote:focus {
  box-shadow: 0 20px 50px 0 rgba(246, 139, 28, 0.65);
  background-color: #ffffff;
}

.highlight-pullquote:hover .circle, .highlight-pullquote:focus .circle {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.highlight-pullquote:hover .glyphicon, .highlight-pullquote:focus .glyphicon {
  text-shadow: 0 1px 30px rgba(255, 255, 255, 0.5);
}

.highlight-pullquote .quote-text {
  width: -webkit-calc(100% - 130px);
  width: calc(100% - 130px);
  float: left;
}

.highlight-pullquote .quote-image {
  width: 120px;
  float: right;
  margin-top: -32px;
}

.highlight-pullquote p {
  margin-top: 10px;
  font-size: .9em;
  font-weight: 700;
  color: #333333;
  line-height: 1.6em;
}

.highlight-pullquote .side-block {
  position: relative;
  text-align: center;
  width: 120px;
  height: 120px;
}

.highlight-pullquote .circle {
  color: #ffffff;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: url(../jpg/placeholder-210x210.jpg) no-repeat;
  background-size: 100%;
  margin-bottom: 12px;
  -webkit-transition: -webkit-transform 0.2s ease;
          transition: transform 0.2s ease;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

.highlight-pullquote .circle:after {
  content: '';
  display: block;
  width: 100%;
  height: 12px;
  background: transparent url(../png/drop-shadow.png) no-repeat;
  background-size: 100% 100%;
  opacity: .5;
}

.highlight-pullquote .glyphicon {
  width: 120px;
  height: 120px;
  font-size: 3.5em;
  line-height: 2.1em;
  -webkit-transition: text-shadow 0.2s ease;
          transition: text-shadow 0.2s ease;
}

.highlight-pullquote .link {
  text-align: center;
  font-size: 1em;
  line-height: 1.4em;
}

/* ************************************************************************ */
/* Team section group
/* ************************************************************************ */
.group-photos {
  padding-bottom: 52px;
}

.group-photos figure {
  text-align: center;
  position: relative;
  margin-bottom: 5rem;
}

.group-photos figure:hover .team-thumb, .group-photos figure:focus .team-thumb {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.group-photos figure:nth-child(4n+1) {
  clear: left;
}


.group-photos figure .team-thumb {
  display: block;
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
  background: #e6e6e6;
  box-shadow: 0 2px 10px 0 rgba(51, 51, 51, 0.15);
  margin: 0 auto;
  margin-bottom: 16px;
  -webkit-transition: box-shadow 0.2s ease, -webkit-transform 0.2s ease;
          transition: box-shadow 0.2s ease, transform 0.2s ease;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

.group-photos figure .team-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.group-photos figure .team-thumb img {
  position: absolute;
  left: 0;
  -webkit-transition: opacity 0.2s ease;
          transition: opacity 0.2s ease;
}

.group-photos figure .team-thumb img.ambient {
  -webkit-animation: ambient-fade 6s ease 1s infinite alternate;
          animation: ambient-fade 6s ease 1s infinite alternate;
  opacity: 0;
}

.group-photos figure .team-thumb img.ambient.delay-1 {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}

.group-photos figure .team-thumb img.ambient.delay-2 {
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}

.group-photos figure .team-thumb img.ambient.delay-3 {
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}

.group-photos figure .team-thumb img.ambient.delay-4 {
  -webkit-animation-delay: 5s;
          animation-delay: 5s;
}

.group-photos figure .team-thumb img.top {
  opacity: 0;
}

.group-photos figure .team-thumb img.top:hover {
  opacity: 1;
}

.group-photos figure .team-name {
  font-size: 1.2em;
}

.group-photos figure .team-title {
  font-size: .8em;
  font-weight: 700;
  color: #f68b1c;
  text-transform: uppercase;
}

.group-photos figure .bio-description {
  display: none;
}

/* Fade animation */
@-webkit-keyframes ambient-fade {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes ambient-fade {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

/* ************************************************************************ */
/* Video section group
/* ************************************************************************ */
.group-videos {
  background-color: #fdfce6;
}

.group-videos figure {
  text-align: center;
  position: relative;
}

.group-videos figure:hover .video-thumb, .group-videos figure:focus .video-thumb {
  box-shadow: 0 20px 50px 0 rgba(246, 139, 28, 0.65);
  -webkit-transform: translateY(-8px);
      -ms-transform: translateY(-8px);
          transform: translateY(-8px);
}

.group-videos figure:hover .runtime, .group-videos figure:focus .runtime {
  color: #666666;
}

@media (max-width: 767px) {
  .group-videos figure {
    margin-bottom: 60px;
  }
}

.group-videos .video-thumb {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  background: #e6e6e6;
  box-shadow: 0 3px 30px 0 rgba(246, 139, 28, 0.15);
  margin: 0 auto;
  margin-bottom: 30px;
  -webkit-transition: box-shadow 0.2s ease, -webkit-transform 0.2s ease;
          transition: box-shadow 0.2s ease, transform 0.2s ease;
  -webkit-transform: translateY(0px);
      -ms-transform: translateY(0px);
          transform: translateY(0px);
}

.group-videos .video-thumb a {
  display: block;
  width: 100%;
  height: auto;
  outline: none;
}

.group-videos .video-thumb .glyphicon {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  font-size: 5.5em;
  line-height: 1.9em;
  -webkit-transition: text-shadow 0.2s ease;
          transition: text-shadow 0.2s ease;
  color: #ffffff;
  text-shadow: 0 1px 30px rgba(51, 51, 51, 0.5);
}

@media (min-width: 768px) and (max-width: 991px) {
  .group-videos .video-thumb .glyphicon {
    line-height: 2.4em;
  }
}

@media (max-width: 767px) {
  .group-videos .video-thumb .glyphicon {
    top: calc(50% - 86px);

    /*
    left: auto;
    right: 10px;
    bottom: 0;
    top: auto;
    line-height: 1.2em;
    */
  }
}

.group-videos [class^="vimeo-"], .group-videos [class*=" vimeo-"] {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
}

.group-videos .video-name {
  font-size: 1.6em;
  font-weight: 400;
  margin: 12px 0 8px;
}

.group-videos .time {
  font-size: .9em;
}

.group-videos .runtime {
  color: gray;
  padding-left: 10px;
  -webkit-transition: color 0.2s ease;
          transition: color 0.2s ease;
}

.group-videos p {
  margin-top: 10px;
  font-size: .9em;
}

.group-videos a {
  text-decoration: none;
  -webkit-transition: color 0.2s ease, background-color 0.2s ease;
          transition: color 0.2s ease, background-color 0.2s ease;
}

.group-videos .btn {
  margin-top: 20px;
  padding-left: 50px;
  padding-right: 50px;
}

/* ************************************************************************ */
/* Overrides
/* ************************************************************************ */
.btn {
  -webkit-transition: background-color 0.2s ease;
          transition: background-color 0.2s ease;
}

/* ************************************************************************ */
/* Quote marks
/* ************************************************************************ */
.q {
  font-size: 3.6em;
  font-family: sans-serif;
  float: left;
  padding-top: 10px;
  width: 24px;
  height: 18px;
  overflow: hidden;
}

[class^="q-"], [class*=" q-"] {
  font-size: 9.8em;
  font-family: sans-serif;
  width: 72px;
  height: 56px;
  line-height: .88em;
  overflow: hidden;
  color: #f68b1c;
}

.q-begin {
  float: left;
}

.q-end {
  float: right;
  text-align: right;
}

.credits {
  position: relative;
}

.credits .name {
  text-align: right;
  text-transform: uppercase;
  color: #f68b1c;
  margin-bottom: 30px;
}

.credits .name strong {
  font-size: 1.4em;
}

.credits .pic {
  /*position: absolute;
  top: -48px;*/
  width: 220px;
  height: 220px;
  overflow: hidden;
  border-radius: 50%;
  background: #f68b1c;
  box-shadow: 0 6px 40px 0 rgba(51, 51, 51, 0.25);
  margin: 0 auto;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

.credits .pic a {
  display: block;
  width: 100%;
  height: 100%;
}

.credits .pic img {
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

/* ************************************************************************ */
/* Team Bios
/* ************************************************************************ */
.team-bio .team-pic {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: #f68b1c;
  box-shadow: 0 6px 40px 0 rgba(51, 51, 51, 0.25);
  margin: 0 auto;
  margin-top: -120px;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

@media (max-width: 767px) {

}

@media (min-width: 768px) and (max-width: 991px) {
  /*
  .team-bio .team-pic {
    margin-top: 0;
    position: absolute;
    top: -220px;
    left: -120px;
    width: 600px;
    height: 600px;
    transform: scale(.6);
  }
  */
}

@media (min-width: 992px) {
  /*
  .team-bio .team-pic {
    margin-top: 0;
    position: absolute;
    top: -100px;
    left: -157.89474px;
    width: 600px;
    height: 600px;
  }
  */
}

.team-bio .team-name {
  margin-bottom: 0;
  padding-bottom: 0;
}

.team-bio .team-title {
  margin-top: 1rem;
  padding-top: 0;
  text-transform: uppercase;
  color: #f68b1c;
}

.team-bio .lightbulb {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 1;
}

.team-bio .lightbulb img {
  max-width: 80px;
  -webkit-animation: floaty-lightbulb 6s ease 1s infinite alternate;
          animation: floaty-lightbulb 6s ease 1s infinite alternate;
}

@media (min-width: 540px) {
  .team-bio .lightbulb img {
    max-width: 120px;
  }
}

@media (min-width: 768px) {
  .team-bio .lightbulb img {
    max-width: 90px;
  }
}

@media (min-width: 992px) {
  .team-bio .lightbulb img {
    max-width: 120px;
  }
}

@media (min-width: 1200px) {
  .team-bio .lightbulb img {
    max-width: 140px;
  }
}

@-webkit-keyframes floaty-lightbulb {
  0% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  100% {
    -webkit-transform: translate(0, -20px);
            transform: translate(0, -20px);
  }
}

@keyframes floaty-lightbulb {
  0% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  100% {
    -webkit-transform: translate(0, -20px);
            transform: translate(0, -20px);
  }
}

/*
For "n" images You must define:
a=presentation time for one image
b=duration for cross fading
Total animation-duration is of course t=(a+b)*n

0%
a/t*100%
(a+b)/t*100% = 1/n*100%
100%-(b/t*100%)
100%
*/
/*
a = 6
b = 2
t = (6+2)*4
t = 32
*/
@-webkit-keyframes crossfader {
  0% {
    opacity: 1;
  }
  18.75% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  93.75% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes crossfader {
  0% {
    opacity: 1;
  }
  18.75% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  93.75% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#crossfader img:nth-of-type(1) {
  -webkit-animation: crossfader 24s ease 18s infinite;
          animation: crossfader 24s ease 18s infinite;
}

#crossfader img:nth-of-type(2) {
  -webkit-animation: crossfader 24s ease 12s infinite;
          animation: crossfader 24s ease 12s infinite;
}

#crossfader img:nth-of-type(3) {
  -webkit-animation: crossfader 24s ease 6s infinite;
          animation: crossfader 24s ease 6s infinite;
}

#crossfader img:nth-of-type(4) {
  -webkit-animation: crossfader 24s ease 0s infinite;
          animation: crossfader 24s ease 0s infinite;
}

/* ie 9 hax to get around animation shortcomings */
.lt-ie10 .circle {
  opacity: 1;
  -webkit-transform: scale(1, 1);
      -ms-transform: scale(1, 1);
          transform: scale(1, 1);
}

@-webkit-keyframes circlezoom {
  0% {
    -webkit-transform: scale(0.1, 0.1);
            transform: scale(0.1, 0.1);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    opacity: 1;
  }
}

@keyframes circlezoom {
  0% {
    -webkit-transform: scale(0.1, 0.1);
            transform: scale(0.1, 0.1);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    opacity: 1;
  }
}

.faded {
  opacity: .4;
  -webkit-transition: opacity 0.2s ease;
          transition: opacity 0.2s ease;
}

.faded:hover {
  opacity: 1;
}

.main img, .group-photos img, .mfp-content img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* Specific layout modal adjustment to accommodate the lightbulb */
.mfp-wrap {
  overflow-x:scroll !important;
}
/*
.mfp-container {
  min-width: 992px;
}
*/
/*
.extrasmallbottom{
  position: relative !important;
}
*/

.extrasmall-lightbulb-right{
  position: absolute!important;
  right: 9px !important;
  top: -180px !important;
  padding-right: 7%;
  padding-top: 7%;
}

.extrasmall-lightbulb-left{
  position: absolute!important;
  left: 71px !important;
  top: -150px !important;
  padding-right: 7%;
  padding-top: 7%;
}

.white-popup-extrasmall{
    position: relative;
    background: #FFF;
    padding: 30px;
    width: auto;
    max-width: 1070px;
    margin: 20px auto;
    border-radius: 10px;
    -webkit-box-shadow: 0 30px 100px -30px rgba(246, 139, 28, 0.6);
    box-shadow: 0 30px 100px -30px rgba(246, 139, 28, 0.6);
}

@media (max-width: 767px){
  .mfp-fade.mfp-wrap.mfp-ready .mfp-content {
      -webkit-transform: scale(1);
      -ms-transform: scale(1);
      transform: scale(1);
      opacity: 1;
  }
  .mfp-container {
    min-width: 0px;
  }

  .team-pic {
    margin-top: 0;
    position: absolute;
    top: -100px;
    left: 0px !important;
    width: auto !important;
    height: auto !important;
  }
}
