/* MOBILE MEDIA */

.sf-arrows ul .sf-with-ul:after {
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: #000;
}

.sf-arrows ul li>.sf-with-ul:focus:after,
.sf-arrows ul li:hover>.sf-with-ul:after,
.sf-arrows ul .sfHover>.sf-with-ul:after {
  border-left-color: #333;
}

.toggle-nav,
a.closebtn {
  display: none;
}

.main-navigation ul ul li {
  padding: 10px;
}

/* MEDIA SECTION */

@media screen and (max-width: 720px) and (min-width:320px) {
  .sticky {
    position: static !important;
    transform: none;
  }

  .main-navigation ul ul {
    position: static !important;
  }

  .main-navigation ul ul {
    border: none !important;
  }

  .contact-section-form input[type="text"],
  .contact-section-form input[type="tel"],
  .contact-section-form input[type="email"],
  .contact-section-form textarea,
  #comments textarea,
  p.news-txt,
  p.achieve-txt,
  p.staff-text,
  p.feat-text,
  p.testi-text,
  .single-post textarea#comment {
    width: 100% !important;
  }

  p.comment-form-comment label {
    bottom: 75%;
  }

  .header-search {
    display: inline-block;
  }

  p.slide-txt,
  h2.achieve-main-head:after,
  h2.staff-main-head:before,
  h2.staff-main-head:after,
  h2.work-head:after,
  h2.testi-main-head:after,
  .testi-box:before {
    display: none !important;
  }

  h1.slide-main-head {
    font-size: 15px !important;
  }

  section#slider .owl-nav {
    top: 80% !important;
  }

  .about-img-box img {
    position: static !important;
  }

  .quote-box-abt {
    left: 2% !important;
    right: 2% !important;
    top: 30% !important;
  }

  .abt-box {
    padding: 15px !important;
  }

  h2.service-main-head:after,
  h2.service-main-head:before {
    display: none !important;
  }

  ul.testi-tabs {
    right: 0% !important;
  }

  .lower-new-box {
    width: 90% !important;
  }

  ul.testi-tabs:before,
  ul.testi-tabs:after {
    left: 0 !important;
  }

  .you-btn {
    width: 30% !important;
  }

  .fet1 .feat-content,
  .fet6 .feat-content {
    transform: translateY(5%) !important;
  }

  .fet3 .feat-content,
  .fet4 .feat-content {
    transform: translateY(25%) !important;
  }

  .contact-info h3:after {
    left: 50% !important;
  }

  .row.ft-form span.wpcf7-spinner {
    display: block !important;
  }

  section#slider button.owl-prev i {
    padding-right: 5px !important;
  }

  section#slider button.owl-prev {
    margin-right: 6px !important;
  }
}

@media screen and (max-width: 425px) and (min-width:375px) {
  .quote-box-abt {
    top: 40% !important;
  }

  .you-btn {
    width: 25% !important;
  }

  .contact-info h3:after {
    left: 43% !important;
  }

  /*section#slider .owl-carousel .owl-stage-outer {
    -webkit-transform: translate3d(0px, -22px, 0px) !important;
}*/
}

@media screen and (max-width: 768px) and (min-width:425px) {
  .quote-box-abt {
    top: 45% !important;
  }

  .you-btn {
    width: 22% !important;
  }

  .contact-info h3:after {
    left: 38% !important;
  }

  section#company .owl-carousel .owl-item img {
    width: auto !important;
    margin: auto !important;
  }

  /*section#slider .owl-carousel .owl-stage-outer {
    -webkit-transform: translate3d(0px, -27px, 0px) !important;
}*/
}

