@media (max-width: 1440px){
	div#main-image{
		max-width: 670px;
	}
	div.banner-aside h1 {
		font-size: 40px;
		line-height: 50px
	}
	div.client2{
		padding: 10px;
		margin-top: 0px !important;
	}
	div.client3{
		margin-top:0px;
	}
}

@media (max-width: 1199px) {
	#header-wrapper #header #header-inner .navbar .navbar-inner .site-phone {
		line-height: 90px !important;
	}
	#navigation .container{
		width: 100%;
	}
	div.navigation-wrapper .navigation .nav li.menuparent > .nolink, .navigation-wrapper .navigation .nav li.menuparent > a {
		padding-right: 27px !important;
	}
	div.banner-aside>div {
		padding: 0px 0px;
	}
	a.btn.btn-primary.btn-lg.list-your-property.arrow-right {
		margin: 5px 0px !important;
		padding: 10px !important;
	}
	div#main-image {
		max-width: 630px;
	}
	div.header-request-appt {
		padding: 40px 0 0 0;
		text-align: center;
		float: right;

	}
}

@media (max-width: 991px) {

	.header-request-appt {
		margin-top: -35px;
	}

	.header-wrapper {
		width: 100%;	
	}

	.logo {
		text-align: center;
	}

	.logo img {
		margin: auto;
		max-width: 200px;
	}	

	div#content div#main {
		padding-left: 0px;
		padding-right: 0px;
	}	
	div#main-image{
		max-width: 600px;
		float: none;
		margin: 10px auto;
	}
	div.banner-aside{
		position: relative;
		width: 100%;
		right: 0px

	}
	div.banner-aside>div {
		padding: 0px 20px;
		margin: 0px auto;
	}
	div.main-content-wrapper{
		padding: 0px
	}
	div.header-request-appt {
		padding: 0px 0 0;
		text-align: center;
	}

	div.hovereffect:hover a.info {
		opacity: 0 !important;
		display: none;
		filter: alpha(opacity=0) !important;
		-webkit-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1);

	}
	.hovereffect img {
		z-index: 2

	}
	.hovereffect h2 {
		z-index: 3
	}

}

@media only screen and (min-width: 900px) and  (max-width: 1199px){
	div.hovereffect a.info {
		margin: 20px 0 0 0;
	}
}

@media (max-width: 768px) {


	#header-wrapper #header #header-inner .navbar .navbar-inner .site-phone {
		line-height: 50px !important;
	}
	div.banner-aside h1 {
		font-size: 40px;
		padding: 0px 0px;
		text-shadow: 2px 2px #df7d60;
		line-height: 50px;
		font-family: lobster;
	}
}


/* -- Fix for mobile repsonsive issue with display: table; -- */

body #wrapper-outer #wrapper {
	display: block !important;
}

body #wrapper-outer #wrapper #wrapper-inner {
	display: inline !important;
}

body #wrapper-outer #wrapper #footer-wrapper {
	display: block !important;
	height: auto !important;
	float: left;
}

#header-wrapper #header #header-inner .navbar .navbar-inner #btn-nav {
	margin-top: 10px !important;
	position: absolute;
	z-index: 500;
}

body {
	font-size: 16px !important;
	color: #313131 !important;
}

/*--- Header Overrides ----*/

#header-wrapper #header #header-inner .navbar .navbar-inner .logo {
	margin: 0px 0 0 !important;
	line-height: 0 !important;
}

.header-request-appt {
	padding: 40px 0 0 15%;
	text-align: center;
	float: right;
}

/*-- General Overrides --*/

