body { font-size: 16px; color: #333; font-family: 'Lato', sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: #4C93BD; }
a:hover { color: #1B3860; text-decoration: none; }
a, .btn, img { transition: all 0.2s linear; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .navbar-brand {  color: #333; font-weight: 700 }



img.logo { max-width: 250px;}

#home-banner { background-position: center top; background-repeat: no-repeat; background-size: cover; background-image: url('/img/bantham-home-banner.jpg');  }
#home-banner .col { min-height: 300px; }
#home-banner p { color: #fff; text-shadow: 1px 1px 20px rgba(0,0,0,.2); color: #fff;  }

#home-banner .overlay { text-align: center; padding: 30px; background-color: rgba(0, 0, 0, 0.3); }


#town-banner { background-position: center center; background-repeat: no-repeat; background-size: cover;  }
#town-banner .col { min-height: 250px; }
#town-banner h1 { color: #fff; text-shadow: 1px 1px 20px rgba(0,0,0,.2); display: inline-block; color: #fff; padding: 15px; background-color: rgba(0, 0, 0, 0.3); }

.card, .card-img { border-radius: 0; border: none; }
.card-img-top { border-radius: 0}
.card-columns { -webkit-column-count: 1; -moz-column-count: 1; column-count: 1; }
.card-img-overlay a { color: #fff; display: block; height: 100%; width: 100%; }

.c-white { color: #fff;}
.bg-blue { /* background-color: #69A0EC; */ background-color: #4C93BD; }
.bg-dark-blue { /* background-color: #69A0EC; */ background-color: #1B3860; }
.c-blue { /* color: #69A0EC; */ color: #4C93BD; }

.badge { padding: .33em .5em}
.badge-secondary { background-color: #ccc; }
.btn { border-radius: 0; padding: 0.75rem 2rem; border-width: 2px; text-transform: uppercase; font-size: 12px; letter-spacing: 2px; }
.btn-default { background-color: #4C93BD; border-color: #4C93BD; color: #fff; }
.btn-default:hover { background-color: #fff; border-color: #4C93BD; color: #4C93BD; }




.card-footer {
    border-top: none;
    background-color: transparent;
    padding: 1.25rem;
    }


footer { font-size: 0.85rem; }
footer a:link { color: #fff; text-decoration: none; }
footer a:visited { color: #fff; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer a:active { color: #fff; text-decoration: none; }


/* property page carousel */
.slick-prev:before, .slick-next:before { font-family: "Font Awesome 5 Free"; font-size: 32px; line-height: 0.3; color: #69A0EC; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background:#fff; padding: 5px; }   
.slick-next { right:17px; z-index: 1001}
.slick-prev { z-index: 1000; left:11px; }
.slick-prev:before { content: "\f053"; }
[dir="rtl"] .slick-prev:before { content: "\f053"; }
.slick-next:before { content: "\f054"; }
[dir="rtl"] .slick-next:before { content: "\f054"; }
.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus { color: #fff; opacity: 1; }
/* .slick-prev:before, .slick-next:before { font-size: 42px; color: #69A0EC; opacity: 0.5;  }  */

/* navbar */
.navbar-dark .navbar-toggler-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E"); }
.navbar { padding-left: 0; padding-right: 0; }
.navbar-dark .navbar-nav .nav-link { color: #fff; }
.navbar-dark .navbar-toggler { border-color: #fff; background-color: transparent; border-radius: 0; }
.dropdown-menu { border: none; border-radius: 0; background-color:#69A0EC }
.dropdown-item { color: #fff; }
.dropdown-item:focus, .dropdown-item:hover { background: #fff; color: #69A0EC }
.yamm .yamm-content { padding: 0}

/* pagination */
.page-item:last-child .page-link { border-radius: 0;}
.page-item:first-child .page-link { border-radius: 0;}
.page-item.active .page-link { background-color: #69A0EC; border-color: #69A0EC; }
.page-link { color: #69A0EC; }
.page-link:hover { color: #69A0EC; }

.property-carousel img { height: 300px; }

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px)
{	
	.property-carousel .slick-slide img { opacity: 0.9 !important }
	.property-carousel .slick-current img { opacity: 1 !important; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px)
{
	#town-banner .col { min-height: 300px; }
	.card-columns { -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; }
	.property-carousel img { height: 350px; }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px)
{
	#town-banner .col { min-height: 350px; }
	.dropdown-menu { margin-top: 0;}
	.navbar-expand-lg .navbar-nav .nav-link { padding-left: 2rem; padding-right: 2rem; }
	.yamm .yamm-content { padding: 20px 30px; }
	#home-banner .col { min-height: 400px; }
	.property-carousel img { height: 400px; }
	
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px)
{
	.slick-next { right:32px; }
.slick-prev {  left:26px; }
	#town-banner .col { min-height: 425px; }
	#home-banner .col { min-height: 500px; }
	/* .card-columns { -webkit-column-count: 3; -moz-column-count: 3; column-count: 3; } */
	.property-carousel img { height: 500px; }
	.navbar-expand-xl .navbar-nav .nav-link {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
}



/* https://stackoverflow.com/questions/28357617/slick-js-hide-slider-until-images-have-loaded */
.property-carousel {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    -webkit-transition: opacity 1s ease;
}
.property-carousel.slick-initialized {
    visibility: visible;
    opacity: 1;    
}