/*
Theme Name: Clarence
*/

/*	==========================================================================
	 Home Layout
	========================================================================== */

.home .main-content{
	height:100%
}


.home-abovethefold {
	height: 100%;
	width: 100%;
}

.home-hero {
	height: 100%;
	width: 100%;
}

.home-hero-imgresizer {
	width: 100%;
	height: 100%;
}

.home-listings {
	width: 100%;
	height: 350px;
}

@media (max-width: 500px) {
	.home-listings {
		height: 230px;
	}
}

.home-listings .l-table-cell {
	vertical-align: top;
}

/* Hack fix for webkit bug
	https://code.google.com/p/chromium/issues/detail?id=124532
*/
.home .scroller {
	-webkit-transform: translate3d(0px, 0px, 0px);
}

/*	==========================================================================
	 Offcanvas Menu
	========================================================================== */
.offcanvas-menu .menu-item a{
	-webkit-transition: color 0.3s ease-in-out;
	-moz-transition: color 0.3s ease-in-out;
	-ms-transition: color 0.3s ease-in-out;
	-o-transition: color 0.3s ease-in-out;
	transition: color 0.3s ease-in-out;
}

/*	==========================================================================
	 Header
	========================================================================== */

.header .navigation {
	width: auto;
	max-height: 3.8em;
	overflow-y: hidden;
}

@media (min-width: 970px) {
	.header .navigation {
		margin-bottom: 10px;
	}
}

@media (max-width: 768px) {
	.home a.header-logo {
		max-width: 50%;
		text-align: center;
		margin: auto;
		display: block;
		position: relative;
	}

	.home .header-logo-img {
		max-width: 100%;
	}

	.home .header-menu-trigger-text {
		display: none;
	}

	.home .header-inner {
		padding-bottom: 15px;
	}

	.home .header-menu-trigger {
		position: relative;
	}

	.home .header .navigation {
		float: none!important;
	}
}

.header .social-links {
	float: right;
	clear: right;
	margin-top: 15px;
	/*margin-right: -3px;*/
}

.header .social-link,
.header .social-link[class^="icon-"]:before,
.header .social-link[class*=" icon-"]:before {
	font-size: 25px;
	width: 35px;
	height: 22px;
	text-align: right;
}

.header-contact{
	clear: both;
}

.header-contact-item {
	margin: 0 5px;
	text-align: right;
}

.header-quicklinks {
	right: 0;
	position: relative;
}

.clarence-header .header-menu-trigger .header-menu-trigger-text{
	line-height: 2.4em;
}

/*	==========================================================================
	 Hero Slider
	========================================================================== */

.home-hero-wrapper {
	position: relative;
	height: 100%;
	width: 100%;
	min-height: 500px;
}

@media (max-width: 500px) {
	.home-hero-wrapper {
		min-height: 330px;
	}
}

.home-hero-slider {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	overflow: hidden;
	cursor: pointer;
}

.home-hero-image-resizer {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
	width:100%;
	height:100%;
}
.img-fill {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
	width:100%;
	height:100%;
}

.home-hero-slider .rsOverflow {
	width: 100%;
	overflow: hidden;
}

.home-hero-slider .rsContainer {
	height: 100%;
	position: relative;
}

