/*
 Theme Name:     Tempus Child Theme
 Theme URI:      http://themeforest.net/user/mallini
 Description:    A child theme for use with Tempus Theme.
 Author:         mallini
 Author URI:     http://themeforest.net/user/mallini/portfolio
 Template:       tempus
 Version:        1.0.0
 Tags: translation-ready,theme-options,custom-menu
*/

/* Add Custom CSS after this line */
.portfolio-three .portfolio-item {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

/* Σταθερό “οπτικό” ύψος thumb 240px */
.portfolio-item { margin-bottom: 20px; }

/* Mobile: πιο μικρό ύψος thumbnail */
@media (max-width: 768px) {
  .thumb { height: 200px !important; }
}





/* Container (tile/thumbnail area) */
.portfolio-masonry .portfolio-item .thumb,
.portfolio-grid   .portfolio-item .thumb,
.featured-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff; /* optional frame */
}

/* Image: scale to fit, never crop */
.portfolio-masonry .portfolio-item img,
.portfolio-grid   .portfolio-item img,
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* key: show the whole image */
  display: block;
}

/* Desktop “box” height (adjust as needed) */
@media (min-width: 1024px) {
  .portfolio-masonry .portfolio-item .thumb,
  .portfolio-grid   .portfolio-item .thumb,
  .featured-image {
    height: 380px;      /* set your desktop size here */
  }
}

/* Mobile/tablet: responsive height */
@media (max-width: 1023.98px) {
  .portfolio-masonry .portfolio-item .thumb,
  .portfolio-grid   .portfolio-item .thumb,
  .featured-image {
    height: 56vw;       /* roughly 16:9; cap it if needed */
    max-height: 420px;
  }
}



.copyright {
	background-color: black !important;
}

/*header height*/

.container.fullwidth-navigation, .fullwidth-navigation .nav_container {
	height: 180px;
}

/*copyright*/
.copyright {
	padding-top: 10px;
	padding-bottom: 10px;
}
.widget {
	padding-bottom: 5px;
}