/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VARIABLES
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* BLUE */
/* DARKBLUE */
/* MARINE/BLUE */
/* DARK/BLUE/GREY */
/* GREY */
/* GREY */
/* DARK/GREY */
/* many colors in comp */
/*
*  _mixins
*  Author: P11 Interactive Team
*  -------------------------------------------------------------------------------------------
*  Notes: Define patterns of property value pairs, which can then be reused in other rule sets
*/
/*@include mq-md {
   width: 100%;
 }*/
#team {
  /* margin-top: 6rem;
  @include mq-lg {
    margin-top: 4rem;
  }
  @include mq-md {
    margin-top: 3rem;
  } */
}
#team .expandable-grid {
  margin: 0 auto;
  max-width: 1500px;
  width: 100%;
  text-align: center;
  overflow: hidden;
}
#team .expandable-grid .grid--basic > div {
  display: block;
  text-decoration: none;
  color: #3b5c92;
}
#team .expandable-grid .grid--basic > div .grid-item {
  text-align: center;
  overflow: hidden;
  width: 100%;
  position: relative;
  overflow: hidden;
  -webkit-transition: margin 0.75s ease-out;
  -moz-transition: margin 0.75s ease-out;
  -ms-transition: margin 0.75s ease-out;
  -o-transition: margin 0.75s ease-out;
  transition: margin 0.75s ease-out;
  -webkit-transition: margin 0.5s ease, background-color 0.5s ease;
  -moz-transition: margin 0.5s ease, background-color 0.5s ease;
  -ms-transition: margin 0.5s ease, background-color 0.5s ease;
  -o-transition: margin 0.5s ease, background-color 0.5s ease;
  transition: margin 0.5s ease, background-color 0.5s ease;
}
#team .expandable-grid .grid--basic > div .grid-item .grid-item-image {
  width: 100%;
  height: 0;
  padding-bottom: 110%;
  text-align: center;
  position: relative;
}
@media only screen and (max-width: 1200px) and (min-width: 801px) {
  #team .expandable-grid .grid--basic > div .grid-item .grid-item-image {
    height: 55vw;
  }
}
@media only screen and (min-width: 1201px) {
  #team .expandable-grid .grid--basic > div .grid-item .grid-item-image {
    height: 35vw;
  }
}
@media (min-width: 1400px) {
  #team .expandable-grid .grid--basic > div .grid-item .grid-item-image {
    height: 455px;
  }
}
#team .expandable-grid .grid--basic > div .grid-item .grid-item-text {
  padding: 25px 1.5rem 45px;
  -webkit-transition: padding 0.25s ease;
  -moz-transition: padding 0.25s ease;
  -ms-transition: padding 0.25s ease;
  -o-transition: padding 0.25s ease;
  transition: padding 0.25s ease;
}
@media (max-width: 800px) {
  #team .expandable-grid .grid--basic > div .grid-item .grid-item-text {
    height: auto !important;
  }
}
#team .expandable-grid .grid--basic > div .grid-item .grid-item-text .grid-item-name {
  font-size: 22px;
  line-height: 1.25rem;
  color: #293477;
  -webkit-transition: all 0.75s ease;
  -moz-transition: all 0.75s ease;
  -ms-transition: all 0.75s ease;
  -o-transition: all 0.75s ease;
  transition: all 0.75s ease;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}
#team .expandable-grid .grid--basic > div .grid-item .grid-item-text .grid-item-info {
  font-size: 18px;
  line-height: 1.5rem;
  margin-bottom: 0;
  color: #293477;
  -webkit-transition: all 0.75s ease;
  -moz-transition: all 0.75s ease;
  -ms-transition: all 0.75s ease;
  -o-transition: all 0.75s ease;
  transition: all 0.75s ease;
}
#team .expandable-grid .grid--basic > div .grid-item .arrow--more {
  position: absolute;
  left: 50% !important;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  bottom: 5px;
  font-size: 2.5rem;
  -webkit-transition: bottom 0.25s ease;
  -moz-transition: bottom 0.25s ease;
  -ms-transition: bottom 0.25s ease;
  -o-transition: bottom 0.25s ease;
  transition: bottom 0.25s ease;
}
#team .expandable-grid .grid--basic > div .grid-item .arrow--more img {
  width: 30px;
}
#team .expandable-grid .grid__cell.is-expanded .grid-item .grid-item-text {
  padding: 35px 1.5rem;
}
#team .expandable-grid .grid__cell.is-expanded .grid-item .grid-item-text h2.grid-item-name {
  color: #37a1cf;
}
#team .expandable-grid .grid__cell.is-expanded .grid-item .grid-item-text h3.grid-item-info {
  color: #37a1cf;
}
#team .expandable-grid .grid__cell.is-expanded .grid-item .arrow--more {
  opacity: 0;
}
#team .expandable-grid .grid--basic > div:hover .grid-item .arrow--more {
  bottom: 0;
}
#team .grid__cell {
  float: left;
  position: relative;
  /*transform: scale(0);*/
  -webkit-transition: 0.3s all ease-in-out;
  -moz-transition: 0.3s all ease-in-out;
  -ms-transition: 0.3s all ease-in-out;
  -o-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}