.home-hero-slider .rsSlide {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

.home-hero-slide {
	height: 100%;
}

.home-hero-slider .rsBullets {
	position: absolute;
	bottom: 30px;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 40;
}

.home-hero-slider .rsBullet {
	display: inline-block;
	*display: inline;
	*zoom: 1;

	width: 15px;
	height: 15px;
	border-radius: 7px;

	margin: 0 5px;

	background-color: rgba(255,255,255,0.25);

	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.home-hero-slider .rsBullet:hover {
	background-color: rgba(255,255,255,0.5);
}

.home-hero-slider .rsBullet.rsNavSelected {
	background-color: #fff;
}

/*	==========================================================================
	 Listings Slider
	========================================================================== */


.home-listings-carousel {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 300px;
	cursor: pointer;
	cursor: -webkit-grab;
	cursor: -moz-grab;
}

@media (max-width: 500px) {
	.home-listings-carousel {
		height: 200px;
	}
}

.home-listings-carousel:active {
	cursor: -webkit-grabbing;
	cursor: -moz-grabbing;
}

.home-listings-carousel-container {
	position: absolute;
	width: 100%;
	padding: 25px;
}

.home-listings-carousel ul {
	width: 20000em;
	height: 100%;
	position: relative;
	list-style: none;
	margin: 0;
	font-size: 1.4em;
}

.home-listings-carousel li {
	width: 100%;
	height: 100%;
	float: left;
	margin-right: 25px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
}

.home-listings-carousel li a {
	display: block;
	height: 100%;
	width: 100%;
	position: static;
}

.home-listings-carousel .overlay {
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	padding: 0 15px;
	top: auto;
	height: 0px;
	line-height: 40px;

	-webkit-transition: height 0.5s;
	-moz-transition: height 0.5s;
	-ms-transition: height 0.5s;
	-o-transition: height 0.5s;
	transition: height 0.5s;
}

.home-listings-carousel li:hover .overlay {
	height: 40px;

	-webkit-transition: height 0.15s;
	-moz-transition: height 0.15s;
	-ms-transition: height 0.15s;
	-o-transition: height 0.15s;
	transition: height 0.15s;
}

.home-listings-carousel img {
	display: block;
	width: 100%;
	height: auto !important;
}

.home-listings-carousel .img-resizer {
	height: 100%;
}

.home-listings-prev,
.home-listings-next {
	width: 65px;
	height: 65px;

	position: absolute;
	top: 50%;
	margin-top: -32px;

	border: 2px solid #fff;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

.home-listings-prev span:before,
.home-listings-next span:before {
	font-size: 5em;
	position: absolute;
	left: 50%;
	color: #fff;
	top: 50%;
	margin-top: -0.5em;
	margin-left: -0.5em;
	font-weight: 100;
}

.home-listings-prev {
	left: 50px;
}

.home-listings-next {
	right: 50px;
}

@media (max-width: 768px) {
	.home-listings-carousel-container {
		padding: 15px 0 15px 15px;
	}

	.home-listings-prev,
	.home-listings-next {
		display: none !important;
	}

	.home-listings-carousel .overlay {
		height: 40px;
	}
}

/*	==========================================================================
	 Home Quicklinks
	========================================================================== */

.home-quicklinks .l-table-cell {
	-webkit-box-shadow: inset 0px 3px 3px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: inset 0px 3px 3px 0px rgba(0,0,0,0.2);
	box-shadow: inset 0px 3px 3px 0px rgba(0,0,0,0.2);
}

.home-quicklinks-title {
	font-size: 2.5em;
	font-weight: 100;
	padding-top: 50px;
	padding-bottom: 10px;
}

.home-quicklinks-list {
	padding: 32px 0;
	margin: auto;
	list-style-type: none;
	text-align: center;
	font-size: 1em;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
}

@media (max-width: 768px) {
	.home-quicklinks-list {
		padding: 0 0 32px;
	}
}

.home-quicklinks-list .menu-item {
	font-size: 1.4em;
	line-height: 1.5;
	width: 20%;
	text-align: center;
	text-transform: uppercase;
	display: inline-block;
	vertical-align: middle;
	position: relative;
}

.home-quicklinks-list .menu-item:first-child:before {
	display: none;
}

.home-quicklinks-list .icon-right {
	display: none;
}

.home-quicklinks-list .menu-item a {
	position: relative;
	white-space: normal;
	line-height: 1.1;
	display: inline-block;
	vertical-align: middle;
	width: 75%;
}

.home-quicklinks-list .menu-item a{
	color: inherit;
}

.home-quicklinks-list .menu-item a:hover::after,
.home-quicklinks-list .menu-item a:focus::after {
	height: 4px;
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	transform: translateY(0px);
}


@media (max-width: 768px) {
	.home-quicklinks-container {
		padding: 0 15px;
	}

	.home-quicklinks-list .menu-item {
		font-size: 1.7em;
		line-height: 1.5;
		width: 100%;
		margin: 14px 0 0;
		padding-top: 18px;
		text-align: left;
		text-transform: none;
		border-left: none;
		border-top: 2px solid rgba(255, 255, 255, 0.1);

		display: inline-block;
		*display: inline;
		*zoom: 1;
	}

	.home-quicklinks-list {
		padding-bottom: 50px;
		width: 100%;
		white-space: normal;
	}

	.home-quicklinks-list .menu-item:before {
		display: none;
	}

	.home-quicklinks-list .menu-item a {
		width: 100%;
		margin: 0;
	}

	.home-quicklinks-list .menu-item a:after {
		content: none;
	}

	.home-quicklinks-list .menu-item:first-child {
		border-top: none;
	}

	.home-quicklinks-list .icon-right {
		display: block;
	}

	.home-quicklinks-list .icon-right:before {
		font-weight: 700;
	}

	span.home-quicklinks-button {
		background-color: inherit;
	}

}

@media (min-width: 768px) {
	span.home-quicklinks-button {
		display: inline-block;
		width: 100%;
		padding: 22px 5px;

		-webkit-transition: background 0.3s;
		-o-transition: background 0.3s;
		transition: background 0.3s;

		-webkit-border-radius: 2px;
		-moz-border-radius: 2px;
		border-radius: 2px;
	}
}

/*	==========================================================================
	 Greeting Section
	========================================================================== */
@media screen and (min-width:1694px){
	.home-greeting{
		margin-left:205px;
		margin-right:205px;
	}
}

@media screen and (max-width:1693px){
	.home-greeting{
		margin-left:165px;
		margin-right:165px;
	}
}
@media screen and (max-width:1446px){
	.home-greeting{
		margin-left:50px;
		margin-right:50px;
	}
}

@media screen and (max-width:1200px){
	.home-greeting{
		margin-left:25px;
		margin-right:25px;
	}
}

@media screen and (max-width:500px){
	.home-greeting{
		margin-left:15px;
		margin-right:15px;
	}
}

.home-greeting .post-content-divider {
	position: absolute;
	top: 0;
	left: 15px;
	width: 66%;
	height: 3px;
}

.home-greeting .post-content {
	padding-top: 28px;
	margin-bottom:50px;
}
.home-greeting h1{
	font-weight:700;
}

@media (min-width: 992px){
	.home-greeting h1{
		font-size: 5.5em;
	}
}


@media (min-width: 1200px) {
	.home-greeting h1 {
		font-size: 6em;
		font-weight: bold;
		padding-top: 140px;
		padding-bottom: 146px;
	}

	.home-greeting .post-content {
		margin-bottom: 150px;
		margin-top: 145px;
		margin-left: 4.166666665%;
		padding-left: 4.166666665%;

		padding-top: 0px;
		padding-bottom: 0px;
		position: relative;
	}

	.home-greeting .post-content-divider {
		left: 0;
		bottom: 0;
		width: 3px;
		height: auto;
	}
}

/*	==========================================================================
	 Openhomes
	========================================================================== */

.home-openhomes {
	text-align: center;
	vertical-align: middle;
	padding-bottom: 40px;
}

.home-openhomes-message {
	font-size: 2.5em;
	font-weight: 100;
	line-height: 100px;

	display: block;
	line-height: 1.2em !important;
	padding: 30px 0;
	margin: 0;
}

.home-openhomes-link {
	padding: 10px 70px;
}

@media (min-width: 992px) {
	.home-openhomes {
		padding: 0;
	}

	.home-openhomes-message {
		display: inline-block;
		font-size: 3em;
		vertical-align: middle;
		padding: 30px 30px;
	}
}

/*	==========================================================================
	 Footer
	========================================================================== */
.footer .btn, .footer .social-link:before{
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.footer .container {
	padding-bottom: 115px;
	position: relative;
}

.footer-section-title {
	font-size: 3em;
	font-weight: 100;
	position: relative;
	padding-top: 45px;
	padding-bottom: 18px;
	margin-bottom: 20px;
	margin-top: 0px
}

.footer-section-title:after {
	content:'';
	width: 60px;
	height: 4px;
	background-color: rgba(255, 255, 255, 0.2);
	position: absolute;
	left: 0px;
	bottom: 0px;
}

@media screen and (min-width: 768px) {
	.footer-section-title {
		font-weight: normal;
	}
}

.colophon-wrapper a:hover {
	text-decoration: none;
	opacity: 0.75
}

.footer-rex-branding {
	width: 100%;
	margin-top: 50px;
	padding:0px;
	text-align: center;
	color: #fff;
	opacity: 0.3;
	display: block;
}

@media screen and (min-width:1694px){
	.footer-inner-container{
		margin-left:205px;
		margin-right:205px;
		padding-bottom:45px;
	}
	.footer-section-title{
		padding-top:100px;
	}
}

@media screen and (max-width:1693px){
	.footer-inner-container{
		margin-left:165px;
		margin-right:165px;
		padding-bottom:45px;
	}
	.footer-section-title{
		padding-top:80px;
	}
}
@media screen and (max-width:1446px){
	.footer-inner-container{
		margin-left:50px;
		margin-right:50px;
	}
}

@media screen and (max-width:1200px){
	.footer-inner-container{
		margin-left:25px;
		margin-right:25px;
		padding-bottom:25px;
	}
	.footer-section-title{
		padding-top:50px;
	}
}

@media screen and (max-width:500px){
	.footer-inner-container{
		margin-left:15px;
		margin-right:15px;
		padding-bottom:15px;
	}
}

/*	==========================================================================
	 Footer Video
	========================================================================== */

.footer-section-video .footer-section-content {
	width: 100%;
}
@media screen and (min-width:1200px){
	.footer-section-video .footer-section-content {
		max-width: 500px;
	}
}

.footer-video-content {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.footer-video-content iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.footer-section-video-thumb:focus,
.footer-section-video-thumb:hover {
	outline: none;
	text-decoration: none;
}

.footer-section-video-thumb {
	display: block;
	position: relative;
	max-width:320px;
}


.footer-section-video-thumb img{
	width: 100%;
}

.footer-section-video-thumb:before {
	font-size: 6em;
	position: absolute;
	text-align: center;
	background-color: rgba(0,0,0,0.5);
	color:#FFF;
	border-radius: 50%;
	width: 90px;
	height: 90px;
	line-height: 90px;
	left: 50%;
	top: 50%;

	margin-left: -45px;
	margin-top: -45px;

	-webkit-transition: background 0.3s;
	-o-transition: background 0.3s;
	transition: background 0.3s;
}

.footer-section-video-thumb:hover:before {
	background-color: rgba(0,0,0,0.75);
}

/*	==========================================================================
	 Footer Testimonials
	========================================================================== */

.footer-section-testimonials .post-content {
	padding-bottom: 14px;
}
@media screen and (min-width:1200px){
	.footer-section-testimonials .post-content {
		max-width: 500px;
	}
	.footer-section {
		min-height: 300px;
	}
}
.footer-section-testimonials .post-content {
	display: block; /* override base plugin style */
}
.footer-section-testimonials .post-content p{
	font-weight: 100;
}

/*	==========================================================================
	 Footer Contact Details
	========================================================================== */

.footer-contact-details {
	list-style: none;
	font-size: 1em;
	padding: 0;
	margin: 0 0 13px;
}

.footer-contact-item {

}

.footer-section-contact .social-links {
	/*margin-top: 20px;*/
	margin-left: -15px;
}

.footer-section-contact .social-link {
	width: 30px;
	height: 30px;
}

.footer-section-contact .social-link[class^="icon-"]:before,
.footer-section-contact .social-link[class*=" icon-"]:before{
	font-size: 25px;
}

.container-fluid.no-padding{
    padding-left: 0px;
    padding-right: 0px;
}
.footer-contact-widget-title{
    font-size:1.2121em;
}
.footer-section-contact .l-table-cell.vertical-align-top{
    vertical-align: top;
}
.detail-text{
    font-weight:300;
}
.footer-contact-widget-title-cell .detail-text{
    font-weight:500;
}
.footer-contact-widget-title-cell{
    width:35px;
}
.footer-contact-details-table{
    margin-bottom:20px
}
.footer-agency-wrapper{
    margin-bottom:20px
}

/*	==========================================================================
	 Footer Office Location
	========================================================================== */
.footer-widget-map-wrapper{
	max-width:254px;
	width:100%;
	height:191px;
	overflow:hidden
}
.footer-widget-map-link{
	display: block;
	max-width:254px;
	width:100%;
}

.footer-widget-map-icon {
	position: absolute;
	top: 0;
	right: 0;

	width: 40px;
	height: 40px;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
}

.footer-widget-map-icon:before {
	line-height: 40px;
	width: 40px;
	text-align: center;
	display: block;
	font-size: 2.5em;
}

/* simple contact widget*/

.footer-agency-contact-simple-link{
	font-size:1.8em;

	-webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}

a.footer-agency-contact-simple-link:hover,
a.footer-agency-contact-simple-link:active,
a.footer-agency-contact-simple-link:visited,a.footer-agency-contact-simple-link:focus{
	text-decoration:none !important;
}
.footer-agency-contact-simple-divider{
	width: 15px;
	display: block;
	height: 2px;
	margin-top: 10px;
	margin-bottom: 10px;
}
@media (min-width:768px){
	.footer-agency-contact-simple-divider{
		width: 2px;
		display: inline-block;
		height: 20px;
		vertical-align: sub;
		margin: 0 10px;
	}
}
.footer-theme-bg-25{
	background:currentColor;
	opacity: .25;
}

