/* Visibility Classes ---------------------- */
/*                                           */
/* Standard (large) display targeting */
.show-for-small,
.show-for-medium,
.show-for-medium-down,
.hide-for-large,
.hide-for-large-up,
.show-for-xlarge,
.show-for-print {
    display: none !important;
}

.hide-for-small,
.hide-for-medium,
.hide-for-medium-down,
.show-for-large,
.show-for-large-up,
.hide-for-xlarge,
.hide-for-print {
    display: inherit !important;
}


@media screen and (max-width:1790px){
    .page-id-384 .slide-btn, .page-id-595 .slide-btn {
        display: block !important;
        margin: 10px !important;
    }
}



/* Very large display targeting */
@media only screen and (min-width: 1441px) {

    .hide-for-small,
    .hide-for-medium,
    .hide-for-medium-down,
    .hide-for-large,
    .show-for-large-up,
    .show-for-xlarge {
        display: inherit !important;
    }

    .show-for-small,
    .show-for-medium,
    .show-for-medium-down,
    .show-for-large,
    .hide-for-large-up,
    .hide-for-xlarge {
        display: none !important;
    }
}

@media screen and (max-width:1366px){
    #mainhead #logo h1::before {
        left: 0 !important;
        bottom: -27px !important;
    }
    
    #mainhead #logo h1::after {
        right: 0 !important;
        bottom: -27px !important;
    }
}

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

/* Medium display targeting */
@media only screen and (max-width: 1279px) and (min-width: 768px) {

    .hide-for-small,
    .show-for-medium,
    .show-for-medium-down,
    .hide-for-large,
    .hide-for-large-up,
    .hide-for-xlarge {
        display: inherit !important;
    }

    .show-for-small,
    .hide-for-medium,
    .hide-for-medium-down,
    .show-for-large,
    .show-for-large-up,
    .show-for-xlarge {
        display: none !important;
    }
}

@media screen and (max-width:1024px){
    
    
    /* #logo h1::before {*/
       
    /*    bottom: -47px !important;*/
    /*}*/
    /*#mainhead #logo h1::after {*/
      
    /*    bottom: -47px !important;*/
    /*}*/
}

/* Small display targeting */
@media only screen and (max-width: 767px) {

    .show-for-small,
    .hide-for-medium,
    .show-for-medium-down,
    .hide-for-large,
    .hide-for-large-up,
    .hide-for-xlarge {
        display: inherit !important;
    }

    .hide-for-small,
    .show-for-medium,
    .hide-for-medium-down,
    .show-for-large,
    .show-for-large-up,
    .show-for-xlarge {
        display: none !important;
    }
}

/* Orientation targeting */
.show-for-landscape,
.hide-for-portrait {
    display: inherit !important;
}

.hide-for-landscape,
.show-for-portrait {
    display: none !important;
}

@media screen and (orientation: landscape) {

    .show-for-landscape,
    .hide-for-portrait {
        display: inherit !important;
    }

    .hide-for-landscape,
    .show-for-portrait {
        display: none !important;
    }
}

@media screen and (orientation: portrait) {

    .show-for-portrait,
    .hide-for-landscape {
        display: inherit !important;
    }

    .hide-for-portrait,
    .show-for-landscape {
        display: none !important;
    }
}

/* Touch-enabled device targeting */
.show-for-touch {
    display: none !important;
}

.hide-for-touch {
    display: inherit !important;
}

.touch .show-for-touch {
    display: inherit !important;
}

.touch .hide-for-touch {
    display: none !important;
}

/* Specific overrides for elements that require something other than display: block */
table.show-for-xlarge,
table.show-for-large,
table.hide-for-small,
table.hide-for-medium {
    display: table !important;
}

@media only screen and (max-width: 1279px) and (min-width: 768px) {

    .touch table.hide-for-xlarge,
    .touch table.hide-for-large,
    .touch table.hide-for-small,
    .touch table.show-for-medium {
        display: table !important;
    }
}

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

    table.hide-for-xlarge,
    table.hide-for-large,
    table.hide-for-medium,
    table.show-for-small {
        display: table !important;
    }
}

