@import url(//fonts.googleapis.com/css?family=Lato|Yanone+Kaffeesatz:400,700|Fjalla+One);

:root {
    --alternate: #8daa77;
    --transgrey: rgba(0,0,0,0.05); 
  }


body{
	color: #000;
/*	background-size: contain;  */
	background-attachment: fixed;
	background-repeat: no-repeat;
	margin: 0 !important;
	border: 10px solid #1D5DA7; 
	background-color: #2C2C2C;
	background-position: center top;
}


table {
	border-collapse: collapse;
	width: 100%; 
	background-color: #fff;
}

img {
	border: 0;
	max-width: 100%;
}

a{
	color: #34395c;
}
td {
	vertical-align: top;
	text-align: left;
}
th {
	background-color: #34395C;
	color: #fff;
	padding: 10px;
	text-align: left;
}
INPUT, TEXTAREA, select {
    font-family: arial, verdana, ms sans serif;
    font-size: 11pt;
    font-weight: normal;
}

.logo {
	position: absolute;
	margin: 0 0 0 15vw;
	max-width: 250px;
	top: 20px;
	left: 50%;
	z-index: 1;
}
#logo.logo{
	display: none; 
}
.gridlayout{
	display: grid;
	gap: 2rem;
}





/* backgrounds */

#bodybg1{
	background-image: url('/images/background1b.jpg');
}
#bodybg2{
	background-image: url('/images/background-steve2.jpg');
}
#bodybg3{
	background-image: url('/images/grafham.jpg') ;
}
#bodybg4{
	background-image: url('/images/gnarly.jpg');
}
#bodybg5{
	background-image: url('/images/weymouth-2018.jpg');
}
#bodybg6{
	background-image: url('/images/background6b.jpg');
}
#bodybg7{
	background-image: url('/images/jenny.jpg');
}
#bodybg8{
	background-image: url('/images/2022-07-09_13.52.jpg');
}
#bodybg9{
	background-image: url('/images/background9.jpg');
}
#bodybg10{
	background-image: url('/images/sportsnats2017.jpg');
}
#bodybg11{
	background-image: url('/images/background-tom.jpg');
}
#bodybg12{
	background-image: url('/images/shankin-nats-2023.jpg');
}
#bodybg13{
	background-image: url('/images/instow-2022.jpg');
}
#bodybg14{
	background-image: url('/images/background-netley.jpg');
}
#bodybg15{
	background-image: url('/images/2017-april-sunday-9-marconi-538-2.jpg');
	background-position: top;
}



.top td{ 
	background-color: #6070b0;
	color: #fff !important;
	font-weight: bold;
	padding: 10px;
} 
#toplinks {
	min-height: 70px;
} 

#toplinks div {
	margin: auto;
	/* padding: 0 50px; */
	color: #fff;
	text-align: center;
	color: #e2001a;
	font-size: 24px;
	font-weight: 900;
	font-family: Yanone Kaffeesatz, Calibri,Tahoma , Geneva, Verdana, sans-serif;
	background-color: rgba(255,255,255,0.9);

}
#toplinks.mainwebsite div{
	line-height: 70px;
}
#toplinks div a{
color: #1D5DA7;
	text-decoration: none;
	padding: 21px 2vw;
	transition:  background 0.5s;
	position: relative;
	z-index: 1;
	border-bottom: 7px solid transparent;
}
#toplinks div a:hover {
	background-color: rgba(255,255,255,0.8);
	border-bottom: 7px solid #1D5DA7;
	
}
#all {
	padding: 0 5vw;
	margin: 0 0 30px 0;
}
/*
#santa {
	margin: 40px auto 0 auto;
	padding: 5px;
	text-align: center;
	height: 380px;
	position: relative;
	z-index: 0;

}
#santa img {
	max-width: 80vw;
 	animation: 
		flyin 24s ;
	visibility: hidden;
}
@keyframes bobble {
	0% {
		transform: translate3d(0px, -40px, 0px);
		animation-timing-function: ease-in;
    }
    
    30% {
    	transform: translate3d(-10px, -50px, 0px);
    	animation-timing-function: ease-out;

    }

    50% {
    	transform: translate3d(-20px, -40px, 0px);
    	animation-timing-function: ease-out;

    }

    70% {
    	transform: translate3d(-10px, -30px, 0px);
    	animation-timing-function: ease-out;
    }

    
    100% {
    	transform: translate3d(0px, -40px, 0px);
    	animation-timing-function: ease-in;
    }
}



@keyframes flyin {
	0% {
	margin: 360px  0 0 0;	
	animation-timing-function: ease-in-out;
	visibility: visible;
    }

    30% {
	margin: -80px  0 0 0;
	animation-timing-function: ease-in;
	visibility: visible;
	transform: scale(1);
    }
    
    50% {
	margin: -100px  0 0 -10vw;
	animation-timing-function: ease-out;
	visibility: visible;
	transform: scale(1);
    }



    100% {
	margin: -300px  0 0 -110vw;
	transform: scale(0.1);
	display: none;	
	visibility: visible;
	animation-timing-function: ease-in;
    }


}


@keyframes flyaway {
	0% {
	margin: 0;	
	animation-timing-function: ease-in;
	transform: scale(1);
    }
    
    
    100% {
    margin: -200px  0 0 -100vw;
	transform: scale(0.1);	
    animation-timing-function: ease-out;
    }
}
*/

	
#container {
	max-width: 1400px;
	margin: 300px auto 20px auto; 
