/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

html {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: #000;
	/* Enable a font's kerning: http://stackoverflow.com/questions/15160897/font-feature-settings-what-is-the-correct-syntax */
	font-feature-settings: "kern";
	-moz-font-feature-settings: "kern";
	-webkit-font-feature-settings: "kern";
}

.search-input-text,
.search-input-text-mini,
.crossword-input, .dictionary-word {
	font-family: 'Sono', 'Noto Sans Mono', monospace;
	/*font-family: 'SonoSans', 'NotCourierSans', 'Lotuscoder', monospace;*/
	/*font-family: 'NotCourierSans', 'Lotuscoder', monospace;*/
	/*font-family: 'LotusCoder', monospace;*/
	font-weight: bold;
}

body {
	margin: 0;
}

div {
	box-sizing: border-box;
}

p {
	margin: 6px 0px;
}

button, select {
	font: inherit;
	color: #000; /* Safari iOS needs this... :-/ */
}

h1, h2, h3, h4, h5 {
	font-family: 'Vollkorn', serif;
	font-weight: bold;
}

h1 {
	font-size: 1.6rem;
	text-align: center;
}

h2 {
	font-size: 1.33rem;
}

h3 {
	font-size: 1.0rem;
	margin: 12px 0px 0px 6px;
	font-weight: normal;
}

a {
	color: #000;
	text-decoration: none;
}

dl {
	display: grid;
	grid-template-columns: max-content auto;
	grid-row-gap: 10px;
}

dt {
	grid-column-start: 1;
	text-align:right;
}

dd {
	grid-column-start: 2;
}

input {
	color: #000; /* Safari iOS needs this... :-/ */
}

input::placeholder {
	color: #999;
	font-family: 'Open Sans', sans-serif;
	font-size: 1.0rem;
}

.minimal-button {
	border: none;
	background-color: inherit;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: center;
	column-gap: 8px;
	width: fit-content;
	min-height: 44px;
	min-width: 44px;
}

.icon {
	width: 22px;
}

.strong {
	font-weight: bold;
}

.light-link {
	text-decoration: underline dashed;
	cursor: pointer;
}

.click-size {
	min-width: 36px;
	min-height: 36px;
	padding: 4px;
	display: inline-flex;
	margin: 0;
	align-items: center;
	box-sizing: content-box;
}

.big-checkbox {
	width: 1.16rem;
	height: 1.16rem;
}

.big-text {
	font-size: 1.2rem;
}

.grid-container {
	display: grid;
	grid-template-columns: auto 932px auto;
	/*row-gap: 12px;*/
	/*column-gap: 12px;*/
	/*margin: 4px;*/
}

.grid-container > div {
	text-align: center;
	/*border: 1px solid grey;*/
}

.left-ad-column {
	grid-column: 1;
	min-width: 320px;
}

.center-column {
	grid-column: 2;
	width: 932px;
	padding: 0 8px;
}

.right-ad-column {
	grid-column: 3;
	min-width: 320px;
}

.logo-container {
	padding: 4px;
	padding-top: 12px;
	display: flex;
	justify-content: center;
}

.top-logo {
	max-width: 100%;
	height: auto;
}

.search-box {
	/* New search box */
	/*min-height: 250px;*/
	background: url("/images/search-box-bg-pattern.svg"), #888;
	border-radius: 20px;
	/* Old search box */
	margin: 4px 4px 16px 4px;
}

.search-box-full {
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 12%;
	min-height: 250px;
}

.search-box-mini {
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 12%;
	cursor: pointer;
}

.search-box-form {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	gap: 6px;
}

.search-box-text-area {
	/*text-align: left;*/
	width: fit-content;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	margin-top: 12px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	margin: auto;
}

.search-instructions {
	text-align: left;
}

.search-input-box {
	min-height: 55px;
	background: #FFFFFF;
	border-radius: 20px;
	display: flex;
	justify-content: space-between;
	padding-left: 8px;
}

.instant-search-box {
	position: absolute;
	width: calc(100% - 40px);
	margin: 0 20px;
	border: #ddd 1px solid;
	background: white;
	border-radius: 0 0 10px 10px;
	z-index: 90;
	transform: translateZ(90px); /* This extra transform is only for you, Safari! */
}

.search-input-box-text {
	flex-grow: 1;
	align-self: center;
}

