@media (min-width: 576px) {
  .container {
    max-width: 570px; } }
    
/*-----------------------------*/

@media only screen and (min-width: 800px) and (max-width: 1023px){
    .region-primary-menu ul {
    border: 0;
    float: right;
    width: 110%;
    }
    button.contact-button {
    position: relative;
    bottom: 280px;
    left: 0px;
    width: 50%;
    padding: 10px;
    background: #E52E2D;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    }
}
@media only screen and  (min-width: 768px) and (max-width: 1024px){
   .brand.logo {
    width: 80% !important;
    }
    .menu-base-theme li a{padding: 20px 10px !important;}
    .textovervid{top: -250px;}
}
@media only screen and  (min-width: 320px) and (max-width: 767px){
     .brand.logo {
    width: 18% !important;
    }
    .navbar-toggle {
    cursor: pointer;
    float: right;
    background: black;
    border: 0;
    padding: 0px 0;
    }
    .menu-base-theme li a{
        color: lightgray;
    }
    .menu-base-theme li a:hover, .menu-base-theme li a:focus, .menu-base-theme li a:active, .menu-base-theme li a.highlighted{
        color: gray;
    }
    video.elementor-background-video-hosted.elementor-html5-video{margin-top:0px;}
    .textovervid {
    position: relative;
    top: -145px;
    font-size: 15px; 
    /* left: 0px; */
    z-index: 1;
    /* margin: 30px 0px; */
    text-align: center !important;
    color: white;
    /* font-weight: 500; */
    }
    button.contact-button {
    position: relative;
    bottom: 165px;
    left: 0px; 
    width: 100%;
    padding: 10px;
    background: #E52E2D;
    border-radius: 20px;
    color: white;
    /* font-weight: bold; */
    }

}


/*-----------------------------*/
    
    
@media (min-width: 767px) {
  .path-frontpage .header {
    z-index: 99;
    width: 100%; }

  .container {
    max-width: 1140px; }

  .navbar-toggle {
    display: none; }

  .user-logged-in .main-header {
    position: relative; }

  .flexslider .slider-caption {
    display: block;
    width: 40%;
    top: 25%;
    font-size: 1.2em; }
  .flexslider .slider-title {
    font-size: 3em; }
  .flexslider .flex-direction-nav {
    display: block;
    margin-top: -24px; }

  .clients .region ul li {
    width: 24%;
    border: 1px solid #eee; }

  .testimonials-wrap {
    padding: 75px 0 55px; }

  .footerwidget img.left {
    float: left;
    margin: 10px 10px 0 0; }

  .navbar-toggle-close {
    display: none; }

  .region-primary-menu {
    display: inline-block !important;
    width: auto;
    margin: 0;
    background: none;
    border-radius: 5px;
    vertical-align: middle;
    float: right;
    position: static; }
    .region-primary-menu ul {
      border: 0;
      float: right; }
      .region-primary-menu ul ul {
        background: #fff;
        background: #E5151F; }
        .region-primary-menu ul ul li a {
          color: #fff;
          padding: 18px 15px; }
        .region-primary-menu ul ul li a:hover,
        .region-primary-menu ul ul li a:focus,
        .region-primary-menu ul ul li a:active,
        .region-primary-menu ul ul li a.highlighted {
          color: #000;
          padding: 18px 15px; }
        .region-primary-menu ul ul li {
          border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
          .region-primary-menu ul ul li a {
            color: #fff; }
    .region-primary-menu li {
      border: 0; }
      .region-primary-menu li a {
        background: none;
        border: 0;
        font-weight: 400; }
        .region-primary-menu li a span.sub-arrow {
          padding: 0;
          top: 28px;
          margin-top: 0;
          bottom: 2px;
          right: 2px;
          margin-left: -5px;
          left: auto;
          width: 0;
          height: 0;
          border-width: 4px;
          border-style: solid;
          border-color: #fff transparent transparent transparent;
          font-size: 2em;
          line-height: 100%; }
      .region-primary-menu li li span.sub-arrow {
        top: 22px;
        border-color: #0000 #0000 #0000 #fff;
        right: 5px; }

  .carousel-caption p,
  .carousel-caption h3 {
    display: block; }

  .carousel-caption p:last-child {
    margin: 0; }

  .carousel-caption {
    background-color: #fff;
    background: rgba(0, 0, 0, 0.84);
    color: #ddd;
    text-shadow: none;
    padding: 20px;
    top: 20%;
    left: 10%;
    bottom: auto;
    width: 30%;
    text-align: left; }

  .comment-wrap .author-details {
    width: 10%; }
  .comment-wrap .author-comments {
    width: 90%; }

  .social-media {
    padding: 0px 0;
    display: inline-block; } }
    
    
