/* -----------------contact.html ---------------------------------------------*/

.ContactBox{
	margin: 0 auto;
	max-width: 570px;
	background-color: #fff;
	vertical-align: top;
	text-align: left;
	padding: 10px;
	margin-bottom: 38px;
	margin-top: 20px;
	border-radius: 3px;
	/*-moz-box-shadow: 0 -1px 3px 0 rgba(0,128,128,0.08), 5px 5px 3px 0 rgba(0,128,128,0.10);
	-webkit-box-shadow: 0 -1px 3px 0 rgba(0,128,128,0.08), 5px 5px 3px 0 rgba(0,128,128,0.10);
	box-shadow: 0 -1px 3px 0 rgba(0,128,128,0.08), 5px 5px 3px 0 rgba(0,128,128,0.10);*/
	-moz-box-shadow: 0px -1px 3px 0px rgba(0,75,66,0.3), 8px 12px 15px 0px rgba(0,75,66,0.35);
	-webkit-box-shadow: 0px -1px 3px 0px rgba(0,75,66,0.3), 8px 12px 15px 0px rgba(0,75,66,0.35);
	box-shadow: 0px -1px 3px 0px rgba(0,75,66,0.3), 8px 12px 15px 0px rgba(0,75,66,0.35);	
	transition: box-shadow 0.2s ease-out;
	}
		.ContactBox:hover{
		/*box-shadow: inset rgba(0,128,128,1) 0 0 5px;*/
		-moz-box-shadow: 0px -1px 3px 0px rgba(0,128,128,0.3), 5px 5px 3px 0px rgba(0,128,128,0.20);
		-webkit-box-shadow: 0px -1px 3px 0px rgba(0,128,128,0.3), 5px 5px 3px 0px rgba(0,128,128,0.20);
		box-shadow: 0px -1px 3px 0px rgba(0,128,128,0.3), 5px 5px 3px 0px rgba(0,128,128,0.20);		
		}

#quotes .ui-table-columntoggle-btn {
	margin-bottom:3px;
}

#contactGuestComments .commentsPitfalls li{
	padding-top: 5px;
	padding-left: 20px;
	line-height: 20px;
	list-style-type: none;
	background: url(pbayImages/bullet.png) no-repeat 0 10px;
}

#guestcommentsTable1,
#guestcommentsTable2 {
	border-width: 0 1px 2px 1px;
	border-spacing: 0;
	border-color:#d2bd86;
	border-collapse: collapse;
	border-style: solid;
	margin-bottom:8px;
}

#guestcommentsTable1 thead th,
#guestcommentsTable2 thead th{
	background: rgb(1,75,66);
	color: #fff;
	text-shadow:none;
	text-align:center;
}

#guestcommentsTable1 th,
#guestcommentsTable2 th,
#guestcommentsTable1 td,
#guestcommentsTable2 td{
	margin: 0;
	padding: 4px;
	border-color:#d2bd86;
	border-width: 1px 1px 0 0;
	border-style: solid;
	}
	#guestcommentsTable1 td + td,
	#guestcommentsTable2 td + td{
		margin: 0;
		padding: 4px;
		border-color:#d2bd86;
		border-width: 1px 1px 0 0;
		border-style: solid;
		text-align:center;
	}



p.angComment{
	background-color: rgb(258, 238, 218);
	border-radius: 15px;
	box-shadow: 0 0 6px #B2B2B2;
	display: inline-block;
	padding: 10px 25px;
	position: relative;
	vertical-align: top;
	margin: 3px 0 20px 0;
	text-align: left !important;
	box-shadow: 0 5px 0 #dce8ed;
}

p.angComment::before {
	background-color: rgb(258, 238, 218);
	content: "\00a0";
	display: block;
	height: 25px;
	width: 25px;
	position: absolute;
	bottom: -12px;
	transform: rotate(47deg) skew(5deg);
	-moz-transform: rotate(47deg) skew(5deg);
	-ms-transform: rotate(47deg) skew(5deg);
	-o-transform: rotate(47deg) skew(5deg);
	-webkit-transform: rotate(47deg) skew(5deg);
	/*box-shadow: 1px 1px 1px 0 rgba( 178, 178, 178, .4 );*/
	box-shadow: 0 5px 0 #dce8ed;
}


.commenter{
	white-space:normal !important;
	padding-top: 15px;
	text-align:right !important;
	color: rgb(1,75,66);
	font-style:italic;
	font-weight:bold;
}

/* ========================================= */
/* PREMIUM QUOTES LAYOUT REDESIGN            */
/* ========================================= */

#quotesAreaBox{
    max-width: 800px;
    margin: 0 auto;
}

/* Quote Cards Container */
.functionArea-slideshow {
    width: 100%;
    margin: 20px auto 40px auto;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 75, 66, 0.08), 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    border: none;
    text-align: left;
    box-sizing: border-box;
    /* Removed overflow: hidden to fix cut-off quotation mark */
}

/* The quotation mark icon */
.functionArea-slideshow::before {
    content: "\201C"; /* Left double quote */
    font-family: Georgia, serif;
    font-size: 100px;
    color: rgba(210, 189, 134, 0.3);
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
    z-index: 0;
}

/* Individual Slides */
.functionArea-slideshow div.scollingKo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    z-index: 2;
    padding: 70px 50px 45px 50px; /* Reduced left/right padding since arrows are now outside/below the card */
    box-sizing: border-box; /* Crucial so width 100% doesn't overflow */
}

/* Active Slide */
.functionArea-slideshow div.scollingKo.pg-active {
    position: relative; /* Let container auto-height based on active slide */
    opacity: 1;
    pointer-events: auto;
    z-index: 3;
}

/* ── Premium Arrows ── */
.pg-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(1, 75, 66, 0.35);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #014B42;
    transition: all 0.25s ease;
    box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}
