/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

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

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

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


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */
html{
    background: #214077; 
}

body {
    font-family: 'Open Sans', Helvetica, 'Helvetica Neue', Arial;
    font-size: 100%;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    background-color: #fff;
}


/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

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

h1, h2, h3, h4, h5, h6{
    font-family: 'Open Sans', Helvetica, 'Helvetica Neue', Arial;
    font-weight: 700;
}

.header--blue{
    background-color: #214077;   
    padding-top: 1em;
}


.header--blue a,
.header--blue a:visited{
    color: white !important;
    font-size: 1.1em !important;
}

.header--blue a:hover,
.header--blue a:focus{
    color: #c8956b !important;
    text-decoration: underline;
}

.header--blue .uk-active a{
    text-decoration: underline !important;
    color: #c8956b !important;
}

.container > *{
    margin-left: 5%;
    margin-right: 5%;
}

.faded{
    opacity: 0.5;
}

main{
    //padding-bottom: 2em;
}

.block-item{
    display: block;
}

header{
    //min-height: 25vh;
}

header .block-item{
    padding: 1em 0;
}

.logo{
    height: 7rem;
    dispaly: inline-block;
    margin-right: 3em;
    margin-left: 0.8rem;
}
header h1{
    height: 7rem;
    display: inline-block;
    vertical-align: center;
    color: white;
    font-size: 2.5rem;
    float: right;
    padding: 4rem 0 0 0;
    vertical-align: bottom;
    margin: 0;
}

@media screen and (min-width: 70em){
    header h1{
        //font-size: 3.5rem;
        //padding: 3.3rem 0 0 0;
    }
}

h2{
    font-size: 3.5em;
    margin: 1em 0;
    font-weight: 700;
}

a:hover,
a:focus{
    color: #c8956b;
    text-decoration: none;
}



.hero{
    display: block;
    background: #214077 url('img/bgr.jpg') right center no-repeat;
    //background: #c8956b url('img/bgr_beige.jpg') right center no-repeat;
    background-size: cover;
    //min-height: 25em;
    //min-height: 50vh;
    border-top: 2px solid #c8956b;
}

@media screen and (min-width: 50em){
    .hero{
        padding: 4rem 0;
    }
}

.hero *{
    color: white;
}

.hero a:not(.button){
    border-bottom: 2px dashed #c8956b;
}

