/*------------------------------------------------*\
Global
\*------------------------------------------------*/

.clearfix:after {
	content: ".";
	clear: both;
	display: block;
	height: 0;
	visibility: hidden;
}

body {
	padding-top:56px;
}
.pd {
	padding-top:26px;
}
/*------------------------------------------------*\
Page
\*------------------------------------------------*/

body {
	background: #dfe5e9;
	font-family: 'Bellefair', serif;
}

div {
	padding-left: 0px;
}

blockquote {
	padding: 2%;
	font-style: italic;
	line-height: 105%;
	position: relative;
	margin-top: 20px;
}

.alt {
	background-color: #e2e7eb;
}

/*------------------------------------------------*\
Headings
\*------------------------------------------------*/

h1,
h2,
h3,
h4{
	font-weight: 300;
	text-transform: uppercase;
}


h1 {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 440%;
	word-spacing: 4px;
	letter-spacing: 1px;
	color: #BBB;
}

h2 {
	margin-top: 0px;
	font-size: 140%;
	word-break: 3px;
	letter-spacing: 1px;
	color: #AAA;
}

h3 {
	padding-top: 40px;
}
h4 {
	font-size: 100%;
	font-weight: 400%;
	margin-top: 0;
	margin-bottom: 0;
}

/*------------------------------------------------*\
Head
\*------------------------------------------------*/

header {
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0.7))), url(img/mainBackground.jpg);
	background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(img/mainBackground.jpg);
	height: 45vh;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

.title {
	position: relative;
	width: 1240px;
	top: 40%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.subtitle {
	position: relative;
	width: 940px;
	top: 65%;
	left: 60%;
	float: left;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}


/*------------------------------------------------*\
For Sale
\*------------------------------------------------*/

.sale div {
	background-color: #DADADA;
	border: 1px solid #dfe5e9;
	border-radius: 20px;
}

.salePrice {
	float: right;
	font-size: 85%;
	padding-top: 10px;
	color: #1A1DB0;
}

.sale div:nth-child(2) {
	background-color: #D5D5D5;
}


.name {
	font-family: 'Nanum Brush Script', cursive;
	font-size: 275%;
	margin: 0px 5px 0px 0px;
}

.sale {
	width: 100%;
	height: auto;
}

.about {
	font-size: 95%;
	padding-top: 15px;
}

/*------------------------------------------------*\
Photo Gallery
\*------------------------------------------------*/

.gallery {
	list-style: none;
	width: 100%;
	margin-left: 0px;
	padding-left: 0px;
}

.gallery li {
	display: block;
	float: left;
	width: 25%;
}

.galleryPhoto {
	width: 100%;
	margin: 0px;
	overflow: hidden;
	background-color: #000;
}

.galleryPhoto img {
	width: 100%;
	height: auto;
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
	-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
	transition: opacity 0.5s, -webkit-transform 0.5s;
	transition: transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s, -webkit-transform 0.5s;
	opacity: 0.7;
}

.galleryPhoto img:hover {
	-webkit-transform: scale(1.03);
	transform: scale(1.03);
	opacity: 1;
}

/*------------------------------------------------*\
Footer
\*------------------------------------------------*/

footer {
	padding-top: 20px;
	padding-bottom: 5px;
	background-color: #333;
	font-size: 80%;

}

footer p {
	color: #888;
	text-align: center;
	margin-top: 20px;
}

.social {
	float: right;
	padding-top: 5px;
	padding-right: 17px;
	padding-bottom: 0px;
	margin-bottom: 0px;
	color:#888;
}

.mail {
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	color: #888;
	vertical-align: middle;
}

.mail:hover {
	color: #3b5998;
}
.phoneBox {
	display: inline-block;
	margin: 5px;
	padding: 1px;
	color:#888;
}
.phone {
	font-size: 120%;
	color:#888;
	vertical-align: middle;
}
.phoneIcon{
	vertical-align: middle;
}

/*------------------------------------------------*\
Media
\*------------------------------------------------*/

@media only screen and (max-width: 1200px) {
	.title {
		width: 100%;
		padding: 0 2%;
	}
	.subtitle {
		display: none;
		width: 80%;
		padding: 0% 2%;
		top: 80%;
		left: 40%;
	}
	h1{
		font-size: 240%;
	}
}
@media only screen and (max-width: 575px){
	.hide {
		display: none;
	}
}