/*
Theme Name: Temat
Author: eCMYK team
Author URI: http://labiryntkodu.pl/
Description: Motyw LabiryntKodu.pl
*/

/**
 * 1.0 - Normalize
 */

/*
	Kolor czerwnoy: #E04623
*/

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	background-color: #f3f3f3;
}

a {
	background-color: transparent;
    color: #333;
}

p {
	margin: 0;
}

:focus {
    outline: none;
}
img {
	max-width: 100%;
}
a:hover {
    opacity: 0.7;
    text-decoration: none;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}
.js .load, .js #loader-wrapper {
  display: block;
}
#loader-wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #ECF0F1;
  /* display: none; */
}
.load {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    /* display: none; */
}
 
.load hr {
    border: 0;
    margin: 0;
    width: 40%;
    height: 40%;
    position: absolute;
    border-radius: 50%;
    animation: spin 2s ease infinite;
}
 
.load :first-child {
    background: #E04623;
    animation-delay: -1.5s;
}
 
.load :nth-child(2) {
    background: #333;
    animation-delay: -1s;
}
 
.load :nth-child(3) {
    background: #E04623;
    animation-delay: -0.5s;
}
 
.load :last-child {
    background: #333;
}
 
@keyframes spin {
    0%, 100% {
        transform: translate(0)
    }
    25% {
        transform: translate(160%)
    }
    50% {
        transform: translate(160%, 160%)
    }
    75% {
        transform: translate(0, 160%)
    }
}
/**
    Menu
*/

.site-header-menu {
	display: none;
	-webkit-flex: 0 1 100%;
	-ms-flex: 0 1 100%;
	flex: 0 1 100%;
}

.site-header-menu.toggled-on,
.no-js .site-header-menu {
	display: block;
}


.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	position: relative;
	padding: 0 12px;
}

.main-navigation a {
	color: #fff;
	font-weight: 500;
	font-size: 17px;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: #fff;
}

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a {
	font-weight: 700;
}

.main-navigation ul ul {
	display: none;
}

.no-js .main-navigation ul ul {
	display: block;
}

.main-navigation ul .toggled-on {
	display: block;
}

.menu-toggle {
	background-color: transparent;
    border: none;
	transform: skewX(-42deg);
	float: right;
}
.menu-mobile {
	display: none;
}
/**
    Header
 */