/*	margin: 0 auto 20px auto;*/
	padding: 0 20px 20px 20px;
    background: rgba(255,255,255,1) !important;
	background: #fff; 
	box-shadow: 0px 0px 10px 0px rgba(0,0,0, 0.8);  
	border-radius: 20px;
	border: 3px solid #000;
	position: relative;
	z-index: 1;
}

#titleh1{
	text-align: right;
	color: #000 !important;
	font-family:  Yanone Kaffeesatz, Calibri,Tahoma , Geneva, Verdana, sans-serif;
}
#titleh1 h1{
	font-size: 30px;
	border-bottom: 5px #800 solid;
	color: #000 !important;
	font-family: Yanone Kaffeesatz,  Calibri,Tahoma , Geneva, Verdana, sans-serif;
	padding: 20px 100px;
	text-shadow: 1px 1px #fff;
	font-weight: 400;
}
.innerdiv h1{
	font-size: 30px;
	color: #000 !important;
	font-family: Yanone Kaffeesatz,  Calibri,Tahoma , Geneva, Verdana, sans-serif;
	text-shadow: 1px 1px #fff;
	font-weight: 400;
}

#titleh2{
	text-align: left;
	color: #000 !important;
	font-family:  Yanone Kaffeesatz,Calibri,Tahoma,Geneva,Verdana,sans-serif;;
}
#titleh2 h2{
	font-size: 30px;
	color: #000 !important;
	font-family:   Yanone Kaffeesatz,Calibri,Tahoma,Geneva,Verdana,sans-serif;;

	font-weight: normal;
}
.maintext {
	padding: 0 50px 10px 50px;
	line-height: 170%;
	font-family:  Lato,   Calibri,Tahoma , Geneva, Verdana, sans-serif;
	font-size: 17px; 
	color: #333;
} 
.maintext a, .piclink a{
	color: #333;
	text-decoration: none;
	border-bottom: 1px #ccc dashed;
}
.maintext a:hover, .piclink a:hover{
	text-decoration: none;
	border-bottom: 1px #333 solid;
} 
.maintext h2{
	font-size: 20px;
	line-height: 20px;
}

.maintext h3{
	font-size: 17px;
	line-height: 20px;
	margin-bottom: -10px;
}
.maintext h4{
	font-size: 17px;
	line-height: 20px;
}
.maintext em{
	font-weight: normal; 
}


/* Page layout - header, across all columns */
#header
{
    clear: both;
    padding: 2px;
	padding: 30px;
}

/* Page layout - left navigation bar */
nav
{
	font-family:  Lato, Calibri,Tahoma , Geneva, Verdana, sans-serif;
    margin: 0;
}

/* Page layout - main page content */
/*#content
{
     margin-left: 200px; 

}*/

/* Page layout - footer, across all columns */
#footer
{
    clear: both;
    background: rgba(44, 44, 44,0.7);
	color: #fff;
}

/**************** Side menu styles ****************/
nav a
{
    text-decoration: none;
    color: #111;
	font-size: 14px;
	line-height: 20px;
}

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

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

nav ul ul ul
{
    list-style: none;
    padding: 0;
}

nav li a
{
    padding: 3px 20px;
	border-bottom: 1px #ddd solid;
	display: block;
	margin: 0;
}

nav li 
{
	margin: 0;
}

/* nav li li 
{
} */

nav li li li
{
    font-size: 13px;
    font-weight: normal;
}

nav em 
{
	font-style: normal; 
}

nav li li a:hover, nav li  a:hover, nav li li li a:hover 
{
    background: #34395c;
	color: #fff;
	-webkit-transition: 0.4s;
	-moz-transition: 0.4s;
	transition: 0.4s;
}



.nav {
	margin: auto;

}
.navigation{
	height: 42px;
	background-color:#757761;
	text-align: center;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;

}
#nav > a
			{
				display: none;
			}


/**************** News styles ****************/
#news 
{
 /*   border: 1px solid #34395c; */
	/* font-family:   Calibri,Tahoma , Geneva, Verdana, sans-serif; */
	border-radius: 10px;
	margin-bottom: 20px;

}

#news h2
{
    display: block;
    background: #34395c;
    font-size: 20px;
    color: white;
    margin: 0;
    padding: 10px 50px;
	border-radius: 9px 9px 0 0;
	font-weight: normal;
}

#news-articles 
{
    padding: 10px 50px;
	font-size: 15px;
}

