@media (min-width: 1199px) {
	.header-address {
		margin-left: 28px;
	}
}


@media (max-width: 1199px) {
	.bg-bottom {
		background-size: auto 100% !important;
		background-repeat: no-repeat !important;
	}
}



@media (max-width: 991px) {
	div.loginWidget {
		float: none;
		text-align: center;
	}
	.social-icons {
		float: none;
	}

	div#navigation .container {
		border-top: none;
		border-bottom: none;
	}

	div.properties-grid .property .image {
		max-height: initial !important;
		background-color: darkgray;
		overflow: hidden;
	}

	div.sidebar {
		margin-top: 0;	
	}

	#header-wrapper #header #header-inner .navbar .navbar-inner .site-phone {
		text-align: center;
	}

}


@media (max-width: 768px) {

	div#header-wrapper #header #header-inner .navbar .navbar-inner .site-phone {
		float: none !important;
		line-height: 30px;
		margin: 0px auto !important;
		width: 200px;
	}

	div.logo {
		width: 80% !important;
		margin-top: 20px !important;	
	}

	div.site-email {
		float: left !important;
		margin: 0 20px;
	}

	div.site-phone {
		float: left !important;	
	}

	#header-wrapper #header #header-inner .navbar .navbar-inner .info {
		margin-left: 30px !important;
	}

	a.home-buttons {
		width: 100%;
	}


}

@media (max-width: 500px) {
	div.loginWidget {
		float: none;
		text-align: center;
	}
	div.social-icons {
		float: none;
	}
}

@media (min-width: 1220px) {
	.container {
		width:1220px;
	}
}



/* -- Fix for mobile repsonsive issue with display: table; -- */

input.btn.btn-primary.arrow-left.back-button {
    display: none;
}

body #wrapper-outer #wrapper {
	display: block !important;
}

body #wrapper-outer #wrapper #wrapper-inner {
	display: inline !important;
}

body #wrapper-outer #wrapper #footer-wrapper {
	display: inline-block !important;
	height: auto !important;
	margin-bottom: -10px;
}



/* -- General Overrides -- */

h3 a {
	color: #00263D !important;
}

h3 a:hover {
	text-decoration: none !important;
	color: #00263D !important;
}

h1 a {
	color: #00263D !important;
}

h1 a:hover {
	text-decoration: none !important;
	color: #00263D !important;
}

nav.idx-sort-bar.navbar.navbar-default {
	margin-top: 10px;
}



.form-control {
	padding: 5px !important;
}


/* -- Results Overrides -- */

.properties-grid .property .image {
	max-height: 151px;
	background-color: darkgray;
	overflow: hidden;
}

.tiksluscarousel ul.carousel {
	max-height: 400px;
	overflow: hidden;
}

.tiksluscarousel.fullscreen ul.carousel {
	max-height: initial !important;
}


/* -- Header Ovverrides -- */

#header-wrapper #header #header-inner .navbar .navbar-inner .site-phone span {
	background-image: url(https://www.royacdn.com/unsafe/smart/Site-659cabe0-d20d-4b31-b135-c6ea5a9019c9/logo/site_photo_tan.png) !important;
}

#navigation .container {
	border-top: 2px solid #998C83;
	border-bottom: 2px solid #998C83;
}

a.header.address:hover {
	color: #00263D;
	font-size: 20px !important;
	text-decoration: underline;
}


a.header.address {
	font-size: 20px;
	text-decoration: none;
	color: #998C83;
}

/* ---- Login Button ---- */

.loginWidget {
	float: right;
	padding-bottom: 5px;
}



/* ---- Contact Information Overrides ----- */


.site-phone a {
	text-decoration: none;
	color: #998C83;
	font-size: 20px;
}
.site-phone a:hover {
	color: #00263D;
}
.broker-info ul {
	list-style: none;
	padding: 0;
}

.contact td {
	color: #fff;
	font-size: 18px;
}


/* ----- Social Icon Overrides ------ */

.social-icons li {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #00263d;
}
.social-icons li a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.social-icons li a:before {
    color: #fff;
    font-size: 18px;
    margin: 0;
    padding: 0;
}
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
	padding: 0;
}
.social-icons li:hover {
    background: #978B82;
}

.span6.share {
	float: right;
}
.social-icons {
	list-style: none;
	/*padding: 0;
	text-align: center;
	max-width: 139px;*/
	margin: auto;
}
.social-icons li {
	float: right;
	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;
	margin-left: 3px;
}
.social-icons li a {
	/*font-size: 25px!important;*/
	text-align: center;
	text-decoration: none !important;
}
/*.social-icons li.yelp:hover {
	background-color:#FF0000;
}*/

.fa-youtube-square:before {
	color: #D31D25;
}

.fa-facebook-official:before {
	color: #5775AF;
}

.fa-google-plus-square:before {
	color: #D1271F;
}

.fa-linkedin-square:before {
	color: #4A9DC0;
}

/*a.fa.fa-yelp {
	font-size: 15px !important;
	margin: 1px 0 0 0;
}*/

/*li.yelp {
	background: #FF0000;
	padding: 1px;
	border-radius: 5px;
	margin: 4px 0 0 5px;
	width: 22px;
}*/

