﻿#menu-gora{
  width: 1168px;
  margin: 0px auto 0px auto;
}
.menu-gora-1-poziom {
}
.menu-gora-1-poziom > ul{
	margin:0px;
	padding:0px 0px;
}
.menu-gora-1-poziom {
	width: 100%;
}

.menu-gora-1-poziom {
	/*display: table-row;*/
  display:flex;
	margin:0px auto;
	padding:0px 0px;
	position: relative;
  justify-content: space-between;
}

.menu-gora-1-poziom li{
	list-style: none;
	/*display: table-cell;*/
  display:flex;
  vertical-align: middle;
  margin: 0px;
  position: relative;
  cursor:pointer;
  min-width: 228px;
  height:56px;
  background: #ffffff;
}

.menu-gora-1-poziom > li:nth-child(5n+1){
  border-bottom: 4px solid #ffbb02;
}
.menu-gora-1-poziom > li:nth-child(5n+2){
  border-bottom: 4px solid #048e41;
}
.menu-gora-1-poziom > li:nth-child(5n+3){
  border-bottom: 4px solid #0d86a1;
}
.menu-gora-1-poziom > li:nth-child(5n+4){
  border-bottom: 4px solid #8b38ac;
}
.menu-gora-1-poziom > li:nth-child(5n+5){
  border-bottom: 4px solid #cf221e;
}

.menu-gora-1-poziom > li:nth-child(1){
  background: #ffffff url('../grafika/mg1_tlo1.png') bottom left no-repeat;
}
.menu-gora-1-poziom > li:nth-child(2){
  background: #ffffff url('../grafika/mg1_tlo2.png') bottom left no-repeat;
}
.menu-gora-1-poziom > li:nth-child(3){
  background: #ffffff url('../grafika/mg1_tlo3.png') bottom left no-repeat;
}
.menu-gora-1-poziom > li:nth-child(4){
  background: #ffffff url('../grafika/mg1_tlo4.png') bottom left no-repeat;
}
.menu-gora-1-poziom > li:nth-child(5){
  background: #ffffff url('../grafika/mg1_tlo5.png') bottom left no-repeat;
}


.menu-gora-1-poziom li.rozwijka-gora > a::after{
  font-family:"Font Awesome 5 Free";
  content: "\f107";
  color:#000000;
  margin: 0px 0px 0px 16px;
  font-size:14px;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-basis: 24px;
  flex-grow: 0;
  flex-shrink: 0;
}


.menu-gora-1-poziom li:hover > a > span > img{
  -webkit-filter: invert(100%);
  filter: invert(100%);
}

.menu-gora-1-poziom li a em{
  margin-right:10px;
}

.menu-gora-1-poziom > li:nth-child(5n+1).liaktywna{
  border-bottom: 8px solid #ffbb02;
}
.menu-gora-1-poziom > li:nth-child(5n+2).liaktywna{
  border-bottom: 8px solid #048e41;
}
.menu-gora-1-poziom > li:nth-child(5n+3).liaktywna{
  border-bottom: 8px solid #0d86a1;
}
.menu-gora-1-poziom > li:nth-child(5n+4).liaktywna{
  border-bottom: 8px solid #8b38ac;
}
.menu-gora-1-poziom > li:nth-child(5n+5).liaktywna{
  border-bottom: 8px solid #cf221e;
}

.menu-gora-1-poziom li a em,
.menu-gora-1-poziom li.liaktywna a em{
    margin-right:10px;
}
.menu-gora-1-poziom > li > a{
    margin: 0px 0px;
    color: #000000;
    /*text-decoration: none;*/
    text-decoration-color: transparent;
    font-size: 14px!important;
    font-weight: 700;
    font-family: 'Barlow', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: auto;
    flex-grow: 1;
    flex-shrink: 0;
    text-align: center;
    text-transform: uppercase;
}
/*2gi poziom*/

.menu-gora-2-poziom{
	display:none;
}

.menu-gora-2-poziom{
	width: 280px;
	position: absolute;
	border:none;
	z-index: 12!important;
	background: #f4f4f4;
  padding: 22px 16px;
  top:52px;
}

