/* CSS Document {
	License: Matthew Quagliano (mattquag.com);
	Author: Christopher Martone (christophermartone.com);
	Publisher: Buffalo Web (buffaloweb.com);

	Original "Design" by LocalEdge
}
Color Palette {
	Dk Blue: #0e335f; Lt Blue: #017bb6;
	Lt Grey: #f2f2f2; Yellow: rgb(240, 201, 71);
}
*/

#dkblue_bg, .uk-navbar-nav > li.uk-active > a, .tm-footer, .uk-offcanvas-bar, .uk-navbar-nav > li.uk-parent.uk-active > a, .uk-navbar-nav > li.uk-parent.uk-active > a:hover {
	background: #0e335f;
}
#ltblue_bg, .uk-panel-box-rounded, .uk-panel-box-primary, #bottom-c, .uk-close-alt, html .uk-nav.uk-nav-offcanvas > li.uk-active > a, .uk-button-primary:hover  {
	background: #017bb6;
}
#yellow_bg, div.yellow-callout {
	background: rgb(240, 201, 71);
}
#ltgrey_bg, .uk-navbar-nav > li:hover > a, #bottom-a, #bottom-e {
	background: #f2f2f2;
}
#black_bg, .uk-button-primary {
	background: #000;
}
#skyline_bg, .tm-footer {
	background-image: url("../img/skyline.png");
	background-position: bottom right;
	background-repeat: no-repeat;
}
#buffalo_bg, #bottom-a {
	background-image: url("../img/buffalo-badge.png");
	background-position: 120% -100px;
	background-repeat: no-repeat;
}
#buffalo_bg, #bottom-c {
	background-image: url("../img/sun-badge.png");
	background-position: -15% -100px;
	background-repeat: no-repeat;
}
#no_bg, .uk-navbar {
	background: none;
}
.uk-panel-box-rounded, #top-a .uk-slideshow .uk-overlay-panel > div, #bottom-d .uk-panel {
	border-top-left-radius: 55px;
	border-bottom-right-radius: 55px;
}
.rounded, .uk-button-primary {
	border-radius: 20px;
}
.uk-slidenav-position .uk-slidenav-next, .uk-slidenav-position .uk-slidenav-previous {
	background: rgb(240, 201, 71, .5);
} 

/* 
Layout
*/
.tm-headerbar {
	margin-top: 5px;
}
#tm-top-a {
	margin-top: 35px;
	z-index: 80;
}
#vert-padding, #main, #bottom-a, #bottom-b, #bottom-c, #bottom-d, #bottom-e, .tm-footer {
	padding-top: 35px;
	padding-bottom: 35px;
}
#top-padding {
	padding-top: 35px;
}
.tm-navbar {
	margin-top: 0;
	margin-bottom: 0;
}
p.uk-panel-icon {
    margin-top: -33px;
    text-align: center;
}

/*
Menus
*/
.uk-navbar-nav > li > a {
	padding: 0 20px;
}
.uk-navbar-nav > li {
	border-left: 1px solid #f2f2f2;
}
.uk-nav li > a {
	border-bottom: 1px solid #017bb6;;
}
.uk-nav-offcanvas ul a {
	padding-top: 7px;
	padding-bottom: 7px;
}


/*
Systems
*/
#slide-overlay {
	position: absolute;
	top: 10px;
	left: auto;
	right: auto;
	max-width: 1200px;
	z-index: 100;
}
#top-a .uk-slideshow .uk-overlay-panel {
	max-width: 1090px;
	margin-left: auto;
	margin-right: auto;
}
#top-a .uk-slideshow .uk-overlay-panel  img {
	position: absolute;
	bottom: -10px;
	left: 15px;
	width: 270px;
}
#top-a .uk-slideshow .uk-overlay-background {
	background: none;
}
#top-a .uk-slideshow .uk-overlay-panel > div {
	background: rgba(14, 51, 95, 0.5);
	max-width: 500px;
}
div.yellow-callout {
	padding: 15px;
	border-top-right-radius: 55px;
	border-bottom-left-radius: 55px;
	width: 350px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: -15px;
}
img.featured-listing-image, img.sold-property-image {
	height: 150px;
}
.sold-properties-banner {

}
.listing-banner {
	height: 350px;
	overflow: hidden;
}
.listing-banner img {
	margin-top: -20%;
}
.uk-slideshow .uk-flex-center {
	justify-content: flex-end;
}

