@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css);

body {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	background-color: #f8f9fa;
	color: #212529;
}

header {
	background-color: #cc0000;
	color: white;
	padding: 20px 0;
	/* text-align: center; */

	display: flex;
	justify-content: center;
}

header h1 {
	margin: 0;
	font-size: 2em;
	text-overflow: ellipsis;
	text-wrap: nowrap;
	overflow: hidden;
	max-width: calc(100vw - 30px);
	/* max-width: calc(100vw - 130px); */
}

header p {
	margin: 4px 0;
	font-style: italic;
	font-size: 0.95em;
	text-overflow: ellipsis;
	/* text-wrap: nowrap; */
	overflow: hidden;
	/* max-width: calc(100vw - 120px); */
}

header img {
	height: 60px;
	width: auto;
	border-radius: 50%;
	margin-right: 10px;
}

header .indiv {
	margin-left: 20px;
	margin-right: 20px;
}

nav {
	background-color: #ffffff;
	color: rgb(0, 0, 0);
	padding: 8px 20px;
	border-bottom: rgb(228, 228, 228) solid 2px;
	font-size: 0.9em;
	display: flex;
	justify-content: center;
}

nav a {
	color: rgb(0, 0, 0);
	text-decoration: none;
	transition: background 0.3s;
	margin-right: 15px;
	padding: 5px;
	border-radius: 5px;
}
nav a:hover {
	background-color: #ececec;
}
nav a.active {
	/* text-decoration: underline; */
	background-color: #fcfcfc;
}
nav a:last-child {
	margin-right: 0px;
}

.indiv {
	display: flex;
	justify-content: space-between;
	width: 100%;
	max-width: 1300px;
}

.container {
	display: flex;
	max-width: 1300px;
	padding: 20px;
	margin: 20px auto;
	gap: 20px;
}

.main-content {
	flex: 3;
}

.sidebar {
	flex: 1;
	background-color: #fff;
	padding: 15px;
	border: 2px solid rgb(235, 235, 235);
	border-radius: 5px;
	min-height: 100vh;
}

.redthing {
	background-color: rgb(209, 0, 20);
	color: rgb(255, 255, 255);
	display: inline-block;
	border-right: 1px solid #d10014;
}
.redthing::before {
	border-color: transparent transparent transparent #d10014;
	width: 0;
	position: absolute;
	right: -30px;
	top: 0px;
	height: 0;
	border-style: solid;
	border-width: 40px 0 0px 30px;
	content: "";
}

footer {
	text-align: center;
	padding: 15px;
	background-color: #222;
	color: white;
	font-size: 0.85em;
}

.space {
	margin: 10px;
	height: 2px;
	background: lightgrey;
	width: calc(100% - 20px);
}

.ad {
	text-align: center;
	border-radius: 5px;
	color: rgb(87, 87, 87);
}
#adurl {
	border-radius: 5px;
	width: 100%;
}
.ad svg, .ad img {
	border-radius: 5px;
	border: 1px solid #ccc;
	background: #f1f1f1;
}

#adv {
	top: 10px;
	position: sticky;
}

#adv svg, #adv img {
	width: 100%;
	height: auto;
}

#adh {
	margin-bottom: 20px;
}

#adh svg, #adh > img {
	width: auto;
	height: 100px;
}

#adhcontainer {
	display: none;
}

#ScrollToTop {
	opacity: 0;
	pointer-events: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 999999999999;
	font-size: 18px;
	border: none;
	outline: none;
	background-color: red;
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 4px;
	transition: background 0.3s, opacity 0.3s;
}

#ScrollToTop:hover {
	background-color: #7e7e7e;
}

.search-input-1 {
	flex-grow: 1;
	width: 100%;
	border: 2px solid #dee3ec;
	border-radius: 5px;
	padding: 10px;
	margin-bottom: 10px;
}

.search-button {
	color: #fff;
	background: #d10014;
	transition: background ease-in-out 0.3s;
	padding: 10px;
	border: none;
	border-radius: 5px;
	width: 100%;
}
.search-button:hover {
	background: #af0012;
}

.widget.search {
	padding: 20px;
	padding-top: 0px;
	margin-top: -5px;
}

.searchlabel {
	font-size: 18px;
	font-weight: 600;
	height: 40px;
	line-height: 40px;
	margin-bottom: 20px;
	margin-left: -25px;
	margin-right: -20px;
	margin-top: 0px;
	padding-bottom: 0px;
	padding-left: 15px;
	padding-right: 8px;
	padding-top: 0px;
	position: relative;
	width: auto;
}

@media (max-width: 1000px) {
	.sidebar {
		display: none;
	}

	#adhcontainer {
		display: block;
	}

	#adh svg, #adh img {
		width: 100%;
		height: auto;
		max-width: 600px;
	}

	header img {
		margin-right: 0px;
	}
}

@media (max-width: 700px) {
	header img {
		display: none;
	}
}