.hero .button{
    display: inline-block;
    padding: 1em 2em;
    background: #214077;
    will-change: transform;
    transition: 0.2s;
    margin: 0;
    font-size: 1.5em;
    border-bottom: 1px solid rgba(255,255,255, 0.5);
    border-radius: 0.25em;
    box-shadow: 0 0.1em 0.2em 0 rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.hero .button:first-child{
    margin-right: 1em;
}

.hero .button:hover,
.hero .button:focus{
    color: white;
    transform: scale(1.1);
}

.hero .button--highlighted{
    background-color: #c8956b;
}

.buttonrow{
    padding: 3rem 0 2rem 0;
}


@media screen and (min-width: 50em){

    .container > article,
    .container > section{
        max-width: 50rem;
        margin-left: auto;
        margin-right: auto;
    } 

    .hasSidebar{
        display: table;
        width: 100%;
        max-width: 50rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hasSidebar section{
        display: table-cell;
        width: 40rem;
    }
    .hasSidebar aside{
        display: table-cell;
        width: 10rem;
    }
}

.container--search{
    margin-left: auto;
    margin-right: auto;
    display: table;
}

.container--search > section{
    display: table-cell;
    padding: 0 2em 2em 0;
    width: 70%;
}
.container--search > aside{
    width: 30%;
    display: table-cell;
}

@media screen and (min-width: 62em){
    .container--search > section{
        max-width: 50em;
        padding: 0 5em 5em 0;
    }
    .container--search > aside{
        mac-width: 12em;
    }
}

.searchresult{
    margin: 0;
    padding: 0;
}
.searchresult li{
    list-style: none;
    margin: 0;
    padding: 0 0 2em 0;
}
.searchresult img{
    float: left;
    max-width: 150px;
    height: auto;
    margin: 0 2em 2em 0;
    transition: 0.2s;
}

.searchresult img:hover{
    transform: scale(1.75);
}

.searchresult{
}

.searchresult .entrytext{
    margin-bottom: 1em;
}

.uk-alert-success{
    margin-bottom: 2em !important;
    margin-top: -1em !important;
}
.entry-details > *{
    margin-bottom: 1em;
}
.entry-details img{
    margin-top: -2em;
}


dt:not(.description){
    float: left;
    margin-right: 1em;
    min-width: 17.5%;
}
dt.description{
    margin-top: 0.5em;
}
.searchresult-more{
    display: block;

}
article h2,
section h2{

}

article p:first-of-type{
    font-size: 1.2em;
}

footer{
    background: #c8956b;
    background: #214077;
    border-top: 2px solid #214077;
    //min-height: 10em;
    //min-height: 25vh;
    padding: 2em 0;
}

footer .grid__item img{
    max-height: 3em;
    max-width: 100%;
    width: auto;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

footer .grid{
    vertical-align: top;
}

footer .grid__item{
    vertical-align: top;
    display: inline-block;
    width: 33%;
    margin: 0;
    text-align: center;
}

footer a,
footer a:visited{
    display: block;
    color: white;
    padding: 0;
}

footer a span{
    margin-right: 0.5em;
}

footer ul{
    margin: 0;
    padding: 0;
}

footer li{
    display: block;
    list-style: none;
    font-size: 0.8em;
    margin-bottom: 0.5em;
    text-align: left;
}

.textcontainer{
    padding: 2rem;
}

.textcontainer p{
        font-size: 1.5em;
        line-height: 1.75;
        letter-spacing: 0.2px;
}

@media screen and (min-width: 50em){
    .textcontainer{
        max-width: 50em;
        margin-left: auto;
        margin-right: auto;
    }
}

/*
.hero{
    display: block;
    background: #214077  url('img/logos.png') center center no-repeat;
    color:white;
    text-align: center;
    border-radius: 5px;
}

.hero h2{
    padding:250px 50px 50px 50px;
}

main{
    margin-left: 1em;
    margin-right: 1em;
}

.dbEntry{
    overflow: hidden;
}

.dbEntry h3{
    background-color: #eee;
    padding: 0.5em;
}

.dbEntry dl{
    display: block;
    overflow: hidden;
    margin-right: 200px;
}

.dbEntry dt {
    float: left;
    clear: left;
    width: 200px;
    text-align: right;
    font-weight: bold;
    padding-bottom: 0.5em;
}

.dbEntry dt:after {
    content: ":";
}
.dbEntry dd{
    margin: 0 0 0 225px;
    padding-bottom: 0.5em;
    min-height:1.5em;
}

.dbEntry .media{
    width: 150px;
    float: right;
}

.dbEntry--context{
    border: 1px solid #ddd;
    border-radius: 5px;
    display: block;
}

.dbEntry--context > div{
    border-radius: 5px;
    display: inline-block;
    margin: 1em;
    background-color: #eee;
    width: 200px;
    max-width:30%;
    vertical-align: top;
}

.dbEntry--context h5{
    margin: 0.5em 1em;
}
.dbEntry--context li{
    font-size: 0.875em;
    text-align: left;
}

aside .filterBox{
    font-size: 0.875em;
}

.filterBox ul{
    margin-left: 0;
    padding-left:2em;
}

.filterBox li.current{
    background-color: #214077;
    border-radius: 5px;
}

.filterBox li.current a,
.filterBox li.current a:visited{
    color: #fff;
    padding-left: 0.5em;
}


footer{
    display: block;
    background-color: #eee;
    padding: 1em;
}

.userAction{
    margin-left:auto;
    margin-right:auto;
    max-width: 300px;
    display: block;
}

.userAction li{
    list-style: none;
    margin-bottom: 0.3em;
}

.userAction a{
    display: block;
    text-align: center;
    font-size: 0.875em;
    color: white;
    background-color: #214077;
    border-radius: 5px;
    padding: 0.5em;
}
*/


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

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

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

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