/*----------------------Mobile Menu Icon------------------------------*/

/*-----------------Superfish Menu------------------*/
.sf-arrows .sf-with-ul{
  padding-right: 15px;
}

.sf-arrows .sf-with-ul:after{
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -2px;
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-top-color: #8A7D6A;
}

.sf-arrows ul .sf-with-ul:after{
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: #888;
}

.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:575px) {
  .slider-box {
    width: 100%;
    left: 0;
  }
  #slider .carousel-inner img{
    height: 500px;
    object-fit: cover;
  }
  #slider .slider-box h1{
    font-size: 30px;
  }
  #header .socialbox {
    margin-top: 0;
    text-align: right;
  }
  #header .socialbox i {
    padding-right: 9px;
    font-size: 15px;
  }
  #header .searchButton {
    top: 0;
  }
  #header .wrap {
    margin-top: 0;
  }
  .toggle-nav {
    top: 0;
  }
  #slider .carousel-next-button {
    right: -25px;
  }
  #slider .carousel-prev-button {
    right: 19px;
  }
  #slider h2 {
    font-size: 40px !important;
  }
  .slider_bottom_box {
    margin-top: 50px;
  }
  .our-service {
   margin: 0 auto;
  }
  #category .category-content {
    top: 59%;
    right: 10px;
    left: 10px;
  }
  .activity-content h3 , .activity-content h4 , .activity-content p{
    text-align: center;
  }
  .activity-content {
    top: 0;
    text-align: center;
  }
  #activity .owl-nav {
    display: none;
  }
  .featured_head h4 {
    font-size: 20px;
  }
  .featured_head h3 {
    font-size: 12px;
  }
  .featured_content  {
    padding: 10px 10px;
  }
  .featured_content h5 {
    font-size: 14px;
    line-height: 21px;
    padding-bottom: 0px;
  }
  .news-data {
    right: 20px;
    left: 20px;
  } 
  .popular-data {
    right: 20px;
    left: 20px;
  }
  .nav-tabs {
    text-align: left;
  }
  li.nav-item h4 {
    font-size: 14px;
    font-weight: normal;
  }
  section{
    padding: 20px 0;
  }
  blockquote{
    width: 100%;
  }
  .media-small {
    padding-left: 10px !important;
  }
  section h2{
    font-size: 22px;
  }
  .above_title {
    margin-top: 2%;
  }
  .menubar {
    padding: 0 15px;
  }
  .serach_inner input.search-field {
    width: 85%;
  }
  .sticky
  {
    position: unset !important;
  }
  .header-nav
  {
    padding-top: 0;
  } 
      #header .bg-media {
        padding-bottom: 20px;
        row-gap: 10px;
    }
  .header-nav .menubar
  {
    background-color: transparent;
  }
  .logo span a
  {
    font-size: 23px;
  }
  #footer #site-navigation
  {
    padding-top: 40px;
  }
  .post-navigation .nav-previous
  {
    width: 100%;
  }
  .post-navigation .nav-next 
  {
    width: 100%;
  }
  #newsletter .newsletter_shortcode input[type="submit"] {
    margin-top: 15px;
  }
  #newsletter .newsletter_shortcode input[type="email"] {
    max-width: 90%;
  }
  #footer h3 {
    text-align: center;
  }
  #footer .textwidget.custom-html-widget {
    text-align: center;
  }
  #footer ul li {
    text-align: center;
  }
  #footer .post-content {
    margin-top: 10px;
  }

}
@media screen and (min-width: 576px) and (max-width:767px) {

  #header {
    padding-bottom: 20px;
  }
  #header .socialbox {
    margin-top: 24px;
  }
  #header .wrap {
    width: 50%;
    margin: 20px auto;
  }
  #header .searchButton {
    top: 20px;
  }
  .our-service {
    margin-right: 15px;
    margin-left: 15px;
    width: unset;
    left: unset;
  }
  #category .category-content {
    top: 52%;
    right: 10px;
    left: 10px;
  }
  .activity-content {
    padding: 0 10px;
  }
  .activity-content h3 , .activity-content h4 , .activity-content p{
    text-align: center;
  }
  .featured_head h4 {
    font-size: 30px;
  }
  .activity-content {
    top: 0;
    text-align: center;
  }
  .activity-content h4 {
    font-size: 18px;
    padding-bottom: 0;
  }
  .activity-content p {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 25px;
  }
  .activity-content a {
    line-height: 50px;
  }
  button.owl-prev {
    left: 24px;
  }
  .news-data {
    right: 20px;
    left: 20px;
  } 
  .popular-data {
    right: 20px;
    left: 20px;
  }
  .testimonial-content {
    right: 20px;
    left: 20px;
    top: 46%;
  }
  .how-it-work-content {
    right: 20px;
    left: 20px;
    top: 46%;
  }
  .sticky
  {
    position: unset !important;
  }
  #slider .box {
    position: unset;
  }
  #slider .slider-box h1 {
    font-size: 40px;
  }
  .slider_bottom_box h5 {
    font-size: 22px;
  }
  .postbox h3{
    line-height: 22px;
  }
  .meta_post span {
    font-size: 12px;
  }
  .postbox .postbox-content{
    padding: 5px 15px;
  }
  .main-navigation li,
  #masthead.scrolled .main-navigation li{
    display: block;
    line-height: 1.5 !important;
  }
  .sf-arrows .sf-with-ul{
    padding-right: 0;
  }
  .menu > ul > li > a{
    padding: 10px 0;
  }
  .main-navigation ul ul{
    position: static;
    width: 100%;
    box-shadow: none;
  }
  .innermenubox {
    position: static;
  }
  .contact-box .wpcf7 input[type="text"],
  .contact-box .wpcf7 input[type="email"],
  .contact-box .wpcf7 textarea{
    width: 100% !important;
  }
  .toggle-nav
  {
    margin-top: 24px !important;
  }
  .logo span a
  {
    font-size: 23px;
  }
  .post-navigation .nav-previous
  {
    width: 100%;
  }
  .post-navigation .nav-next 
  {
    width: 100%;
  }
}
@media screen and (min-width: 768px) and (max-width:991px) {
  .slider-box {
    width: 100%;
    left: 0;
  }
  #slider .carousel-inner img{
    height: 500px;
    object-fit: cover;
  }
  .toggle-nav
  {
    margin-top: 0px !important;
  }
  #header .socialbox {
    margin-top: 0px;
  }
  #header .socialbox i {
    padding-right: 18px;
  }
  #slider .slider-box h1{
    font-size: 50px;
  }
  .our-service {
    margin-right: 15px;
    margin-left: 15px;
    width: unset;
    left: unset;
  }
  #category .category-content {
    top: 65%;
    right: 10px;
    left: 10px;
  }
  .activity-content h3 , .activity-content h4 , .activity-content p{
    text-align: center;
  }
  .featured_head h4 {
    font-size: 30px;
  }
  .featured_content {
    padding: 15px;
  }
  .featured_content h5 {
    font-size: 15px;
  }
  .activity-content {
    top: 0;
    text-align: center;
  }
  .activity-content p {
    margin-bottom: 0;
    font-size: 14px;
  }
  .activity-content h4 {
    margin-bottom: 0;
  }
  .news-data {
    right: 50px;
    left: 50px;
  } 
  .popular-data {
    right: 50px;
    left: 50px;
  }
  .testimonial-content {
    right: 20px;
    left: 20px;
    top: 46%;
  }
  .how-it-work-content {
    right: 20px;
    left: 20px;
    top: 46%;
  }
  .how-it-work-image {
    padding-bottom: 152px;
  }
  .how-it-work-content h4{
    font-size: 16px;
  }
  .how-it-work-content p {
    font-size: 14px;
  }
  .testimonial-image {
    padding-bottom: 152px;
  }
  .testimonial-content h4{
    font-size: 16px;
  }
  .testimonial-content p {
    font-size: 14px;
  }
  .newsletter_image img {
    height: 57px;
  }
  .newsletter_content h6 {
    padding: 20px 15px;
    top: 6px;
  }
  #newsletter .newsletter_shortcode h3 {
    font-size: 35px;
  }
  #newsletter .newsletter_shortcode p {
    font-size: 15px;
  }
}

