@import url("base.css");
@import url("post.css");

.common-background {
    margin: 20px;
}

.misc-butts button {
    font-size: 14px;
}

.misc-butts button:active {
    border-top-width: 1px;
}

.project-gallery {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 4px;
	row-gap: 4px;
}

.project-tabs {
    display: none;
}

.container::after,
.container::before,
.container::nth-child(4n)::after {
  content: "";
  flex: 1 0 20%;
  max-width: 20%;
}

.project-thumbnail {
	position: relative;
	height: fit-content;
	background: var(--bg0h);
	border: 1px solid var(--bg);
	outline: 1px solid var(--bg0h);
}

.project-thumbail > a,
.project-thumbnail > img {
	all: initial !important; 
}

.update-container {
    background: none;
	border: none;
}

.update-container::after {
    content: none;
}

.media-container img {
    border: none !important;
	background: var(--bg0h);
	border: 1px solid var(--bg) !important;
    outline: 2px solid var(--bg0h);
    max-width: 100%;
	cursor: pointer;
}

.password-section {
	width: fit-content;
    display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
	margin-bottom: 10px;
}

.password-section button {
    font-size: 14px;
}

.password-section input {
    margin-top: 0;
	height: 12px;
}

.update-container {
    display: flex;
	align-items: center;
}

.update-container button {
	font-size: 14px;
	width: 30px;
	padding:0;
	min-width: 0px;
    height: fit-content;
}

.media-container {
    width: 100%;
	cursor: pointer;
}

.media-block > img {
	margin: 0 auto;
}

.queue-media {
	max-width: 100%;
    max-height: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
}

img.queue-media {
	margin: 0 auto;
    border: none !important;
}

.info-item {
    display: none;
	padding: 5px;
	margin: 2px;
	background: var(--bg0h);
}

.info-item h3 {
    margin: 0;
	padding: 0;
	margin-top: 5px;
}

.info-item i {
    font-size: 12px;
	color: var(--bg3);
}

.todo-check {
	max-width: 100%;
    display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 5px;
	border: 1px solid var(--bg);
	margin-bottom: 1px;
    margin-top: 1px;
}

.label {
	width: 100%;
	margin-left: 30px;
	margin-right: 10px;
	text-align: justify;
}

.checkbox {
	position: absolute;
    width: 15px !important;
	height: 15px !important;
	border: 2px solid var(--fg4);
}

.checkbox.filled {
    border: 2px solid var(--light-aqua);
	background: var(--dark-aqua);
}

.media-block {
    width: 100%;
}

.no-media {
	font-size: 40px;
    margin: 10px;
	padding: 40px;
	padding-top: 75px;
	padding-bottom: 75px;
	text-align: center;
	color: var(--bg3);
	border: 3px dotted var(--bg3);
	border-radius: 20px;
}

.no-media.locked {
    margin: 10px;
	padding: 40px;
	padding-top: 75px;
	padding-bottom: 75px;
}

.no-media.locked div {
    font-size: 14px;
}

.no-media.locked:hover,
.no-media:hover > div {
	color: var(--fg);
}

.unlocked {
	text-align: center;
    color: var(--bg3);
	margin: 10px;
}

.heatmap-wrapper {
    width: fit-content;
	max-width: 1500px;
    margin: 0 auto;
	display: grid;
	grid-template-columns: 100%;
	margin-bottom: 10px;
}

.heatmap-container {
	margin: 0 auto;
    display: grid;
    grid-template-rows: repeat(7, 20px);    
    grid-auto-flow: column;
	align-items: center;
	aspect-ratio: 52/7;
	width: 100%;
}

.heatmap {
	width: 100%;
	height: 100%;
	border: 1px solid var(--bg0h);
	background: var(--bg);
	cursor: pointer;
	display: flex;
	aspect-ratio: 1/1;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 0;
}

.heatmap-footer {
    display: flex;
	align-items: center;
	justify-content: right;
	gap: 10px;
}

.temp {
	width: 50px;
    display: flex;
}

.weight {
    width: 15px;
	padding: 3px;
	border: 1px solid var(--bg);
	text-align: center;
}

.post {
    margin: 0 auto;
	margin-bottom: 20px;
}

.overlay-content {
	position: absolute;
    visibility: hidden;
	z-index: 1001;
	width: 100%;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.modal-overlay.wisible,
.overlay-content.wisible {
	opacity: 1;
	visibility: visible;
}

.modal {
	background: white;
	border-radius: 10px;
	width: 90%;
	max-width: 700px;
	max-height: 80vh;
	overflow-y: scroll;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	transform: translateY(-50px);
	transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
	transform: translateY(0);
}

.modal-header {
	padding: 20px;
	border-bottom: 1px solid #eaeaea;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #4a6fa5;
	color: white;
	border-radius: 10px 10px 0 0;
}

.modal-close {
	background: none;
	border: none;
	font-size: 24px;
	color: white;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.main-queue {
    height: 250px;
	display: grid;
	grid-template-columns: 49% 49%;
	overflow: hidden;
	gap: 2px;
}

.todos, .logs {
    max-height: 250px;
	overflow-y: scroll;
}

.private-post {
	margin: 0 auto;
    width: 250px;
	padding: 20px;
}

.project-post {
    display: grid;
	grid-template-columns: 50% 50%;
	gap: 10px;
}

.tag-dropdown {
    top: 100%;
}

#queuePublic-contents,
#projects-contents {
	max-height: fit-content;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	align-items: center;
	gap: 25px;
	row-gap: 4px;
	margin: 10px;
	margin-top: 0px;
	margin-bottom: 25px;
}

.project-main {
    display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 5px;
}

.project-main .logs {
    max-height: 300px;
}

.titles {
	text-align: center;
}

.no-results {
	display: flex;
	text-align: center;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.no-results img {
    width: 25%;
	margin: 0 auto;
}

.no-results i {
    text-align: center;
	margin: 0 auto;
	color: var(--bg3);
}

@media (max-width: 1190px) {
	.heatmap-wrapper {
		display: none;
	}
}

@media (max-width:1666px) {
	#queuePublic-contents,
	#projects-contents {
		width: 99%;
		grid-template-columns: repeat(4, 1fr);
		gap: 25px;
		row-gap: 4px;
		margin: 0 auto;
		margin-bottom: 10px;
	}	

}

@media (max-width:1111px) {
	.archive-cont {
		display: block;
	}

    .fancy-search {
		width: 93%;
		margin: 0 auto;
		margin-top: 10px;
	}

	.rec-count {
		margin-bottom: 75px;
	}

	#queuePublic-contents,
	#projects-contents {
		width: 90%;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		row-gap: 4px;
		margin: 0 auto;
		margin-bottom: 10px;
	}	
}

@media (max-width:630px) {
	#queuePublic-contents,
	#projects-contents {
		width: 90%;
		grid-template-columns: repeat(1, 1fr);
		gap: 20px;
		row-gap: 4px;
		margin: 0 auto;
		margin-bottom: 10px;
	}	
}
