/* Version 1.7 */

/* Variables */

:root {
	--border-radius-outside: 25px;
	--border-radius-inside: 10px;
	--border: none;
	--hr: 4px solid black;
	--header-font: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	--width: 98%;
	--background-color: rgb(30, 30, 30);
	--menu-highlight-color: lightgrey;
	--menu-height: auto;
	--main-menu-height: auto;
	--middlesex-height: auto;
	--worcester-height: auto;
	--westchester-height: auto;
	--monmouth-height: auto;
	--barnstable-height: auto;
	--new_jersey-height: auto;
	--ct-menu-height: auto;
	--ri-menu-height: auto;
	--left-menu: 70%;
	--left-menu-height: auto;
	--left-menu-overflow: auto;
	--left-ma: 37%;
	--left-ny: 51.6%;
	--left-nj: 42%;
	--left-other: 54.9%;
	--left-jump: 54.7%;
	--navbtn-padding: 5px 10px;
	--scrollbar-padding: none;
	--scrollbar-padding-main: none;
	--scrollbar-background: darkgray;
	--border-radius-menu: 5px;
	--h2-font-size: 31px;
	--background-image: none;
}

/* HTML Tags */

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	scroll-padding-top: 35px;
	scrollbar-width: thin;
	scrollbar-color: var(--menu-highlight-color) var(--scrollbar-background);
	/* scroll-behavior: smooth; */
}

html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

::-webkit-scrollbar {
	width: 8px;
	background: var(--scrollbar-background);
}

::-webkit-scrollbar-thumb {
	background: var(--menu-highlight-color);
	border-radius: 5px;
}

html,
button,
input,
select,
textarea {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
}

header {
	margin-top: 30px;
}

body {
	color: #141412;
	line-height: 1.5;
	margin: 0;
}

body,
html {
	height: 100%;
	margin: 0;
	background-color: black;
}

a {
	color: white;
	text-decoration: none;
}

a:visited {
	color: white;
}

a:focus {
	outline: thin dotted;
}

a:active,
a:hover {
	color: #ea9629;
	outline: 0;
}

a:hover {
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: var(--header-font);
	line-height: 1.3;
}

h1 {
	font-size: 48px;
	margin: 33px 0;
}

h2 {
	font-size: var(--h2-font-size);
	margin: 10px 5px 15px 5px;
	text-shadow: 5px 5px 10px black, 0 0 25px black, 0 0 5px black;
}

h3 {
	font-size: 28px;
	margin: 10px 0;
}

h4 {
	font-size: 20px;
	/* margin: 10px 0; */
	margin: 10px 10px 10px;
	font-weight: bold;
}

h5 {
	font-size: 18px;
	margin: 30px 0;
}

h6 {
	font-size: 16px;
	margin: 36px 0;
}

p {
	margin: 10px 10px 15px;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
}

summary a * {
	pointer-events: none;
}

details>summary {
	list-style: none;
	margin: 10px 10px 24px;
}

summary::-webkit-details-marker {
	display: none
}

summary::after {
	content: ' \25b6\fe0e';
	color: white;
}

details[open] summary:after {
	content: ' \25bc\fe0e';
	color: white;
}

section details summary:after {
	content: ' \25b6\fe0e' !important;
	display: inline !important;
	color: white;
}

section details[open] summary:after {
	content: ' \25bc\fe0e' !important;
	display: inline;
	color: white;
}

section {
	margin-bottom: 5px;
}

details summary {
	cursor: pointer;
}

details summary>* {
	display: inline;
}

button {
	background-color: transparent;
	border: none;
	cursor: pointer;
	touch-action: manipulation;
	font-weight: bold;
}

table {
	margin: auto;
	text-align: left;
}

tr h6 {
	margin: 5px;
}

td,
th {
	/* border: 1px solid var(--hr);  */
	vertical-align: text-top;
	text-align: left;
	padding: 5px;
}

td.wide {
	width: 165px;
}


/* Class Styles */

@media screen and (max-width: 720px) {
	* {
		scroll-padding-top: 45px;
	}

	.blog-box {
		width: 90%;
	}

	.center-img {
		width: 90%;
	}

	.navbuttons {
		display: none;
	}

	.large-screen {
		display: none;
	}
}

