/* Mischmasch */
/* Hamburger Menu modification */
@media (max-width: 1199px) {
    .navbar-header {
        float: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .navbar-nav {
        float: none !important;
        flex-direction: column;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}
@media (min-width: 1200px) {
    .navbar-header {
        float: left;
    }

    .navbar-toggle {
        display: none;
    }

    .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }

    .navbar-nav {
        float: left;
        margin: 0;
    }

    .navbar-nav > li {
        float: left;
    }
}
/* Ende Hamburger Menu modification */

iframe {
    max-width: 100%;
}

@media (min-width: 1441px) and (max-width: 1600px) {
  #special-product .btn-2 {
    margin-bottom: 24px;
  }
}


/* Medium Layout: 1280px. */

@media (min-width: 992px) and (max-width: 1200px) {
  .about-details.about-image {
    background: none;
  }
  .newsticker {
    margin: 27px 9px 28px 10px;
  }
  .header-info ul li {
    padding: 16px;
    font-size: 13px;
  }
  .header-info ul li:nth-child(1) {
    display: none;
  }
  .header-info ul li:nth-child(4) {
    padding-bottom: 15px;
  }
  .header-info ul li a {
    margin-right: 10px;
    font-size: 15px;
  }
  #ad p {
    line-height: 30px;
  }
  .owl-carousel .owl-item {
      width: 100vw;
  }
}

@media (max-width: 992px) {
  div.item.projects {
    align-items: flex-start;
  }
}

/* Tablet Layout: 768px. */
@media (max-width: 768px) {
  .custom-navbar {
    justify-content: flex-start;
    .navbar-collapse.collapse.in {
      min-height: 90vh;
    }
  }
  .project-category-description.mix {
    padding: 20px !important;
  }
  .project-modal.in {
      align-items: flex-start;
      padding-top: 70px !important;
      padding-bottom: 10px !important;
  }

  .project-modal .modal-dialog {
      width: calc(100% - 20px);
      margin: 0;
  }

  .project-modal .modal-content {
      max-height: calc(100vh - 80px);
  }

  .project-royal-slider {
      height: 260px;
      max-height: 40vh;
  }
  .controls {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
    li {
      padding: 10px;
    }
  }
}


@media (min-width: 768px) and (max-width: 991px) {
  .qmt-50 {
    margin-top: 50px;
  }
  #project-feature-mix .mix, #team-feature-mix .mix {
    width: 33.3%;
  }
  .about-details.about-image {
    background: none;
  }
  .mt-11 {
    margin-top: 5px;
  }
  .custom-navbar .nav li a {
    padding: 19px 5px;
    font-size: 12px;
  }
  .custom-navbar .dropdown-menu li a {
    padding: 12px 29px;
  }
  .owl-nav {
    top: 15px;
  }
  .newsticker {
    margin: 27px 9px 28px 10px;
  }
  .header-info ul li {
    padding: 13px 5px;
    font-size: 11px;
  }
  .header-info ul li#logo {
    display: none;
  }
  .header-info ul li:nth-child(4) {
    padding-bottom: 13px;
  }
  .header-info ul li a {
    margin-right: 10px;
    font-size: 13px;
  }
  .why-choose-us iframe {
    margin-top: 50px;
  }
  #service a.link {
    margin-bottom: 30px;
  }
  #ad .btn-2 {
    margin-top: 30px;
  }
  #ad p {
    line-height: 30px;
  }
  .footer-hours ul li {
    font-size: 11px;
  }
  footer ul li a {
    padding: 0px 8px;
  }
  .contact-info-row {
    padding: 50px 10px;
    margin-bottom: 30px;
  }
  #project button {
    padding: 9px 11px;
  }
  .about-details {
    margin-bottom: 30px;
  }
  .about-review h4 {
    margin-bottom: 30px;
  }
  #error-page {
    margin-bottom: 30px;
  }
  #mission .m-worker {
    margin-bottom: 50px;
  }
  .mt-extra {
    margin-top: 35px;
  }
  .blog-area {
    max-width: 360px;
    margin: auto;
    margin-bottom: 30px;
  }
  .header-info ul li> i {
    font-size: 13px;
    margin-right: 2px;
  }
  .about-slider-content .team-container {
    margin: auto;
    max-width: 263px;
  }
  .slide-bg-1 {
    margin-top: 0;
  }
}


/* Mobile Layout: 320px. */

