@import url('fonts/opensans_regular/stylesheet.css');
@import url('fonts/opensans_semibold/stylesheet.css');
:root {
	--black: #181818;
	--white: #FFF;
	--red: #EF191A;
	--lightgrey: #D8d8D8;
	--darkgrey: #717171;
	--blacktrans: #181818c7;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	font-size: 1.13em;
	font-family: 'open_sans', sans-serif;
	overflow-x: hidden;
	display: flex;
	height: 100vh;
}
p {
	margin: 1em 0;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	/*margin: 0.5em 0;*/
}
a {
	text-decoration: none;
	color: #ef191a;
}
img, .image {
	max-width: 100%;
	border-radius: 3px;
}
video, audio {
	max-width: 100%;
}
input, textarea {
	border: none;
	padding: 8px;
}
textarea:focus, input:focus{
	outline-color: #ef191a ;
}
li {
	list-style: none;
}
time {
	display: block;
	text-align: right;
	line-height: 1.4em;
	font-size: 0.8em;
	/*display: none;*/
}
code {
	white-space: pre;
	padding: 10px;
	display: block;
	margin: 3% 0;
	overflow: auto;
}
blockquote {
	background: #181818;
	color: #FFF;
	border-left: 1em solid #ef191a;
}
blockquote, cite {
	margin: 23px 8%;
	padding: 10px;
}
blockquote footer {
	background: none;
	text-align: right;
	margin: 0;
	padding: 0;
}
blockquote cite {
	margin: 0;
}
blockquote a {
}
cite {
	display: block;
}
::selection {
	color: #181818;
	background-color: #ef191a;
}

.clear {
	clear: both !important;
	margin: 0;
}
.fright {
	float: right;
}
.fleft {
	float: left;
}
.hidden {
	display: none;
}
.video {
	position: relative;
	padding-top: 56.25%;
	margin: 1em 0;
}
.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


@keyframes slideLeft {
	0% {
		transform: translateX(100%);
	}
	100% {
		transform: translateX(0);
	}
}
@keyframes slideRight {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(0);
	}
}
@keyframes slideTop {
	0% {
		transform: translateY(-100%);
	}
	100% {
		transform: translateY(0);
	}
}
@keyframes slideBottom {
	0% {
		transform: translateY(100%);
	}
	100% {
		transform: translateY(0);
	}
}
@keyframes appear {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

#main {
	animation-name: appear;
	animation-iteration-count: 1;
	animation-timing-function: ease-in-out;
	animation-duration: .9s;
}


/* Structure */
#nav-1 {
	flex: 1;
	max-width: 350px;
	position: relative;
}
#nav-1, #main, #nav-2 {
	padding: 1em 2%;
}
#main {
	position: relative;
	flex: 3;
	overflow: auto;
	padding-right: 4%;
}

#deco {
	background: gold;
	width: 30%;
	height: 100%;
	color: black;
	flex: 1;
	display: none;
}

#nav-2 {
	display: none;
}
#footer {
	/*background-image: url(imgs/hoga_cherry.png), url(imgs/hoga_cherry.png);*/
	background-position: 98%, 2%;
	background-repeat: no-repeat;
	padding: 0.4% 0;
	text-align: center;
	width: 100%;
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 101;
	color: #FFF;
	background-color: RGBA(113, 113, 113, 0.88);
	display: none;
}


/* NAV-1 */
#nav-1 > * {
	margin-bottom: 3.5em;
}
#logo_header span {
	display: none;
}
#logo_header a {
	background: url(imgs/hoga_logo_web.png) no-repeat center center;
	height: 150px;
	display: block;
	background-size: contain;
	max-width: 300px;
}


