a {
	color: #1D4E74;
	font-weight: bold;
/*	border: 1px black solid;*/
}

a:hover {
	color: #00274F;
}

body {
	/*background-color: #6795f0;*/
	background-color: #fefafa;
	/*background-image: url('alice-mindru-jy4oF77LQmM-unsplash(1).jpg');*/
	background-image: url('../images/background.gif');
	color: #0e0303;
	margin: 0;
}

h1 {

	font-size: 1.75rem;
	line-height: 2rem;
}

hr {border:0;
	border-top: 1px solid #aaaaaa;
}

html {
	font-family: 'Lato', sans-serif;
	font-size: 20px;
	line-height: 30px;

}

input[type=text], select, textarea {
	border: 3px solid #fefafa;
	border-radius: 4px;
	box-sizing: border-box; 
	font-family: inherit;
	font-size: 1rem;
	font-weight: bold;
	margin-bottom: 0;
	margin-top: 6px;
	padding: 12px;
	resize: vertical;
	width: 100%;
}

input[type=submit] {
	/*background-color: #4CAF50;*/
	background-color: #0E7A3E;
	border: none;
	border-radius: 8px;
	box-sizing: border-box; 
	color: white;
	cursor: pointer;
	font-size: 1rem;
	margin: 0 auto;	
	padding: 12px 30px;
}

input[type=submit]:hover {
  background-color: #006334;

}

input:focus,
select:focus,
textarea:focus,
button:focus {

	border: 3px solid #00274F;
    outline: none;
    
}

input, label {
    display:block;
}

label {
	width: 100%;
}

table {
	border: 1px solid #0e0303;
	border-collapse: collapse;
	text-align: center;
	width: 100%;
}

td{
	border: 1px solid #0e0303;
}

textarea{
	width: 100%;
}

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


/* ****************  */

.banner {
	padding-bottom: 1rem;
	padding-top: 2rem;
	text-align: center;
}

.close {
	cursor: pointer;
	display: block;
	min-height: 1.5rem;
	min-width: 2rem;
	font-size: 1.25rem;
	float: right;
	text-align: center;
	text-decoration: none;
}


.consent {
	background-color: #1D4E74;
	bottom: 0;
	color: #ffffff;
	font-size: .75rem;
	line-height: 1rem;
	min-height: 1.5rem;
	left: 0;
	
	padding-top: .5rem;
	position: fixed;
	width: 100%;
}

.consent p {
	max-width: 40rem;
	margin: 0 auto 0;
	padding-left: 1rem;
	padding-right: 1rem;
}

.consent a {
	color: #ffffff;
}

.contbackcol1{
	background-color: #6EE3CE;
	background-image: url('../images/background1.gif');
	border-bottom: 1px solid #1D4E74;
}

.contbackcol2{
	background-color: #D1F0FE;
	background-image: url('../images/background2.gif');
}

.contbackcol3{
	background-color: #7FDDF9;
	background-image: url('../images/background3.gif');

}

.continner {
	max-width: 40rem;
	margin: 0 auto 0;
	padding-left: 1rem;
	padding-right: 1rem;
}

.cookietext {
	/* kludge to make wrap of text with close box X tidied on window shrink */
	padding-right: 6rem;
}

.error {
	background-color: #ffffff;
	border: solid 3px red !important;
}

.focus::placeholder {
  color: transparent;
} 

footer {

	background-color: #7FDDF9;
	background-image: url('../images/background3.gif');
	border-top: 1px solid #1D4E74;
	padding: 2rem 0 2rem;
}

footer .continner {
	display: grid;
	margin-bottom: 4rem;
}

footer .left {
	margin-bottom: 1rem;
	line-height: 2rem;
}

footer .right {
	border-top: 1px solid #1D4E74;
	padding-top: 1rem;
}

.formbox{
	background-color: #D1F0FE;
	background-image: url('../images/background3.gif');
	 border-radius: 25px;
	 margin-bottom: 3rem;
	padding: 1rem;
}

.form-email {display: none;} /* spambuster - invisible field. robot fills it, form doesn't go */

.form-message {
	position: absolute;top: 50%; 
	width: 100%; height: 300px; 
	margin-top: -150px; 
	padding: 1rem;
	text-align: center;
}

form .messagebox {
	font-size: .75rem;
	font-weight: bold;
}

