@media (max-width: 414px) {	
    .featured-item {
        margin: 10px auto;
        height: 407px; 
    }
    .featured-button-wrapper {
        width: 	87%;
        bottom: 15px;
        margin: 0 auto;	
    } 

    .recommended-item {
        margin: 10px auto;
        height: 465px; 
    }
    .recommended-button-wrapper {
        width: 95%;
        bottom: 15px;
        margin: 0 auto;	
    }
}

@media (min-width: 415px) and (max-width: 439px) {	
    .featured-item {
        margin: 10px auto;
        height: 300px; 
    }
    .featured-button-wrapper {
        width: 93%;
        bottom: 15px;
        margin: 0 auto;	
    }

    .recommended-item {
        margin: 10px auto;
        height: 460px; 
    }
    .recommended-button-wrapper {
        width: 95%;
        bottom: 15px;
        margin: 0 auto;	
    }
}

@media (min-width: 440px) and (max-width: 499px) {	
    .featured-item {
        margin: 10px auto;
        height: 300px; 
    }
    .featured-button-wrapper {
        width: 93%;
        bottom: 15px;
        margin: 0 auto;	
    }

    .recommended-item {
        margin: 10px auto;
        height: 440px; 
    }
    .recommended-button-wrapper {
        width: 95%;
        bottom: 15px;
        margin: 0 auto;	
    }
}

@media (min-width: 500px) and (max-width: 569px) {	
    .featured-item {
        margin: 10px auto;
        height: 300px; 
    }
    .featured-button-wrapper {
        width: 93%;
        bottom: 15px;
        margin: 0 auto;	
    }

    .recommended-item {
        margin: 10px auto;
        height: 420px; 
    }
    .recommended-button-wrapper {
        width: 95%;
        bottom: 15px;
        margin: 0 auto;	
    }
}

@media (min-width: 570px) and (max-width: 609px) {	
    .featured-item {
        margin: 10px auto;
        height: 300px; 
    }
    .featured-button-wrapper {
        width: 93%;
        bottom: 15px;
        margin: 0 auto;	
    }

    .recommended-item {
        margin: 10px auto;
        height: 550px; 
    }
    .recommended-button-wrapper {
        width: 95%;
        bottom: 15px;
        margin: 0 auto;	
    }
}

@media (min-width: 610px) and (max-width: 639px) {	
    .featured-item {
        margin: 10px auto;
        height: 300px; 
    }
    .featured-button-wrapper {
        width: 93%;
        bottom: 15px;
        margin: 0 auto;	
    }

    .recommended-item {
        margin: 10px auto;
        height: 520px; 
    }
    .recommended-button-wrapper {
        width: 95%;
        bottom: 15px;
        margin: 0 auto;	
    }
}

@media (min-width: 640px) and (max-width: 709px) {	
    .featured-item {
        margin: 10px auto;
        height: 300px; 
    }
    .featured-button-wrapper {
        width: 93%;
        bottom: 15px;
        margin: 0 auto;	
    }

    .recommended-item {
        margin: 10px auto;
        height: 485px; 
    }
    .recommended-button-wrapper {
        width: 95%;
        bottom: 15px;
        margin: 0 auto;	
    }
}

@media (min-width: 710px) and (max-width: 767px) {	
    .featured-item {
        margin: 10px auto;
        height: 300px; 
    }
    .featured-button-wrapper {
        width: 93%;
        bottom: 15px;
        margin: 0 auto;	
    }

    .recommended-item {
        margin: 10px auto;
        height: 465px; 
    }
    .recommended-button-wrapper {
        width: 95%;
        bottom: 15px;
        margin: 0 auto;	
    }
}

