@import url('https://fonts.googleapis.com/css?family=Raleway:400,700,800,900');

/*! HTML5 Boilerplate v6.1.0 | 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;
}


/*
 * 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 {
    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;
}


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

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


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

body {
    /*font-family: 'Lusitana', serif;*/
    font-family: 'Raleway', sans-serif;
}

header {
    width: 100%;
    position: fixed;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    z-index: 9999;
}

header.scrolled {
    background-color: white;
    box-shadow: 0 0 4px black;
}

header.scrolled .logo img {
    height: 48px;
}

header .inner {
    width: 75%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo {
    height: 50px;
}

.logo a {
    text-decoration: none;
}

.logo img {
    height: 96px;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
}

nav {
    flex-grow: 1;
}

nav ul {
    list-style: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

nav li {
    margin: 0 30px 0 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
}

nav li:last-child {
    margin: 0;
}

nav li a {
    text-decoration: none;
    text-transform: uppercase;
    color: black;
}

nav li a.active {
    color: darkorange;
}

nav li a:hover {
    color: darkorange;
}

section {
    padding: 5rem 0;
    background-color: whitesmoke;
}

section.colored {
    background-color: #ffcba6;
}

.content {
    max-width: 1280px;
    width: 75%;
    margin: 0 auto;
}

.cover {
    width: 100vw;
    height: 100vh;
    margin: auto;
    background: url(./../img/cover-2560x1419.jpg) no-repeat 50% 50%;
    background-size: cover;
    display: table;
    top: 0;
    padding: 0;
}

h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 250%;
    margin: 0 0 2.5rem 0;
    font-weight: 800;
    text-align: center;
}

footer {
    padding: 5rem 0;
    background-color: #cc470d;
    color: black;
    font-size: 120%;
}

footer h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 150%;
    margin: 0 0 2.5rem 0;
    font-weight: 800;
    text-align: left;
}

footer .col-2 {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

footer .col-2>div {
    width: 50%;
}

p {
    margin: 0;
    font-size: 130%;
    line-height: 160%;
}

.cover .inner {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    max-width: none;
}

.cover .content {
    text-align: center;
}

.cover .content h1 {
    color: black;
    font-size: 400%;
    font-weight: 900;
}

.btn {
    border-radius: 5px;
    border: solid blue 3px;
    padding: 10px 20px;
    background-color: blue;
    color: white;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
}

.btn:hover {
    background-color: yellow;
    border-color: yellow;
    color: black;
}

a.btn {
    text-decoration: none;
}

.cards {
    display: grid;
    grid-row: auto auto;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-columns: 50% 50%;
}

.cards>div {
    width: 100%;
}

.card {
    border: 1px solid #ccc;
    box-shadow: 1px 1px 4px #666;
    box-sizing: border-box;
    padding: 20px 40px 80px;
    text-align: center;
    height: 100%;
    border-radius: 4px;
    position: relative;
}

.card img {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background-color: blue;
    border-radius: 50%;
}

.card h3 {
    text-align: center;
    font-size: 140%;
    margin: 10px 0 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    color: #ff6518;
}

.card p {
    font-size: 100%;
    line-height: 160%;
    text-align: justify;
}

.card p.intro {
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    font-size: 80%;
    margin: 5px 0 20px;
    text-align: center;
}

.card .contact {
    bottom: 20px;
    position: absolute;
    left: 50%;
}

.card .contact > div {
  margin: 0 auto;
  width: 100%;
  position: relative;
  left: -50%;
}

.card .contact a {
    text-decoration: none;
    color: black;
    display: inline-block;
    margin: 0 5px;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
}

.card .contact a:hover {
    color: #ff6518;
    transform: scale(1.2);
}

table.service-items {
  width: 100%;
}

ul.service-items {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service-items li {
  padding: 0;
  width: 45%;
  font-size: 130%;
  margin: 20px 0;
  box-sizing: border-box;
}

.imprint td {
  padding: 5px 0;
}

.imprint p {
  font-size: 100%;
}

.imprint td:first-child {
  padding-right: 30px;
}

.imprint table {
  margin-top: 10px;
}

.imprint span {
  display: inline-block;
  width: 70px;
}

.imprint h4 {
  font-size: 60%;
  font-weight: 900;
  margin: 15px 0 0;
  text-transform: uppercase;
  font-family: 'Raleway', sans-serif;
}

.imprint p.copyright {
  margin-top: 40px;
}

.imprint h4:first-child {
  margin: 0;
}

#map_wrapper {
  height: 400px;
}

#map_canvas {
  width: 100%;
  height: 100%;
}

#info_content h1 {
  text-align: left;
  font-size: 120%;
  margin-bottom: 10px;
}

#info_content p {
  margin: 10px 0;
}

#info_content p:last-of-type {
  margin-bottom: 0
}

#info_content a {
  text-decoration: none;
  font-weight: bold;
  color: black;
}

#info_content a:hover {
  color: orangered;
}

/* ==========================================================================
   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);
    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;
    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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster */
        -webkit-box-shadow: none !important;
        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;
    }
}
