/* ----- SCHEDULE PAGES CSS ------ */

.dirtcar-results-headings {
    border-top: 5px solid black;
    border-right: 5px solid black;
    border-radius: 0px 15px 0px 0px;
    padding: 0 10px 0 10px;
    margin: -10px 0 10px 0;
}

.dirtcar-pageheadings {
    color: #000000;
    font-family: "Oswald", Sans-serif;
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
}

.dirtcar-subheadings {
    color: #000000;
    font-family: "Oswald", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: -8px;
}

.seasondropdown {
	padding: 0px !important;
	font-size: 12px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
	opacity: 0;
  transition: opacity 0.5s ease-in-out;
  }

.modal.show {
  opacity: 1;
}

.modal.hide {
  opacity: 0;
}
  
  /* Modal Content */
  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border: 1px solid #ddd;
    width: 80%;
    max-width: 400px;
    box-shadow: 0px 0px 20px #888888;
    overflow: hidden;
  }
  
  /* Close Button */
  .close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: red;
    cursor: pointer;
    margin-right: 10px;
	margin-bottom: -40px;
	position: relative;
	z-index: 1;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Modal Header */
  .modal-header {
    color: #fff;
    text-align: center;
		position: relative;
  }

.modal-header-img {
	position: relative;
}

.modal-header-img img {
	margin-top: -55px;
	opacity: 50%;
}

.modal-header-track-logo {
	position: absolute;
  top: 33%;
  left: 50%;
  transform: translate(-50%, -50%);
	z-index: 2;
	max-width: 300px;
	width: 100%;
}

.modal-header h2 {
	font-size: 24px;
	padding: 20px;
	margin-bottom: 0px;
}
  
  /* Modal Body */
  .modal-body {
    padding: 20px;
	text-align: center;
  }
  
  /* Modal Footer */
  .modal-footer {
    color: #000;
    padding: 10px;
    text-align: center;
	border-top: 1px solid #e7e7e7;
  }
  
  /* Modal Button */
  .modal-button {
    background-color: #fff;
    border: none;
    color: #e30000;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
  }
  
  .modal-button:hover {
    background-color: #f7f7f7;
  }
  
  .modal-button:active {
    background-color: #ddd;
  }

  /* Modal Link */
  #modal-link {
    border: none;
    color: #fff;
    padding: 3px 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
	margin-left: 6px;
  }

#modal-link-latemodels {
	font-family: 'Oswald';
    text-transform: uppercase;
	border: none;
    color: #fff;
    padding: 4px 16px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
	margin-left: 6px;
	background-color: #e58e1a
}

#modal-link-sprintcars {
	font-family: 'Oswald';
    text-transform: uppercase;
	border: none;
    color: #fff;
    padding: 4px 16px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
	margin-left: 6px;
	background-color: #127bbe
}

#modal-link-cancelled {
	font-family: 'Oswald';
    text-transform: uppercase;
	border: none;
    color: #fff;
    padding: 4px 16px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
	margin-left: 6px;
	background-color: #3c3c3c
}

#modal-link-postponed {
	font-family: 'Oswald';
    text-transform: uppercase;
	border: none;
    color: #fff;
    padding: 4px 16px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
	margin-left: 6px;
	background-color: #818080
}

#modal-link-postponed:hover {
	background-color: #cdcdcd
}

#modal-link-latemodels-sprintcars{
	font-family: 'Oswald';
    text-transform: uppercase;
	border: none;
    color: #fff;
    padding: 4px 16px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
	margin-left: 6px;
	background-color: #ea0001
}
   
#modal-link:hover, #modal-link-latemodels:hover, #modal-link-sprintcars:hover, #modal-link-cancelled:hover, #modal-link-latemodels-sprintcars:hover {
    background-color: #3f4047;
  }
  
#modal-link:active {
    background-color: #c10000;
  }

#modal-link .latemodels-tickets {
	background-color: #e58e1a !important;
}

