/* Toolbar */
.toolbar {
    background: #f1eff0;
    padding: 5px;
}
.toolbar label {
    font-weight: 600;
    font-size: 13px;
    color: #4b4b4b;
    cursor: auto;
}
.pageselect {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
}
.page-dropdown {
 	margin-left: 20px;
}
.shadow-top {
  -webkit-box-shadow: 0px -4px 3px rgba(50, 50, 50, 0.75);
  -moz-box-shadow: 0px -4px 3px rgba(50, 50, 50, 0.75);
  box-shadow: 0px -4px 3px rgba(147, 142, 142, 0.42);
}
.calender, .calender label {
  cursor: pointer;
}
/* Caption text */
.text {
    color: #fff;
    font-size: 15px;
    padding: 5px 4px;
    width: 30px;
    background: #b3b3b3;
    border-radius: 50%;
    text-align: center;
    margin: 0px auto;
    display: block;
}
.mySlides img {
    max-height: 900px;
}
.active,
.dot:hover {
    background-color: #717171;
}
/* Heading style 6 */
.six {
  position: relative;
  width: 90%;
  max-width: 500px;
  margin: 1.5em auto;
}
.six h1 {
  text-align: center;
  color: #222;
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  word-spacing: 1px;
  letter-spacing: 2px;
  color: #c50000;
}
.six h1 span {
	display: block;
  line-height: 2em;
  padding-bottom: 15px;
  text-transform: none;
  font-size: 0.7em;
  font-weight: normal;
  font-style: italic;
  font-family: "Playfair Display", "Bookman", serif;
  color: #000;
  letter-spacing: -0.005em;
  word-spacing: 1px;
  letter-spacing: none;
}
.six h1::after,
.six h1::before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45px;
  height: 4px;
  content: "";
  right: 45px;
  margin: auto;
  background-color: #ccc;
}
.six h1::before {
  background-color: #b70000;
  left: 45px;
  width: 90px;
}
/* Fading animation */
.fader {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}
/* SwiperJS */
/*
.swiper {
    max-width: 820px;
    max-height: 1250px;
    height: auto;
}
.swiper-slide img {
    max-width: 100%;
    margin: 0px auto;
    display: block;
    height: auto;
}
*/

/* Scrolling Thumbnail */
.v-scrollbar {
    overflow-y: auto;
    height: 1116px;
    border: 2px solid var(--bs-border-color-translucent);
    background: #f7f7f7;
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #888 #f7f7f7;
    scroll-behavior: smooth;
}

/* WebKit (Chrome, Safari, Edge) */
.v-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.v-scrollbar::-webkit-scrollbar-track {
    background: #f7f7f7;
}

.v-scrollbar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.v-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #666;
}
.vscroll-container {
    border: 1px solid var(--bs-border-color-translucent);
}
.scrollbar-heading {
    text-align: center;
    background: #464646;
    color: #fff;
    margin-bottom: 15px;
    position: sticky;
    top: 0;
	z-index: 9;
}
.page-thumb {
    text-align: center;
    margin-bottom: 5px;
}
.page-thumb img {
    border: 1px solid #8f8f8f;
    width: 60%;
}
.thumb-title {
    background: #464646;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 0px;
    width: 60%;
    margin: 0px auto;
    border-radius: 5px 5px 0 0;
}
.responsive-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}
.newspaper-image {
	max-width: 100%;
	height: auto;
	display: block;
}
.newspaper-image.map {
    content-visibility: auto;
    will-change: transform;
}
.map-container {
	position: relative;
	width: 100%;
}
.newspaper-map {
	max-width: 100%;
	height: auto;
}
@media (max-width: 768px) {
	.desktop-only {
		display: none;
	}
}
/* Calendar Modal Styles */
#calendarModal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.5);
	font-family: Arial, sans-serif;
}

.calendar-container {
	background-color: #ffffff;
	margin: 10% auto;
	padding: 20px;
	border-radius: 8px;
	width: 90%;
	max-width: 320px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	top: 15%;
  	position: relative;
}

.calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.calendar-header-title {
	flex-grow: 1;
	text-align: center;
	font-weight: bold;
	font-size: 1.1em;
}

.calendar-nav-btn {
	background: none;
	border: none;
	font-size: 1.2em;
	cursor: pointer;
	color: #333;
	padding: 5px;
	transition: color 0.3s ease;
}
.calendar-nav-btn svg {
  width: 20px;
  height: 20px;
}
.calendar-nav-btn:hover {
	color: #007bff;
}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
	text-align: center;
}

.calendar-grid .day-name {
	font-weight: bold;
	color: #666;
	padding: 5px 0;
}

.calendar-grid .day {
	padding: 6px;
	border: 1px solid #ddd;
	cursor: pointer;
	transition: background-color 0.3s;
}

.calendar-grid .day:hover {
	background-color: #f0f0f0;
}

.calendar-grid .day.selected {
	background-color: #007bff;
	color: white;
}

.calendar-grid .day.today {
	border: 2px solid #007bff;
	font-weight: bold;
}

.calendar-grid .current-month {
	color: black;
}

.calendar-grid .other-month {
	color: #999;
	cursor: default;
}

.calendar-grid .disabled {
	color: #ccc;
	cursor: not-allowed;
}

.calendar-footer {
	display: flex;
	justify-content: space-between;
	margin-top: 15px;
}

.calendar-footer button {
	padding: 8px 15px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.calendar-footer .btn-cancel {
	background-color: #f0f0f0;
	color: #333;
}

.calendar-footer .btn-ok {
	background-color: #007bff;
	color: white;
}

.calendar-footer .btn-cancel:hover {
	background-color: #e0e0e0;
}

.calendar-footer .btn-ok:hover {
	background-color: #0056b3;
}
/* Modals */
.mod-ed-title {
  text-align: center;
  font-size: 13px;
  color: #393939;
  background:#eee;
}
.modal-close {
  margin-left: auto;
  display: block;
  margin-bottom: 5px;
}
.modal-dialog.slide-up {
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}
.modal.show .modal-dialog.slide-up {
  transform: translateY(0);
}
.modal.slide-down .modal-dialog.slide-up {
  transform: translateY(100%) !important;
}
.image-container {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top center;
    display: block;
    cursor: pointer;
	transition: transform 0.5s ease-in-out, object-fit 0.5s ease-in-out;
	border: 1px solid var(--bs-border-color);
}
.image-container:hover {
  transform: scale(1.05);
   object-fit: contain !important;;
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 400px) {
    .prev,
    .next,
    .text {
        font-size: 11px;
    }
    .swiper {
        max-width: 360px;
        height: 600px;
    }
}
@media (max-width: 768px) {
/*	.newspaper-image { width: 100%; height: auto; max-height: 85vh; object-fit: contain; }
	.swiper-button-next, .swiper-button-prev { transform: scale(0.7); } */
}
