.edNews_mediaContainer {
    width: 30rem;
}
.eds_news_Press .in_article_image .image_description {
  position: relative;  
}
/* Code for the conversion of simple TABLES to DIVs*/
/* DivTable.com */
.divTable{
	display: table;
	width: 100%;
}
.divTableRow {
	display: table-row;
}
.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
}
.divTableCell, .divTableHead {
	border: 1px hidden #999999;
	display: table-cell;
	padding: 3px 10px;
}
.divTableHeading {
	background-color: #EEE;
	display: table-header-group;
	font-weight: bold;
}
.divTableFoot {
	background-color: #EEE;
	display: table-footer-group;
	font-weight: bold;
}
.divTableBody {
	display: table-row-group;
}
/* For the Ranking Tables Display */
.flex-container {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
/* For Older Results Tables pre Nov 2019 */
table.results {
    font-size: 90%;
    margin-left:auto; 
    margin-right:auto;
    margin-top: 5px;
    width:80%; 
}
table.rankresults {
    font-size: 90%;
    margin-left:auto; 
    margin-right:auto;
    margin-top: 5px;
    width:60%; 
}
.wideresults {
    font-size: 90%;
    margin-left:0; 
    margin-right:0;
    margin-top: 5px;
    width:100%; 
}
.narrowresults {
    font-size: 90%;
    margin-left:auto; 
    margin-right:auto;
    margin-top: 5px;
    width:60%;    
}
/* For newer results tables less than screen width */
.table-centre {
  margin-left: auto; 
  margin-right: auto;
}
/* = table-dark in Bootstrap 5  */
.thead-dark{--bs-table-color:#fff;--bs-table-bg:#212529;--bs-table-border-color:#373b3e;--bs-table-striped-bg:#2c3034;--bs-table-striped-color:#fff;--bs-table-active-bg:#373b3e;--bs-table-active-color:#fff;--bs-table-hover-bg:#323539;--bs-table-hover-color:#fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)
}
.dnnFormItem input{ 
margin: 0 !important; 
padding: 0 !important; 
} 
.html_preview{ 
margin-top:60px; 
} 
/* 
Max width before the UKFFA tables gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px)
/* (min-device-width: 768px) and (max-device-width: 1024px)  */
{
	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		border-collapse: collapse;
		display: block; 
	}
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	tr { border: 1px solid #ccc; }
	td { 
		/* Behave  like a "row" */
		border: none;
/*		border-bottom: 1px solid #eee;  */
      margin-left:100px;
		padding-left: 20%;
		position: relative;
	}
	td:before { 
		/* Now like a table header */
		/* Top/left values mimic padding */
		left: 6px;
      margin-left:-100px; 
/*		padding-right: 10px; */
		position: absolute;
		top: 6px;
		white-space: nowrap;
    	width: 45%;
	}
.flex-container {
        flex-direction: column;
        width: 100%;
    }
	/*
	Label the various collapsable Tables
	*/
.programme td:nth-of-type(1):before { content: "Date"; }
.programme td:nth-of-type(2):before { content: "Event"; }
.programme td:nth-of-type(3):before { content: "Club/Venue"; }
.programme td:nth-of-type(4):before { content: "Contact"; }
.programme td:nth-of-type(5):before { content: "Documents"; }
.programme td:nth-of-type(6):before { content: "Series"; }
  	/*
	Label the Results Tables (Named Races)
	*/
.results td:nth-of-type(1):before { content: "Race Name"; }
.results td:nth-of-type(2):before { content: "Sail No."; }
.results td:nth-of-type(3):before { content: "Helm Name"; }
.results td:nth-of-type(4):before { content: "Crew Name"; }
.results td:nth-of-type(5):before { content: "Sailing Club"; }
  	/*
	Label the Results Tables (2022)
	*/
.results22 td:nth-of-type(1):before { content: "Position"; }
.results22 td:nth-of-type(2):before { content: "Division"; }
.results22 td:nth-of-type(3):before { content: "Boat Name"; }
.results22 td:nth-of-type(4):before { content: "Sail No."; }
.results22 td:nth-of-type(5):before { content: "Helm Name"; }
.results22 td:nth-of-type(6):before { content: "Crew Name"; }
.results22 td:nth-of-type(7):before { content: "Club"; }
.results22 td:nth-of-type(8):before { content: "Race 1"; }
.results22 td:nth-of-type(9):before { content: "Race 2"; }
.results22 td:nth-of-type(10):before { content: "Race 3"; }
.results22 td:nth-of-type(11):before { content: "Race 4"; }
.results22 td:nth-of-type(12):before { content: "Race 5"; }
.results22 td:nth-of-type(13):before { content: "Points"; }
    /*
	Label the Results Tables (Ranked Finishers)
	*/
.rankresults td:nth-of-type(1):before { content: "Position"; }
.rankresults td:nth-of-type(2):before { content: "Sail No."; }
.rankresults td:nth-of-type(3):before { content: "Helm Name"; }
.rankresults td:nth-of-type(4):before { content: "Crew Name"; }
.rankresults td:nth-of-type(5):before { content: "Sailing Club"; }
 /*
  Label the Fleet Details table
  */
.fleet td:nth-of-type(1):before { content: "Sailing Club"; }
.fleet td:nth-of-type(2):before { content: "Class Captain"; }
.fleet td:nth-of-type(3):before { content: "Telephone"; }
.fleet td:nth-of-type(4):before { content: "Navigation"; }
.fleet td:nth-of-type(5):before { content: "Details";
}
  /*
  Label the Association Contacts table
  */
.contacts td:nth-of-type(1):before { content: "Office"; }
.contacts td:nth-of-type(2):before { content: "Name"; }
.contacts td:nth-of-type(3):before { content: "Telephone"; }
.contacts td:nth-of-type(4):before { content: "Click to Mail"; }
  /* 
 Label the Sailwave Results Summary table - Original
  */
.summarytable td:nth-of-type(1):before { content: "Rank"; }
.summarytable td:nth-of-type(2):before { content: "Sail No."; }
.summarytable td:nth-of-type(3):before { content: "Helm Name"; }
.summarytable td:nth-of-type(4):before { content: "Crew Name"; }
.summarytable td:nth-of-type(5):before { content: "Club"; }
.summarytable td:nth-of-type(6):before { content: "Race 1"; }
.summarytable td:nth-of-type(7):before { content: "Race 2"; }
.summarytable td:nth-of-type(8):before { content: "Race 3"; }
.summarytable td:nth-of-type(9):before { content: "Race 4"; }
.summarytable td:nth-of-type(10):before { content: "Race 5"; }
.summarytable td:nth-of-type(11):before { content: "Race 6"; }
.summarytable td:nth-of-type(12):before { content: "Total"; }
.summarytable td:nth-of-type(13):before { content: "Nett"; }
 /* 
 Label the Sailwave Results Summary table - Original + Boat Name
  */
.summarytable2 td:nth-of-type(1):before { content: "Rank"; }
.summarytable2 td:nth-of-type(2):before { content: "Sail No."; }
.summarytable2 td:nth-of-type(3):before { content: "Boat Name"; }
.summarytable2 td:nth-of-type(4):before { content: "Helm Name"; }
.summarytable2 td:nth-of-type(5):before { content: "Crew Name"; }
.summarytable2 td:nth-of-type(6):before { content: "Club"; }
.summarytable2 td:nth-of-type(7):before { content: "Race 1"; }
.summarytable2 td:nth-of-type(8):before { content: "Race 2"; }
.summarytable2 td:nth-of-type(9):before { content: "Race 3"; }
.summarytable2 td:nth-of-type(10):before { content: "Race 4"; }
.summarytable2 td:nth-of-type(11):before { content: "Race 5"; }
.summarytable2 td:nth-of-type(12):before { content: "Race 6"; }
.summarytable2 td:nth-of-type(13):before { content: "Total"; }
.summarytable2 td:nth-of-type(14):before { content: "Nett"; }
 /* 
 Label the Sailwave Results Summary table - Original + PY
  */
.summarytable3 td:nth-of-type(1):before { content: "Rank"; }
.summarytable3 td:nth-of-type(2):before { content: "Sail No."; }
.summarytable3 td:nth-of-type(3):before { content: "Boat Name"; }
.summarytable3 td:nth-of-type(4):before { content: "Helm Name"; }
.summarytable3 td:nth-of-type(5):before { content: "Crew Name"; }
.summarytable3 td:nth-of-type(6):before { content: "Club"; }
.summarytable3 td:nth-of-type(7):before { content: "PY No."; }
.summarytable3 td:nth-of-type(8):before { content: "Race 1"; }
.summarytable3 td:nth-of-type(9):before { content: "Race 2"; }
.summarytable3 td:nth-of-type(10):before { content: "Race 3"; }
.summarytable3 td:nth-of-type(11):before { content: "Race 4"; }
.summarytable3 td:nth-of-type(12):before { content: "Race 5"; }
.summarytable3 td:nth-of-type(13):before { content: "Race 6"; }
.summarytable3 td:nth-of-type(14):before { content: "Total"; }
.summarytable3 td:nth-of-type(15):before { content: "Nett"; }
  /* 
 Label the Sailwave Results Summary table - 10 race nationals with boat nationality
  */
.summarytable-nats22 td:nth-of-type(1):before { content: "Rank"; }
.summarytable-nats22 td:nth-of-type(2):before { content: "Sail No."; }
.summarytable-nats22 td:nth-of-type(3):before { content: "Nation."; }
.summarytable-nats22 td:nth-of-type(4):before { content: "Helm Name"; }
.summarytable-nats22 td:nth-of-type(5):before { content: "Crew Name"; }
.summarytable-nats22 td:nth-of-type(6):before { content: "Boat Name"; }
.summarytable-nats22 td:nth-of-type(7):before { content: "Club"; }
.summarytable-nats22 td:nth-of-type(8):before { content: "Race 1"; }
.summarytable-nats22 td:nth-of-type(9):before { content: "Race 2"; }
.summarytable-nats22 td:nth-of-type(10):before { content: "Race 3"; }
.summarytable-nats22 td:nth-of-type(11):before { content: "Race 4"; }
.summarytable-nats22 td:nth-of-type(12):before { content: "Race 5"; }
.summarytable-nats22 td:nth-of-type(13):before { content: "Race 6"; }
.summarytable-nats22 td:nth-of-type(14):before { content: "Race 7"; }
.summarytable-nats22 td:nth-of-type(15):before { content: "Race 8"; }
.summarytable-nats22 td:nth-of-type(16):before { content: "Race 9"; }
.summarytable-nats22 td:nth-of-type(17):before { content: "Race 10"; }
.summarytable-nats22 td:nth-of-type(18):before { content: "Total"; }
.summarytable-nats22 td:nth-of-type(19):before { content: "Nett"; }
  /* 
 Label the Sailwave Results Summary table - 10 race nationals with fleet
  */
.summarytable-nats24 td:nth-of-type(1):before { content: "Rank"; }
.summarytable-nats24 td:nth-of-type(2):before { content: "Fleet"; }
.summarytable-nats24 td:nth-of-type(3):before { content: "Boat Name"; }
.summarytable-nats24 td:nth-of-type(4):before { content: "Sail No."; }
.summarytable-nats24 td:nth-of-type(5):before { content: "Club"; }
.summarytable-nats24 td:nth-of-type(6):before { content: "Helm Name"; }
.summarytable-nats24 td:nth-of-type(7):before { content: "Crew Name"; }
.summarytable-nats24 td:nth-of-type(8):before { content: "Race 1"; }
.summarytable-nats24 td:nth-of-type(9):before { content: "Race 2"; }
.summarytable-nats24 td:nth-of-type(10):before { content: "Race 3"; }
.summarytable-nats24 td:nth-of-type(11):before { content: "Race 4"; }
.summarytable-nats24 td:nth-of-type(12):before { content: "Race 5"; }
.summarytable-nats24 td:nth-of-type(13):before { content: "Race 6"; }
.summarytable-nats24 td:nth-of-type(14):before { content: "Race 7"; }
.summarytable-nats24 td:nth-of-type(15):before { content: "Race 8"; }
.summarytable-nats24 td:nth-of-type(16):before { content: "Race 9"; }
.summarytable-nats24 td:nth-of-type(17):before { content: "Race 10"; }
.summarytable-nats24 td:nth-of-type(18):before { content: "Total"; }
.summarytable-nats24 td:nth-of-type(19):before { content: "Nett"; }
 /* 
 Label the Sailwave Results Summary table - 5 race nationals with boat nationality
  */
.summarytable-nats25 td:nth-of-type(1):before { content: "Rank"; }
.summarytable-nats25 td:nth-of-type(2):before { content: "Fleet"; }
.summarytable-nats25 td:nth-of-type(3):before { content: "Nation."; }
.summarytable-nats25 td:nth-of-type(4):before { content: "Sail No."; }
.summarytable-nats25 td:nth-of-type(5):before { content: "Boat Name"; }
.summarytable-nats25 td:nth-of-type(6):before { content: "Helm Name"; }
.summarytable-nats25 td:nth-of-type(7):before { content: "Crew Name"; }
.summarytable-nats25 td:nth-of-type(8):before { content: "Club"; }
.summarytable-nats25 td:nth-of-type(9):before { content: "Race 1"; }
.summarytable-nats25 td:nth-of-type(10):before { content: "Race 2"; }
.summarytable-nats25 td:nth-of-type(11):before { content: "Race 3"; }
.summarytable-nats25 td:nth-of-type(12):before { content: "Race 4"; }
.summarytable-nats25 td:nth-of-type(13):before { content: "Race 5"; }
.summarytable-nats25 td:nth-of-type(14):before { content: "Total"; }
.summarytable-nats25 td:nth-of-type(15):before { content: "Nett"; }

  /*
  Label the Ranking Tables
  */
.ranking td:nth-of-type(1):before { content: "Helm"; }
.ranking td:nth-of-type(2):before { content: "Rank"; }
	/*
	Label the Current Rank Tables
	*/
.currentrank td:nth-of-type(1):before { content: "Rank"; }
.currentrank td:nth-of-type(2):before { content: "Helm Name"; }
.currentrank td:nth-of-type(3):before { content: "Division"; }
.currentrank td:nth-of-type(4):before { content: "Southerns"; }
.currentrank td:nth-of-type(5):before { content: "Nationals"; }
.currentrank td:nth-of-type(6):before { content: "Scottish"; }
.currentrank td:nth-of-type(7):before { content: "Inlands"; }
.currentrank td:nth-of-type(8):before { content: "Northerns"; }
.currentrank td:nth-of-type(9):before { content: "Series Score"; }
}
/*
  Highlight Top 3 positons in Sailwave Tables
*/
.rank1 {
	background-color: #31acf1 !important;
  	color:darkred !important;
}
.rank2 {
    background-color: #ffc0cb !important;
   color:darkred !important;
}
.rank3 {
   background-color: #55ec7a !important;
   color:darkred !important;
}