.ticketbuttons-sprintcars {
	background: #127bbe;
	padding: 10px 40px;
	color: white !important;
	font-family: 'Oswald';
	text-transform: uppercase;
	font-size: 22px;
	border-radius: 5px;
}

.ticketbuttons-latemodels {
		background: #e58e1a;
padding: 10px 40px;
color: white !important;
font-family: 'Oswald';
text-transform: uppercase;
font-size: 22px;
border-radius: 5px;
}

.ticketbuttons-sprintcars:hover, .ticketbuttons-latemodels:hover  {
background: #3f4047;
}

@media only screen and (max-width: 767px) {
.modal-content {
	margin: 32% auto;
}
}

.schedulebox {
	display: grid; 
	grid-auto-columns: 1fr; 
	grid-template-columns: 0.3fr 2.0fr 0.4fr 1.3fr; 
	grid-template-rows: 1fr; 
	gap: 0px 0px; 
	grid-template-areas: 
	". . . ."; 
	border: 1px solid #ececec;
	box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  	transition: box-shadow 0.2s ease-in-out;
	background-color: #f9f9f9;
	margin-bottom: 10px;
	align-items: center;
}

.schedulebox:hover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.3);
	background-color: #f9f9f9;	
}

.scheduleboxpostponed {
	display: grid; 
	grid-auto-columns: 1fr; 
	grid-template-columns: 0.3fr 2.0fr 0.4fr 1.3fr; 
	grid-template-rows: 1fr; 
	gap: 0px 0px; 
	grid-template-areas: 
	". . . ."; 
	box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  	transition: box-shadow 0.2s ease-in-out;
	background-color: #b1b1b1;
	align-items: center;
	margin-bottom: 10px;
}

.scheduleboxpostponed:hover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.3);
	background-color: #b1b1b1;	
}

.scheduleboxcancelled {
	display: grid; 
	grid-auto-columns: 1fr; 
	grid-template-columns: 0.3fr 2.0fr 0.4fr 1.3fr; 
	grid-template-rows: 1fr; 
	gap: 0px 0px; 
	grid-template-areas: 
	". . . ."; 
	box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  	transition: box-shadow 0.2s ease-in-out;
	background-color: #636262;
	margin-bottom: 10px;
	align-items: center;
}

.scheduleboxcancelled:hover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.3);
	background-color: #636262;
}