/* CONTENT - everything in div#content */
#content {
	max-width: 815px;
	padding-bottom: 4em;
}
#content li {
	list-style: disc outside none;
	margin-left: 1em;
	clear: both;
}
#content h2, #content h3, #content h4, #content h5, #content h6 {
	background: #d8d8d8;
	border-right: 1em solid #ef191a;
	padding: 1% 2%;
	margin: 1em 0;
	clear: both;
}
#content h1 {
	font-size: 2.8em;
	color: #181818;
	background: #FFF;
	/*margin: 1.2em 0 0.8em;*/
	/*margin: .6em 0 0.8em;*/
	/*margin-bottom: 0.8em;*/
}

#footer p {
	margin: 4px 0;
	font-size: 0.85em;
}

#statusbar ul {
	animation-name: slideRight;
	animation-iteration-count: 1;
	animation-timing-function: ease-in-out;
	animation-duration: 1.2s;
}
#statusbar ul#status li {
	background: url('imgs/white_box.png') no-repeat scroll left top #181818;
	color: #FFF;
}
#statusbar ul#errors li {
	background: #ef191a;
	color: #FFF;
	text-shadow: 1px 1px 1px #181818;
}
#statusbar ul li {
	padding: 5px 3%;
	margin: 4px 0px;
	text-align: right;
}

/* MENUS */
.menu.icon {
	background: url(imgs/menu_icon.png) no-repeat center center;
	height: 64px;
	width: 64px;
	display: block;
	background-size: contain;
	float: right;
}
.menu li a {
	padding: 5px;
	display: block;
	text-align: center;
	color: #FFF;
	background: url(imgs/white_box.png) no-repeat top right #181818;
	max-width: 300px;
}
.menu li a:hover {
	background-image: url(imgs/red_box.png);
}
.menu li.active a:hover {
	background-image: url(imgs/black_box.png);
}
.menu li.active a {
	background-color: #ef191a;
	text-shadow: 1px 1px 1px #181818;
}
.menu-1 li, .menu-2 li {
	margin-bottom: 5px;
}
.menu-2 {
	font-size: 0.9em;
}
.menu-2 ul {
	/*width: 100%;*/
}
.menu-2 a {
	padding: 0 1.5em;
	margin-bottom: 5px;
}


/*IMAGES*/
.image h4 {
	margin: 0 0 1% !important;
	padding: 0.4% 1%;
	background: #717171 !important;
	color: #FFF;
}
.image p {
	font-size: 0.85em;
	margin: 1%;
	text-align: left;
}
.img_light_bg img {
	padding: 2%;
	max-width: 96%;
}
.img_left {
	margin-right: 1.6em;
	float: left;
}
.img_right {
	float: right;
	margin-left: 1.6em;
}
.img_right + p, .img_left + p {
	margin-top: 0;
}
.img_block {
	margin: 5%;
}
.img_block_border {
	border: 2px solid #717171;
}
.img_block_border img {
	margin: 5% auto;
	display: block;
}
.img_block_border p {
	border-top: 2px solid #717171;
	padding: 1%;
}
.img_left_nomarge {
	margin: 0;
	display: inline-block;
}

/* IMAGE ACCORDION - 4 FUCKING PARAMETERS !! */
.overlay {
}
.overlay input:checked + label .triggered {
	display: block;
	position: fixed;
	background: var(--blacktrans);
	width: 100%;
	height: 100%;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
}
.overlay input:checked + label .triggered img {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.overlay input:checked + label .trigger {
	display: none;
}
.overlay label {
	cursor: pointer;
}
.overlay input + label img {
	max-width: 100%;
}

/* IMAGE FLEXBOX */
.flexbox {
	display: flex;
	flex-wrap: wrap;
}
.flexbox .imagebox {
	margin: 1.2em 1.2em 1.2em 0;
}

ul#anchor_menu {
	background: #717171;
	padding: 0.5em 0.5em 0.5em 0;
	color: #fff;
	transition: background .6s ease-in-out;
}
#anchor_menu li {
	list-style: none;
}
#anchor_menu li:before {
	content: "• ";
	font-size: 1.4em;
	transition: color .6s ease-in-out;
	vertical-align: middle;
	color: #FFF;
}
#anchor_menu li:hover:before {
	color: #181818;
}
#anchor_menu a {
	transition: background .6s ease-in-out;
	text-decoration: none;
	color: #fff;
	padding-left: 0.5em;
	width: 80%;
	display: inline-block;
}
#anchor_menu a:hover {
	background: #181818;
}