@media screen and (min-width: 721px) {
	.blog-box {
		width: 75%;
		scroll-margin-top: 12px;
	}

	.center-img {
		width: 75%;
	}

	.navmenu {
		display: none;
		justify-content: right;
	}

	.small-screen {
		display: none;
	}
}

.bg {

	background-image: var(--background-image);
	/* Full height */
	height: 100%;

	/* Center and scale the image nicely */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow-y: auto;
}

.subheader {
	font-size: 18px;
	margin-bottom: 15px;
	text-shadow: 5px 5px 10px black, 0 0 25px black, 0 0 5px black;
	text-align: center;
	color: white;
}

.subheader2 {
	font-size: 16px;
	margin-top: -20px;
	/* text-shadow: 5px 5px 10px black, 0 0 25px black, 0 0 5px black; */
	text-align: center;
	color: white;
}

.h4nav {
	font-size: 20px;
	margin: 0;
}

.divider {
	font-size: 16px;
	margin-left: 10px;
	padding-bottom: 5px;
	text-decoration: underline;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
	border: 5px solid white;
}

.center-box {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: var(--width);
	border: var(--border);
	aspect-ratio: 16 / 9;
	border-radius: var(--border-radius-inside);
}

.center-box-video {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: var(--width);
	border: var(--border);
	aspect-ratio: 16 / 9;
	border-radius: var(--border-radius-inside);
}

.center-box-banner {
	display: block;
	width: 100%;
	border-radius: var(--border-radius-inside);
	/* box-shadow: 5px 5px 10px var(--background-color); */
}

.navup,
.navdown {
	visibility: hidden;
	
}

.navup:active,
.navdown:active {
	filter: drop-shadow(5px 5px 5px white);
}

.town-list h4 {
	font-size: 24px;
	margin: 10px 10px 24px;
}

.town-list h5 {
	font-size: 20px;
}

.welcome-message {
	margin: 10px 10px 10px;
}

.arrowstyle,
.arrowstyle-small {
	color: var(--menu-highlight-color);
	font-weight: bolder;
	margin: -15px;
	font-size: 50px;
}

/* .arrowstyle {
	font-size: 50px;
}

.arrowstyle-small {
	font-size: 40px;
} */

.flip {
	transform: rotate(180deg);
}

.blog-box {
	display: grid;
	text-align: center;
	color: white;
	margin: 0 auto;
	border: var(--border);
	background-color: var(--background-color);
	box-shadow: 5px 5px 10px black, 0 0 25px black, 0 0 5px black;
	border-radius: var(--border-radius-outside);
	text-shadow: none;
}

.blog-box details>summary {
	list-style: none;
	margin: 10px 10px 24px;
}

.multi-bottom details>summary,
.multi-middle details>summary {
	margin: 0px 10px 24px;
}

.no-border {
	border: none;	
}

.blog-box details[open] summary:after {
	content: ' \25bc\fe0e';
	color: white;
}

.blog-box details summary:after {
	content: ' \25b6\fe0e';
	color: white;
}

.multi-bottom details[open] summary:after,
.multi-bottom details summary:after,
.multi-middle details[open] summary:after,
.multi-middle details summary:after {
	display: flex;
	align-items: center;
	flex-direction: column;
}


.multi-top {
	border-radius: var(--border-radius-outside) var(--border-radius-outside) 0px 0px;
}

.multi-middle {
	border-radius: 0px;
}

.multi-bottom {
	border-radius: 0px 0px var(--border-radius-outside) var(--border-radius-outside);
}

.banner-blog {
	box-shadow: 5px 5px 10px var(--background-color);
}

.center-img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	border: 5px solid white;
	box-shadow: 5px 5px 10px black, 0 0 25px black, 0 0 5px black;
}

.center-img-banner {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	border: var(--border);
	border-radius: var(--border-radius-inside);
	box-shadow: 5px 5px 10px var(--background-color), 0 0 25px var(--background-color), 0 0 5px black;
}

.dropdown-content-scroll {
	height: var(--menu-height);
	padding-right: var(--scrollbar-padding);
}

.dropdown-content-main {
	height: var(--main-menu-height);
	padding-right: var(--scrollbar-padding-main);
}

.blog-box a {
	text-decoration: underline;
	color: white;
}

.blog-box a:hover {
	color: darkorange;
}

.blog-box hr {
	border: var(--hr);
}

.blog-box h4 {
	margin: 10px 10px 24px;
}

