.fade-in {
    -moz-animation: cssAnimation 0s ease-in 5s forwards;
    /* Firefox */
    -webkit-animation: cssAnimation 0s ease-in 5s forwards;
    /* Safari and Chrome */
    -o-animation: cssAnimation 0s ease-in 5s forwards;
    /* Opera */
    animation: cssAnimation 0s ease-in 5s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@keyframes cssAnimation {
    to {
        width:0;
        height:0;
        overflow:hidden;
    }
}
@-webkit-keyframes cssAnimation {
    to {
        width:0;
        height:0;
        visibility:hidden;
    }
}




/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


.lcell {
    display: flex; 
    align-items: center;
    justify-content: center
}

.ltop{
    font-size: 0.8rem;
}

.lname {
    justify-content:left;
}

.lprime{
    /*background: #fff; 
    color: #0f3663!important;
    border: 1px solid #0f3663;*/
	color: #fff !important;
	font-size: 24px; 
	font-weight: 400;
}

.gname {
    font-size: 1.25em;
}


.oosponsorsection{
	height:125px; 
	width: 100%;
	padding: 10px;
	background: #fff;	
	margin: auto;
	min-width: 100%;
	border: 1px solid #0f3663;
}
.oosponsor{
	object-fit: contain;
}
img.oosponsor {
	width:100% !important;
	height: 100% !important;
}


/*Hole Competitions*/
.compbutton{
	margin-top: 8px !important; 
	padding: 5px 20px; 
	border-radius: 5px; 
	width:200px; 
	margin: auto; 
}
.compbutton:active{
	border:1px solid #fff;
	color:#fff;
}

.compname{
	font-size: 14px;
	font-weight: 600;
}

.compinstr{
	font-size: 10px; 
	font-style:italic;
}

.compholeleader{
	margin-top: 8px;
	background-color: rgba(255, 255, 255, 0.33);
	color: #fff;
	padding: 0 20px 10px;
	width:100%; 
	overflow-x: auto;
  overflow-y: hidden;
}

.hcl {
	color: #fff !important;
	font-size: 1.5em;
	font-weight:600;
}

.newhcl {
	width: 66%; 
	float: left; 
	border: 1px solid #888888;
	border-radius: 0; 
	height: 40px; 
}
.hcupdatebutton{
	padding: 5px 10px; 
	border: none;
	width: 33%;
	float: right;
	display: inline;
	height:40px; 
}

.updatecontainer {
	width: calc(100% - 10px);
  height: calc(100% - 10px);
}

.holeselect {
	background: #0f3663;
	color: #fff;
	background-image: url('/css/images/down-arrow.svg');
	background-repeat: no-repeat;
	background-position: right 0.75em center;
	background-size: 16px 12px; 
}

.omitted{
	color: #333; 
}


.golfer-container {
		width: 100%;
		margin: 0 auto;
		padding: 20px;
		box-sizing: border-box;
}

.golfer {
	display: flex;
	align-items: center;
}


.playerinfo {
	display:flex;
	align-items: center;
}

.eventinfo {
	display: flex;
	flex: 1 1 0; 
	text-align: center;
}

.options {
	display:flex;
	align-items: left;
}


.namecols {
	display: flex;
	align-items: center;
	border-right: 1px solid #CFD6DF;
}

.center{
	text-align: center;
}


.lldiv {
	flex: 1;  /* This will make each div take equal space */
	text-align: center;
	padding: 0 10px;
	box-sizing: border-box;
	font-size: 12px;
	display: flex;
	border-right: 1px solid #CFD6DF;
}

.gt{
	border: none; 
	font-size: 14px;
	border-radius: 5px; 
	background: none; 
	border: 1px solid rgba(0,0,0,0);
}

.gt:hover{
	border: 1px solid #888888;
}
.gt:focus{
	background: #b0e0e6;
}

.gname{
	font-size: 14px; 
}

.col-label {
	font-size: 14px; 
	color: #ffc107;
}

.delete-controls {
	padding:10px 40px 0;
}

.delete-golfer{
	font-size: 14px;
	color: #0f3663;
}

.label {
	font-size: 10px; 
	color: #0f3663;
}

.headers {
	background: #0f3663;
	padding: 10px 0; 
}

.golfer_border{
	border: none !important;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #FFC107FF;
}

input:focus + .slider {
  box-shadow: 0 0 1px #FFC107FF;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

/*ACCORDION STYLING*/

	.accordion-content-custom, .course-content-custom  {
		display: none;
		padding: 15px;
		border: 1px solid #0f3663;
		border-top: none;
		transition: max-height 0.3s ease, padding 0.3s ease;
		padding:20px;
	}

	.accordion-button-custom, .course-button-custom {
		width: 100%;
		text-align: left;
		padding: 10px;
		background-color: #CFD6DF;
		border:1px solid #0f3663;
		cursor: pointer;
		background-color: 0.3s ease;
	}
	
	.button-heading{
		font-size: 1.5em;
		color: #0f3663;
		font-weight:500;
	}

	.accordion-button-custom.active + .accordion-content-custom, .course-button-custom.active + .course-content-custom {
		display: block;
	}
	
	.arrow {
		float: right; /* Position the arrow to the right of the button text */
		color: #0f3663;
	}

	.accordion-button.active .arrow, .custom-button.active .arrow {
		transform: rotate(180deg); /* Flip the arrow when the accordion is open */
	}


	.status-bar {
		display: flex;
		align-items: center;
		background-color: #fff;
		padding: 5px;
		border-radius: 5px;
		margin-left: 20px;
	}

	.rnddiv{
		width:150px;
		padding-left:30px;
	}
	
	.rnddivactive {
		border-bottom: 2px solid #ffc107;
	}

	.rndcheck {
		position: absolute;
		top: 0;
		left: 0; 
		height: 30px;
		width: 30px; 
		background-color: #fff;
		background-image: url(../aworan/round_inactive.svg);
		background-position: center center;
		background-size: cover; 
		margin-right: 20px; 
	}
	
	.checkbox_container input:checked ~ .rndcheck{
		background-image: url(../aworan/round_played.svg);
		background-position: center center;
		background-size: cover;
	}

.iconrow{
	display: flex;
	max-width: 35%;
}
.iconrow div{
	flex:1;
	height: 50px; 
}


.datetimepicker table {
    color: #0f3663; /* Adjust text color */
    width: 100%; /* Make the table use full container width */
    border-collapse: separate; /* Ensures spacing doesn’t affect border */
    border-spacing: 0; /* Removes the default spacing */
	width:300px;
}

.datetimepicker td,
.datetimepicker th {
    padding: 8px; /* Adds padding inside each cell */
    border: 1px solid #ccc; /* Adds a light border for each cell */
    text-align: center; /* Centers the text horizontally */
}

.datetimepicker th {
    background-color: #0f3663; /* Sets a background color for the header */
    color: #fff; /* White text for contrast */
}

/* Hover effect for cells */
.datetimepicker td:hover {
    background-color: #e6e6e6; /* Light grey background */
    cursor: pointer; /* Changes cursor to indicate selectable */
}

.datetimepicker .prev,
.datetimepicker .next {
    cursor: pointer; /* Indicates these are clickable */
}

/* Additional styling for the current day */
.datetimepicker .day.active,
.datetimepicker .hour.active,
.datetimepicker .minute.active {
    background-color: #0f3663; /* Highlight color for the active (selected) date */
    color: #fff; /* White text for contrast */
}

.datetimepicker .disabled,
.datetimepicker .day.disabled,
.datetimepicker .hour.disabled,
.datetimepicker .minute.disabled {
    color: #999; /* Greyed out for disabled items */
    background-color: #f9f9f9; /* Very light background for disabled items */
    cursor: not-allowed; /* Indicates item is not selectable */
}

.datetimepicker-inline {
    display: inline-block; /* Adjust display for inline pickers */
    margin: 0 auto; /* Center align if possible */
}

/* Time Picker Hours and Minutes */
.datetimepicker-hours td,
.datetimepicker-minutes td {
    padding: 10px; /* Increase padding for larger clickable area */
    border-radius: 5px; /* Adds rounded corners for a modern look */
}

.datetimepicker-hours td:hover,
.datetimepicker-minutes td:hover {
    background-color: #e6e6e6; /* Light grey background on hover */
}

.datetimepicker .hour.active,
.datetimepicker .minute.active {
    background-color: #0f3663; /* Highlight color for the active (selected) time */
    color: #fff; /* White text for readability */
}

/* Adjusts the legend and fieldset for a cohesive look */
.datetimepicker-hours fieldset,
.datetimepicker-minutes fieldset {
    border-color: #0f3663; /* Use the primary color for borders */
    padding: 5px;
    margin: 10px 0;
}

.datetimepicker-hours legend,
.datetimepicker-minutes legend {
    color: #0f3663; /* Primary color for text */
    font-size: 1em; /* Adjust size as needed */
    margin-bottom: 10px;
    width: auto; /* Auto width based on content size */
    border-bottom: none; /* Removes default legend underline */
}

/* Handle AM/PM buttons if applicable */
.datetimepicker .btn {
    color: #0f3663; /* Primary color for button text */
    border-color: #0f3663; /* Primary color for button border */
}

.datetimepicker .btn:hover {
    background-color: #0f3663; /* Background color change on hover */
    color: #fff; /* Text color change on hover */
}

/* Adjusting the switcher (date/time toggle) */
.datetimepicker .switch {
    width: 100%; /* Ensures the switcher fills its container */
    font-size: 1.2em; /* Increase font size for better readability */
}

/* Specifically for the inline time picker adjustments */
.datetimepicker-inline .datetimepicker-hours,
.datetimepicker-inline .datetimepicker-minutes {
    display: inline-block; /* Adjusts layout for inline display */
    vertical-align: top; /* Aligns items to the top */
}