/*FORM STUFFS*/
.generatedform input.field_empty, .generatedform input.field_error, .generatedform textarea.field_empty, .generatedform textarea.field_error {
	border: 1px solid #ef191a;
	color: green;
}
input.submit {
	cursor: pointer;
}
.generatedform {
	max-width: 640px;
	padding: 3%;
	color: #FFF;
	background: url(imgs/white_box.png) no-repeat top right #717171;
}
.generatedform strong {
	display: block;
	margin-bottom: 10px;
	border-bottom: 2px solid #ef191a;
}
.generatedform label {
	display: block;
}
.generatedform textarea {
	min-height: 8em;
}
.generatedform input, .generatedform textarea {
	width: 98%;
	min-height: 1.8em;
	margin: 2px 0 10px;
	border: 1px solid #717171;
	background: url(imgs/black_box.png) no-repeat top right #FFF;
}
.generatedform textarea {
	min-height: 18em;
}
.generatedform input:focus, .generatedform textarea:focus {
	background: url(imgs/red_box.png) no-repeat top right #FFF;
	border: 1px solid #181818;
}
.generatedform input.submit {
	background: url(imgs/black_box.png) no-repeat top right #ef191a;
	color: #FFF;
}
.generatedform input.submit:hover {
	background: url(imgs/red_box.png) no-repeat top right #FFF;
	color: #181818;
}
.generatedform small {
	margin: 1em 0;
	display: block
}
.generatedform .inputfield2 span {
	display: none;
}

/* NEWS */
article.resume .article_content {
	padding: 1em;
	background: var(--lightgrey);
	border-radius: 0 0 5px 5px;
}
#news article h1 {
	border-bottom: 2px solid var(--red);
	margin-bottom: 5px;
}
#news .resume .date {
	background: var(--lightgrey);
	float: right;
	margin: 0.6em .4em 0 0;
}
#news article.resume {
	margin: 1em 0 2em 0;
	position: relative;
}
#news article.resume h2 {
	margin: 0;
	border-radius: 5px 5px 0 0;
}
#news article.resume h2 a {
	color: var(--white);
	display: block;
}
#news h2 {
	background: var(--black);
}
#news footer {
	background: var(--lightgrey);
	margin-top: 2.4em;
	padding: 0.5em;
}
#news .plink input {
	width: 100%;
}

#news .resume footer {
	background: none;
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 0.6em;
	right: 0.6em;
	width: 100%;
}
#news .article_content > div.clear {
	height: 1.4em;
}
#news .article_content {
	padding-top: 1.6em;
}

/* TAGS */
.tags {
	text-align: right;
	font-size: 0.8em;
}
.tags ul {
	display: inline;
}
#news .tags li {
	list-style: none;
	float: right;
	margin-left: 1%;
	clear: none;
}
.tags li a {
}


/* PAGINATE */
.paginate {
	margin-top: 2em;
	background: gold;
	background: var(--black);
	color: var(--white);
}
.paginate div {
	display: flex;
	text-align: center;
	font-weight: bold;
}
.paginate div > span {
	flex-grow: 1;
	flex-basis: auto;
	padding: 5px;
	border-right: 2px solid var(--white);
}
.paginate div > span:last-child {
	border-right: none;
}
.paginate div > span a {
	display: block;
}
.paginate div > span a.greyed {
	color: var(--lightgrey);
}
.paginate div div {
	padding: 5px;
	border-top: 2px solid var(--white);
	width: 100%;
	display: block;
}