#news-articles h3
{
    display: inline;
    font-size: 100%;
    margin: 0 1em 0 0;
}
#news h2 a{
	color: #fff;
	text-decoration: none;
}

/**************** Next Event styles ****************/
#nextevent
{
    border: 1px solid #008;
    background: #fdffe0;

}

#nextevent h3
{
    display: block;
    background: #67b;
    border: solid #008;
    border-width: 0 0 1px 0;
    text-align: center;
    margin: 0;
    padding: 10px;
}

a.nexteventtitle
{
    text-decoration: none;
    font-size: 90%;
    color: yellow;
}

a.nexteventbody
{
    text-decoration: none;
    color: #111;
}

/**************** Header styles ****************/
#header h1
{
    text-align: center;
    vertical-align: middle;
    color: darkblue;
    margin: 1px;
}

#header-tagline
{
    text-align: center;
    vertical-align: bottom;
    font-weight: bold;
    font-style: italic;
    color: black;
    margin: 0;
}

/**************** Footer styles ****************/
#footer a
{
    text-decoration: none;
}

#footer .left
{
    float: left;
}

#footer .right
{
    float: right;
}

/**************** General body styles ****************/

/* IE makes table widths based on page width, not section. This is a workaround */
div.innerdiv
{
	line-height: 170%;
	font-family: Lato, Calibri,Tahoma , Geneva, Verdana, sans-serif;
	font-size: 17px;
	color: #333;
}

A.yellowlink
{
    text-decoration: none;
    font-family: arial,helvetica,sans-serif;
    font-size: 100%;
    color: yellow;
}

A.bluelink
{   text-decoration: none;
    font-family: arial,helvetica,sans-serif;
    font-size: 100%;
    color: darkblue;
}

/* Style above the random photo on the index page */
.random-photo-header {
    font-family: arial,helvetica,sans-serif;
    font-size: 90%;
    color: darkblue;
}

/* Style used under each photo */
.photo-subtitle {
    font-family: arial,helvetica,sans-serif;
    font-size: 80%;
    color: darkblue;
}

/* Style used at the top of each photo index page */
.photo-title {
    font-family: arial,helvetica,sans-serif;
    font-size: 110%;
    font-weight: bold;
    color: #000066;
}

/* Style used instead of bold for paragraph headers */
.para-header {
    font-family: arial,helvetica,sans-serif;
    font-weight: bold;
    color: darkblue;
}

/* Style used for \date in an events listing */
.event-date {
    font-family: arial,helvetica,sans-serif;
    text-decoration: none;
    color: #000044;
}

/* Style used for \seriesinfo in an events listing */
.series-info {
    font-family: arial,helvetica,sans-serif;
    font-size: 90%;
    color: #000044;
}

body
{
	font-family: Lato,  Calibri,Tahoma , Geneva, Verdana, sans-serif;
}
td, th
{
    font-size: 15px;
	font-family: Lato,  Calibri,Tahoma , Geneva, Verdana, sans-serif;
}

em {
    font-weight: bold;
    font-style: italic;
}

pre,code {
    font-family: "andale mono", "monotype.com", "courier new", monospace;
    font-size: 85%;
}
/*
h1 {
    font-family: arial,helvetica,sans-serif;
    font-size: 140%;
    font-weight: bold;
}

h2 {
    font-family: arial,helvetica,sans-serif;
    font-size: 125%;
    font-weight: bold;
}

h3 {
    font-family: arial,helvetica,sans-serif;
    font-size: 110%;
    font-weight: bold;
}
*/
input.invalid {
	background-color: #FF9;
	border: 2px red inset;
}

label.invalid {
	color: #F00;
	font-weight: bold;
}
#cartoon {
	float: right;
	display: table-cell;
	vertical-align: middle;
}
#cartoon2 {
	float: right;
	display: table-cell;
	vertical-align: middle;
	margin: 10px 100px 20px 100px;
}
#cartoon2 img {
	border-radius: 10px;

}
.forty{
	float: right;
	margin: 10px 100px 20px 0;
}
.forty img {
	max-height: 300px;
}
.clear {
	clear: right;
} 
.clearboth {
	clear: both;
} 
.rya {
	margin-bottom: 20px;
}
#cartoon img {
	vertical-align: middle;
	margin: 3px 50px 3px 0px;
}
.threepics {
	float: right;
	min-height: 250px;
	min-width: 320px;
	float: left;
} 
.socialicons img{
	width: 50px; 
}




/* scroller on front page */

		#wrapper {

			margin: 30px 0;
			}
			#wrapper h3 {
				font-size: 20px;
				text-align: center;
				color: #999;
				margin: 0;
				padding-top: 50px;
			}
			#inner {
				width: 100%;
				max-height: 300px;
				overflow: hidden;
			
				left: 0;
			}
			
			#carousel img {
				height: 100%;
				border: none;
				border-radius: 10px;
			}
			#carousel a {
				height: auto;
				border: none;
				display: block;
				float: left;
				margin	: 0 10px;
}

