/*! HTML5 Boilerplate v5.3.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
   ========================================================================== */


/*
COLOR SALOMAR-BLUE:
HEX: #20325f
RGB: 32,50,95
*/

@import url('https://fonts.googleapis.com/css?family=Vollkorn:400,400i,600,600i,700,700i,900,900i');
@import url('https://fonts.googleapis.com/css?family=Encode+Sans+Condensed');


* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;

    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

html,
body {
    width: 100%;
    height: 100%;
}

html {
    color: rgba(32,50,95,1);
    font-size: 1em;
    line-height: 1.4;
}

body {
    background: url('../img/bg-wave-salomar.svg'), url('../img/bg-salomar.jpg');
    background-size: 100%, cover;
    background-attachment: fixed, fixed;
    background-position: center center, center center;
    min-height: 100%;
    font-family: 'Encode Sans Condensed', sans-serif;
    font-size: 1.1em;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * 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 #20325f;
    margin: 1em 0;
    padding: 0;
}

.dashed {
    border-top: thin dashed #20325f;
}


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

a:link,
a:visited,
a:focus {
    color: inherit;
    text-decoration: none;
}
a:hover {
    opacity: 0.8;
}

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

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

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


.min-radius,
article p img,
.intro
 {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
}


.wrapper {
    width: 100%;
    padding: 40px 4%;
    display: table;
    border-spacing: 10px;
}

section {
    display: table-row;
    width: 100%;
}

article {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    position: relative;
}

#sm-logo {
    margin-bottom: 1em;
}
#sm-logo:hover {
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    transform: rotate(-3deg);
}
article img {
    width: 100%;
    display: block;
}
article p img {
    border: 10px solid white;
    margin-bottom: 1em;
}

.article-one>div {
    position: relative;
}
.sticker {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    opacity: 0.8;
}

address {
    font-size: 1.1em;
    letter-spacing: 0;
    font-style: normal;
    font-family: 'Vollkorn', serif;
}

.imprint {
    font-size: 70%;
    line-height: 150%;
    opacity: 0.8;
}

.bold {
    font-weight: bolder;
}
.bigger {
    font-size: 120%;
    margin-bottom: 0.2em;
}

/*################## SPALTE 2 ###################*/

.article-one,
.article-two {
    padding: 40px;
    display: table-cell;
    vertical-align: top;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
    background-color: rgba(255,255,255,0.6);
}
.article-one {
    background-color: rgba(255,255,255,0.6);
    width: 30%;  
}

.article-two {
    width: 70%;
}
.article-two>div {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    -ms-column-count: 2;
    -o-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 50px;
    -moz-column-gap: 50px;
    -ms-column-gap: 50px;
    -o-column-gap: 50px;
    column-gap: 50px;    
    text-align: justify;
}
.intro {
    background-color: rgba(32,50,95,0.8);
    color: white;
    font-size: 1.2em;
    line-height: 1.4em;
    display: block;
    padding: 1em;
    font-family: 'Vollkorn', serif;
    letter-spacing: 0.03em;
    margin: 0 0 0.5em;
    text-align: left;
}
.intro:first-letter {
    font-size: 1.2em;
}


footer {
    position: relative;
    bottom: 0;
    width: 100%;
    min-height: 200px;
    text-align: center;
    color: white;
    font-family: 'Vollkorn', serif;
    letter-spacing: 0.2em;
    background-image: url('../img/footer-balken-svg');
    background-size: cover;
    background-position: bottom;
    padding: 2em 0;
}
footer h1 {
    margin-bottom: 0.2em;
}
footer .sm-order {
    font-size: 1.2em;
}



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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

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

/*
 * 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,
    *:first-letter,
    *:first-line {
        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,
    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;
    }

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

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

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


/* #################################################    CUSTOM MEDIA QUERIES CAMPO VERDE GMBH   ################################################# */



@media only screen and (max-width: 768px) {
    body {
        font-size: 1em;
        /*background-image: none;
        background-color: #675345;*/
    }
    .wrapper {
        border-spacing: 0;
        padding: 1em 0;
        display: block;
    }
    article {
        padding: ;
    }
    section {
        display: block;
        padding: 0 1em;
    }
    .article-one,
    .article-two {
        display: block;
        width: 100%;
        margin: 0 0 1em;
        padding: 20px;
    }
    .article-two>div {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        -ms-column-count: 1;
        -o-column-count: 1;
        column-count: 1;
        -webkit-column-gap: 0;
        -moz-column-gap: 0;
        -ms-column-gap: 0;
        -o-column-gap: 0;
        column-gap: 0;
        text-align: left;
    }
    .intro {
        font-size: 1.1em;
        letter-spacing: initial;
        text-align: center;
    }

    footer {
        letter-spacing: initial;
    }
}