/* ---------- ABOUT VINTAGE --------- */

/* --- GRID --- */
body, html {
  background: #fff;
}

#searchContent {
  display: block;
  position: relative;
  padding-top: 85px;
  width: 100vw;
  height: auto;
  background-color: #fff;
  top: 0;
  left: 0;
  font-size: 0;
  overflow: hidden;
  text-align: center;
  min-height: calc(100vh - 85px - 45px);
  color: #000;
}

.search-main-content {
  display: inline-block;
  position: relative;
  width: calc(60vw);  
}

.search-section {
  margin-bottom: 30px;
}

.search-small-header {
  display: block;
  width: 100%;
  text-align: center;
  font-family: 'karla';
  font-size: 14px;
  line-height: 100%;
  cursor: pointer;
  margin-bottom: 10px;
  text-transform: uppercase;
  position: relative;
}

.search-upper {
  margin-bottom: 20px;  
}

.search-text-content {
  font-weight: bold;
  font-family: 'PT Serif';
  font-size: 25px;
  font-weight: bold;
  line-height: 28px;
}

.search-query {
  position: relative;
  display: inline-block;
}

.search-query::before {
  top: 0;
  left: -13px;
  color: #000;
  content: '“';
  font-size: 25px;
  position: absolute;
}

.search-query::after {
  right: -13px;
  color: #000;
  content: '”';
  bottom: 0;
  font-size: 25px;
  position: absolute;
}

#search-vintage-container, #search-winemaker-container {
  width: calc(100% + 16.66% - 78.4px);
}

.search-years {
  font-size: 40px;
  line-height: 40px;
  display: inline-block;
  width: 90.4px;
  text-align: center;
  margin-bottom: 20px;
  margin-right: calc(16.66% - 90.4px);
}

.search-no-margin {
  margin-left: -90.4px;
  margin-right: 0 !important;
}

/* ---- PH ----- */

#search-porthouse-container {
  width: calc(100% + 20px);
}

#search-porthouse-container .related_about_grid {
  width: calc(33.33% - 20px);
  height: 222px;
  margin-right: 20px;
  margin-bottom: 20px;
  vertical-align: top;
  position: relative;
  overflow: hidden;
  display: inline-block;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
}

.ph-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #141414;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 5;
    cursor: pointer;
}

.ph-top-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  vertical-align: middle;
  width: 250px;
  max-width: 50%;
  height: auto;
  max-height: 90%;
  z-index: 10;
}

.search-img-container:hover .ph-grid-overlay, .ph-top-logo:hover + .ph-grid-overlay {
    opacity: 1;
    cursor: pointer;
}

/* ------ AV -------- */
#search-aboutvintage-container {
  width: calc(100% + 20px);
}


.related_about_grid {
  display: inline-block;
  width: calc(25% - 20px);
  height: auto;
  margin-right: 20px;
  margin-bottom: 20px;
  vertical-align: top;
  position: relative;
  overflow: hidden;
}

.related_about_grid div {
  display: inline-block;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  transition: transform 0.4s ease-in-out;
}

.related_about_grid div:hover {
  transform: scale(1.02);
}

.related_about_grid p {
  font-family: 'PT Serif';
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
  text-align: left;
  position: relative;
  left: 0;
  width: calc(100% - 9px);
  position: absolute;
  bottom: 0;
  background-color: #fff;
  padding: 10px;
  padding-left: 0; 
}



@media only screen and (min-width: 700px) and (max-width: 1024px) {

  #search-vintage-container, #search-winemaker-container {
    width: calc(100% + 25% - 78.4px);
  }
  
  .search-years {
    margin-right: calc(25% - 90.4px);
  }
  
  #search-porthouse-container .related_about_grid {
    width: calc(50% - 20px);
  }
  
  .related_about_grid {
    width: calc(33.33% - 20px);
  }

}

@media only screen and (min-width: 700px) and (max-width: 1024px) and (orientation: portrait)  {
   
}

/* ------- MOBILE ------- */
@media only screen and (max-width: 699px) { 
  /* ---- DASHBOARD ---- */
  
  #searchContent {
    padding-top: 75px;
  }
  
  .search-main-content {
    width: calc(100vw - 40px);  
  }
  
  #search-vintage-container, #search-winemaker-container {
    width: calc(100% + 50% - 78.4px);
  }
  
  .search-years {
    margin-right: calc(50% - 90.4px);
  }
    
  #search-porthouse-container .related_about_grid {
    width: calc(100% - 20px);
  }

  .related_about_grid {
    width: calc(100% - 20px);
  }
  
  
  
  
  
  
  
 
}