/*
Theme Name: OutletBox
Author: Mosaic Studio && Łukasz Kuchnio
Author URI: http://mosaic.pl

*/

* { border: none; margin: 0px; padding: 0px;  }


body {
	background: #fff;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #000;
	line-height: 1.5;
	
	overflow-x: hidden;
}

body.overflow {
	overflow: hidden;
}

a {
	color: #000;
	text-decoration: underline;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
}

a:hover {
	color: #666;
	text-decoration: none;
	
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
}

a:focus,
span:focus,
input:focus,
textarea:focus,
select:focus,
button:focus {
	outline: 0;
}

h1 {
	font-size: 50px;
	font-weight: 500;
}

	h1 strong {
		font-weight: 700;
	}
	

h2 {
	font-size: 50px;
	font-weight: 500;
	line-height: 1
}
	h2 strong {
		font-weight: 700;
	}
	
h3 {
	font-size: 40px;
    font-weight: 300;
}

h4 {
	font-size:26px;
	font-weight: 600;
}

h5 {
	font-size: 20px;
	font-weight: 600;
}


a.wp-block-button__link {
	display: inline-block;
	background: #1CB8CB;
	border: 2px solid #1CB8CB;
	border-radius: 5px;
	line-height: 1;
	color: #fff;
	text-transform: uppercase;
	padding: 15px 32px;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
}

.dark a.wp-block-button__link {
	background: #144172;
	border: 2px solid #144172;
}

	a.wp-block-button__link:hover {
		border: 2px solid #1CB8CB;
		background: #fff;
		color: #1CB8CB;
	}

.fit {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 3%;
	box-sizing: border-box;
}





header {
	position: fixed;
	z-index: 5;
	padding: 0 !important;
	width: 100%;
	transition: all 0.2s ease;
}


	#header {
		position: relative;
		z-index: 3;
		
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		
		padding: 15px 0;
		transition: all 0.2s ease;
	}
		
		#header #logo {
			padding-left: 3%;
		}
			
			#header #logo img {
				width: 180px;
				height: auto;
				transition: all 0.2s ease;
			}
			
			#header #show_menu {
				text-decoration: none;
				display: flex;
				flex-direction: column;
				justify-content: space-evenly;
				padding: 0 3% 0 0;
				margin-left: auto;
				position: relative;
				margin-left: auto;
				top: 0;
				width: 40px;
				height: 35px;
				cursor:  pointer;
				z-index: 9999;
			}

			#header #show_menu:hover {
				cursor: pointer;
			}
				
				#header #show_menu .span  {
					height:  5px;
					margin: 5px 0;
					background:  #000;
					transition:  all .3s ease-out;
					backface-visibility:  hidden;
				}
							
				#header #show_menu .span#two {
					width: 70%;
				}

				#header #show_menu:hover .span {
					background: #666;
					transition:  all .3s ease-out;
				}
				
			
			#header #menu {
				display: flex;
				flex-direction: column;
				justify-content: flex-start;
				width: 100%;
				overflow: hidden;
				padding: 0;
				box-sizing: border-box;
				background: #fff;

				max-height: 0;
				opacity: 0;
				
				transition: 		all 0.5s ease 0s;
				-webkit-transition: all 0.5s ease 0s;
			}
			
				
				#header #menu.on {
					max-height: 900px;
					opacity: 1;
					
					transition: 		all 0.5s ease 0s;
					-webkit-transition: all 0.5s ease 0s;
				}
				
				
				#header #show-menu {
					display: none;
				}

			
					#header #menu ul {
						display: flex;
						flex-direction: column;
						width: 100%;
						align-items: center;
						overflow: auto;
						padding: 30px 0;
						list-style: none;
					}
					
				
					
					#header #menu ul li {
						margin: 5px 0;
						transition: all 0.2s ease;
					}
					
					#header #menu ul li a {
						display: flex;
						align-items: center;
						height: 100%;
						padding: 5px 10px;
						box-sizing: border-box;
						font-weight: 700;
						font-size: 20px;
						text-decoration: none;
					}

						#header #menu ul li:hover{
							background: #000;
							transition: all 0.2s ease;
						}

						#header #menu ul li:hover a {
							color: #fff;
						}
							
						#header #menu ul li a span {
							display: block;
							margin: 0;
							padding: 5px 0;
							border-bottom: 3px solid transparent;
							transition: all 0.2s ease;
						}
						
						#header #menu ul li.active a span {
							border-bottom: 3px solid #000;
							transition: all 0.2s ease;
						}
						
					#header #menu ul li.facebook a {
						overflow: hidden;
						text-indent: -999px;
						
						width: 30px;
						height: 30px;
						
						background-image: url(graf/ico_fb.svg);
						background-size: 24px auto;
						background-position: 50% 50%;
						background-repeat: no-repeat;
					}
					
						#header #menu ul li.facebook:hover a {
							filter: brightness(0) invert(1);
						}


					#header #menu ul li.jakdojechac {
						border: 3px solid #000;
						margin-top: 20px;
					}

						#header #menu ul li.jakdojechac a {
							padding: 3px 20px 0px 20px;
						}
				
				
	header.fixed {
		background: #fff;
		box-shadow: 0 5px 25px 0 rgba(0 0 0 / 0.1);
		transition: all 0.2s ease;
	}

		header.fixed #header {
			padding-top: 5px;
			padding-bottom: 5px;
			transition: all 0.2s ease;
		
		}
			
		header.fixed #header #logo img {
			width: 180px;
			height: auto;
			transition: all 0.2s ease;
		}

