﻿#menu-gorne{
  width: 100%;
  max-width: 1232px;
  margin: 0px auto 0px auto;
}
.menu-gorne-1-poziom {
}
.menu-gorne-1-poziom > ul{
	margin:0px;
	padding:0px;
}


.menu-gorne-1-poziom {
	max-width: 1232px;
}

.menu-gorne-1-poziom >li >a, .menu-gorne-1-poziom >li >span{
	/*text-align: right;*/
    text-align: center;
}

.menu-gorne-1-poziom {
	display: flex;
	justify-content: flex-end;
	margin:0px auto;
	padding:0px 0px;
	position: relative;
	width: 100%;
}

.menu-gorne-1-poziom > li{
	list-style: none;
	width:auto;
	padding: 0px;
	margin: 0px;
	position: relative;
	cursor:pointer;
	display: table-cell;
	align-items: center;
    justify-content: center;
    padding: 0px 0px;
    margin:0px 0px;
}


.menu-gorne-1-poziom span span, .menu-gorne-1-poziom a span, .menu-gorne-1-poziom button span{
    display: block;
    /*width: 296px;*/
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
}

.menu-gorne-1-poziom span span em, .menu-gorne-1-poziom a span em{
	padding-right: 4px;
}

.menu-gorne-1-poziom li:first-child{
	margin-left:0px;
}

.menu-gorne-1-poziom li:last-child{
	margin-right:0px;
}

.menu-gorne-1-poziom li:last-child a{
	border:none;
}

.menu-gorne-1-poziom > li > a, .menu-gorne-1-poziom > li > span, .menu-gorne-1-poziom > li > button {
	margin: 0px 0px;
    color: #000;
    text-decoration-color:transparent;
    font-size: 16px!important;
    font-weight: 400;
   font-family: 'Quicksand', sans-serif;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    width: 100%;
    flex-wrap: wrap;
}

.menu-gorne-1-poziom > li > a img, .menu-gorne-1-poziom > li > button img {
    position: absolute;
    display: block;
    height: 72px;
    width: 104px;
    /* max-width: 100%; */
    /* padding: 22px 39px; */
    /* align-items: center; */
    /* justify-content: center; */
    object-fit: none;
    display: none;
}


