/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  font-family:'Montserrat', sans-serif;
  color: #444;
  background-color: white;
  /* prevent ie from showing the horizontal scrollbar */
  overflow-x: hidden;
}
body.overflow-hidden {
  /* when author bio is visible, the out-of-focus content won't scroll */
  overflow: hidden;
}

a {
  color: #f25f5c;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
ul.regional-list li{
  margin-bottom: 5% !important}
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}
.cd-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(93, 93, 93, 0.6);
  cursor: pointer;
  display: none;
}
.cd-member-info h4{color: #da1800;
    text-transform: uppercase;
    font-size: 23px;
    margin-bottom: 5px;
    font-weight: bold;}
.cd-member-info p{
  color: #666;
  font-weight: 400;}

p.cd-container {
    margin-top: 5%;
    margin-bottom: 5%;
}
.cd-container ul {
    margin-top: 5%;
}
.space-team{padding:5% 0;}
/* -------------------------------- 

Main components 

-------------------------------- */
main {
  /* position: relative; */
  z-index: 2;
  -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;
}
main.slide-out {
  /* the main element slides to the left when the author bio is visible */
  -webkit-transform: translateX(-270px);
  -moz-transform: translateX(-270px);
  -ms-transform: translateX(-270px);
  -o-transform: translateX(-270px);
  transform: translateX(-270px);
}
main.slide-out .cd-overlay {
  /* the overlay layer gets visible when the author bio slides in */
  display: block;
  -webkit-animation: cd-fade-in 0.3s;
  -moz-animation: cd-fade-in 0.3s;
  animation: cd-fade-in 0.3s;
}
@media only screen and (min-width: 768px) {
  main.slide-out {
    /* change in size of the author bio section */
    -webkit-transform: translateX(-600px);
    -moz-transform: translateX(-600px);
    -ms-transform: translateX(-600px);
    -o-transform: translateX(-600px);
    transform: translateX(-600px);
  }

}
@media only screen and (min-width: 1200px) {
  main.slide-out {
    -webkit-transform: translateX(-800px);
    -moz-transform: translateX(-800px);
    -ms-transform: translateX(-800px);
    -o-transform: translateX(-800px);
    transform: translateX(-800px);
  }
}

.cd-section {
  padding: 2em 0;
  text-align: center;
}
.cd-section .cd-container {
  /* this modifies the .cd-container default max-width */
  max-width: 768px;
}
.cd-section h2 {
 font-family:'Montserrat', sans-serif;
  font-weight: bold;
  margin-bottom: 1em;
  font-size: 20px;
  font-size: 1.25rem;
}
.cd-section p {
  line-height: 1.4;
}
@media only screen and (min-width: 768px) {
  .cd-section {
    padding: 4em;
  }
  .cd-section p {
    line-height: 1.2;
  }
}
@media only screen and (min-width: 1200px) {
  .cd-section {
    padding: 4em 6em;
  }
  .cd-section h2 {
    margin-bottom: 1.2em;
  }
  .cd-section p {
    line-height: 1.8;
    font-size: 14px;
    font-family:'Montserrat', sans-serif;
  }
}

header {
  background: #f2ecbd;
}
header h1 {
  font-size: 30px;
  font-size: 1.875rem;
  font-family:'Montserrat', sans-serif;;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: .4em;
  color: #3e380c;
}
header p {
  font-size: 13px;
  font-size: 0.8125rem;
  color: #93861d;
}

.cd-placeholder-1 {
  background: #f25f5c;
  color: #fdeaea;
}

.cd-placeholder-2 {
  background: #FFF;
}

#cd-team {
  background: #FFFFFF;
}
#cd-team .cd-container {
  max-width: 1200px;
}

#cd-team h2 {
  font-family:'Montserrat', sans-serif;
  line-height: 36px;
  font-weight: 500;
  color: #444;
  font-size: 40px;
}

.line-shape{
      margin-left: calc(50% - 40px);  width: 80px;
      height: 2px;
      background-color: #d11317;
      margin-top: -30px;
}

