@media only screen and (max-width: 1399px) {
    
    #home h1 {
        font-size: 2.5rem;
    }
    #home h1 strong {
        font-size: 3rem;
    }
    section#home {
        max-height: 90vh;
    }
    
}

@media only screen and (max-width: 1199px) {

    .btn.btn-outline-secondary {
        padding: 0px 15px !important;
        width: auto !important;
        min-width: auto !important;
        border: none;
        font-size: 1.5rem;
        color: #fff;
        transition-duration: 0.35s;
    }
    body #nav-main .btn.btn-outline-secondary {
        color: #fff !important;
        margin-top: 7px;
        padding: 0 !important;
    }
    nav#nav-main {
        padding: 30px 0;
    }
    .navbar-brand .logo {
        min-width: 100px;
        max-width: 200px;
        top: 35px;
    }
    .navbar-nav .nav-link {
        padding: 15px !important;
    }

    .sociallinks a {
        font-size: 0.8rem;
    }
    body .navbar-light .navbar-nav .nav-link.active, body .navbar-light .navbar-nav .show>.nav-link, body.home .navbar-light.nav-scroll .navbar-nav .nav-link, body .navbar-light .navbar-nav .nav-link {
        color: #000 !important;
    }


    section#home {
        max-height: 850px;
    }
    #home h1 {
        font-size: 1.8rem;
    }


    .row.halfimage .col-md-6 {
        background-position: 90% center !important;
    }


    .single-hero h1 {
        padding: 45px 0;
        line-height: 1em;
        font-size: 3.5rem;
    }


}

@media only screen and (max-width: 991px) {
    section#home {
        max-height: 750px;
    }
.row.halfimage .col-md-6 {
    background-position: 80% center !important;
}
	
	body:not(.home) .single-hero {
    height: 100px;
}
	
}
@media only screen and (max-width: 855px) {
.row.halfimage .col-md-6 {
    background-position: 75% center !important;
}
}

@media only screen and (max-width: 820px) {
    section#home {
        max-height: 650px;
    }

    .sociallinks a {
        font-size: .65rem;
    }
    #home h1 strong {
        font-size: 2rem;
    }


}
@media only screen and (max-width: 767px) {

    section#home {
        height: auto !important;
        max-height: unset;
    }
    section#home h1 {
        font-size: 2.37rem;
        margin-top: 0;
        padding-bottom: 400px;
    }
    img#icon {
        width: auto;
        max-width: unset;
        height: 500px;
    }   
    .entry-content {
        overflow-x: hidden;
    }
    section#about {
        padding-bottom: 0;
    }
    .row.halfimage {
        position: relative;
        height: 600px;
    }
    .row.halfimage .col-md-6:nth-child(2) {
        background-position: center center !important;
        height: 100%;
    }
	section#contact {
    	padding-bottom: 0;
	}
    footer {
        text-align: center;
    }
    footer .sociallinks {
        text-align: center !important;
    }

    img.rounded {
        margin-bottom: 30px;
    }
	
	.entry-header h1, h1.entry-header {
    margin-top: -10px;
    text-align: center;
}
body:not(.home) .entry-content img {
    max-width: 100%;
    width: 100%;
}
footer img.wp-image-82 {
    width: 50%;
    position: relative;
    float: none;
    margin-top: 0;
}
}

@media only screen and (max-width: 530px) {
.single-hero h1 {
    padding: 55px 0;
    line-height: 1em;
    font-size: 2.75rem;
}

}
@media only screen and (max-width: 480px) {
    body .btn.btn-outline-secondary {
        padding: 0 0 !important;
    }

    body {
        font-size: 1rem !important;
    }
    body #nav-main {
        padding: 15px 0;
    }
    body .navbar-light .navbar-nav .nav-link {
        color: rgba(0,0,0,.9) !important;
        padding: 20px 10px !important;
    }

    body:not(.home) .single-hero {
        margin-top: 65px;
    }
    
    .navbar-brand .logo {
        margin: 1px 0 0 0;
        max-height: 50px !important;
        max-width: inherit !important;
        top:10px;
    }
    .footer_widget .wp-block-image {
    text-align: center;
    margin: 0 auto;
    }

    body #nav-main.nav-scroll .btn.btn-outline-secondary {
        transition-duration: 0.35s;
    }
    .btn {min-width: 100%;}

    .btn {
        margin: 15px 10px 0 0;
        z-index: 999;
        position: relative;
    }

    footer {
        text-align: center;
    }
    .footer_widget .wp-block-image {
        text-align: center;
        margin: 0 auto;
		display: inline-block;
    }
    .sociallinks a {
        font-size: 0.75rem;
    }




    section#home {
        height: auto !important;
    }
    section#home h1 {
        font-size: 2.37rem;
        margin-top: 0;
        padding-bottom: 400px;
    }
    img#icon {
        width: auto;
        max-width: unset;
        height: 500px;
    }
    

    section h2 {
        font-size: 2.25rem;
    }

    #footer_action .wpcf7 input.wpcf7-submit {
        width: 100%;
    }
    #footer_action .wpcf7 {
        width: 100%;
    }



    header.entry-header h1 {
        font-size: 2.5rem;
    }
    .entry-meta .text-right {
        text-align: left !important;
    }
	
	h1.cat-title {
		margin-top: 0;
    font-size: 2.5rem;
    text-align: center;
	}
body:not(.home) div#content {
    margin-top: 0 !important;
}


    #primary {
        overflow-x: hidden !important;
    }

    section#gallery {
        padding-bottom: 250px;
        margin-top: -80px;
    }

    .sociallinks {
        text-align: center;
        margin-top: 30px;
        margin-bottom: 80px;
    }

    .owl-nav {
        top: 100%;
    }
    button.owl-prev {
        left: 35%;
    }
    button.owl-next {
        right: 35%;
    }
    button.owl-prev, button.owl-next {
        font-size: 2rem !important;
        margin-top: -25px;
    }


  }

  @media only screen and (max-width: 420px) {
  .single-hero h1 {
    padding: 70px 0;
    line-height: 1em;
    font-size: 2rem;
}
}

  @media only screen and (max-width: 386px) {

    section#home h1 {
        font-size: 1.7rem;
    }
    #home h1 strong {
        font-size: 2.8rem;
    }

  }