.navback,
.faq,
.new-head {
	text-shadow: 5px 5px 10px black, 0 0 25px black, 0 0 5px black;
}

.new-head h2,
.list-blog-switch {
	margin: 10px 10px 24px;
}

.new-head h4 {
	margin: 20px 10px 24px;
}

.main-faq  {
	summary::after,
	details[open] summary::after {
		text-shadow: 5px 5px 10px black, 0 0 25px black, 0 0 5px black;
	}
}

.heavy-shadow {
	text-shadow: 5px 5px 10px black, 0 0 15px black, 0 0 15px black;
}

.shadow {
	text-shadow: 2px 2px 0px black, 0 0 10px black;
}

.hockanumlinks a {
	text-decoration: underline;
}

.navbar {
	background-color: var(--background-color);
	position: fixed;
	width: 100%;
	padding: 5px 5px 0px;
	top: 0;
	white-space: nowrap;
}

.navbar a {
	float: top;
	font-size: 16px;
	color: white;
	text-align: center;
	padding: 12px 12px;
	text-decoration: none;

	top: 0;
}

.navbuttons {
	position: fixed;
	bottom: 50px;
	/* right: 25px; */
	right: 15px;
	margin-right: 2%;
	z-index: 999;
	font-size: 200%;
	/* color: black; */
	filter: drop-shadow(5px 5px 5px var(--background-color));
}

.dropdown {
	float: left;
	overflow: hidden;
}

.dropdown .dropbtn {
	font-size: 16px;
	border: none;
	color: white;
	padding: 5px 10px;
	background-color: inherit;
	font-family: inherit;
	margin: 0px;
	border-radius: var(--border-radius-menu);
}

.navbar a:hover,
.dropdown:hover .dropbtn {
	background-color: var(--menu-highlight-color);
	color: black;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 5px 5px 5px black;
	z-index: 1;
	overflow-y: auto;
	overflow-x: hidden;
	color-scheme: light;
	border-radius: var(--border-radius-menu);
	/* font-weight: normal; */

}

.dropdown-content a {
	float: none;
	color: black;
	padding: 5px 10px;
	text-decoration: none;
	display: block;
	text-align: left;
}

.dropdown-content-main a:hover,
.dropdown-content-scroll a:hover {
	width: 110%;
	background-color: var(--menu-highlight-color);
}

.dropdown-content-main hr,
.dropdown-content-scroll hr {
	width: 110%;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.dropbtnnav {
	padding: var(--navbtn-padding);
}

.buttonline:hover {
	background-color: var(--menu-highlight-color);
	width: 110%
}

/* ct dropdown menu on main page */

.dropdown-content-2 {
	height: var(--ct-menu-height);
	overflow: auto;
}

/* ri dropdown menu on ri page */

.dropdown-content-3 {
	height: var(--ri-menu-height);
	overflow: auto;
}

.dropdown-content-2 a {
	float: left;
	width: 125px;
	font-size: 11pt;
	padding: 5px 5px 5px 10px;
}

.dropdown-content-3 a {
	float: left;
	width: 150px;
	font-size: 12pt;
	padding: 5px 5px 5px 10px;
}

.dim {
	left: 0;
	background: rgba(0, 0, 0, .3)
}

.dim2 {
	background: linear-gradient(to left, rgba(0, 0, 0, .0), rgba(0, 0, 0, .1), rgba(0, 0, 0, .4), rgba(0, 0, 0, .1), rgba(0, 0, 0, .0))
}

.dim3 {
	background: linear-gradient(to left, rgba(0, 0, 0, .0), rgba(0, 0, 0, .5), rgba(0, 0, 0, .0))
}

.wrap {
	overflow-wrap: break-word;
}

.hide {
	visibility: hidden;
}

/* The Modal (background) */
.modal {
	display: none;
	/* Hidden by default */
	position: fixed;
	/* Stay in place */
	z-index: 1;
	/* Sit on top */
	padding-top: 75px;
	/* Location of the box */
	padding-bottom: 75px;
	left: 0;
	top: 0;
	width: 100%;
	/* Full width */
	height: 100%;
	/* Full height */
	overflow: auto;
	/* Enable scroll if needed */
	background-color: rgba(0, 0, 0, 0.4);
	/* Black w/ opacity */
}

.modal-pic {
	background-color: rgba(0, 0, 0, 0.8);
	/* Black w/ opacity */
}

.modal p,
.modal h2,
.modal h4 {
	color: white;
	text-align: center;
	margin: 10px 10px 24px;
}

/* Modal Content */
.modal-content {
	background-color: var(--background-color);
	margin: auto;
	position: relative;
	padding: 0px;
	padding-bottom: 10px;
	border: var(--border);
	outline: 0;
	width: 60%;
	/* box-shadow: 5px 5px 5px black; */
	box-shadow: 10px 10px 10px black, 0 0 25px black, 0 0 5px black;
	border-radius: var(--border-radius-outside);
}

.pic-modal-content {
	background-color: var(--background-color);
	margin: auto;
	position: relative;
	padding: 0px;
	padding-bottom: 20px;
	border: var(--border);
	outline: 0;
	width: 80%;
	box-shadow: 10px 10px 10px black, 0 0 25px black, 0 0 5px black;
	border-radius: var(--border-radius-inside);
}

.modal-content a:hover,
.pic-modal-content a:hover {
	color: #ea9629;
}

/* The Close Button */
.close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	padding-right: 10px;
}