.greyone, .greytwo {
	padding: 10px 50px;
}
.greyone {
	background-color: #f0f0f0;
}
.greytwo {
	background-color: #fff;
} 
.greyone a, .greytwo a, #news a{
	color: #000;
	text-decoration: none;
}
.greyone a:hover, .greytwo a:hover, #news a:hover{
	color: #000;
	text-decoration: none;
	border-bottom: 1px #333 solid;
}
.footertxt {
	max-width: 1300px;
	margin: auto;
	padding: 30px 50px;
	display: grid;
	gap: 20px; 
}
.footertxt a{
	color: #fff;
	text-decoration: none;
} 
.footertxt a:hover{
	color: #cff;
	text-decoration: underline;
} 
.footertxt img {
	margin: 5px;
}
.radius {
	border-radius: 10px;
padding	: -3px;
} 
.piclink {
	text-align: right;
	margin: 0 50px 10px 0;
}
.topicons img{
	margin: 5px 10px;
}
.topicons a, topicons:hover{
	border-bottom: 0 !important;
	text-decoration: none;
}
.resultstable.buysell2 table td, 
.resultstable.buysell2 table th{
	padding: 10px;
}
.resultstable table td, .maintext > table td {
	border: 0px solid #ccc;
	padding: 10px 2px;
	color: #000;
}
.resultstable .heading td, .maintext > table heading td  {
	background-color: #6070B0;
	color: #fff;
	border: 0;
}
.resultstable tr:nth-child(odd),
.maintext > table  tr:nth-child(odd) td
 {
	background-color: #fff; 
}
.resultstable tr:nth-child(even),
.maintext > table  tr:nth-child(even) td {
	background-color: #E8EBF4; 
}
.resultstable table a,
.resultstable table .event-date a{
	color: #222;
}




		    .style1 {font-size: xx-small;
	                 font-style: oblique;
                   	font-weight: bold;}
					 	
	.Big {background-color:#99FF99; color:#000000;}
	.Small {background-color:#FFFFFF; color:#000000;}
	.Medium {background-color:#FFCCFF; color:#000000;}
	/* .Y {background-color:#FFCCFF; color:#000000;} */


	  .AltTeam {background-color:#99CCFF; color:#000000;}

.UnQualified {

	opacity: 0.5;
}


.Discard {
	opacity: 0.4;
	text-decoration: line-through;
}
.scorecode {
	font-size: 70%;
}

/* FRONT BANNER */


.bw{
	max-width: 1400px;
	min-height: 500px;
	max-height: 80vh;
	margin: auto;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}
.bigheader{
	font-size: 4rem;
	color: #fff;
	line-height: 4.5rem;
	margin: auto !important;
	font-family: Fjalla One, Yanone Kaffeesatz,Calibri,Tahoma,Geneva,Verdana,sans-serif;
	max-width: 950px;
	text-shadow: 2px 2px rgba(0, 0, 0, 0.9);
}
.bigheader a{
	color: #fff;
	text-decoration: none;
}
.bigheader div {
	padding: 50px 10px 10px 3vw;

}

.bullettext {
	color: #fff;
	font-size: 1.6em;
	font-weight: 900;
	font-family: Yanone Kaffeesatz, Calibri,Tahoma , Geneva, Verdana, sans-serif;
	line-height: 170%; 
	position: absolute;
	bottom: 0; 
	right: 0;
	width: 100%; 
	/* background-color: rgba(0,0,0,0.4); */
	border-radius: 0 0 10px 10px;
	/* backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	-moz-backdrop-filter: blur(3px); */
	z-index: 1006;
	text-shadow: 2px 2px rgba(0, 0, 0, 0.9);
}
.bullettext div{
	padding: 20px 30px;
	text-align: right;
}
.bullettext a {
	color: #fff !important;
	text-decoration: none;
}
.bullettext a:hover {
	color: #ccc;
	text-decoration: underline;
}
.bullettext span{
	font-size: 1rem;
	font-weight: 400;
	display: block;
}
button {
	font-size: 30px;
	border: 0;
	background-color: #fff;
	color: #222;
}
.pics img {
	border-radius: 5px;
} 
.frame-square {
  display: inline-block;
  vertical-align: top;
  width: 133px;
  height: 133px;
  margin: 5px;

}
.crop {
  height: 100%;
  overflow: hidden;
  position: relative;

}  
.crop img {
    display: block;
    min-width: 100%;
    min-height: 100%;
    margin: auto;
    position: absolute;
    top: -100%;
    right: -100%;
    bottom: -100%;
    left: -100%;

}
#gallery {
	background-color: #333333;
	padding: 50px 0;
} 
#gallerylinks {
	line-height: 100%;
	max-width: 400px;
	
}

#gallerylinks li {
	list-style-type: none;
	margin-bottom: 0px;
	margin-left: -5px;
}
#gallerylinks li a:link ,#gallerylinks li a:visited  {
	color: #333;
	text-decoration: none;
	display: block;
	padding: 6px 20px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #ccc;

}
#gallerylinks li a:hover  {

	color: #ffffff !important;
	background-color:#34395C;
}
.darker {background: #34395C; 
	padding:12px 50px;
	color: #ffffff;
	font-size: 18px;
}
div.darker {
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  position: sticky;
  top: 0;
}
.gal{
	min-height: 0 !important;
}
.news div.box:nth-child(odd) {
	background-color: #f3f3f3; 
	padding: 10px 3vw;
}
.news div.box:nth-child(even) {
	background-color: #fff; 
	padding: 10px 3vw;
}
.flexpics { 
  padding: .5vw;
  font-size: 0;
  display: -ms-flexbox;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
}
.flexpics div { 

  flex: 1 1 300px;
  margin: .5vw !important; 

}
.flexpics div img { 
  width: 100%; 
  height: auto; 

}
.spons div {
  max-width: 300px;
}
.spons div img { 
  max-width: 200px; 
  max-height: 200px; 
}
.spons {
	font-size: 16px !important; 
	text-align: center; 
	line-height: 130%; 
}
.spons a{
	border-bottom: 0; 
}
.flexpics  a:hover{ 
	border-bottom: 0px none !important;
	text-decoration: none !important;
}
.bw .red{ 
	position: absolute;
	z-index: 2;
	top: 180px;
	height: 60px;
	width: calc( 100% - 10vw );
	padding: 30px 5vw;
	font-size: 50px;
	color: #FFF;
	line-height: 60px;
	font-family: Fjalla One,Yanone Kaffeesatz,Calibri,Tahoma,Geneva,Verdana,sans-serif;
	text-shadow: 2px 2px rgba(0, 0, 0, 0.9);
	background-color: rgba(100,0,0,0.7);
}


	  .Big {background-color:#99FF99; color:#000000;}
	  .Small {background-color:#FFFFFF; color:#000000;}
	  .Medium {background-color:#FFCCFF; color:#000000;}
	  .Y {background-color:rgba(188, 152, 188, 0.6); color:#000000;}
	  .Qual {background-color:rgba(184, 214, 184,0.6); color:#000000;}





@media screen and (max-width: 400px) {
.flexpics div { margin: 0; }
.flexpics { padding: 0; }
.flexboxes div { margin: 0; }
.flexboxes { padding: 0; }  
}
.flexboxes { 
  flex-flow: row wrap; 
  display: flex;
  justify-content: center;
	gap: 10px; 

}

.flexboxes div { 
  flex: 1 1 250px; 
  min-height: 150px; 
  max-width: 100vw;
  padding: 0.3vw 1.5vw;
  font-size: 16px; 
  line-height: 23px; 
  color: #fff;

}
.flexboxes h3{
	font-size: 1.4em;
	font-weight: 900;
	font-family: Yanone Kaffeesatz, Calibri,Tahoma , Geneva, Verdana, sans-serif;
}
.flexboxes a{
  color: #fff !important;
}
.flexboxes div:nth-child(2n+0) {
	background-color: #3B5998; 
}
.flexboxes div:nth-child(2n+1) {
	background-color: #6480B7; 
}
/*.flexboxes div:nth-child(3n+2) {
	background-color: #7F818E; 
}*/
.flexboxes div.nationals {
	background-color: #800;
}
#map {
	width: 100%; 
	height:600px;
	max-height: 80vh;
}
.cupwinners {
	line-height: 180%;
	font-size: 15px; 
}
.cupwinners a{
	text-decoration: none;
	border-bottom: 1px solid #ccc;
}
.cupwinners td{
	padding: 0 5px 2px 0;
}
.cupwinners h3{
	font-family: Yanone Kaffeesatz, Calibri,Tahoma , Geneva, Verdana, sans-serif;
	font-size: 24px;
	font-weight: 400;
}
.newsprint{
	max-height: 400px;
	width: auto;
	float: right;
	margin: 0 0 20px 50px;
}
.cuppic img{
	max-width: 300px; 
}
.cupyears { 
  flex-direction: column;
  flex-flow: wrap; 
  display: flex;
  justify-content: center;
}
.cupyears div { 
  -webkit-box-flex: auto;
  -ms-flex: auto;
  flex: auto; 
  margin: 1px !important; 
  max-width: 100vw;
  font-size: 16px; 
  line-height: 23px; 
  color: #fff;
  max-width: 200px; 
}
.cupyears a{
	color: #fff;
	text-decoration: none;
	display: block;
  padding: 0.3vw 1.5vw;
}
.cupyears a:hover{
	background-color: #000;	
}
.cupyears div:nth-child(2n+0) {
	background-color: #3B5998; 
}
.cupyears div:nth-child(2n+1) {
	background-color: #6480B7; 
}
.cuppics { 
  /*  font-size: 0;
 display: -ms-flexbox; */

  /* flex-direction: column;
  display: -webkit-box; */
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cuppics a{
	color: #333;
	text-decoration: none; 
	display: block; 
	border: 0;
}
.cuppics a:hover{
	color: #000;
	text-decoration: underline; 
}

.cuppics > div { 
 flex: 1 1 auto;
  width: 250px; 
  max-width:250px;
  position:relative;
  display: grid;
  grid-template-rows: 1fr 5fr 2fr;
  border: 1px solid #aaa;
  justify-content: center;
}
.cuppics > div img { 
  width: 100%; 
  height: auto; 
  vertical-align: middle;
}
.cuppics > div > div{
	/* position: absolute;
	background-color: rgba(29, 93, 167,0.6);
	width: 100%;
	top: 0;
	left: 0;
	height: 0;
	transition: 0.5s;
	opacity: 0.5; */
	text-align: center;
}


.cuppics > div:hover > div {
	height: 100%;
	opacity: 1;
}
.cuppics > div > div > div {
	font-size: 16px;
	padding: 5px ;
	text-align: center;
	/* opacity: 0; */
	transition: 0.5s;
	
}
/* .cuppics > div:hover > div > div {
	opacity: 1;
} */
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.flexvideopics { 
  padding: .5vw;
  font-size: 0;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
}
.flexvideopics.front{
	padding: 0;
	gap: 0.5vw;
}
.flexvideopics.front > div{
	margin: 0;
}
.flexvideopics div { 
	flex:  1 1 auto; 
	position: relative;
	margin-block: .5vw !important; 
	max-width: 600px;
	width: 300px; 
}
.frontpage div{
  margin: 0 !important; 
  max-width: none;
	width: 100%; 
}
.frontpage {
	padding: 0; 
}
.flexvideopics div img { 
  width: 100%; 
  height: auto; 
}
.flexvideopics  a:hover{ 
	border-bottom: 0px none !important;
	text-decoration: none !important;
}
.flexvideopics div p {
	position: absolute;
	top	: 0;
	padding: 10px;
	background-color: rgba(0,0,0,0.5); 
	font-size: 15px; 
	color: #fff;
	width: calc( 100% - 20px); 
	margin: 0;
}
.centreimage {
	text-align: center;
}
.centreimage img{
	max-width: 80%;
}

.memberform table{
table-layout: fixed;
}
.memberform table td{
	font-size: inherit;
	padding: 0.5rem;
	/* border-bottom: 1px dashed #aaa; */
}
.oops {
	font-size: 200px;
	float: right;
	line-height: 250px;
	margin: 50px;
	font-style: italic;
}

.memberform input, .memberform textarea, .memberform select{
	width: 300px;
	padding: 0.3vw;
	font-size: 15px;
	font-family: Lato, Calibri,Tahoma , Geneva, Verdana, sans-serif;
	border-radius: 4px;
	border: 2px solid #1D5DA7;
	background-color: #fff;
	color: #333;
}
.memberform{
    max-width: 600px;
	margin: auto;
	transition: 0.5s;
}
.memberform div{
    padding: 0.5rem;
}
.memberform input[type=submit],
.memberform input[type=button],
.memberform input[type=text],
.memberform input[type=email],
.memberform input[type=date],
.memberform input[type=tel],
.memberform select,
.memberform textarea,
.memberform label
{
    font-size: 16px;
	border: 2px solid var(--alternate); 

}
.memberform * + p{
    margin-top: 0; 
}
.memberform label {
    display:block;
    margin-bottom: 10px;
}
.memberform label > span{
    display: inline-block;
    width: 250px;
}
.memberform input[type=text],
.memberform input[type=email],
.memberform input[type=tel],
.memberform input[type=password],
.memberform input[type=date],
.memberform input[type=number],
.memberform select
{
    background: transparent;
    width: 275px;
    outline: none;
    padding: 10px;
}
.memberform textarea{
    padding: 10px;
    background: transparent;
    outline: none;
    width: 275px;
    overflow: hidden;
    resize:none;
    min-height:100px;
}

.memberform textarea:focus,
.memberform input[type=text]:focus,
.memberform input[type=email]:focus,
.memberform input[type=email] :focus
{
    border: 2px solid var(--alternate);
}

.memberform input[type=submit],
.memberform input[type=button]{
    background: var(--alternate);
    border: none;
    padding: 8px 10px 8px 10px;
    color: #fff;
	width: 300px;
}
.memberform input[type=submit]:hover,
.memberform input[type=button]:hover{
background: #394D61;
}
.memberform input:not([type="submit"]),
.memberform textarea {
    border: 2px solid var(--alternate);

}
.memberform:focus-within input:not([type="submit"]):invalid,
.memberform:focus-within textarea:invalid {
	border: 2px solid red !important;
}
.memberform:focus-within input:not([type="submit"]):valid,
.memberform:focus-within textarea:valid {
	border: 2px solid green !important;

}
.memberform input[type="checkbox"] {
		width: auto; 
}
.memberform:focus-within input[type="checkbox"]:invalid {
	outline: 2px solid red !important;
	outline-offset: 2px;

}
.memberform:focus-within input[type="checkbox"]:valid {
	outline: 2px solid green !important;
	outline-offset: 2px;
}
.memberform div:nth-of-type(4n+3), 
.memberform div:nth-of-type(4n+4), 
.memberform tr:nth-of-type(2n) td{
    background-color: var(--transgrey);
}
.memberform > div, 
.memberform > td{
    position: relative;
}
.memberform > div:has(input:required)::after, 
.memberform > td:has(input:required)::after{
    content: "\002A";
    color: #800; 
    font-size: 1.5rem;
    inset: 0 1rem auto auto; 
    position: absolute;
}
.sponsors{
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
}
.sponsors div {
	text-align: center;
	width: 320px;
}
.sponsors div a, .sponsors div a:hover{
	border-bottom: 0;
}
.page{
	height: 500px;
	background-size: cover;
	background-position: center center; 
	margin-bottom: 20px; 
}
.small {
	font-size: 14px; 
}
.pictures > div{
	text-align: center; 
}
table.mappins{
	width: auto; 
}
table.mappins td{
	font-size: inherit;
	padding:  0; 
	height: 50px;
}
table.mappins td:first-of-type{
	text-align: center; 
}
.magazinegrid{
	display: grid;
	gap: 10px;
	margin-block: 10px;
}
.magazinegrid div{
	aspect-ratio: 562/800;
	overflow: hidden;
}
.magazinegrid img{
    height: 100%;
    object-fit: cover;
}
#Main_Results tr:nth-of-type(2n){
	background-color: #f0f0f0;
}
#Main_Results tr:nth-of-type(2n+1){
	background-color: #ddd;
}
#Main_Results td{
	padding: 1rem;
}
#Main_Results table tbody{
	display: grid;
	gap: 1rem; 
}
#Main_Results a{
	color: #222; 
	border-bottom: 1px dashed #ccc;
}
#Main_Results a:hover{
	color: #000; 
	border-bottom: 1px solid #222;
}
.picturegrid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	margin: 2rem auto;
}
.picturegrid > div p{
    padding: 0.5rem; 
    font-size: 0.8rem;
    margin: 0;
}