.no-js .menu-toggle {
	display: none;
}
.header-fixed {
	height: 72px;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 999;
}
.header-top, .header-fluid {
	background-color: #f3f3f3;
}
.header-top .belka {
	background: #333333;
    transform: skewX(42deg);
	color: #fff;
	padding: 7px 15px;
	width: 70%;
	float: left;
	position: relative;
	height: 34px;
}
.header-top .belka:before {
	position: absolute;
    content: "";
    top: 0;
    width: 100%;
    height: 100%;
    background: #333;
    right: 99%;
}
.header-top span {
	transform: skewX(-42deg);
	display: block;
	float: left;
	margin: 0 9px;
}
.header-top span a {
	color: #fff;
}
.header-fluid {
	overflow: hidden;
}
.header .menu-wrap {
	background: #bc3c1f;
    transform: skewX(42deg);
	color: #fff;
	padding: 7px 15px;
	width: 70%;
	float: right;
	position: relative;
}
.header .menu-wrap:after {
	content: "";
    height: 100%;
    left: 99%;
    background: #bc3c1f;
    width: 99999px;
    position: absolute;
    top: 0;
}
.header .menu-wrap .site-header-menu {
	transform: skewX(-42deg);
}
.site-header-menu {
	float: right;
}
/*
	Box
*/
.box {
	width: 100%;
	float: left;
}
h2 {
	color: #bc3c1f;
	font-size: 37px;
	margin: 48px 0 34px;
}
h2:after {
	content: '';
	display: block;
	height: 3px;
	width: 42px;
	background-color: #bc3c1f;
	border-radius: 4px;
	margin-top: 7px;
}
/*
	Box baner
*/
.box_baner {
	height: 650px;
    background-position: center right;
    position: relative;
	margin-top: 72px;
}
.box_baner .baner_tekst {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.box_baner .baner_tekst h1 {
	font-size: 57px;
    color: #c4c4c4;
    line-height: 1.3;
}
.box_baner .baner_tekst a {
	display: inline-block;
	padding: 12px 27px;
	background-color: #bc3c1f;
	color: #fff;
	font-weight: bold;
	font-size: 24px;
}
/*
	Box o nas
*/
.box_about .tekst_o_nas {
	padding: 0;
	line-height: 1.6;
	font-size: 17px;
	font-weight: 300;
	text-align: justify;
}
.box_about .tekst_o_nas p {
	margin-bottom: 17px;
}
/*
	Box flota
*/
.box_flota .gallery_wrap {
	margin: 0 -15px;
}
.box_flota .single_gallery_wrap {
	width: 33.333%;
	float: left;
	padding: 15px;
}
.box_flota .single_gallery {
	box-shadow: 0px 0px 5px #333;
	line-height: 1.6;
	overflow: auto;
}
.box_flota .single_gallery p {
	margin-bottom: 9px;
}
.box_flota .single_gallery span.show {
	padding: 9px 12px;
	background-color: #bc3c1f;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	display: inline-block;
	margin: 0 9px 12px 0;
	float: right;
	cursor: pointer;
}
.box_flota .gallery_popup_wrap {
	display: none;
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}
.box_flota .gallery_popup_wrap .item {
	height: 70vh;
	margin: 15vh auto;
	text-align: center;
	padding: 0 15vW;
}
.box_flota .gallery_popup_wrap .item img {
	max-height: 100%;
	margin: 0 auto !important;
}
.box_flota .gallery_popup_wrap .close {
	position: fixed;
	top: 9px;
	right: 9px;
	z-index: 9999;
	opacity: 1;
    width: 28px;
}
.box_flota .gallery_popup_wrap h3 {
	position: fixed;
	top: 5vH;
	left: 0;
	right: 0;
	margin: 0 auto;
	text-align: center;
	color: #fff;
}
.box_flota .single_gallery h3 {
	margin: 12px 9px;
}
.box_flota .auto_desc {
	padding: 0 9px 12px;
	min-height: 96px;
	max-height: 96px;
}
.box_flota .carousel-control.left, .box_flota .carousel-control.right {
	background: none;
}
/*
	Box kontakt
*/
.box_kontakt .row {
	display: flex;
	align-items: center;
}
.box_kontakt .dane_firmy {
	font-size: 21px;
	padding: 34px 0;
}
.nf-before-form-content {
	display: none;
}
nf-field .textbox-container, nf-field .email-container {
	width: 50%;
	padding: 0 12px;
	float: left;
	clear: none;
}
nf-field .textbox-container input, nf-field .email-container input, nf-field .textarea-container textarea {
	padding: 7px 12px;
	border: none;
	border-bottom: 4px solid #bc3c1f;
	background-color: #333;
	color: #f3f3f3;
	font-size: 14px;
}
nf-field .textarea-container textarea {
	height: 100px !important;
}
nf-field .textarea-container {
	width: 100%;
	padding: 0 12px;
	clear: none;
	float: left;
}
nf-field .submit-container {
	float: right;
	padding: 0 12px;
	margin-top: -12px;
}
nf-field .submit-container input{
	padding: 9px 17px;
	background-color: #bc3c1f;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	border: none;
	box-shadow: none;
}
.nf-after-form-content {
	float: left;
}
/*
	Box map
*/
.box_map {
	height: 400px;
	width: 100%;
	float: left;
}
/*
	Copyright
*/
.copyright {
	padding: 12px 15px;
    background-color: #333;
    color: #f3f3f3;
    font-size: 15px;
    width: 100%;
    float: left;
}
/**
 * 14.0 - Media Queries
 */

@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}

@media screen and (min-width: 48.9375em) {
	body:not(.custom-background-image).admin-bar:before {
		top: 32px;
	}
}

