/*Responsive Styles*/

/* This is the grey menu lable, it is hided until the screen size is less than 960px*/
.show-menu {
  text-decoration: none;
  color: #fff;
  background: #990000;
  text-align: center;
  padding: 10px 25px !important;
  border: none;
  width: 100%;
  font-size: 1.2em;
  font-weight: bold;
  display: none;
}

/*This is an invisible checkbox, and it is hided by default*/
input[type="checkbox"] {
  display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type="checkbox"]:checked ~ #nice-menu-0 {
  display: block;
}

@media screen and (max-width: 767px) {
  .region-nav-main {
    width: 100% !important;
    display: none;
    height: auto;
    background-color: transparent;
  }

  #menu-main .menu--main ul li {
    width: 100% !important;
    text-align: left !important;
  }

  #menu-main .menu--main ul li a {
    width: 100% !important;
    border: none !important;
    padding: 0;
  }

  #menu-main .menu--main ul li a:after {
    content: none !important;
  }

  /*Make dropdown links appear inline*/
  #menu-main .menu--main ul li ul {
    width: 100%;
    position: static;
  }

  #menu-main .menu--main ul li ul .dropdown-item {
    padding: 0 !important;
  }

  .show-menu {
    display: block;
  }
}
/* For submenu's to appear at the bottom on responsive website*/
.panel-col-last {
  display: block !important;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  #menu-main .menu--main ul li {
    width: fit-content !important;
  }

  #menu-main .menu--main ul li a.nav-link {
    font-size: 0.85em !important;
  }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  #menu-main .menu--main > ul > li {
    width: 124px !important;
  }
}