.close:hover,
.close:focus {
	color: orange;
	text-decoration: none;
	cursor: pointer;
}

/* new style menu bar css */
.menu {
	--menu-height: 30px;
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	/* font-family: "Bitter", Georgia, 'Times New Roman', Times, serif; */
	font-family: var(--header-font);
}

.menu ul {
	list-style: none;
	padding: 10px;
	margin: 0;
}

.menu ul li:hover {
	background-color: var(--menu-highlight-color);
	color: black;
}

.menu ul li,
.menu ul li a {
	/* opacity: 0.8; */
	color: white;
	cursor: pointer;
	transition: 200ms;
	text-decoration: none;
	white-space: nowrap;
	font-weight: 700;
}

.menu ul li:hover,
.menu ul li a:hover {
	opacity: 1;
}

.menu ul li a,
.menu ul li a a {
	color: black;
	display: flex;
	align-items: center;
	height: 100%;
	width: 100%;
}

.menu ul li {
	padding-right: 36px;
	padding-left: 10px;
}

.menu ul li::before {
	content: "";
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid white;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.menu ul li:hover:before {
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid black;
}

.menu ul .link::before {
	padding-right: 0;
	display: none;
}

.themeSelectorButton2 {
	font-size: 16px;
	border: none;
	color: black;
	padding: 5px 0px;
	background-color: inherit;
	font-family: inherit;
	margin: 0px;
	line-height: 1.3;
}

.menu>ul {
	display: flex;
	height: var(--menu-height);
	align-items: center;
	background-color: var(--background-color);
}

.menu>ul li {
	position: relative;
	font-size: 16px;
	/* margin: 0 8px; */
	/* margin: 5px 10px 0px 5px; */
	margin: 5px 0px 0px 0px;
	border-radius: var(--border-radius-menu);
}

.menu>ul li ul {
	visibility: hidden;
	opacity: 0;
	padding: 0;
	min-width: 100px;
	background-color: white;
	position: absolute;
	/* top: calc(var(--menu-height) - 6px); */
	/* left: 66%; */
	transform: translateX(-30%);
	/* transition: 200ms;
			transition-delay: 200ms; */
	box-shadow: 5px 5px 5px black;
}

.menu>ul li ul li {
	margin: 0px;
	/* padding: 8px 16px; */
	padding: 5px 10px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 30px;
	padding-right: 40px;
	color: black;
}

@media screen and (max-height: 420px) {
	.menu>ul li ul li {
		margin: 0px;
		padding: 8px 16px;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		height: 20px;
		padding-right: 40px;
		color: black;
	}

	.themeSelectorButton2 {
		margin: 0px;
		padding: 0px 0px;
		height: 20px;
	}
}

@media screen and (min-height: 421px) {
	.themeSelectorButton2 {
		height: 30px;
	}
}

.submenu {
	border-radius: var(--border-radius-menu);
}

.align-menu-top-1500 {
	top: -1500%;
}

.align-menu-top-1400 {
	top: -1400%;
}

.align-menu-top-1300 {
	top: -1300%;
}

.align-menu-top-1200 {
	top: -1200%;
}

.align-menu-top-1100 {
	top: -1100%;
}

.align-menu-top-1000 {
	top: -1000%;
}

.align-menu-top-900 {
	top: -900%;
}

.align-menu-top-800 {
	top: -800%;
}

.align-menu-top-700 {
	top: -700%;
}

.align-menu-top-600 {
	top: -600%;
}

.align-menu-top-500 {
	top: -500%;
}

.align-menu-top-400 {
	top: -400%;
}

.align-menu-top-300 {
	top: -300%;
}

.align-menu-top-200 {
	top: -200%;
}

.align-menu-top-100 {
	top: -100%;
}

.align-menu-top {
	top: -2%;
}

.menu>ul li ul li::before {
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 5px solid black;
}

.menu>ul li ul li ul {
	/* top: -2%; */
	left: 100%;
	transform: translate(0);
}

.menu>ul li ul li:hover {
	background-color: var(--menu-highlight-color);
}

.menu>ul li:hover>ul {
	opacity: 1;
	visibility: visible;
	transition-delay: 0ms;
}

.left-menu {
	left: var(--left-menu);
	height: var(--left-menu-height);
	overflow: var(--left-menu-overflow);
	/* scrollbar-width: thin; */
	border-radius: var(--border-radius-menu);
	z-index: 1;
}

.left-ma {
	left: var(--left-ma);
	border-radius: var(--border-radius-menu);
}

.left-ny {
	left: var(--left-ny);
	border-radius: var(--border-radius-menu);
}

.left-nj {
	left: var(--left-nj);
	border-radius: var(--border-radius-menu);
}

.left-other {
	left: var(--left-other);
	border-radius: var(--border-radius-menu);
}

.left-jump {
	left: var(--left-jump);
	border-radius: var(--border-radius-menu);
}

.myBtn {
	cursor: pointer;
}

.child {
	display: inline-block;
}

.e-mail:before {
	content: attr(data-website)"\0040" attr(data-user);
}

.beachfaq {
	margin: 2px;
}

.center-small {
	display: flex;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
	border: 5px solid var(--menu-highlight-color);
}

/* animation */

.animate-zoom {
	animation: animatezoom 0.6s;
}

@keyframes animatezoom {
	from {
		transform: scale(0)
	}

	to {
		transform: scale(1)
	}
}


/* ID Styles */

#new-page {
	* {
		scroll-padding-top: 45px;
	}
}