@media screen and (min-width: 768px) {
	.site-header-menu {
		display: block;
		-webkit-flex: 0 1 auto;
		-ms-flex: 0 1 auto;
		flex: 0 1 auto;
	}

	.main-navigation .primary-menu > li {
		float: left;
	}


	.main-navigation ul ul {
		border-bottom: 1px solid #d1d1d1;
		display: block;
		left: -999em;
		margin: 0;
		position: absolute;
		z-index: 99999;
	}

	.main-navigation ul ul ul {
		top: -1px;
	}

	.main-navigation ul ul ul:before,
	.main-navigation ul ul ul:after {
		border: 0;
	}

	.main-navigation ul ul li {
		background-color: #fff;
		border: 1px solid #d1d1d1;
		border-bottom-width: 0;
	}

	.main-navigation ul ul a {
		white-space: normal;
		width: 12.6875em;
	}

	.main-navigation ul ul:before,
	.main-navigation ul ul:after {
		border-style: solid;
		content: "";
		position: absolute;
	}

	.main-navigation ul ul:before {
		border-color: #d1d1d1 transparent;
		border-width: 0 10px 10px;
		right: 9px;
		top: -9px;
	}

	.main-navigation ul ul:after {
		border-color: #fff transparent;
		border-width: 0 8px 8px;
		right: 11px;
		top: -7px;
	}

	.main-navigation li:hover > ul,
	.main-navigation li.focus > ul {
		left: auto;
		right: 0;
	}

	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li.focus > ul {
		left: auto;
		right: 100%;
	}
	.dropdown-toggle,
	.main-navigation ul .dropdown-toggle.toggled-on,
	.menu-toggle,
	.site-header .social-navigation,
	.site-footer .main-navigation {
		display: none;
	}
}
@media screen and (max-width: 1199px) {
	.box_baner {
		height: 550px;
	}
	.box_flota .single_gallery h3 {
		min-height: 52px;
	}
}
@media screen and (max-width: 991px) {
	.box_baner {
		height: 500px;
	}
	.box_flota .single_gallery_wrap {
		width: 50%;
	}
}
@media screen and (max-width: 767px) {
	.box_baner {
		height: 450px;
	}
	.box_flota .single_gallery h3 {
		min-height: 52px;
	}
	.box_baner .baner_tekst h1 {
		font-size: 42px;
	}
	.box_kontakt .row {
		display: block;
	}
	.box_kontakt .dane_firmy {
		float: left;
		width: 100%;
		margin: 0 0 34px;
	}
	.menu-mobile {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background-color: rgba(0, 0, 0, 0.8);
		z-index: 99999;
    	text-align: center;
		height: 100vh;
		padding: 34px 0;
	}
	.main-navigation li {
		padding: 12px;
	}
	.menu-close {
		position: fixed;
		top: 17px;
		right: 17px;
		transform: skewX(0);
    	z-index: 99999;
	}
	.box_flota .gallery_popup_wrap .item {
		height: 50vh;
		margin: 25vh auto;
	}
}
@media screen and (max-width: 650px){
	.box_flota .single_gallery_wrap {
		width: 60%;
		margin: 0 auto;
		float: none;
	}
	.box_flota .single_gallery h3, .box_flota .auto_desc {
		min-height: 0;
	}
}
@media screen and (max-width: 580px ){
	.header-top .belka {
		width: 102%;
		padding-left: 0;
	}
}
@media screen and (max-width: 555px ){
	.box_flota .single_gallery_wrap {
		width: 70%;
	}
}
@media screen and (max-width: 460px ){
	.box_flota .single_gallery_wrap, .box_flota .single_gallery_wrap .single_gallery > img {
		width: 100%;
	}
	nf-field .textbox-container, nf-field .email-container {
		width: 100%;
		margin-bottom: 17px;
	}
}
@media screen and (max-width: 420px ){
	.header-top .belka {
		height: 54px;
	}
	.header-top .belka span {
		display: block;
	}
	.box_baner h1 {
		font-size: 34px;
	}
}