@import 'https://fonts.googleapis.com/css?family=Lato';
@import 'menu.css';

body {
	background-color: #000;
	margin: 0px;
	padding: 0px;
	font-family: 'Lato', sans-serif, sans;
    color: #fff;
}
a{
    text-decoration: none;
	color: #fff;
}
img {
	border: 0;
	max-width: 100%;
	height: auto;
}
input, textarea, select {
	font-family:"Open Sans", Calibri, "Trebuchet MS", Arial, Helvetica, sans-serif, Sans;
	font-size: 15px;
	border-radius: 5px;
	padding: 7px;
	border: 2px solid #757761;
	background-color: #fff;
	max-width: 80vw; 
} 
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;
}
::selection {
	background: #c613ae;
	color: #fff;
}
h1,h2,h3,h4{
    font-weight: normal;
}
h1{
    text-transform:uppercase;
    font-size: 30px; 
}
::-webkit-scrollbar {
  width: 2em;
  height: 1em;
}

::-webkit-scrollbar-track {
  background: #c63413;
  border-radius: 100vw;
  margin-block: 0.5em;
}

::-webkit-scrollbar-thumb {
  background: #000;
  border: 0.25em solid #c63413;
  border-radius: 100vw;
}

::-webkit-scrollbar-thumb:hover {
  background: #333;
}
table {
	width: 100%;
	border-collapse: collapse;
}
td {
	padding: 5px 3vw 5px 5px;
	vertical-align: top;
}
table tr:nth-of-type(2n) td{
	background-color: #111;
}
@supports(scrollbar-color: #c63413 #000) {
*{
	scrollbar-color: #c63413 #000; 
}
} 
cite{
	text-align: right;
	display: block;
}



.header{
    max-width: 1400px;
    margin: auto;
    text-align: right;
    padding: 1vw; 
    display: flex;
    justify-content: right;
}
.header div{
    max-width: 500px; 
    display: block;
    margin-left: auto;
    color: #fff;
    font-size: 20px; 
}
.header img{
    width: 320px; 
    display: block;
    margin: auto;
}


.flexpics { 
    font-size: 0;
    flex-flow: row wrap; 
    display: flex;
    justify-content: center;
    gap: 20px;  
    color: #fff;
    font-size: 24px; 
  }
.flexpics > div { 
    flex: 1 1 calc(200px + 5vw) ;
    max-width: 800px;
    position:relative;
    display: flex;
    justify-content: center;
    align-items: center;
	overflow: hidden;
    
}
.flexpics.grid img{
    object-fit: cover;
    height: 100%;
    width: 100%; 
	transition: transform 1.5s ease;
}
.flexpics.grid >div:hover img {
  transform: scale(1.1);
}
.flexpics.grid .text{
    background-color: #c63413;

}
.flexpics.grid .text > div{
    padding: 2vw;
    text-align: center;
}
.maintext{
    max-width: 800px;
    padding: 3vw 5vw;
    font-size: 16px;
    color: #fff;
    line-height: 1.9;
    margin: auto;
}
.maintext ul li {
	display: block;
	list-style: none;
	margin: 0 0 30px 1.1225em;
	padding: 0;
	position: relative;
	line-height: 26px;
}
.maintext ul li::before {
	color: #C63413;
	content: "\2022";
	display: inline-block;
	font-size: 2.2em;
	left: -1em;
	position: absolute;
	top: 0em;
}
.maintext.admin{
	max-width: none;
}
.footer{
    background-color: #C63413;
    color: #fff;
    line-height: 1.7;
}
.social{
    font-size: 20px;
}
.social img{
    margin: 10px;
    vertical-align: middle;
    width: 60px; 
}
.footer{
	width: 100%;
	margin-top: auto; 
}
.footer img{
    margin: 10px;
    vertical-align: middle;
    width: 30px; 
}
.footer > div{
    max-width: 1400px;
    margin: auto;
    padding: 2vw; 
    display: flex;
    flex-wrap: wrap;
}
.footer a{
    color: #fff;
}
.footer > div > div{
    flex: 1 1 400px; 
    padding: 2vw;
}
.footer a:hover{
    color: #000; 
}
.footer h4{
    padding: 10px 0;
    margin: 0;
}
.flexpics.grid > div{
	background-color: white;
	margin: 10px;
}
.topgrid .raceteam{
	max-width: 1400px;
	margin: auto auto 0 auto;
	text-align: left;
	padding: 2vw;
	display: flex;
	justify-content: left;
}
.squares, 
.thirds,
.sponsors
{
	display: grid;
	grid-template-columns: repeat(1,1fr); 
}
.thirds{
	gap: 20px; 
}
.squares a:hover, 
.thirds a:hover,
.maintext a:hover{
	background-color: #C63413;
	outline: 3px solid  #C63413;
}
.squares > div > div,
.thirds > div > div,
.sponsors > div > div{
	margin: auto;
	padding: 3vw;
	line-height: 1.7;
}
.squares img,
.thirds img,
.sponsors img{
	display: block; 
}
.thirds > div,
.squares > div,
.sponsors > div{
	background-color: #222;
} 
.sponsors > .logos{
	background-color: #fff;
}

