/* css for btw racing site */

@media (min-width:320px)  { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ 
body {
  background-image: url("/images/racing_bg1.jpg");
  background-size: 250%; 
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll; /* Change to scroll for smaller screens */
  background-color: rgb(56, 53, 26);
  font-family: Arial, Helvetica, sans-serif;
  height: 100%;
  margin: 0px;
}

a:link, a:visited, a:active {
	color: black;
	text-decoration: none;
}
a:hover {
	color: gray;
	text-decoration: none;
}

html { 
	height: 100%;
	margin: 0px;
    }

.lowest-time {
        background-color: yellow; /* You can change this to your preferred highlighting style */
    }
	
.event_description_box {
	box-sizing: border-box;
	width:100%;
	height: 3em;
    resize: vertical;
    word-wrap: break-word;
	font-size: 0.75em !important;
	vertical-align: top;
    white-space: normal;
    }

	
.logo_div {
	background-color: rgba(255,255,255,.85);
	width: 100%;
	text-align: center;
	margin: auto;
	padding: 2em;
}
.main_div {
	width: 99%;
	text-align: center;
	margin: auto;
	padding: 0em;
	background-color: rgba(255,255,255,.85);
	border-radius: 25px;
}

.main_div_editor {
	width: fit-content;
	text-align: center;
	margin: auto;
	padding: 1em;
	background-color: rgba(255,255,255,.90);
	border-radius: 25px;
}

.login_div {
	width: 85%;
	max-width: 600px;
	text-align: center;
	margin: auto;
	padding: 0em;
	background-color: rgba(255,255,255,.90);
	border-radius: 25px;
}
.logo_img {
	width: 65%;
	max-width: 900px;
}

div {
	width: 50%;
	text-align: center;
	margin: auto;
	padding: 1em;
}

h1 {
	font-family: Arial, Helvetica, sans-serif;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
}
h3 {
	font-family: Arial, Helvetica, sans-serif;
}
p {
	font-size: 50px;
	font-family: Arial, Helvetica, sans-serif;
}

table {
	text-align: center;
	width: 100%;
	/* font-size: 23px; 
	margin-left: auto;
	margin-right: auto;*/
	font-size: 2.25vw;
	border-collapse:collapse;
	font-family: Helvetica, sans-serif;
}
tr {
	height: 4.25em;

}
th {
	font-weight: bold;
}

.public_tr {
	height: 2.25em;
}

.table_font {
	font-size: 1.5em;
}

.raceresults_font {
	/*font-size: 1.15em;*/
	font-size: 1em;
	height: 30px;
	border-left: 1pt solid black;
}

.raceresults_fastest_font {
	font-size: 1.15em;
	height: 30px;
	border-left: 1pt solid black;
	background-color: orange;
}

.headers {
	background-color: rgba(90,90,90,.50);
	height: 38px;
}

.class_headers {
	background-color: rgba(40,40,40,.50);
	font-size: 1.1em;
	font-family: Helvetica;
	height: 38px;
	border-top: 3pt solid black;
}

.table_login{
	width: 100%;
}
input[type=text] {
  box-sizing: border-box;
  font-size: 24px;
}
input[type=text].editor {
  box-sizing: border-box;
  font-size: .9em;
  max-width: 90px;
}
input[type=password] {
  box-sizing: border-box;
  font-size: 24px;
}
input[type=date] {
  box-sizing: border-box;
  font-size: 24px;
}
select {
  box-sizing: border-box;
  font-size: 24px;
}
.btn_login {
background-color: black;
  border: 2px;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 2em;
  border-radius: 4px;
}
.btn_add {
	background-color: black;
  border: 2px;
  color: white;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  border-radius: 4px;
}

.btn_delete {
	background-color: black;
  border: 2px;
  color: white;
  padding: 0px 4px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 4px;
}
.btn_register {
  background-color: black;
  border: 2px;
  color: white;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 4px;
}

}
@media (min-width:480px)  { /* smartphones, Android phones, landscape iPhone */ }
@media (min-width:600px)  { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ }
@media (min-width:801px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */ }
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */

body {
  background-image: url("/images/racing_bg1.jpg");
  background-size: 130%;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-color: rgb(56, 53, 26);
  font-family: Arial, Helvetica, sans-serif;
  height: 100%;
  margin: 0px;
}

html { 
	height: 100%;
	margin: 0px;
    }

.lowest-time {
        background-color: yellow; /* You can change this to your preferred highlighting style */
    }

.event_description_box {
	box-sizing: border-box !important;
	width:100%;
	height: 3em !important;
    resize: vertical !important;

	font-size: 0.75em !important;
	vertical-align: top;
    white-space: normal;
    }


.logo_div {
	background-color: rgba(255,255,255,.90);
	width: 100%;
	text-align: center;
	margin: auto;
	padding: 0em;
	
	
}

.main_div {
	width: 85%; 
	max-width: 900px;
	text-align: center;
	margin: auto;
	padding: 0em;
	background-color: rgba(255,255,255,.90);
	border-radius: 25px;
}

.main_div_editor {
	width: fit-content;
	max-width: 99%;
	text-align: center;
	margin: auto;
	padding: 1em;
	background-color: rgba(255,255,255,.90);
	border-radius: 25px;
}

.login_div {
	width: 35%;
	max-width: 400px;
	text-align: center;
	margin: auto;
	padding: 0em;
	background-color: rgba(255,255,255,.90);
	border-radius: 25px;
}

.logo_img {
	width: 80%;
	max-width: 900px;
}


div {
	width: 100%;
}

h1 {
	font-family: Arial, Helvetica, sans-serif;

}

h2 {
	font-family: Arial, Helvetica, sans-serif;

}
h3 {
	font-family: Arial, Helvetica, sans-serif;
}
	

p {
	font-size: 24px;
	font-family: Arial, Helvetica, sans-serif;
}

table {
	text-align: center;
	width: 95%;
	font-size: 18px;
	margin-left: auto;
	margin-right: auto;
	border-collapse:collapse;
}
tr {
	height: 35px;
}
th {
	font-weight: bold;

}

.table_font {
	font-size: 1em;
}

.headers {
	background-color: rgba(90,90,90,.50);
	height: 30px;
}
.class_headers {
	background-color: rgba(40,40,40,.50);
	font-size: 1.1em;
	font-family: Helvetica;
	height: 30px;
	border-top: 3pt solid black;
}
.raceresults_font {
	font-size: .9em;
	height: 28px;
	border-left: 1pt solid black;
	border-right: 1pt solid black;
}
.raceresults_fastest_font {
	font-size: .9em;
	height: 28px;
	border-left: 1pt solid black;
	border-right: 1pt solid black;
	background-color: orange;
}

.table_login{
	width: 100%;
	max-width: 500px;
}

input[type=text] {
  box-sizing: border-box;
  font-size: 18px;
}
input[type=text].editor {
  box-sizing: border-box;
  font-size: .9em;
  max-width: 90px;
}
input[type=password] {
  box-sizing: border-box;
  font-size: 18px;
}
input[type=date] {
  box-sizing: border-box;
  font-size: 18px;
}
select {
  box-sizing: border-box;
  font-size: 18px;
}

.btn_login {
background-color: black;
  border: 2px;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 10px;
}

.btn_add {
  background-color: black;
  border: 2px;
  color: white;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 10px;
}
.btn_delete {
	background-color: black;
  border: 2px;
  color: white;
  padding: 4px 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 10px;
}
.btn_register {
  background-color: black;
  border: 2px;
  color: white;
  padding: 10px 24px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 10px;
}
}