@media only screen and (max-width: 1366px) {
  /* .border-corner {
        padding: 90px 30px 0px;
    } */
}

@media only screen and (max-width: 1600px) {
  /* .navbar-logo {
    margin-bottom: 20px;
  } */
}

@media screen and (orientation: portrait) {
  #imgcontainer img {
    position: absolute;
    /* Change to 'cover' to fill the space */
    object-fit: cover;
    /* Remove 'max-' to fill the space*/
    max-height: 100%;
    max-width: 100%;
    transform: rotateZ(90deg);
  }
}

@media only screen and (max-width: 1280px) {
  .service-content img.services-icon {
    width: 50px;
  }
  .service-content h5 {
    font-size: 17px;
    margin-top: 5px;
  }
  .service-content p {
    font-size: 16px;
  }
  .left-navbar li {
    margin-right: 10px;
  }
  .right-navbar li {
    margin-left: 10px;
    margin-right: 20px;
  }
  .left-navbar li a,
  .right-navbar li a {
    font-size: 15px !important;
  }
  .right-navbar ul {
    padding: 0;
  }

  .footer-section h3 {
    font-size: 20px;
  }
  .vr-section-left-wrap,
  .ar-section-left-wrap {
    margin-top: 80px;
  }
  .vr-section-left-wrap h2,
  .ar-section-left-wrap h2 {
    font-size: 30px;
  }
}

@media only screen and (max-width: 1199px) {
  .expert-container .expert-image {
    margin-top: 40px !important;
  }

  .video-section {
    margin-left: 0px;
  }
}

@media only screen and (max-width: 1140px) {
  .vr-section-left-wrap,
  .ar-section-left-wrap {
    margin-top: 50px;
  }
  .vr-section-left-wrap h2,
  .ar-section-left-wrap h2 {
    font-size: 28px;
  }
  .services-container .col-sm-12 .col-sm-2 {
    flex: 25%;
  }
  .services-container {
    margin: 0px;
  }
  .left-navbar li a,
  .right-navbar li a {
    font-size: 13px !important;
  }
  .right-navbar li {
    margin-right: 15px;
  }
}

@media only screen and (max-width: 1024px) {
  .vr-section-left-wrap,
  .ar-section-left-wrap {
    margin-top: 10px;
  }
  .vr-section-left-wrap h2,
  .ar-section-left-wrap h2 {
    font-size: 26px;
  }
  .service-content img.services-icon {
    width: 45px;
  }
  .service-content h5 {
    font-size: 16px;
    margin-top: 0px;
  }
  .service-content p {
    font-size: 15px;
  }
  .left-navbar li {
    margin-right: 10px;
  }
  .left-navbar li a,
  .right-navbar li a {
    font-size: 12px !important;
  }
  .right-navbar li {
    margin-left: 7px;
    margin-right: 7px;
  }
  .right-navbar ul {
    padding: 0;
  }
  .footer-section h3 {
    font-size: 17px;
  }
}

@media only screen and (max-width: 990px) {
  /* .border-corner {
        padding: 30px 30px 30px;
    } */
}

