@import "fonts.css";
@import "base.css";

@import "header.css";
@import "footer.css";


/* logged in */
/*** emoji ***/
.emoji {
	background-size: cover;
	height: 1em;
	width: 1em;
	margin: 0 0.3em;
}

/*** COVER POLL ***/
.border-success {
	border: 3px solid #28a745 !important;
	box-shadow: 2px 2px 10px 1px #28a745;
	transition: 0.1s ease-in;
}



/* file upload*/

.file-upload {
	position: relative;
	overflow: hidden;
}

.file-upload input {
	position: absolute;
	opacity: 0;
	right: 0;
	top: 0;
}

.progress {
	height: 50px;
	font-size: 1.2rem;
}

.loading {
	visibility: hidden;
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 9999;
}

/*** Code ***/

#code-area {
	font-family: "Courier New", monospace;
}



/*** INDEX ***/
#wip-row {
	margin: 25px auto;
}

.main-content {
	padding: 0 10px 20px;
	box-shadow: 0px 6px 5px -5px rgba(0, 0, 0, 0.1);
}

.main-content h1 {
	margin: 1rem 0;
}

.list-group {
	margin-top: 1.5rem;
}

.media-list .media,
.media-list-bp .media {
	flex-direction: column;
}

.media-list .media img,
.media-list-bp .media img {
	width: 100%;
}

.media-list .media-body,
.media-list-bp .media-body {
	width: 100%;
	padding-bottom: 20px;
	text-align: center;
}

.media-list .media-body a,
.media-list-bp .media-body a {
	transition: 0.2s ease-in-out;
}

.media-list .media-body a:hover,
.media-list-bp .media-body a:hover {
	text-decoration: none;
	color: slategrey;
	transition: 0.2s ease-in-out;
}

@media (min-width: 768px) {
	.main-content {
		box-shadow: none;
	}

	.main-content h1 {
		margin: 0.5rem 0;
	}

	.media-list {
		display: inline-block;
		margin: 0 auto;
	}

	.media-list .media {
		display: inline-flex;
		width: 30%;
		align-items: center;
	}

	.media-list .media img {
		width: 95%;
		margin: 1rem;
	}

	.media-list .media-body {
		display: block;
		width: 95%;
	}

	.media-list .media-body h5 {
		font-size: 1em;
		overflow-wrap: break-word;
	}

	.line-clamp {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.media-list-bp .media {
		flex-direction: initial;
	}

	.media-list-bp .media img {
		display: block;
		width: 100px;
	}

	.media-list-bp .media-body {
		margin: auto 0;
		text-align: left;
	}
}

@media (min-width: 992px) {
	.media-list .media {
		width: 20%;
	}

	.media-list .media-body h5 {
		font-size: 1.1vw;
	}
}




.bgc-green {
	background: rgb(0 0 0 / 58%) !important;
}

.bgc-orange {
	background: rgb(0 0 0 / 58%) !important;
}

.bgc-well {
	padding: 1em;
	border-radius: 20px;
}

.bgc-frame {
	margin: 1em;
	padding: 1em 0;
	border-radius: 20px;
}

#rand-gif {
	width: 70%;
	aspect-ratio: 4/3;
	object-fit: cover;
	cursor: pointer;
}

#hoverInfo {
	display: none;
}

#submitPage #hoverInfo {
	position: fixed;
}


/*** Music page ***/
#releasePresent .carousel-caption {
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1em;
	background: rgb(255, 255, 255);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .9) 60%);
	text-align: left;
	font-size: 13px;
}

#releasePresent .carousel-caption h5 {
	text-shadow: 0px 0px 4px #000000;
	font-size: 26px;
}

#releasePresent .carousel-caption p {
	margin-bottom: 0;
}

#releasePresent .carousel-control-prev,
#releasePresent .carousel-control-next {
	bottom: 50%;
}

/*#releasePresent .carousel-control-prev .bi,
#releasePresent .carousel-control-next .bi {}*/

/* circuit bird spinner */
.bird-spinner h5 {
	margin-bottom: 3em;
}

.bird-spinner {
	margin: 20px 0 20px;
}

.bird-spinner .spinner-border {
	border: none;
}

.bird-spinner img {
	position: relative;
	top: -120%;
	left: -120%;
}

/*** admin page ***/
#projectDownloadProgress {
	height: 37px;
}


/* Styles */

div#main-container {
	margin-bottom: 20px;
}






/***** test ****/
/*TODO: temp styling, do not remove, will optimize later*/












/*projects*/
#projectcreate {
	display: none;
}

#channelName {
	font-weight: bold;
}

.vote-button {
	width: 26px;
	height: 26px;
	display: inline-block;
	cursor: pointer;
	opacity: 0.5;
}

.vote-button.voted {
	opacity: 1;
}

#projectEditTracklist li {
	cursor: grab;
}

#projectEditTracklist li .tracknumber {
	font-weight: bold;
}


/*cover vote*/
.form-check .form-check-input {
	width: 30px;
	height: 30px;
	vertical-align: middle;
	float: none;
	display: inline-block;
	margin: 0 0.25em 0 -1.5em;
}

/*submission*/
#submission-form,
#submission-cover-form,
#audio-preview {
	display: none
}

#audio-preview audio {
	width: 100%;
}

.mp3play {
	width: 90%;
}

.finalRadio {
	border: 0;
	width: 2em;
	height: 2em;
}

.mp3playrow td {
	border-color: transparent;
}

.table-success {
	font-weight: bold;
}


/* music */

.release-grid {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-evenly;
}

.release-grid>div.release-container {
	flex: 0 1 20%;
}

div.release {
	border: 1px solid #565555;
	margin-bottom: 40px;
	border-radius: 5px;
	overflow: hidden;
}

div.release>img {
	width: auto;
	transition: all 0.5s ease-in-out;
	transform-origin: bottom center;
}

div.release:hover>img {
	transform: scale(1.2);
	transition: all 5s ease-in-out;

}

div.release .title {
	width: 100%;
	padding: 8px 10px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

div.release .title span {
	text-decoration: none;
	color: var(--color-hightlight);
	font-size: 16px;
	font-weight: 700;
	flex:1;
}
div.release .title a {
	flex: 0;
}

div.release iframe {
	width: 100%;
	height: 240px;
}

div.release p {
	font-size: 13px;
	padding: 0 10px;
	color: #d5d5d5;
}


span.show-player {
	cursor: pointer;
	display: block;
	text-align: center;
	padding: 10px;
	font-size: 17px;
}

.release .collapse {
	height: 0;
	display: block;
	transition: all 0.2s ease
}

.release .collapse.show {
	height: 240px;
}

span.show-player:before,
span.show-player:after {
	content: ">";
	margin: 0 10px;
	rotate: 90deg;
	display: inline-block;
	transition: all 0.2s ease
}

span.show-player.active:before {
	rotate: 270deg;
}

span.show-player.active:after {
	rotate: -90deg;
}

.releases-footer {
	width: 100%;
	text-align: center;
	margin: 0 20px 40px;
}

h2.section-title {
	margin: 30px 0 10px;
	text-align: center;
}

.release small.release-date {
	padding: 0 10px 10px;
	display: block;
	font-size: 13px;
	font-weight: 300;
	color: #a1a1a1;
}


@media (max-width:768px) {
	.release-grid>div.release-container {
		flex: 1;
		margin-bottom: 40px;
	}

	div.release>img {
		width: 100%;
	}

	.release-grid {
		flex-direction: column;
	}
}