@import url('https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700');
#import url('https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700');
*{
	box-sizing:border-box;
	font-family: 'Montserrat', sans-serif;
}
#fancybox-wrap, #fancybox-wrap * {
    box-sizing: content-box;
	
}

nav ul,
header ul{
	margin:0;
	padding:0;
	list-style: none;
}
#img-top{
	width: 100%;
	height: 150px;
	background: black;
}
#customfix {
    width: 35%;
	display: inline-block;
margin-bottom: 40px;
vertical-align:top;
margin-left: 25px;
  }
@media only screen and (max-width: 1000px) {
#customfix {

    width: 100%;
display: inline-block;
margin-left: 0px;
  }
}

#customfix2 {
    width: 35%;
	display: inline-block;
margin-bottom: 40px;
margin-right: 25px;
vertical-align:top;
  }
@media only screen and (max-width: 1000px) {
#customfix2 {

    width: 100%;
display: inline-block;
margin-right: 0px;
  }
}

#customfixtext {
    width: 60%;
	display: inline-block;
}

@media only screen and (max-width: 1000px) {
#customfixtext {
    width: 100%;
padding-bottom: 25px;
display: inline-block;
  }
}







header{
	visibility: hidden;
}
header .container{
	padding-top:200px; 
}
header .container h2{
	font-size: 50px;
    font-weight: 600;
}
header .bx-viewport{
	height: 550px;
}

header .top{
	height: 550px;
	background-size: 100% 100%;
	text-align: center;
}
/* #subpage2 header .top{
	height: 150px;
	overflow: hidden;
}
 */
nav .logo img{
	/* width:100%; */

}
nav .container{
	position: absolute;
	top: 50px;
	z-index: 100000;
	left: 0;
	right: 0;
}

.flexnav > li.last  a{
	padding-right: 0;
}

ul.flexnav{
	padding-top: 10px;
}
nav ul li a:hover,
.active_menu{
	color:#c60c23;
	text-decoration: none;
	cursor: pointer;
}
nav ul li a.active_menu{
	color: #c60c23;
}
.numer_telefonu{
	position: absolute;
	right: 15px;
	top:-25px;
}
.numer_telefonu span{
	padding:10px;
	background: #c60c23;
	color:white;
	font-weight: 700;
}
.numer_telefonu a{
	padding:10px;
	background: #c60c23;
	color:white;
	font-weight: 700;
}
.numer_telefonu a:hover{
	text-decoration:none;
	color:white:
}
/* menu boczne */
#menu_boczne{
	margin-top:35px;

}
ul#nav,
ul#nav li ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

ul#nav li.poziom1 a{
	color: white;
	padding: 7px 0 7px 5px;
	display: inline-block;
	font-size: 16px;
	width: 100%;
	text-decoration: none;
	background: #c60c23;
	/* border: 1px solid #c60c23; */
	border-bottom: 1px solid #970013;
	transition: all 0.2s;
}

ul#nav li.poziom2 a{
	color: white;
	text-decoration: none;
	font-size: 12px;
	padding:5px 5px 5px 20px; 
	text-decoration: none;
	border: 1px solid #970013;
	background: #970013;
	border-bottom: 1px solid  #c60c23;

}
ul#nav li.poziom2 a:hover,
ul#nav li.poziom2 a.aktywny{
	border-top:1px solid white;
	border-bottom:1px solid white;
	background: black;
	color: white;
}
 ul#nav li.poziom1>a{
 	position: relative;
 }
 ul#nav li.poziom1>a::after{
	position: absolute;
	content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 6px 0 6px;
    border-color: white transparent transparent transparent;
	top: 13px;
	right: 30px;

} 
 ul#nav li.poziom1>a.aktywny::after{
	position: absolute;
	content: '';
  	width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 8px 6px 0;
    border-color: transparent white transparent transparent;
	top: 13px;
	right: 30px;
	
} 

/* end menu boczne */
ul#nav li.poziom1 ul{
	display: none;
}

ul > li > a.OFERTA{
	pointer-events: none;
}

ul#nav li.poziom3 a{
	padding:5px 5px 5px 30px;  
}