#content {
	position: relative;
	padding-top: 70px;
}

#slider {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 65vh;
	min-height: 500px;
}

	#slider .swiper-slide {
		height: 100%;
	}
	
	#slider .slide {
		background-size: cover;
		background-repeat: no-repeat;
		background-position: 50% 50%;
		height: 100%;
	
		display: flex;
		align-items: center;
	}
			
		#slider .slide .desc {
			width: 100%;
			text-align: center;
		}
			
			#slider .slide .desc h2 {
				color: #fff;
				line-height: 1.2;
				text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.65);
			}
			
	#slider #buttons {
		position: absolute;
		z-index: 4;
		left: 0;
		bottom: 0;
		
		display: flex;
	}
	
		#slider #buttons .swiper-button-prev {
			cursor: pointer;
			width: 50px;
			height: 50px;
			
			background-color: #fff;
			background-image: url(graf/ico_arrow.svg);
			background-size: auto 20px;
			background-repeat: no-repeat;
			background-position: 50% 50%;
			transition: all 0.2s ease;
		}
		
			#slider #buttons .swiper-button-prev:hover {
				background-position: 40% 50%;
				transition: all 0.2s ease;
			}
		
		#slider #buttons .swiper-button-next {
			cursor: pointer;
			width: 50px;
			height: 50px;
			
			transform: rotate(180deg);
			filter: invert(1);
			background-color: #fff;
			background-image: url(graf/ico_arrow.svg);
			background-size: auto 20px;
			background-repeat: no-repeat;
			background-position: 50% 50%;
			transition: all 0.2s ease;
		}
		
			#slider #buttons .swiper-button-next:hover {
				background-position: 40% 50%;
				transition: all 0.2s ease;
			}
	
	
@media screen and (max-width: 550px) {
	#slider {
		height: 55vh;
		min-height: 400px;
	}
	
	#slider .slide .desc h2 {
		font-size: 42px;
	}
	
}

#arrowdown {
	position: relative;
	z-index: 2;
	background: #F8F8F8;
	text-align: center;
	margin: 0;
	width: 100%;
}

	#arrowdown figure {
		display: block;
		position: relative;
		top: -25px;
	}
	
	#arrowdown a {
		position: absolute;
		display: inline-block;
		transition: all 0.2s ease;
	}	
	
	#arrowdown a:hover {
		padding-top: 10px;
		transition: all 0.2s ease;
	}
	
		#arrowdown a img {
			width: auto;
			height: 60px;
		}
	
.sekcja {
	padding: 40px 0;
}
		
	.sekcja h3 {
		padding-bottom: 40px;
	}
	
#zasady {
	
	padding-top: 90px;
	background: #F8F8F8;
}

	#zasady .wp-block-columns {
		position: relative;
		z-index: 1;
	}

		#zasady .wp-block-column {
			background-image: url(graf/bg_box.svg);
			background-size: cover;
			background-repeat: no-repeat;
			background-position: 50% 50%;
			
			color: #fff;
			font-size: 14px;
			padding: 35px 20px;
			box-sizing: border-box;
		}

			#zasady .wp-block-column h5 {
				padding-top: 10px;
			}

