body { font-size: 15px; color: #575756; font-family: 'Open Sans', sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: #426DA9; }
a:hover { color: #426DA9; }
a, .btn, img { transition: all 0.2s linear; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .navbar-brand {  color: #2d2d2d; font-weight: 300; font-family: 'Libre Baskerville', serif; }

.page-link { color: #969696; }
.page-item.active .page-link { background-color: #426DA9; border-color: #426DA9; }
.bg-dark { background-color: #2d2d2d !important; }
.font-cursive { font-family: 'Kristi', cursive; }
/* .fs-56 { font-size: 56px; } */
/* .fw-300 { font-weight: 300; } */
img.logo { max-width: 250px;}
#banner { background-position: center center; background-repeat: no-repeat; background-size: cover; background-image: url('/img/default-salcombe-banner.jpg');  }
#banner .col { min-height: 300px; }
.results-banner .col { min-height: 300px !important; }
#banner .col .text-right { padding: 20px; /* background-color: rgba(0, 0, 0, 0.3); */ }
#banner p { color: #fff; text-shadow: 1px 1px 20px rgba(0,0,0,.2); color: #fff;  }
#banner .overlay { text-align: center; padding: 30px; /* background-color: rgba(0, 0, 0, 0.3); */ }
#banner .title, #banner .subtitle { color: #fff; line-height: 1; }
#banner .title { font-weight: 300; }
#banner .subtitle { font-size:56px; letter-spacing: 5px }

/*
#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; 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; }
.c-blue { color: #426DA9; }

.c-grey { color: #969696; }

.badge { padding: .5em .5em;}
.badge-secondary { background-color: #868686; }
.btn { border-radius: 0; padding: 0.6rem 1.2rem; border-width: 2px }
.btn-default { background-color: #426DA9; border-color: #426DA9; color: #fff; }
.btn-default:hover { background-color: #fff; border-color: #426DA9; color: #426DA9; }

/*
.btn-primary { background-color: #2d2d2d; border-color: #2d2d2d; color: #fff; }
.btn-primary:hover { background-color: #fff; border-color: #2d2d2d; color: #2d2d2d; }
*/

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-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:#2d2d2d; font-size: 15px; }
.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;}

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




.navbar-brand { font-size: 0.85rem; }

@media (min-width: 475px)
{	
	.property-carousel .slick-slide img { opacity: 0.9 !important }
	.property-carousel .slick-current img { opacity: 1 !important; }
	.navbar-brand { font-size: 1.25rem; }
}

/* 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)
{
	.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)
{
	.dropdown-menu { margin-top: 0;}
	.yamm .yamm-content { padding: 20px 30px; }
	#banner .col { min-height: 400px; }
	.results-banner .col { min-height: 350px !important; }
	.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; }
	#banner .col { min-height: 600px; }
	.results-banner .col { min-height: 450px !important; }
	/* .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;    
}