.menu-gora-1-poziom li:last-of-type .menu-gora-2-poziom{
	right:0;
}

ul.menu-gora-2-poziom li{
	margin:0px 0px;
  padding:0px 0px;
	position: relative;
	width: 100%;
	z-index: 99!important;
	border:none;
	display: block;
  background:#f3f3f3;
  height:auto;
  border-top: 1px solid #dedede;
}
ul.menu-gora-2-poziom > li:last-child
{
  border-bottom: 1px solid #dedede;
}

ul.menu-gora-2-poziom li a,
ul.menu-gora-2-poziom li span{
	padding:10px 8px 10px 14px;
	font-size: 14px;
  margin: 0px 0px;
  display: block;
  color: #000000;
  /*text-decoration: none;*/
  text-decoration-color: transparent;
  font-family: "Open Sans";
}


ul.menu-gora-2-poziom >li> a:before,
ul.menu-gora-2-poziom> li> span:before{
	font-family:"Font Awesome 5 Free";
  content: "\f0da";
  color:#000000;
  left: -4px;
  padding-right: 2px;
  position: relative;
}

.menu-gora-1-poziom li:hover > .menu-gora-2-poziom{
	display: block!important;
}

/*3 poziom*/
.menu-gora-3-poziom{
	display:block;
	/*position: absolute;*/
  left: 260px;
  top: 0;
  z-index: 999;
  margin:0px!important;
	padding:10px!important;
  /*background:#f3f3f3;*/
  /*width:280px;*/

}

ul.menu-gora-3-poziom li{
  border-top:0px;
}
ul.menu-gora-3-poziom li a,
ul.menu-gora-3-poziom li span{
	border:none;
	padding-left: 26px!important;
	padding-top: 4px!important;
	padding-bottom: 10px!important;
	font-size: 14px;
	font-family: "Open Sans";
}

/*4 poziom*/
.menu-gora-4-poziom{
	display:block;
	position: absolute;
  left:260px;
  top: 0;
  z-index: 999;
  margin:0px;
  font-size: 10px;
  padding: 4px;
  width:280px;
  background:#3c3c3c;
}


ul.menu-gora-4-poziom li a,
ul.menu-gora-4-poziom li span{
	border:none;
	padding-left: 24px;
	padding-top: 4px!important;
	padding-bottom: 4px!important;
	font-family: "Open Sans";
}


/*strzałki przy rozwijkach - przy rodzicu klasa "rozwijka-gora" natomiast w niższych poziomach "menu-rozwijka" */




li.menu-rozwijka:after{
	font-family: "Font Awesome 5 Free";
  content: "\f107";
  color:#000000;
  right: 4px;
  position: absolute;
  top: 12px;
}
.menu-gora-3-poziom > li.menu-rozwijka:after{
  top:6px;
}
/*Efekt hover background*/

.menu-gora-1-poziom > li:hover{

  border-bottom:4px solid #f4f4f4;
}
.menu-gora-1-poziom > li.liaktywna:hover{

  border-bottom:8px solid #f4f4f4;
}
.menu-gora-1-poziom li:hover > a > span{
  color:#000000 !important;
}

ul.menu-gora-2-poziom li a:hover{
  color:#a3a3a3;
  text-decoration: underline;
}

ul.menu-gora-2-poziom li a:before
{
    color:#000000;
}

ul.menu-gora-2-poziom li:hover a:before{
  color:#a3a3a3;  
  /*text-decoration: none;*/
  text-decoration-color: transparent;
  border:none;
}


/*Aktywna zakładka menu*/


.menu-gora-1-poziom > li > a.aktywna,
.menu-gora-1-poziom > li > span.aktywna
{

}

.menu-gora-1-poziom > li > a.aktywna:hover,
.menu-gora-1-poziom > li > span.aktywna:hover{
}

.rozwijka-zawartosc{
	display:none;
}




/*Mobilne*/
@media all and (min-width: 1023px) and (max-width: 1279px) {
  #menu-gora{width: 928px; max-width: 928px; }
  .menu-gora-1-poziom li{min-width: 180px;}
}