.search-input-text {
	margin: 6px;
	padding: 3px;
	padding-top: 10px;
	font-size: 1.33rem;
	line-height: 1.6;
	text-transform: uppercase;
	letter-spacing: 2px;
	border-radius: 6px;
	border: none;
	outline: none;
}

.search-input-text-mini {
	margin: 6px;
	padding: 3px 12px;
	font-size: 1.2rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	border-radius: 6px;
	border: none;
	outline: none;
	width: 90%;
}

.crossword-input {
	text-transform: uppercase;
	color: #000000;
	background-color: #FFFFFF;
	font-size: 1.33rem;
	line-height: 1.4;
	text-align: center;
	margin: 1px -3px 1px 0;
	padding: 0px; /* Safari iOS needs this... :-/ */
	padding-top: 1px;
	width: 32px;
	height: 30px;
	border: 3px solid #4D5E73;
	border-radius: 0; /* Yes, Safari iOS needs this too... :-O */
	outline: none;
}

.crossword-input-first {
	border-radius: 6px 0 0 6px;
}

.crossword-input-last {
	border-radius: 0 6px 6px 0;
}

.crossword-input-outer {
	display: flex;
	flex-wrap: wrap;
	/*background-color: #4D5E73;*/
	border-radius: 4px;
	padding: 4px 0 4px 6px;
	width: fit-content;
	align-self: center;
}

.search-box-group {
	position:relative;
	align-self: center;
	width: fit-content;
}

.search-title {
	margin: 8px 0;
	/* H1 Bitter 32 */
	font-family: 'Vollkorn', serif;
	font-style: normal;
	font-weight: 600;
	font-size: 32px;
	line-height: 36px;

	text-align: center;
	color: black;
	border-radius: 14px;
}

.search-type {
	min-height: 40px;
	/*width: 218px;*/
	text-align: center;
	background-color: transparent;
	border: 2px solid white;
	border-radius: 14px;
	/*color: white;*/
	color: black;
	margin: 8px;
	padding: 0 24px;
}

.search-button {
	font-family: 'Vollkorn', serif;
	float: left;
	margin: 0px 0px 0px 5px;
	padding: 6px 8px;
	margin: 4px;
	min-height: 41px;
	text-align: center;
	background-color: transparent;
	font-size: 1.083rem;
	font-weight: bold;
	/* Border start */
	border: solid 1px #4D5E73;
	border-radius: 16px;
	/* Border end */
	background: rgb(235,235,235); /* Fallback */
	background: linear-gradient(to bottom, #ebebeb 0%, #c8c8c8 100%); /* W3C */
}

.info-text {
	font-weight: bold;

	text-align: center;
	margin: 0px 0px 4px 0px;
}

/*
	Containers
*/

.page-content {
	min-height: 350px;
	padding: 20px;
	margin: 4px;
}

.details-word-list {
	padding: 6px;
}

.search-links-container {
	min-height: 316px;
	background: #F3F3F3;
	padding-top: 36px;
	padding-bottom: 46px;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

.link-box-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.link-box {
	border: 1px solid #A4A4A4;
	border-radius: 14px;
	display: flex;
	justify-content: center;
	align-items: center;
	word-break: break-word;
	width: 150px;
	min-height: 100px;
	padding: 16px;
}

.navigation-container {
	min-height: 316px;
	background: #374B6B;
	padding-top: 36px;
	padding-bottom: 46px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.details-container {
	text-align: left;
}

.definition-text {
	font-style: italic;
}

.navigation-container p,
.navigation-container a,
.navigation-container a:hover {
	color: white;
}

.navigation-container a:hover {
	text-decoration-line: underline;
	text-decoration-style: dotted;
}

.navigation-container a {
	font-weight: bold;
}

.navigation-menu a {
	font-weight: normal;
	margin: 0px 10px;
}

.footer-container {
	min-height: 90px;
	background: #132645;
	padding-top: 28px;
	padding-bottom: 28px;
}

.footer-container p,
.footer-container a,
.footer-container a:hover {
	color: white;
}

.footer-container a:hover {
	text-decoration-line: underline;
	text-decoration-style: dotted;
}

.footer-container a {
	font-weight: bold;
}

.tech-footer-container {
	min-height: 90px;
	background-color: black;
	padding-top: 28px;
	padding-bottom: 28px;
}

.tech-footer-container p,
.tech-footer-container a
{
	color: dimgrey;
	font-size: .83rem;
}

/*
	Search result
*/
.search-result {
	text-align: left;
}

.search-result-word-box {
	display: flex;
	flex-direction: column;
	align-items: start;
	text-align: start;
}

.details-link {
	float: left;
	background-color: #eeeeee;
	font-size: 1.083rem;
	padding: 4px;
	margin: 4px 0px;
	border: solid 1px #4D5E73;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.extern-word-link-box {
	display: flex;
	flex-flow: wrap;
	width: 100%;
	justify-content: center;
}

.extern-word-link {
	display: flex;
	padding: 8px;
	border-left: solid 1px black;
	border-right: solid 1px black;
}

.search-time {
	font-size: .83rem;
	text-align: right;
}

.hidden {
	display: none;
}

.strike-trough {
	text-decoration: line-through;
	text-decoration-thickness: 2px;
}

/*
	Ads
*/
.ad-spacer {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0px 10px 10px 0px;
}

.full-width {
	width: 100%;
}

.blur-bg {
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px); /* Safari */
}

.blur-bg-big {
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px); /* Safari */
}

.sticky-window-full-height {
	height: 90vh;
	position: sticky;
	top: 5vh;
}

.adsbygoogle {
	width: 100%;
}


/* 
	Drop down
*/

/* The container <div> - needed to position the dropdown content */
.dropdown {
	position: relative;
	display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
	text-align: left;
	/*font-weight: 100;*/
	display: none;
	position: absolute;
	background-color: #fff;
	min-width: 240px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 99;
	transform: translateZ(99px); /* This extra transform is only for you, Safari! */
	/*right: 0;*/
	width: stretch;
	max-width: 90vw;
}

/* Links inside the dropdown */
.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
	background-color: #ddd
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
	display: block;
}

