/*
 Theme Name:   Nifty Child
 Theme URI:    http://nifty.bold-themes.com
 Description:  Nifty child theme
 Author:       BoldThemes
 Author URI:   http://bold-themes.com
 Template:     nifty
 Version:      1.0.0
 Tags:         one-column, right-sidebar, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  nifty-child
*/


/* Theme customization starts here
-------------------------------------------------------------- */
/* css to add custom fonts  */
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('custom-fonts/Avenir LT Pro/AvenirLTProBlack.woff2') format('woff2');
  font-weight: 550;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('custom-fonts/Avenir LT Pro/AvenirLTProHeavy.woff2') format('woff2');
  font-weight: 550;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('custom-fonts/Avenir LT Pro/AvenirLTProMedium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('custom-fonts/Avenir LT Pro/AvenirLTProLight.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* css to give margin to logo image */
.bt-logo-area .logo img {
    margin-top: 5px !important;
}
/* css for category title in services page */
.category-title {
    text-align: center;
    padding-top: 50px;
    color: #353a42;
}
/* css to give color to category name in project page and project single page */
.project-parent-category-name,.project-sub-category-name {
    color:#fb8c00;
}
/* css fotr custom template design for services and projects page */
.image-hover-card {
    position: relative;
    overflow: hidden;
}
.image-hover-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.image-hover-card:hover .overlay {
    opacity: 1;
	border: 4px solid #fb8c00;
}
.image-hover-card img {
    height: 413px;
    object-fit: cover;
}
.image-hover-card a:hover{
   color: white;
}
.image-hover-card a{
   font-family:"Avenir LT Pro",Arial,Helvetica,sans-serif;
}
.image-hover-card .overlay h3 {
   font-size:16px;
}
.image-hover-card .overlay h2 {
   font-size:32px;
}
.image-hover-card .overlay p {
   font-size:20px;
	font-family:"Avenir LT Pro",Arial,Helvetica,sans-serif;
}
.overlay .overlay-part-1 {
	height:83%;
}
.overlay .overlay-part-2 {
	height:15%;
}
@media (min-width: 768px) and (max-width: 992px) {
	.image-hover-card .overlay h3 {
	   font-size:14px;
	}
	.image-hover-card .overlay h2 {
	   font-size:25px;
	}
	.image-hover-card .overlay p {
	   font-size:18px;
	}
	.overlay .overlay-part-1 {
      overflow:hidden;
	}
	.image-hover-card a{
		padding-top:10px;
    }
}