#team .grid__cell.active {
  transform: scale(1);
}
#team .grid--basic {
  padding: 0 30px;
}
#team .grid--basic a {
  color: #FFFFFF;
}
#team .grid__cell.is-collapsed .grid--basic {
  cursor: pointer;
}
#team .grid__cell.is-expanded .grid--expand {
  max-height: 5000px;
  opacity: 1;
}
#team .grid--expand {
  position: relative;
  left: -10px;
  padding: 0 10px;
  box-sizing: content-box;
  overflow: hidden;
  max-height: 0;
  text-align: left;
  border: 0;
  opacity: 0;
  transition: max-height 0.5s ease-in-out, margin-bottom 0.25s, opacity 0.5s;
}
#team .grid--expand .grid-item-name {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: #3b5c92;
  -webkit-transition: all 0.75s ease;
  -moz-transition: all 0.75s ease;
  -ms-transition: all 0.75s ease;
  -o-transition: all 0.75s ease;
  transition: all 0.75s ease;
  text-transform: uppercase;
  text-align: center;
}
@media (max-width: 768px) {
  #team .grid--expand .grid-item-name {
    font-size: 2.25rem;
  }
}
@media (max-width: 640px) {
  #team .grid--expand .grid-item-name {
    font-size: 2rem;
  }
}
#team .grid--expand .grid-item-info {
  font-size: 1.5rem;
  line-height: 1.25rem;
  margin-bottom: 2rem;
  color: #3b5c92;
  text-align: center;
}
@media (max-width: 800px) {
  #team .grid--expand .grid-item-info {
    text-align: center;
  }
}
@media (max-width: 768px) {
  #team .grid--expand .grid-item-info {
    font-size: 1.25rem;
  }
}
@media (max-width: 640px) {
  #team .grid--expand .grid-item-info {
    font-size: 1.25rem;
  }
}
#team .grid__cell .grid--expand {
  background-color: #FFFFFF;
}
#team .grid__cell .grid--expand .grid-item-detail {
  margin-bottom: 40px;
  -webkit-transition: margin 0.5s ease, border 0.5s 0.5s;
  -moz-transition: margin 0.5s ease, border 0.5s 0.5s;
  -ms-transition: margin 0.5s ease, border 0.5s 0.5s;
  -o-transition: margin 0.5s ease, border 0.5s 0.5s;
  transition: margin 0.5s ease, border 0.5s 0.5s;
}
#team .grid__cell.is-collapsed .arrow--up {
  height: 20px;
  width: 100%;
}
#team .grid__cell.is-collapsed .arrow--up .arrow--up--inside {
  opacity: 0;
}
#team .grid__cell.is-expanded .arrow--up {
  border-bottom: 15px solid transparent;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  height: 0;
  width: 0;
  margin: 5px auto 0;
  position: relative;
}
#team .grid__cell.is-expanded .arrow--up .arrow--up--inside {
  width: 22px;
  height: 22px;
  background-color: #FFFFFF;
  border-top: 1px solid #37a1cf;
  border-right: 1px solid #37a1cf;
  transform: rotate(-45deg);
  position: absolute;
  top: 4px;
  z-index: 5;
  left: -11px;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -ms-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  opacity: 1;
}
#team .expand__close {
  position: absolute;
  z-index: 100;
  right: 55px;
  top: 11px;
  display: block;
  width: 46px;
  height: 46px;
  overflow: hidden;
  cursor: pointer;
}
#team .expand__close:hover {
  /*background-color: #000*/
}
#team .expand__close::after {
  content: "";
  position: absolute;
  height: 1px;
  width: 30px;
  top: 50%;
  left: 50%;
  margin: -1px auto 0 -10px;
  background: #3b5c92;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
#team .expand__close::before {
  content: "";
  position: absolute;
  height: 1px;
  width: 30px;
  top: 50%;
  left: 50%;
  margin: -1px auto 0 -10px;
  background: #3b5c92;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
#team .expand__close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#team .expand__close.black::after, #team .expand__close.black::before {
  height: 4px;
  margin-top: -2px;
}
#team .grid--large {
  max-width: calc(100% - (60px));
  height: auto;
  display: block;
  padding: 40px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 800px) {
  #team .grid--large {
    padding: 4rem 1rem 2rem;
  }
}
#team .grid-item-detail {
  border: 1px solid #37a1cf;
}
#team .grid-item-detail p {
  margin: 0 auto;
  text-align: left;
  width: 100%;
  margin-bottom: 1rem;
}
@media (max-width: 800px) {
  #team .grid-item-detail p {
    text-align: center;
  }
}
#team .grid-item-detail p:last-of-type {
  margin: 0;
}
@media only screen and (max-width: 800px) and (min-width: 487px) {
  #team .grid__cell {
    width: 100%;
    max-width: 400px;
    float: none;
    display: inline-block;
  }
  #team .grid--expand {
    width: 100%;
    left: 0;
    padding: 0;
  }
}
@media only screen and (max-width: 1200px) and (min-width: 801px) {
  #team .grid__cell {
    width: 50%;
  }
  #team .grid__cell:nth-of-type(2n+2) .grid--expand {
    margin-left: -100%;
  }
  #team .grid__cell:nth-of-type(2n+3) {
    clear: left;
  }
  #team .grid--expand {
    width: 200%;
  }
}
@media only screen and (min-width: 1201px) {
  #team .grid__cell {
    width: 33.333333%;
  }
  #team .grid__cell:nth-of-type(3n+2) .grid--expand {
    margin-left: -100%;
  }
  #team .grid__cell:nth-of-type(3n+3) .grid--expand {
    margin-left: -200%;
  }
  #team .grid__cell:nth-of-type(3n+4) {
    clear: left;
  }
  #team .grid--expand {
    width: 300%;
  }
}

/*# sourceMappingURL=expandable-grid.css.map */
