@media only screen and (max-width: 1024px) {
    .card-bg-image,.card-content .content{
        width: 50%;
    }
}

@media only screen and (max-width: 991px) {
    .col-md-6.small-posts-group {
        margin-top: 30px;
    }
    .mid-section-sidebar.section aside#secondary {
        margin-top: 50px;
    }
.hero-section.image{
    height: 600px;
}
ul#menu-main li.menu-item-has-children .dropdown-menu li.menu-item-has-children:hover .dropdown-sub, ul#menu-main li.menu-item-has-children .dropdown-menu li.menu-item-has-children:focus .dropdown-sub, ul#menu-main li.menu-item-has-children .dropdown-menu li.menu-item-has-children:focus-within .dropdown-sub {
    left: 0 !important;
}
ul#menu-main li.menu-item-has-children .dropdown-menu li.menu-item-has-children:hover .dropdown-sub, ul#menu-main li.menu-item-has-children .dropdown-menu li.menu-item-has-children:focus .dropdown-sub, ul#menu-main li.menu-item-has-children .dropdown-menu li.menu-item-has-children:focus-within .dropdown-sub{
    left: 0 !important;
}
ul#menu-main li.menu-item-has-children:hover .dropdown-menu, ul#menu-main li.menu-item-has-children:focus .dropdown-menu, ul#menu-main li.menu-item-has-children:focus-within .dropdown-menu{
    background: #f7f7f7 !important;
}
ul#menu-main li a:focus{
    background: #303B32 !important;
    color: #fff !important;
}
header#masthead {
    display: none;
}
.header-mobile {
    display: block;
    padding: 15px 25px;
    width: 100%;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}
.site-branding {
    float: left;
    width: auto;

}
.header-social a{
    color: #000;
}
.navbar-nav li.menu-item-has-children .dropdown-menu li.menu-item-has-children>.dropdown-sub {
    border: none;
    box-shadow: none !important;
    display: none !important;
}
.navbar-nav .dropdown-menu {
    opacity: 1;
    display: none !important;
}
.navbar-nav li.menu-item-has-children:hover .dropdown-menu, .navbar-nav li.menu-item-has-children:focus .dropdown-menu, .navbar-nav li.menu-item-has-children:focus-within .dropdown-menu {
    display: block !important;
}
.home.page-template-template-home header#masthead ul#menu-main li a {
    color: #000;
}

.search-wrap {
    float: none;
    text-align: right;
}
h2.site-title {
    font-size: 26px;
    margin-bottom: 5px;
}
p.site-description {
    font-size: 14px;
}
a.custom-logo-link img {
    height: 42px;
    width: auto;
}
.navbar-collapse.collapse{
    display: none !important;
}
.navbar-collapse {
    width: 100%;
    background: #fff;
}
.custom-logo-link, .logo-wrap {

    text-align: left;
}
ul#menu-main {
    margin: 0;
    float: none;
    display: block;
}
.navbar-nav>li {
    display: block;
    width: 100%;
    float: none;
}
ul#menu-main li a{
    color: #565656;
    padding-top: 10px;
}
#menu-main .dropdown-menu {
    position: relative;
    left: auto;
    top: auto;
}
.navbar-nav li.menu-item-has-children .dropdown-menu li.menu-item-has-children>.dropdown-sub {
    display: none !important;
}
.navbar-nav li.menu-item-has-children .dropdown-menu li.menu-item-has-children:hover .dropdown-sub {
    display: block !important;
}
.navbar-nav>li>.dropdown-menu, ul.dropdown-menu.dropdown-sub {
    box-shadow: none !important;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.navbar-nav>li>.dropdown-menu, ul.dropdown-menu.dropdown-sub {
    width: 100%;
}
.header-social {
    margin-right: 10px;
}
.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: #fff;
    font-family: none;
}
.home.page-template-template-home .navbar-toggle .icon-bar {
    background: #fff;
}
#menu-main .dropdown-menu {
    position: relative;
    float: none;
}
.navbar-collapse.in {
    overflow-y: auto;
    overflow-x: hidden;
    display: block !important;
    overflow: auto !important;
}
.navbar-collapse{
    padding: 0;
}
.mobile-wrap {
    position: relative;
}
.header-social {
    margin-right: 53px;
}
button.navbar-toggle {
    float: none;
    display: inline-block;
    background: #303B32;
    margin: 0;
    position: absolute;
    top: 9px;
    right: 0;
}
.about-section-img {
    margin-bottom: 30px;
}
.mobile-wrap {
    text-align: right;
}
.header-social a.social-btn {
    font-size: 16px;
    width: 34px;
    height: 34px;
    line-height: 16px;
}
.header-social a.social-btn {
    font-size: 16px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    padding: 0;
}
.navbar-toggle {
    padding: 13px 10px;
}
ul#menu-main {
    text-align: left;
}
ul#menu-main li:first-child a {
    padding-left: 15px;
}
.navbar-nav>li {
    border-bottom: 1px solid #eee;
}
.header-search-form {
    margin-top: 20px;
}
.mid-section-sidebar.section .carousel-content-wrap {
    margin-bottom: 30px;
    padding-right: 0;
}
nav#site-navigation {
    float: none;
    width: 100%;
}
nav#site-navigation ul li {
    display: block !important;
    float: none;
    padding: 13px 10px !important;
    text-align: left;
    border-bottom: 1px solid #eee;
}
button.navbar-toggle:focus {
    background: none !important;
}
button.navbar-toggle:focus span{
    background: #000 !important;
}
}

