/*
    ABOUT
*/
.gingras-box {
  border-style: solid;
  border-width: 2.4px;
  color: #9f151b !important;
  font-weight: bold;
  border-color: #c2c2c2;
  height: 230px;
  text-align: center;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .gingras-box {
    height: 200px;
  }

  .gingras-box:hover,
  .gingras-box:active {
    min-height: 250px !important;
    border-color: #9f151b;
    cursor: pointer;
    box-shadow: 0 10px 12px 0 rgba(0, 0, 0, 0.2),
      0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
}

.gingras-box:hover {
  min-height: 330px;
  border-color: #9f151b;
  cursor: pointer;
  box-shadow: 0 10px 12px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.gingras-box:hover .fa-circle {
  color: #9f151b !important;
}

.gingras-box:hover i {
  color: #c2c2c2 !important;
}

.gingras-box:active {
  border-color: #9f151b;
  min-height: 330px;
  text-align: center;
}

.gingras-box .gb-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center !important;
}

.gingras-box .gb-title-up {
  position: absolute;
  top: 10px;
  width: 100%;
  text-align: center !important;
  font-weight: bold !important;
}

.gingras-box div div h3 {
  color: #000;
  font-weight: normal;
  font-size: 1.1em;
}

.gingras-box span {
  position: absolute;
  left: 50%;
  top: 25%;
  margin-left: -41px;
}

.font-icon-up {
  top: -25px !important;
  left: 50% !important;
  margin-left: -25px !important;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.gingras-box p {
  margin-top: 55%;
  visibility: hidden;
  font-weight: normal;
  color: black;
}

.gb-padding-top {
  padding-top: 30px;
}

/*
    TEAM
*/

.gingras-team-box {
  height: 500px;
  background-color: rgba(194, 194, 194, 0.4) !important;
  border-style: solid;
  border-width: 2.4px;
  color: #9f151b !important;
  font-weight: bold;
  border-color: #6c6c6d;
  text-align: center;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.img-custom-thumbnail {
  visibility: hidden;
  position: absolute;
  top: -60px !important;
  left: 50% !important;
  margin-left: -35px !important;
  border-style: solid;
  border-width: 2px;
  border-color: white;
}

.team-a {
  background: url(../img/Equipe-avocats/caroline-laflamme.jpg) no-repeat top
    center scroll;
}

.team-b {
  background: url(../img/Equipe-avocats/avocat-montreal-gingras.png) no-repeat
    bottom center scroll;
}

.team-c {
  background: url(../img/Equipe-avocats/avocat-saaq-carol.png) no-repeat bottom
    center scroll;
}

.team-d {
  background: url(../img/Equipe-avocats/sabrina-grasso.png) no-repeat top center
    scroll;
}

.gingras-team-box:hover {
  margin-top: 20px;
  border-color: #9f151b;
  cursor: pointer;
  box-shadow: 0 10px 12px 0 rgba(0, 0, 0, 0.2), 0 6px 26px 0 rgba(0, 0, 0, 0.19);
  background-color: rgba(194, 194, 194, 0.7);
  background-image: none;
}

.gingras-team-box:active {
  margin-top: 20px;
  border-color: #9f151b;
  background-color: rgba(194, 194, 194, 0.7);
  background-image: none;
  text-align: center;
}

@media (max-width: 767px) {
  .gingras-team-box:hover {
    margin-top: 50px;
  }

  .gingras-team-box:active {
    margin-top: 50px;
  }
}

.gingras-team-box .gb-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center !important;
  background-color: rgba(159, 21, 27, 0.7);
}

.gingras-team-box .gb-title-up {
  position: absolute;
  top: 10px;
  width: 100%;
  text-align: center !important;
  font-weight: bold !important;
}

.gingras-team-box div div h3 {
  color: #fff;
  font-weight: bold;
  font-size: 1.4em;
  text-transform: none;
}

@media (min-width: 992px) and (max-width: 1660px) {
  .gingras-team-box div div h3 {
    font-size: 1.3em !important;
  }
  .gingras-team-box div div h2 {
    font-size: 1.2em !important;
  }

  .gingras-team-box p {
    font-size: 1em !important;
  }
}

.gingras-team-box div div h4 {
  color: #fff;
  font-weight: normal;
  font-size: 1.4em;
  font-style: italic;
  text-transform: none;
}

.gingras-team-box span {
  position: absolute;
  left: 50%;
  top: 25%;
  margin-left: -41px;
}

.gingras-team-box p:first-of-type {
  margin-top: 15%;
}

.gingras-team-box p {
  visibility: hidden;
  font-weight: normal;
  color: black;
}

@media (min-width: 1300px) {
  .gingras-team-box p {
    font-size: 1.2em;
  }
}

.tiles-team-social {
  position: absolute;
  bottom: 0;
  font-size: 1.6em;
  font-weight: bold;
  visibility: hidden;
  color: #9f151b !important;
  width: 100%;
}

.team-social-padding {
  padding-left: 15px;
  padding-right: 15px;
}