/* SOCIAL */
.social div {
	    margin-top: 2%;
}
.social a {
	display: inline-block;
	height: 40px;
	width: 60px;
	background-size: contain;
}
.twitter {
	background: url(imgs/twitter_bird.svg) no-repeat;
}
.reddit {
	background: url(imgs/reddit_logo.svg) no-repeat;
}
.mastodon {
	background: url(imgs/mastodon_elephant.svg) no-repeat;
}
/*.rss {*/
	/*background: url(imgs/rss_icon.svg) no-repeat;*/
/*}*/
/*a.rss {*/
	/*height: 32px;*/
/*}*/
#rss {
	background: url(imgs/rss_icon.svg) no-repeat;
	background-size: contain;
	color: var(--black);
}
a#rss {
	height: 32px;
}
#rss:hover .hidden {
	display: inline-block;
}


@media all and (min-width: 800px) {
}

@media all and (min-width: 1366px) {
	#deco {
		flex: 0.4;
	}
}
@media all and (min-width: 1440px) {
	#deco {
		flex: 1;
	}
}

@media all and (max-width: 800px) {
	#logo_header a {
		background-image: url(imgs/hoga_logo_web_small.png);
		height: 350px;
	}
	#main {
		/*overflow: none;*/
	}
}

@media all and (max-height: 600px) {
	#main {
		overflow: visible;
	}
}
label.toggle-label {
	display: none;
}
@media all and (max-width: 600px) {
	body {
		flex-flow: column;
	}
	body > * {
		max-width: 100% !important;
	}
	#nav-1 {
		position: fixed;
		width: 100%;
		z-index: 10;
		padding: 1% 0%;
		border-bottom: 2px solid RGBA(113, 113, 113, 0.88);
		background: #ffffff;
	}
	#nav-1 > * {
		margin-bottom: 1.5em;
		margin-bottom: 0;
	}
	#logo_header a {
		background: url(imgs/hoga_logo_web.png) no-repeat 2%;
		/*background-position: center;*/
		height: 64px;
		background-size: contain;
	}
	.menu.icon {
		margin: 1% 2%;
	}
	.menu li a {
		max-width: 100%;
		margin: auto;
		padding: 0.6em;
		background: #181818;
		border-bottom: 2px solid #FFF;
	}
	#nav-1 .menu-2 {
		display: none;
	}
	#main {
		padding-right: 2%;
		padding-top: 80px;
		overflow: visible;
	}
	#content {
		padding-bottom: 0;
	}
	#content h1 {
		margin: auto;
		font-size: 1.6em;
	}
	#nav-2 {
		/*display: block;*/
	}
	.menu-2 li {
		float: left;
	}
	.menu-2 li a {

	}
	div.menu-1 {
		width: 100%;
		position: absolute;
		top: 0;
		/*right: 2%;*/
		z-index: 10;
	}
	.menu-1 li {
		margin-bottom: 0;
	}
	.toggle {
		height: 0;
		display: none;
	}
	ul.menu-1 {
		margin-top: 72px;
	}
	input.toggle-button:checked ~ .toggle {
		height: auto;
		display: block;
		background: #ffffffe6;
		/*padding: 1% 0;*/
	}
	label.toggle-label {
		cursor: pointer;
		display: block;
	}
	#footer {
		/*display: none;*/
	}
	.rss {
		display: none !important;
	}
}

@media all and (min-width: 800px) and (min-height: 850px) {
	#cherry {
		background: url(imgs/hoga_rc_watermark.png) no-repeat center center;
		position: absolute;
		bottom: 2%;
		right: 0;
		height: 280px;
		width: 100%;
		z-index: -3;
	}
}

.flash {
	position: absolute;
	z-index: 1;
	top: 0px;
	left: 0;
}
.flash span {
	transform: rotate(-45deg);
	background: #ef191a;
	font-weight: bold;
	position: relative;
	width: 188px;
	left: -55px;
	top: 24px;
	display: block;
	text-align: center;
	color: #FFF;
}