@media only screen and (max-width: 767px) {
.mid-section-sidebar.section .carousel-content-wrap {
    width: 100%;
    float: none;
}
.cause-section.section .slick-arrow {
    top: 0 !important;
    bottom: auto;
}
.slide__heading {
    font-size: 33px;
    color: #fff;
}

.card-bg-image,.card-content .content{
    width: 100%;
}
.card-content .content {
    height: auto;
}
.header-search-form {
    width: 100%;
    margin: 0;
    max-width: none;
    margin-top: 20px;
}
.search-wrap {
    float: none;
    text-align: center;
}

.logo-wrap {
    text-align: left;
}
.custom-logo-link, .logo-wrap {
    display: inline-block;
    float: none;
}
a.custom-logo-link {
    position: relative;
    top: -15px;
}
.hero-section h1 {
    font-size: 46px;
    color: #fff;
    line-height: 57px;
}
	.hero-section .stuff {
	    max-width: 85%;

	}
	.section-title h2 {
	    line-height: 58px;
	    font-size: 40px;
	}
	section#about .col-md-7 {
    padding-right: 20px;
}
.explore-section .section-title {
    margin-left: 0;
    padding-left: 20px;
}

.cta-sec .cta-title {
    font-size: 33px;
    line-height: 53px;
}
.blog-wrap {
    margin-bottom: 40px;
}
.blog-wrap {
    margin: 0 99px;
    margin-bottom: 40px;
}
header#masthead {
    padding: 18px 20px;
}
.header-social .social-icon a, .header-social .header-phone a {
    color: #000;
    font-size: 15px;
}

button#btn-search {
    margin-right: 15px;
}
.custom-slideshow .custom-slide {
    margin: 0 50px;
}
.about-section-img {
    text-align: left;
}
.blob-wrapper__background {
    height: 100%;
    bottom: 0;
}
.cta-content .cta-title {
    text-align: center;
}
}



@media only screen and (max-width: 600px) {
section#primary.about-sec .col-md-7{
    padding-right: 10px;
}
.section-title h2 {
    line-height: 51px;
    font-size: 34px;
}
.hero-section h1 {
    font-size: 50px;
    color: #fff;
    line-height: 65px;
}
.blog-wrap {
    margin: 0 20px;
    margin-bottom: 40px;
}
.about-second-wrap {
    padding: 0 20px;
}
.about-section-img {
    margin-top: 0;
    padding: 0 20px;
}
}

@media only screen and (max-width: 550px) {
.hero-section h1 {
    font-size: 38px;
    color: #fff;
    line-height: 45px;
}
.hero-section.image .col-md-6 {
    padding: 95px 45px;
}
.explore-section .section-title{
	max-width: none;
}
.blog-wrap {
    margin: 0 20px;
    margin-bottom: 40px;
}
.quote-wrap {
    padding: 40px 25px;
}
}

@media only screen and (max-width: 480px) {
body {
    overflow-x: hidden;
}
}

@media only screen and (max-width: 500px) {
.site-branding {
    
    text-align: center;
    padding: 0;
}
.mobile-wrap {
    text-align: center;
    margin-top: 10px;
}
.header-social {
    margin: 0;
}
button.navbar-toggle {
    position: relative;
    top: auto;
    right: auto;
}

.header-social {
    display: inline-block;
}
.custom-logo-link, .logo-wrap {
    text-align: center;
}
.mobile-wrap {
    margin-top: 0;
}
button.navbar-toggle {
    margin-top: 10px;
    margin-left: -20px;
}
}

@media (max-width: 780px){
#main, #sidebar {
    width: 100%;
    float: none;
    clear: both;
}
}
/* additional css */
@media only screen and (max-width: 767px){
    .section{
        padding: 40px 0;
    }
        .posts-with-sidebar.section .post-content-wrap{
            margin-bottom: 0px;
            padding-bottom: 40px;
        }
        section.footer-sec {
            padding-top: 40px;
            padding-bottom: 30px;
        }
        .wp-block-latest-comments__comment-meta{
            padding-bottom: 0px;
        }
        .entry-footer{
            padding-bottom: 0;
        }
        .posts-with-sidebar.section .col-md-8{
            padding-right: 15px;
        }
	header.entry-header{
		margin-bottom: 20px;
	}
    }