#cd-team li {
  margin-bottom: 2em;
  border-radius: 0.25em;
  box-shadow: 0 0 10px rgba(92, 75, 81, 0);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

#cd-team li:hover{
  /* border: none !important; */
  box-shadow: none !important;
}

.no-touch #cd-team li:hover {
  box-shadow: 0 0 10px rgba(92, 75, 81, 0.3);
}
.no-touch #cd-team li:hover .cd-img-overlay {
  opacity: 1;
}

#cd-team figure {
  position: relative;
}
#cd-team img {
  display: block;
  width: 100%;
  border-radius: .25em .25em 0 0;
}
#cd-team .cd-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0.5, 0.5, 0.4, 0.3);
  opacity: 0;
  border-radius: 25em;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  transition: opacity 0.3s;
}


#cd-team .cd-img-overlay span {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  color: #FFF;
}
#cd-team .cd-member-info {
  height: 80px;
  /* background: #FFF; */
  text-align: center;
  font-family:'Montserrat', sans-serif;old;
  font-size: 24px;
  padding-top: 20px;
  border-radius: 0 0 .25em .25em;
}
#cd-team .cd-member-info span {
  display: block;
  font-family:'Montserrat', sans-serif;ormal;
  color: #999999;
  font-size: 14px;
  font-size: 0.875rem;
  margin-top: .5em;
}
@media only screen and (min-width: 768px) {
  #cd-team li {
    width: 31%;
    float: left;
    margin-right: 3.5%;
  }
  #cd-team li:nth-child(3n) {
    margin-right: 0;
  }
}

