@media only screen and (max-width:979px) {
    .gallery-columns-4 .gallery-item {
	    float: left;
	    margin-right: 4%;
	    width: 22%}
	.gallery-columns-4 .gallery-item:nth-child(2n) {
	    margin-right: 4%}
	}
}
@media only screen and (max-width:768px) {
    .masthead .x-navbar {
	    position: fixed;
	    width: 100%;
	    background: -webkit-linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
	    background: -o-linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
	    background: -moz-linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
	    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
	}
	.masthead .x-brand img {
	    width: 150px;
	}
	.left, .right {
	    display: block;
	    float: none;
	    width: 100%}
	.masthead .x-navbar-inner {
	    margin-bottom: 10px;
	    min-height: auto;
	}
	.masthead .x-brand {
	    margin-top: 10px;
	}
	.masthead .x-btn-navbar {
	    background: 0 0;
	    box-shadow: none;
	    color: #fff;
	    margin-top: 5px;
	}
	.masthead .on-scroll .x-btn-navbar {
	    color: #393A6C;
	}
	.masthead .x-btn-navbar.collapsed {
	    background: 0 0;
	    box-shadow: none;
	    font-size: 2em;
	}
	.masthead .x-btn-navbar.collapsed:hover {
	    background: 0 0;
	    color: #AB1E24;
	}
	.masthead .x-btn-navbar:hover {
	    box-shadow: none;
	    color: #AB1E24;
	    font-size: 2em;
	}
	.banner-text {
	    font-size: 2.5em;
	}
	.on-scroll .x-navbar .x-nav-wrap .x-nav>li>a {
	    color: #333;
	    border-color: #333;
	}
	.left {
	    margin-bottom: 20px;
	}
}
@media only screen and (max-width:600px) {
    .masthead .x-brand {
    font-size: 16px;
	}
	.masthead .x-brand img {
	    width: 100px;
	}
	.masthead .x-btn-navbar.collapsed {
	    padding-top: 5px;
	}
	.float-bg {
	    min-height: 400px;
	    position: relative;
	}
	.masthead .x-navbar-inner {
	    margin-bottom: 5px;
	}
	#header-banner {
	    height: 440px!important;
	}
	.banner-text {
	    font-size: 1.5em;
	}
	.x-image.centered {
	    margin-top: 40px;
	}
	.x-column.x-sm {
	    margin-bottom: 20px;
	}
	.x-nav-wrap.desktop {
		display: none;
	}
}