.datecolumnsprint {
	text-align: center;
	background-color: #127bbe;
	color: #fff;
	font-family: Oswald;
	align-self: normal;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.datecolumnlm {
	text-align: center;
	background-color: #e58e1a !important;
	color: #fff;
	font-family: Oswald;
	align-self: normal;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.datecolumncombined {
	text-align: center;
	background: rgb(18,123,190);
	background: #ea0000;
	color: #fff;
	font-family: Oswald;
	align-self: normal;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.datecolumnother {
	text-align: center;
	background-color: #4a4a4a;
	color: #fff;
	font-family: Oswald;
	align-self: normal;
	display: inline-grid;
    align-items: center;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.datecolumnsprintpostponed, .datecolumnlmpostponed {
	text-align: center;
	color: #ffffff;
	font-family: 'Oswald';
	align-self: normal;
	display: inline-grid;
    align-items: center;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	background-color: #818080;
}

.datecolumnsprintcancelled, .datecolumnlmcancelled {
	text-align: center;
	color: #00000061;
	font-family: 'Oswald';
	align-self: normal;
	display: inline-grid;
    align-items: center;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.schedulebuttonslm {
    background: #e58e1a;
    padding: 2px 6px;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    width: 100px !important;
	margin-left: 8px;
	font-family: 'Oswald';
}

.schedulebuttonssprint {
    background: #127bbe;
    padding: 2px 6px;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    width: 100px !important;
	margin-left: 8px;
	font-family: 'Oswald';
}

.schedulebuttonscombined {
    background: #ea0000;
    padding: 2px 6px;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    width: 100px !important;
	margin-left: 8px;
	font-family: 'Oswald';
}

.schedulebuttonssprintpostponed, .schedulebuttonslmpostponed, .schedulebuttonscombinedpostponed {
    background: #5d5d5d;
    cursor: pointer;
    -webkit-appearence: button;
    padding: 2px 6px;
    color: #fff;
    font-family: 'Oswald';
    font-size: 16px;
    text-transform: uppercase;
    width: 100px !important;
	font-family: 'Oswald';
	margin: 4px;
}

.schedulebuttonssprintcancelled, .schedulebuttonslmcancelled, .schedulebuttonscombinedcancelled {
    background: #464646;
    cursor: pointer;
    -webkit-appearence: button;
    padding: 2px 6px;
    color: #fff;
    font-family: 'Oswald';
    font-size: 16px;
    text-transform: uppercase;
    width: 100px !important;
	font-family: 'Oswald';
}

.schedmargincancelled, .schedmarginpostponed {
	filter: grayscale(100%);
	opacity: 50%;
}

.scheduletitle {
	font-family: Oswald;
	font-size: 24px;
	line-height: 24px;
}

.schednamemargin {
	margin-left: 10px;
}

.schedlogos, .schedlogoscancelled, .schedlogospostponed {
	padding: 8px;
	margin: 0 auto;
}

.schedlogos, .schedlogoscancelled img, .schedlogospostponed img {
	max-width: 95px !important;
	width: 100%;
}

.schedlogoscancelled img, .schedlogospostponed img {
	filter: grayscale(100%);
    opacity: 50%;
}

.scheduletitlecancelled, .scheduletitlepostponed {
	font-family: Oswald;
	font-size: 22px;
	line-height: 21px;
	color: #333333;
}

.schedlogo {
	width: 100px;
	margin: auto;
}

.monthtabs {
	text-align: center;
	width: 100%;
	height: auto;
	margin-top: 10px;
}

.monthtabsbottom {
	text-align: center;
	width: 100%;
	height: auto;
	margin-bottom: 20px;
}

.monthbuttons {
	background-color: #d20e1b;
	color: #fff;
	padding: 4px 0px;
	width: 75px;
	text-align: center;
	font-size: 14px;
	font-family: 'Oswald';
	font-weight: 400;
	line-height: 1.4em;
	text-transform: uppercase;
	letter-spacing: -.02em;
	display: inline-block;
	margin-bottom: 4px;
}

.monthbutton {
	background-color: #d20e1b;
	color: #fff;
	padding: 4px 0px;
	width: 75px;
	text-align: center;
	font-size: 14px;
	font-family: 'Oswald';
	font-weight: 400;
	line-height: 1.4em;
	text-transform: uppercase;
	letter-spacing: -.02em;
	display: inline-block;
	margin-bottom: 4px;
}

.monthbutton:hover {
	background-color: #A30002;
	color: #fff;
	padding: 4px 0px;
	width: 75px;
	text-align: center;
	font-size: 14px;
	font-family: 'Oswald';
	font-weight: 400;
	line-height: 1.4em;
	text-transform: uppercase;
	letter-spacing: -.02em;
	display: inline-block;
	margin-bottom: 4px;
}

.sprintmonthbutton {
	background-color: #f47836;
	color: #000;
	padding: 4px 0px;
	width: 75px;
	text-align: center;
	font-size: 14px;
	font-family: 'Oswald';
	font-weight: 400;
	line-height: 1.4em;
	text-transform: uppercase;
	letter-spacing: -.02em;
	display: inline-block;
	margin-bottom: 4px;
}

.sprintmonthbutton:hover {
	background-color: #c05e29;
	color: #000;
	padding: 4px 0px;
	width: 75px;
	text-align: center;
	font-size: 14px;
	font-family: 'Oswald';
	font-weight: 400;
	line-height: 1.4em;
	text-transform: uppercase;
	letter-spacing: -.02em;
	display: inline-block;
	margin-bottom: 4px;
}

.monthbuttonactive {
	background-color: #000;
	color: #fff;
	padding: 4px 0px;
	width: 75px;
	text-align: center;
	font-size: 14px;
	font-family: 'Oswald';
	font-weight: 400;
	line-height: 1.4em;
	text-transform: uppercase;
	letter-spacing: -.02em;
	display: inline-block;
	margin-bottom: 4px;
}

.monthbuttonactive:hover {
	background-color: #1A1A1A;
	color: #fff;
	padding: 4px 0px;
	width: 75px;
	text-align: center;
	font-size: 14px;
	font-family: 'Oswald';
	font-weight: 400;
	line-height: 1.4em;
	text-transform: uppercase;
	letter-spacing: -.02em;
	display: inline-block;
	margin-bottom: 4px;
}

.monthright {
	margin-right: 0.3%;
	margin-left: 0.3%;
}

.schedulewinner {
	text-align: center;
	margin-top: 10px;
}

.schedule-event-buttons {
	text-align: center;
}

.schedule-event-buttons a {
	color: white;
	text-align: center;
}

.eventinfoticketbutton {
	width: 175px !important;
}

.eventinfoticketbutton:first-child {
	margin-right: 5px;
}

.biggerdate {
	font-size: 28px;
}

.winner-headshot {
	display: flex;
}

@media screen and (max-width: 767px) {
	.winner-headshot {
		margin-bottom: 10px;
	}	
}

.w3-modal{z-index:3;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4)}

.w3-modal-content{
	margin:auto;
	background-color:#fff;
	position:relative;
	padding:0;
	outline:0;
	width:600px;
	max-width: 100%;
	margin-top:90px;
	text-align: center;
}
.w3-display-topright{position:absolute;right:0;top:0}
.w3-btn,.w3-button{border:none;display:inline-block;padding:0px 12px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}
.w3-btn,.w3-button:hover{box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19)}
.w3-btn,.w3-button{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}   
.w3-disabled,.w3-btn:disabled,.w3-button:disabled{cursor:not-allowed;opacity:0.3}.w3-disabled *,:disabled *{pointer-events:none}
.w3-btn.w3-disabled:hover,.w3-btn:disabled:hover{box-shadow:none}
.w3-teal,.w3-hover-teal:hover{color:#fff!important;background-color:#009688!important}
.w3-animate-opacity{animation:opac 0.8s}@keyframes opac{from{opacity:0} to{opacity:1}}

.w3-modal-content h2 {
	font-size: 22px;
}

@media screen and (max-width: 1230px) {
	.schedulebuttonslm, .schedulebuttonssprint {
		width: 90px !important;
		margin-left: 6px;
	}
}

@media screen and (max-width: 1024px) {
	.schedulebuttonslm, .schedulebuttonssprint {
		width: 65px !important;
	}
	.schednamemargin {
		font-size: 16px;
	}
	.scheduletitle {
		font-size: 20px;
		line-height: 20px;
	}
}

@media screen and (min-width: 767px) {
	.mobiledate {
		display: none !important;
	}
	.datecolumncombined, .datecolumnlm, .datecolumnsprint {
		min-width: 70px;
	}
}

@media screen and (max-width: 767px) {
	.schedulebox, .scheduleboxpostponed, .scheduleboxcancelled {
		display: inline-block;
		width: 100%;
		text-align: center;
	}
	.mobiledate {
		display: grid !important;
	}
	.desktopdate {
		display: none !important;
	}
	.schednamemargin {
		margin-top: 10px;
		margin-left: 0;
	}
	.scheduletitle {
		font-size: 28px;
		line-height: 28px;
	}
	.schedlogos {
		padding: 4px;
	}
	.schedlogos img {
		max-width: 100px;
	}
	.schedule-event-buttons {
		margin-bottom: 10px;
	}
	.schedulebuttonslm, .schedulebuttonssprint {
		width: 90px !important;
	}
}