@import "fonts/css/playfair-display-v40-latin.css";
@import "fonts/css/nunito-v31-latin.css";
:root {
    --bs-font-sans-serif: 'Nunito', sans serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-headers-font: 'Playfair Display', serif;
    --bs-body-font-weight: 400;
    --bs-body-color: #696969;
    --bs-primary: #305081;
    --bs-primary-rgb: 48, 80, 129;
    --bs-link-color: #4c6278;
    --bs-link-color-rgb: 76, 98, 120;
    --bs-link-hover-color: #39699a;
    --bs-link-hover-color-rgb: 57, 105, 154;
    --bs-link-decoration: none;
    --bs-emphasis-color: #696969;
}

.btn-primary {
    --bs-btn-bg: #305081;
    --bs-btn-border-color: #305081;
    --bs-btn-hover-bg: #29446e;
    --bs-btn-hover-border-color: #264067;
    --bs-btn-active-bg: #264067;
    --bs-btn-active-border-color: #243c61;
    --bs-btn-disabled-bg: #305081;
    --bs-btn-disabled-border-color: #305081;
    --bs-btn-focus-shadow-rgb: 79, 106, 148;
}

.site-navbar-search .btn-outline-secondary {
    --bs-btn-border-color: var(--bs-border-color);
    --bs-btn-hover-border-color: var(--bs-border-color);
    --bs-btn-active-border-color: var(--bs-border-color);
}

.pagination {
    --bs-pagination-active-bg: #305081;
    --bs-pagination-active-border-color: #305081;
    --bs-pagination-active-color: #F4F7F1;
}

.pagination {
    --bs-pagination-padding-x: 0.6rem;
    --bs-pagination-padding-y: 0.3rem;
}

.site-navbar-toggler {
    padding: 0.25rem;
}

.site-navbar-toggler .navbar-toggler-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.site-navbar-toggler:focus {
    box-shadow: none;
}

/* Retain a visible indicator for keyboard users. */
.site-navbar-toggler:focus-visible {
    outline: 2px solid #305081;
    outline-offset: 2px;
}

.site-likes-icon {
    position: relative;
    top: 1px;
}

.nav-flag {
    position: relative;
    top: -1px;
}

.nobr {
  white-space:nowrap;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.66em;
  font-family: var(--bs-headers-font);
  font-weight: 500;
  line-height: 1.1;
  color: #253f67;
}

a {
    color: #4c6278;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    #navbarUtility {
        flex-basis: 100%;
        width: 100%;
    }

    #navbarUtility > .navbar-nav {
        padding-bottom: .5rem;
    }

    #navbarPrimary .nav-link {
        padding-top: .25rem !important;
        padding-bottom: .25rem !important;
        border-bottom-color: transparent !important;
        text-decoration: none !important;
    }

    #navbarPrimary .nav-link::before,
    #navbarPrimary .nav-link::after {
        display: none !important;
    }
}

a:hover,
a:focus {
    color: #39699a;
    text-decoration: none;
}

.rounded-md {
    border-radius: 0 !important;
}

@media (min-width: 768px) {
    .rounded-md {
        border-radius: var(--bs-border-radius) !important;
    }
}

/* Main navbar */

.site-main-nav .nav-link, .nav-link {
    position: relative;
    height: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 90%;
}

.site-main-nav .nav-link::after {
    position: absolute;
    right: var(--bs-navbar-nav-link-padding-x);
    bottom: 0;
    left: var(--bs-navbar-nav-link-padding-x);
    height: 1px;
    content: "";
    background-color: currentColor;
    opacity: 0;
}

.site-main-nav .nav-link:hover::after,
.site-main-nav .nav-link:focus-visible::after,
.site-main-nav .nav-link.active::after {
    opacity: 1;
}

.site-navbar-search {
    width: 100%;
}

.fullw-header {
    margin-top: 0;
    padding-top: 1.5rem;
    margin-bottom: 0;
    position: relative;
    background-color: #F4F7F1;
}

