@media screen and (max-width: 1440px) {
    #mega-menu-wrap-primary, #mega-menu-wrap-primary #mega-menu-primary, #mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-row, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column, #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link {
        right: 0 !important;
    }

}

@media screen and (max-width: 1200px) {
    #navbar-top-1 {
        display: none;
    }
    .single-header-section-rating {
        float: left;
        margin-top: 20px;
    }

    .single-header-section-rating .score {
        float: right;
        text-align: left;
        padding-right: 0;
        padding-left: 15px;
    }

    .single-header-section-links {
        float: left;
        padding-bottom: 20px;
    }
    .home-form-1 {
        margin-top: 0 !important;
        width: 100% !important;
        margin-bottom: 0;
    }
    .submit-tour a {
        margin-left: 0 !important;
    }
    .home-form-1 {
        border-radius: 0;
    }
    .tour-slider .carousel-inner .item figure figcaption {
        top: 60%;
    }
    .main-slider-item-content {
        padding-top: 150px;
    }
    .subscribe-wrapper {
        padding: 40px;
    }
}


@media only screen and (min-width: 1025px) {

    .single-location:hover .single-location-title {
        transform: translatey(-15px);
    }

    .single-location:hover .single-location-list {
        transform: translatey(-25px);
        opacity: 1;
    }

    .single-location:hover .view-location {
        transform: translatey(-12px);
        color: #fff;
        opacity: 1;
    }

    .tour-catagory-content:hover.tour-catagory-content .cat-content {
        opacity: 1;
    }

    .single-blog-item.v2:hover .blog-hover-content .blog-title {
        transform: translatey(-20px);
    }

    .single-blog-item.v2:hover .blog-hover-content a.btn.v6 {
        transform: translatey(-6px);
        transition-delay: 0.1s;
        opacity: 1;
    }
}

@media only screen and (max-width: 1024px) {
    .tour-catagory-content .cat-content {
        opacity: 1;
    }
}

@media screen and (min-width: 991px) and (max-width: 1200px) {
    .tour-single.style3 .tour-rating ul li:last-child {
        padding-left: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px){
	.heading-title h2 {
		border-left: none;
		border-right: none;
		border-bottom: none;
	}
    .header-info {
        zoom: 85%;
    }
    .navbar-default .navbar-text {
        display: none;
    }
    .login-box, .register-box {
        margin: auto 15%;
    }
    #secondary-menu {
        display: none;
    }
    .post-meta-block {
        float: left;
    }

}


@media (max-width: 991px) {
    .slider-item-box {
        width: 100%;
    }

    .tour-slide-box {
        max-width: 400px;
        float: left;
    }
    .tour-slide-box {
        margin-bottom: 0;
    }
    .tour-slide-box.-map {
        display: none;
    }

    .tour-slide-box-img {
        padding-bottom: 56.25%;
    }
    /*
    .tour-slide-box-content {
        padding: 25px 20px;
    }
    */
}


@media (min-width: 768px) {

    #testimonials {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .tour-includes li {
        width: 100%;
    }
    .tour-public-facility-wrapper {
        width: 100%;
    }
	.popup {
		width: 70%;
	}
}

@media screen and (min-width: 768px){
	.navbar-nav.navbar-right:last-child {
		margin-right: 0; 
	}
    .nav-justified > li {
        display: inline-block !important;
        width: auto !important;
    }
    .nav-tabs.nav-justified > li > a {
        border-bottom: none;
        border-radius: 0;
        color: #fff;
        background-color: #7c4992;
        z-index: 100;
    }
    .nav-tabs > li > a:hover {
        border-color: transparent;
        color: #fff;
    }
    .nav-tabs.nav-justified {
        padding-right: 15px;
        padding-left: 15px;
        margin-bottom: 15px;
        position: absolute;
        top: -47px;
        max-width: 800px;
    }
    .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus {
        border: none;
        background: #94c565; 
    }
}

