/* ---{ Sizes }--- */
/* ---{ General colors }--- */
/* ---{ media queries. When using responsive }--- */
/* ---{ Columns }--- */
/* ---{ Other }--- */
/* ---{ Mixins }--- */
/*----- CSS3 Animation functions -----*/
/* ---{ Navigation up to tablet land (1023px and lower) }--- */

@media only screen and (max-width: 1023px) {
  .navigation {
    position: fixed;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: 280px;
    background-color: #f1f1f1 !important;
    border-right: solid 1px #dedede;
    padding: 60px 0 0;
    overflow: hidden;
    transform: translateX(-101%);
    transition: transform 250ms cubic-bezier(0.2, 0, 0, 1);
    box-shadow: -9px 0 20px 5px #dedede;
    z-index: 1000;
    /* ---{ Layers }--- */
  
    /* ---{ Panels }--- */
  
    /* ---{ Utils }--- */
  
  }
  .navigation--active {
    transform: translateX(0);
  }
  .navigation > .container {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    display: flex;
    flex-flow: column;
    padding: 0;
  }
  .navigation__title {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: 60px;
    line-height: 60px;
    padding: 0 60px 0 15px;
    font-size: 20px;
    font-weight: bold;
    color: black;
    background-color: white;
    border-bottom: solid 1px #dedede;
    margin: 0;
  }
  .navigation__close {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    width: 60px;
    height: 60px;
    border: none;
    background-color: transparent;
    cursor: pointer;
  }
  .navigation__close:before,
  .navigation__close:after {
    content: "";
    position: absolute;
    top: 25px;
    right: auto;
    bottom: auto;
    left: 50%;
    width: 30px;
    height: 2px;
    background-color: black;
  }
  .navigation__close:before {
    transform: translateX(-50%) rotate(45deg);
  }
  .navigation__close:after {
    transform: translateX(-50%) rotate(-45deg);
  }
  .navigation__close span {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 9px;
    left: 0;
    font-size: 12px;
    text-align: center;
    margin-top: -3px;
  }
  .navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: column;
  }
  .navigation ul > li {
    display: block;
    border-bottom: solid 1px #dedede;
    order: 3;
  }
  .navigation ul > li > a {
    color: black;
    text-decoration: none;
    display: block;
    padding: 15px 30px 15px 15px;
    font-size: 14px;
  }
  .navigation ul > li.more > a {
    position: relative;
  }
  .navigation ul > li.more > a:before,
  .navigation ul > li.more > a:after {
    content: "";
    position: absolute;
    right: 15px;
    bottom: auto;
    left: auto;
    width: 7px;
    height: 2px;
    background-color: black;
  }
  .navigation ul > li.more > a:before {
    top: 22px;
    transform: rotate(45deg);
  }
  .navigation ul > li.more > a:after {
    top: 26px;
    transform: rotate(-45deg);
  }
  .navigation ul > li.panel--previous {
    order: 1;
  }
  .navigation ul > li.panel--previous > button {
    border: none;
    text-align: left;
    background-color: white;
    padding: 15px 15px 15px 35px;
    width: 100%;
    font-size: 17px;
    cursor: pointer;
  }
  .navigation ul > li.panel--previous > button:before,
  .navigation ul > li.panel--previous > button:after {
    content: "";
    position: absolute;
    right: auto;
    bottom: auto;
    left: 15px;
    width: 7px;
    height: 2px;
    background-color: black;
  }
  .navigation ul > li.panel--previous > button:before {
    top: 21px;
    transform: rotate(-45deg);
  }
  .navigation ul > li.panel--previous > button:after {
    top: 25px;
    transform: rotate(45deg);
  }
  .navigation ul > li.panel--title {
    order: 2;
  }
  .navigation ul > li.panel--title > a {
    font-size: 18px;
    background-color: white;
    cursor: pointer;
    /*&:before {
                              content: "Naar";
                              font-size: 0.8em;
                              float: left;
                              font-weight: normal;
                              margin-top: 4px;
                              margin-right: 5px;
                          }*/
  
  }
  .navigation .navUl-1 {
    position: relative;
    z-index: 20;
    flex: 1 0 auto;
  }
  .navigation .container > ul:not(.navUl-1) {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(100%);
    background-color: #f1f1f1;
    pointer-events: none;
    transition: transform 250ms cubic-bezier(0.2, 0, 0, 1);
  }
  .navigation .container > ul:not(.navUl-1).panel--active {
    transform: translateX(0);
    pointer-events: auto;
  }
  .navigation .container > ul:not(.navUl-1).navUl-2 {
    z-index: 30;
  }
  .navigation .container > ul:not(.navUl-1).navUl-3 {
    z-index: 40;
  }
  .navigation .container > ul:not(.navUl-1).navUl-4 {
    z-index: 50;
  }
  .navigation .container > ul:not(.navUl-1).navUl-5 {
    z-index: 60;
  }
  .navigation__utils {
    background-color: rgba(255, 255, 255, 0.3);
    border-top: solid 1px #dedede;
  }
  .navigation__utils ul li {
    border-bottom: none;
  }
  .navigation__utils ul li a {
    padding: 15px;
  }
}
/* ---{ Navigation from tablet land and higher (1024px and higher) }--- */