/* MOBILE **************************************************** */



@media screen and (max-width: 300px) {

.fws2 {
		display: none;
}


}
@media screen and (min-width: 400px) {
.magazinegrid{
	grid-template-columns: repeat(auto-fit,minmax(min(275px,100%),1fr));
	gap: 10px;
}
.picturegrid img{
    object-fit: cover;
    object-position: center;
    height: 100%; 
    width: 100%; 
}
.picturegrid{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(calc(250px + 7vw), 1fr));
    justify-items: center;
    gap: 10px;
}
.picturegrid > div {
	/* height: 40vh; */
	width: 100%;
	max-height: 500px;
    text-align: center;
    position: relative;
}
.picturegrid > div.contain img{
    object-fit: contain;
}
.picturegrid > div p{
    position: absolute;
    inset: auto 0 0 0;
    background-color: var(--halfgrey);
    color: var(--white);
}
.picturegrid:has(.ping) {
    grid-template-columns: repeat(auto-fill,minmax(calc(150px + 3vw), 1fr));
    gap: 1rem;
    align-items: center;
    justify-content: center;
}
.picturegrid:has(.ping) div,
 .picturegrid .ping{
    height: auto; 
    text-align: center;
    padding: 2rem;
}
.picturegrid:has(.ping) div img,
.picturegrid .ping img{
    object-fit: contain;
    max-width: 150px;
    max-height: 150px;
}
.picturegrid:has(.ping) div a,
.picturegrid .ping a{
    pointer-events: none;
}
.picturegrid:has(.ping) div p,
 .picturegrid .ping p{
    display: none;
}
}