@media (max-width: 767px) {

    /* body.boxed {
        width: 100%;
    } */
    .wrap {
        width:auto; overflow:hidden; max-width:auto;padding:0 .5em;
    }
        
    .navbar-fixed-top {
        position: relative !important;
        top: auto;
    }

    header .top-bar {
        min-height: 0;
        padding: 3px 0;
    }

    .navbar-toggle {
        float: none;
        text-align: center;
        padding: 0;
        display: block;
    }

    .mobile.navbar-header {
        margin-bottom: 30px;
    }

    .topnav a.navbar-toggle {
        padding: 0;
        line-height:18px;
        margin-top:-1px;
    }

    .navbar-toggle:hover, .navbar-toggle:focus {
        background-color: transparent;
    }

    .mobile .navbar-toggle i {
        padding: 9px 12px;
        border-radius: 3px !important;
    }

    .topnav .navbar-toggle {
        display: block;
        float: none;
        margin: 0 auto;
        border: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 2px;
        border-bottom-right-radius: 2px;
    }

    .topnav .navbar-toggle i {
        border-radius: 0 0 2px 2px !important;
        padding: 0 8px;
        font-size: 19px;
        cursor: pointer;
    }

    /* Added 5/25/21 */
    .navbar-collapse.collapse {
	    display: none !important;
	    height: auto !important;
	    overflow: visible !important;
	    padding-bottom: 0;
	}
	
	.navbar-collapse.collapse.in {
	    display: block !important;
	}
    /*  */

    .top-bar {
        text-align: center;
        padding: 0px 15px 10px !important;
    }

    .slidedown .social {
        padding-bottom: 10px;
    }

    .phone-email {
        padding: 12px 0 3px;
    }


    .forerunner-item, .featured-item, .recommended-item   {
        margin-bottom:20px;
    }

    .forerunner-wrap .item, .featured-wrap .item, .recommended-wrap .item {
        width: 100%;
    }

    .tp-caption h3 {
        font-size: 14px !important;
        line-height: 25px !important;
    }

    .tp-caption h5 {
        font-size: 16px !important;
        line-height: 24px;
        margin: 10px 0 0 10px;
    }

    .tp-caption i {
        background: none !important;
        font-size: 16px !important;
        margin-right: 0 !important;
        color: #FFF;
        line-height: 34px !important;
        margin-right: 5px !important;
        width: 11px !important;
    }

    .list-slide {
        margin-bottom: 5px;
    }

    
    .get-started, .learnmore {
        text-align: center;
        margin-bottom: 15px;
    }

    .breadcrumb-wrapper {
        text-align: center;
    }

    .breadcrumbs.pull-right {
        float: none !important;
    }

    .blog-small article .post-image {
        width: 99.7%;
    }

    .blog-small article .post-content-wrap {
        float: left;
        margin: 0;
        padding: 0;
        width: 95%;
    }


    .main-content .bottom-pad {
        margin-bottom: 0px;
    }

    .main-content .content-box {
        margin-bottom: 40px;
        display: inline-block;
    }

    .features .bottom-pad-small {
        margin-bottom: 0;
    }

    .services .bottom-pad-small {
        margin-bottom: 0;
    }

    .img-content {
        float:none;
        margin: 0 0 15px;
    }
    .forerunner-desc, .featured-desc{
        margin-bottom: 40px;
    }

    .forerunner.two-column .view h3, .featured.two-column .view h3{
        
        margin-top:50px;
    }

    .forerunner.three-column .view h3, .featured.three-column .view h3{
        
        margin-top:30px;
    }

    #cn-tabs .service {
        margin-bottom: 40px;
    }

    #cn-tabs .service:before {
        content: "";
        position:absolute;
        left: 44%;
        top:auto !important;
        right:auto !important;
        bottom: 23px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        border-bottom: 1px solid #ddd;
        border-top: 0;
    }


    .latest-posts .post-item {
        margin-bottom: 30px;
    }

    .col-xs-12 .btn {
        font-size: 11px;
    }

    .our-clients .item {
        text-align: center;
    }

    footer section {
        margin-bottom: 35px;
    }

    .footer-bottom {
        text-align: center;
    }

    .social-icons-footer-bottom {
        display: inline-block;
        float: none;
    }

    div.p_table div.column_1, div.p_table div.column_2, div.p_table div.column_3, div.p_table div.column_4, div.p_table.three-col div.column_1, div.p_table.three-col div.column_2, div.p_table.three-col div.column_3 {
        width: 100%;
        margin-bottom: 25px;
    }

    .testimonial.item {
        margin-bottom: 25px;
    }

    .team .item {
        margin-top: 25px;
    }

    .about .testimonials.widget {
        margin-top: 30px;
    }


}