

header .sticky .logo img{
	width:15rem;
	margin:1rem 0;
}

/* MENU */

header nav ul.menu{
	display:inline-block;
	padding:0;
}

header nav .menu li{
	display:inline-block;
	list-style:none;
	position: relative;
}


header nav ul.menu {
	margin:0;
}

header nav ul.menu > li{
	border-right:1px solid white;
	font-weight:500;
}

header nav ul.menu > li:last-child{
	border-right:0;
}

header nav ul.menu > li:nth-child(1){
	border:0 !important;
}


header nav ul.menu > li:nth-child(2){
	background-color:red;
	border:0 !important;
}


header nav ul.menu > li:nth-child(2):hover{
	background-color:#ffffff;
	color:red;
}

@media (min-width:992px){
	header .stickymenu nav .menu > li > a{
		padding:0.5rem 0.85rem;
	}
	
	header .stickymenu nav .menu > li > a{
		color: white;
		text-transform:uppercase;
		box-sizing:border-box;
		display:inline-block;
	}
}
header nav .menu > li > a{
	color: white;
	text-transform:uppercase;
	padding:0.5rem 1.1rem;
	box-sizing:border-box;
	display:inline-block;
}

header nav .menu > li > a:hover{
	color: #ea5b1e;
}

header nav .menu a{
	line-height:1.4;
}

/* SUBMENU */


header nav .sub-menu {
    list-style-type: none;
    position: absolute;
    padding:0;
    margin: 0;
    opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
    visibility: hidden;
    line-height: 1;
    background-color: #ea5b1e;
    width: auto;
    z-index: 9999;
    -webkit-transition: all .40s ease;
    -moz-transition: all .40s ease;
    -ms-transition: all .40s ease;
    -o-transition: all .40s ease;
    transition: all .40s ease;
}



header nav li:hover > .sub-menu{
	opacity: 1;
    -moz-opacity: 1;
    filter: alpha(opacity=100);
    visibility: visible;
	-webkit-transition: all .40s ease;
    -moz-transition: all .40s ease;
    -ms-transition: all .40s ease;
    -o-transition: all .40s ease;
    transition: all .40s ease;
	
}