@media (max-width: 767px) {
    h1 {
        font-size: 28px;
    }
    div#logo {
        margin: 15px 0 !important;
    }
    div.languages ul {
        margin-top: 0;
    }
    .slide-item-tablecell div.container {
        margin-top: -20px;
    }
    .slide-item-tablecell div.container a.mt-40 {
        margin-top: 15px;
    }
  .qmt-50 {
    margin-top: 50px;
  }
  .custom-navbar {
    background: rgb(0, 160, 150);
  }

  .custom-navbar .navbar-header .navbar-toggle {
      color: #fff;
      border: 2px solid #fff;
  }
  .custom-navbar .navbar-header .navbar-toggle .icon-bar {
      background: #fff;
  }
  .custom-navbar .btn-1 {
      border: 1px solid #fff;
  }
  .custom-navbar .col-md-12 {
      padding-left: 0;
      padding-right: 0;
  }
  
  .custom-navbar .dropdown-menu {
      background: rgb(0, 160, 150);
      position: static;
      box-shadow: none;
      border-radius: 0;
  }
  .navbar-nav .open .dropdown-menu {
    background: none;
    border-radius: 0;
  }
  .navbar-collapse.in {
    overflow: hidden;
  }
  header {
    height: auto !important;
  }
  header img {
    margin: auto;
  }
  /*.header-info {
    margin-top: 95px;
    display: none;
  }*/
  .header-info ul li {
    float: none;
  }
  /*.header-info ul li:nth-child(4) {
    border-right: 1px solid #eaeaea;
    border-left: 1px solid #eaeaea;
    padding-right: 0px;
    padding-bottom: 18px;
  }*/
  /*.header-info ul li:nth-child(2) {
    border-left: 1px solid #eaeaea;
  }
  .header-info ul li:nth-child(3) {
    border-left: 1px solid #eaeaea;
  }*/
  .header-info ul li a:last-child {
    margin-right: 0;
  }
  .header-news {
    border-left: none;
    min-height: 50px;
  }
  .header-news .newsticker {
      margin: 0;
  }
  .header-news span#news {
      display: none;
  }
  .header-news div.row {
      margin-left: 0;
      margin-right: 0;
  }  
  .header-news a img {
    display: block;
    padding-bottom: 20px;
  }
  .home-slider {
      margin-top: 50px;
  }  
  .custom-navbar .nav li {
    &.active {
      background: transparent;
    }
    a {
      padding: 10px 15px;
      color: #fff;
    }
  }
  .custom-navbar a.pull-right {
    float: none !important;
    margin-bottom: 10px;
  }
  .about-details.about-image {
    background: none;
  }
  .about-icon li {
    font-size: 13px;
  }
  #support-area p {
    margin-bottom: 15px;
  }
  .why-choose-us h2 {
    font-size: 23px;
  }
  .why-choose-us iframe {
    margin-top: 50px;
  }
  #service a.link {
    margin-bottom: 30px;
  }
  #client img {
    margin: auto;
    margin-bottom: 50px;
  }
  #ad .btn-2 {
    margin-top: 30px;
  }
  .feature-item {
      padding: 30px;
  }
  #footer-top::after {
    background: none;
  }
  #footer-top h4 {
    margin: 20px 0;
  }
  .footer-hours ul li {
    font-size: 12px;
  }
  footer p {
    margin-bottom: 15px;
  }
  .about-review h4 {
    margin-bottom: 30px;
  }
  .about-counterup {
    border-right: none;
  }
  .about-feature-left {
    width: 100%;
    padding: 100px 0px;
    border-radius: 0;
  }
  .about-feature-right {
    width: 100%;
    padding: 100px 0px;
  }
  .about-author .owl-carousel .owl-controls .owl-dot {
    display: none;
  }
  .owl-nav {
    top: 25px;
    right: auto;
    /*top: -25%;
    right: 0px;*/
  }
  .team-content ul li {
    padding: 6px;
  }
  .blog-area {
    max-width: 360px;
    margin: auto;
    margin-bottom: 30px;
  }
  .s-p-left {
    width: 100%;
    padding: 50px 0px;
  }
  .s-p-right {
    width: 100%;
    padding: 100px 10px;
  }
  .s-p-right h3 {
    margin-bottom: 60px;
  }
  .default-title-bg {
    padding-top: 0;
  }
  .page-heading h1 {
    font-size: 35px;
  }
  .contact-info-row {
    padding: 50px 10px;
    margin-bottom: 30px;
  }
  .map-content {
    padding: 50px 10px;
  }
  #project button {
    padding: 6px 30px;
    border-right: 0;
  }
  .p-controls {
    margin-left: 0%;
  }
  .img-overlay {
    padding: 14px 0;
  }
  #project h2 {
    font-size: 17px;
  }
  .about-details .btn-3 {
    margin: 25px 0;
  }
  .blog-feature-image img {
    margin: auto;
    margin-bottom: 40px;
  }
  .blog-search {
    margin-top: 25px;
  }
  #career .extra-margin {
    margin-bottom: 30px;
  }
  #career .pl-0 {
    padding-left: 16px;
  }
  #error-page h1 {
    font-size: 120px;
  }
  #error-page .mt-160 {
    margin-top: 30px;
  }
  #error-page .btn-1 {
    margin-bottom: 30px;
  }
  #mission .carousel-control {
    display: none;
  }
  #mission .m-worker {
    margin-bottom: 50px;
  }
  .mt-extra {
    margin-top: 35px;
  }
  .service-more h2:before,
  .service-more h2:after {
    display: none;
  }
  .service-feature p {
    margin-bottom: 30px;
  }
  #team .team-content ul li {
    padding: 5px;
  }
  .t-extra-mt {
    margin-top: 30px;
  }
  #about h2 {
    margin-top: 60px;
  }
  #project-feature-mix .mix {
    width: 50% !important;
  }
  #team-feature-mix .mix {
    width: 100% !important;
  }
  .project-feature-overlay {
      max-width: 95%;
  }
  .about-slider .team-content {
    margin-left: 28px;
  }
  .about-slider-content .team-container {
    margin: auto;
    max-width: 263px;
  }
  .single-slide-item h2 {
    font-size: 25px;
  }
  .single-slide-item h1 {
    font-size: 40px;
  }
  .single-slide-item p {
    font-size: 14px;
  }
  .single-slide-item {
    height: 350px;
  }
  .slide-bg-1 {
    margin-top: 0;
  }
  div.container .item .row {
      margin-left: -15px;
      margin-right: -15px;
      margin-bottom: 15px;
  }
  ul.controls {
      width: 95%;
  }
  .ptb-100 {
      padding: 50px 0; 
  }
  article {
      padding-left: 0;
      padding-right: 0;
  }
  /*ul.contact_info li label {
      width: 100%;
  }
  ul.contact_info li div.des {
      width: 100%;
  }*/
  .breadcrumb {
      display: none;
  }
  ul.sitemap {
      margin-bottom: 30px;
  }
  td {
      vertical-align: top;
  }
  .item .desc {
      padding: 15px;
  }
  .hidden-sm + div.grey {
      margin-top: 10px;
  }
  #newsImageModal::before {
      display: none;
  }

  #newsImageModal .modal-dialog {
      display: block;
      width: auto;
      margin: 15px;
  }
}