.form-message-wrap { 

	position: fixed;
	top:0;bottom: 0;right:0;left:0;
	z-index: 999; background-color: #000000; color: #ffffff;  
	filter: alpha(opacity=55);
	opacity: 0.97;
	display: none;
}

.headbutts {

}

.headbutts a{
	background-color: #0E3D65;
	border-radius: .25rem;
	color: #ffffff;
	display: inline-block; /* just so I can stick a b margin on in case they stack on window resize */
	margin-bottom: .125rem;
	padding: .5rem;
	text-decoration: none;
}

.headbutts a:hover{
	background-color: #00274F;
}

header {
	padding: 0;
}

header .banner{
	display: grid;
}

header {
	border-bottom: 1px solid #1D4E74;
	color: #0E3D65;
	width: 100%;
}


header h1 {
	margin: 5rem 0 .5rem;
}

header h2 {
	margin: 0;
	font-size: 2rem;
}

/*header hr {
	border-bottom: 0;
	border-top: 1px solid #ffffff;
	margin-bottom: 2rem;
	width: 15rem;
}*/

header p {
	margin: 0;
}

.intro {
	align-items: center;
	font-size: 1.125rem;
	justify-content: center;
	line-height: 1.875rem;
	padding: 1rem;
}

/*.intro img{
	margin: 0 auto 2rem;
}*/

.intro p {
	margin-top: 0;
}

.listbox {
	column-gap: .25rem;
	column-width: 10rem;
}

.listbox li {
	background-color: #ffffff;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
 	margin-bottom: .25rem;
 	padding: .5rem;
}

.logo {
	width: 12rem;

}

.messagebox {
	color: red;
	font-size: 1rem;
	height: 2rem;
	margin-bottom: .5rem;

}

nav {
	overflow: hidden;
}

nav a {
	color:#00274F;
	display: block;
	font-weight: normal;
	padding: 1rem .5rem 1rem;
	text-decoration: none;
	height: 100%;
}

nav a:hover{
		color: #0059a0;
}

nav ul li:not(:last-child)  {
	border-bottom: 1px solid #00274F;;
}

.photo {
/*	background-color: #ffffff;
	border: 1px solid #0e0303;
	float: left;
	margin-right: 1rem;
	padding: 1rem; */
	border-radius: 50%;
	display: block; /* so photo is vertically centred */

}

.tagline {
	font-family: 'Georgia', serif;
	font-size: 1.25rem;
	line-height: 1.5rem;
	margin-bottom: 1.5rem;
	margin-top: 0;

}

.textlist {
	list-style-type: disc;
	margin-bottom: 1rem;
}

.textlist li {
	margin-bottom: .5rem;
}

.tickon {
	background: url('../images/tick.svg'); 
	background-color: transparent;
	background-position: 100% 0;
	background-repeat:no-repeat; 
	background-size: 2rem;
	border: 3px solid transparent !important;
}

.translate {
	display: block;
	text-align: right;
}

/* desktop 2nd */
@media only screen and (min-width: 800px) {


  html {
	font-size: 24px;
	line-height: 40px;
  }

  h1 {font-size: 2rem;
	line-height:2.5rem
	}

  .banner .left{
  	text-align: left;
  }

   .banner .right{
  	text-align: right;
  }

  .consent {
  	padding-bottom: 0;
  }

  footer {
	font-size: .75rem;
	line-height: 1.25rem;
  }

  footer .continner {
  	grid-template-columns: 50% 50%;
	margin-bottom: 0;
  }

  footer .left {
  	line-height: 1.5rem;	
  }

  footer .right {
	border-top: 0;
	padding-top: 0;
}

  header .banner{
 	grid-template-columns: fit-content(18rem) 1fr;
  }

  .intro {
	display: grid;
  	grid-template-columns: 360px 1fr;
  }

  .listbox {
	font-size: .875rem;
	line-height: 1rem;
  }

  nav {
	font-size: .875rem;
	line-height: 1rem;
  }

  nav li {
		border-bottom: 0;
	}

  nav ul {
	display: flex;
    justify-content: space-between;
  }

/*  nav ul li:nth-child(n){
  	border-bottom:0;
  }*/

 nav ul li:not(:last-child)  {
 	border: 0;
 }

.tagline {
	padding-left: .25rem;
}
/*  nav ul:last-child {
  	border-bottom: 0; remove border on last one that you've just put on all of them 
  }*/

}