.slider .bx-wrapper .bx-controls-direction a{
	width: 40px;
	height: 40px;
}
.slider  .bx-wrapper .bx-next{
	background: url('../img/1_04.png') no-repeat;
    background-position: -235px -60px;
     right: 15%;
}
.slider  .bx-wrapper .bx-next:hover{
	background: url('../img/1_04.png') no-repeat;
    background-position: -235px -60px;
}
.slider  .bx-wrapper .bx-prev{
	background: url('../img/1_04.png') no-repeat;
    background-position: -235px -20px;
    left: 15%;
}
.slider  .bx-wrapper .bx-prev:hover{
	background: url('../img/1_04.png') no-repeat;
    background-position: -235px -20px;

}

.slider  .bxslider .zobacz{
    display:inline-block;
    padding: 5px 30px;
    font-size: 25px;
    background: #c60c23;
    text-decoration: none;
    color: white;
    text-align: center;
    margin: 40px auto;
    font-weight: 700;
    position: relative;
    transition: all 0.2s;
    border: 2px solid #c60c23;
}

.slider .bxslider .zobacz::after{
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 23px 0px 23px 8px;
    border-color: transparent transparent transparent #c60c23;
    position: absolute;
    right: -10px;
    top: 0px;
    transition: all 0.2s;
}

.slider  .bxslider .zobacz:hover{
	background:transparent;
	color:#c60c23 ;

}

.slider h2 {color:white;text-shadow:1px 1px black}
/* end slider gora */


footer .container{
    padding-top: 25px;
    border-top: 1px solid gray;
    padding-bottom: 30px;
    border-bottom: 1px solid gray;
   

}
footer i{
	width:45px;
	height: 45px;
	overflow: hidden;
	display: block;
	margin: 10px auto;
}
footer .box{
	text-align:center;
}
footer .box p{
	font-weight: 400;
	margin:0;
}
footer .box span{
	font-size:16px;
	font-weight: 700;
}
footer .box a{
	color: black;
}
footer .ico_adres{
	background: url('../img/1_04.png') no-repeat;
    background-position: -235px -298px;
}
footer .ico_numer{
	background: url('../img/1_04.png') no-repeat;
    background-position: -235px -230px;
}
footer .ico_kontakt{
	background: url('../img/1_04.png') no-repeat;
    background-position: -235px -165px;
}

footer.millenium a{
	color:black;
}
footer.millenium{
	text-align:center;
	text-decoration: none;
	padding-top:20px;
	padding-bottom: 10px;
}
section.home_boxy{
	display: block;
	overflow: hidden;
}
.home_boxy a{
	display: inline-block;
    width: 25%;
    min-height: 250px;
    max-height: 250px;
   	float:left;
   	text-align: center;
   	background:#c4001a;
	text-decoration: none;
   }
   
.home_boxy a:hover{
	text-decoration: none;
   }
.home_boxy .box:hover::after{
	content: "";
    width: 90%;
    height: 220px;
    border: 2px solid white;
    display: block;
    position: relative;
    top: -220px;
    /* background: red; */
    left: 5%;
}

.home_boxy a:nth-of-type(even){
	background:#970013;
}
.home_boxy i{
	width:80px;
	height: 80px;
	display: block;
	margin:20px auto;
}
.home_boxy i.white_arrow{
    width: 20px;
    height: 35px;
    display: block;
    margin:15px auto;
}
.home_boxy .ico_okna{
	background:url('../img/1_04.png') no-repeat;
	background-position: -15px -292px;
}
.home_boxy .ico_bramy{
	background:url('../img/1_04.png') no-repeat;
	background-position: -15px -111px;
}
.home_boxy .ico_drzwi{
	background:url('../img/1_04.png') no-repeat;
	background-position: -15px -210px;
}
.home_boxy .ico_rolety{
	background:url('../img/1_04.png') no-repeat;
	background-position: -10px -17px;
}
.home_boxy .white_arrow{
	background:url('../img/1_04.png') no-repeat;
	background-position: -250px -102px;

}
.home_boxy .box p{
	font-size: 35px;
    font-weight: 400;
    color: white;
}



/* wartosci */
#wartosci .box{
	text-align: center;
	margin-top: 25px;
	margin-bottom: 25px;
}
#wartosci span{
	color:black;
	font-weight: 700;
	font-size: 16px;
	margin:10px;
	display: block;
}
#wartosci i{
	width: 61px;
	height: 80px;
	display: block;
	margin:20px auto;
}
#wartosci .ico_bezpieczenstwo{
	background:url('../img/1_04.png') no-repeat;
	background-position: -137px -229px;

}
#wartosci .ico_jakosc{
	background:url('../img/1_04.png') no-repeat;
	background-position: -137px -116px;

}
#wartosci .ico_doswiadczenie{
	background:url('../img/1_04.png') no-repeat;
	background-position: -137px -17px;

}
#wartosci p{
	padding:0 50px;
}
/* end wartosci */

