/* 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,.logo,#contact .map-box{
    position: static !important;
    transform: none;
  }
  #slider .slider-box{
    left: 10%;
    right: 10%;
  }
  .slider-box h6, #slider .slider-box p, .slide_btn {
    display: none !important;
  }
  #slider .slider-box h2{
    font-size: 20px;
  }
  #slider embed{
    height: 250px;
  }
  #company_info {
    margin-top: 2em;
  }
  .contact-info-box hr{
    margin: auto;
  }
  #counter .owl-carousel .owl-item img,#brands .owl-carousel .owl-item img{
    display: initial !important;
    width: auto !important;;
  }
  #testimonials p,#latest_news p,#career_job p,#team p,#brands p,#projects p,#service p{
    width: auto !important;
  }
  #brands button.owl-next,#counter button.owl-next{
    right:0;
  }
  #brands button.owl-prev,#counter button.owl-prev{
    left: 0;
  }
  #company_info .owl-dots {
    display: block;
    text-align: center;
  }
}
@media screen and (max-width: 1000px) and (min-width:768px){
  .sticky{
    position: static !important;
  }
  #slider .slider-box {
    left: 10%;
    right: 10%;
  }
  #slider embed{
    height: 400px;
  }
  .about-box h3 {
    font-size: 25px;
  }
  .about-box p,.projects-box h4{
    font-size: 15px;
  }
  .about-box p {
    line-height: unset;    
  }
  #counter .owl-carousel .owl-item img,#brands .owl-carousel .owl-item img{
    display: initial !important;
    width: auto !important;;
  }
  #brands button.owl-next,#counter button.owl-next{
    right:-25px;
  }
  #brands button.owl-prev,#counter button.owl-prev{
    left: -25px;
  }
}
@media screen and (max-width: 1199px) and (min-width:1024px){
  #brands button.owl-next,#counter button.owl-next {
    right: -40px;
  }
  #brands button.owl-prev,#counter button.owl-prev {
    left: -40px;
  }
  .career_btn a {
    letter-spacing: 0;
  }
  .about-box {
    margin: 0 !important;
  }
  #slider .slider-box {
    left: 10%;
    right: 50%;
  }
}
@media screen and (max-width: 1000px){
  .toggle-nav {
    display: block;
    cursor: pointer;
    z-index: 999999;
  }
  .toggle-nav i,.search-icon i{
    font-size: 30px;
    color: #fe651f;
    background: #fff0e9;
    border-radius: 10px;
  }
  .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;
  }
  .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;
  }
}