@media screen and (max-width: 800px) {
.flexboxes, .flexboxes div  { 
  display: block;
	width: auto; 
}
#cartoon {
	float: none;
}
.memberform table td {
	display: block;

}
 .resultstable tr{
	display: flex; 
	flex-flow: row wrap;
}
.resultstable table td, .resultstable table th {
	display: inline-block;
	flex: 1 1 auto;
	padding: 5px 0;
}
.resultstable td:nth-child(1), .resultstable td:nth-last-child(1), 
.resultstable td:nth-last-child(2)
 {  
 	flex-basis: 100%; 
}
.resultstable td:nth-child(2), .resultstable td:nth-child(3) {  
 	flex-basis: 50%; 
}

}
@media only screen and ( min-width: 990px )
{
.gridlayout{
	grid-template-columns: 180px auto;
}
button{
	display: none;
}
.sponsors div {
	width: auto;
}
.sponsors div img {
	max-width: auto;
}

} 



@media only screen and ( max-width: 990px )
{
nav {
	display: none;
	margin: 0 20px 20px 0;

}
#content {
    margin-left: 0px;
}
button
			{
				display: block  !important;
			}
body{
	border: 0;
}
.logo {
	position: relative;
	margin:  auto;
	padding: 30px;
	top: auto;
	left: auto;
}
#container{
	margin: 0;
	border-radius: 0;
	border: 0;
	box-shadow: none;
}
#all{
	padding: 0;
}
.cuppics{
	display: none; 
}
.memberform input, .memberform textarea, .memberform select{
	width: auto;
}
#titleh1 h1 {
	padding: 10px; 
}
#toplinks div a {
	padding: 21px 1vw;
}
.marquee{
	display: none; 
}
}