@media screen and (max-width: 1000px) and (min-width:768px) {
  .sticky {
    position: static !important;
  }

  .main-navigation ul ul {
    position: static !important;
  }

  .contact-section-form input[type="text"],
  .contact-section-form input[type="tel"],
  .contact-section-form input[type="email"],
  .contact-section-form textarea {
    width: 100%;
  }

  p.comment-form-comment label {
    bottom: 75%;
  }

  #comments textarea {
    width: 100%;
  }

  .quote-box-abt {
    top: 70% !important;
    left: 2% !important;
    right: 68% !important;
  }

  .about-img-box {
    text-align: center !important;
  }

  .about-img-box img {
    position: static !important;
  }

  .abt-info {
    transform: translateY(0%) !important;
  }

  ul.testi-tabs:before,
  ul.testi-tabs:after {
    left: 10px !important;
  }

  .testi-box:before {
    width: 92px !important;
  }

  h6.abt-quote:after {
    left: 39% !important;
  }

  .you-btn {
    width: 13% !important;
  }

  .feat-content {
    transform: translateY(30%) !important;
  }

  .contact-info h3:after {
    left: 44% !important;
  }

  /*section#slider .owl-carousel .owl-stage-outer {
    -webkit-transform: translate3d(0px, -50px, 0px) !important;
}*/
}

@media screen and (max-width: 1199px) and (min-width:1024px) {

  .contact-section-form input[type="text"],
  .contact-section-form input[type="tel"],
  .contact-section-form input[type="email"],
  .contact-section-form textarea {
    width: 100%;
  }

  /*.main-navigation a {
    font-size: 15px !important;
  }*/
  .abt-info {
    transform: translateY(13%) !important;
  }

  p.call-det {
    display: grid;
  }

  .quote-box-abt {
    right: 45% !important;
    top: 30% !important;
  }

  .lower-new-box {
    width: 88% !important;
  }

  ul.testi-tabs:before,
  ul.testi-tabs:after {
    left: 14px !important;
  }

  .testi-box:before {
    width: 112px !important;
  }

  h6.abt-quote:after {
    left: 36% !important;
  }

  .you-btn {
    width: 9% !important;
  }

  .contact-info h3:after {
    left: 33% !important;
  }

  /*section#slider .owl-carousel .owl-stage-outer {
    -webkit-transform: translate3d(0px, -55px, 0px) !important;
}*/
}

@media screen and (max-width: 1000px) {
  .toggle-nav {
    display: block;
    cursor: pointer;
    z-index: 999999;
  }

  .toggle-nav i {
    font-size: 25px;
    border-radius: 10px;
    border: 2px solid #888888;
    color: #888888;
  }

  .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999;
    top: 0;
    right: 0;
    background-color: #2d3346;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }

  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    display: block;
    color: #ffffff;
  }

  nav#site-navigation ul {
    margin: 0;
  }

  iframe {
    width: 100%;
    height: auto;
  }

  .main-navigation ul ul li,
  #masthead.scrolled .main-navigation ul ul li {
    display: block;
  }

  .menu>ul>li:hover:before,
  .menu>ul>li.current_page_item:before,
  .menu>ul>li.current-menu-item:before {
    display: none;
  }

  .sf-arrows .sf-with-ul:after {
    border-top-color: #333;
  }

  .menubar .nav ul li,
  .menubar.scrolled .main-navigation li {
    border-bottom: solid 1px #475275;
    display: block;
    text-align: left;
    float: none;
    width: 18rem;
    padding: 5px 0;
  }

  .nav ul li a {
    padding: 5px 10px;
    color: #ffffff;
  }

  .nav ul li a:hover {
    color: #ff8a00;
  }

  .nav ul li ul,
  .nav ul li ul ul {
    display: block !important;
    background: transparent;
  }

  .nav ul li ul li a:before {
    content: "\00BB \00a0";
  }

  .nav ul li ul li a {
    padding-left: 20px !important;
  }

  .nav ul li ul li ul li a {
    padding-left: 30px !important;
  }

  .main-navigation ul ul {
    position: static;
    background: transparent;
  }

  .main-navigation .current_page_item>a,
  .main-navigation .current-menu-item>a {
    color: #fff;
  }
}

@media screen and (min-width: 1400px) {
  .container {
    width: 1300px;
  }

  #comments textarea {
    width: 100%;
    margin: 5px 0px 0px 5px;
    height: 100px;
  }

  /*section#slider .owl-carousel .owl-stage-outer {
    -webkit-transform: translate3d(0px, -74px, 0px) !important;
}*/
}