* {
	font-family: Arial;
	text-align: center;
	line-height: normal;
	font-size: 16px;
	color: black;
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	max-width: 100%;
}

@supports not (hyphens: auto) {
    * {
        word-break: break-word;
		word-wrap: break-word;
    }
}

html {
	background-color: #FFF5EB;
}

body {
	max-width: 800px;
	margin: auto;
}

input[type='number'] {
	width: 2.5em;
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

h1 {
	font-size: 1.5em;
}

#index > *, #register > *, #labeling > div, #labeling #labeln > *, #login > *, #forgotPassword > *, #newPassword > * {
	margin-bottom: 1em;
}

#index #menu {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 10px;
}

#index #description p {
	text-align: justify;
}

#index #menuLogout, #register .interests, #labeling #videoMeta {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 10px;
}

#register .interests > *, #labeling .adjectives > * {
	text-align: left;
}

.scale {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-column-gap: 10px;
}

#labeling #labelCounter {
	display: none;
	position: absolute;
	z-index: 999;
	width: 100%;
	background-color: rgb(255, 245, 235, 0.8);
	max-width: 780px;
	padding: 10px;
}

#labeling #thumbnailContainer {
	margin-left: auto;
	margin-right: auto;
}

#labeling #thumbnailWrapper {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

#labeling #thumbnail {
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

#labeling #duration {
	position: absolute;
	right: 0;
	bottom: 0;
	margin: 6px;
	padding: 2px 4px;
	color: white;
	background-color: black;
}

#labeling h1 {
	font-size: 1.2em;
}

#labeling #videoMeta.videoMetaNoRate {
	grid-template-columns: repeat(2, 1fr);
}

#labeling .likes > * {
	display: inline-block;
}

#labeling .thumb {
    width: 18.35px;
}

#labeling .thumbDown {
    transform: rotate(180deg);
}

#labeling #showDescription {
	cursor: pointer;
}

#labeling #hideDescription {
	display: none;
	cursor: pointer;
}

#labeling #description {
	display: none;
    text-align: left;
}

#labeling #channelMeta, #labeling .commentMeta {
	display: grid;
	grid-template-columns: 48px auto 50%;
	grid-column-gap: 10px;
}

#labeling #channelMeta * {
	width: 100%; /*dfgdfg*/
	margin: auto;
	margin-left: 0;
	text-align: left;
}

#labeling .userThumbnail {
    width: 48px;
	border-radius: 50%;
}

#labeling #toggleDescription {
    text-decoration: underline;
}

#labeling .separator {
	height: 5px;
	background-color: #909090;
}

#labeling .commentMeta div {
	width: 100%; /*dfgdfg*/
}

#labeling .commentMeta * {
	margin: auto;
	margin-left: 0;
	text-align: left;
}

#labeling .commentText {
	text-align: left;
}

#labeling .adjectives {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 10px;
}

@media only screen and (max-height: 499px) {
	#labeling #thumbnailContainer {
		max-width: 300px;
	}
}

@media only screen and (max-width: 820px) {
	body {
		max-width: calc(100% - 20px);
		padding-top: 10px;
		top: 10px;
	}
	#labeling #labelCounter {
		max-width: calc(100% - 40px);
	}
}

@media only screen and (max-width: 649px) {
	
	#register .interests {
		grid-template-columns: repeat(2, 1fr);
	}

	#labeling #channelMeta {
		grid-template-columns: 48px auto;
	}

	#labeling #toggleDescription {
		grid-column-start: 1;
		grid-column-end: 3;
		margin-left: auto;
	}

	#labeling #toggleDescription * {
		text-align: center;
	}

	#labeling .commentMeta {
		grid-template-columns: 48px auto auto;
	}
}

@media only screen and (max-width: 578px) {
	#labeling .adjectives {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media only screen and (max-width: 523px) {
	#index #menuLogout {
		grid-template-columns: 100%;
		grid-row-gap: 10px;
	}
}

@media only screen and (max-width: 449px) {
	#register .interests {
		max-width: 210px;
		grid-template-columns: 100%;
		margin: auto;
	}
}

@media only screen and (max-width: 436px) {
	#labeling .adjectives {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media only screen and (max-width: 352px) {
	#index #menu {
		grid-template-columns: 100%;
		grid-row-gap: 10px;
	}
}

@media only screen and (max-width: 299px) {
	.scale {
		grid-template-columns: auto;
	}
}

@media only screen and (max-width: 294px) {
	#labeling .adjectives {
		max-width: 132.5px;
		grid-template-columns: 100%;
		margin: auto;
	}
}