.menu-gorne-1-poziom > li > button {
    width: 100%;
    background-color: transparent;
    /* border: none; */
    border-bottom: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.menu-gorne-1-poziom > li > a, .menu-gorne-1-poziom > li > button{
    border: 0;
    position: relative;
    padding: 10px 22px 2px 22px;
    width: 100%;
}

.menu-gorne-1-poziom > li > a:after, .menu-gorne-1-poziom > li > button:after{
    content: ".";
    position: absolute;
    color: #f20300;
    right: -3px;
    top: -3px;
    font-size: 24px;
    display: none;
}

.menu-gorne-1-poziom > li:last-of-type > a:after{
    display: none;
}

.menu-gorne-1-poziom > li > a span, .menu-gorne-1-poziom > li > button span{
    padding: 0px 2px 8px 2px;

}


/*2gi poziom*/

.menu-gorne-2-poziom{
	display:none;
}

.menu-gorne-2-poziom{
	width: 300px;
	position: absolute;
	border:none;
	z-index: 9!important;
	background: #e4eef8;
    border:1px solid #e4eef8;
    top:38px;
    left:0px;
    padding: 16px 16px!important;
}

.menu-gorne-2-poziom > li:first-of-type{
	border-top: 1px solid #b8cde0;
}

.menu-gorne-1-poziom li:last-of-type .menu-gorne-2-poziom{
	right:0;
    left:auto;
}

ul.menu-gorne-2-poziom li{
	margin:0px 0px;
	padding: 0px 0px;
	position: relative;
	width: 100%;
	z-index: 99!important;
	border:none;
	display: block;
	
}

ul.menu-gorne-2-poziom > li{
    border-bottom:1px solid #b8cde0;
}

ul.menu-gorne-2-poziom li a, ul.menu-gorne-2-poziom li span, ul.menu-gorne-2-poziom li button{
	padding:8px 8px;
	/*background: rgba(46, 103, 153, 0.9);*/
	font-size: 14px;
	border-radius: 0px;
    margin: 0px 0px;
    display: block;
    color: #000;
    text-decoration-color:transparent;
   font-family: 'Quicksand', sans-serif;
}

 ul.menu-gorne-2-poziom li button{
 	width: 100%;
 	background-color: transparent;
 	border:none;
 	text-align: left;
 }

ul.menu-gorne-2-poziom li a:hover, ul.menu-gorne-2-poziom li span:hover, ul.menu-gorne-2-poziom li button:hover{
	color:#6d99c0;
	/*text-decoration: underline;*/
}

ul.menu-gorne-2-poziom>li>a:before, ul.menu-gorne-2-poziom>li>button:before{
	font-family:"Font Awesome 5 Free";
    content: "\f0da";
    color: #000;
    left: 2px;
    padding-right: 8px;
    position: relative;
}

ul.menu-gorne-2-poziom li:last-child a, ul.menu-gorne-2-poziom li:last-child span{
	/*border-bottom:1px solid #d8d8d8;*/
}

ul.menu-gorne-2-poziom > li:last-child > a:last-child{
	/*border-bottom:1px solid #9f0108;*/
}

.menu-gorne-1-poziom li:hover > .menu-gorne-2-poziom{
	display: block!important;
}

/*3 poziom*/
.menu-gorne-3-poziom{
	display:block;
	position: relative;
    left: 0;
    top: 0;
    z-index: 999;
    margin:0px;
    margin:0px!important;
	padding:0px 0px 0px 4px!important;
}

.menu-gorne-3-poziom{
	
}

ul.menu-gorne-3-poziom li a, ul.menu-gorne-3-poziom li span, ul.menu-gorne-3-poziom li button{
	border:none;
	padding-left: 16px!important;
	padding-top: 4px!important;
	padding-bottom: 4px!important;
	font-size: 14px;
	font-family: "Quicksand";
}

/*4 poziom*/
.menu-gorne-4-poziom{
	display:block;
	position: relative;
    left:0;
    top: 0;
    z-index: 999;
    margin:0px;
    font-size: 10px;
    padding-left: 4px;
}


ul.menu-gorne-4-poziom li a, ul.menu-gorne-4-poziom li span{
	border:none;
	padding-left: 24px;
	padding-top: 4px!important;
	padding-bottom: 4px!important;
	font-family: "Quicksand";
}


/*strzałki przy rozwijkach - przy rodzicu klasa "rozwijka-gora" natomiast w niższych poziomach "menu-rozwijka" */

/*li.rozwijka-gora:after{
	font-family: "Font Awesome 5 Free";
    content: "\f107";
    color: white;
    right: 16px;
    position: absolute;
    top: 28px;
    z-index: 999;
}*/

.menu-gorne-1-poziom li.rozwijka-gora button span:after{
    font-family: "Font Awesome 5 Free";
    /* content: "\f107"; */
    content: url(../grafika/menu_after.png);
    color: white;
    /* right: 60px; */
    top: -3px;
    /* z-index: 999; */
    left: 12px;
    transition: 0.2s;
    display: inline-block;
    position: relative;
    font-size: 0;
}

.menu-gorne-1-poziom > li:hover > a span::after, .menu-gorne-1-poziom > li:hover > button span::after{
    transform: rotate(180deg);
    transition: 0.2s;
}

.menu-gorne-1-poziom li.liaktywna button span:after{
    filter: invert();
}


.menu-gorne-1-poziom li.menu-rozwijka:after{
    font-family: "Font Awesome 5 Free";
    content: "\f107";
    color: #ccc;
    right: 4px;
    position: absolute;
    top: 6px;
    display: none;
}

/*Aktywna zakładka menu*/

.menu-gorne-1-poziom > li > a.aktywna img, .menu-gorne-1-poziom > li > button.aktywna img{
    filter: invert(1);
    border-right: 1px solid #3d341085;
} 

.menu-gorne-1-poziom > li > a.aktywna span,
.menu-gorne-1-poziom > li > button.aktywna span
{
	color:#fff;
}

.menu-gorne-1-poziom > li:hover > a.aktywna span,
.menu-gorne-1-poziom > li:hover > button.aktywna span{
    color:#000;
}

/* .menu-gorne-1-poziom > li > a.aktywna:hover span,
.menu-gorne-1-poziom > li > button.aktywna:hover span{
    
} */

.menu-gorne-1-poziom > li > a.aktywna, .menu-gorne-1-poziom > li > button.aktywna{
   /* background: #ffcc01;  */  
}


.menu-gorne-1-poziom > li > a.aktywna:hover,
.menu-gorne-1-poziom > li > span.aktywna:hover{
	/*border-bottom:4px solid #99b411;*/
}



.menu-gorne-1-poziom > .liaktywna{
	background-color: #0F3564;
    border-radius: 4px;
}



/*Efekt hover background*/
/*
.menu-gorne-1-poziom > li:hover > button:before,
.menu-gorne-1-poziom > li:hover > button:after{
	color: #fff!important;
	background: #2b292a!important;
}*/


.menu-gorne-1-poziom > li:hover > a, .menu-gorne-1-poziom > li:hover > button {
	/*opacity: 0.8;*/
/*	color:#fff;
  background: #3b5703;*/
}
.menu-gorne-1-poziom > li:hover > a, .menu-gorne-1-poziom > li:hover > button{
   background-color:#e4eef8;
}


.menu-gorne-1-poziom > li:hover.liaktywna > button span:after,
.menu-gorne-1-poziom > li:hover.liaktywna > a span:after{
    filter: none;
}

.menu-gorne-1-poziom > li:hover{
/*	background: #285b86;
	color:#fff;*/
}

.menu-gorne-1-poziom > li > a:hover:after, .menu-gorne-1-poziom > li > button:hover:after,
.menu-gorne-1-poziom > li > a:hover:before, .menu-gorne-1-poziom > li > button:hover:before{
	/*background: #93d3ee;*/
}


.rozwijka-zawartosc{
	display:none;
}




/*Mobilne*/
@media all and (min-width: 1023px) and (max-width: 1279px) {
  #menu-gorne{
    max-width: 992px;
    display: flex;
  }
  .menu-gorne-1-poziom > li{
    /*width: 320px;*/
  }
  .menu-gorne-1-poziom > li > a img, .menu-gorne-1-poziom > li > button img{
  /*  width: 72px;*/
  }
  .menu-gorne-1-poziom span span, .menu-gorne-1-poziom a span, .menu-gorne-1-poziom button span{
/*    margin-left: 72px;
    width: 248px;*/
    font-size: 13px;
  }

}