@import 'https://fonts.googleapis.com/css?family=Roboto|Russo+One';
@import '/menu.css';

body {
	background-color: #fff;
	margin: 0px;
	padding: 0px;
	font-family: Roboto, Helvetica Neue, sans-serif;
}
img {
	border: 0;
	max-width: 100%;
	height: auto;
}
a {
	text-decoration: none; 
	color: #333; 
}
input, textarea, select {
	font-family:Roboto, "Open Sans", Calibri, "Trebuchet MS", Arial, Helvetica, sans-serif, Sans;
	font-size: 15px;
	background-color: #fff;
	max-width: 80vw;
	border: 2px solid #333;
} 
input[type="radio"] {
	width: 20px;
}
a[href^="mailto:"]
{
  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;
}
table{
	width: 100%;
	border-collapse: collapse;
//	table-layout: fixed;
}
th{
	padding: 5px 3vw 5px 5px;
	vertical-align: top;
	text-align: left;
	background-color: #666666;
	color: #fff;
	font-size: 20px; 
}
td{
	padding: 5px 1vw 5px 5px;
	vertical-align: top;
}

.header {
	text-align: center; 
	padding: 20px; 
}

#loginbox{
	max-width: 600px;
	margin: 50px auto;
}
.contactform{
	background-color: #BBC274;	
	border-radius: 10px; 
	padding: 20px; 
	color: #fff; 
}
.maintext {
	max-width: 1200px;
	margin: auto;
	padding: 3vw;
	color: #555;
	line-height: 180%;
}
.maintext h1, .maintext h2, .maintext h3{
	font-weight: 400; 
}
.maintext h1, .maintext h2 {
	letter-spacing: 2px;
	font-size: 30px; 
	text-transform: uppercase; 
}
.narrows {
	max-width: 800px;
	margin: auto; 
}
#form tr:nth-child(odd){
    background-color: #f0f0f0 !important;
}
#form tr:nth-child(even) {
    background-color: #fff !important;

}
#form .dates select{
	width: auto;
}
.container{
	display: flex;
	justify-content: center;	
	position: relative; 
	min-height: 100vh; 
}
.container > div {
	flex: 1 1 auto;
}
.main{
	width:75%; 
	background-color: #fff;
}
.sidebar{
	background-color: #414141;
	color: #fff;
	position: relative; 
}
.sidebar > div > div {
	background-color: #555;
	margin: 10px;
	padding: 20px; 
	box-shadow: 0 0 130px rgba(0, 0, 0, 0.2) inset;
	border-radius: 5px;
	line-height: 160%; 
}
.sidebar h3{
	font-weight: normal;
	color: #BBC274;
}
.sidebar a{
	color: #fff;
}
.sidebar a:hover{
	color: #000;
	background-color: #BBC274;
}
#calendar { 
	font-size: 13px;
	line-height: 13px;
	border-collapse:collapse;
	table-layout: fixed ;
	width: 100% ;

}

#schedule {
	position: relative; 
	margin: auto;
	background-color: #f0f0f0;
	max-width: 1200px; 
}
#schedule .russ{
	font-family: Russo One;
	font-size: 30px; 
	vertical-align: middle;
	padding : 0px 10px 3px 10px; 
	background-color: #BBC274;
	border-radius: 30px;
	line-height: 30px; 
	transition: 0.4s;
}
#schedule .russ:first-of-type{
	margin-right: 20px; 
}
#schedule .russ:last-of-type{
	margin-left: 20px; 
}
#schedule .russ:hover{
	background-color: #333;
	color: #fff;
}
#schedule h3{
	max-width: 800px;
	margin: 30px auto; 
	font-weight: normal; 
}
#calendar a {
	color: #fff; 
	padding-bottom: 10px;
	display: block; 
}
#calendar a:hover {
	color: #ccc;
} 
#calendar td {
	padding: 3px;
	border: 1px solid #444;
}
td {
	vertical-align: top;
} 
#calendar .topdays td{ 
	text-align: center; 
	background: #BBC274;
	color: #000;
	padding: 20px; 
} 
#calendar a .time{
	color: #BBC274;
}
#calendar td  a ~ div {
	display: none; 
}
.highlighteddayboxes {
	background: #3a3a3a; 
	text-align: left;
}
.dayboxes { 
	background: #525252; 
	text-align: left;
} 
.booked { 
	background: #414141; 
	text-align: left;
	color: #fff !important; 
}
.beforedayboxes, .afterdayboxes, .booked, .highlighteddayboxes, .dayboxes { 
	height: 90px;

} 
.numbers { 
	font-size: 20px;
	float: right;
	line-height: 32px; 
	color: #fff;
	padding: 0px 0px 5px 5px;  
} 

