/*Changes*/

body {
    font-family: 'Lato', Arial, sans-serif !important;
}

h1 {
    font-family: 'Lato', Arial, sans-serif;
}

.resources_menu ul li a {
    color: rgba(0, 0, 0, 0.5);
}

a:hover,
a:focus {
    color: #0066FF !important;
}

#searchBtn,
#mobileSearchBtn {
    color: #666 !important;
    border: 1px solid #CCC;
    background-color: #F4F4F4 !important;
    padding-top: 11px;
    padding-bottom: 11px;
    border-radius: 0px;
}

.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.parallax .btn-submit:hover {
    background: #0066FF !important;
}

.navbar .nav .open > a,
.navbar .nav .open > a:hover {
    color: #0066FF;
}

.modal-content a {
    color: rgba(0, 0, 0, 0.5);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Lato', Arial, sans-serif !important;
}

.image-caption h3 a {
    font-family: 'Lato', Arial, sans-serif !important;
}

.footer-contact h4 {
    font-family: 'Lato', Arial, sans-serif !important;
}

.tp-caption img {
    margin-top: 70px;
}

.btn {
    background: #0066FF;
}

.navbar-nav > li > a {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 9pt;
}

.home-wrapper .navbar-nav > li > a:hover {
    color: #0066FF;
}

.navbar-brand img {
    margin: 0 0;
    display: block;
    width: 250px;
    margin-top: 0px;
    margin-bottom: -30px;
}

.navbar.basic .btn.responsive-menu {
    background: #0066FF;
}

.btn:hover,
.btn:active,
.btn:visited {
    background: #0066FF;
    opacity: 0.9;
}

.sub-footer .social li a i {
    border: 1px solid #0066FF !important;
    color: #f4f4f4 !important;
    background: #0066FF none repeat scroll 0% 0% !important;
    width: 32px;
    height: 32px !important;
    font-size: 18px;
}

.tp-caption img {
    margin-top: 200px;
}

.navbar .dropdown-menu {
    border-top: 2px solid #0066FF !important;
}
.navbar .dropdown-menu:not(.yamm-dropdown-menu) li a {
    color: white;
}
.navbar .dropdown-menu:not(.yamm-dropdown-menu) li {
    background: #0066FF;
    background-color: #0066FF;
    border-top: 1px solid rgba(0, 0, 0, 0.17);
}

.agent-small {
    background-size: contain!important;
    background-position: center top !important;
    background-color: #4c4c4c !important;
}

.navbar-nav > li > a:hover {
    color: #c0c0c0 !important;
}

.home-wrapper .fixed .navbar-nav > li > a:hover {
    color: #c0c0c0 !important;
}

.navbar.basic.fixed .navbar-nav > li > a:hover {
    color: #c0c0c0 !important;
}

.navbar .dropdown-menu:not(.yamm-dropdown-menu) li a:hover {
    color: #c0c0c0 !important;
}
@media (max-width: 991px)
{
    .navbar.basic.fixed .navbar-nav > li > a:hover {
        color: white !important;
    }
    .navbar .dropdown-menu:not(.yamm-dropdown-menu) li a {
        color: white !important;
        margin-left: 1em;
    }
    .navbar .dropdown-menu:not(.yamm-dropdown-menu) {
        padding-left: 0;
    }
}

#slider_header_1 {
    margin-top: 150px;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1.2em;
    color: #fff;
    font-weight: 600;
}

/*
.home-wrapper .navbar-header {
    background: white;
    box-shadow: 0px 0px 4px #000;
    min-height: 65px;
}

.home-wrapper .navbar.basic .navbar-collapse {
    padding-top: 30px;
}
.home-wrapper .navbar.basic.fixed .navbar-nav > li > a {
    margin-top: 20px !important;
}

*/




.navbar.basic.fixed .navbar-brand img {
    margin-top: 30px;
    margin-bottom: -20px;
    max-width: 125px;
}

.navbar.basic.fixed .navbar-nav > li > a {
    margin-top: 50px !important;
}

.navbar-nav > li > a {
    margin-top: 20px !important;
}


/*Changes*/

.navbar-header {
    background: #fff;
}

.home-wrapper .navbar-brand img.regular-logo,
.navbar-brand img.home-logo {
    display: none;
}

.home-wrapper .navbar-brand img.home-logo {
    width: 250px;
    margin-top: -30px;
    display: block;
}

