/* CSS Document */

/* > 1230 */
@media only screen
and (min-width : 1231px) {
  #navigation nav li:hover ul {
    display: flex;
  }
}                          

/* 1230 */
@media only screen
and (max-width : 1230px) {
  .container {
    width: 100%;
  }
  a.ease:hover {
    opacity: 1;
  }
  header .container {
    height: 80px;
  }
  #main-wrapper {
    grid-template-rows: 80px auto; 
  }
  #navigation {
    position: fixed;
    top: 64px;
    left: 0;
    z-index: 100;
    padding: 0;
    height: 80px;
  }
  #logo,
  #navigation nav,
  #navigation .search,
  #navigation.sticky nav li.logo {
    display: none;
  }
  #languages {
    right: 30px;
    top: -45px;
  }
  section#content .container {
    margin-top: 0;
  }
  #navigation .responsive-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
    background: #000000;
    z-index: 10;
  }
  #navigation .responsive-menu {
    position: absolute;
    top: 0;
    right: 30px;
    color: #fbda05;
    font-size: 30px;
    display: flex;
    height: 100%;
    align-items: center;
  }  
  #navigation .responsive-logo {
    position: absolute;
    top: 0;
    left: 30px;
    color: #fbda05;
    display: flex;
    height: 100%;
    align-items: center;
  }
  #navigation .responsive-logo img {
    height: 70%;
  }
  #navigation nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    background: rgba(251,218,5,0.97);
    padding: 110px 30px 80px 30px;
    z-index: 5;
  }
  #navigation nav, #navigation nav ul {
    flex-direction: column;
    overflow-y: scroll;
  }
  #navigation nav ul {
    display: block;
  }
  #navigation nav li {
    height: auto;
    background: none !important;
    flex-direction: column;
  }
  #navigation nav li:not(:last-child) {
    border-bottom: rgba(0,0,0,0.5) 1px solid;
  }
  #navigation nav li a {
    width: 100%;
    padding: 15px 0;
    color: #000000;
    z-index: 5;
  }
  #navigation nav li:hover {
    /*pointer-events: none;*/
  }
  #navigation nav li ul {
    position: relative;
    top: auto;
    left: auto;
    background: none;
    padding: 5px 0 15px 0 !important;
    width: 100%;
    margin: -10px 0 0 0 !important;
    overflow: hidden;
  }
  #navigation nav li ul li {
    padding: 0;
    border: none !important;
  }
  #navigation nav li ul li a {
    padding: 10px 0;
  }
  .responsive-subopen {
    display: block;
    position: absolute;
    top: 8px;
    right: 5px;
    z-index: 10;
    padding: 10px;
  }
  #search-form {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: 500;
    padding: 30px;
  }
  #search-form.responsive {
    display: block !important;
  }
}