/*
 Typography
 */
html, body, p {
	font-size:  16px;
	line-height:  24px;
}
 #lato_font, body, .uk-navbar-nav > li > a {
 	font-family: 'Lato', Helvetica, Arial, sans-serif;
 }
 #capitalize_font, .uk-navbar-nav > li > a {
 	text-transform: uppercase;
 }
 #dkblue_color, h1.uk-article-title, div.yellow-callout p, #bottom-b .uk-heading {
 	color: #0e335f;
 }
 #ltblue_color, #bottom-a h3.uk-panel-title, div.yellow-callout a:hover, .uk-nav-navbar > li > a:hover, .ltblue-color {
 	color: #017bb6;
 }
 #yellow_color {
 	color: rgb(240, 201, 71);
 }
 #ltgrey_color, .uk-panel-box.uk-contrast .uk-panel-title, .uk-close-alt, .uk-offcanvas .uk-panel p, .uk-nav-offcanvas ul a, .uk-nav-offcanvas > li > a, #bottom-c .uk-heading, .uk-navbar-nav > li.uk-active > a, .uk-nav-navbar > li > a:hover, #bottom-a .uk-contrast h3.uk-panel-title {
 	color: #f2f2f2;
 }
 #black_color {
 	color: #000000;
 }
 #white-color  {
	color:  #FFF;
}
 #normalize {
 	font-size: 15px;
 	line-height: 1.5em;
 }
 #big, div.yellow-callout p {
 	font-size: 20px;
 }
 #heading, h1.uk-article-title, .uk-heading {
 	font-size: 50px;
 	line-height: 1em;
 }
 #bold, .bold, b, strong, h1.uk-article-title, #bottom-a h3.uk-panel-title, .uk-panel-box.uk-contrast .uk-panel-title, div.yellow-callout p {
 	font-weight: 700;
 }
 em {
 	color: inherit;
 }
div.yellow-callout a, .uk-overlay-panel a:not([class]) {
	color: #000;
	text-decoration: none;
}
div.yellow-callout p {
	line-height: 1.5em;
    margin-bottom: 0;
}

a.uk-button.uk-button-large.uk-text-center.searchh-btn {
    background-color: #d9150e;
    color: #fff;
    border-radius: 36px;
}


/*
Mobile
*/
.tm-totop-scroller {
	background: #FFF;
	color: #017bb6;
	top: 35px;
	right: 35px;
	width: auto;
	height: auto;
	padding: 10px;
}
.tm-totop-scroller:before {
	content: "TOP";
	font-size: 15px;
	line-height: 1.5em;
	color: #000;
}
.uk-offcanvas {
	background: rgba(0, 0, 0, 0.8);
}
@media (max-width: 767px) { /* Phones */
	.listing-banner {
		height: 150px;
	}
	.uk-slideshow {
		height: 400px !important;
	}
	.uk-slidenav-position .uk-slidenav-previous {
		display: block !important;
		left: -10px;
		top: auto;
		bottom: 0px;
	}
	.uk-slidenav-position .uk-slidenav-next {
		display: block !important;
		right: -10px;
		top: auto;
		bottom: 0px;
	}
	#top-a .uk-slideshow .uk-overlay-panel img {
		top: auto;
		left: 30%;
		width: 120px;
		bottom: -110px;
	}
	
    #top-a .uk-slideshow .uk-overlay-panel img {
   
        display: none;
    }
}
	
	
	/* Typography */
	.uk-heading {
		font-size: 20px;
	}
}

/* Bugfix */
#top-a .uk-overlay-panel.uk-overlay-bottom {
	/* Prevent the dotnav from ever crossing the "Click here" call to action buttons */
	width: 200px;
    margin-left: auto;
    margin-right: auto;
}