@media screen and (max-width: 1024px) and (min-width:991px){
  .postbox{ 
    margin-bottom: 20px; 
  }
  .logo span a
  {
    font-size: 18px;
  }
  .widget th, .widget td
  {
    padding: 0;
  }
  .toggle-nav{
    top: 0px;
  }

}

@media screen and (max-width: 1024px){

  .main-navigation ul ul{
    background-color: transparent;
  }
  .main-navigation ul ul li, .menubar.scrolled .main-navigation ul ul li{
    border-bottom: none;
  }
  .site-description{
    font-size: 12px !important;
  }
  .toggle-nav {
    display: block;
    position: relative;
    float: right;
    height: 30px;
    width: 30px;
    cursor: pointer;
    z-index: 999999;
  }
  .toggle-nav i {
    font-size: 29px;
    color: #ffffff;
  }
  .sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  .sidenav a:hover {
    color: #f1f1f1;
  }
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    display: block;
    color: #ffffff;
  }
  .sidenav #site-navigation {
    width: 100%;
  }
  .toggle-nav span {
    cursor:pointer; 
    text-align: right;
  }
  iframe {
    width: 100%;
    height: auto;
  }
  .innermenubox {
    position: static;
    padding-bottom: 10px;
  }

  .main-navigation .menu{
    float: none;
    text-align: center;
  }
  .main-navigation ul ul li,
  #masthead.scrolled .main-navigation ul ul li{
    display: block;
  }
  .main-navigation .menu > ul > li.highlight{
    background: transparent !important;
  }
  .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;
  }
  .toggle i.fa.fa-bars,.toggle i.fa.fa-times {
    float: right;
    color: black;
  }
  .menubar .nav ul{ 
    width:100%;
    margin-top:0; 
  }
  .menubar .nav ul li,
  .menubar.scrolled .main-navigation li{
    border-top:1px #303030 solid; 
    display:block;
    text-align:left;
    float:none;
    width: 18rem;
    padding: 5px;
  }
  .nav ul li a{
    padding:5px 10px; 
    display:block; 
    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;
    width: 100%;
    box-shadow: none;
  }
  .top_bar_btn{
    padding:0;
  }
  .main-navigation li.current_page_item
  {
    border:none;
  }
}
@media screen and (max-width: 1200px) and (min-width: 1025px) { 

  .logo span a
  {
    font-size: 18px;
  }
  .col-lg-3.col-md-4.col-sm-5.col-7.topbar-phone {
    padding: 0;
  }
  .widget th, .widget td
  {
    padding: 0;
  }
  .sticky .header-search
  {
    padding: 12px 5px !important;
  }
  #gallery button.owl-next {
    right: 80px;
  }
  #gallery button.owl-prev {
    left: 82px;
  }
}