/*
 * CE: Contact Person
 * ---------------------------------------------------------------- */

.ce-contactPerson{
  margin-bottom: 3em;
}

body .ce-contactPerson .hover-content p{
  color: white!important;
}

.ce-contactPerson .hover-content .btn-primary{
  color: white;
  border-color: white;
}

.ce-contactPerson .hover-content .btn-primary:hover{
  color: #958169;
  border-color: #958169;
}

.ce-contactPerson .image-wrapper {
  position: relative;
}
.ce-contactPerson .image-wrapper img{
  /*border: 1px solid gray;*/
}
.ce-contactPerson .image-wrapper .hover-content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,.4);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: .5s;
  -moz-transition: .5s;
  -ms-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  text-align: center;
}
.ce-contactPerson .image-wrapper .hover-content p {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  width: 75%;
}

.ce-contactPerson .image-wrapper:hover .hover-content {
  visibility: visible;
  opacity: 1;
}

.ce-contactPerson .hover-content .contactButton {
position: absolute;
left: 50%;
transform: translatex(-50%);
bottom: 5%;
width: 100%;
max-width: 200px;
}

.ce-contactPerson .text-wrapper,.ce-contactPerson .text-wrapper p {
  text-align: center;
  padding: 15px 0px 0px;
  background-color: transparent;
  margin-bottom: 0rem;
}
.ce-contactPerson .text-wrapper .name {
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 2em;
}

.ce-contactPerson .text-wrapper .position {
  color: rgba(0, 0, 0, 0.8);
}

.ce-contactPerson .hover-content a {
  color: #fff;
}

.ce-contactPerson .hover-content .company {
  font-weight: 700;
  color: #ffffff;
}

.ce-contactPerson .text-wrapper h2 {
  font-size: 26px;
}

.ce-contactPerson .text-wrapper h3 {
  font-weight: 300;
}



.contactButton .btn{
  -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 2s; /* Firefox < 16 */
  -ms-animation: fadein 2s; /* Internet Explorer */
  -o-animation: fadein 2s; /* Opera < 12.1 */
  animation: fadein 2s;
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

