@font-face {
	font-family: 'cyrillic-font';
	src: url('../../../shared/fonts/Bukyvede.woff2') format('woff2'),
}

@font-face {
	font-family: 'greek-font';
	src: url('../../../shared/fonts/new-athena-nicode.woff2') format('woff2'),
}

new-athena-nicode.woff2 html,
body {
	margin: 0px;
	padding: 0px;
	font-family: "Oswald", sans-serif !important;
	display: flex;
	flex-direction: row;
	justify-content: center;
	width: 100%;
	height: calc(100vh) !important;
	overflow: hidden !important;
	background-color: rgb(236, 236, 236);
}

.korniienko-card {
	font-size: 0.85em;
}

.korniienko-meta {
	font-weight: 300;
}

.kor-line {
	margin-bottom: 8px !important;
	height: auto;
}

.korniienko-thumb {
	width: 170px;
	height: auto;
	border-radius: 4px;
	margin-bottom: 6px;
	cursor: pointer;
	transition: transform .15s ease-in-out;
}

.korniienko-thumb:hover {
	transform: scale(1.03);
}

.ancient-cyrillic {
	font-family: "cyrillic-font", sans-serif !important;
	font-size: 18px !important;
}

.ancient-greek {
	font-family: "greek-font", sans-serif !important;
	font-size: 16px !important;
}

.modern-font {
	font-family: "Oswald", sans-serif !important;
	font-size: 15px !important;
}

.container {
	height: calc(100vh - 50px) !important;
	width: 100%;
	padding: 30px 40px 20px 40px !important;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	/*box-shadow: inset 10px 0px 20px 0px rgb(0, 0, 0, 0.3); */
}

.language-toggle-buttons button {
	border-radius: 5px;
	border-width: 0px;
	padding: 8px 13px;
	margin-top: 0px;
	background-color: var(--color-4);
	color: white;
	font-size: 0.8em;
	font-weight: 200;
}

.language-toggle-buttons button:hover {
	background-color: var(--color-5);
}

.metadata-inscription {
	height: auto;
	float: left;
	border-radius: 8px;
	width: calc(100% - 40px);
	margin-left: 0px;
	background-color: rgba(255, 255, 255, 0.9);
	overflow: auto;
	padding: 20px;
	margin-top: 20px;
	margin-bottom: 30px;
}

.metadata-inscription-close {
	margin-top: -10px;
	margin-left: -10px;
	width: 30px;
	height: 30px;
	padding: 0px;
	line-height: 1px;
	font-size: 45px;
	font-weight: 100;
	border-radius: 50%;
	color: white;
	cursor: pointer;
	pointer-events: auto;
	z-index: 1000;
	background-color: rgb(180, 100, 100);
	background-image: url(../styles/close.png);
	background-size: 20px;
	background-repeat: no-repeat;
	background-position: center;
}

.metadata-inscription-close:hover {
	background-color: rgb(140, 60, 60);
}