.dropdown-button::after {
	content: url('/images/drop-down-arrow-10px.svg');
	padding-left: 4px;
}

/*
	@media
*/

@media (max-width: calc(320px + 932px + 320px + 18px)) {
	.grid-container {
		grid-template-columns: 320px minmax(0, auto) 320px;
	}

	.center-column {
		width: 100%;
	}

	.right-ad-column {
		min-width: unset;
	}
}

@media (max-width: calc(320px + 728px + 320px + 18px)) {
	.grid-container {
		grid-template-columns: 320px 728px minmax(0, auto);
	}
}

@media (max-width: calc(320px + 728px + 18px)) {
	.grid-container {
		grid-template-columns: 320px minmax(0, auto) 0px;
	}

	.right-ad-column {
		display: none;
	}
}

@media (max-width: calc(320px + 540px + 18px)) {
	.grid-container {
		grid-template-columns: minmax(0, auto) 540px 0px;
	}

	.left-ad-column {
		width: 100%;
		min-width: unset;
	}

	.center-column {
		width: 540px;
		padding-left: 0;
		padding-right: 0;
	}

	.logo-container {
		padding: 4px;
	}
}

@media (max-width: calc(150px + 540px + 18px)) {
	.grid-container {
		grid-template-columns: 0px minmax(0, auto) 0px;
		column-gap: 0;
		/*margin: 0px;*/
	}

	.top-logo-box {
		margin-top: 4px;
	}

	.left-ad-column {
		display: none;
	}

	.center-column {
		width: 100%;
	}

	.search-box-full {
		padding: 20px 4%;
	}

	.page-content {
		padding: 0px;
	}
}

@media (max-width: 460px) {
/*
	.logo-container {
		height: calc(18px + 10vw);
		min-height: 80px;
	}
*/

/*	.logo {
		width: calc(100% - 100px);
	}
*/
	.search-box {
		margin: 0 0 16px 0;
		border-radius: 0;
	}

	.search-title {
		font-size: 24px;
	}
}

.site-language {
	align-self: start;
}

.right-menu {
	right: 0;
}

.grid-row-1 {
	grid-row: 1;
}

.grid-row-2 {
	grid-row: 2;
}

.grid-row-3 {
	grid-row: 3;
}

.grid-row-4 {
	grid-row: 4;
}

.grid-row-5 {
	grid-row: 5;
}

.grid-row-6 {
	grid-row: 6;
}

.grid-row-7 {
	grid-row: 7;
}

.grid-row-8 {
	grid-row: 8;
}


/*
	Limit height on ads on big screen 
*/
.adsense-max-90 {
	height: 90px;
}

.adsense-max-15 {
	height: 15px;
}