.banner {
	background-attachment: scroll, fixed;
    background-position: center center;
    background-size: cover;
    padding: 1em;
}
.banner .mainsearch {
    padding: 1rem 1rem .3rem 1rem;
    margin: 0;
    border-radius: 0;
    opacity: 1;
}

.banner h1 {
	font-size: 1.2rem;
}
@media (min-width: 1010px) {
.banner .htext {
	position: absolute;
	top: 0;
	right: 0;
	width: 40%;
	max-width: 250px;
	padding: .8rem .7rem .7rem 1.2rem;
	color: #305081;
	font: italic 1.6rem var(--bs-headers-font);
	line-height: 1.1;
	font-weight: bold;
	background-color: rgba(255, 255, 255, 0.7);
}
.banner .htext.olan {
	font-size: 1.2rem;
}
.banner .htext .or {
	color: #c84b08;
}
}
@media (max-width: 1009px) {
.banner .htext {
	visibility: hidden;
    display: none;
}
}
@media (min-width: 768px) {
.banner .mainsearch {
    margin: 4rem 0 4rem 3.5rem;
    display: inline-block;
}

.banner .selectgroup label {
	margin-top: 0;
	margin-bottom: 0;
}
.banner p {
	color: #717171;
	font-weight: 600;
}
.banner h1 {
	font-size: 1.55rem;
	color: #4c6278;
}

}

.page-title {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 2rem;
  letter-spacing: -.4px;
}

.accomm-detail h1 {
    font-size: 1.6rem;
    font-weight: 600;
}

.accomm-detail h1 .bi {
    margin-top: -3px;
}

.accomm-detail h2 {
    font-size: 1.35rem;
}

.accomm-detail h3 {
    font-size: 1.3rem;
    font-style: italic;
}

.accomm-detail p {
  margin-top: 0;
  margin-bottom: .5rem;
}

/* Last paragraph in a group, before a different element such as h3 */
.accomm-detail p:has(+ :not(p)),
.accomm-detail p:last-child {
  margin-bottom: 1.2rem;
}

/* For SVG map */

.navimage {
    max-width: 200px;
    max-height: 300px;
}

/* For SIW home pics links */

.wales-area-link { position: relative; height: 10rem; font-size: clamp(.9rem, 1.6vw, 1.3rem); line-height: 1.2; }
.wales-area-link > img { width: 100%; height: 100%; }
.wales-area-link > span { position: absolute; inset: 0; }

/* Footer */

.site-footer {
    font-size: 85%;
}

.site-footer a:not(.btn) {
    color: #6f6f6f;
    text-decoration: none;
}

.site-footer a:not(.btn):hover,
.site-footer a:not(.btn):focus-visible {
    color: var(--bs-nav-link-hover-color);
    text-decoration: none;
}

@media (min-width: 992px) {
    .site-navbar-search {
        width: 18rem;
    }
}

@media (max-width: 767.98px) {
    .site-header-sticky-sm {
        position: sticky;
        top: 0;
        z-index: 1020;
    }
}

/* Accomm rows */

.accomm-list-image { min-height: 12rem; }
@media (max-width: 767.98px) { .accomm-list-image { min-height: 13.8rem; } }
.property-summary-item {font-size: .875rem;}

/* Accomm cards */

.accommcards a {
	color: #212529;
}

.accommcards .card-columns {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    padding: 0;
}

@media (min-width: 36em) {
    .accommcards .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 54em) {
    .accommcards .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}


@media (min-width: 80em) {
    .accommcards .card-columns {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }
}


.accommcards .card:hover {
		border-color: #c4c4c4;
	}

.accomm-cols .accomm-cols-img {
    height: 200px;
    min-height: 200px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-color: inherit;
	border-radius: 5px 5px 0 0;
}

.accomm-cols .card-custom-header {
  position: absolute;
  top: 15px;
  left: 15px;
  max-width: 57%;
  color: #fff;
  font-family:  var(--bs-headers-font);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
}