/* partnerzy */
#partnerzy{
	width: 100%;
	height: 340px;
	background:url('../img/1_07.jpg') no-repeat;
	background-size: 100% 100%;
	text-align: center;
}
#partnerzy .naglowek{
    color: white;
    margin-top: 30px;
    font-weight: 400;
    position: relative;
    z-index: 2;
}
#partnerzy .naglowek::after{
	content: " ";
    position: relative;
    width: 400px;
    height: 5px;
    background: #970013;
    top: -20px;
    left: 50%;
    margin-left: -200px;
    display: block;
    z-index: -1;
}
#galeria_partnerzy{
	padding-top: 50px;
}
#galeria_partnerzy .bx-next{
	right: -50px ;
	background: url('../img/1_04.png') no-repeat;
    background-position: -235px -60px;
}

#galeria_partnerzy .bx-prev{
	left:-70px;
	background: url('../img/1_04.png') no-repeat;
    background-position: -235px -20px;
}
#galeria_partnerzy .bx-wrapper{
	max-width: 1170px !important; 
}
/* end partnerzy */

/* aktualnosci */
#aktualnosci .box{
	min-height: 150px;
    margin-bottom: 30px;
}
#aktualnosci{
	text-align: center;
	padding-bottom: 50px;
}
.aktualnosc{
	text-align: left !important;
}
#aktualnosci p{
	text-align: justify;
}
#aktualnosci p.nazwa{
	text-align: center;

}
.akt_naglowek{
	color:#c4001a;
	font-weight: 700;
	margin-bottom: 30px;
	margin-top: 30px;
}
.akt_tekst a{
	text-decoration: none;
	color:#c4001a ;
	font-weight: 400;
	margin-bottom: 5px;
	display: inline-block;
	padding: 10px 30px;	
	border: 2px solid transparent;
}
.akt_tekst time{
	display: block;
}
.akt_tekst a:hover{
	border: 2px solid #c4001a;
	text-decoration: none;
	color:#c4001a ;
}

.akt_tekst p{
	font-weight: 400;
}
.wiecej_aktu{
	padding: 10px;
    text-align: center;
    border: 2px solid #c4001a;
    color: #c4001a;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;

}
.wiecej_aktu:hover{
	background:#c4001a;
	color:white;
	text-decoration: none;
}

/* end aktualnosci */

/* blog */

#blog .box {
    background:#f7f7f7;
    padding: 10px;
    display: inline-block;
    position: relative;
    min-height: 170px;
    margin-bottom: 50px;
	padding-bottom: 20px;
}
#blog .zobacz{
    bottom: 0px;
    color: #c60c23;
    padding: 5px 10px;
    margin-bottom: 10px;
    border: 2px solid;
    transition: all 0.2s;
}
#blog .zobacz:hover{
	background:#c60c23;
	color:white;

}
#blog p{
	margin: 0;
	margin-bottom: 5px;
}
#blog .nazwa{
	color: #c60c23;
	font-size: 18px;
	font-weight: 600;
}

#wpis{
	margin-bottom: 50px;
}
#wpis time{
	margin-bottom: 10px;
	display: block;
}

.house {
	font-size: 12px; 
	padding-top: 5px;
}

.house p { 
display: inline-block;
	text-decoration: none;
	color: red;
}
.house p:hover { 
display: inline-block;
	text-decoration: none;
	color: red;
	underline: none;
}
.house img{
	display: inline-block;
	margin: 10px 10px 10px 0;
}

.house a{
	text-decoration: none;
	color: black;
	margin: 5px;
}
.house a:hover{
	color:#c4001a ;
}
 .house img{
	width: 25px;
}
#foto{
	list-style: none;
	margin: 0;
	padding: 0;
}
#foto li{
	display: inline-block;
}
#foto li img{
	margin-bottom: 25px;

}
/* end blog */

