/* Defauls */
html
{
}
body
{
}

/* Tab Panels */
.tabpanel
{
	position: relative;
	display: table;
	vertical-align: middle;
	padding: .2em .5em;
	border-radius: 8px;
	z-index: 0;
}
.tabpanel.tabpanel-40
{
	height: 40px;
}
.tabpanel.tabpanel-80
{
	height: 80px;
}
.tabpanel.tabpanel-aldingbourne
{
	background-color: #adb6aa;
	color: #000;
}
.tabpanel.tabpanel-clapham
{
	background-color: #87ca87;
	color: #000;
}
.tabpanel.tabpanel-purple
{
	background-color: #f0f;
	color: #fff;
}
.tabpanel.tabpanel-orange
{
	background-color: #f50;
	color: #fff;
}
.tabpanel.tabpanel-red
{
	background-color: #f55;
	color: #fff;
}
.tabpanel.tabpanel-blue
{
	background-color: #05f;
	color: #fff;
}
.tabpanel.tabpanel-green
{
	background-color: #5f5;
	color: #fff;
}
.tabpanel.tabpanel-cyan
{
	background-color: #5ff;
	color: #000;
}
.tabpanel.tabpanel-yellow
{
	background-color: #ff5;
	color: #05f;
}
.tabpanel.tabpanel-lilac
{
	background-color: #c8a2c8;
	color: #fff;
}
.tabpanel.tabpanel-darkgreen
{
	background-color: #006400;
	color: #fff;
}
.tabpanel.tabpanel-forestgreen
{
	background-color: #228b22;
	color: #fff;
}
.tabpanel.tabpanel-light
{
	background-color: #aaa;
	color: #000;
}
.tabpanel.tabpanel-dark
{
	background-color: #555;
	color: #fff;
}
.tabpanel > *
{
	display: table-cell;
	vertical-align: middle;
}
.tabpanel-caption
{
	border-radius: 0;
}
.tabpanel-40.tabpanel-caption
{
	margin-top: -40px;	
}
.tabpanel-80.tabpanel-caption
{
	margin-top: -80px;
}
.tabpanel-caption::after
{
	position: absolute;
	content: "";
	display: block;
	top: 0;	
	width: 0;
	height: 0;
	margin-top: 0px;
	margin-right: 0px;
	z-index: 1;
}
.tabpanel-40.tabpanel-caption::after
{
	right: -39px;
	border-right: 40px solid transparent;
}
.tabpanel-aldingbourne.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #adb6aa;
}
.tabpanel-clapham.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #87ca87;
}
.tabpanel-purple.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #f0f;
}
.tabpanel-orange.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #f50;
}
.tabpanel-red.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #f55;
}
.tabpanel-blue.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #05f;
}
.tabpanel-green.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #5f5;	
}
.tabpanel-cyan.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #5ff;
}
.tabpanel-yellow.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #ff5;
}
.tabpanel-lilac.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #c8a2c8;
}
.tabpanel-darkgreen.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #006400;
}
.tabpanel-forestgreen.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #228b22;
}
.tabpanel-light.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #aaa;
}
.tabpanel-dark.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #555;
}
.tabpanel-80.tabpanel-caption::after
{
	right: -79px;
}
.tabpanel-aldingbourne.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #adb6aa;
}
.tabpanel-clapham.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #87ca87;
}
.tabpanel-purple.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #f0f;
}
.tabpanel-orange.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #f50;
}
.tabpanel-red.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #f55;
}
.tabpanel-blue.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #05f;
}
.tabpanel-green.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #5f5;	
}
.tabpanel-cyan.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #5ff;
}
.tabpanel-yellow.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #ff5;
}
.tabpanel-lilac.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #c8a2c8;
}
.tabpanel-darkgreen.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #006400;
}
.tabpanel-forestgreen.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #228b22;
}
.tabpanel-light.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #aaa;
}
.tabpanel-dark.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #555;
}
.tabpanel.tabpanel-rustington
{
	background-color: #53b847;
	color: #000;
}
.tabpanel-rustington.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #53b847;
}
.tabpanel-rustington.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #53b847;
}
.tabpanel.tabpanel-barnhamandeastergate
{
	background-color: #023f88;
	color: #fff;
}
.tabpanel-barnhamandeastergate.tabpanel-40.tabpanel-caption::after
{
	border-bottom: 40px solid #023f88;
}
.tabpanel-barnhamandeastergate.tabpanel-80.tabpanel-caption::after
{
	border-bottom: 80px solid #023f88;
}
a.tabpanel-link, a.tabpanel-link:hover, a.tabpanel-link:link, a.tabpanel-link:active
{
	color: inherit;
	text-decoration: none;
}