/* ----- 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;
}


#footer-wrapper #footer-top table.contact th.cabre {
	background-image: url("https://s3.amazonaws.com/static.organiclead.com/074ee81027def72f3c5348c9feeab305/cabre.png");
	background-size: 16px 16px;
	background-position: 6px 2px;
}



/*-- Details Page --*/

ul.slide-item-features.item-features {
	list-style: none
}

.slide-item-features li {
	padding: 10px;
	border: 1px solid #c4c4c4;
	margin: 5px 0;
	display: inline-block
}

ul.slide-item-features.item-features {
	padding: 0;
	margin: 0;
}

span.fa {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transform: translate(0, 0);
	padding: 0 10px 0 0
}

/*--- Modal Overrides -----*/

.modal-footer button {
	position: absolute;
	top: 0;
	right: 0;
}

.blueimp-gallery .modal-footer .btn {
	position: inherit;
}

.modal-body form.cmsForm {
	display: inline-block;
}


/*------ Font Awsome ----- */


.fa-envelope:before {
	content: "\f0e0";
	/*float: left;
	margin: 0 20px 0 0;*/
}

.fa-home:before {
	content: "\f015";
	float: left;
	margin: 0 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: -5px;
	width: 10px;
	z-index: 100;
	border-radius: 50px;
	height: 30px;
}

div.showcase-thumbnail div div a img {
	height: 80px;
	width: 120px;
	overflow: hidden;
	margin: 10px 0 0px;
	border: 1px solid #808080;
}

.com-wrap {
	background-color: #fff;
	padding: 15px;
}

.com-button {
	float: none;
	text-align: center;
	width: 100%;
	margin: 20px 0 0;
}

.com-title {
	border-bottom: 10px solid #9A8D83;
}

.com-title h2 {
	text-shadow: none !important;
}

h1, .h1, h2, .h2, h3, .h3 {
	color: #00263D !important;
	font-family: 'Cabin', sans-serif;
}

h1, .h1 {
	font-family: 'Raleway', sans-serif;
	font-weight: normal;
}

.index-set {
	float: none;
	margin: auto;
	max-width: 1150px;
	clear:both;
	margin: 0 auto !important;
	    width: 90% !important;
}

.index-set-2 {
	float: none;
	margin: auto;
	max-width: 1500px;
	clear:both;
	margin: 0 auto !important;
	    width: 90% !important;
}

.side-title {
	background-color: #00263D;
}

.side-title h2 {
	color: #fff !important;
	margin: 10px;
}

.side-body {
	background-color: #fff;
	padding: 20px;
}

.properties-grid .property .wrap {
	background: rgba(255, 255, 255, 0.8) !important;
}

.slider-text {
	text-shadow: 1px 2px 5px #00263D !important;
}

.mid-title h2 {
	color: #00263D !important;
	font-size: 28px !Important;
}

.home-cta {
	padding: 30px 0px;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(20%,rgb(153, 141, 130)), color-stop(100%,rgb(243, 247, 248)));
}

.home-cta h2 {
	font-size: 35px;

}

a.home-buttons {
	font-size: 18px;
	background: rgb(0, 38, 61) !important;
	background: -moz-linear-gradient(top, rgba(28,65,111,1) 0%, rgba(109,134,163,1) 100%) !important;
	background: -webkit-linear-gradient(top, rgb(0, 38, 61) 0%,rgba(109,134,163,1) 100%) !important;
	background: linear-gradient(to bottom, rgb(0, 38, 61) 0%,rgba(109,134,163,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1c416f', endColorstr='#6d86a3',GradientType=0 );
}

a.btn.btn-primary.home-buttons:hover {
	background: rgb(154, 143, 134) !important;
}


.bg-bottom {
	background-image: url(https://www.royacdn.com/unsafe/smart/Site-659cabe0-d20d-4b31-b135-c6ea5a9019c9/home_bg_image_bottom2_1.jpg);
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	margin-top: 20px;
}


.header-address {
	text-decoration: none;
	color: #998C83;
	font-size: 20px;
}

#wrapper-inner #content .container #main h3 a {
	font-size: 18px;
	font-weight: normal;
}

.lender-logo {
	max-width: 300px;
	float: none;
	margin: auto;
	overflow: hidden;
}


/*-- Side Bar Accordion --*/


#accordion .card-header {
	padding: .75rem 1.25rem;
	margin-bottom: 0;
	background-color: rgb(232, 246, 255);
	border-bottom: 1px solid rgba(0,0,0,.125);
}
#accordion .card {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	background-color: #fff;
	/* border: 1px solid rgba(0,0,0,.125); */
	border-radius: .25rem;
}

#accordion .card-block{
	padding: .75rem 1.25rem;
	background: #f6fcff;
}
div#headingOne img{
	max-width: 100px;
	margin-right: 10px;
	float: left;

}
#headingOne a{
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
}
#headingOne a:hover{
	text-decoration: none;
}
#accordion ul{
	list-style: none;
	padding: 0px 0px;
}
#accordion ul li{
	padding: 10px 0px;
	clear: left;
	overflow: hidden;
}