/* galeria */
#galeria{
	display: block;
	overflow: hidden;
	width:100%;
}
#galeria img{
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	filter: grayscale(100%);
	height: 100%;
}
#galeria .box a{
    position: absolute;
    padding: 10px 20px;
    border: 2px solid white;
    color: white;
    font-weight: 400;
    top: 45%;
    left: 50%;
    margin-left: -50px;
    text-decoration: none;
    width: 100px;
    text-align: center;
}
#galeria .cien{
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6)
}
#galeria .box:hover img{
	 -webkit-filter: grayscale(0%);
	-moz-filter: grayscale(0%);
	-o-filter: grayscale(0%);
	-ms-filter: grayscale(0%);
	filter: grayscale(0%);
}
#galeria .box:hover .cien{
	background: rgba(0,0,0,0);
}
#galeria .box:hover a{
	background: rgba(0,0,0,0.6);
	text-decoration: none;

}
#galeria .box a:hover{
	background:rgba(196, 0, 26,0.8)
}
#galeria .naglowek,
#galeria .naglowek2  {
	text-align:center;
	color:#c4001a;
	padding: 20px;
	margin-bottom: 0;
	font-weight:600;
	margin-top: 0;
	transition: all 0.2s;
}

#galeria a{
	text-decoration: none;
}
#galeria .box{
	width: 25%;
	float:left;
	display: inline-block;
	border:1px solid black;
	position: relative;
	height: 280px;
}
#galeria_real .bx-next{
	right: -40px ;
	background: url('../img/1_04.png') no-repeat;
    background-position: -235px -60px;
}

#galeria_real .bx-prev{
	left:-50px;
	background: url('../img/1_04.png') no-repeat;
    background-position: -235px -20px;
}

#fancybox-title-over{
	/* margin-right: 20px; */
}

/* end galeria */

/* kontakt */
#kontakt .container{
	padding-bottom:30px ;
}

.suprise{
	display: none;
}
#kontakt form input,
#kontakt form textarea{
	display: block;
    margin-bottom: 20px;
    width: 40%;
    border: 1px solid black;
    padding: 5px 10px;
}
#kontakt form input[type="submit"]{
	background: #c60c23;
    border: 2px solid #c60c23;
    color: white;
    letter-spacing: 2px;
    transition:all 0.2s;
    font-weight:400;
}
#kontakt form input[type="submit"]:hover{
	background:white;
	color:#c60c23;
}
#kontakt h4{
	margin-top: 0;
}
/* end kontakt */

.naglowek_glowny{
	margin-bottom: 30px;
	color:#c60c23;
	padding-bottom: 15px;
	border-bottom: 2px solid #c60c23;
	font-weight: 700;
	display: inline-block;
	margin-top: 30px;
}

/* SUBPAGE */
#boxy_naglowek{
	height: 70px;
}
#boxy_naglowek a{
	display: inline-block;
    width: 25%;
    min-height: 70px;
    max-height: 70px;
   	float:left;
   	text-align: center;
   	background:#c4001a;
   	position: relative;
   	border:2px solid #c4001a;
}
#boxy_naglowek a:nth-of-type(even){
	background:#970013;
	border:2px solid #970013;
}
#boxy_naglowek a:hover::after{
    content: "";
    border: 2px solid white;
    position: relative;
    display: inline-block;
    width: 98%;
    height: 60px;
    top: -57px;
}
#boxy_naglowek  i.white_arrow{
    width: 20px;
    height: 35px;
    display: inline-block;
    vertical-align: sub;
    margin-left: 40px;
}
#boxy_naglowek span{
	font-size: 35px;
    font-weight: 400;
    color: white;
    display: inline-block;
    padding-top: 10px;
}

#boxy_naglowek .white_arrow{
	background:url('../img/1_04.png') no-repeat;
	background-position: -250px -100px;
}
#subpage{
	padding-bottom: 50px;
}
#subpage .zdjecia img{
	width: 100%;
}



.bxslider span {
    display: block;
    display: table-cell;
    height: 84px;
    text-align: center;
    vertical-align: middle;
}
.bx-wrapper img {
    display: inline-block;
    vertical-align: middle;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    width: auto;
}

/* END SUBPAGE */


/* media */

@media(max-width: 1200px){
	.slider  .bx-wrapper .bx-next{
		right: 5px;
	}
	.slider  .bx-wrapper .bx-prev{
		left: 5px;
	}
	.flexnav > li > a{
		padding: 0 14px;
	}
}