.home-wrapper .fixed .navbar-brand img.regular-logo {
    display: block;
    width: 125px;
    padding-top: 0;
}

.home-wrapper .fixed .navbar-brand img.home-logo {
    display: none;
}

.home-wrapper .fixed .navbar-header {
    background: #fff none repeat scroll 0% 0%;
    box-shadow: 0px 0px 4px #000;
}

.fixed .logo-section {
    margin-bottom: -50px;
    margin-top: -20px;
}

.fullwidthbanner {
    margin-top: 0px !important;
}

.home-wrapper .navbar-nav > li > a {
    color: #000;
}

.home-wrapper .fixed .navbar-nav > li > a {
    color: #000;
}

.homeSearch {
    /*
	margin-top: -250px;
    margin-bottom: 250px;
	*/
    background: none !important;
}

.dark-wrapper {
    background-color: #fff;
    border-bottom: none;
}

.footer-copyright span {
    text-transform: none;
}

#searchBtn,
#mobileSearchBtn {
    font-family: 'Lato', Arial, sans-serif;
}

#search-tab li ul.dropdown-list .row {
    width: 500px;
}

.home-title {
    display: block;
}

.home-title-mobile {
    display: none;
}

#searchBtn,
#mobileSearchBtn {
    color: #666 !important;
}

#stickySearch.topSearch {
    top: 0 !important;
}

.loginModal input,
.loginModal button {
    font-family: 'Lato', Arial, sans-serif;
}


/*
#stickySearch {
    margin-top: -1px !important;
}
*/

.homeSearch {
    margin-top: -400px;
    margin-bottom: 330px;
    background: transparent none repeat scroll 0% 0% !important;
    border: medium none;
    position: relative;
    z-index: 99;
}

#stickySearch.homeSearch.topSearch {
    box-shadow: none;
    top: 0px !important;
}

@media (min-width: 900px) {
	#stickySearch.homeSearch.topSearch {
		top: 75px !important;
	}
}


.homeSearch-center #stickySearch {
    background: none !important;
}

.homeSearch-center #search-tab {
    background-color: rgba(255, 255, 255, 0.7) !important;
    padding-bottom: 10px;
}

#stickySearch.topSearch {
    top: 75px !important;
}

@media (max-width: 991px) {
    .home-wrapper .navbar-brand img.home-logo {
        display: none;
    }
    .home-wrapper .navbar-brand img.regular-logo {
        display: block;
        margin-top: 0;
    }
    .navbar-nav > li > a {
        margin-top: 0px !important;
    }
    /*
.homeSearch {
    margin-top: -150px;
    margin-bottom: 150px;
	}
*/
    /*Changes*/
    .navbar.basic.default .navbar-brand img {
        margin-left: 20px;
        max-width: 150px;
    }
    .navbar-nav > li > a:hover {
        color: #0066FF;
    }
    /*Changes*/
}

@media (min-width: 768px) and (max-width: 991px) {
    .home-featured .owl-portfolio .col-sm-4 {
        width: 50%;
    }
   
    /*Changes*/
    .home-wrapper .navbar-nav > li > a {
        color: #000;
    }
    .home-wrapper .navbar-nav > li > a:hover {
        color: #0066FF;
    }
    .tp-caption img {
        margin-top: 100px;
    }
    #slider_header_1 {
        margin-top: 150px;
        font-family: 'Lato', Arial, sans-serif;
        font-size: 2em;
        color: #fff;
        font-weight: 600;
    }
    /*Changes*/
}


/*End of Media Query*/

@media (max-width: 767px) {
    
    .homeSearch #webIDForm {
        width: 400px;
    }
    /*
.homeSearch {
    margin-top: -50px;
    margin-bottom: 50px;
	}
*/
    /*Changes*/
    .navbar-brand img {
        width: 150px;
    }
    .home-wrapper .navbar-nav > li > a {
        color: #000;
    }
    .home-wrapper .navbar-nav > li > a:hover {
        color: #0066FF;
    }
    .tp-caption img {
        margin-top: 100px;
    }
    #slider_header_1 {
        margin-top: 150px;
        font-family: 'Lato', Arial, sans-serif;
        font-size: 2em;
        color: #fff;
        font-weight: 600;
    }
    /*Changes*/
}