#accordion ul li:hover{
	background: #f1f9fd;
	text-decoration: none;
}

#accordion ul li a{
	text-decoration: none;
	font-size: 12px;

}
#accordion ul li img{
	margin-right: 10px;
	max-width: 80px;
	float: left;
	clear: left;
}

#accordion .glyphicon { margin-left: 20px; margin-right: -40px }

/* AGENTS SECTION PAGE */
div#main .ry-agent-container {
    margin-left: -30px;
    width: calc(100% + 110px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-top: 1em;
}
div#main .ry-agent-container .ry-each.ry-blocks {
    width: calc(25% - 30px);
    margin: 30px 0 30px 30px;
}
div#main .content-wrapper {
    text-align: center;
    padding: 10px 0 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 254px;
}
div#main .ry-agent-container .ry-each.ry-blocks img {
    /*max-height: 350px;*/
	height: 285px;
    aspect-ratio: 16/9;
    object-fit: none;
    min-height: 285px;
	max-height: 285px;
}
/*#header-wrapper #header #header-inner .navbar .navbar-inner #btn-nav {
    display: none !important;
}*/

@media (max-width: 1024px) {
	div#main .ry-agent-container .ry-each.ry-blocks {
		width: calc(33.3% - 30px);
	}
	.navigation-wrapper .navigation .nav li a {
		padding-left: 15px !important;
		padding-right: 15px !important;
		    font-size: 14px !important;
	}
	div#main .ry-left {
		width: 35%;
	}
	div#main .ry-right {
		width: 65%;
	}
	.footer-wrapper .useful-blocks {
		width: 21%;
	}
	.footer-wrapper .info-blocks {
		width: 45%;
	}
}
@media (max-width: 991px) {
	div#main .ry-agent-container .ry-each.ry-blocks {
		width: calc(50% - 30px);
	}
}

@media (max-width: 991px) {
    .mobile-container {
        display: block;
    }  
    .mobile-container .flex-wrap {
        background: transparent;
        display: flex;
        justify-content: space-between;
    }
    .mobile-container .flex-wrap .flex-item.left-nav {
        width: 50%;
        padding-left: 20px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        max-width: 309px;
    }
    .mobile-container .mobile_logo {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding-bottom: 0;
    }
    .mobile-container .mobile_logo .logo {
        padding-right: 5px;
    }
    .mobile-container .mobile_logo img {
        max-width: 200px;
    }
    .mobile-container .flex-wrap .flex-item.right-nav {
        padding-right: 20px;
        width: 50%;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: flex-end;
        display: flex;
        align-items: center;
    }
	.mobile-container .flex-wrap .flex-item.right-nav .mobile-nav button {
		background: transparent;
		border: none;
	}
	.mobile-container .flex-wrap .flex-item.right-nav i.fa.fa-bars {
		font-size: 40px;
	}
	/*.flex-item.mobile_menu {
		display: none;
	}*/
	.mobile-container .flex-wrap .flex-item.right-nav .mobile-button a {
		font-size: 22px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: #988c82;
		color: #fff;
	}

	.mobile-container .flex-wrap .flex-item.right-nav .mobile-button {
		display: flex;
		margin-right: 0;
	}
	.mobile-container .flex-wrap .flex-item.right-nav .mobile-button a {
		margin-right: 10px;
	}
}


@media (max-width: 500px) {
	div#main .ry-agent-container .ry-each.ry-blocks {
		width: calc(100% - 30px);
	}
}


/* Nav Edits */ 
@media only screen and (min-width: 992px) {
	div#space {
		position: absolute;
		top: 0;
		background:rgba(153, 140, 131, 0.8);
		left: 100%;
		opacity:0;
		transition: all 0.5s ease;
		padding: 0 !Important;
		width: 5%;
	}

	div.show {
		opacity: 1 !important;
		width: 100% !important;
	}

	div#space2 {
		position: absolute;
		top: 60px;
		background: rgba(153, 140, 131, 0.8);
		left: 100%;
		opacity:0;
		transition: all 0.5s ease;
		padding: 0 !Important;
		width: 5%
	}

}

@media only screen and (max-width: 991px) {
	div#space2 {
		opacity: 1 !Important;
		width: 100% !important;
		padding-right: 10px;
	}

	div#space {
		opacity: 1 !Important;
		width: 100% !important;
		padding-right: 10px;
	}
	li.ry-menu-curious a:after {
		content: '\f078';
		font-family: fontAwesome;
		font-size: 1rem;
		padding-left: .5em;
		color: #FFF;
	}

	li.ry-menu-start a:after {
		content: '\f078';
		font-family: fontAwesome;
		font-size: 1rem;
		padding-left: .5em;
		color: #FFF;
	}	

}

.slider-text {
	text-shadow: 3px 5px 2px #000 !important;
}

.home-slider-wrapper {
}

.sitelogo {
	float: none;
	margin: auto;
	max-width: 300px;
}

.home-slider .carousel-inner img.img-responsive {
	height: 450px;
	overflow: hidden;
}
.slider-text {
	display: none;
}

.slider-search {
	display: none;
}