@media screen and (max-width: 800px) {
	#zasady h3 {
		padding-bottom: 20px;
	}
	
	#zasady .wp-block-columns {
		flex-wrap: wrap;
	}
	
	#zasady .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
		margin: 10px 0;
	}
}


#onas {
	position: relative;
	background: #F8F8F8;
}
	
	#onas:before {
		content: "";
		display: block;
		width: 320px;
		height: 850px;
		
		position: absolute;
		z-index: 0;
		left: 50%;
		transform: translateX(-140%);
		bottom: -150px;
		
		background-image: url(graf/box_vertical2.svg);
		background-size: cover;
		background-repeat: no-repeat;
		background-position: 100% 100%;
	}

	#onas .wp-block-columns {
		position: relative;
		z-index: 1;
		justify-content: space-between;
		align-items: center;
		padding-bottom: 50px;
	}
	
	#onas .wp-block-column {
		flex-grow: unset;
	}

		#onas .wp-block-column:first-child {
			flex-basis: 35%;
			text-align: center;
		}

		#onas .wp-block-column:last-child {
			flex-basis: 50%;
		}

		#onas .wp-block-column figure {
			margin: 15px 0;
		}

			#onas .wp-block-column figure img {
				width: 95%;
				max-width: 320px;
				height: auto;
			}



#oferta {
	padding-top: 30px;
	margin-top: 50px;
}

	#oferta .wp-block-columns {
		flex-direction: column;
		align-items: center;
	}
	
	#oferta .wp-block-column {
		margin: 0;
	}
		
	#oferta figure {
		position: relative;
		display: block;
	}

	#oferta figure img {
		height: auto;
	}
	
	#oferta figure figcaption {
		position: absolute;
		margin: 0;
		top: 50%;
		transform: translateY(-50%);
		
		width: 100%;
		text-align: center;
		font-size: 24px;
		text-transform: uppercase;
		font-weight: 700;
	}


		
#dobrze {
	position: relative;
	padding-bottom: 0;

	background-image: url(graf/box_horizontal.svg);
	background-size: 700px auto;
	background-repeat: no-repeat;
	background-position: 0% 100%;
}	

	#dobrze .wp-block-columns {	
		align-items: flex-end;
	}	

		#dobrze .wp-block-column:first-child {
			padding-bottom: 20px;
		}

		#dobrze .wp-block-column:last-child {
			
		}

			#dobrze .wp-block-column:last-child figure {
				margin: 0;
				display: block;
			}

			#dobrze .wp-block-column:last-child figure img {
				display: block;
				height: auto;
			}

@media screen and (max-width: 600px) {
	#dobrze .wp-block-column:first-child {
		text-align: center;
	}
	
	#dobrze .wp-block-column:first-child h3 {
		padding-bottom: 10px;
		line-height: 1.1;
	}
	
	#dobrze .wp-block-column:last-child {
		text-align: center;
	}
	
	#dobrze .wp-block-column:last-child figure img {
		margin: 0 auto;
	}
}

footer {
	background: #000;
	color: #fff;
	padding: 40px 0 0 0;
	line-height: 2.3
}	
	
	footer h4 {
		position: relative;
		padding-bottom: 10px;
		margin-bottom: 20px;
	}

		footer h4:after {
			content: "";
			display: block;
			width: 70px;
			height: 3px;
			background: #fff;
			
			position: absolute;
			bottom: 0;
			left: 50%;
			transform: translateX(-50%);
		}
	
	footer a {
		color: #fff;
		text-decoration: none;
	}
	
	footer .wp-block-columns {
		flex-direction: column;
		align-items: center;
	}
	
	footer .wp-block-column {
		width: 100%;
		flex-basis: 100% !important;
		margin: 15px 0 !important;
		text-align: center;
	}
	
	
		footer .wp-block-column:last-child iframe {
			width: 100% !important;
		}
	
#footer_bottom {
	background: #000;
	color: #fff;
	font-size: 13px;
	padding: 30px 0 20px 0;
}

	#footer_bottom .wp-block-columns {
		flex-direction: column;
		align-items: center;
	}

	#footer_bottom .wp-block-column:last-child {
		padding-top: 10px;
	}

	#footer_bottom .wp-block-column:last-child a {
		color: #fff;
		text-decoration: none;
	}

