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

html, body {
    min-height: 100vh;
}
body > footer {
    position: sticky;
    top: 100vh;
}


.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    /*background-attachment: fixed;*/
}
html {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}
body {
    font-family: 'Mulish', sans-serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.5;
    color: #333;
    word-wrap: break-word;
}
h1, h2 {
    font-family: 'Mulish', sans-serif;
    color: #333;
    font-weight: 600;
}
h1 {
    font-size: 28px;
}
@media (min-width: 960px) {
    h1 {
        font-size: 30px;
    }   
}
h2 {
    font-size: 23px;
    margin-bottom: 15px;
}
h1 + h2 {
    margin-top: 25px;
}

a,
a:visited,
a:hover {
    color: #FF8900;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

p {
    margin-bottom: 0;
}
* + p {
    margin-top: 15px;
}

b,
strong {
    font-weight: 700;
}

em {
    color: inherit;
}

hr {
    margin: 30px 0;
    border-bottom: 1px solid #7E94A9;
}

/*
* Header: navicon & logo
*/
header {
    /*margin-top: 5px;*/
    padding-top: 5px;
}
header .navicon {
    display: inline-block;
    float: left;
    margin-top: 8px;
    width: 45px;
}
header .logo {
    display: inline-block;
    float: right;
    margin-top: 13px;
    width: 250px;
}
@media (min-width: 960px) {
    header {
        /*margin-top: 25px;*/
        padding-top: 25px;
    }
    header .logo {
        margin-top: 4px;
        width: 320px;
    }
}
/* clear float */
header:after {
    content: '';
    display: block;
    clear: both;
}

/*
* Navigation: sidebar
*/
.uk-offcanvas-bar {
    /*background-color: rgba(103,	85,	78, 0.9);*/
    background-color: #67554e;
    padding: 13px 15px 25px 25px;
    left: -400px;
    width: 400px;
}
@media (max-width: 400px) {
    .uk-offcanvas-bar {
        width: 100vw;   
    }
}
@media (min-width: 960px) {
    .uk-offcanvas-bar {
        padding: 32px 15px 25px 25px;
    }
}
.uk-offcanvas-bar #sidebar-close {
    cursor: pointer;
    text-align: right;
}
.uk-offcanvas-bar #sidebar-close img {
    width: 45px;
}

.nav {
    list-style-type: none;
    padding: 0px;
    margin: 30px 0 0 0;
}
.nav ul {
    list-style-type: none;
    /*padding: 0 0 10px 15px;*/
}
.nav li {
    position: relative;
}
.nav li a {
    display: block;
    padding: 3px 0;
    text-decoration: none;
    font-family: 'Mulish', sans-serif;
    font-size: 23px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}
/*.nav li.active li a {
    color: #fff;
}*/

.nav li.active a {
    color: #fff;
    font-weight: 700;
}

.nav li a:hover {
    color: #fff;
}

.nav.secondary {
    margin-top: 40px;
}
.nav.secondary li a {
    font-size: 20px;
}

/*.nav li.active a,
.nav li a:hover,
.nav li.active li a:hover,
.nav li.active li.active a,
.nav li.active li.active a:visited { 
    color: #ff9b27;
}*/

/*.nav .submenu {
    display: none;
    font-weight: 400;
}
.nav .submenu li a {
    padding: 0;
}
.nav .submenu.open {
    display: block;
}
.dropdown-icon {
    background-image: url(dropdown-icon-down.png);
    background-repeat: no-repeat;
    display: inline-block;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 48px;
    height: 48px;
    cursor: pointer;
}
.dropdown-icon.open {
    background-image: url(dropdown-icon-up.png);
}*/

.container {
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 10px;
}

.uk-grid + .uk-grid {
    margin-top: 40px;
}

main {
    /*padding: 5px 0 15px 0;*/
    margin: 5px 0 15px 0;
}
@media (min-width: 960px) {
    main {
        /*padding: 35px 0 25px 0;*/
        margin: 35px 0 25px 0;
    }
}

/*
* Footer
*/
footer {
    padding: 18px 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ccc;
    font-size: 17px;
    text-align: center;
}
footer div {
    text-align: center;
}
footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
footer ul li + li {
    margin-top: 4px;
}
footer a,
footer a:visited,
footer a:hover {
    color: #ccc;
    text-decoration: underline;
}
@media (min-width: 1200px) {
    footer div:first-child {
        text-align: left;
    }
    footer div:last-child {
        text-align: right;
    }
    footer ul li {
        display: inline-block;
    }
    footer ul li + li {
        margin-left: 15px;
        margin-top: 0px;
    }
}