.cd-member-bio {
  position: fixed;
  top: 0;
  right: 0;
  width: 270px;
  height: 100%;
  overflow-y: auto;
  /* smooth scrolling on mobile phones and tablets */
  -webkit-overflow-scrolling: touch;
  background: #631010;
  z-index: 999;
  /* this how we move the author bio section off the canvas */
  -webkit-transform: translateX(270px);
  -moz-transform: translateX(270px);
  -ms-transform: translateX(270px);
  -o-transform: translateX(270px);
  transform: translateX(270px);
  -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;
}
.cd-member-bio.slide-in {
  /* the author bio section slides in when the user clicks on the team member picture */
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.cd-member-bio .cd-member-bio-pict {
  position: relative;
}
.cd-member-bio .cd-member-bio-pict::after {
  /* gradient at the bottom of the image - same color of the background of the section */
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  /* background: -webkit-linear-gradient( bottom , #5c4b51, rgba(92, 75, 81, 0));
  background: linear-gradient(to top, #5c4b51, rgba(92, 75, 81, 0)); */
}
.no-cssgradients .cd-member-bio .cd-member-bio-pict::after {
  display: none;
}
.cd-member-bio img {
  width: 50%;
  text-align: center !important;
  float: none;
  margin: 45px 50px;
}
.cd-member-bio .cd-bio-content {
  padding: 1em;
  color: #FFF;
}


.cd-member-bio .cd-bio-content h1 {
  font-family:'Montserrat', sans-serif;;
  font-weight: bold;
  text-transform: uppercase;
  /* text-align: center; */
  font-size: 20px;
  font-size: 1.25rem;
}
.cd-member-bio .cd-bio-content p {
  font-size: 14px;
  font-size: 0.875rem;
  margin: 1em 0;
  line-height: 1.4;
  color: #d7cfd2;
}
@media only screen and (min-width: 768px) {
  .cd-member-bio {
    width: 600px;
    -webkit-transform: translateX(600px);
    -moz-transform: translateX(600px);
    -ms-transform: translateX(600px);
    -o-transform: translateX(600px);
    transform: translateX(600px);
  }
  .cd-member-bio .cd-bio-content {
    padding: 2em;
  }
  .cd-member-bio .cd-bio-content p {
    line-height: 1.6;
    margin: 2em 0;
  }
}

@media only screen and (max-width: 1024px)
{
  ul.regional-list li {
    margin-bottom: 10% !important;}
}

@media only screen and (min-width: 1200px) {
  .cd-member-bio {
    width: 800px;
    -webkit-transform: translateX(800px);
    -moz-transform: translateX(800px);
    -ms-transform: translateX(800px);
    -o-transform: translateX(800px);
    transform: translateX(800px);
  }
  .cd-member-bio .cd-member-bio-pict::after {
    height: 150px;
  }
  .cd-member-bio .cd-bio-content {
    padding: 4em;
    /* we move the content up so the title is over the color gradient */
    -webkit-transform: translateY(-80px);
    -moz-transform: translateY(-80px);
    -ms-transform: translateY(-80px);
    -o-transform: translateY(-80px);
    transform: translateY(-80px);
  }
  .cd-member-bio .cd-bio-content h1 {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 60px;
    font-family:'Montserrat', sans-serif;r-bio .cd-bio-content h3 {
    font-size: 1.2rem;
    font-family:'Montserrat', sans-serif;r-bio .cd-bio-content p {
    font-size: 16px;
    font-family:'Montserrat', sans-serif;dients .cd-member-bio .cd-bio-content {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}



.cd-member-bio-close {
  width: 68px;
  height: 40px;
  overflow: hidden;
  position: fixed;
  top: 10px;
  right: 10px;
  background: url("../../img/cd-icon-close.svg") no-repeat center center;
  text-indent: 100%;
  white-space: nowrap;
  z-index: 3;
  display: none;
}
.cd-member-bio-close.is-visible {
  display: block;
  -webkit-animation: cd-move-in 0.8s;
  -moz-animation: cd-move-in 0.8s;
  animation: cd-move-in 0.8s;
}
@media only screen and (min-width: 1200px) {
  .cd-member-bio-close {
    right: 0;
    top: 20px;
  }
}

@media only screen and (max-width: 449px) {

.line-shape {
  margin-left: calc(50% - 40px);
  width: 80px;
  height: 2px;
  background-color: #d11317;
  margin-top: -15px !important;
}

#cd-team h2 {
  font-family:'Montserrat', sans-serif;x;
  line-height: 36px;
  font-weight: 300;
  color: #444;
}


}




/* -------------------------------- 

xkeyframes 

-------------------------------- */
@-webkit-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-moz-keyframes cd-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@keyframes cd-fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
@-webkit-keyframes cd-move-in {
  0% {
    -webkit-transform: translateX(100px);
  }

  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-move-in {
  0% {
    -moz-transform: translateX(100px);
  }

  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-move-in {
  0% {
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }

  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

.linked-icon i{
  font-size: 2em;
  color: #FFF;
}


/* Arrow on image */

.arrow{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  /* background-color: rgba(171, 146, 87, 0); */
  opacity: 0;
  transition: background-color 200ms ease-out, opacity 200ms;
}

.arrow:hover {
  opacity: 1;
  transition-delay: 0s, 0s;
}

.arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 1px;
  box-shadow:
    -1px -1px 0 white,
    -2px -2px 0 white,
    -3px -3px 0 white,
    -4px -4px 0 white,
    -5px -5px 0 white,
    -6px -6px 0 white,
    -7px -7px 0 white,
    -8px -8px 0 white,
    -1px 1px 0 white,
    -2px 2px 0 white,
    -3px 3px 0 white,
    -4px 4px 0 white,
    -5px 5px 0 white,
    -6px 6px 0 white,
    -7px 7px 0 white,
    -8px 8px 0 white;
  background-color: white;
  font-weight: 700;
  transform: translateX(0px);
  transition: 160ms ease-out 80ms;
}

.arrow::after{
  content: '';
  position: absolute;
  top: 50%;  
  left: 50%;
  width: 0px;
  height: 1px;
  background-color: white;
  transition: 160ms ease-out 80ms;
}

.arrow::after {
  
}

.rotated::after {
  margin-left: 7px;
}

.arrow:hover::before {
  transform: translateX(8px);
}

.arrow:hover::after {
  width: 20px;
  margin-left: -20px;
  transform: translateX(8px);
}