@media(max-width: 992px){
	#galeria .box{
		height: 220px;
	}
	#galeria .box a{
		top: 40%;
	}

	header .container h2{
		font-size: 30px;
	}
	#boxy_naglowek span{
		font-size: 25px;
		padding-top: 18px;
	}
	#kontakt form input, #kontakt form textarea{
		width: 100%;
	}
	.menu{
		padding-top: 31px;
	}
	.flexnav > li > a{
      padding:10px;
    }
    nav ul li a:hover, .active_menu{
    	color: black;
    }

}
@media(max-width: 767px){
	.home_boxy a{
		width: 50%;

	}
	.home_boxy a:nth-of-type(1),
	.home_boxy a:nth-of-type(4)
	{
		background:#970013;
	}
	.home_boxy a:nth-of-type(2),
	.home_boxy a:nth-of-type(3)
	{
		background:#c4001a ;
	}
	nav .logo img{
		max-width: 235px;
		width: auto;
		height: 39px;
	}


	.logo{
		text-align: center;
	}
	header .top{
		height: 400px;
	}
	.bx-viewport{
		height: 400px;
	}
	header .container{
		padding-top: 100px;
	}
	header .container h2{
		font-size: 18px;
	}
	.slider  .bxslider .zobacz{
		font-size: 16px;
	}
	.slider  .bxslider .zobacz::after{
		display: none;
	}
	#partnerzy .naglowek{
		font-size: 20px;
	}
	#partnerzy .naglowek::after{
		width: 200px;
		height: 2px;
		margin-left: -100px;
		top: -12px;
	}
	#partnerzy{
		height: 200px;
	}
	#galeria_partnerzy{
		padding-top: 40px;
	}
	#galeria .box{
		width: 50%;
		height: 180px;
	}
	footer.millenium{
		font-size: 9px;
	}
	.home_boxy .box p{
		font-size: 25px;
	}
	.home_boxy .box:hover::after{
		top: -205px;
	}
	#boxy_naglowek{
		height: 140px;
	}
	#boxy_naglowek a{
		width: 50%;
		border: none;
	}
	#boxy_naglowek a:nth-of-type(1),
	#boxy_naglowek a:nth-of-type(4)
	{
		background:#970013;
	}
	#boxy_naglowek a:nth-of-type(2),
	#boxy_naglowek a:nth-of-type(3)
	{
		background:#c4001a ;
	}
	#boxy_naglowek  i.white_arrow{
		display: none;
	}
	#boxy_naglowek a:hover::after{
		display: none;
	}
	#subpage img{
		width: 100% !important;
		height: auto !important;
		margin-bottom: 20px;
	}
	#subpage .house img{
		width: auto !important;
		margin-bottom: 8px;
	}
	.naglowek_glowny{
		font-size: 18px;
	}
	.menu{
		padding: 0;
		margin-top: 59px;
	}
	#menu_boczne{
		padding: 0;
	}
	.home .menu{
		margin-top: 40px;
	}
	.home header .container{
		padding-top: 180px;
	}
	.home .bx-wrapper .bx-controls-direction a{
		top: 65%;
	}
	.home .numer_telefonu{
		right: 0;
		top: -81px;
	}
	.numer_telefonu{
		top: -100px;
		right: 0;
	}
	#blog .nazwa{
		margin-top: 10px;
	}
	#foto li img{
		width: 100%;
	}
	#foto{
		text-align: center;
	}
	nav ul li a.active_menu{
		color: black;
	}.flexnav.flexnav-show{
		background: red;
	}



	@media(max-width: 240px){
		nav .logo img{
			max-width: 190px;
		}
	}
}


/* end media */
ul#owl{
	list-style: none;
	padding: 0;
	background: #f0f0f0;
    padding: 10px 10px 20px 10px;
    text-align: center;
	
}
.owl-nav{
	margin-top: 20px;
}
.owl-prev,
.owl-next{
	padding: 5px 10px;
	margin-right: 10px;
	background:#c4001a;
	color: white;
	border-radius: 10px;
	display: inline-block;
}
.owl-controls{
	position: relative;
    top: -40px;
    text-align: center;
}


.cta{
    display:inline-block;
    padding: 5px 30px;
    font-size: 18px;
    background: #c60c23;
    text-decoration: none;
    color: white;
    text-align: center;
    margin: 30px auto;
    font-weight: 700;
    position: relative;
    transition: all 0.2s;
    border: 2px solid #c60c23;
}

.cta::after{
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 18px 0px 18px 8px;
    border-color: transparent transparent transparent #c60c23;
    position: absolute;
    right: -10px;
    top: 0px;
    transition: all 0.2s;
}

.cta:hover{
	background:transparent;
	color:#c60c23 ;
	text-decoration:none;

}


@media(max-width: 433px){
	  .cta::after{ border-width: 30px 0px 30px 8px;}
	
}