/* 1024 */
@media only screen
and (max-width : 1024px) {
  #main-wrapper {
    grid-template-rows: 80px auto auto;
    grid-template-areas: 
      "header"
      "main"
      "footer";  
  }
  body {
    padding-bottom: 0 !important;
  }  
  footer {
    position: relative;
    left: auto;
    bottom: auto;
  }
  section#documentation .row,
  section#inspections .row,
  section#newsletter .row,
  section#quickmenu .row,
  section#cookie,
  section#content .row {
    flex-direction: column;
  }  
  section#documentation .content,
  section#inspections .col,
  section#newsletter .col,
  section#quickmenu .company,
  section#content .col {
    width: 100% !important;
    margin: 0;
    padding: 0 15px;
  }
  section#content .col.right {
    padding-left: 15px;
    border-left: none;
    border-top: #d6d6d7 1px solid;
    margin-top: 35px;
    padding-top: 35px;
  }
  section#documentation .rbesz-logo,
  section#quickmenu .container .col.links {
    display: none;
  }
  section#documentation .zone-map img {
    height: 100%;
    width: 100%;
  }
  section#inspections .content  {
    order: 1;  
  }    
  section#inspections .links  {
    order: 2;
    margin-top: 35px;
  }
  section#inspections .links a {
    width: 100%;
  }
  section#services .col .more {
    opacity: 1;
    height: 30%;
    bottom: 0;
    top: auto;
  }
  section#inspections .content h2,
  section#documentation .content h2,
  section#documentation .content h3,
  body.page-contact h2,
  section#coworkers h3,
  body.page-contact #company p,
  section#coworkers h4,
  section#coworkers h5,
  section#coworkers li {
    text-align: center;
  }
  section#inspections .content h2:after,
  section#documentation .content h2:after,
  section#documentation .content h3:after,
  body.page-contact h2:after,
  section#coworkers h3:after {
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
  }
  section#documentation a.button {
    margin: 0 auto;
  }
  section#cookie p {
    text-align: center;
  }
  section#cookie p,
  section#cookie p a {
    margin: 0 !important;
    display: block !important;
  }
  section#cookie p.accept a {
    margin-top: 10px !important;
  }
  section#brand {
    padding: 0 30px;
  }
  section#knowledgelist .item .more,
  section#docs .item .more,
  section#search .item .more {
    position: relative;
    opacity: 1;
    width: auto;
    display: inline-block;
    background: none;
    height: auto;
    box-shadow: none;
    margin-top: 10px;
  }
  section#coworkers .person {
    text-align: center;
  }
  section#coworkers .image {
    display: block;
    margin: 0 auto;
  }
  section#coworkers h4 {
    position: relative;
    top: auto;
    right: auto;
    display: inline-block;
    min-width: 220px;
  }
  section#coworkers li {
    width: 100%;
  }
}

/* 1023 */
@media only screen
and (max-width : 1023px) {
  section#services .row {
    flex-direction: column;
  }  
  section#services .col {
    width: 100% !important;
    margin: 0;
    padding: 0 15px;
  }
  section#services .col:not(:first-child) {
    margin-top: 35px;
  }  
}

/* 768 */
@media only screen
and (max-width : 768px) {
  footer,
  section#quickmenu {
    height: auto !important;
  }
  section#quickmenu .row {
    flex-direction: column !important;
  }
  section#quickmenu .col.company .map,
  section#quickmenu .col.company .contact {
    width: 100% !important;
    margin: 0;
    padding: 0 15px;    
  }
  section#quickmenu .col.company .contact {
    margin-top: 35px;
    text-align: center;
  }
  section#copyright {
    position: relative;
    height: auto;
    padding: 20px 0;
    text-align: center;
  }
  section#quickmenu .container .col h3 {
    text-align: center;
  }
  section#quickmenu .container .col h3:after {
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
  }  
  section#content h1,
  section#documentation .content h2,
  section#inspections .content h2,
  section#newsletter h2,
  section#knowledge div h3,
  section#pagepic h1 {
    font-size: 26px;
  }
  section#slider {
    height: 300px !important;
  }
  section#slider .owl-carousel .owl-item div .container p {
    font-size: 14px;
  }
  section#pagepic {
    height: 180px;
  }
}

/* 480 */
@media only screen
and (max-width : 480px) {
  section#content h1,
  section#content h2,
  section#documentation .content h2,
  section#inspections .content h2,
  section#newsletter h2,
  section#knowledge div h3,
  section#slider .owl-carousel .owl-item div .container h2,
  section#pagepic h1 {
    font-size: 20px;
  }
  section#documentation .content h3,
  section#services .col h2 {
    font-size: 18px;
  }
  section#newsletter h2:after,
  section#documentation .content h3:after,
  section#inspections .content h2:after,
  section#services .col h2:after,
  section#content h1:after,
  section#pagepic h1:after {
    bottom: 0 !important;
  }  
}

/* 400 */
@media only screen
and (max-width : 400px) {
  section#slider .owl-carousel .owl-item div .container p {
    display: none;
  }
  section#slider .owl-carousel .owl-item div .container h2 {
    margin-bottom: 15px;
  }
}