.carousel .carousel-inner {
    height: 450px;
}
.carousel{
    margin-top: -1.563rem;
}
.carousel .carousel-item figure{
	height: 450px;
}
.carousel .carousel-item figure img{
	position: absolute;
	top: -20%;
	width: 100vw;
	max-width: unset;
}
.header-top{
	background: #1a1919;
}
#header .header-nav{
	
	background-color: #d8232a;
	border-bottom: #d8232a 2px solid;
}
#header .header-nav a{
	color: #fff;
}
.top-menu a[data-depth="0"] {
    padding: .625rem 0 .625rem .625rem;
    font-size: 14px;
    font-weight: 600;
}

  /* Kafelki usług */
  .ig-card { height: 100%; }
  .ig-card .card-body { padding: 1rem; }

  /* Stała wysokość obrazków + równe kadrowanie */
  .ig-img{
	    width: 100%;
	    height: 180px;        /* możesz zmienić np. 160/200 */
	    object-fit: cover;    /* wypełnia i przycina */
	    display: block;
	    border-radius: .25rem;
  }
#custom-text .row > div:nth-child(4n + 1) {
    clear: both; /* fallback */
  }
  
	#custom-text .ig-card .card-body {
	  padding: 10px 2px 2px 2px;
    border: 1px solid #fefefc;
    background: #1a1919;
    border-radius: 10px;
    color: #fcfcfa;
	}
	
	#custom-text .ig-card .card-body h3 {
	  height: 20px
	}
	
	#custom-text .ig-card .card-body  a.ig-link{
		display: block;
		position: relative;
		height: 130px;
		overflow: hidden;
	}
	#custom-text .ig-card .card-body  a.ig-link img{
		position: absolute;
		width: 100%;
		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%);
	}

#_desktop_user_info .quote{
	position: relative;
}
#_desktop_user_info .user-info{ 
	display: none;
}
#_desktop_user_info .quote{
	padding: 15px 0;
}
#quite_qty{
	position: absolute;
    top: 5px;
    left: 25px;
    border-radius: 10px;
    height: 18px;
    width: 17px;
    padding: 0px 2px 2px 2px;
    background: #fef56c;
    color: #1a1919;
    font-size: 11px;
    display: block;
    text-align: center;
}

#contact-link{
	color: #fff;
	font-size: 12px;
}
#header .header-nav .material-icons{
	font-size: 16px;
	padding: 0px 20px 22px 15px;
}

/* Opcjonalnie: trochę większe obrazki na dużych ekranach */
@media (min-width: 992px){
	.ig-img{ height: 190px; }
}

@media only screen and (min-width: 992px) {
	#search_widget{
	    min-width: 12.5rem;
	}
}

@media (max-width: 767px){
	#header .header-nav #menu-icon{
		color: #fff;
	}
	#header .header-nav #menu-icon .material-icons {
	    font-size: 42px;
	}
	#_mobile_user_info{
		display: none;
	}
	#header .header-nav #menu-icon {
    margin: 0;
	}
	.carousel .carousel-item figure {
 	   height: auto;
	}
    #header .top-logo{
    	margin-left: 20px;
	}
	
	#header .header-nav
	{
	    background-color: #191919;
	    border-bottom: #191919 2px solid;
	}
	#contact-link {
	    color: #fff;
	    font-size: 12px;
	}
	#_mobile_contact_link{
		position: fixed;
		bottom: 0;
		left: 0;
		padding: 10px;
		background: #d8232a;
		width: 100%;
		color: #fff;
	}
	#_mobile_contact_link a{
		color: #fff;
	}
	#_mobile_contact_link #contact-link > span{
		margin-left: 15px;
	}
	.header-nav .quote{
		display: inline-block;
		position: absolute;
		top: 0;
		left: calc(100% - 120px);
		top: 15px;
	}
	#header .header-nav .material-icons {
	    font-size: 32px;
	    padding: 0px 20px 22px 15px;
	}
	#custom-text {
    	padding: .125rem;
    }
}

@media (max-width: 991px) {
    .carousel {
        left: 50%;
        width: 100vw;
        padding-bottom: .5rem;
        margin-left: -50vw;
        background-color: #f6f6f6;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .carousel .carousel-inner {
	    height: auto;
	}
}