@media screen and (max-width: 767px){
	.topbar{
		position: static;
		width: 100%;
		left: 0;
		top: 0;
	}

	.topbar-nav{
		font-size: 12px;
		float: none;
		display: table;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.navbar{
		min-height: 80px;
	}

	.navbar-default.navbar-fixed-top{
		position: static;
		left: 0;
		top: 40px;
		margin-bottom: 0;
	}

    .navbar-toggle {
        background-color: #484848;
        border: none;
    }

	.navbar-default .navbar-toggle{
		margin-top: 22px;
	}

    .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
        background-color: #78c317;
    }
    .header-middle .img-responsive {
        zoom: 80%;
    }

	.navbar-header{
		min-height: 80px;
	}

	.navbar-default .navbar-toggle .icon-bar{
		background-color: #fff;
	}

	.navbar-default .navbar-nav > li > a{
		padding-top: 12px;
		padding-bottom: 12px; 
		padding-left: 15px;
	}

	.navbar-default .navbar-nav > .active > a::before{
		content: "";
		display: none;
		background: transparent;
	}

	.navbar-default .navbar-nav > .active > a::after{
		content: "";
		display: none;
	}

	.navbar-default .navbar-nav li.dropdown.open > a,
	.navbar-default .navbar-nav li.dropdown.open > a:hover{
		color: #fff;
		background-color: #78c317;
	}

	.navbar-default .navbar-nav .open .dropdown-menu > .active > a, 
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, 
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
		color: #fff;
		background-color: #78c317;
	}

	.navbar-default .navbar-nav .open .dropdown-menu > li > a {
		padding-top: 12px;
		padding-bottom: 12px; 
	}

	.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
		color: #fff;
		background-color: #78c317; 
	}

	.dropdown-menu > li > a{
		display: block;
		padding-top: 12px;
		padding-bottom: 12px;
		padding-left: 25px;
	}


	.signup:hover,
	.signup:focus,
	.signup:active{
		-webkit-border-radius: 0;
		   -moz-border-radius: 0;
			-ms-border-radius: 0;
			 -o-border-radius: 0;
				border-radius: 0;
		background-color: #0f101a !important;
		color: #fff !important;
	}
	
	#header{
		width: 100%;
		height: auto;
	}

	#header .carousel-control > .glyphicon,
	#header .carousel-control > .fa{
		font-size: 16px;
		line-height: 50px;
	}

	#header .carousel-control.left,
	#header .carousel-control.right{
		margin-top: 25%;
		opacity: 1;
		filter: alpha(opacity=100);
	}

	.carousel-control .icon-prev, 
	.carousel-control .fa,
	.carousel-control .icon-next, 
	.carousel-control .glyphicon-chevron-left, 
	.carousel-control .glyphicon-chevron-right{
		top: 25%;
	}

	#header .carousel-inner .item{
		min-height: 250px;
		height: auto;
		padding-top: 40px;
	}

	#header .carousel-inner .item .carousel-caption{
		background-color: rgba(255,255,255,.9);
		right: 15%;
		left: 15%;
		color: #6b6e80;
		text-shadow: none;
		text-align: left;
		padding: 25px;
	}

	.sidebar{
		margin-bottom: 20px;
		margin-top: 20px;
	}

	.blog-comment ul.comments ul{
		margin-left: 0;
	}

	#slider-tour .carousel-control > .glyphicon, 
	#slider-tour .carousel-control > .fa {
		font-size: 16px;
		line-height: 50px;
	}

    .copyright {
        text-align: center;
        position: relative;
        margin-top: 60px;
        padding: 40px 0;
        border-top: 1px solid #1a3a57;
    }

	.copyright .scroltop{
		right: 15px;
	}

    .blog-header {
        padding-left: 7.5%;
    }

    .blog-header .blog-excerpt {
        display: none;
    }

    .author-info-social a {
        margin-bottom: 5px;
    }

    .tag-cloud a {
        margin-bottom: 5px;
    }

    .author-info-container {
        float: none;
        margin: 0 0 20px 0;
    }
    .header-info {
        width: 100%;
        border-bottom: 1px solid #eee;
        display: none;
    }
    .header-info:not(:last-of-type):after {
        content: none;
    }
    .navbar-default .navbar-text {
        padding-right: 15px;
        padding-left: 15px;
        line-height: 40px;
    }
    .page-template-template-box-right_sidebar .cmb-th {
        padding: 0 !important;
        padding-top: 12px !important;
        display: block;
        width: 100% !important;
    }
    .page-template-template-box-right_sidebar .cmb-td {
        width: 100% !important;
        padding: 0 !important;
    }
    .col-md-3 .tour-container .tour-content h3 a, .similar-tours .tour-container .tour-content h3 a, .tour-box-archive .col-md-4 .tour-container .tour-content h3 a {
        font-size: 22px;
    }
    .col-md-3 .tour-attributes h4, .similar-tours .tour-attributes h4, .tour-box-archive .col-md-4 .tour-attributes h4 {
        font-size: 18px;
    }
    .col-md-3 .tour-attributes, .col-md-3 .agency-attributes, .col-md-3 .agent-attributes, .similar-tours .tour-attributes, .tour-box-archive .col-md-4 .tour-attributes {
        font-size: 16px;
    }
    .tour-content-list, .agent-content-list, .agency-content-list{
	    display: block;
    }
    .tour-slider .carousel-inner .item figure figcaption .slider-details {
        display: none;
    }
    .widget .widgettitle small {
        line-height: 24px;
    }
    .col-md-3 .tour-btn, .similar-tours .tour-btn, .tour-box-archive .col-md-4 .tour-btn {
        padding: 10px 30px;        
        font-size: 16px;
        font-weight: 500;
    }
    #service {
        background-image: none !important;
    }
    .testimonial-box-3 {
        margin-top: 30px;
        text-align: center;
    }
    .login-box, .register-box {
        margin: auto 5%;
    }
    #navbar-top-1 {
        display: inherit !important;
    }
    .tour-title h2 {
        display: none;
    }
    .sticky-wrapper .navbar-default {
        background-color: #fff;
    }
    #secondary-menu {
        display: inherit;
    }
    .main-search-form-inner{
        padding: 30px 20px;
        margin-top: -80px;
    }
    .blog-comment ul {
        padding: 0;
    }
    .tour-overview li, .tour-service-types li {
        width: 100%;
    }
    .header {
        top: 0;
    }
    .topbar.full-width {
        background: #000;
    }
    #mega-menu-wrap-primary .mega-menu-toggle {
        background-color: transparent;
    }
    .tour-service-types {
        display: inline-block;
    }
    .tour-service-types div[class^="col-"] {
        padding: 0;
    }
    #footer .row {
        margin: 0;
    }
    .lSSlideOuter.vertical, .lSSlideWrapper, .lSSlideOuter.vertical .lSGallery {
        height: 220px !important;
    }
    .home-form-1 .field.m-clear {
        width: 100%;
    }
    .owl-nav .owl-next,
    .owl-nav .owl-prev {
        display: none !important;
    }
    .single-header-section-rating {
        display: none;
    }
    .post-meta-block {
        float: left;
    }
    .main-banner {
        padding: 80px 0;
    }
    .main-banner h2 {
        font-size: 40px;
    }
    .main-banner p {
        font-size: 14px;
    }
    .main-slider-item-content {
        padding-top: 30px;
    }
    .subscribe-text {
        border-radius: 24px 24px 0 0;
    }
    .subscribe-wrapper {
        border-radius: 0 0 24px 24px;
    }
    .testimonial-box-3 .testimonial-image img {
        max-width: 120px;
    }
}