.quick-search-wrapper {
    background-color: transparent;
    height: auto;
    width: 100%;
    float: right;
    margin: 0 0 3em;
    max-width: 300px;
}
@media (max-width: 991px){
    .quick-search-wrapper {
        margin: 1em auto;
    }
}
@media (max-width: 575px){
    .logo-section {
        display: flex !important;
        flex-direction: column !important;
        height:auto !important;
    }
    .quick-search-wrapper {
        margin: 0 auto .5em;
    }
    .quick-search-wrapper input,
    .quick-search-wrapper button {
        font-size:10px !important;
    }
}

.quick-search-wrapper form {
    display:flex;
}

.quick-search-wrapper button {
    float: none;
    display: inline-block;
    margin: 0 0;
    order: 2;
    padding: 8px 13px;
    font-size: 15px;
    
}

.quick-search-wrapper input {
    float: none;
    margin:0 0!important;
    background-image: none;
}

@media (min-width: 991px){
    .basic-wrapper {
        float:left;
    }
    .navbar.basic.default .quick-search-wrapper {
        margin:2.5em auto .5em;   
    }
    .navbar.basic.fixed .quick-search-wrapper {
        margin:2.5em auto .5em;
    }
    .home-wrapper .navbar.basic.default .quick-search-wrapper {
        margin:.75em auto 2em;   
    }
    
    
}

@media screen and (max-width: 991px) {
    .navbar.basic .navbar-nav {
        width: 100%;
        margin-top: 1em !important;
    }
    .logo-section {
        height: 65px;
        padding-right: 0px;
        padding-left: 0px;
        margin-bottom: 0 !important;
    }
}

/*End of Media Query*/

@media screen and (max-width: 991px) {
    .navbar.basic .btn.responsive-menu {
        margin: 1em 0em 1em 1em !important;
    }
    .navbar.basic .navbar-brand {
        padding-top: 0px !important;
    }
}

@media (max-width: 480px) {
    .homeSearch #webIDForm {
        width: 300px;
        /*display:none;*/
    }
    /*Changes*/
    .navbar-brand img {
        width: 150px;
        margin-top: 0px;
    }
    .tp-caption img {
        margin-top: 100px;
    }
    /*Changes*/
    .homeSearch .site-search #thisVal {
        width: 77%;
    }
    .home-wrapper .navbar-brand img.regular-logo {
        width: 150px;
    }
    .home-wrapper .navbar-brand img.regular-logo {
        margin-top: 0;
    }
    .home-wrapper .navbar.basic .btn.responsive-menu {
        /*  margin-top: 4px; */
    }
    .home-featured {
        padding-top: 70px !important;
    }
    .home-title {
        display: none;
    }
    .home-title-mobile {
        display: block;
    }
    .home-title-mobile img {
        height: 300px !important;
        width: auto !important;
    }
}


/*End of Media Query*/

.label.sold,
.label.rented {
    color: #FFF;
    background-color: #D9534F;
    border-color: #D43F3A;
    font-size: 15px;
    padding: 4px 7px;
    border-radius: 0px;
}

.home-featured .item .label,
.portfolio .item .label {
    float: none;
    font-size: 11px;
    vertical-align: middle;
    position: absolute;
    top: -27px;
    right: -2px;
    border-radius: 0px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 7px 5px 4px 5px;
}

.image-caption .reduced.rented,
.image-caption .reduced.sold,
.image-caption .reduced.in-contract {
    /*
    position: absolute;
	top: -248px;*/
    border-radius: 0px;
    font-size: 11px;
    right: 0px;
    color: #FFF;
    padding: 0px 4px;
}

.home-featured .carousel-th .item {
    border: none;
}

.home-featured figure.icon-overlay {
    border: none !important;
}

.tp-leftarrow.default, .tp-rightarrow.default {
    z-index: 1050!important;
}

/*
.home-featured .image-caption .reduced.rented, .home-featured .image-caption .reduced.sold, 
.home-featured .image-caption .reduced.in-contract {
    top: -248px;
    right: -1px;
}
*/


/*
.image-caption .reduced.rented, .image-caption .reduced.sold, .image-caption .reduced.in-contract {
	top: -22px;
	left: 78px;
	right: unset;
	padding-top: 0px;
	padding-bottom: 0px;
	height: 22px;
	font-weight: bold;
}
*/

#btn-logout {
    font-weight: normal;
    font-size: 13px;
    line-height: 17pt;
    color: #000;
    letter-spacing: 3px;
    font-family: 'Lato', Arial, sans-serif;
    text-transform: uppercase;
}