#content {
	background-color: #fff;
	background: rgba(240,240,240,1);
	background: -moz-linear-gradient(top, rgba(240,240,240,1) 0%, rgba(245,222,179,1) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(240,240,240,1)), color-stop(53%, rgba(240,240,240,1)), color-stop(100%, rgba(245,222,179,1)));
	background: -webkit-linear-gradient(top, rgba(240,240,240,1) 0%, rgba(245, 222, 179, 0.52) 100%);
	background: -o-linear-gradient(top, rgba(240,240,240,1) 0%, rgba(240,240,240,1) 53%, rgba(245,222,179,1) 100%);
	background: -ms-linear-gradient(top, rgba(240,240,240,1) 0%, rgba(240,240,240,1) 53%, rgba(245,222,179,1) 100%);
	/* background: url(https://www.royacdn.com/unsafe/smart/Site-672ebce5-6670-439f-acb6-7d31fe3a7b0f/silver_scales.png), linear-gradient(to bottom, rgba(240,240,240,1) 0%, rgba(245, 222, 179, 0.71) 100%); */
}



/*-- Home Blocks --*/

.home-blocks {
	padding: 30px;
	border-bottom: 1px solid #c4c4c4;
	box-shadow: 0 20px 20px -20px #c4c4c4;
	-moz-box-shadow: 0 20px 20px -20px #c4c4c4;
	-o-box-shadow:  inset 0 20px 20px -20px #c4c4c4;
	-webkit-box-shadow: inset 0 20px 20px -20px #c4c4c4;
	-ms-box-shadow: inset 0 20px 20px -20px #c4c4c4;
	background: #9c9f84;
}



/*-- Slider --*/

.carousel-inner img.img-responsive {
	width: 100%;
}

a.carousel-control {
	position: absolute;
	left: 0;
	bottom: 50px;
	width: 90%;
	font-size: 50px;
	color: rgba(0, 0, 0, 0.5);
	text-align: center;
	text-shadow: 0 1px 2px rgba(115, 115, 115, 0.6);
	z-index: 20;
	top: inherit;
}


/* ---- Contact Information Overrides ----- */

.site-phone a {
	text-decoration: none;
	color: #df7d60;
	font-family: 'Vollkorn', serif;
	font-size: 25px;
}
.site-phone a:hover {
	color: #284936;
}
.broker-info ul {
	list-style: none;
	padding: 0;
}

table.office-hours {
	width: 100%;
}

table.office-hours thead {
	display: none;
}

table.office-hours tr td {
	padding: 5px;
	border-bottom: 1px solid #727272;
}


/* ----- Social Icon Overrides ------ */

.span6.share {
	float: right;
}
.social-icons {
	list-style: none;
	padding:0;
	width: 320px;
}
.social-icons li {
	float: right;
	margin-right:5px;
	border:1px solid rgba(255,255,255,0.3);
	-webkit-border-radius:100px;
	-moz-border-radius:100px;
	-ms-border-radius:100px;
	-o-border-radius:100px;
	border-radius:100px;
	padding:5px;
	width:32px;
	height:32px;
	line-height:26px;
	text-align:center;
	transition:all 300ms ease-in-out;
	-o-transition:all 300ms ease-in-out;
	-moz-transition:all 300ms ease-in-out;
	-webkit-transition:all 300ms ease-in-out;
}
.social-icons li a {
	font-size: 15px!important;
	text-align: center;
	text-decoration: none !important;
}
.social-icons li:hover {
	background-color:#fefefe;
}

/* ----- Footer Overrides ------ */

#footer-wrapper #footer #footer-inner p {
	margin: 0px;
	color: #fff !important;
}
#footer-wrapper #footer {
	border: 0px;
	margin-top: 0px;
	padding: 10px 0px !important;
}
.span6.copyright {
	float: left;
}

/* -- Modal Overrides -- */

.modal-body form.cmsForm {
	display: inline-block;
}

/*----- Font Awesome -----*/

.fa-paw:before {
	content: "\f1b0";
	float: left;
	margin: 20px 20px 0 0;
}

/* - Back Button ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â */

.btn.btn-primary.arrow-left {
	background-image: url("../images/arrow-left-white.png");
	background-position: 10px center;
	background-repeat: no-repeat;
	background-size: 8px 11px;
	padding-left: 15px;
}

input.btn.btn-primary.arrow-left.back-button {
	margin: 0 0 -50px;
	float: right;
	position: relative;
	right: 30px;
	width: 10px;
	z-index: 100;
	border-radius: 50px;
	height: 30px;
}