@media (min-width: 1199.89px) {
  .accomm-cols .card-custom-header {
  max-width: 65%;
  font-size: 1.6rem;
}
}

.accomm-cols .card-custom-rating img {
	height: 20px;
    position: absolute;
    top: 18px;
    right: 18px;
}

.accomm-cols .bookonline-en {
	position: absolute;
	width: 70px;
	height: 56px;
	top: 100px;
	right: 15px;
	background: url('/siw/temp/assets/images/media/book-online-en.png') center / cover no-repeat;
}
.accomm-cols .bookonline-fr {
	position: absolute;
	width: 70px;
	height: 56px;
	top: 100px;
	right: 15px;
	background: url('/siw/temp/assets/images/media/book-online-fr.png') center / cover no-repeat;
}
.accomm-cols .bookonline-de {
	position: absolute;
	width: 70px;
	height: 56px;
	top: 100px;
	right: 15px;
	background: url('/siw/temp/assets/images/media/book-online-de.png') center / cover no-repeat;
}
.accomm-cols .bookonline-cy {
	position: absolute;
	width: 70px;
	height: 56px;
	top: 100px;
	right: 15px;
	background: url('/siw/temp/assets/images/media/book-online-cy.png') center / cover no-repeat;
}

.accomm-cols .descblock {
    font-size: .9rem;
    line-height: 1.4;
    background: rgba(112, 156, 223, 0.86);
    color: #ffffff;
    padding: 5px 50px 0 17px;
    position: absolute;
    top: 170px;
    height: 30px;
    width: 100%;
}

.accomm-cols .propsummary {
	display: flex;
	font-size: 95%;
	font-weight: 600;
	color: #6a6a6a;
	line-height: 1.2;
	border-bottom: 1px solid #e3e3e3;
	margin: 5px 0 10px;
}
.accomm-cols .propsummary .pd {
    padding-bottom: 7px;
}
.accomm-cols .smicons img {
    height: 18px;
}
.accomm-cols .propsummary .pd:last-child {
    flex-grow: 1;
    text-align: right;
}
.accomm-cols .images-count {
    background: rgb(48, 80, 129);
    color: #ffffff;
    padding: 5px 8px;
    position: absolute;
    top: 170px;
    right: 0;
    height: 30px;
    font-size: .9rem;
}

.accomm-cols .card-body {
	padding: .5rem 0;
}

/*.accomm-cols .desc {
	overflow: hidden;
	text-overflow: fade(10);
}*/

.accomm-cols .card-body ul.info {
	padding-left: 2.5rem;
}

.accomm-cols .card-body ul.info li {
	list-style-type: square;
}

.accomm-cols .card-text {
	margin-bottom: .75rem;
}

.accomm-cols .card-body .bcrumb {
	color: #878787;
	font-size: 90%;
	border-bottom: 1px dotted #c7c7c7;
	margin-bottom: .75rem;
}

.accomm-cols .card-footer {
	padding: 0 1.25rem 1rem 1.25rem;
	border: none;
}
.accomm-cols .btn:hover {
	background-color: orange;
	border: 1px solid orange;
	font-weight: 800;
}

/* small icons */

ul.smicons li {
	display: inline-block;
    padding: 0 .2em 0 0;
}

ul.smicons li:last-of-type {
    padding: 0 0 0 0;
}


ul.smicons {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: inline-block;
}

@media (max-width: 575.98px) {
	ul.smicons {
		justify-content: center;
		display: flex;
	}
}

ul.smicons img {
	height: 22px;
}
ul.smicons.smlr img {
	height: 16px;
}
ul.smicons.smlr li {
	padding-right: .2em;
}

/* navbar-list */

.navbar-list-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-list-nav-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.2rem 0;
}

.navbar-list-nav-icon {
  flex: 0 0 1.1rem;
  width: 1.1rem;
  padding-top: 0;
  font-size: .95rem;
  text-align: center;
}

.navbar-list-nav-icon.lrg {
  font-size: 1.4rem;
  flex: 0 0 1.6rem;
  width: 1.6rem;
}