.arrows {
	display: inline-block;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	background-color: #555;
}
.arrows:hover{
	background-color: #333;	
}
.right {
	width: 50px;
	height: 50px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	cursor: pointer;
	font-size: 32px;
	color: #FFF;
	line-height: 1.7;
	text-align: center;
}
#mainthreecols {
	padding: 50px 0 50px 0;
	flex-flow: row wrap;
	display: flex;
	justify-content: center;

	color: #666;

}
#mainthreecols > div {
	max-width: 400px;
	flex: 1 1 calc(20% + 100px) ;
	position: relative; 
	text-align: center;
	background-color: #f9f9f9;
	border: 4px solid #BBC274;
	margin: 10px; 
}
@supports (	gap: 20px ) {
#mainthreecols {
	gap: 20px; 
}
#mainthreecols > div{
	margin: 0; 
}
}

#mainthreecols > div .picture{
	width: 100%;
	height: 300px;
	text-align: center; 
	z-index: 1;
}
#mainthreecols > div .picture  img {
    object-fit: cover;
    width: 100%;
    height: 300px;
}
#mainthreecols div a{
 	color: #666;	
 	text-decoration:none;
}
#mainthreecols div a:hover{
 	color: #000;	
}
#mainthreecols div h3 a{
	border-bottom: 0;

}
#mainthreecols div h2{
	font-weight: normal;
	margin: 10px 20px;
	padding: 0px;
	text-align: center; 
	z-index: 3;
	position: relative;
	display: inline-block; 
	width: auto; 
	text-align: center; 
	line-height: 1;
}
#mainthreecols div .text{
	font-size:13px;
	line-height: 160%;
	margin: 20px;
}
#mainthreecols .layerbox{
	line-height: 160%; 
	padding: 0px 20px 10px 20px; 
 	position: relative;
	font-size: 16px;
	text-align: center;   
}
#mainthreecols .layerbox .justtext{
	min-height: 120px; 
}
#mainthreecols .layerbox a{

}
#mainthreecols div h3{
	font-weight: normal; 
	line-height: 1;
	margin: 3px;
}
#mainthreecols div h2 a{
	color: #666; 
}
.events{
	background-color: #fff;
	border: 4px solid #BBC274;
	margin-bottom: 20px;
	padding: 10px 50px; 
}
.pictures2{
	display: flex;
 	flex-flow: row wrap;
    justify-content: center;
	gap: 20px; 
}
.pictures2 > div {
	flex: 1 1 auto;
	width: 300px;
	height	: 270px;
	max-width: 500px;
	position: relative;
	margin	: 4px;
}
.pictures2 > div.smallpic img{
	object-fit: none ;

    justify-content: center;
}
.pictures2 > div img{
	object-fit: cover ;
	width: 100%;
	height:  100%;

}
.pictures2 > div a{
	color: transparent; 
}
.pictures2 .textbox {
	position: absolute;
	width: calc( 100% - 20px ); 
	color: #fff;
	background-color: rgba(0,0,0,0.3); 
	z-index: 2;
	bottom: 0;
	padding: 10px;
	line-height: 170%; 
	transition: 0.4s; 
	height: 60px; 
	overflow: hidden;
}
.pictures2 .textbox a{
	color: #fff; 
	display: block; 
	height: 100%; 
}
.pictures2 > div:hover  .textbox{
	background-color: rgba(187, 194, 116,0.9);
	height: calc( 100% - 20px ); 
}
.narrows tr:nth-child(odd){
    background-color: #f0f0f0 !important;
}
.narrows tr:nth-child(even) {
    background-color: #fff !important;

}
.narrows th {
    background-color: #BBC274;
}
.iw {
	text-align: right;
	font-size: 10px;
	padding: 10px 50px; 
}
.iw a{
	color: #bbb; 
}
.sponsors{
	display: flex;
 	flex-flow: row wrap;
    justify-content: center;
	gap: 50px; 
}
.sponsors > div {
	flex: 1 1 auto;
	width: 200px;
	max-width: 200px;
	position: relative;
	text-align: center; 
	align-items: middle;
}
.sponsors > div > div {
	width: 200px;
	height	: 150px;

}
.sponsors > div > div img{
	width: 100%;
	height: 100%;
	object-fit: scale-down;

}
.sponsors .nopic{
	background-color: #f0f0f0;
}
.regoffice {
	max-width: 1200px;
	margin: auto;
	padding: 1vw 3vw;
	color: #555;
	font-size: 13px;
} 