/* Mobile Icons */

.mobile-icons-li .fa-envelope:before {
	margin: 0;
}

.mobile-icons-li li {
	display: inline;
	margin: 0 20px 0;
}

ul.mobile-icons-li {
	padding: 0;
}

.mobile-icons span.fa {
	font-size: 25px;
	vertical-align: middle;
}

.mobile-icons {
	text-align: center;
}

.mobile-icons-li a {
	color: #df7d60;
}

#main-image{
	max-width: 1007px;
	float: left;
	margin: 50px 30px;
	padding: 19px;
	border: 2px solid #272727;
	box-shadow: 2px 2px 6px 0px #272727;
	transform: rotateZ(-2deg);
	background-color: #f0f0f0;
}

.main-background{
	background-color: #df7d60;
	background-image: url("https://www.royacdn.com/unsafe/smart/Site-672ebce5-6670-439f-acb6-7d31fe3a7b0f/dark_wood.png");
	padding-bottom: 20px;
}
.banner-aside{
	width: 30%;
	position: absolute;
	right: 20px;
	margin: 20px 0px 0px;
}
.banner-aside>div{
	text-align: center;
	font-size: 20px;
	float: none;
	color: wheat;
	padding: 20px 0px;
	width: 100%;
}
.banner-aside h1{
	font-size: 60px;
	padding: 10px 0px;
	text-shadow: 2px 2px #df7d60;
	line-height: 68px;
	font-family: lobster;
}

.home-container{
	max-width: 1500px;
	margin: auto;
	float:none;
}

.testimonial-wrapper{
	border-bottom: 1px dashed green;
	padding: 20px 0px;
}

#navigation .container {
	max-width: 1086px;
}

/*-- CTA hover --*/

.hovereffect {
	width: 100%;
	height: 100%;
	float: left;
	overflow: hidden;
	position: relative;
	text-align: center;
	cursor: default;
	border: #f0f0f0 solid 7px;
	padding: 0px;
	box-shadow: 0px 1px 3px #272727;
}

.hovereffect .overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	padding: 0px;
}

.hovereffect img {
	display: block;
	position: relative;
	-webkit-transition: all 0.4s ease-in;
	transition: all 0.4s ease-in;

}

.hovereffect:hover img {
	filter: grayscale(1);
	-webkit-filter: grayscale(1);
	-webkit-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);

}

.hovereffect h2 {
	text-transform: uppercase;
	text-align: center;
	position: relative;
	font-size: 17px;
	padding: 10px;
	background: rgb(240, 240, 240);
	color: #79473a;
	bottom: 0px;
	position: absolute;
	width: 100%;
	bottom: -20px;
}

.hovereffect a.info {
	display: inline-block;
	text-decoration: none;
	padding: 7px 14px;
	border: 1px solid #fff;
	margin: 50px 0 0 0;
	background-color: transparent;
}

.hovereffect a.info:hover {
	box-shadow: 0 0 5px #fff;
}

.hovereffect a.info{
	-webkit-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	-webkit-transition: all 0.4s ease-in;
	transition: all 0.4s ease-in;
	opacity: 0;
	filter: alpha(opacity=0);
	color: #fff;
	text-transform: uppercase;
}

.hovereffect:hover a.info, .hovereffect:hover h2 {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);

}

a.btn.btn-primary.btn-lg.list-your-property.arrow-right{
	margin: 10px 0px;
	width: 90%;
	padding: 20px;
}

/* -- Home Page --*/

.home-image{
	padding: 20px 20px 20px 0;}

.home-testimonials{
	min-height: 380px
}

.thumbnail{
	padding: 10px 20px 30px;
	background-color: #eedbb9;
	border: 2px dashed #df7d60;
}

h1, h2, h3, h4 {
	font-family: 'Vollkorn', serif;
}

