/* --------------- live-score styles ------------------------- */
.date-selector-bar {
	display: flex;
	flex-direction: column;
	height: 80px;
}

.game-date-selector {
	display: flex;
	flex-direction: row;
}

.game-date-selector h2 {
	margin-top: 6px;
}

.dateSelector {
	margin-left: 30px;
	border-radius: 3px;
	border: 1px solid grey;
	outline: none;
	width: 130px;
	height: 40px;
}

/* BEGIN MLB CSS */
.MLB-live-score-card-header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

/* BEGIN CARD TITLE  */
.MLB-gameTitle {
	background-color: #151b54;
	border-radius: 4px;
}
/* END CARD TITLE */

/* BEGIN MAIN RESULTS ROW DEFINING OF 2 PARTS */
.MLB-results-row1-part1 {
	width: 100%;
}

.MLB-results-row1-part2 {
	width: 100%;
}
/* END MAIN RESULTS ROW DEFINING OF 2 PARTS*/

/* BEGIN MAIN RESULTS PART 1 */
.MLB-results-row1-container1 {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: center;
	margin-top: 14px;
}
.MLB-results-row1-item1 {
	margin-left: 10px;
	height: 50px;
}

.MLB-results-row1-item1 h4 {
	margin-top: 25px;
	padding: 0px 15px;
}
/* END MAIN RESULTS PART 1 */

/* BEGIN MAIN RESULTS PART 2 */
.MLB-results-row1-container2 {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: center;
}

.MLB-results-row1-item2 {
	display: flex;
	flex-direction: column;
	padding: 0 10px;
}

.MLB-results-row1-item2 p {
	padding-top: 24px;
}

.MLB-results-row1-container3 {
	width: 40%;
	border-left: 3px whitesmoke solid;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.MLB-outCircle {
	background-color: #d1d0ce;
	border-radius: 50px;
	overflow: hidden;
	width: 10px;
	height: 10px;
	margin: 10px 4px;
}

.MLB-basePlate {
	background-color: whitesmoke;
	border: 1px #d1d0ce solid;
	overflow: hidden;
	width: 10px;
	height: 10px;
	margin: 0px 7px;
	transform: rotate(-44deg);
}

.MLB-middlePlateContainer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.MLB-middlePlate {
	background-color: whitesmoke;
	border: 1px #d1d0ce solid;
	overflow: hidden;
	width: 10px;
	height: 10px;
	margin: right 20px;
	transform: rotate(-44deg);
}

.MLB-basePlateAcitve {
	background-color: #fdd017;
	border: 1px #fdd017 solid;
}

.MLB-outCircleActive {
	background-color: #f70d1a;
}
/* END OF MAIN RESULTS PART 2 */

/* BEGIN PLAYER RESULTS */
.MLB-results-row2-player-container {
	display: flex;
	flex-direction: column;
}

.MLB-results-row2-player-item2 {
	padding-top: 15px;
}
/* END PLAYER RESULTS */

/* BEGIN IMAGES AND LOGO */
.MLB-live-score-team-logo {
	position: relative;
	width: 31px;
	height: 20px;
	margin-top: 25px;
}

.MLB-photoBox {
	position: relative;
	background-color: whitesmoke;
	border-radius: 20px;
	padding-top: 50px;
	margin-right: 10px;
	width: 50px;
	overflow: hidden;
}

.MLB-playerPhoto {
	position: absolute;
	object-fit: cover;
	top: -5px;
}
/* END IMAGES AND LOGO */
/* END MLB CSS */

/* BEGIN NBA SECTION */

.NBA-main-container {
	width: 100%;
}

.NBA-team-logo-container {
	display: none;
}
/* END NBA SECTION */

/* BEGIN NFL SECTION */
.NFL-team-logo-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 60px;
	position: relative;
}

.NFL-team-logo {
	position: absolute;
	width: 35px;
	height: 25px;
	top: 60%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.NFL-teamName {
	width: 50%;
	padding-top: 10px;
}

.NFL-score {
	margin: auto;
	width: 20px;
	padding-top: 10px;
}

.NFL-date {
	position: relative;
}

.NFL-date p {
	padding-top: 35px;
	padding-left: 10px;
}
/* END NFL SECTION */

@media only screen and (min-width: 400px) {
	/* BEGIN MLB CSS */
	.MLB-results-row2-player-container {
		flex-direction: row;
		justify-content: space-evenly;
	}
	.MLB-live-score-team-logo {
		width: 40px;
	}

	.MLB-results-row2-player-item2 {
		padding-top: 0px;
	}
	/* END MLB CSS */

	/* BEGIN NBA CSS */
	.NBA-team-logo-container {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
		position: relative;
	}

	.NBA-team-logo {
		position: absolute;
		width: 50px;
		height: 25px;
		top: 100%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	.NBA-team-logo img {
		width: 50px;
		height: 50px;
	}

	.NBA-team-details {
		margin-left: 30px;
	}
	/* END NBA CSS */
}

@media only screen and (min-width: 520px) {
	.dateSelector {
		width: 150px;
		margin-left: 15px;
	}

	/* BEGIN MLB CSS */
	.MLB-results-row1-part1 {
		width: 50%;
	}

	.MLB-results-row1-part2 {
		width: 50%;
	}

	.MLB-results-row1-container3 {
		width: 50%;
	}
	.MLB-live-score-team-logo {
		width: 40px;
		height: 20px;
	}
	/* END MLB CSS */

	/* BEGIN NBA CSS */
	.NBA-main-container {
		justify-content: center;
		align-items: center;
	}
	/* END NBA CSS */
}

@media only screen and (min-width: 768px) {
	/* BEGIN MLB CSS */
	.MLB-results-row1-container1 {
		flex-direction: column;
		align-items: flex-start;
	}

	.MLB-results-row1-container2 {
		width: 100;
		justify-content: flex-end;
	}
	/* END MLB CSS */
}

@media only screen and (min-width: 1024px) {
	/* BEGIN MLB CSS */
	.MLB-results-row1-container2 {
		width: 100%;
	}
	/* END MLB CSS */
}

/* ------------- ANIMATIONS ------------- */
.loader {
	border: 16px solid #f3f3f3; /* Light grey */
	border-top: 16px solid #3498db; /* Blue */
	border-radius: 50%;
	width: 60px;
	height: 60px;
	margin: auto;
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* ------------- BULMA OVERRIDES -------------- */
.table,
.table td,
.table th {
	border: 1px solid white;
}

.notification {
	width: 50%;
	margin: auto;
}

/* ------------- utilities -------------- */

/* margins */
.mt-3 {
	margin-top: 6px;
}

.mt-6 {
	margin-top: 12px;
}

.mt-7 {
	margin-top: 14px;
}

.mt-10 {
	margin-top: 20px;
}

.mt-40 {
	margin-top: 80px;
}

.mt-50 {
	margin-top: 100px;
}

/* padding */
.pd-4 {
	padding: 8px;
}

.pdx-5 {
	padding: 0px 10px;
}