#welcome-text {
	margin: 10px 10px 0px;
}

/* #down:active,
#up:active {
	filter: drop-shadow(5px 5px 5px white);
} */

#worcester {
	height: var(--worcester-height);
	overflow: auto;
}

#hampshire {
	height: var(--hampshire-height);
	overflow: auto;
}

#bristol {
	height: var(--bristol-height);
	overflow: auto;
}

#hampden {
	height: var(--hampden-height);
	overflow: auto;
}

#middlesex {
	height: var(--middlesex-height);
	overflow: auto;
}

#westchester {
	height: var(--westchester-height);
	overflow: auto;
}

#monmouth {
	height: var(--monmouth-height);
	overflow: auto;
}

#new_jersey {
	height: var(--new_jersey-height);
	overflow: auto;
}

#new_hampshire {
	height: var(--new_hampshire-height);
	overflow: auto;
}

#berkshire {
	height: var(--berkshire-height);
	overflow: auto;
}

#essex {
	height: var(--essex-height);
	overflow: auto;
}

#barnstable  {
	height: var(--barnstable-height);
	overflow: auto;
}

#prevmenu,
#nextmenu {
	position: fixed;
	left: 40px;
	filter: drop-shadow(5px 5px 5px var(--background-color));
}

#prevmenu {
	bottom: 90px;
}

#nextmenu {
	bottom: 40px;
}

#prevmenu:active,
#nextmenu:active {
	filter: drop-shadow(5px 5px 5px white);
}

#modernMenu,
#merlotMenu,
#glassMenu,
#autoMenu,
#classicMenu {
	font-size: 16px;
	border: none;
	color: black;
	padding: 5px 10px;
	background-color: inherit;
	font-family: inherit;
	margin: 0px;
	line-height: 1.3;
}

#regular {
	margin-top: 30px;
}

#mobile {
	margin-top: 30px;
}

#mailbox {
	direction: rtl;
	unicode-bidi: bidi-override;
	text-decoration: underline;
}

#picture {
	display: flex;
	height: 100%;
	display: flex;
	justify-content: center;
}

#welcomeBtn {
	border: var(--border);
	border-radius: var(--border-radius-inside); 
}