header nav .sub-menu li {
    margin: 0;
    position: relative;
    text-align: left;
    z-index: 1;
	padding: 0.2rem 0;
	
}
@media (max-width:991px){
header nav .sub-menu li {
	border-bottom:1px solid #b13500;
}
}
@media (min-width:992px){
	header nav ul li:first-child .sub-menu li {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
		position: relative;
		width: 100%;
		
	}
	
	header nav ul li:first-child .sub-menu{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
}

@media (min-width:992px){
	header nav ul li:first-child .sub-menu { 
		width:35rem;
	}
}


@media (max-width:991px){
	header nav ul li:first-child .sub-menu { 
		width:100%
	}
}

header nav .sub-menu li:hover, header nav .sub-menu li.current-menu-item {
	color:white;
	background-color:#0f3566;
	width:100%;
}



header nav .sub-menu > li > a{
	color: white;
	text-transform:uppercase;
	padding: 0 0.5rem;
	box-sizing:border-box;
	display:inline-block;
}



header nav > ul > li:first-child > a:before{
	content:'';
	background-image:url('../img/icon-tematy.svg');
	background-repeat:no-repeat;
	left:0;
	top:0;
	display:inline-block;
	width:1.4rem;
	height:1.2rem;
	margin-right:0.5rem;
	margin-bottom:-0.55rem;
	
}

.menu-top .button img, .btn-icon-svg svg{
	width:2.5rem; 
	height: 2.5rem
}


.btn-icon-svg svg .st0{
	clip-path: none !important;
}


@media (max-width:570px){

	.menu-top{
		width:100%;
		
	}
	.menu-top .button{
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
}
@media (min-width:570px) and (max-width:991px){
	header .logo{
		padding-left:1rem;
	}
}
@media (max-width:991px){
	
	.menu-top {
		margin:0;
	}
	
	.social-media svg{
		width:2rem; 
		height: 2rem
	}
	
	.social-media{
		margin:1rem 0.5rem 0.8rem 0.5rem;
	}
	
	
	.menu-top .button img, .btn-icon-svg svg{
		width:2.4rem; 
		height: 2.4rem
	}
	
	.menu-top .button p{
		font-size: 0.6rem;
	}
	header.header .container{
		padding:0;
		margin:0;
		max-width:100%;
	}
	
	.menu-toggle {
		display: block;
		font-size: 0;
		border: 0 none;
		padding: 0;
		color: black;
		width: 32px;
		float: right;
		margin: 0.5rem;
		cursor: pointer;
		position:relative;
		
		
	}
	.line-one,
	.line-two,
	.line-three {
		background-color: white;
		width: 100%;
		height: 3px;
		margin: 5px auto;
		backface-visibility: hidden;
		-webkit-transition: all 0.3s;
	    -moz-transition: 	all 0.3s;
	    -o-transition: 		all 0.3s;
    	transition: 		all 0.3s;
	}
	.menu-toggle.on .line-one {
		-moz-transform: rotate(-45deg) translate(-5px, 5px);
	    -o-transform: rotate(-45deg) translate(-5px, 5px);
	    -webkit-transform: rotate(-45deg) translate(-5px, 5px);
    	transform: rotate(-45deg) translate(-5px, 5px);
	}
	.menu-toggle.on .line-two {
		opacity: 0;
		-moz-opacity: 0;
		filter:alpha(opacity=0);
	}
	.menu-toggle.on .line-three {
		-moz-transform: rotate(45deg) translate(-6px, -6px);
	    -o-transform: rotate(45deg) translate(-6px, -6px);
	    -webkit-transform: rotate(45deg) translate(-6px, -6px);
    	transform: rotate(45deg) translate(-6px, -6px);
	}
	
	
	.main-navigation a {
		color: white;
		display: block;
		
		font-size: 14px;
		text-transform: uppercase;
		font-weight: normal;
		text-align: center;
		padding: 15px 15px 15px 15px;
		line-height:1;
		font-weight: 300;
		width:100%;
	}
	.menu{
		width:100%;
		height:auto;
	}
	
	.main-navigation > ul > li {
		border-top:1px solid white;
	}
	.sticky-header-normal{
		position:relative !important;
	}
	
	.menu-close{
		height:0;
		opacity:0;
		transition: all 0.4s linear;
		overflow:hidden;
	}
	
	.menu-open{
		width:100%;
		opacity:1;
		height:auto;
		transition: all 0.4s linear;
		padding: 0 2vw;
	}
	
	
	header nav ul.menu li{
		display:inline-block;
		width:100%;
	}
	
	header nav ul.menu > li{
		width:100%;
		border-right: 0;
		padding: 0;
		border-bottom:1px solid #00234e;
	}
	header nav .sub-menu {
		list-style-type: none;
		display:inline-block;
		position: relative;
		opacity: 1;
		-moz-opacity: 1;
		filter: alpha(opacity=1);
		visibility: visible;
		background-color:#ea5b1e;
		
	}
	header nav ul.menu > li a{
		padding: 0.5rem 0.5rem;
		width:100%;
	}
	
	
	
	
	
	
	nav{
		width:100%;
		opacity: 0;
		
		-moz-opacity: 0;
		filter: alpha(opacity=0);
		height:0;
		transition:all 0.5s linear;
		overflow:hidden;
	}
	
	
	
	.menu-toggle.on + nav{
		
		opacity: 1;
		-moz-opacity: 1;
		filter: alpha(opacity=1);
		height:auto;
		transition:all 0.5s linear;
	}
	
}

@media (min-width:992px){
	.menu-top {
		margin:0.7rem 0;
	}
	
	.social-media svg{
		width:1.5rem; 
		height: 1.5rem
	}
	
	.menu-container.stickymenu{
		position:fixed;
		z-index:999999;
		top:0;
		transition:all 0.3s linear;
		background-color: #0f3566;
		width:100%;
		max-width:100%;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.menu-container .logo img{
		display:none;
	}
	.menu-container.stickymenu .logo img{
		display:block;
		height:auto;
		width: 7rem;
		margin: 0.6rem 0;
	}
	
	.menu-container.stickymenu .nav{
		width:auto !important;
		/*width:calc(100% - 9rem);*/
	}
	
	
}





@media (max-width:991px){

	/*
		.menu-container.stickymenu{
		position:fixed;
		z-index:999999;
		top:0;
		transition:all 0.3s linear;
		background-color: #0f3566;
		width:100%;
		max-width:100%;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		}
		
		
		.menu-container.stickymenu .logo img{
		display:block;
		height:auto;
		width: 7rem;
		margin: 0.7rem auto;
		}
		
		.menu-container.stickymenu{
		
		}
		.menu-container.stickymenu .menu-toggle{
		float:right;
		}
	*/
}

.search-mobile{
	width:3.2rem;
	
	
}


.search-mobile #searchform .button {
    margin: 0;
    padding: 1rem;
}


@media (max-width:991px){
	header nav{
		font-size: 1rem;
	}
	header nav .sub-menu {
		display:none;
	}
	header nav li.active .sub-menu {
		display:block;
	}
	header nav ul.menu > li > a{
		width:100%;
		position:relative;
	}
	
	header nav ul.menu > li.menu-item-has-children > a:after {
		content: '';
		background-image: url('../img/icon-menu-arrow.svg');
		background-repeat: no-repeat;
		right: 0;
		top: 0.4rem;
		position:absolute;
		width: 1.3rem;
		height: 1.3rem;
		margin-right: 0.5rem;
		transition:all 0.2s linear;
		opacity: 0.3;
	}
	
	
	header nav ul.menu > li.menu-item-has-children.active > a:after {
		content: '';
		background-image: url('../img/icon-menu-arrow.svg');
		background-repeat: no-repeat;
		right: 0;
		top: 0.7rem;
		position:absolute;
		width: 1.3rem;
		height: 1.3rem;
		margin-right: 0.5rem;
		transform: rotate(180deg);
		transition:all 0.2s linear;
		
	}
	
	
}