
.landingwrapper {
	padding: 0;
	margin: 350px auto 10px auto;
	margin: 0;
	-webkit-box-shadow: 0 0 15px 0 rgba(0,0,0,0.3);
	-moz-box-shadow: 0 0 15px 0 rgba(0,0,0,0.3);
	box-shadow: 0 0 15px 0 rgba(0,0,0,0.3);
}

.landingrow {
	padding: 0;
	margin: 0;
	z-index: 1;
}

.landinghomesearch {
    width: 100%;
    margin: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.landingrefinesearch {
    padding: 20px 20px 0;
	min-height: 145px;
}

.landing-button {
	margin: 0;
}

.landingbanner-img {
	background: #fff no-repeat center;
	background-size: cover;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	-o-flex-direction: column;
	flex-direction: column;
	justify-content: space-around;
	min-height: 55px;
	height: 66vh;
	position: relative;
}

.tinted:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	background-color: rgba(0, 0, 0, 0.4);
}

.landingh1 {
    text-align: center;
    position: absolute;
    top: 30%;
    left: 50%;
    width: 75%;
    z-index: 2;
    transform: translate(-50%, -50%);
}

.landingh1 h1 {
	color: #fff;
	font-weight: bold;
	font-size: 48px;
	white-space: nowrap;
}

.landingrowlogo {
	height: 145px;
}

.landinglogo {
	height: 100%;
	background-color:rgba(255, 255, 255, 0.75);
}

.landingitem {
	overflow: hidden;
	padding: 0 !important;
	height: 100%;
	background: transparent !important;
	text-align: left !important;
}

.landingitem .text {
	padding: 0 !important;
	margin: 0 0 10px;
}

.landingcolumns {
	margin: 10px 0;
}

.landingimg {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
    height: 100%;
    width: 100%;
}

.landingimg img {
	flex-shrink: 0;
	object-fit: cover;
	min-width: 100%;
	min-height: 100%;
	max-height: 400px;
}

@media only screen and (max-width: 1298px) {
	.landingh1 h1 {
		white-space: normal;
	}
}

@media only screen and (max-width: 978px) {
	.landingh1 h1 {
		font-size: 42px;
	}
}

@media only screen and (max-width: 640px) {
	.landingh1 {
		top: 20%;
		width: 90%;
	}
	.landingh1 h1 {
		font-size: 36px;
	}
	.landingrowlogo {
		display: none;
	}
	.landingwrapper {
		margin: 250px auto 10px auto;
		margin: 0;
	}
	.landingdeals {
		padding: 0;
	}
	.popular .dealRow .newBox {
		z-index: 2;
	}
	.popular .dealRow .newBox:first-child {
		background-color: #f7f7f7;
		padding: 10px;
	}
}

@media only screen and (max-width: 480px) {
	.landingh1 h1 {
		font-size: 30px
	}
}

@media only screen and (max-width: 350px) {
	.landingh1 h1 {
		font-size: 28px
	}
}

@media only screen and (max-width: 280px) {
	.landingh1 h1 {
		font-size: 25px
	}
}

.quickmodel {
	display: none;
}

/* image blocks */
.landingimg {
	position: relative;
}

.landingitem .overlaytext {
    position: absolute;
    width: calc(100% - 16px);
    height: auto;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    padding: 4px 8px;
}

.landingitem .overlaytext h4 {
    color: #fff;
    text-align: center;
	line-height: 1;
	font-weight: 700;
    width: 100%;
    margin: 0;
	font-size: 22px;
	margin-bottom: 7px;
}

.landingitem .overlaytext p {
    color: #fff;
    text-align: center;
	line-height: 1;
	font-weight: 500;
    width: 100%;
    margin: 0;
	font-size: 16px;
}

.landingitem .overlaytext.black h4 {
    color: #111;
}

.landingitem .overlaytext.black p {
    color: #111;
}

.medium-6.landingcolumns .landingitem .overlaytext h4 {
	font-size: 28px;
	margin-bottom: 10px;
}

.medium-6.landingcolumns .landingitem .overlaytext p {
	font-size: 20px;
}

.medium-12.landingcolumns .landingitem .overlaytext h4 {
	font-size: 40px;
	margin-bottom: 13px;
}

.medium-12.landingcolumns .landingitem .overlaytext p {
	font-size: 30px;
}

.landingitem .overlaytext.center {
	top: 50%;
	right: 50%;
	bottom: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.landingitem .overlaytext.top {
	top: 0;
	right: auto;
	bottom: auto;
	left: auto;
}

.landingitem .overlaytext.right {
	top: 50%;
	right: 0;
	bottom: 50%;
	left: auto;
}

.landingitem .overlaytext.bottom {
	top: auto;
	right: auto;
	bottom: 0;
	left: auto;
}

.landingitem .overlaytext.left {
	top: 50%;
	right: auto;
	bottom: 50%;
	left: 0;
}

.landingitem .overlaytext.top.right {
	top: 0;
	right: 0;
	bottom: auto;
	left: auto;
}

.landingitem .overlaytext.bottom.right {
	top: auto;
	right: 0;
	bottom: 0;
	left: auto;
}

.landingitem .overlaytext.bottom.left {
	top: auto;
	right: auto;
	bottom: 0;
	left: 0;
}

.landingitem .overlaytext.top.left {
	top: 0;
	right: auto;
	bottom: auto;
	left: 0;
}

.landingitem .overlaytext.right * {
	text-align: right;
}

.landingitem .overlaytext.left * {
	text-align: left;
}

.landingcolumns {
	margin: 20px 0;
}

@media only screen and (max-width: 1024px) {
	.landingcolumns {
		margin: 10px 0;
	}
}
