/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * 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: #222;
    font-size: 1em;
    line-height: 1.4;
    font-family: Arial, Helvetica, sans-serif;
}


div {
    /*border: 1px dotted black;*/
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.h2, .h3, .h4, .h5, .h6, h2, h3, h4, h5, h6 {
    color: rgb(107, 117, 129);
}

h1 {
    font-size: 2em;
}
h2 {
    font-size: 1.8em;
}
h3 {
    font-size: 1.6em;
}
h4 {
    font-size: 1.4em;
}
h5 {
    font-size: 1.2em;
}
h5 {
    font-size: 1em;
}

a, a:hover {
    color: #212529;
    /* color: rgb(33, 37, 41); */
    /*color: rgb(255, 200, 25);*/
}

a:hover {
    text-decoration: underline;
}
a:focus{
    display: block;
    border: 1px solid white;
    outline: 2px solid black;
}

img {
    width: 100%;
}

.material-icons {
    vertical-align: middle;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection, ::selection {
    background: rgb(107, 117, 129);
    color: white;
    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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.mgnlEditor {
    width: 1024px !important;
}

.editor-hint {
    background: red;
    color: white;
}

.open-menu  i {
    font-size: 36px;
    margin-right: 20px;
    vertical-align: middle;
    cursor: pointer;
}
.open-menu  button {
    font-size: 36px;
    margin-right: 20px;
    vertical-align: middle;
    cursor: pointer;
    padding: 0 0 0 0;
}
.open-menu button:focus{
    border: 1px solid white;
    outline: 2px solid black;
}

.open-menu span {
    cursor: pointer;
}

.menu {
    background-color: white;
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: 80%;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: all 0.3s ease-in-out 0s;
}

.menu.active {
    display: block;
    transform: translateX(0%);
    -webkit-box-shadow: -20px 0px 40px 20px rgba(0,0,0,0.8);
    -moz-box-shadow: -20px 0px 40px 20px rgba(0,0,0,0.8);
    box-shadow: -20px 0px 40px 20px rgba(0,0,0,0.8);
}

.menu a {
    color: rgb(107, 117, 129);
    font-size: 1.2em;
}
.menu a:focus{
    border: 1px solid white;
    outline: 2px solid black;
}

.menu .sub-list a {
    font-size: 1em;
}

.menu .active > a {
    color: rgb(242, 133, 2);
}

.close-menu {
    font-size: 2em;
    cursor: pointer;
    padding: 0;
}

button{
    background-color: white;
    border: none;
    outline: none;
}

button:focus{
    border: 1px solid white;
    outline: 2px solid black;
}

.header-logo {
    width: 106.5px;
    margin-bottom: 1em;
}

.content {
    padding: 0 0.8rem;
    margin-bottom: 5rem;
}

.newsticker {
    font-size: 1.2em;
    background-color: rgb(208, 208, 208);
    padding: 0.5rem;
    width: 100%;
    overflow: hidden;
}

footer {
    /*background-color: #444;*/
    font-size: 0.9em;
    background-color: rgb(107, 117, 129);
    color: white;
    padding: 3rem 0.8rem 3rem 0.8rem;
}

footer a {
    color: white;
}
footer a:hover {
    color: rgb(255, 200, 25);
}
footer a:focus{
    border: 1px solid white;
    outline: 2px solid black;
    display: inline-block;
}

.footer-icon {
    margin-right: 0.5em;
    background: rgb(107, 117, 129);
}

.masonry__tile {
    -webkit-column-break-inside: avoid;
    column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid rgb(208, 208, 208);
    margin: 0 0.3em 0.6em 0.3em;
    display: inline-block;
    word-wrap: break-word;
    width: calc(100% - 10px);
}

.masonry__tile--highlight {
    border: 1px solid rgb(242, 133, 2);
}

.masonry__tile--highlight
.masonry__tile-body
.masonry__tile-title
h2 {
    color: rgb(242, 133, 2);
}

.masonry__tile-body {
    padding: 1em;
}

.tile {
    position: relative;
    margin: 0.3125rem;
    overflow: hidden;
    cursor: pointer;
}

.tile-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    /*padding: 20px 30px 20px 20px;*/
    padding: 2em 1em 1em 1em;
    z-index: 1;
    color: white;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.6+100 */
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 33%, rgba(0,0,0,0.7) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 33%,rgba(0,0,0,0.7) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 33%,rgba(0,0,0,0.7) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#b3000000',GradientType=0 ); /* IE6-9 */
    text-shadow: 0 0 3px #000000;
}
.tile-caption p {
    margin: 0;
}

.row:hover .tile__zoom-effect,
.row:focus .tile__zoom-effect {
    -webkit-filter: grayscale(100%) opacity(80%);
    filter: grayscale(100%) opacity(80%);
}

.tile__zoom-effect {
    background-size: 100%;
    height: 100%;
    width: 100%;
    z-index: 0;
    transition: all .5s;
}

.tile:hover .tile__zoom-effect,
.tile:focus .tile__zoom-effect {
    transform: scale(1.1);
    -webkit-filter: none !important;
    filter: none !important;
}

.tile:hover .tile-caption h1,
.tile:focus .tile-caption h1 {
    color: rgb(255, 200, 25);
}

.start-page .tile h1 {
    font-size: 1.4em;
    margin: 0;
    color: white;
}
.start-page .tile h2 {
    font-size: 1em;
    font-weight: normal;
    margin: 0.5em 0 0 0;
    color: white;
}
.attribute-tile h3 {
    font-size: 1em;
    font-weight: normal;
    margin: 0;
    color: white;
}
.attribute-tile h2 {
    font-size: 1.4em;
    margin: 0.5em 0 0 0;
    color: white;
}

.gray .tile img {
    -webkit-filter: grayscale(100%) opacity(70%);
    filter: grayscale(100%) opacity(70%);
}
.tile:hover img {
    -webkit-filter: none;
    filter: none;
}
.active .tile-caption h2 {
    color: rgb(255, 200, 25);
}

.teaser-component-tile h1 {
    margin: 0;
    color: white;
}
.teaser-component-tile h2 {
    font-size: 1.4em;
    margin: 0.5em 0 0 0;
    color: white;
}

.article-list-page a, .date-list-page a, .masonry__tile a, .category-filters a {
    text-decoration: none;
}

.top-article h2, .masonry__tile h2 {
    font-size: 1.4em;
    color: black;
    margin: 0;
}

.top-article h3, .masonry__tile h3 {
    font-size: 1em;
    font-weight: bold;
    margin-top: 0.3em;
}

.top-article {
    padding: 0.6rem 0.3rem;
}

.top-article__content {
    border: 1px solid  rgb(242, 133, 2);
    padding: 1rem;
}

.top-article .masonry__tile-title {
    float: left;
}

.top-article .masonry__tile-title h2 {
    color: rgb(242, 133, 2);
}

.top-article .masonry__tile-tags {
    text-align: right;
}

.masonry__tile-title {
    overflow: hidden;
}

.masonry__tile-description {
    clear: both;
    color: black;
    margin-top: 1em;
    font-size: 0.8em;
}

.masonry__tile p {
    margin: 0;
}

.date-list-page h2 {
    margin-top: 0.8em;
}

.date-list-page .days-information {
    font-size: 0.9em;
}

.article-page .headline {
    float: left;
    max-width: 70%;
}

.article-page .article {
    clear: both;
}

.article-page .categories {
    margin-top: 1.6em;
    font-size: 1.3em;
    text-align: center;
}

.button {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid rgb(242, 133, 2);;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    color: #fff;
    background-color: rgb(242, 133, 2);
}

.button:hover {
    color: #000;
    text-decoration: none;
}

.person-text{
    font-size: 1.4em;
    font-family: inherit;
    margin: 22.4px 0 11.2px;
    color: rgb(107, 117,129);
}
.person-text:focus{
    display: block;
    border: 1px solid white;
    outline: 2px solid black;
}
.person-link:hover{
    display: block;
    text-decoration: underline;
    text-decoration-thickness: 0.1px;
    text-decoration-color:rgb(242, 133, 2) ;
}


@media (max-width: 767px) {
    .article-page .categories {
        margin-bottom: 1em;
        text-align: left;
        clear: both;
    }
}

.badge-pill {
    padding: 0.4rem;
    margin: 0.1rem;
    font-weight: normal;
}


.category-filter {
    cursor: pointer;
    padding: 0.6rem;
    font-size: 0.9rem;
    font-weight: normal;
}

.badge-pill {
    /*color: rgb(107, 117, 129);*/
    color: black;
    background-color: rgb(208, 208, 208);
}

.badge.filter-active {
    color: white;
    background-color: rgb(107, 117, 129);
}

.faq-headline{
    font-family: inherit;
    font-size: 1.6em;
    color: rgb(107,117,129);
    margin-bottom: 5px;
    text-align: left;
}

.faq-headline, .attribute-content-headline {
    cursor: pointer;
}

.download-icon {
    color: black;
    font-size: 1.5em;
    vertical-align: middle;
}
.download-size {
    color: black;
}

.menu ul, footer ul {
    list-style-type: none;
}

.avoid-break {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

@media (min-width: 576px) {
    .menu {
        width: 50%;
    }

    .masonry, .masonry-side {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 0;
        -moz-column-gap: 0;
        column-gap: 0;
    }
}

@media (min-width: 768px) {
    .menu {
        width: 33%;
    }

    .text-cols {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 2rem;
        -moz-column-gap: 2rem;
        column-gap: 2rem;
    }
    .text-cols ul {
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .masonry, .masonry-side {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (min-width: 992px) {
    .menu {
        width: 25%;
    }
    .header-logo {
        width: 159.5px;
    }

    .masonry {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }

    .masonry-side {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
}

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

/*
 * Hide visually and from screen readers
 */

.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
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

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

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. 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: " "; /* 1 */
    display: table; /* 2 */
}

.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 */
}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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