/* 1280 tablet ------------ */
@media only screen and (max-device-width: 1280px) {

    /* NavBar --- */
    /*            */
    .touch .nav-bar li.has-flyout>a {
        padding-right: 36px !important;
    }
}

/* Covering almost all ----- */
@media only screen and (max-device-width: 800px),
only screen and (device-width: 1024px) and (device-height: 600px),
only screen and (width: 1280px) and (orientation: landscape),
only screen and (device-width: 800px),
only screen and (max-width: 767px) {
    .flex-video {
        padding-top: 0;
    }
}

/* Between Medium and Small */
@media only screen and (max-width: 1279px) and (min-width: 768px) {

    /* NavBar --- */
    /*            */
    .touch .nav-bar li a {
        font-size: 13px;
    }

    .touch .nav-bar li.has-flyout>a.flyout-toggle {
        padding: 20px !important;
    }

    .touch .nav-bar li.has-flyout>a {
        padding-right: 36px !important;
    }

    /* Clearing --- */
    /*              */
    .clearing-main-right,
    .clearing-main-left {
        height: 100%;
        width: 40px;
        top: 0;
        border: none;
    }

    .clearing-main-right:before,
    .clearing-main-left:before {
        position: absolute;
        top: 50%;
    }

    .clearing-main-left {
        left: 0;
    }

    .clearing-main-left:before {
        left: 5px;
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 16px;
        border-color: transparent white transparent transparent;
    }

    .clearing-main-right {
        height: 100%;
        right: 0;
    }

    .clearing-main-right:before {
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 16px;
        border-color: transparent transparent transparent white;
    }
}

