@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;500;700&display=swap");

:root {
	--bs-primary: rgba(26, 92, 163, 1);
	--bs-secondary: rgba(8, 113, 8, 1);
	--btn-gradient: linear-gradient(
		0deg,
		rgba(8, 113, 8, 1) 0%,
		rgba(0, 158, 0, 1) 100%
	);
	--bs-body-bg: transparent;
	--bs-table-color: #fff;
	--bs-body-color: #fff;
	--bs-emphasis-color: #fff;
	--bs-darkest-blue: rgba(0, 0, 51, 1);
}

body {
	font-family: "Lato", monospace;

	background: #00008b;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 139, 1) 0%,
		rgba(4, 49, 145, 1) 50%,
		rgba(0, 0, 51, 1) 100%
	);

	background-attachment: fixed;
	background-size: cover;
}

.modal-dialog {
	background-color: #fff;
	color: #000;
	border-radius: 5px;
}
.modal-title,
.modal-dialog p,
.modal-dialog label,
.modal-dialog input[type="email"] {
	color: #000;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.wrapper {
	margin: 10px auto;
	border-width: 2px;
	border-style: solid;
	border-image: linear-gradient(to bottom, darkblue, rgb(84, 97, 169)) 1;
	padding: 20px 20px 180px 20px;
}

h1 {
	width: 100%;
	text-align: center;
	font-size: calc(1.375rem + 1vw);
	font-weight: 700;
}

.player {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 3px solid var(--bs-primary);
	text-align: center;
	line-height: 46px;
	background: #f0f0ff;
	background: linear-gradient(
		0deg,
		rgba(240, 240, 255, 1) 0%,
		rgba(255, 255, 255, 1) 100%
	);
	margin: 10px;
	box-shadow: 2px 2px 6px #333;
	font-weight: bold;
	color: #000;
	overflow: hidden;
}

.player img {
	height: 50px;
	margin: -50%;
}

#players {
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
	width: 300px;
	/* min-height: 100px; */
	width: 90vw;
}

#players-dropdown {
	margin-bottom: 20px;
}

.btn {
	box-shadow: 2px 2px 6px #333;
}

.player-name {
	margin-top: 20px;
}

.on-off {
	display: flex;
	justify-content: space-between;
}
#pitch,
#subs {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	min-height: 100px;
	border-radius: 10px;
	border: 3px inset rgb(92, 92, 92);
	margin: 0 auto;
	padding: 10px;
	align-items: center;
}

.ui-droppable {
	background-color: rgba(255, 255, 255, 0.1);
}

#goal,
#assist,
#save,
#free,
#penalty,
#foul,
#block {
	border-radius: 50%;
	border: 3px inset rgb(92, 92, 92);
	padding: 20px;
	width: 80px;
	height: 80px;
	margin: 5px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: #dee6ff;
	font-size: 1.2em;
}

#events {
	display: flex;
	justify-content: space-around;
	margin-top: 10px;
}

.pitch-drop-hover {
	background-color: var(--bs-secondary);
}
.subs-drop-hover {
	background-color: var(--bs-primary);
}

.foul {
	background-color: darkred;
}

.opponent {
	background-color: darkred !important;
	color: #fff !important;
}

.goal {
	background-color: var(--bs-secondary) !important;
	color: #fff !important;
}

h5.goal,
h5.opponent {
	width: 130px;
	text-align: center;
	padding: 5px;
	border-radius: 5px;
	text-transform: uppercase;
}

.buttons {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.buttons button {
	width: 40vw;
	background: #087108;
	background: linear-gradient(
		0deg,
		rgba(8, 113, 8, 1) 0%,
		rgba(0, 158, 0, 1) 100%
	);
	color: #fff;
	display: block;
	border: none;
	border-radius: 5px;
	height: 50px;
	font-size: 1.4em;
	line-height: 30px;
	padding: 10px;
	margin: 0 10px;
}

.hide {
	display: none !important;
}

#time {
	display: flex;
	justify-content: center;
}

input,
select,
button {
	margin-bottom: 20px;
}

.btn-bd-primary {
	background: var(--btn-gradient);
	color: #fff;
}

.form-switch {
	margin: 20px 0;
}

.multiple-select {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	max-width: 352px;
	gap: 5px;
	margin: 0 0 20px 0;
}

.multiple-select-item {
	padding: 10px;
	cursor: pointer;
	text-align: center;
	background: #eee;
	transition: background 0.3s;
	border-radius: 5px;
}

.multiple-select-item-selected {
	background: var(--bs-primary) !important;
	color: #fff;
}

.like {
	color: red;
}

footer {
	margin-top: 40px;
	padding: 20px;
	/* border-top: 1px solid rgba(255, 255, 255, 0.92); */
	position: fixed;
	bottom: 0px;
	width: 100vw;
	display: flex;
	justify-content: space-around;
	font-size: 0.8em;
	background-color: var(--bs-darkest-blue);
}

.footer-image {
	height: 42px;
	font-size: 26px;
	color: #fff;
	text-shadow: 2px 2px 1px #000;
}

.footer-image:active {
	text-shadow: 3px 3px 10px #999;
}

footer a:hover {
	color: var(--bs-secondary);
}

button.close {
	right: 10px;
	position: absolute;
	border: none;
	background: transparent;
}

.btn-cancel {
	color: #000;
}

.btn-cancel:hover {
	color: #000;
}

