/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 14/07/2015, 09:23:18
    Author     : Juliano
*/

.leaders .row:last-child .leader {
  border-top: none;
}
.leaders .row:nth-child(2) .leader {
  border-bottom: none;
}
.leaders .leader {
  border-left: 1px solid rgba(0, 0, 0, 0.09);
  border-right: 1px solid rgba(0, 0, 0, 0.09);
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  background-color: white;

  position: relative;
  width: 25%;
  float: left;
  box-sizing: border-box;
  /*new stuff*/
  float: none;
  width: 100%;
  overflow:hidden;
}
.leaders .leader:last-child {
  border-bottom: 0;
}
.leaders .leader.leader-last {
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
.leaders .leader:hover,
.leaders .leader.hover,
.leaders .leader:active,
.leaders .leader.active {
  background-color: #CDE4DC;
}
.leaders .leader .img-responsive {
  display: none;
      width: 100%;
}
.leaders .leader .details {
  padding: 15px;
}
.leaders .leader .details h4 {
  color: #387E6D;
  margin-top: 15px;
  margin-bottom: 5px;
}

.leaders .leader .details p {
  padding-bottom: 10px;
}

.leaders .leader-modal {
  height: 0;
  opacity: 0;
  overflow: hidden;
  -webkit-transition: height 300ms linear;
  transition: height 300ms linear;
}
.leaders .leader-modal .leader-back {
  margin-right: 0;
  margin-left: 0;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: white;
  border-top: 3px solid #387E6D;
}
.leaders .leader-modal .row {
  bottom: 0;
}
.leaders .leader-modal h3 {
  display: inline;
}
.leaders .leader-modal h4 {
  display: inline-block;
  border-top: 1px solid #f1eeec;
  padding-top: 15px;
  margin-top: 20px;
}
.leaders .leader-modal blockquote {
  margin: 30px 0;
}
.leaders .leader-modal .leader-linkedin {
  margin-left: 10px;
}
.leaders .leader-modal .custom-icon {
  vertical-align: top;
  margin-top: 4px;
}
.leaders .leader-modal.open {
  height: auto;
  opacity: 1;
}
.leaders .leader-modal {
  z-index: 10001;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  display: none;
}
.leaders .leader-modal.open {
  display: block;
}
.leaders .leader-modal .leader-back {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: scroll;
}
.leaders .leader-modal .leader-remove {
  position: fixed;
  top: 20px;
  right: 20px;
  color: #ffffff;
  background-color: #387E6D;
  padding: 7px 8px 8px;
  border-radius: 50%;
  cursor: pointer;
}
body.leadership-modal-open {
  overflow-y: hidden;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
  body.leadership-modal-open {
    overflow-y: scroll;
  }
  .leaders .leader {
    border-right: 0;
    border-bottom: 0;
    width: 50%;
    float: left;
  }
  .leaders .leader .details:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background-color: #387E6D;
    -webkit-transition: height 150ms linear;
    transition: height 150ms linear;
  }
   .leaders .leader.open .details:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background-color: #387E6D;

  }
  
  .leaders .leader:last-child {
    border-bottom: 0;
  }
  .leaders .leader:hover {
    background-color: transparent;
  }
  .leaders .leader:hover .details:before {
    height: 10px;
  }
  .leaders .leader.open:before {
    height: 10px;
  }
  .leaders .leader .img-responsive {
    display: block;
  }
  .leaders .leader .details {
    position: absolute;
    display: block;
	width:100%;
    right: 0;
    bottom: 0;
    left: 0;
    padding-top: 0;
    padding-bottom: 0;
	height:auto; background: rgba(27, 27, 27, 0.72);
  }
  .leaders .leader .details h4 {
    margin-top: 20px;
    margin-bottom: 4px;
    color: #ffffff;
    font-family: AdelleSemiBold;
	font-size: 20px;
	font-weight: 600;
  }
  .leaders .leader .details p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    letter-spacing: 1px;
    font-family: AdelleLight;
  }
  .leaders .leader p:after {
    position: absolute;
    bottom: 55px;
    left: 0;
    right: 0;
    height: 0;
    font-size: 20px;
    font-weight: 400;
  }
  .leaders .leader-modal {
    position: relative;
    display: block;
    z-index: 1;
  }
  .leaders .leader-modal.open {
    margin-left: 1px;
    margin-right: 1px;
    border-top: 5px solid #387E6D;
  }
  .leaders .leader-modal .leader-back {
    position: relative;
   overflow-y: visible;
  }
  .leaders .leader-modal .leader-remove {
    display: none;
  }
  .leader-twitter {
    visibility: hidden;
  }
  
}
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .leader-twitter {
    visibility: visible;
  }
    .leaders .leader {
    border-right: 0;
    border-bottom: 0;
    width: 25%;
    float: left;
  }

}


  @media (max-width: 992px) {
  .col-xs-12 { width: 83%;
    position: relative;
    margin: auto !important;
    float: none; }
  }

  @media (max-width: 768px) {
	  html { font-size: 7px}
.leaders .leader .img-responsive {
	display:block;
    width: auto;
    float: left;
	margin-right:20px;
    height: 150px;
}
  .col-xs-12 { width: 100%;}
.site-wrapper .grid-squeezed {
    padding: 0px 50px !important;
}
.intro {
    top: -150px !important;
}

  }



  @media (max-width: 500px) {


.site-wrapper .grid-squeezed {
    padding: 0px 20px !important;
}


  }


/*
SECTION
*/
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "AdelleSemiBold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.1;
}

.atmosphere .atmosphere-intro h3.section-details {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}
.linkedin h3.section-details {
  padding-bottom: 0;
}
body.narrative section.back-red h3.section-details {
  color: rgba(255, 255, 255, 0.9);
}
h3.section-details {
  font-size: 16px;
  margin-top: -15px;
  line-height: 1.50;
  font-weight: 400;
  padding-bottom: 15px;
  color: #8a7a77;
    font-family: adellesans;
    font-style: italic;
}
/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
  h1.page-heading {
    font-size: 56px;
  }
  h4.page-title {
    font-size: 15px;
    padding-bottom: 15px;
  }
  h2.section-title {
    font-size: 46px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Maven Pro', sans-serif;
	    letter-spacing: -0.05em;
  }
  h2.section-subtitle {
    font-size: 32px;
  }
  h2.section-subhead {
    font-size: 20px;
  }
  h3.section-story {
    font-size: 26px;
  }
  h3.section-details {
    font-size: 20px;
  }
}
body.giving-back section h3.section-details {
  color: #3b2e2b;
}

/* ICONS */
.custom-icon {
  display: inline-block;
  background-color: #387E6D;
  border-radius: 50%;
  height: 24px;
  width: 24px;
  -webkit-transition: background-color 150ms linear;
  transition: background-color 150ms linear;
}
.custom-icon:hover,
.custom-icon.hover,
.custom-icon:active,
.custom-icon.active {
  background-color: #015e2b;
}
.custom-icon img {
  vertical-align: top;
  height: 24px;
  width: 24px;
}
.custom-icon.custom-icon-sm {
  height: 20px;
  width: 20px;
}
.custom-icon.custom-icon-sm img {
  height: 20px;
  width: 20px;
  
}