@media only screen and ( min-width: 1921px )
{
body{
	background-size: cover;
}

}

@media only screen and ( min-width: 990px )
{
.blur {
-webkit-filter: blur(5px); -moz-filter: blur(5px); -o-filter: blur(5px); -ms-filter: blur(5px); filter: blur(5px);
}
@supports(grid-template-rows:masonry) {
.flexboxes.masonry{
	display: grid; 
	grid-template-columns: repeat(3,1fr);
	align-tracks: stretch;
	border: 0;
	box-shadow: none; 
	grid-template-rows:masonry;
}
}
td{
	font-size: 1rem;
}
th{
	font-size: 1.1rem; 
}
.resultstable{
	line-height: 1.7;
}
.footertxt {
    grid-template-columns: 1fr 1fr;
}
#toplinks .marquee {
	height: 50px;	
	overflow: hidden;
	position: relative;
	display: block;
	background-color: rgba(29, 93, 167,0.5);
	margin-bottom: 1rem;
   }
   #toplinks .marquee p {
	font-size: 1.4rem;
	color: #fff;
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	line-height: 50px;
	text-align: center;
	font-family: Lato, Calibri,Tahoma , Geneva, Verdana, sans-serif;
	font-weight: 400;
	z-index: 0;
	/* Starting position */
	transform:translateX(100%);
	/* Apply animation to this element */	
	animation: marquee 15s linear infinite;
   }
   /* Move it (define the animation) */

   @keyframes marquee {
	0%   { 
	transform: translateX(100%); 		
	}
	100% { 
	transform: translateX(-100%); 
	}
   }
}