.sponsors{
	text-align: center; 
}

    @supports(display:grid) {
.flexpics.grid > div{
	background-color: transparent;
}
}
    @supports(gap: 20px) {
.flexpics.grid > div{
	margin: 0;
}
}
.iw{
	text-align: right; 
	background-color: #C63413;
	padding: 10px 20px;	
	font-size: 11px;
}
.iw a{
	color: #222;
}
.page{
	background-size: cover;
	background-position: center center; 
	height: 600px; 
	max-height: 50vh; 
	position: relative;
	background-repeat: no-repeat;
}





@media only screen and ( max-width: 990px ) {
    .flexpics > div:hover > div {
        height: auto;
    
    }
.topgrid .raceteam{
	max-width: 800px;
	padding: 3vw 5vw;
}
.topgrid *{
	text-align: center; 
	justify-content: center; 
	margin-left: auto;
	margin-right: auto; 
}
.squares > div:nth-of-type(3){
	grid-row: 4 / 5;
}
}





@media only screen and ( min-width: 990px ) {
@supports(display:grid) {
.flexpics.grid {
	display: grid;
	grid-template-rows: repeat(5,9vw);
	grid-template-columns: repeat(6,1fr);

}
.flexpics.grid .large{
	grid-row: span 3;
	grid-column: span 3;
}
.flexpics.grid .medium{
	grid-row: span 2;
	grid-column: span 2;
}
.flexpics.grid > div {
	grid-row: span 1;
	grid-column: span 1;
}
.flexpics.grid .tall {
	grid-row: span 4;
	grid-column: span 2;
	display: block;
}
.flexpics.grid .tallsmall {
	grid-row: span 2;
	grid-column: span 1;
	display: block;
}
.flexpics.grid .tallslim {
	grid-row: span 3;
	grid-column: span 1;
	display: block;
}
.flexpics.grid .rowthree{
	grid-row: 2 / 5;
	grid-column: 6 / 7;
}
.squares,
.sponsors{
	grid-template-columns: repeat(2,1fr);
}
.squares > div{
	min-height: 30vw;
	display: flex;
	justify-content: center; 
	align-items: center; 
}
.squares > div > div{
	max-width: 600px; 
}
.squares img 
{
    object-fit: cover;
    height: 100%;
    width: 100%; 
}
.sponsors > div{
	display: flex;
	justify-content: center; 
	align-items: center; 
}
.sponsors > div > div{
	max-width: 600px; 
}
}
.first{
	padding-top: 0;
}
.social{
	text-align: center;
	font-size: 20px;
	justify-content: center;
}
.topgrid{
	display: grid;
	grid-template-columns: repeat(2,1fr);
}
.topgrid .header{
	grid-row: 1 / 2;
	grid-column: 2 / 3;
}
.topgrid .raceteam{
	grid-row: 1 / 2;
}
.thirds blockquote{
	font-size: 20px; 
	background-color: #333;
	padding: 2vw; 
	max-width: 600px; 
}
.squares.contact > div{
	max-height: 50vw; 
}
.logos {
	min-height: 400px; 
}
.page{
	background-attachment: fixed;
}
.sponsors > .logos img{
	max-width: 300px;
}
}





@media only screen and ( min-width: 640px ) {
@supports(display:grid) {

.thirds > div{
	min-height: 30vw;
	display: flex;
	justify-content: center; 
	align-items: center; 
}
 
.thirds img{
    object-fit: cover;
    height: 100%;
    width: 100%; 
}
.thirds{
	grid-template-columns: repeat(3,1fr);
}
.thirds > .twothirds{
	grid-column: span 2;
}

}
}