@media only screen and (max-width: 960px) {
  .expert-container .expert-image {
    margin-top: 60px !important;
  }

  .video-section {
    margin-left: 0px;
  }

  /* .border-corner {
        padding: 30px 30px 30px;
    } */

  .vr-section-right {
    width: 100%;
  }
  .ar-section-left {
    display: none;
  }
  .vr-section-left {
    width: 100%;
    border-bottom: #cdc7a6 1px solid;
  }
  .vr-section-left-wrap {
    margin-top: 150px;
    padding-bottom: 30px;
  }
  .vr-section-left-wrap,
  .ar-section-left-wrap {
    margin-top: 50px;
  }
  .vr-section-left-wrap h2,
  .ar-section-left-wrap h2 {
    font-size: 28px;
  }
  .service-content img.services-icon {
    width: 41px;
  }
  .service-content h5 {
    font-size: 15px;
    margin-top: 0px;
  }
  .service-content p {
    font-size: 14px;
  }
  .desktop-header {
    display: none;
  }
  .mobile-navigation {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1000;
  }

  .responsive a.active img {
    width: 62%;
  }
  .slider-upper-content-wrap .select {
    width: 50% !important;
  }

  /* Add a black background color to the top navigation */
  .topnav {
    background-color: #fff;
    overflow: hidden;
  }

  /* Style the links inside the navigation bar */
  .topnav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 0px;
    text-decoration: none;
    font-size: 17px;
    display: inline-block;
    padding: 10px;
    border-bottom: #ddd 1px solid;
    font-weight: bold;
  }

  /* .topnav a:active {
        background-color: #fff;
        overflow: hidden;
      } */

  /* Change the color of links on hover */
  .topnav a:hover {
    background-color: #ddd;
    color: black;
    font-weight: bolder;
  }

  /* Add an active class to highlight the current page */
  .topnav .active {
    color: white;
    padding: 0 !important;
    border: 0 !important;
  }

  /* Hide the link that should open and close the topnav on small screens */
  .topnav .icon {
    display: none;
  }

  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
    /* padding: 16px 16px; */
    /* padding: 0; */
    padding: 7px 10px;
    padding-bottom: 0;
    margin: 0;
    font-size: 24px;
    color: #041743;
    border: 0;
  }
  .topnav a.icon:hover {
    color: #fff;
    background-color: #041743;
  }

  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive a.icon {
    position: absolute;
    right: 25px;
    top: 10px;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .topnav .dropdown {
    display: none !important;
  }

  .topnav.responsive .dropdown {
    float: none;
    display: block !important;
    text-align: left;
    position: relative;
  }

  .dropdown-content {
    display: none;
    position: relative;
  }

  .dropdown-content a {
    float: none;
    display: block;
    text-align: left;
    padding-left: 5%;
  }

  .dropdown-content a:hover {
    color: #ff560f;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .slider-upper-content-wrap {
    padding: 0 10%;
  }
  .slider-upper-content-wrap .container {
    width: 100%;
  }

  .slider-form {
    background: transparent;
  }

  .slider-form input[type="text"] {
    width: 100%;
    background: #fff;
    padding: 9px;
  }
  .select {
    width: 50%;
  }
  .slider-form input[type="submit"] {
    width: 100%;
    border-radius: 0;
    padding: 16px 0;
  }
  .services-container .col-sm-12 .col-sm-2 {
    flex: 33%;
  }
  .services-container {
    margin: 0px;
  }
  .border-corner-sort {
    width: 75%;
  }
  .responsive{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media only screen and (max-width: 768px) {
  .border-corner {
    padding: 30px 30px 30px;
  }
  .footer-section h3 {
    font-size: 24px;
  }
  .service-content img.services-icon {
    width: 40px;
  }
  .service-content h5 {
    font-size: 14px;
    margin-top: 0px;
  }
  .service-content p {
    font-size: 14px;
  }
  .footer-contact-wrap {
    padding-left: 15px;
  }
  .footer-about img {
    width: 65%;
  }
  .imgland img {
    width: 75%;
  }
  .slider-upper-content-header {
    margin-top: 120px;
  }

  /* .vr-section-right,.ar-section-left{display: none;}*/

  .ar-section-right-ph {
    width: 100%;
    float: left;
    display: block;
  }
  .ar-section-right {
    width: 100%;
    float: left;
  }
  .ar-section-right {
    margin-top: 50px;
    padding-bottom: 30px;
  }
  .ar-section-left-wrap {
    margin-top: 0;
  }

  .count-box {
    width: 100%;
    margin-bottom: 15px;
  }

  .footer-copyright {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  .footer-social-icon {
    width: 100%;
    text-align: center;
  }
  .footer-logo {
    width: 100%;
  }
  .service-ul {
    width: 90%;
  }
  .inner-content-wrap {
    max-width: 80%;
  }
  .chat-holder {
    width: 100%;
    right: 0;
  }
  .chat-content {
    height: 105%;
  }
  /*.chat-content iframe{max-height: 300px;}*/
}

@media only screen and (max-width: 767px) {
  .contact-form-wrap-left {
    width: 100%;
    margin-bottom: 15px;
  }
  .contact-form-wrap-right {
    width: 100%;
  }
}

@media only screen and (max-width: 640px) {
  .border-corner {
    width: 90%;
    background: linear-gradient(to right, orangered 4px, transparent 4px) 0 0,
      linear-gradient(to right, orangered 4px, transparent 4px) 0 100%,
      linear-gradient(to left, orangered 4px, transparent 4px) 100% 0,
      linear-gradient(to left, orangered 4px, transparent 4px) 100% 100%,
      linear-gradient(to bottom, orangered 4px, transparent 4px) 0 0,
      linear-gradient(to bottom, orangered 4px, transparent 4px) 100% 0,
      linear-gradient(to top, orangered 4px, transparent 4px) 0 100%,
      linear-gradient(to top, orangered 4px, transparent 4px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    /* margin: auto; */
    padding: 30px 30px 30px;
    text-align: center;
    margin-bottom: 50px;
  }

  .slider-upper-content-wrap .container {
    width: 90%;
  }
  /* .slider-upper-content-wrap {top: 10%;} */
  .how_we_work {
    width: 80%;
  }
  .footer-bottom {
    margin: 0px;
    width: 100%;
  }
  .tex_blocks {
    padding: 20px;
  }
  .border-corner-sort {
    width: 90%;
  }
  .free_request_form {
    margin-left: 0px;
  }
  .footer-menu-icon {
    width: 100%;
    text-align: center;
  }
  .footer-email-icon {
    width: 100%;
    text-align: center;
  }
  .grey-block .second {
    margin-left: 10px;
    margin-top: 20px;
    display: block;
  }
  .grey-block .second .side-text {
    margin-top: 20px;
  }
  .list-block-box {
    padding: 10px;
  }
  .grey-block .list-box {
    margin-left: 10px;
  }
  .funktionierts {
    font-size: 25px;
  }
  .partner-box {
    width: 90%;
  }
  .free_request_form
    .dm-forms-widget
    .dm_form_plugin_div
    #formElements
    .memberUploadBTN {
    width: 100%;
  }
  .slider-upper-content-wrap {
    padding: 0px;
  }
  .slider-upper-content-header .custom-header #custom-header-text {
    font-size: 35px;
  }
  .content-list li {
    padding: 0px 20px;
  }
  .text-content-bottom {
    margin-left: auto;
  }
}

@media only screen and (max-width: 480px) {
  /* .slider-upper-content-wrap {
    margin-top: 100px;
  } */
  .slider-upper-content-wrap .container {
    width: 90%;
  }
  /* .slider-upper-content-wrap {top: 8%;} */
  .slider-upper-content-header h2 {
    line-height: 25px;
    font-size: 28px;
  }
  .slider-upper-content-header h2 span {
    font-size: 20px;
  }
  .slider-form input[type="submit"] {
    padding: 10px 0;
    font-size: 22px;
  }
  .inner-content-wrap h1 {
    font-size: 25px;
  }
  .services-container .services {
    max-width: 300px;
  }
  .services-container .services ul li br,
  .services-container .services .service-highlights br {
    display: none;
  }
  .service-highlights ul li {
    display: block;
  }
  .services-container center {
    margin-bottom: 10px;
  }
  .grey-block h2 {
    font-size: 20px;
  }
  .grey-block .second img {
    float: left;
  }
  .grey-block .second .tdesc {
    font-size: 14px;
  }
  .accordian-tab .accordian-tab-label {
    display: inline-block;
  }
  .grey-block .all-list {
    text-align: center;
    left: 0;
    margin-bottom: 20px;
  }
  .grey-block .all-list li:before {
    width: 15px;
  }
  .grey-block .all-list li {
    text-align: left;
  }
  .shrtslide,
  .tex_blocks .tex-content h1 {
    font-size: 17px;
  }
  .slider-upper-content-header .custom-header {
    padding: 20px;
  }
  .slider-upper-content-header .custom-header #custom-header-text {
    font-size: 30px;
    margin: 0px;
  }
  .inner-page-header .slider-upper-content-header {
    margin-bottom: 0px;
  }
  .two_column_content_box .content-left .left-box {
    width: 100%;
  }
  /* .splide__arrow--next {
    right: -2em !important;
  }
  .splide__arrow--prev {
    left: -2em !important;
  } */
  .content_list_box .content-desc .floatright {
    width: 100%;
    line-height: 25px;
  }
  .slider-upper-content-header h1 {
    font-size: 25px;
  }
  .text_blocks .text-content p {
    font-size: 17px;
  }
  .expert-container h5 {
    text-align: center;
    padding-left: 0px;
  }
  .expert-container p,
  .expert_black .text-content-bottom p {
    padding-left: 15px;
    padding-right: 15px;
    text-align: justify;
    font-size: 15px;
  }
  .accordion button[aria-expanded="true"] + .accordion-content {
    max-height: fit-content;
  }
  .footer-menu-icon a,
  .footer-email-icon a {
    font-size: 15px;
  }
  .footer-email-icon {
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 375px) {
  .slick-prev {
    width: 45px;
    padding: 10px 0;
    top: 40%;
    left: 10px;
  }
  .slick-next {
    width: 45px;
    padding: 10px 0;
    top: 40%;
    right: 10px;
  }

  .slider-upper-content-wrap .container {
    width: 90%;
  }
  .slider-form {
    margin-top: -20px;
  }
  .slider-form input[type="submit"] {
    padding: 6px 0;
    font-size: 16px;
  }
  .slider-form input[type="text"] {
    padding: 6px 9px;
  }

  .slider-form .select {
    height: 34px;
    margin: 6px 0;
  }
  .slider-form .select-styled {
    padding: 6px 15px;
  }
}

@media only screen and (max-width: 320px) {
  .grey-block .second img {
    height: 50px;
  }
}