@media only screen and (min-width: 1024px) {
#calendar td  a + div {
	background-color: rgba(187, 194, 116,0.9);
	color: #fff;
	opacity	: 0; 
	line-height: 160%; 
	border-radius: 15px; 
	position: absolute;
	top: 20px;
	left: calc( 50%	 - 195px);
}
#calendar td  a:hover + div, #calendar td  a:focus + div {
	opacity	: 1; 
	z-index: 1;
	width: 350px;
	padding: 20px;
	transition: opacity 0.4s;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.8); 
	font-size: 15px;
	display: block;
}
}



@media only screen and ( min-width: 800px ) {

.contactform input:not([type="submit"]),
.contactform textarea {
	border: 3px solid transparent !important;
	width: 210px; 
 
}
.contactform:focus-within input:not([type="submit"]):invalid,
.contactform:focus-within textarea:invalid {
	border: 3px solid red !important;
	margin-bottom: 0; 
}
.contactform:focus-within input:not([type="submit"]):valid,
.contactform:focus-within textarea:valid {
	border: 3px solid green !important;
	margin-bottom: 0; 
}
.contactform:focus-within, .contactdiv > div:focus-within {
	background-color: #022F4C;
}
.newpassword {
	position: relative; 
}
input.newpassword:invalid::after{
  content: "more than 8 characters, must contatin one upper case, one lower case, one number";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background-color: red;
	color: #fff;
	padding: 10px; 
}
input, textarea, select {
	font-family:Roboto, "Open Sans", Calibri, "Trebuchet MS", Arial, Helvetica, sans-serif, Sans;
	font-size: 15px;
	border-radius: 5px;
	padding: 7px;
//	border: 2px solid transparent;
	background-color: #fff;
	max-width: 80vw;
	width: 230px; 
} 
select{
	width: 250px; 
}
.sidebar{
	min-height: calc( 100vh - 40px ); 
	position: relative; 
	min-width: 300px;
}
.sidebar > div {
	position: sticky;
	top: 10px; 
}
.sidebar.notsticky > div {
	position: relative;
	top: 10px; 
}
.grey{
	background-color: #f0f0f0;
	margin: auto;
	padding: 40px; 
}
} 


@media only screen and ( min-width: 640px ) {
.pictures{
	display: flex;
 	flex-flow: row wrap;
    justify-content: center;
	margin: 0 auto 20px auto; 
	gap: 20px; 
}
.pictures > div {
	flex: 1 1 350px;
	max-width: 640px;
	position: relative;
	margin	: 6px;
	height: 350px; 
}
.pictures > div.smallpic img{
	object-fit: none ;
    justify-content: center;
}
.pictures > div img{
	object-fit: cover ;
	width: 100%;
	height:  100%;
	display: block; 
}
.pictures.contain > div img{
	object-fit: contain ;
	width: 100%;
	height:  100%;
	display: block; 
}
.pictures.contain > div {
	flex: 1 1 600px;
	max-width: 640px;
	position: relative;
	margin	: 6px;
	height: 640px; 
}
.pictures .text{
	display: none; 
}
}


@media only screen and (max-width: 1024px) {
html,body{
	height: 100%; 
}
.container {
	flex-flow: row wrap;
}
.container > div {
	flex: 1 0 100%;
	width: auto;
}

.sidebar > div {
	position: relative; 
	top: 0; 
}
.page{
	background-attachment: scroll;
}
#mainthreecols{
	padding: 0; 
}
#mainthreecols .layerbox .justtext{
	min-height: 0; 
}
.iw {
	display: none; 
}
#schedule{
	text-align: center; 
}
}



@media only screen and (max-width: 640px) {
.sidebar, .hideaway{
	width: auto;
	max-width: none; 
	min-width: 0; 
	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;
}
.sidebar{
	background-size: auto 100%;
}
.sidebar > div > h1{
	font-size: 15vw;
}
#calendar td, #calendar .numbers {
	display: block;
	height: auto;
	width: auto;
	float: none;  
}
#calendar .beforedayboxes, #calendar .topdays, #calendar .afterdayboxes{
	display: none; 
}
.pictures > div {
	text-align: center; 
	margin: 10px;
}
#mainthreecols > div {
	flex: 1 1 100% ;
	max-width: 100%;
}
.pictures2 > div{
	max-width: 100%; 
	border-right: 0;
	border-left: 0; 
}
.pictures2 {
	border: 0; 
}
.narrows tr{
	display: flex;
	flex-flow: row wrap;
}
.narrows th {
	flex: 1 1 auto;
}

}