* {
    margin: 0;
    padding: 0;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    color: #000;
    font-size: 1em;
    line-height: 1.4;
}

body > html {
    height: 100%;
}


.image-container img {
    object-fit: cover; 
	width: 100%; 
	height: 100%;
}

a[href^=tel] {
    color: inherit;
    text-decoration: none;
}

iframe {
    border: none;
}


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

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

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

ul {
	padding-left: 1.3em;
}

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

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

textarea {
    resize: vertical;
}

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

.nospam-at:before {
    content:"@";
    display:inline;
}

.nospam-dot:before {
    content:".";
    display:inline;
}

body {
    font: 16px/1.4 'Source Sans Pro', Helvetica, Helvetica Neue, Arial;
    background: url('../img/background.jpg') no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.wrapper {
    max-width: 1400px;
    padding: 80px 40px 120px;
    margin:0 auto;
}


.main > section {
    max-width:612px;
    margin:0 auto 20px auto;
}

.main > section:last-child {
    margin-bottom:0;
}

.main article {
    width: 100%;
    padding: 30px;
    background: #fff;
    background: rgba(255, 255, 255, 1);
    margin: 0;
}

p {
    margin-bottom:10px;
}

p:last-child {
    margin-bottom:0;
}

h1, h2 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 2rem;
    line-height: 1.1;
    margin: 0 0 2rem 0;
}

h1 .type,
h2 .type {
    display: block;
    font-weight: 200;
    padding-left: 30px;
}

h3 {
    font-size: 1em;
}

p.closed {
    text-transform: uppercase;
    font-weight: 200;
    color: #e70c0c;
    font-size: 1.8rem;
    margin:-1.5rem 0 2rem 0;

}


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

@media only screen and (min-width: 650px) {
    body {
        font-size:18px;
        line-height:1.5;
    }
    h1, h2 {
        font-size: 2.5rem;
    }

    .main > section {
        margin:0 auto 5% auto;
    }
}


@media only screen and (min-width: 1024px) {
    body {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        min-height: 100vh;
    }

    .wrapper {
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    }


    .main > section {
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row;
        flex-flow: row;
        background:#fff;
        padding:10px;
        margin:0 0 50px 0;
        max-width: 90%;
    }

    section article {
        max-width:50%;
    }
    section .image-container {
        max-width: 50%;
		height: auto;
    }

    section.text-right {
        float:right;
    }

    section.text-right article {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }


}


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

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

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

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

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1;
}

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

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        -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) ")";
    }

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

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

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