/* Small Devices ------------ */
@media only screen and (max-width: 768px) {

    /* Global Misc --- */
    /*                 */
    .left,
    .right {
        float: none;
    }

    body {
        -webkit-text-size-adjust: none;
        -ms-text-size-adjust: none;
        width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    /* The Grid --- */
    /*              */
    .row {
        width: auto;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .column,
    .columns {
        width: auto !important;
        float: none;
    }

    .column:last-child,
    .columns:last-child {
        float: none;
    }

    [class*="column"]+[class*="column"]:last-child {
        float: none;
    }

    .column:before,
    .columns:before,
    .column:after,
    .columns:after {
        content: "";
        display: table;
    }

    .column:after,
    .columns:after {
        clear: both;
    }

    .offset-by-one,
    .offset-by-two,
    .offset-by-three,
    .offset-by-four,
    .offset-by-five,
    .offset-by-six,
    .offset-by-seven,
    .offset-by-eight,
    .offset-by-nine,
    .offset-by-ten {
        margin-left: 0 !important;
    }

    .push-two,
    .push-three,
    .push-four,
    .push-five,
    .push-six,
    .push-seven,
    .push-eight,
    .push-nine,
    .push-ten {
        left: auto;
    }

    .pull-two,
    .pull-three,
    .pull-four,
    .pull-five,
    .pull-six,
    .pull-seven,
    .pull-eight,
    .pull-nine,
    .pull-ten {
        right: auto;
    }

    /* Mobile 4-column Grid */
    .row .mobile-one {
        width: 25% !important;
        float: left;
        padding: 0 15px;
    }

    .row .mobile-one:last-child {
        float: right;
    }

    .row .mobile-one.end {
        float: left;
    }

    .row.collapse .mobile-one {
        padding: 0;
    }

    .row .mobile-two {
        width: 50% !important;
        float: left;
        padding: 0 15px;
    }

    .row .mobile-two:last-child {
        float: right;
    }

    .row .mobile-two.end {
        float: left;
    }

    .row.collapse .mobile-two {
        padding: 0;
    }

    .row .mobile-three {
        width: 75% !important;
        float: left;
        padding: 0 15px;
    }

    .row .mobile-three:last-child {
        float: right;
    }

    .row .mobile-three.end {
        float: left;
    }

    .row.collapse .mobile-three {
        padding: 0;
    }

    .row .mobile-four {
        width: 100% !important;
        float: left;
        padding: 0 15px;
    }

    .row .mobile-four:last-child {
        float: right;
    }

    .row .mobile-four.end {
        float: left;
    }

    .row.collapse .mobile-four {
        padding: 0;
    }

    .push-one-mobile {
        left: 25%;
    }

    .pull-one-mobile {
        right: 25%;
    }

    .push-two-mobile {
        left: 50%;
    }

    .pull-two-mobile {
        right: 50%;
    }

    .push-three-mobile {
        left: 75%;
    }

    .pull-three-mobile {
        right: 75%;
    }

    /* Block Grids --- */
    /*                 */
    .block-grid.mobile>li {
        float: none;
        width: 100%;
        margin-left: 0;
    }

    .block-grid>li {
        clear: none;
    }

    .block-grid.mobile-one-up>li {
        width: 100%;
    }

    .block-grid.mobile-two-up>li {
        width: 50%;
    }

    .block-grid.mobile-two-up>li:nth-child(2n+1) {
        clear: both;
    }

    .block-grid.mobile-three-up>li {
        width: 33.33333%;
    }

    .block-grid.mobile-three-up>li:nth-child(3n+1) {
        clear: both;
    }

    .block-grid.mobile-four-up>li {
        width: 25%;
    }

    .block-grid.mobile-four-up>li:nth-child(4n+1) {
        clear: both;
    }

    .block-grid.mobile-five-up>li {
        width: 20%;
    }

    .block-grid.mobile-five-up>li:nth-child(5n+1) {
        clear: both;
    }

    .block-grid.mobile-six-up>li {
        width: 16.66667%;
    }

    .block-grid.mobile-six-up>li:nth-child(6n+1) {
        clear: both;
    }

    .block-grid.mobile-seven-up>li {
        width: 14.28571%;
    }

    .block-grid.mobile-seven-up>li:nth-child(7n+1) {
        clear: both;
    }

    .block-grid.mobile-eight-up>li {
        width: 12.5%;
    }

    .block-grid.mobile-eight-up>li:nth-child(8n+1) {
        clear: both;
    }

    .block-grid.mobile-nine-up>li {
        width: 11.11111%;
    }

    .block-grid.mobile-nine-up>li:nth-child(9n+1) {
        clear: both;
    }

    .block-grid.mobile-ten-up>li {
        width: 10%;
    }

    .block-grid.mobile-ten-up>li:nth-child(10n+1) {
        clear: both;
    }

    .block-grid.mobile-eleven-up>li {
        width: 9.09091%;
    }

    .block-grid.mobile-eleven-up>li:nth-child(11n+1) {
        clear: both;
    }

    .block-grid.mobile-twelve-up>li {
        width: 8.33333%;
    }

    .block-grid.mobile-twelve-up>li:nth-child(12n+1) {
        clear: both;
    }
    
    #mainhead #logo {
        max-width: 100% !important;
    }
}

@media only screen and (max-width: 1040px) {
    #nav {
        position: static;
        display: block;
        width: 100%;
        margin: 20px 0;
    }
}

@media screen and (max-width:991px){
    #mainhead #logo {
        top: 25px;
        margin: 0 !important;
    }
    
    #page #main .home-widget-row-1 .main-row-left {
        max-width: 100% !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    #page #main .home-widget-row-1::before{
        display: none !important;
    }
    #mainhead #logo img{
        margin: 0 !important;
    }
    
    .page-id-384 .slide-btn, .page-id-595 .slide-btn, .page-id-612 .slide-btn {

        font-size: 1rem !important;
    
    }
    #mainhead #logo h1::before,
    #mainhead #logo h1::after{
        display: none !important;
    }
    
    #mainhead #logo {
        margin: 0 !important;
    }
    .sm-hamburger.sm-hamburger--slider.sm-position-right.sm-trigger-2.sm-show-on-mobile-only{
        top: 60px !important;
    }
}

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

    #homeslider .slide {
        height: 340px;
    }

    .avatar {
        display: none;
    }

    .comment-copy {
        margin-left: 0 !important;
        width: 100%;
    }
}