@media only screen and (min-width: 1024px) {
  .navigation {
    background-color: #777777;
    transition: height 0.4s ease-in-out;
  }
  .navigation__title,
  .navigation__toggle,
  .navigation__close,
  .navigation__utils {
    display: none;
  }
  .navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  .navigation ul li a {
    display: inline-block;
    text-decoration: none;
    color: black;
  }
  .navigation ul li.more > a:after {
    content: "";
    margin-left: 10px;
    display: inline-block;
    position: relative;
    top: 50%;
    width: 5px;
    height: 5px;
    border-right: solid 1px rgba(255, 255, 255, 0.8);
    border-bottom: solid 1px rgba(255, 255, 255, 0.8);
    transform: rotate(-45deg) translateY(-50%);
  }
  .navigation ul li:hover > a:after {
    transform: rotate(45deg) translateY(-50%);
    border-color: black;
  }
  .navigation ul li:hover > ul {
    display: block;
  }
  .navigation .navUl-1 .navLi-1 {
    position: relative;
    display: inline-block;
    font-size: 13px;
  }
  .navigation .navUl-1 .navLi-1 > a {
    position: relative;
    padding: 15px;
    z-index: 5;
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 150ms ease-in-out, background-color 150ms ease-in-out;
  }
  .navigation .navUl-1 .navLi-1:hover > a {
    background-color: white;
    color: black;
  }
  .navigation .navUl-1 .navLi-1:hover > a:after {
    border-color: black;
  }
  .navigation .navUl-1 .navLi-1.active > a:before {
    content: "";
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.4);
  }
  .navigation .navUl-2 {
    display: none;
    position: absolute;
    top: 100%;
    right: auto;
    bottom: auto;
    left: 0;
    border: solid 1px #dedede;
    border-top: none;
    background-color: white;
    z-index: 10;
    padding: 20px 0;
    min-width: 250px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
  }
  .navigation .navUl-2.align-left {
    right: 0;
    left: auto;
  }
  .navigation .navUl-2.align-left li.more > a:after {
    border-left: 0;
    border-left: solid 1px black !important;
  }
  .navigation .navUl-2.align-left.more > a {
    border-left: 0;
    border-right: solid 1px transparent;
  }
  .navigation .navUl-2.align-left.more:hover > a {
    border-left: 0;
    border-right: solid 1px #d8d8d8;
  }
  .navigation .navUl-2 li.more > a:after {
    border-right: solid 1px black !important;
    border-bottom: solid 1px black !important;
  }
  .navigation .navUl-2 .navLi-2 {
    position: relative;
    padding: 0 20px;
  }
  .navigation .navUl-2 .navLi-2 > a {
    display: block;
    padding: 10px 25px 10px 10px;
    transition: background-color 150ms ease-in-out;
  }
  .navigation .navUl-2 .navLi-2 > a > span {
    white-space: nowrap;
  }
  .navigation .navUl-2 .navLi-2:hover > a {
    background-color: #f1f1f1;
  }
  .navigation .navUl-2 .navLi-2.more > a {
    border-top: solid 1px transparent;
    border-bottom: solid 1px transparent;
    border-left: solid 1px transparent;
    transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out;
  }
  .navigation .navUl-2 .navLi-2.more:hover > a {
    border-top: solid 1px #dedede;
    border-bottom: solid 1px #dedede;
    border-left: solid 1px #dedede;
  }
  .navigation .navUl-3 {
    display: none;
    position: absolute;
    top: 0;
    right: auto;
    bottom: auto;
    left: calc(100% - 20px);
    border: solid 1px #dedede;
    background-color: #f1f1f1;
    padding: 20px;
    min-width: 250px;
    box-shadow: 3px 6px 3px -3px rgba(0, 0, 0, 0.4);
  }
  .navigation .navUl-3.align-left {
    right: calc(100% - 20px);
    left: auto;
  }
  .navigation .navUl-3.align-left:before {
    right: -1px;
    left: auto;
  }
  .navigation .navUl-3.align-left.more > a {
    border-left: 0;
    border-right: solid 1px transparent;
  }
  .navigation .navUl-3.align-left.more:hover > a {
    border-left: 0;
    border-right: solid 1px #d8d8d8;
  }
  .navigation .navUl-3:before {
    content: "";
    position: absolute;
    top: 0;
    right: auto;
    bottom: auto;
    left: -1px;
    width: 1px;
    height: 36px;
    background-color: #f1f1f1;
  }
  .navigation .navUl-3 .navLi-3 {
    position: relative;
  }
  .navigation .navUl-3 .navLi-3 > a {
    display: block;
    padding: 10px 25px 10px 10px;
  }
  .navigation .navUl-3 .navLi-3 > a > span {
    white-space: nowrap;
  }
  .navigation .navUl-3 .navLi-3:hover > a {
    background-color: #e4e4e4;
  }
  .navigation .navUl-3 .navLi-3.more > a {
    border-top: solid 1px transparent;
    border-bottom: solid 1px transparent;
    border-left: solid 1px transparent;
    transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out;
  }
  .navigation .navUl-3 .navLi-3.more:hover > a {
    border-top: solid 1px #d8d8d8;
    border-bottom: solid 1px #d8d8d8;
    border-left: solid 1px #d8d8d8;
  }
  .navigation .navUl-4 {
    display: none;
    position: absolute;
    top: 0;
    right: auto;
    bottom: auto;
    left: calc(100% - 20px);
    border: solid 1px #d8d8d8;
    background-color: #e4e4e4;
    padding: 20px;
    min-width: 250px;
    box-shadow: 3px 6px 3px -3px rgba(0, 0, 0, 0.4);
  }
  .navigation .navUl-4.align-left {
    right: calc(100% - 20px);
    left: auto;
  }
  .navigation .navUl-4.align-left:before {
    right: -1px;
    left: auto;
  }
  .navigation .navUl-4.align-left.more > a {
    border-left: 0;
    border-right: solid 1px transparent;
  }
  .navigation .navUl-4.align-left.more:hover > a {
    border-left: 0;
    border-right: solid 1px #d8d8d8;
  }
  .navigation .navUl-4:before {
    content: "";
    position: absolute;
    top: 0;
    right: auto;
    bottom: auto;
    left: -1px;
    width: 1px;
    height: 36px;
    background-color: #e4e4e4;
  }
  .navigation .navUl-4 .navLi-4 > a {
    display: block;
    padding: 10px 25px 10px 10px;
  }
  .navigation .navUl-4 .navLi-4 > a > span {
    white-space: nowrap;
  }
  .navigation .navUl-4 .navLi-4:hover > a {
    background-color: #d8d8d8;
  }
}