.navbar-list-nav-text {
  flex: 1 1 auto;
  min-width: 0;
}

.navbar-list-nav-propname {
  font-weight: 600;
}

.navbar-list-nav-propname.lrg {
  font-size: 1.2rem;
  font-family: var(--bs-headers-font);
  color: #253f67;
}

.nav-item h1 {
  font-size: 0.9375rem;
  line-height: 1;
  margin-bottom: 0;
  color: var(--bs-nav-link-color);
}

/* Lil pics */

.smpics-gallery {
    display: flex;
    flex-flow: row wrap;
    gap: 3px;
    align-content: stretch;
    position: relative;
    z-index: 0;
    margin-bottom: 1rem;
}

.smpics-gallery .col {
    flex: 1 0 calc((100% - 6px) / 3);
    min-width: 0;
    height: 70px;
    padding: 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    border: 0;
    border-radius: 5px;
}

.smpics-gallery .col.col-taller {
    flex-basis: calc((100% - 6px) / 3);
    height: 80px;
    background-color: #e0f3f7;
}

.smpics-gallery .wrap {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-indent: 100%;
}

.smpics-gallery .col:hover {
    opacity: 1;
}

/* leaflet maps */

#map {
    height: 300px;
}

#lg_map {
    height: 100%;
    width: 100%;
    display: block;
}

/* Map markers layout */

    .property-map-layout {
    height: calc(100vh - 275px);
    height: calc(100dvh - 275px);
    overflow: hidden;
}

/* Mobile: list above map */
.property-results {
    height: 40%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.property-map {
    height: 60%;
    min-height: 0;
}

.property-map #map {
    width: 100%;
    height: 100%;
}

/* Larger screens: columns side by side */
@media (min-width: 768px) {
    .property-results,
    .property-map {
        height: 100%;
    }
}

/* Property detail gallery */ 

.property-gallery-shell {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f4f7f1;
}

.property-gallery-viewport {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
    scroll-behavior: smooth;
}

.property-gallery-viewport::-webkit-scrollbar {
    display: none;
}

.property-gallery-viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.property-gallery-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 3px;
    width: max-content;
}

.property-gallery-item {
    display: block;
    flex: 0 0 auto;
    height: 350px;
    margin: 0;
    padding: 0;
    -webkit-user-drag: none;
}

.property-gallery-item img {
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.property-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: #305081;
}

.property-gallery-prev {
    left: 1rem;
}

.property-gallery-next {
    right: 1rem;
}

@media (max-width: 991.98px) {
    .property-gallery-item {
        height: 280px;
    }
}

@media (max-width: 575.98px) {
    .property-gallery-item {
        height: 220px;
    }

    .property-gallery-nav {
        width: 2.25rem;
        height: 2.25rem;
    }

    .property-gallery-prev {
        left: 0.5rem;
    }

    .property-gallery-next {
        right: 0.5rem;
    }
}

/* Linear calendar */

/* Table */

@media (min-width: 1010px) {
.calout {
	width: 100%;
	display: flex;
	justify-content: center;
	border: 1px solid #dfdfdf;
	padding: 1rem 0;
}
}

.cal.table-wrapper {
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
}