a.btn.btn-primary:hover:before, a.btn-primary:focus:before, .btn-primary:before {
	top: -8px;
	right: -8px;
	bottom: -8px;
	left: -8px;
	opacity: 1;
}
a.btn.btn-primary:before{
	pointer-events: none;
	content: '';
	position: absolute;
	border: rgba(223, 125, 96, 0.56) solid 4px;
	top: -10px;
	right: -10px;
	bottom: -10px;
	left: -10px;
	opacity: 0;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: top, right, bottom, left;
	transition-property: top, right, bottom, left;
	border-radius: 10px;
}

.main-content-wrapper {
	background: #f1dbb3;
	border-radius: 20px;
	margin: 40px auto;
	-moz-box-shadow: inset 0 0 10px #000000;
	-webkit-box-shadow: inset 0 0 10px #000000;
	box-shadow: inset 0 0 10px #ab6754;
	padding: 0px 40px;
}

.virtualoffice{
	max-width: 450px;
	margin: auto;
	float: none;	
}

.services-pic img{
	max-width: 500px;
	margin: 0px auto 20px;
	border: 5px solid white;
	box-shadow: 0px 2px 3px #272727; 
}

.btn-lg{
	font-family: 'Vollkorn', serif;
}
hr{width: 70%;border-bottom: 5px solid wheat;}

.sidebar-box{
	background: #e9dbc0;
	border-radius: 20px;
	box-shadow: 0px 2px 5px #cfcfcf;
	padding: 20px;
}

.modal {
	overflow-y: hidden;
}

.team-wrapper {
	border-top: dashed 2px #9c9f84;
	padding-bottom: 30px;
}
#client1 img{
	border: solid white 7px;
	box-shadow: 1px 2px 3px #272727;
	-ms-transform: rotate(-----2deg); /* IE 9 */
		-webkit-transform: rotate(-2deg); /* Chrome, Safari, Opera */
		transform: rotate(-2deg);
		max-width: 300px;
		margin: auto;
		}
.client2 img{
	border: solid white 7px;
	box-shadow: 1px 2px 3px #272727;
	-ms-transform: rotate(2deg); /* IE 9 */
	-webkit-transform: rotate(-2deg); /* Chrome, Safari, Opera */
	transform: rotate(-2deg);
	max-width: 300px;
	margin: auto;
}
.client2{
	padding-right: 10px;
	margin-top: 50px
}
.client3{
	padding: 20px;
	margin-top:20px;
}
.client3 img{
	border: solid white 7px;
	box-shadow: 1px 2px 3px #272727;
	-ms-transform: rotate(-1deg); /* IE 9 */
	-webkit-transform: rotate(2deg); /* Chrome, Safari, Opera */
	transform: rotate(2deg)
		max-width:300px
		margin: auto
		margin-top: 50px;
	max-width: 300px;
	margin: auto;
}

/* Download Button */

/* Download button */

.download-button{
	padding: 20px 50px 20px 20px!important;
	text-transform: uppercase;
	font-weight: 900 !important;
	letter-spacing: 1px;
	background-color: #9c9f84;
	color: white;
	border-radius: 20px !important;
	margin-bottom: 20px;
}
.download-button:hover{
	background-color: #df7d60;
}

@-webkit-keyframes hvr-icon-down {
	0%,
	50%,
	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}

	25%,
	75% {
		-webkit-transform: translateY(6px);
		transform: translateY(6px);
	}
}

@keyframes hvr-icon-down {
	0%,
	50%,
	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}

	25%,
	75% {
		-webkit-transform: translateY(6px);
		transform: translateY(6px);
	}
}


.fa-arrow-circle-down{
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	padding-right: 2.2em;
}

.fa-arrow-circle-down:before{
	content: "\f0ab" !important;
	position: absolute;
	right: 1em !important;
	padding: 0 1px!important;
	font-family: FontAwesome;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}

.fa:hover:before, .fa:focus:before, .fa:active:before {
	-webkit-animation-name: hvr-icon-down;
	animation-name: hvr-icon-down;
	-webkit-animation-duration: 0.75s;
	animation-duration: 0.75s;
	-webkit-animation-timing-function: linear;
	animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	-webkit-animation-direction: alternate;
	animation-direction: alternate;
}
