.home .flickity-viewport {
    height: 455px !important;
}
.home .carousel-result-home .cell .staff_box .card {
    height: 400px;
} 
@media screen and (min-width: 992px) {
    .home .flickity-viewport {
        height: 600px !important;
    }
    .home .carousel-result-home .cell .staff_box .card {
        height: 570px;
    }
}
@media screen and (min-width: 1100px) {
    .home .flickity-viewport {
        height: 585px !important;
    }
    .home .carousel-result-home .cell .staff_box .card {
        height: 550px;
    }
}
@media screen and (min-width: 1200px) {
    .home .flickity-viewport {
        height: 535px !important;
    }
    .home .carousel-result-home .cell .staff_box .card {
        height: 460px;
    }
}
@media screen and (min-width: 1300px) {
    .home .flickity-viewport {
        height: 545px !important;
    }
    .home .carousel-result-home .cell .staff_box .card {
        height: 450px;
    }
}
@media screen and (min-width: 1400px) {
    .home .flickity-viewport {
        height: 495px !important;
    }
    .home .carousel-result-home .cell .staff_box .card {
        height: 440px;
    }    
}
@media screen and (min-width: 1440px) {
    .home .flickity-viewport {
        height: 455px !important;
    }
    .home .carousel-result-home .cell .staff_box .card {
        height: 400px;
    }
} 

.home .card__image .border-white {
    padding-top: 120px;
}

.max-page {
    padding: 50px 0rem 20px;
}
.card__caption {
    font-variant: none;
}
label {
  padding: 0.35rem 0.80rem;
  border-radius: 300px !important;
  border: 1px solid #91A4A6;
  color: #143351;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  margin-right: 15px;
}
label:hover {
  color: #fff !important;
  border-radius: 300px !important;
  border: 1px solid #91A4A6 !important;
  background: #143351 !important;  
}
[type='radio']:checked + label {
  color: #fff !important;
  border-radius: 300px !important;
  border: 1px solid #91A4A6 !important;
  background: #143351 !important;  
}
.gallery {
  display: flex !important;
  flex-wrap: wrap !important;    
  justify-content: center !important;
  
}

.card {
  border-radius: 0 !important;    
  background: #173451 url(/wp-content/themes/DRIVE/assets/img/textura.jpg) !important;
  background-size: cover !important;
  box-shadow: none !important;
  width: 100%;  
  margin-bottom: 15px;
}

.page-template-archive-results .card {
    height: 360px;
}

@media screen and (min-width: 1200px) {
    .page-template-archive-results .card {
        height: 420px;
    }
}

@media screen and (min-width: 1400px) {
    .page-template-archive-results .card {        
        width: 400px;    
    }
}

.card__image {
  height: 100%;  
  padding: 10px;
  text-align: center;
  color: #FFF;  
  font-size: 86px;
  font-style: normal;
  font-weight: 600;
  line-height: 54px;
  letter-spacing: 1.92px;
}

.card__image .border-white {
  height: 100%;
  padding-top: 90px;
  border: 1px solid #FFF;
}

.card__image span {
  position: relative;
  color: #FFF;
  text-align: center;    
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  display: block;
  margin-top: 37px;
  padding-top: 20px;
}

.card__image span:before {
    content: "";    
    width: 80px;
    height: 1px;
    background: #91A4A6;
    position: absolute;
    top: 0;
    left: 50%;
    Transform: translateX(-50%);
}

.card__caption {
  text-align: left !important;    
}

.card__caption p {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: 16px;
}

.card__caption .border-white {
  border: 1px solid #fff;
  z-index: 99;
  padding: 25px;
  height: 100%;
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: 16px;
}
.card__caption .border-white .btn {
    margin-top: 15px;
    position: relative;
    top: initial;
    left: initial;
    bottom: initial;
    right: initial;
    color: white;
    border: 2px solid white;
    width: 100%;
    text-align: center;
}    

.card__caption .border-white p:nth-child(2) {
    display: none;
}
@media screen and (min-width: 1480px) {
    .card__caption .border-white p:nth-child(2) {
        display: initial;
    }
}

#breadcrumbs {
  display: none;
}

.categories {
  color: #143351;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.48px;
  margin-bottom: 40px;
  margin-top: 30px;
}

[class^="imghvr-"],
[class*=" imghvr-"] {
    position: relative;
    display: inline-block;
    margin: 0;
    max-width: 100%;
    background-color: #2266a5;
    color: #fff;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
}

[class^="imghvr-"] > img,
[class*=" imghvr-"] > img {
    vertical-align: top;
    max-width: 100%;
}

[class^="imghvr-"] figcaption,
[class*=" imghvr-"] figcaption {    
    background: #173451 url(/wp-content/themes/DRIVE/assets/img/textura.jpg) !important;
    background-size: cover !important;
    padding: 10px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: #ffffff;
}

[class^="imghvr-"] figcaption h1,
[class^="imghvr-"] figcaption h2,
[class^="imghvr-"] figcaption h3,
[class^="imghvr-"] figcaption h4,
[class^="imghvr-"] figcaption h5,
[class^="imghvr-"] figcaption h6,
[class*=" imghvr-"] figcaption h1,
[class*=" imghvr-"] figcaption h2,
[class*=" imghvr-"] figcaption h3,
[class*=" imghvr-"] figcaption h4,
[class*=" imghvr-"] figcaption h5,
[class*=" imghvr-"] figcaption h6 {
    color: #ffffff;
}

[class^="imghvr-"] a,
[class*=" imghvr-"] a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

[class^="imghvr-"],
[class*=" imghvr-"],
[class^="imghvr-"]:before,
[class^="imghvr-"]:after,
[class*=" imghvr-"]:before,
[class*=" imghvr-"]:after,
[class^="imghvr-"] *,
[class*=" imghvr-"] *,
[class^="imghvr-"] *:before,
[class^="imghvr-"] *:after,
[class*=" imghvr-"] *:before,
[class*=" imghvr-"] *:after {
    box-sizing: border-box;
    transition: all 0.35s ease;
}

/* imghvr-fade-*
   ----------------------------- */
[class^="imghvr-fade"] figcaption,
[class*=" imghvr-fade"] figcaption {
    opacity: 0;
}

[class^="imghvr-fade"]:hover figcaption,
[class*=" imghvr-fade"]:hover figcaption {
    opacity: 1;
}

[class^="imghvr-fade"]:hover > img,
[class^="imghvr-fade"]:hover figcaption,
[class*=" imghvr-fade"]:hover > img,
[class*=" imghvr-fade"]:hover figcaption {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
}

/* imghvr-fade

/* responsive  */
@media screen and (min-width: 768px) {
    .max-page {
        padding: 50px 1rem 20px;
    }
    .card__image {
      font-size: 96px;     
    }
}
@media screen and (min-width: 1200px) {
    .card {
        width: 350px;       
    }
    .gallery {
        justify-content: space-between !important;
    }
}

@media screen and (min-width: 1285px) {
    .card {
        width: 385px;       
    }
}

@media screen and (min-width: 1345px) {
    .card {        
        width: 400px;    
    }
}