/*
Theme Name: Hope for One 
Theme URI: https://www.bibra-design.de/
Author: Bibra Design
Author URI: https://www.bibra-design.de/kontakt/
Description: Theme für Hope for One e.V.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hopeforone
*/

@font-face {
    font-family: 'Besom';
    src: url('inc/besom/Besom.eot');
    src: url('inc/besom/Besom.eot?#iefix') format('embedded-opentype'),
        url('inc/besom/Besom.woff2') format('woff2'),
        url('inc/besom/Besom.woff') format('woff'),
        url('inc/besom/Besom.ttf') format('truetype'),
        url('inc/besom/Besom.svg#Besom') format('svg');
    font-weight: normal;
    font-style: normal;
}

/***
	RESET CSS
***/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, hr,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
div, article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	position: relative;
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
input,
textarea {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


/***
	END RESET CSS
***/

/*** ACCESSIBILTY FOR SCREENREADER ***/
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #F3F3F3;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
	clip: auto !important;
	color: #0C2E67;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
outline: 0;
}
/*** ENDE ACCESSIBILTY FOR SCREENREADER ***/

body {
	overflow-x: hidden;
}
body,
input,
textarea,
select,
p,
.wp-caption,
.wp-caption-text,
.sticky,
.gallery-caption,
.bypostauthor {
	font-family: 'Open Sans', sans-serif;;
	font-size: 17px;
	letter-spacing: .035em;
	line-height: 1.3em;
	color: #343434;
	text-align: left;
}

h1 {
	font-size: 50px;
	font-weight: 600;
	color: #ffffff;
	text-shadow: 0px 0px 4px rgba(0,0,0,0.1);
	text-transform: uppercase;
	text-align: center;
	line-height: 1;
}
h2 {
	font-size: 30px;
	color: #343434;
	padding: 24px 0 16px;
	line-height: 1;
}
h3 { /*FEATURE TEXT*/
	font-size: 20px;
	padding: 0 0 8px;
	line-height: 1.5;
}
h3 + h3,
p + h3 {
	padding: 16px 0 8px;
}
p {
	padding: 0 0 6px;
}
a {
	color: #0C2E67;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a.feature {
	font-size: 20px;
}
h1, h2, h3 {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	width: 100%;
}
ul {
	list-style-type: disc;
	margin-left: 20px;
	line-height: 20px;
	padding: 0 0 16px;
}
hr {
	position: absolute;
	height: 1px;
	background-color: #A6AAA9;
	margin-top: -1px;
	width: 100%;
	left: 50%;
	transform: translateX(-50%);
}
h1 a {
	color: inherit;
	text-decoration: none;
}
label {
	color: #343434;
}
input,
textarea,
select,
input[type=submit] {
	padding: 10px 15px;
	border: 1px solid #A6AAA9;
	outline: 0;
	border-radius: 0;
	color: #343434;
	margin: 0 0 10px 0;
}
input[type=submit] {
	background-color: transparent;
	cursor: pointer;
}
input[type=submit]:hover {
	color: #0C2E67;
	border-color: #0C2E67;
}
input[type=submit]:focus {
	outline: none;
}
select {
	background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='50px' height='50px'><polyline points='46.139,15.518 25.166,36.49 4.193,15.519' style='fill: none; stroke: #343434; stroke-width: 3'/></svg>") right no-repeat;
	background-color: transparent;
	background-position: right 5% top 50%;
	background-size: 18px 18px;
	-webkit-appearance: none;
	padding-right: 35px;
}
select:active {
	border-color: #0C2E67;
}

.alignright {
	text-align: right;
}
.alignleft {
	text-align: left;
}
.aligncenter {
	text-align: center;
}

#page { /* SITE CONTAINER */
	width: 100%;
	max-width: 100%;
}

#masthead {
	position: static;
}
#masthead,
#masthead .inner {
	height: 60px;
	line-height: 60px;
	vertical-align: middle;
	overflow: visible !important;
}

#site-header-brand-group {
	position: absolute;
	left: 15px;
}

#site-header-logo {
	height: 40px;
	padding: 10px 0;
}

#site-header-name {
	text-decoration: none;
	color: #0C2E67;
	display: inline-block;
	height: 60px;
	line-height: 60px;
	vertical-align: top;
	padding-left: 15px;
}
#site-header-name .short-version {
	display: none;
}

#site-navigation {
	position: absolute;
	right: 15px;
}

#primary-menu {
	list-style-type: none;
	width: 100%;
	text-align: right;
	display: inline-block;
	margin: 0;
	padding: 0;
}

#primary-menu li {
	display: inline-block;
	padding: 0px 10px;
}

#primary-menu li a {
	color:#0C2E67;
	text-decoration: none;
}

#primary-menu li.current-menu-item a,
#primary-menu li.current-page-ancestor a {
	color: #0C2E67;
	border-bottom: 1px solid #0C2E67;
}

#primary-menu li:hover a { 
	color: #0C2E67;
}

#primary-menu ul.sub-menu {
	display: none;
	position: absolute;
	text-align: left;
	margin: 0;
	padding: 25px 0 0;
	z-index: 99999;
}

#primary-menu ul.sub-menu li {
	display: block;
	text-align: left;
	margin: 0;
	padding: 10px 5px 0 0;
	overflow: hidden;
	white-space: nowrap;
}

body.no-touch #primary-menu li:hover ul.sub-menu,
#primary-menu li.clicked ul.sub-menu { 
	display: block;
}

#primary-menu ul.sub-menu li a {
	color: #FFFFFF;
	border-bottom: 0;
	text-shadow: rgba(0,0,0,0.6) 2px 2px 5px;
}

#primary-menu ul.sub-menu li:hover a {
	border-bottom: 1px solid #FFFFFF;
}

footer.site-footer { /** FOOTER **/
	background-color: #F3F3F3;
	text-align: center;
	margin: 40px 0 0;
	padding: 30px 0;
}
footer a {
	color: #A6AAA9;
}
footer .footer-menu ul {
	list-style-type: none;
	text-align: left;
	margin: 0;
	padding: 0;
}
footer .footer-menu ul li:first-child {
	padding-bottom: 20px;
}

#masthead
#content>*:not(#primary):not(article) {
	width: 100%;
	max-width: 960px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 15px;
	box-sizing: border-box;
	overflow: hidden;
}
#masthead {
	padding: 0;
}

.responsive-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
}
.responsive-video {
	width: 100%;
	position: relative;
	padding-bottom: 56.25%; /* Default for 1600x900 videos 16:9 ratio*/
	padding-top: 0px;
	height: 0;
	overflow: hidden;
}
/**** MOBILE STYLE ****/
@media only screen and (max-width: 680px) {
	h1, h2 {
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}
	#content>*:not(#primary):not(article),
	iframe {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
	#masthead {
		padding: 0 !important;
	}
}

/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v34-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v34-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v34-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v34-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/open-sans-v34-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v34-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v34-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v34-latin-600.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v34-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v34-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}