@media (max-width: 568px) {
  .is-sticky .custom-navbar {
    background: rgb(0, 160, 150);
  }
  .custom-navbar {
    .nav {
      li {
        .dropdown-toggle {
          text-align: center;
        }
      }
    }
  }

  #themes {
    .container {
      padding-left: 0;
      padding-right: 0;
    }
  }

  div.item.news {
    flex-direction: column;
    .desc {
      padding: 0;
    }
  }
  #newsImageModal {
    z-index: 10500;
  }
  .news-thumbnails {
    flex-wrap: wrap;
    a {
      flex: 0 0 30%;
    }
  }
  footer {
    .d-flex {
      flex-direction: column;
    }
    ul li {
      &:first-of-type {
        a {
          padding: 0 10px 0 0;
        }
      }
      a {
        padding: 0 10px 0;
      }
    }
  }
  #footer-top {
    ul.contact_info li {
      flex-direction: row;
    }
  }

  .footer-middle ul li a img {
    position: relative;
    top: 0;
    display: block;
  }

  div.item {    
    &.projects {
      flex-direction: column;
      .desc {
        padding: 0;
      }
    }
    div.desc {
      h2 {
        margin-top: 20px;
      }
    }
  }
  ul.contact_info li {
    flex-direction: column;
    .des {
      width: 100%;
    }
  }
  .footer-left {
    img {
      max-width: 100%;
    }
  }
}

/* Wide Mobile Layout: 480px. */

@media (max-width: 395px) {
  #quotision .btn-2 {
    margin-bottom: 30px;
  }
  /*.owl-nav {
    top: -16%;
    right: 0px;
  }*/
}