@media only screen and (max-width: 860px) {
    .flexslider:hover .flex-next {
        opacity: 0.8;
        right: 5px !important;
    }

    .flexslider:hover .flex-prev {
        opacity: 0.8;
        left: 5px !important;
    }
}

@media only screen and (max-width: 768px) {
	#mainhead #logo img{
	    margin: 0 !important;
	}
	
	#mainhead #logo {
        position: absolute !important;
    }

	.home-widget-row-1 {
		padding-top: 150px !important;
	}
    #page>.row {
        padding: 0;
    }
	.sm-hamburger.sm-hamburger--slider.sm-position-right.sm-trigger-2.sm-show-on-mobile-only{
		top: 50px;
	}

    #mobile-bar {
        display: block;
    }

    #tophead {
        height: auto;
        padding-top: 25px;
        padding-bottom: 25px;
        text-align: center;
    }

    #tophead .text-right {
        text-align: center;
        margin-top: 10px;
    }

    #logo h1,
    #logo h2 {
        text-align: center;
    }

    #nav {
        display: none;
    }

    #homeslider .slide {
        height: 290px;
    }

    .slide-title {
        font-size: 42px;
        line-height: 1;
    }

    .widget_ci_testimonial {
        padding: 35px 15px 45px;
    }

    .container {
        padding: 70px 25px;
    }

    .wpcf7 input,
    .wpcf7 textarea {
        width: 100%;
    }

    div[id*='gallery-'] .gallery-item {
        float: none !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    .copy {
        text-align: center;
    }
	
	.catering-form .six.columns.right,.catering-form .six.columns.left{
		padding: 0 !important;
	}
	.gallery-item{
		height: inherit !important;
	}
	#logo h1 {
		text-align: left !important;
	}
	#homeslider .slide .slide-title {

		font-size: 4rem !important;

	}
	#homeslider .slide {
		height: 650px !important;
	}
	#homeslider .slide .slide-title {
		top: 30%;
	}
	#homeslider .slide .btn-container {
		top: 35%;
	}
	.page-id-431 .gallery-item,
	.page-id-431 div[id*="gallery-"] .gallery-item{

		max-height: 180px !important;
		float: left !important;

	}
	#homeslider .slide .slide-title {
		font-size: 4.5rem !important;
	}
	#homeslider .slide .btn-container {
		top: 45%;
	}
	
	#home-hero {
		padding-top: 150px !important;
	}
	
	.page-template-template-fullwidth #logo {
        top: 35px !important;
    }
}
@media only screen and (max-width:520px){
	.page-template h1 {
		font-size: 4rem !important;
	}
	.page-id-431 .gallery-item, .page-id-431 div[id*="gallery-"] .gallery-item {
		max-width: 100%;
		height: auto !important;
		max-height: 100% !important;
	}
	#homeslider .slide .slide-title{
		font-size: 4rem !important;
	}
	#homeslider .slide .slide-title {
		font-size: 3rem !important;
		top: 40%;
	}
	
	#homeslider .slide-btn, .page-id-507 .slide-btn, .page-id-528 .slide-btn {
        font-size: 1.2rem !important;
        display: block;
    }
}

@media only screen and (max-width: 480px) {
    blockquote p {
        font-size: 1.32em;
    }

    blockquote cite {
        font-size: 12px;
    }

    #hero h1 {
        font-size: 38px;
        margin-top: -33px;
    }
	
}

@media screen and (max-width:480px){
	#homeslider .slide .slide-title {
		font-size: 2.7rem !important;
	}
}

@media screen and (max-width:375px){
	#mainhead #logo {
        max-width: 220px !important;
        top: 50px !important;
    }
	
	.page-id-384 .slide-btn, .page-id-595 .slide-btn{
	    font-size: 1rem !important;
	}
}