.row.competition,
.row.competitions,
.row.team,
.row.competition-team,
.row.topscorers,
.player-card,
.row.share-row {
	padding: 10px;
	border: 1px solid var(--bs-secondary);
	border-radius: 5px;
	margin: 10px 0;
	background-color: rgba(255, 255, 255, 0.92);
	color: #000;
}

.row.share-row a {
	color: var(--bs-primary);
}

.row.competition p {
	color: #000;
}

.card-body a {
	color: var(--bs-primary);
}

.card-body a:hover {
	color: var(--bs-secondary);
}

.card-icon-top {
	padding-top: 40px;
	font-size: 3em;
}

.card-icon-top-first {
	padding-top: 20px;
}

img.card-icon-top {
	height: 85px;
}

.dashboard .card {
	border: 2px solid white;
	min-height: 150px;
	vertical-align: middle;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 27px;
	box-shadow: 2px 2px 11px rgba(50, 50, 50, 0.5);
}

.dashboard .card a {
	color: #fff;
	text-decoration: none;
}

.round {
	border-radius: 50%;
	overflow: hidden;
	width: 40px;
	height: 40px;
	border: 1px solid #b3bef6;
	text-align: center;
	line-height: 34px;
	box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.spacer {
	margin-bottom: 40px;
}

input#competition_is_tournament {
	height: 20px;
}

input {
	color: #fff;
}

[type="file"]::file-selector-button {
	color: #000;
}

::-webkit-calendar-picker-indicator {
	filter: invert(1);
}
::-webkit-time-picker-indicator {
	filter: invert(1);
}

.placeholder {
	background: transparent;
	color: #fff !important;
}

label,
h1,
h2,
h3,
h4,
h5,
h6,
p,
footer,
#time,
a#opponent,
.player-name,
a {
	color: #fff;
}

.note {
	font-size: 0.8em;
	font-style: italic;
}
.row.competition a,
.competitions a {
	color: var(--bs-primary);
}

#football-teams span,
.dropdown-item label {
	color: #000;
}

.table-label {
	margin-bottom: 10px;
}

thead tr {
	background-color: rgba(4, 49, 145, 1);
	color: #dfe0f9;
}

.table-striped > tbody > tr:nth-child(2n + 1) > td,
.table-striped > tbody > tr:nth-child(2n + 1) > th {
	background-color: rgba(0, 0, 139, 1);
	color: #b3bef6;
}
.table-striped > tbody > tr:nth-child(1n) > td,
.table-striped > tbody > tr:nth-child(1n) > th {
	background-color: rgba(4, 49, 145, 1);
	color: #b3bef6;
}

.filter-multi-select
	.dropdown-item
	.custom-checkbox:checked
	~ .custom-control-label::before,
.filter-multi-select
	.dropdown-item
	.custom-checkbox:indeterminate
	~ .custom-control-label::before {
	border-color: var(--bs-primary);
	background-color: var(--bs-primary);
}

#teams {
	margin-bottom: 10px;
}

.filter-multi-select > .viewbar > .selected-items > .item {
	background: var(--btn-gradient);
	color: #fff !important;
}
.filter-multi-select > .viewbar > .selected-items > .item {
	border-radius: 0.4em;
}
.filter-multi-select > .viewbar > .selected-items > .item > button {
	margin: 0;
}

.score {
	color: #000;
	text-align: center;
}

h2 .score {
	color: #fff;
}

.copy {
	font-family: sans-serif;
	font-size: 0.8em;
	opacity: 0.8;
	margin-top: 20px;
	color: #a5a7bb;
}
.copy img {
	height: 0.9em;
	margin-top: 1px;
}

.date-time {
	font-size: 0.8em;
}

.newplayer {
	background: var(--btn-gradient);
	color: #fff;
}
.table-responsive {
	border: 1px solid var(--bs-secondary);
	border-radius: 5px;
}

table {
	margin-bottom: 0 !important;
}

.menu-item {
	display: flex;
	flex-wrap: wrap;
	flex-flow: column wrap;
	justify-content: center;
	text-align: center;
}
.menu-item a {
	text-decoration: none;
	color: #fff;
}

.stats {
	color: #fff;
}

.stats td,
.stats th {
	padding: 8px 10px 0 0;
}

.dropdown-toggle .mr-2 {
	display: none;
}

.hero-image {
	rotate: 10deg;
}

/**
 * Timeline stuff
 */

.timeline-with-icons {
	border-left: 1px solid hsl(0, 0%, 90%);
	position: relative;
	list-style: none;
}

.timeline-with-icons .timeline-item {
	position: relative;
}

.timeline-with-icons .timeline-item:after {
	position: absolute;
	display: block;
	top: 0;
}

.timeline-with-icons .timeline-icon {
	position: absolute;
	left: -48px;
	background-color: hsl(217, 88.2%, 90%);
	color: hsl(217, 88.8%, 35.1%);
	border-radius: 50%;
	height: 31px;
	width: 31px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

.py-5 {
	padding-top: 3rem !important;
	padding-bottom: 3rem !important;
	margin-left: 20px;
}

.timeline-icon.last {
	left: -16px;
}

.timeline-item.last {
	border-left: 1px solid rgb(2 34 143);
	padding: 0 32px;
	margin-left: -33px;
}

/**
 * End timeline stuff
 */

@media only screen and (max-width: 600px) {
	#pitch,
	#subs {
		line-height: inherit;
	}
}