.image-container {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.placecard-text {
	color: black;
	font-size: 1em;
	text-align: left;
	hyphens: auto;
	line-height: 1.2;
	padding: 10px 0px 0px 0px;
}

.placecard-text p {
	padding: 0px;
}

.metadata-surface-title {
	font-family: "Alumni Sans Pinstripe", sans-serif !important;
	text-align: left;
	padding-bottom: 20px;
	padding-top: 30px;
	font-size: 6.5vw;
	font-weight: 400;
}


.metadata-inscription-title {
	letter-spacing: -0.0rem;
	text-align: left;
	padding-bottom: 20px;
	padding-top: 0px;
	font-size: 3.2vw;
	font-weight: 200;
	line-height: 1.2;
	float: left;
	width: calc(100% - 130px);
}

.metadata-inscription-title-part {
	display: inline;
	padding: 0px;
	margin: 0px;
}

.metadata-edit-button {
	display: flex;
	justify-content: right;
	width: 130px;
	float: right;
	margin-top: -15px;
}


.metadata-subtitle {
	letter-spacing: -0.0rem;
	font-size: 2.0vw;
	text-align: left;
	width: calc(100%);
	margin-bottom: 10px;
	margin-top: -8px;
	float: left;

}

.metadata-content {
	padding: 0px 0px 10px 0px;
	line-height: 1.2;
	float: left;
	width: 100%;
}

.metadata-item {
	float: left;
	margin-bottom: 15px;
	margin-right: 30px;
	font-size: 0.95em;
	font-weight: 200;
	display: flex;
	flex-direction: row;
}



/* .metadata-item:has(> .tag:empty) {
	display:none;
}
 */

.metadata-columns .metadata-item {
	margin-bottom: 10px;
}

.metadata-columns .left-column {
	width: calc(50% - 31px);
	padding-right: 30px;
	padding-top: 0px;
	display: flex;
	flex-direction: column;
}

.metadata-columns .right-column {
	width: calc(50% - 31px);
	margin-top: 0px;
	padding-left: 30px;
	border-width: 0px 0px 0px 1px;
	border-color: rgb(180, 100, 100);
	border-style: dotted;
}



.metadata-title-row {
	margin-bottom: 0px;
	width: auto;
	display: flex;
	flex-direction: row;
	align-items: baseline;
}

.metadata-description .metadata-title {
	font-weight: 200;
	font-size: 1.2em;
	line-height: 1.2;
	margin-bottom: 0.5em;
	margin-top: 0px;
	padding: 0px;
	width: auto;
}

.metadata-title-row .metadata-title {
	margin-bottom: 0.0em;
}

.metadata-description-text {
	width: 100%;
	font-weight: 300;
	font-size: 1.0em;
	line-height: 1.2;
	margin-top: 8px;
	margin-bottom: 0em;
	width: 100%;
	color: #630000;
	text-align: left;
}

.metadata-description-text p {
	padding: 1px !important;
	display: block !important;
	width: 100% !important;
	padding-top: 0px;
	line-height: 1.2;
	margin-top: 0em;
	margin-bottom: 0em;
}

.contributors {
	font-size: 1.0em !important;
}

.metadata-content .preview {
	height: auto;
	margin-top: 10px;
	max-height: 100px;
	padding-right: 10px;
	overflow: hidden;
	font-size: 90%;
	mask-image: linear-gradient(180deg, #000 -30%, transparent);
}





.metadata-description .label {
	text-align: left;
	width: auto;
	font-size: 1em;
	line-height: 1.3;
	margin-top: 0px;
	font-weight: 200;
	min-height: 20px;
}



.metadata-content .label {
	float: left;
	text-align: left;
	width: auto;
}

.metadata-item .label {
	text-overflow: ellipsis;
	white-space: nowrap;
}



.metadata-content .tag {
	float: left;
	padding-left: 5px;
	padding-right: 0px;
	width: auto;
	/* text-transform: capitalize; */
	font-weight: 500;
}


.metadata-description {
	margin-top: 10px;
	text-align: justify;
	font-weight: 300;
	float: left;
	width: 100%;
}




.metadata-center-button {
	display: flex;
	justify-content: center;
	width: 100%;
	padding-bottom: 0px;
}

.ai-tag-container {
	margin-top: 10px;
	display: flex;
	width: 100%;
	justify-content: left;
}

.ai-tag {
	border-radius: 3px;
	border-width: 0px;
	padding: 4px 8px;
	margin-top: 0px;
	background-color: rgb(230, 230, 230);
	color: black;
	font-size: 0.75em;
	font-weight: 200;
	min-height: 10px;
	min-width: 10px;
	pointer-events: none;
}

.text-format-container {
	width: auto;
}

.text-format {
	display: flex;
	margin-left: 10px;
	width: auto;
	font-size: 13px;
	user-select: none;
	-webkit-user-select: none;
	font-weight: 400;
	overflow: hidden;
}


.text-format-option {
	margin-right: 5px;
	cursor: pointer;
	color: #666;
}

.text-format-option:hover {
	color: var(--color-4);
	opacity: 0.8;
}


.selected {
	color: var(--color-4);
}



#metadata-dropdown,
#metadata-dropdown-2 {
	position: relative;
	min-width: 90px;
	width: calc(auto + 200px);
	padding: 2px 8px 3px 8px;
	color: white;
	cursor: pointer;
	z-index: 10;
	top: 2px;
	margin-bottom: 0px;
	margin-left: 10px;
	background-color: rgb(180, 100, 100);
	border-radius: 6px;
	border-width: 0;
	font-family: "Oswald", sans-serif !important;
	font-size: 12px;
	-webkit-appearance: none;
	user-select: none;
	-webkit-user-select: none;
	background-image: url(https://data.dh.gu.se/ui-icons/dropdown-arrow_white.png);
	background-size: 15px;
	background-repeat: no-repeat;
	background-position: calc(100% - 10px) 55%;
}

#metadata-dropdown:focus,
#metadata-dropdown-2:focus {
	outline: none;
}

.metadata-columns {
	float: left;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
	flex-wrap: wrap;
	margin-bottom: 10px;
}



.division {
	margin-top: 20px;
	margin-bottom: 30px;
	width: calc(100% + 40px);
	height: 1px;
	border-color: rgb(180, 100, 100);
	border-width: 1px 0 0 0;
	border-style: dotted;
	float: left;
	margin-left: -20px;

}

.metadata-dropdown {
	position: relative;
	display: inline-block;
	color: rgb(180, 100, 100);
	cursor: pointer;
	font-weight: 500;
	background-image: url(https://data.dh.gu.se/ui-icons/dropdown-arrow_red.png);
	background-size: 15px;
	background-repeat: no-repeat;
	background-position: calc(100% - 5px) 100%;
	padding-right: 25px;
}

.metadata-dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	width: 180px;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	padding: 6px 6px 12px 6px;
	z-index: 100;
	color: black;
	margin-left: -10px;
	font-weight: 500;
	border-radius: 8px;
}

.metadata-dropdown-content p {
	display: inline;
	margin-right: 10px;
	margin-left: 10px;
	margin-bottom: 0px;
}

.metadata-dropdown-content p:hover {
	color: rgb(180, 100, 100);
}

.metadata-dropdown:hover .metadata-dropdown-content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

/* On regular screens */

@media screen and (min-width: 900px) {


	.metadata-surface-title {
		font-size: 4.0em !important;
	}

	.metadata-item {
		font-size: 1.0em;
	}

	.metadata-inscription-title {

		font-size: 2.0em;

	}

}



/* On small devices */

@media screen and (max-width: 650px) {

	.metadata-surface-title {
		padding-top: 10px;
		font-size: 3.5em !important;
	}

	.metadata-inscription-title {

		font-size: 1.8em;

	}

	.metadata-columns {
		float: left;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		width: 100%;
		flex-wrap: wrap;
	}

	.metadata-columns .left-column {
		width: 100%;
		padding-left: 0px;
		padding-right: 0px;
	}

	.metadata-columns .right-column {
		padding-left: 0px;
		padding-right: 0px;
		border-style: none;
		width: 100%;
	}
}

@media screen and (max-width: 550px) {
	.container {
		height: auto;
		padding: 80px 15px 20px 15px !important;

	}
}