/*
Theme Name: WUD Hannover
Theme URI: http://usabilityday.de
Author: Thomas Vitalis / Alexander Fleischer
Author URI:
Description: Das neue Theme für den World Usability Day Hannover
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: twentytwelve

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ==========================================================================
   Fonts
   ========================================================================== */

/* 
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Young+Serif&display=swap');
*/
@import url('fonts.css');



/* ==========================================================================
   Base styles
   ========================================================================== */
html {
    height: 100%
}

body {
    background-color: #fff;
    color: #333;
    height: 100%;
    margin: 0;
    padding: 0;
	font: normal 18px/1.6 "Inter", Arial, sans-serif;
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-style: normal;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

::-moz-selection {
    background: #FFECE8;
    color: #111;
	text-shadow: none;
}

::selection {
    background: #FFECE8;
    color: #111;
	text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

a {
    border-bottom: 1px solid #2E4A4B;
    color: #2E4A4B;
	background: #F1F8EF;
    text-decoration: none;
}

p {
    margin: 0 0 15px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li{
    margin-bottom: 4px;
}

h2 {
    color: #2E4A4B;
    font-family: 'Young Serif';
	font-size: 1.6em;
}

h2:first-child, h3:first-child {
	margin-top: 0;
}

h3 {
    color: #2E4A4B;
	font-family: 'Young Serif';
    font-size: 1.2em;
	margin-bottom: 0.5em;
}

h4 {
	font-family: 'Young Serif';
	margin: 0 0 0.2em;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    max-width: 1440px;
    margin: auto;
    padding: 0 55px;
}

.page-left {
    float: left;
    padding-right: 6.637168%;
    width: 73.741794%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.page-right {
    float: right;
    width: 26.258206%;
}

/* ==========================================================================
   Forms
   ========================================================================== */


label {
	cursor: pointer;
    display: block;
    font-size: 0.9em;
    margin-top: 2px;
}

input[type=text],input[type=email],textarea {
    border: 1px solid #2E4A4B;
    border-radius: 4px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 6px;
    width: 100%;
}

input[type=text]:focus,input[type=email]:focus,textarea:focus{
    border: 1px solid #2E4A4B !important;
	background: #F1F8EF;
}


textarea {
    height: 96px;
}

.form-item {
    margin: 15px 0;
}

.wpcf7-response-output {
    border-radius: 5px;
    padding: 5px 10px;
    border: 1px solid;
}

.wpcf7-form.sent .wpcf7-response-output {
    border-color: #4F8A10;;
    background-color: #DFF2BF;
    color: #4F8A10;;
}

.wpcf7-form.invalid .wpcf7-response-output {
    border-color: #FCC7C7;
    background-color: #FFE7E7;
    color: #AD5E5C;
}

.wpcf7-form.init .wpcf7-response-output {
    display: none;
}

.wpcf7-not-valid-tip-no-ajax {
    color: #AD5E5C;
    font-size: 0.9em;
}

.screen-reader-response {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.privacy {
    background: #f2f2f2 url(img/icon-mini-security.png) 5px 9px no-repeat;
    font-size: 0.8em;
    padding: 10px 5px 10px 28px;

}

/* ==========================================================================
   Grids
   ========================================================================== */
.col {
    float: left
}

.col-1-of-2 {
    width: 48%;
    margin-left: 4%
}

.col-1-of-2:first-child {
    margin-left: 0
}


/* ==========================================================================
   Top-Navigation
   ========================================================================== */

.main-navi {
	color: #2E4A4B;
    background-color: #fff;
    padding: 40px 0;
	vertical-align: center;
	margin: auto 0;
}

.main-navi li {
    font-weight: 600;
	float: left;
    margin-left: 10px;
}

.main-navi li:first-child {
    margin-left: 0;
}

.main-navi a {
    /*
	-moz-transition-property: background-color, color;
	-moz-transition-duration: 0.5s;
	-moz-transition-timing-function: ease-out;
	-webkit-transition-property: background-color, color;
	-webkit-transition-duration: 0.5s;
	-o-transition-property: background-color, color;
	-o-transition-duration: 0.5s;
    */
	background: none;
	border: none;
	border-radius: 5px;
    color: #2E4A4B;
	display: block;
    padding: 5px 15px;
    text-decoration: none;
}


.main-navi a:hover {
    /*-moz-transition-property: background-color, color;
	-moz-transition-duration: 0.5s;
	-moz-transition-timing-function: ease-out;
	-webkit-transition-property: background-color, color;
	-webkit-transition-duration: 0.5s;
	-o-transition-property: background-color, color;
	-o-transition-duration: 0.2s;
	*/
	background-color: #2E4A4B;
	color: #fff;
}

.main-navi .current-menu-item a, .main-navi .current-menu-parent a {
	color: #2E4A4B;
	background-color: #F1F8EF;
	font-weight: 800;
}

.navi-right a {
	display: inline;
	background: none;
	border: 0;
	padding: 0 0 0 6px;
}

.navi-right a:hover {
	background: none;
	border: 0;
}

.navi-right {
	float: right;
	font-size: 0.9em;
	color: #111;
}

.navi-right::after {
  clear: both;
}


/* ==========================================================================
   Header
   ========================================================================== */

.header-grid {
      display: grid;
      grid-template-columns: 50% 50%;
      gap: 0;
}

.header-image {
	position: relative;
	right: 0;
	top: -50px;
	margin-bottom: -50px;
	width: auto;
	height: auto;
}


.header-box-left {
	padding: 40px 0 20px 0;
	z-index:99;
	align-content: center;
}

.header-box-right {
	justify-content: right;
}

.page-header {
    background-color: #D7E9D1;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(10%, #D7E9D1), to(#F1F8EF));
    background-image: -webkit-linear-gradient(#D7E9D1 10%, #F1F8EF);
    background-image: -moz-linear-gradient(#D7E9D1 10%, #F1F8EF);
    background-image: -o-linear-gradient(#D7E9D1 10%, #F1F8EF);
    background-image: linear-gradient(#D7E9D1 10%, #F1F8EF);
	color: #2E4A4B;
    margin-bottom: 60px;
	padding: 0 0 0 0;
	overflow: visible;
}

/* 404 Error Seite */

header.page-header#\00003404 {
    margin: 40px 0 80px 0 !important;
}

p.\34 04-btn a.btn {
	margin: 20px 0;
	font-size: 0.9em;
}

/* Ende 404 Error Seite */

.page-header h1 {
    font-family: 'Young Serif';
	font-size: 2.9em;
    font-weight: normal;
	line-height: 1.2em;
    margin: 0.4em 0 0.2em;
}

.page-header p {
    font-size: 1.4em;
	line-height: 1.5em;
	margin: 0;
}

.header-topline-strong {
	font-weight: 700;
}

/**  Responsives Verhalten des Headers */

@media only screen and (max-width: 1350px) {
	.header-box-right {
		 align-content: flex-end;
	}
	.header-image {
		position: static;
		top: 0;
		right: 0;
		bottom: 0;
		margin-bottom: 0;
	}
	
}

@media only screen and (max-width: 1200px) {
	
	.page-header h1 {
		font-family: 'Young Serif';
		font-size: 2em;
		font-weight: normal;
		line-height: 1.2em;
		margin: 0.4em 0 0.2em;
	}
	
	.page-header p {
		font-size: 1em;
		line-height: 1.4em;
		margin: 0;
	}
}

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

	.page-header {
		overflow: hidden;
		background-image: url("./img/header-people.png"), -webkit-gradient(linear, 0 0, 0 100%, color-stop(10%, #D7E9D1), to(#F1F8EF));
		background-image: url("./img/header-people.png"), -webkit-linear-gradient(#D7E9D1 10%, #F1F8EF);
		background-image: url("./img/header-people.png"), -moz-linear-gradient(#D7E9D1 10%, #F1F8EF);
		background-image: url("./img/header-people.png"), -o-linear-gradient(#D7E9D1 10%, #F1F8EF);
		background-image: url("./img/header-people.png"), linear-gradient(#D7E9D1 10%, #F1F8EF);
		background-repeat: no-repeat, repeat;
		background-position: 70vw, 0;
		background-size: 40%, auto;
	}
	
	header.page-header#\00003404 {
		background-image: url("./img/404-cat.png"), -webkit-gradient(linear, 0 0, 0 100%, color-stop(10%, #D7E9D1), to(#F1F8EF));
		background-image: url("./img/404-cat.png"), -webkit-linear-gradient(#D7E9D1 10%, #F1F8EF);
		background-image: url("./img/404-cat.png"), -moz-linear-gradient(#D7E9D1 10%, #F1F8EF);
		background-image: url("./img/404-cat.png"), -o-linear-gradient(#D7E9D1 10%, #F1F8EF);
		background-image: url("./img/404-cat.png"), linear-gradient(#D7E9D1 10%, #F1F8EF);
	}
	
	
	
	.header-grid {
      display: grid;
      grid-template-columns: 80%;
      gap: 0;
	}
	
	.header-box-right {
		 display: none;
	}


}


@media only screen and (max-width: 767px) {
	
	.page-header, header.page-header#\00003404 {
		background-color: #D7E9D1;
		background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(10%, #D7E9D1), to(#F1F8EF));
		background-image: -webkit-linear-gradient(#D7E9D1 10%, #F1F8EF);
		background-image: -moz-linear-gradient(#D7E9D1 10%, #F1F8EF);
		background-image: -o-linear-gradient(#D7E9D1 10%, #F1F8EF);
		background-image: linear-gradient(#D7E9D1 10%, #F1F8EF);
		background-repeat: repeat;
		background-position: auto;
		background-size: contain;
		color: #2E4A4B;
		margin-bottom: 60px;
		padding: 0 0 20px 0;
		overflow: visible;
	}

	header.page-header#\00003404 { margin-top: 0 !important; }
	
	.header-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
	}
	
	.header-box-right {
		 display: block;
		 margin-top: 40px;
	}
	
	.header-box-left {
		padding: 40px 0 0 0;
	}
	
}


/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar {
    font-size: 0.875em;
}

.sidebar h3 {
    font-family: 'Young Serif';
	color: #2E4A4B;
    margin: 0 0 0.5em;
}

.sidebar-box h3,#text-3 .widget-title {
    background-color: #F1F8EF;
    color: #2E4A4B;
    font-size: 1em;
    margin: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;

}

.sidebar-box-content, #text-3 .textwidget {
    padding: 10px;
    background-color: #F2F2F2;
}

.sidebar-box-content p:last-child, .textwidget p:last-child {
    margin: 0;
}

.sidebar-box, .widget {
    margin-bottom: 25px;
}

.wud-logo {
    margin-bottom: 35px;
}

/* ==========================================================================
   Content
   ========================================================================== */

.content {
	font-size: 1.1em;	
}

.entry-content p {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.entry-content h3:not(:first-child) {
    padding-top: 1.5em;
}

.entry-content ul li {
    padding-left: 12px;
    position: relative;
}

.entry-content ul li:before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    width: 5px;
    height: 5px;
    background-color: #444;
}

.page-left a, .page-right a, .btn {
    /*
	-moz-transition-property: background-color, color;
	-moz-transition-duration: 0.5s;
	-moz-transition-timing-function: ease-out;
	-webkit-transition-property: background-color, color;
	-webkit-transition-duration: 0.5s;
	-o-transition-property: background-color, color;
	-o-transition-duration: 0.5s;
	*/
}

.page-left a:hover, .page-right a:hover, .btn:hover{
    /*
	-moz-transition-property: background-color, color;
	-moz-transition-duration: 0.5s;
	-moz-transition-timing-function: ease-out;
	-webkit-transition-property: background-color, color;
	-webkit-transition-duration: 0.5s;
	-o-transition-property: background-color, color;
	-o-transition-duration: 0.5s;
    */
	text-decoration: none;
	background: #2E4A4B;
	color: #fff;
}

.entry-title a {
    border-bottom: none;
    color: #2E4A4B;
	background: none;
}

.entry-title a:hover {
    border-bottom: none;
    color: #2E4A4B;
	background: none;
}

article {
    margin-bottom: 30px;
}

.organisation img{
    display: block;
    margin: 10px 0;
}

#map {
    width: 100%;
    height: 150px;
    margin-bottom: 25px;
}

/* responsive Video */
.elastic-video {
    position: relative;
    padding-bottom: 55%;
    padding-top: 15px;
    height: 0;
    overflow: hidden;
}
.elastic-video iframe, .elastic-video object, .elastic-video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Sponsorenliste */
.sponsors {
    padding-bottom: 10px;
}

.sponsors li {
    margin-bottom: 10px;
}

.sponsors a, .sponsors a:hover {
    background: none;
    border: none;
}


/* ==========================================================================
   Footer
   ========================================================================== */

footer h3 {
	color: #fff;
	font-family: 'Young Serif';
	font-size: 1.4em;
}

footer a {
	color: #fff;
	background: none;
}

footer a:hover {
	color: #fff;
	background: none;
	border-bottom: 1px solid #fff;
}

footer p a  {
	border-bottom: 1px solid #fff;
}

.footer-top {
    background-color: #2E4A4B;
    border-top: 1px solid #ddd;
    color: #fff;
	margin-top: 60px;
    padding: 60px 0 80px;
    font-size: 0.875em;
}

.footer-bottom {
    background-color: #253C3D;
	color: #fff;
    font-size: 0.875em;
    padding: 15px 0;
}

.footer-bottom a {
    border: none;
    color: #fff;
}

.footer-bottom a:hover {
	border-bottom: 0;
}


.footer-navi li {
    float: left;
    position: relative;
    color: #fff;
}

.footer-navi li:before {
    color: #fff;
	position: absolute;
    top: 0;
    left: 0;
    content: "·";
}

.footer-navi a {
	color: #fff;
    display: inline-block;
    padding: 0 6px 0 10px;
}

.copyright {
    color: #fff;
    float: left;
    margin: 0 10px 0 0;
}

.footer-info {
	color: #fff;
	width: 48%;
    margin-left: 4%;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.footer-info:first-child {
    margin-left: 0;
}


/* ==========================================================================
   Buttons
   ========================================================================== */

a.wp-block-button__link.wp-element-button {
    border-radius: 5px !important;
	font-weight: 500 !important;
	background-color: #2E4A4B !important;
    color: fff !important;
	padding: 10px 20px !important;
}

a.wp-block-button__link.wp-element-button:hover {
    background-color: #253C3D !important;
    color: fff !important;
}

.btn {
    background: #2E4A4B;
    border: none;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    font-weight: 500;
    padding: 10px 20px;

}

a.btn {
    text-decoration: none;
}

a.btn:hover, .btn:hover {
    background: #253C3D;
	color: #fff;
}

/* ==========================================================================
   Pagenavi
   ========================================================================== */

.wp-pagenavi {
    text-align: center;
}

.wp-pagenavi .page, .wp-pagenavi .current {
    background-color: #f2f2f2;
    border-bottom: none;
    margin:  0 4px;
    padding: 5px 10px;
}

.wp-pagenavi .current {
    background-color: #78B611;
    color: #fff;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
.fr {
    float: right;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.mb10 {
    margin-bottom: 10px;
}

.mb25 {
    margin-bottom: 25px;
}

img.alignleft, img.alignright {
    margin-bottom: 5px;
    margin-top: 5px;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.wp-caption {
    margin-top: 5px;
    margin-bottom: 5px;
    background: #f2f2f2;
    font-size: 0.8em;
    color: #7c7c7c;
}

.wp-caption p {
    margin: 0;
    padding: 2px;
    text-align: center;
}

.group:before,
.group:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.group:after {
    clear: both;
}

.group {
    *zoom: 1;
}

.post-edit-link {
	border: 0;
	border-radius: 5px;
    color: #fff !important;
	background: #2E4A4B;
    font-size: 0.9em;
	text-decoration: none;
	padding: 4px 12px;
}

.post-edit-link:hover {
    color: #fff !important;
	background: #253C3D !important;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 950px) {
	.copyright {
		margin-top: 10px;
		display: block;
		width: 100%;	
	}
	
	.footer-navi-container {
		display: block;
		width: 100%;
	}

	.footer-navi li:first-child:before {
		content:none;
	}
	
	.footer-navi li:first-child a {
		padding-left:0;
	}
	
}

@media only screen and (max-width: 768px) {
    /* Style adjustments for viewports that meet the condition */
    .container {
        padding: 0 25px;
    }

	.navi-right {
		display: none;
	}
	
    .page-left,.page-right {
        float: none;
        padding: 0;
        width: 100%;
    }

    .page-header h1 {
        font-size: 1.8em;
    }

    .page-header p {
        font-size: 1em;
    }

    .col {
        width: 100%;
    }

    .col-1-of-2 {
        margin: 0;
        width: 100%;
    }

    #map {
        height: 250px;
    }


	input[type=submit] {
		height: 60px;
		margin-top: 1em;
		width: 100%;
	}

    .sidebar {
        display: none;
    }

    .home .sidebar {
        display: block;
    }

}

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

	nav.main-navi .container {
        padding: 0 10px;
	}

	.main-navi li {
		margin: 0 2px 0 0;
    }

	.main-navi a {
		border: none;
        border-radius: 5px;
		color: #2E4A4B;
		display: block;
		padding: 10px 10px;
		text-decoration: none;
	}

	.main-navi a:hover {

	}

	.main-navi .current-menu-item a, .main-navi .current-menu-parent a {
		color: #2E4A4B;
		font-weight: 800;

	}

    .footer-info {
        width: 100%;
        margin: 0 0 25px;
        float: none;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }
	
	.main-navi { display: none;	}
	.footer-top { display: none; }
	.footer-bottom { display: none;	}
	.header-box-right { display: none; }
	.page-right { display: none; }
    .content { width: 100%; display: block; }
	.page-header { padding: 0; margin: 0 0 30px 0; }
	.page-header h1 { font-size: 24pt; }
	.page-header p { font-size: 14pt; }
	.header-grid { grid-template-columns: 1fr; }
	
	a, a:visited {
        text-decoration: underline;
    }
	
	/*
	* Links anzeigen
    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }
	*/
	
	a[href]:after, abbr[title]:after { content: ""; }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