@media only screen and (max-width: 600px) {
    #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open + #mega-menu-primary {
        display: block;
        padding: 20px;
    }
}

@media screen and (max-width: 480px){
	.heading-title h2{
		padding: 10px 14px;
		font-size: 18px;
		line-height: 24px;
	}

	.tour-image-list, .agent-image-list, .agency-image-list {
		position: relative;
		width: 100%;
		display: block;
		vertical-align: top;
	}

	.tour-text, .agent-text, .agency-text {
		position: relative;
		width: 100%;
		display: block;
		padding: 0;
		vertical-align: top;
	}

    .md-4 {
        width: 100% !important;
    }

	.testimony-image{
		float: none;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

	.testimony-content{
		display: block;
		margin-left: 0;
		text-align: center;
	}

	#testislider .carousel-control.left {
		z-index: 3;
		left: 15px;
		right: auto;
	}

	#testislider .carousel-control.right {
		z-index: 3;
		right: 15px;
		left: auto;
	}

	#subscribe h3{
		display: block;
		text-align: center;
	}

	#slider-tour .carousel-indicators{
		display: none;
	}

    .blog-header {
        padding-left: 7.5%;
    }

    .blog-header .blog-title h2 {
        font-size: 18px;
    }
    .blog-header .blog-author {
        font-size: 13px;
    }

    .widget .widgettitle {
        font-size: 30px;
        line-height: 40px;
    }
	.col-md-12 .tour-image-list {
	    width: 100%;
	}
	.tour-single.grid .tour-price {
	    float: right;
	    font-size: 3rem;
	}
	.tour-single.grid .tour-meta {
	    border: none;
	    border-top: 1px solid #ebecea;
	    display: table;
	}
    .single-header-section-price {
        float: left;
        margin-top: 15px;
    }
    .tour-single .tour-booking {
        display: none;
    }
    .tour-single.grid .tour-meta {
        text-align: left;
    }
    .blog-comment .meta {
        display: inline-block;
        line-height: 30px;
    }
    .single-header-contacts.details {
        padding-left: 0;
        padding-top: 10px;
    }
    .single-header-contacts li {
        float: none;
    }
    .single-header-section {
        padding: 150px 0 0;
    }
    .tour-overview li strong, .tour-service-types li strong {
        width: 50%;
    }
    .agent-text, .agency-text {
        padding: 20px 20px 0 20px;
    }
    .agency-text dl, .agent-text dl {
        padding-top: 0;
    }
    .main-banner .home-form-1 .btn, .main-banner .home-form-1 .field {
        width: 100%;
    }
    .main-banner fieldset .input-group {
        border-right: none !important;
    }
    .item-padding {
        padding: 60px 0;
    }
}
