/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #333;
    font-size: 18px;
    line-height: 30px;
    font-family: Helvetica, Arial, sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */


.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}

.clearfix::after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

a {
    text-decoration: none;
    color: #111;
}

h1, h2, h3, h4, h5 {
    text-align: left;
    margin: 0;
    margin-bottom: 30px;
    line-height: 1.6em;
    color: #111;
}
h3 {
    text-align: center;
    margin-top: 60px;
}
ul {
    margin: 0;
    padding: 0;
    margin-left: 15px;
}
ul li {
    margin-bottom: 10px;
}

header img {
    width: 100%;
}

main {

}
.quotes {
    position: relative;
    padding-left: 50px;
    padding-top: 15px;
    margin: 30px 0;
    font-size: 22px;
    line-height: 34px;
}

.quotes.formatted strong {
    color: #006aa1
}

.quotes:before {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    background-image: url('/img/quote.svg');
    background-repeat: no-repeat;
    height: 40px;
    width: 50px;
}

.quotes.vote-yes {
    padding-right: 200px;
}
.quotes.vote-yes:after {
    position: absolute;
    right: 0;
    top: 0;
    content: '';
    background-image: url(/img/yes.png);
    background-repeat: no-repeat;
    width: 130px;
    height: 150px;
    background-size: contain;
}

.newspaper-list a {
    color: #fff;
}
.newspaper-list ul li {
    margin-bottom: 20px;
}

.container {
    margin: 80px 0;
    padding-top: 70px;
    padding-bottom: 80px;
}
.inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.container:nth-child(odd) {
    padding: 0;
}
.container:nth-child(even) {
    /*background: #f5f5f5;*/
    /*background: rgb(255,255,255);*/
    /*background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(242,242,242,1) 90%);*/
    background: rgb(15,36,66);
    background: linear-gradient(315deg, rgba(15,36,66,1) 0%, rgba(5,109,135,1) 100%);
    color: #fff;
}
.container:nth-child(even) h2,
.container:nth-child(even) h3 {
    color: #fff;
}


.container:last-of-type {
    margin: 0;
}

.container.blue {
    background: rgb(15,36,66);
    background: linear-gradient(315deg, rgba(15,36,66,1) 0%, rgba(5,109,135,1) 100%);
    color: #fff;
}
.container.blue h2 {
    color: #fff;
}

.container.gray {
    background: #f5f5f5 !important;
}
.container.gray h2 {
    color: #111;
}

.supporter {
    margin-bottom: 40px;
}
.supporter span {
    display: block;
    margin-bottom: 10px;
}
.supporter img {
    max-width: 200px;
    align-self: center;
    margin-right: 40px;
    max-height: 80px;
}

ul.newspaper-list {
    list-style-type: none
}
ul.newspaper-list li a {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

ul.newspaper-list li img {
    flex-shrink: 0;
    display: block;
    margin-right: 20px;
    max-width: 100px;
    border-radius: 2px;
    overflow: hidden;
    -webkit-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.1);
    box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.1);
}
ul.newspaper-list li div {
    line-height: 26px;
}
ul.newspaper-list li div span {
    font-size: 12px;
    display: block;
    line-height: 12px;
    margin-bottom: 5px;
}


ul.gallery-list {
    display: block;
    margin: 25px 0;
}

ul.gallery-list li {
    display: inline-block;
    margin: 0 10px;
}
ul.gallery-list  li a {
    display: block;
    max-width: 160px;
    border-radius: 4px;
    overflow: hidden;
    -webkit-box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.1);
    box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.1);
}
ul.gallery-list  li a img {
    max-width: 100%;
}

footer {
    font-size: 12px;
    text-align: center;
    color: #ccc;
    padding: 20px;
}
footer ul li {
    display: inline;
    margin: 0 10px;
}
small {
    display: block;
    margin-top: 15px;
    font-size: 12px;
}

.bund-support {
    display: flex;
    flex-shrink: 0;
    margin-top: 30px;
    align-items: center
}
.bund-support img {
    width: 140px;
    border-radius: 70px;
    float: left;
}
.bund-support .quotes {
    font-size: inherit;
}

.nabu-support {
    display: flex;
    flex-shrink: 0;
    margin-top: 30px;
    align-items: flex-start;
}
.nabu-support img {
    width: 140px;
    border-radius: 70px;
    float: left;
    margin-top: 60px;
}
.nabu-support .quotes {
    font-size: inherit;
}

span.quote-person {
    display:block;
    margin-top: 10px;
    font-style: italic;
    font-size: 14px;
}

.social {
    margin-top: 70px;
    text-align: center;
}
.social img {
    max-height: 60px;
    margin: 0 15px;
}

.small, .medium, .large {
    display:none;
}

.bubble {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 6px;
    margin-right: 3px;
}
.red {
    background: #FF0000;
}
.blue {
    background: #007eff;
}
.orange {
    background: #ff6600;
}
.violett {
    background: #de00ff;
}

.map-legend {
    margin-top: 15px;
    line-height: 20px;
}
.map-legend ul {
    font-size: 12px;
    list-style-type: none;
}
.map-legend ul li {
    margin: 0;
    margin-bottom: 10px;
}

@media only screen and (max-width: 800px) {
    .bund-support img {
        display:block;
        float: none;
    }
    .nabu-support img {
        display:block;
        float: none;
        margin: 0 auto;
    }
    .bund-support, .nabu-support {
        display:block;
    }
}

@media only screen and (max-width: 600px) {
    .small, .medium {
        display:block;
    }
}
@media only screen and (min-width: 601px) {
    .large {
        display:block;
    }
}
@media only screen and (max-width: 800px) {
    .quotes.vote-yes {
        padding-right: 0;
    }

    .quotes.vote-yes:after {
        display: none;
    }
}