.home-wrapper #btn-logout {
    color: #fff;
}

.home-wrapper .fixed #btn-logout {
    color: #000;
}

.carousel-th .item {
    margin: 4px 10px 1px;
    border: 1px solid #ccc;
}

figure.icon-overlay {
    border: 1px solid #E3E3E3;
    border-bottom: none;
    background-color: #e3e3e3;
}

.items li img {
    width: auto;
    margin: auto;
}

.home-featured figure img {
    margin: auto;
}

.home-featured figure img {
    margin: auto;
}


/*Changes*/


/*

@media (max-width: 767px) { 
	figure.icon-overlay  {
		position: relative;
		float: none;
		display: block;
		width: 100%;
		height: auto;
		padding: 0px;
		margin: 0px;
	}
	
	figure.icon-overlay a{
		display: block;
		padding-top: 50%;
		position: relative;
		width: 100%;
		height: 0px;
		overflow: hidden;
	}
	.items li img {
		height:100% !important;
    	margin: auto !important;
		position: absolute;
		top: 0px;
		right: 0px;
		bottom: 0px;
		left: 0px;
		display: block;
		max-width: 100%;
		max-height: 100%;
	}	
}
*/

.homeSearch #webIDForm {
    margin-bottom: 237px;
    margin-top: -300px;
}

@media (max-width: 480px) {
    .home-featured figure img {
        height: 200px !important;
        width: auto !important;
    }
    .homeSearch #webIDForm {
        margin-bottom: 230px;
        margin-top: -300px;
    }
    .tp-caption.bold {
        top: 23px !important;
    }
}

@media screen and (max-width: 460px) {
    .homeSearch-center #search-tab > li > a {
        padding-bottom: 30px !important;
    }
}


/* property labels begin */

.labels {
    position: absolute;
    color: rgb(255, 255, 255);
    padding: 0px 5px !important;
    text-transform: uppercase;
    top: -20px;
    left: -1px;
    font-size: 12px;
}

.home-featured .labels {
    top: -22px;
}

.labels span {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 3px 5px;
    margin-left: -3px;
}


/*Changes*/

.labels span.label-status {
    background-color: rgba(238, 46, 42, 0.7);
}


/*Changes*/

.labels span#label-openHouses {
    background-color: rgba(92, 169, 65, 0.7);
}

.labels span#label-noFee {
    background-color: rgba(212, 63, 58, 0.7);
}

.home-featured .item .label,
.portfolio .item .label {
    display: none !important;
}

.image-caption .reduced.rented,
.image-caption .reduced.sold,
.image-caption .reduced.in-contract {
    display: none !important;
}


/* property labels end*/

.home-featured .labels {
    left: -2px;
}

.label.in-contract {
    color: #FFF;
    background-color: #D9534F;
    border-color: #D43F3A;
    font-size: 15px;
    padding: 4px 7px;
    border-radius: 0px;
}

@media screen and (max-width: 767px) {
    .agentImg {
        width: 265px !important;
        display: block;
        margin: auto;
        margin-bottom: 5px;
    }
}

.portfolio .item .clickme {
    right: 0;
    margin-right: 0px;
}

.portfolio .image-caption .loadme {
    right: 0;
}

INPUT#list_type_Sale,
INPUT#list_type_Rent {
    width: 10px !important;
    position: relative;
    margin-top: 0px;
}

.RLS-RebNY {
    top: 104px !important;
}

/* Sticky Menu Attempt - Should Work, but too many conflicts elsewhere */
/*
@media screen and (max-width: 991px) {
    .navbar.basic.fixed {
        position: fixed;
    }
    .navbar-header {
        height: 80px;
    }
    #stickySearch.topSearch {
        top: 80px !important;
    }
}
*/

.header-phone {
    display: none;
    text-align: center;
    float: right;
    color: #D9534F;
    font-weight: 600;
    margin-right: 20%;
    margin-top: 30px;
    z-index: -1;
}
@media screen and (max-width: 991px) {
    .header-phone {
        display: block;
    }
}

/*
#mobileSearchBtn, #searchBtn {
    color: white !important;
    border: 1px solid #c0c0c0 !important;
    background-color: #0066FF !important;
    padding-top: 11px;
    padding-bottom: 11px;
    border-radius: 0;
}
*/

.navbar.basic.fixed .navbar-nav > li > a {
    padding: 0px 7px 9px;
}


@media (max-width: 580px) {

    

}