.cal table {
	margin: 0 0 2em 0;
	width: 100%;
}

	.cal table tbody tr {
		border: solid 1px rgba(144, 144, 144, 0.25);
		border-left: 0;
		border-right: 0;
	}

		.cal table tbody tr:nth-child(2n + 1) {
			background-color: rgba(144, 144, 144, 0.075);
		}

	.cal table td {
		padding: 0.75em 0.75em;
	}

	.cal table th {
		color: #616161;
		font-size: 0.9em;
		font-weight: 500;
		padding: 0 0.75em 0.75em 0.75em;
		text-align: left;
	}

	.cal table thead {
		border-bottom: solid 2px rgba(144, 144, 144, 0.25);
	}

	.cal table tfoot {
		border-top: solid 2px rgba(144, 144, 144, 0.25);
	}

	.cal table.alt {
		border-collapse: collapse;
	}

		.cal table.alt tbody tr td {
			border: solid 1px #fff;
			border-left-width: 0;
			border-top-width: 0;
		}

			.cal table.alt tbody tr td:first-child {
				border-left-width: 1px;
			}

		.cal table.alt tbody tr:first-child td {
			border-top-width: 1px;
		}

		.cal table.alt thead {
			border-bottom: 0;
		}

		.cal table.alt tfoot {
			border-top: 0;
		}

	/*.cal .calblock {
		min-height: 240px;
	}*/

	.cal table.alt.cal td {
		text-align: center;
		padding: 0 0.1em;
		background-color: #aac9fa;
	}

	.cal table.alt.cal th {
		color: #616161;
		font-size: 0.7em;
		font-weight: 500;
		padding: 0;
		text-align: center;
	}


	.cal table.alt.cal td.unavailable {
		background-color: #fea28d;
	}

	.cal .available + .unavailable {
	    background-color: #fea28d;
	    background-image: linear-gradient(-45deg, #fea28d 50%, #aac9fa 50%);
	}

	.cal .unavailable + .available {
	    background-color: #fea28d;
	    background-image: linear-gradient(-45deg, #aac9fa 50%, #fea28d 50%);
	}

	.cal table.alt.cal td.past {
		color: #bdbdbd;
		background-color: #dadada;
	}

	.cal table.alt.cal td.emptyspace {
		background-color: #edeaea;
	}

	.cal table.alt.cal td.month {
		text-align: left;
		padding: 0 5px;
		background-color: #edeaea;
	}


	.cal table.alt.cal.avline {
		table-layout: fixed;
	}

	.cal table.alt.cal.avline tbody {
		display: block;
		overflow: auto;
	}

	.cal table.alt.cal.avline td {
		line-height: 1.4em;
		font-size: .7em;
		font-weight: 400;
		min-width: 19px;
		border-top: 1px solid #fff;
		border-left: 1px solid #fff;
	}

	.cal table.alt.cal.avline td.month {
		min-width: 70px;
	}

	.cal table.alt.cal.avline th {
		color: #fff;
		background-color: #305081;
	}

	.cal .calkey {
		margin-top: 1rem;
		float: right;
	}

	@media (max-width: 991.98px) {
	.cal .calkey {
		margin-top: 0;
		float: left;
	}
	}

	.cal .ckavail {
	    background-color: #aac9fa;
	    padding: 3px 6px;
	    margin-left: 8px;
	    border-radius: 2px 0 0 2px;
	}
	.cal .ckunavail {
	    background-color: #fea28d;
	    padding: 3px 6px;
	    margin: 12px 0;
	    border-radius: 0 2px 2px 0;
	}

    /* Other stuff */

    .telnums {
    display: none;
    }

    .telnums.is-visible {
        display: block;
    }

    /* detail page below-title block */

    .summary-row {
    background-color: #f4f7f1;
    }

    @media (max-width: 575.98px) {
    .summary-cell {
        border-bottom: 1px solid #dee2e6;
    }

    .summary-cell:last-child {
        border-bottom: 0;
    }
    }

    /* Enq form captcha */
    .property-enquiry-captcha img 
        {display:block;max-width:100%;height:auto
        }

    /* Pics gallery display */

    .pics-cards {
    column-count: 1;
    column-gap: 1rem;
}

.pics-cards .card {
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    break-inside: avoid;
}

@media (min-width: 576px) {
    .pics-cards {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .pics-cards {
        column-count: 3;
    }
}

@media (min-width: 1200px) {
    .pics-cards {
        column-count: 4;
    }
}

/* Column width sizer */

.col-sizer {
  width: 100%;
}

@media (min-width: 992px) {
  .col-sizer {
    width: 85%;
  }
}

/* Text shadow */
.dshadow {
    text-shadow: -2px 2px 3px rgba(0, 0, 0, 1);
}