@media only screen and ( max-width: 1025px )
{
	body{
		background-size: 100% auto;
	}
/* .club {
	font-size: 70%; 
} */
/* .resultstable{
	overflow: auto;
	overflow-y:hidden;
} */
/* .resultstable table td {
	 padding: 5px 2px; 
} */
.resultstable table{
	background-color: #fff;
}
#footer{
	height: 500px;
}
.greyone, .greytwo,#news-articles, .maintext  {
	padding: 10px 2vw;
}
nav {
	background-color:#fff;
}
/* body::before {
    content: "";
    background-image: inherit;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover;
    background-size: cover !important;
    z-index: -1;

} */
div.darker{
	position: static !important;
}
.forty{
	float: none;
	display: block;
	text-align: center;
	margin: 10px;
}
body{
	background-attachment: scroll;
}
}

#contactform:focus-within input:invalid{
    border: 2px solid #f00 !important;
}

@media only screen and ( max-width: 800px )
{
.cupwinners td, .cupwinners {
	display: block;
}

}

@media only screen and ( max-width: 640px )
{
body{
	background-size: 130% auto;
}

.newsprint{
	float: none;
	margin: auto;
}
#cartoon2 {
	display: inline;
	margin: 10px;
}
#titleh2 h2 {
	padding: 10px;
}
.frontpictures{
	display: none;
}
#container{
	padding: 0;
}
#container *{
	border-radius: 0 !important;
}
.bigheader{
	font-size: 2.5rem;
	line-height: 3rem;
	overflow-wrap: break-word;
	word-wrap: break-word;
	-ms-word-break: break-all;
	word-break: break-all;
	word-break: break-word;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}
.bw{
	max-height: 50svh;
	min-height: 400px;
}
#fws2-instance1.fws2 .slideNext i, 
#fws2-instance1.fws2 .slideNext, 
#fws2-instance1.fws2 .slidePrev i,
#fws2-instance1.fws2 .slidePrev{
	width: 30px !important;
	height: 30px !important;
	font-size: 20px !important;
}
.bullettext{
	line-height: 1.2;
}
.logo{
	max-width: 150px;
}
}

/* DESKTOP **************************************************** */
    
.buysell{
	background-color: #E8EBF4;
	margin: 1rem 0;
	padding: 2rem;
	font-size: 1rem;
	line-height: 1.7;
}
.pictures{
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(min(190px,100%),1fr)) ;
    justify-content: center;
	margin: auto; 
	gap: 10px; 
}
.pictures > div {
	position: relative;
	aspect-ratio: 1;
	padding	: 0; 
}
.pictures > div.smallpic img{
	object-fit: none ;
    justify-content: center;
}
.pictures > div img{
	object-fit: cover ;
	width: 100%;
	height:  100%;
	display: block;
}
.dinghyshow{
	background-color: #34395c;
	color: #fff;
	padding: 0.5vw;
	margin: 1vw auto;
	text-align: center; 
	border-radius: 10px;
}
