.mainMenu a {
  color: #000;
}

/* =====================================================
   MOBILE MENU (< 1000px)
   ===================================================== */
@media (max-width: 999px) {
  .nav {
    display: none;
  }
  .otwarte .nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    padding: 80px 25px 40px;
    z-index: 9;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .otwarte a {
    display: block;
    font-size: 20px;
    line-height: 1.4;
    padding: 12px 0;
    border: 0;
    color: #1a1a1a;
    text-shadow: none;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
  }
  .otwarte .active > a,
  .otwarte a:focus,
  .otwarte a:hover {
    color: var(--tlo-niebieskie, #303cce);
  }
  .otwarte li {
    margin: 0;
  }
  .otwarte .ml_1:first-child > a {
    border-top: 1px solid #f0f0f0;
  }
  .otwarte .mu_2 {
    margin-left: 0;
    padding-left: 20px;
    border-left: 3px solid var(--tlo-niebieskie, #303cce);
  }
  .otwarte .mu_2 a {
    font-size: 17px;
    color: #444;
    padding: 10px 0;
  }
  .otwarte .mu_3 {
    margin-left: 0;
    padding-left: 20px;
    border-left: 3px solid #e0e0e0;
  }
  .otwarte .mu_3 a {
    font-size: 15px;
    color: #666;
    padding: 8px 0;
  }
  .otwarte .deeper > a::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    margin-left: 10px;
    vertical-align: middle;
    position: relative;
    top: -2px;
  }
}
/* =====================================================
   DESKTOP MENU (>= 1000px)
   ===================================================== */
@media (min-width: 1000px) {
  #burger {
    display: none;
  }
  .mainMenu {
    display: flex;
    list-style: none;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .ml_1 {
    position: relative;
    margin-left: 50px;
  }
  .ma_1 {
    display: block;
    position: relative;
    height: 62px;
    line-height: 62px;
    padding: 0;
    font-size: 120%;
    font-weight: bold;
    text-decoration: none;
  }
  .active .ma_1,
  .ma_1:hover,
  .ma_2:hover,
  .ma_3:hover,
  .ma_1:focus {
    color: var(--tlo-niebieskie, #303cce);
  }
  .mu_2 {
    width: 200px;
    position: absolute;
    display: none;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    padding: 10px;
    box-shadow: 0 0 20px var(--k1);
    border-radius: var(--radius-5);
    transition: visibility 0s 0.3s, opacity 0.3s linear;
    z-index: 9;
  }
  .ml_2:not(:first-child) {
    margin: 5px 0 0;
    padding-top: 5px;
    border-top: 1px solid var(--k1);
  }
  .ma_2 {
    display: block;
    padding: 0;
    text-decoration: none;
    font-weight: normal;
  }
  .ml_1:hover > .mu_2,
  .ml_1:focus-within > .mu_2,
  .ml_1 .mu_2:hover,
  .ml_1 .mu_2:focus {
    visibility: visible;
    opacity: 1;
    display: block;
  }
  .mu_3 {
    border-radius: 0 5px 5px 0;
    position: absolute;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 10px;
    right: -98%;
    width: 100%;
    top: 0;
    background: #fff;
    z-index: 0;
    padding: 10px 16px 10px 27px;
    box-shadow: 0 0 20px var(--k1);
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s linear;
  }
  .mu_3 a {
    font-size: 14px;
    margin-left: 0;
    font-weight: normal;
    text-decoration: none;
  }
  .mu_3:before {
    position: absolute;
    content: "";
    background: #fff;
    width: 20px;
    height: 100%;
    top: 0;
    left: -12px;
  }
  .ml_2.parent:before {
    z-index: 9999;
    right: 3px;
    position: absolute;
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    margin: 4px 3px 0 0;
    background: url(../img/arrow_right.svg) no-repeat;
    background-size: 100%;
  }
  .ml_2:hover .mu_3 {
    visibility: visible;
    opacity: 1;
    display: block;
  }
}
/* koniec */