/*
* Social media: icons
*/
footer .social-media img {
    width: 38px;
    height: auto;
}
footer .social-media a + a {
    margin-left: 6px;
}

figure img {
    width: 100%;
}
figure figcaption {
    font-size: 17px;
    font-style: italic;
    margin-top: 7px;
}
figure + figure {
    margin-top: 25px;
}

.tiles figure {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2px;
    transition: background-color 0.5s;
}
.tiles figure:hover {
    /*background-color: #ff9b27;*/
    /*box-shadow: 0px 0px 11px 0px rgba(0, 0, 0, 0.2);*/
}
.tiles figure figcaption {
    margin: 0;
    padding: 15px;
    font-size: 19px;
    font-style: normal;
}
.tiles figure figcaption *:last-child {
    margin-bottom: 5px;
}

/*.uk-grid > div > figure {
    margin-top: 7px;
}*/

/*
* Panels
*/
.panel {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
}
@media (min-width: 960px) {
    .panel {
        padding: 30px;
    }
}
.panel + .panel {
    margin-top: 15px;
}

/*
* Table
*/
table {
    width: 100%;
    border-spacing: 0;
}
table tr {
    border-bottom: 1px solid #7E94A9;
}
table tr:last-of-type,
table tr:last-of-type td {
    border-bottom: 0;
}
table td {
    vertical-align: top;
}

/*
* Table: stack (on small screens)
*/
@media (max-width: 639px) {
    table td:empty {
        display: none !important;
        padding: 0 !important;
    }
    table,
    table tbody,
    table td,
    table th,
    table tr {
        display: block;
    }
    table th,
    table td {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        overflow: visible !important;
        white-space: normal !important;
    }
    table td:first-child {
        font-weight: 600;
    }
    table th:not(:last-child),
    table td:not(:last-child) {
        padding-bottom: 5px !important;
    }
    table td:not(:first-child),
    table th:not(:first-child) {
        padding-top: 5px !important;
    }
    table td {
        padding: 16px 12px;
        vertical-align: top;
    }
}

@media (min-width: 640px) {
    table td {
        border-bottom: 1px solid #7E94A9;
        padding: 5px 0;
    }
    table td:first-of-type {
        width: 200px;
    }
    .uk-modal-container table td {
        padding: 3px 0;
    }
}

.uk-modal-container .uk-modal-dialog {
    width: 1380px;
}
.uk-modal table td:first-of-type {
    /*width: auto;*/
    padding-right: 20px;
}

/*
* Modal
*/
.uk-modal-header {
    padding: 15px 40px 0 20px;
    border: 0;
}
.uk-modal-body {
    padding: 15px 20px 25px 20px; 
}
.uk-modal-body img {
    width: 100%;
}
[class*="uk-modal-close-"] {
    top: 15px;
    right: 15px;
}

/* <fix: uk-modal> */
.uk-modal-page,
.uk-modal-page body {
    overflow-y: auto !important;
}
/* </fix: uk-modal> */

/*
* Modal: loader icon
*/
/*.loader {
    background-image: url(loader-icon.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 30px;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}*/



.uk-dotnav > * > * {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(102,102,102,.4);
}

/*
* Image: crop
* Aspect ratio: 3:2, 1:1
*/
.crop {
    overflow: hidden;
    position: relative;
}
.crop:before {
    content: '';
    display: block;
}
.crop.aspect-ratio-3-2:before {
    padding-top: 65%;
}
.crop.aspect-ratio-1-1:before {
    padding-top: 100%;
}
.crop img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

/*
* Slideshow: quotes
*/
.quote {
    padding: 7px 35px;
    background: rgba(34,34,34, 0.5);
}
@media (max-width: 640px) {
    /*.quote {
        display: none;
    }*/
}
.quote h2 {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}
.quote p {
    font-size: 13px;
    margin-top: 10px;
}
@media (min-width: 640px) {
    .quote h2 {
        font-size: 19px;
    }
    .quote p {
        font-size: 16px;
    }
}
@media (min-width: 960px) {
    .quote {
        padding: 25px;
    }
    .quote h2 {
        font-size: 23px;
    }
    .quote p {
        font-size: 19px;   
    }
}

.uk-grid + .uk-slideshow {
    margin-top: 25px;
}

/*
* Videos
*/
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
    background-color: #efefef;
}
.video-container iframe,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 565px) {
    .video-container {
        padding-bottom: 100%;
    }
}

.TextformatterVideoEmbed {
    margin: 0 !important;
}

/*
* Audio
*/
audio {
    width: 100%;
}