.pg-arrow:hover {
    background: #014B42;
    border-color: #014B42;
    color: #ffffff;
    box-shadow: 0 4px 24px rgba(1, 75, 66, 0.4);
    transform: translateY(-50%) scale(1.1);
}
.pg-arrow:active {
    transform: translateY(-50%) scale(0.97);
}
.pg-arrow svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}
.pg-arrow-prev { left: 16px; }
.pg-arrow-next { right: 16px; }

/* ── Bottom Arrows Wrapper ── */
.quotes-nav-wrap {
    display: flex;
    justify-content: space-between;
    margin: 20px auto 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}
.quotes-nav-wrap .pg-arrow {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 75, 66, 0.08);
}
.quotes-nav-wrap .pg-arrow:hover {
    transform: scale(1.1);
}
.quotes-nav-wrap .pg-arrow:active {
    transform: scale(0.97);
}

@media (max-width: 600px) {
    .pg-arrow { width: 38px; height: 38px; }
    .pg-arrow svg { width: 16px; height: 16px; }
    .pg-arrow-prev { left: 8px; }
    .pg-arrow-next { right: 8px; }
    .functionArea-slideshow div.scollingKo {
        padding: 60px 24px 40px 24px; /* smaller top/bottom and left/right padding on mobile */
    }
    .quotes-nav-wrap {
        margin: 15px auto 0 auto;
        padding: 0 5px;
    }
}

/* ── Progress Bar ── */
.pg-progress {
    width: 100%;
    height: 4px;
    background: rgba(1, 75, 66, 0.1);
    position: relative; /* Positioned relative to sit above the card */
    margin: 0 0 16px 0; /* Space below the progress bar */
    overflow: hidden;
    border-radius: 2px; /* Smooth rounded corners */
}
.pg-progress-bar {
    height: 100%;
    width: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, #014B42, #028C7A);
    will-change: transform;
}

@keyframes pgFill {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.functionArea-slideshow div.scollingKo p.L {
    font-size: clamp(1.1rem, 2vw, 1.3rem) !important;
    font-style: italic;
    color: #2c3e50;
    text-align: left !important;
    line-height: 1.8;
    margin-bottom: 40px; /* Increased space below the quote text */
    padding: 0 10px;
    max-width: none !important;
}

.functionArea-slideshow div.scollingKo p.commenter {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    text-align: right !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 10px;
    padding-right: 20px;
    margin: 0;
    max-width: none !important;
    display: block;
}

.functionArea-slideshow div.scollingKo p.commenter::before {
    content: "— ";
    color: #014B42;
    font-weight: 700;
}

/* Pager dots */
.cycle-pager {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: relative; /* Positioned relative to sit above the card */
    margin: 0 auto 24px auto; /* Centered, with space below */
    width: 100%;
    z-index: 10;
}

.cycle-pager span {
    font-size: 0; /* Hide default dot character */
    width: 12px;
    height: 12px;
    background: rgba(1, 75, 66, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0;
    margin: 0;
}

.cycle-pager span.cycle-pager-active {
    background: #014B42;
    transform: scale(1.2);
}

#functionAreaCaption{
	width: 100%;
	position: absolute;
	bottom: 0;
	z-index: 1000;
}
#quotesArea .functionArea-next{
	margin-left: 20px;
}

/* ========================================= */
/* MODERN GUEST COMMENTS TABS & MASONRY      */
/* ========================================= */

.pbrs-testimonials-container {
    max-width: 1200px;
    margin: 60px auto 40px auto;
    padding: 0 15px;
}

/* Tabs Navigation */
.pbrs-comments-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.pbrs-tab-btn {
    background: #fdfdfd;
    color: #014B42;
    border: 1px solid rgba(1, 75, 66, 0.15);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.pbrs-tab-btn:hover {
    background: rgba(1, 75, 66, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.pbrs-tab-btn.active {
    background: #014B42;
    color: #ffffff;
    border-color: #014B42;
    box-shadow: 0 8px 20px rgba(1, 75, 66, 0.25);
}

/* Tab Content */
.pbrs-tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.pbrs-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Masonry Grid Layout */
.pbrs-comments-masonry {
    column-count: 1;
    column-gap: 24px;
}





/* Individual Comment Card */
.pbrs-comments-masonry li {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 24px;
    margin: 0 auto 24px auto;
    max-width: 800px;
    break-inside: avoid;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    list-style: none; /* remove bullet points */
    display: block; /* ensure block layout */
}

.pbrs-comments-masonry li:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Quote icon decorative element */
.pbrs-comments-masonry li::before {
    content: "\201C";
    font-family: Georgia, serif;
    font-size: 60px;
    color: rgba(1, 75, 66, 0.25);
    position: absolute;
    top: 5px;
    left: 20px;
    line-height: 1;
    z-index: 0;
}

.pbrs-comments-masonry li p.L {
    position: relative;
    z-index: 1;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem) !important;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    max-width: none !important;
}

.pbrs-comments-masonry li p.commenter {
    font-size: 0.85rem;
    font-weight: 700;
    color: #014B42;
    text-align: right !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0 auto;
    padding-top: 15px;
    border-top: 1px solid rgba(1, 75, 66, 0.1);
    width: fit-content;
}

.pbrs-comments-masonry li p.commenter::before {
    content: "— ";
}

/* View More Section */
.pbrs-comments-masonry.collapsed li:nth-child(n+7) {
    display: none;
}

.pbrs-view-more-wrap {
    text-align: center;
    margin-top: 30px;
}

.pbrs-view-more-btn {
    background: transparent;
    color: #014B42;
    border: 2px solid #014B42;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pbrs-view-more-btn:hover {
    background: #014B42;
    color: #ffffff;
}