/* Added 2021-04-09 */

div.overlayBlack {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: grey;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  z-index: 10000;
}

div.overlayBlack .dialogBox {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  color: white;
  text-align: center;
  padding: 1rem;
  background-color: black;
}

@media (min-width: 1130px) {
  div.overlayBlack .dialogBox {
    position: relative;
    top: 2rem;
    width: 60rem;
    margin: auto;
    border-radius: 1rem;
    -webkit-box-shadow: 0 0 1rem black;
            box-shadow: 0 0 1rem black;
    font-size: 1.4rem;
  }
}

div.overlayBlack .dialogBox .dialogBox-insert {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
}

div.overlayBlack .dialogBox .dialogBox-insert .dialogBox-closeButton {
  position: absolute;
  right: 2rem;
  top: 0;
  width: 3rem;
  height: 3rem;
  background-color: #fff;
  color: black;
  border-radius: 50%;
  -webkit-transition: background-color .2s ease-in;
  transition: background-color .2s ease-in;
}

div.overlayBlack .dialogBox .dialogBox-insert .dialogBox-closeButton i {
  padding-top: .5rem !important;
  font-size: 2rem;
}

div.overlayBlack .dialogBox .dialogBox-insert div.dialogBox-closeButton:hover {
  background-color: red;
}

div.overlayBlack .dialogBox .dialogBox-viewport {
  padding-top: 2rem;
}

div.overlayBlack .dialogBox .dialogBox-viewport p {
  font-size: 1.2rem;
}

div.overlayBlack img {
  width: 15rem;
  height: auto;
}

@media (min-width: 1130px) {
  div.overlayBlack img {
    width: auto;
    border: none;
  }
}

div.overlayBlack h1 {
  font-size: 1.1rem;
}

@media (min-width: 1130px) {
  div.overlayBlack h1 {
    font-size: 1.6rem;
  }
}

div.overlayBlack p {
  font-size: .8rem;
}

@media (min-width: 1130px) {
  div.overlayBlack p {
    font-size: 1.2rem;
  }
}

div.overlayBlack a {
  font-size: .8rem;
  padding: 0 2rem;
}

@media (min-width: 1130px) {
  div.overlayBlack a {
    font-size: 1.2rem;
  }
}

div.overlayBlack p.quote {
  font-style: italic;
}

div.overlayBlack p.speaker {
  font-style: italic;
  text-align: right;
}

div.overlayBlack div.links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

div.overlayBlack div.links a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  color: white;
  text-decoration: none;
}

div.overlayBlack div.links a:hover {
  text-decoration: underline;
}

#cookie-law {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 5%;
    background-color: #ccc;
    z-index: 999;
}

#cookie-law > div:first-child {
    padding-right: 40px;
}

#cookie-law > div:first-child > a {
    color: inherit;
	font-weight: bold;
}

#cookie-law > div:last-child {
    vertical-align: middle;
}

#cookie-law > div:last-child > a {
    padding: 10px 20px;
    background-color: rgb(255, 30, 50);
    border-radius: 5px;
    color: white;
    text-decoration: none;
}
