/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
html,
button,
input,
select,
textarea {
    color: #000;
}

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

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

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

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

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

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

textarea {
    resize: vertical;
}

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

/* ===========
    ALL: main
   =========== */
@font-face {
    font-family: 'Michroma';
    font-weight: normal;
    font-style: normal;
    src: local('Michroma'),
         local('Michroma-Regular'),
         url('/static/themes/v1/michroma.eot');
    src: local('Michroma'),
         local('Michroma-Regular'),
         url('/static/themes/v1/michroma.eot?#iefix') format('embedded-opentype'),
         url('/static/themes/v1/michroma.woff2') format('woff2'),
         url('/static/themes/v1/michroma.woff') format('woff'),
         url('/static/themes/v1/michroma.ttf') format('truetype'),
         url('/static/themes/v1/michroma.svg#michromaregular') format('svg');
}

body {
    font: 1em/1.625em Helvetica, Helvetica Neue, Arial, sans-serif;
    color: #000;
    background-color: #1a171b;
}

.content > h1:first-child,
.content > h2:first-child,
.content > h3:first-child,
.content > p:first-child {
    margin-top: 0;
}

a {
    color: #000;
}

a:hover {
    color: #83aa8b;
    text-decoration: none;
}

header a,
nav a,
footer a {
    text-decoration: none;
}

form input[type=text],
form input[type=date],
form input[type=email],
form input[type=number],
form input[type=password],
form textarea,
form select {
    width: 100%;
    box-sizing: border-box;
}

form > p > label,
form > p > input,
form > p > button,
form > p > a,
form > p > select {
    display: block;
}

input.error,
textarea.error {
    border: 1px solid #ff0000;
    color: #000;
}

input.datepicker + button {
    margin-top: -2.5em;
    margin-right: 0;
    float: right;
}

/*label.error {
    font-size: .6em;
    line-height: .6em;
    display: block !important;
}*/

p > img {
    width: 100%;
}

p > .left {
    margin-right: 1%;
    float: left;
}

p > .right {
    margin-left: 1%;
    float: right;
}

.paragraph li {
    margin-bottom: 1em;
    text-align: justify;
}

.container {
    overflow: hidden;
    /*  Prevents Flickering  */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.content-container {
    background-color: #fff;
}

.wrapper {
    margin: 5%;
    width: 90%;
}

.form-wrapper {
    width: 100%;
}

.line {
    display: block;
}

.line .separator {
    display: none;
}

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

.text-justify {
    text-align: justify;
}

.text-bold {
    font-weight: bold;
}

.highlight {
    color: #6d8d79;
}

.error {
    color: #ff0000;
}

.warn {
    color: #ffff00;
}

.success {
    color: #00ff00;
}

.glow-white {
    color: #fff;
    text-shadow: 0 0 10px #fff;
}

.glow-silver {
    color: #ccc;
    text-shadow: 0 0 10px #ccc;
}

.glow-gold {
    color: #e1be7d;
    text-shadow: 0 0 10px #e1be7d;
}

.form-text-info {
    font-size: .6em;
    line-height: 1.2em;
    text-align: center;
}

.border {
    border: 1px solid #000;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.boxed {
    width: 100%;
}

.banner-big {
    display: none;
}

.banner {
    margin-bottom: 5%;
    width: 100%;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.banner:last-child {
    margin-right: 0;
}

a.banner {
    text-decoration: none;
}

.banner .info {
    bottom: 0;
    width: 100%;
    background-color: #83aa8b;
}

.banner .info p {
    margin: 0 2%;
    color: #000;
    font-weight: bold;
    text-align: center;
}

.banner.countdown {
    position: relative;
}

.banner.countdown img,
.banner.countdown .info {
    opacity: .5;
}

.banner.countdown .countdown-info {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding-bottom: 2%;
    width: 100%;
    color: #000;
    text-align: center;
    background-color: #e3d07f;
}

.countdown-headline {
    display: block;
    font-size: .9em
}

.box-big,
.box-medium {
    width: 100%;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.box-medium {
    margin-top: 5%;
}

.box-medium:first-child {
    margin-top: 0;
}

.box,
.box-small {
    margin-top: 5%;
    margin-right: 5%;
    width: 47.5%;
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
}

.box:nth-child(2n),
.box-small:nth-child(2n) {
    margin-right: 0;
}

.animated-inner-border {
    padding: 1px;
    background-color: #e3d07f;
    /* TODO: animation + move to wide styles */
    display: block;
}

.google-map,
.bvg-box {
    width: 100%;
    height: 400px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
}

.bvg-box {
    margin-top: 1%;
}

.card-outer-container > p {
    margin: 0;
    font-size: .6em;
    text-align: center;
}

.card-container {
    position: relative;
    margin: 0 auto;
    width: 289px;
    height: 182px;
    -webkit-perspective: 800;
    -moz-perspective: 800;
    perspective: 800;
}

.status-container table {
    margin-top: 1em;
    width: 100%;
}

.status-container td:nth-child(2n) {
    padding-left: 1em;
    float: right;
}

ul.status-bar {
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    list-style-image: none;
}

ul.status-bar li {
    float: left;
    margin-right: .4%;
    width: 2.94%;
    height: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

ul.status-bar li:last-child {
    margin-right: 0;
}

ul.status-bar li.white {
    border: 1px solid #fff;
}

ul.status-bar li.white.filled {
    background-color: #fff;
    -webkit-box-shadow: 0 0 10px #fff;
    -moz-box-shadow: 0 0 10px #fff;
    box-shadow: 0 0 10px #fff;
}

ul.status-bar li.silver {
    border: 1px solid #ccc;
}

ul.status-bar li.silver.filled {
    background-color: #ccc;
    -webkit-box-shadow: 0 0 10px #ccc;
    -moz-box-shadow: 0 0 10px #ccc;
    box-shadow: 0 0 10px #ccc;
}

ul.status-bar li.gold {
    border: 1px solid #e1be7d;
}

ul.status-bar li.gold.filled {
    background-color: #e1be7d;
    -webkit-box-shadow: 0 0 10px #e1be7d;
    -moz-box-shadow: 0 0 10px #e1be7d;
    box-shadow: 0 0 10px #e1be7d;
}

#content {
    margin-top: 60px;
    padding-top: 2%;
}

#site-header {
    /*height: 60px;*/
    background-color: #6d8d79;
}

#header-logo {
    margin: 0;
    font: bold 18px/60px 'Michroma', Verdana, sans-serif;
    text-align: center;
    color: #fff;
}

#wanderseppl {
    max-width: 108px;
    max-height: 80px;
}

#gallery {
    position: relative;
    padding: .5%;
    height: 210px;
    min-height: 210px;
    overflow: hidden;
    transition: height 1s;
}

#gallery a {
    margin: .5%;
    width: 24%;
    background: url('loader-mobile.gif?140703') center no-repeat;
    -webkit-box-shadow: 0 0 1px #e3d07f inset;
    -moz-box-shadow: 0 0 1px #e3d07f inset;
    box-shadow: 0 0 1px #e3d07f inset;
    float: left;
}

#gallery a img {
    width: 100%;
    /*height: 100%;*/
}

#card {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 1s ease-in-out;
    -moz-transition: -moz-transform 1s ease-in-out;
    transition: transform 1s ease-in-out;
}

#card > div {
    position: absolute;
    margin: 0;
    border: 1px solid #1a171b;
    box-shadow: 0 0 0 1px #fff;
    -webkit-border-radius: 11px;
    -moz-border-radius: 11px;
    border-radius: 11px;
    width: 287px;
    height: 180px;
    color: #000;
    cursor: pointer;
    background-color: #fff;
    display: block;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

#card p.logo {
    margin: 2px 5px;
    font: 900 15px Arial, sans-serif;
    text-align: right;
}

#card p.personalization {
    margin-top: 10px;
    font: bold 18px/1.625em Times New Roman, serif;
}

#card .back {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

#card.white .front {
    background: url('/static/img/clubcard-white-front.jpg') no-repeat;
}

#card.white .back {
    background: url('/static/img/clubcard-white-back.jpg') no-repeat;
}

#card.silver .front {
    background: url('/static/img/clubcard-silver-front.jpg') no-repeat;
}

#card.silver .back {
    background: url('/static/img/clubcard-silver-back.jpg') no-repeat;
}

#card.gold .front {
    background: url('/static/img/clubcard-gold-front.jpg') no-repeat;
}

#card.gold .back {
    background: url('/static/img/clubcard-gold-back.jpg') no-repeat;
}

#card div.barcode {
    position: absolute;
    top: 100px;
    left: 61px;
    width: 165px;
    height: 38px;
    text-align: center;
    overflow: hidden;
}

#card img.barcode {
    width: initial;
}

#card p.barcode {
    margin: 0;
    font: 10px/10px Arial, sans-serif;
}

#card.flipped {
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

#status-gauge {
    font-size: 26px !important;
}

#piwik-iframe {
    width: 100%;
    height: 150px;
    background-color: #fff7c5;
}

#site-footer {
    color: #673a15;
    font-size: .8em;
    text-align: center;
    word-spacing: 2em;
    text-transform: uppercase;
}

/* ===========
    ALL: menu
   =========== */
ul.nav-toggle {
    display: none;
}

#site-nav li.lily {
    display: none;
}

#site-nav {
    background: #6d8d79;
}

#site-nav li {
    float: left;
    display: inline-block;
}

#site-nav li a,
#site-nav li div {
    font: 11px 'Michroma', Verdana, sans-serif;
    color: #fff;
    text-transform: uppercase;
    display: block;
}

#site-nav li a.active {
    color: #fff;
    background-color: #6d8d79;
}

#site-nav li a:hover {
    color: #fff;
    background-color: #fff;
}

/* ================
    ALL: overrides
   ================ */

/* -- jquery ui overrides -- */
.no-close .ui-dialog-titlebar-close {
    display: none;
}

input.ui-button,
.ui-button-text {
    padding: .3em 1em !important;
}

button.ui-button,
a.ui-button {
    text-transform: uppercase;
}

.ui-button {
    outline: none;
}

button.ui-button.ui-button-disabled.processing {
    background: #e3d07f url('loader-button.gif') center no-repeat;
}

button.ui-button.ui-button-disabled.processing span.ui-button-text {
    opacity: .35;
    filter: Alpha(Opacity = 35);
}

.ui-textfield {
    color: inherit;
    text-align: inherit;
    background: none;
    outline: none;
    cursor: text;
}

.ui-buttonset {
    padding-bottom: .5em;
}

.ui-widget p,
.ui-widget li {
    margin: .5em;
    font: 1em/1.625em Helvetica, Helvetica Neue, Arial, sans-serif;
}

.ui-widget p .ui-icon {
    float: left;
    margin: .2em;
}

.content > .ui-widget {
    margin-bottom: 1em;
}

/* -- jquery validation engine -- */
.formErrorContent {
    padding: 0 0 0 6px !important;
}

/* -- jquery countdown -- */
.is-countdown {
    border: 0 !important;
    font-size: .8em;
    line-height: 1em;
    background-color: transparent !important;
}

.countdown-row {
    padding: 0 !important;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (min-width: 480px) {
    /* ====================
        INTERMEDIATE: main
       ==================== */
    form {
        width: 100%;
        /*display: table;*/
    }
    .form-wrapper-inner {
        width: 100%;
        display: table;
    }

    .form-wrapper-inner > p {
        display: table-row;
    }

    .form-wrapper-inner > p > label,
    .form-wrapper-inner > p > input,
    .form-wrapper-inner > p > span,
    .form-wrapper-inner > p > span > input,
    .form-wrapper-inner > p > button,
    .form-wrapper-inner > p > a,
    .form-wrapper-inner > p > select {
        margin-bottom: .5em;
        display: table-cell;
        vertical-align: middle;
    }

    input.datepicker + button {
        margin-top: -3em;
    }

    .form-wrapper {
        margin: 0 auto;
        width: 80%;
    }

    .line {
        display: inline;
    }

    .line .separator {
        display: inline;
    }

    .banner-big {
        width: 100%;
        display: block;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .banner {
        margin-right: 5%;
        width: 47.5%;
        display: inline-block;
        float: left;
    }

    .banner:nth-child(2n) {
        margin-right: 0;
    }

    .box-big {
        display: none;
    }

    .box,
    .box-small {
        width: 30%;
    }

    .box:nth-child(2n),
    .box-small:nth-child(2n) {
        margin-right: 5%;
    }

    .box:nth-child(3n),
    .box-small:nth-child(3n) {
        margin-right: 0;
    }
}

@media only screen and (min-width: 769px) {
    /* ============
        WIDE: main
       ============ */
    body {
        background-image: url('background.jpg');
        background-size: cover;
    }

    p > img {
        width: 48%;
    }

    input.datepicker + button {
        margin-top: -3em;
    }

    .form-wrapper {
        width: 550px;
    }

    .container {
        margin: 40px auto;
        width: 90%;
    }

    .wrapper {
        margin: 0;
        width: 100%;
    }

    .content {
        padding: 0 1%;
    }

    .box-medium {
        margin-top: 0;
        margin-right: 4%;
        width: 48%;
        display: inline-block;
        float: left;
    }

    .box-medium:nth-child(2n) {
        margin-right: 0;
    }

    .box-small {
        margin-right: 4%;
        width: 22%;
    }

    .box-small:nth-child(2n) {
        margin-right: 4%;
    }

    .box-small:nth-child(3n) {
        margin-right: 4%;
    }

    .box-small:nth-child(4n) {
        margin-right: 0;
    }

    .google-map,
    .bvg-box {
        width: 49.5%;
    }

    .google-map {
        margin-right: .5%;
    }

    .bvg-box {
        margin-top: 0;
        margin-left: .5%;
    }

    .card-outer-container,
    .status-container,
    .gauge-container,
    .benefits-container {
        width: 50%;
        float: left;
    }

    .spacer {
        margin-bottom: 1em;
    }

    #site-header {
        position: relative;
        -webkit-border-top-right-radius: 20px;
        -moz-border-top-right-radius: 20px;
        border-top-right-radius: 20px;
        -webkit-border-top-left-radius: 20px;
        -moz-border-top-left-radius: 20px;
        border-top-left-radius: 20px;
        padding: 20px;
    }

    #header-logo {
        width: 272px;
        height: 50px;
        background: url('logo.png') no-repeat;
        overflow: hidden;
    }

    #site-header-spacer {
        margin-bottom: 2px;
        height: 2px;
    }

    #content-container {
        background-color: transparent;
    }

    #content {
        margin-top: 0;
    }

    #site-footer {
        -webkit-border-bottom-right-radius: 20px;
        -moz-border-bottom-right-radius: 20px;
        border-bottom-right-radius: 20px;
        -webkit-border-bottom-left-radius: 20px;
        -moz-border-bottom-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    #site-footer-spacer {
        margin: 0 auto;
        padding-top: 2%;
        width: 653px;
        height: 15px;
        background: url('site-footer-spacer.png') no-repeat bottom;
    }

    /* ============
        WIDE: menu
       ============ */
    #site-header-spacer,
    #site-nav {
        background-color: #000;
    }

    #site-nav ul {
        margin: 0;
        padding: 0;
    }

    #site-nav li a,
    #site-nav li div {
        padding: 10px 0;
    }

    #site-nav li a:hover {
        color: #fff;
        /*background-color: rgba(255, 255, 255, .4);*/
        background-color: #83aa8b;
    }

    #site-nav li a span,
    #site-nav li div span {
        border-right: 1px solid #1a171b;
        padding: 3px 9px;
    }

    #site-nav li a span.last-child {
        border: none;
    }

    /* ====================
        WIDE: CSS3 Effects
       ==================== */
}

@media only screen and (min-width: 860px) {
    /* =============
        WIDE+: main
       ============= */
    .google-map {
        width: 58%;
    }

    .bvg-box {
        width: 41%;
    }

    #gallery a {
        width: 19%;
    }

    /* =============
        WIDE+: menu
       ============= */
    #site-nav li a span,
    #site-nav li div span {
        padding-right: 10px;
        padding-left: 10px;
    }

    #site-nav li.lily {
        background: url('lily.png') no-repeat center;
        display: inline-block;
    }

    #site-nav li.lily.right {
        float: right;
    }

    #site-nav li.lily div span {
        border: none;
        padding: 3px 18px;
    }
}

@media only screen and (min-width: 1140px) {
    /* ===========
        MAX: main
       =========== */
    .container {
        margin: 40px auto;
        width: 1026px;
    }

    .banner {
        width: 30%;
    }

    .banner:nth-child(2n) {
        margin-right: 5%;
    }

    .banner:nth-child(3n) {
        margin-right: 0;
    }

    .google-map {
        width: 69%;
    }

    .bvg-box {
        width: 30%;
    }

    #gallery a {
        max-width: 189px;
    }

    /* ===========
        MAX: menu
       =========== */
    #site-nav li a span,
    #site-nav li div span {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media only screen and (max-width: 768px) {
    /* ==============
        MOBILE: main
       ============== */
    #content {
        padding-top: 5%;
    }

    #site-footer {
        border-top: 5px solid #e3d07f;
    }

    /* ==============
        MOBILE: menu
       ============== */
    ul.nav-toggle {
        position: absolute;
        top: 0px;
        left: 0px;
        margin: 0;
        padding: 14px;
        list-style: none;
        display: block;
    }

    ul.nav-toggle li {
        margin: 5px 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        width: 30px;
        height: 4px;
        background-color: #fff;
    }

    .slide {
        -webkit-box-shadow: 0px 0px 5px #000;
        -moz-box-shadow: 0px 0px 5px #000;
        box-shadow: 0px 0px 5px #000;
    }

    #site-header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 2;
        background-color: #6d8d79;
        /* starting point */
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    #site-nav ul {
        margin: 0;
        padding: 0;
        height: 100%;
        overflow-y: auto;
    }

    #site-nav li {
        display: block;
        float: none;
    }

    #site-nav li a {
        padding: 0 25px;
        line-height: 60px;
        letter-spacing: 3px;
    }

    /* NAVIGATION ANIMATION */
    #site-nav {
        position: fixed;
        left: 0;
        top: 0;
        margin: 0;
        width: 93%;
        height: 100%;
        /* starting point */
        opacity: 0;
        -webkit-transform: translate3d(5%, 0, 0) scale(.97);
        -moz-transform: translate3d(5%, 0, 0) scale(.97);
        transform: translate3d(5%, 0, 0) scale(.97);
    }

    /* navigation opening transition */
    #site-nav.open {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) scale(1);
        -webkit-animation: slideIn .35s ease-in-out;
        -moz-transform: translate3d(0, 0, 0) scale(1);
        -moz-animation: slideIn .35s ease-in-out;
        transform: translate3d(0, 0, 0) scale(1);
        animation: slideIn .35s ease-in-out;
    }

    @-webkit-keyframes slideIn {
        0% {
            opacity: 0;
            -webkit-transform: translate3d(5%, 0, 0) scale(.97);
        }

        100% {
            opacity: 1;
            -webkit-transform: translate3d(0, 0, 0) scale(1);
        }
    }

    @-moz-keyframes slideIn {
        0% {
            opacity: 0;
            -moz-transform: translate3d(5%, 0, 0) scale(.97);
        }

        100% {
            opacity: 1;
            -moz-transform: translate3d(0, 0, 0) scale(1);
        }
    }

    @keyframes slideIn {
        0% {
            opacity: 0;
            transform: translate3d(5%, 0, 0) scale(.97);
        }

        100% {
            opacity: 1;
            transform: translate3d(0, 0, 0) scale(1);
        }
    }

    /* navigation closing transition */
    #site-nav.close {
        opacity: 0;
        -webkit-transform: translate3d(5%, 0, 0) scale(.97);
        -webkit-animation: slideOut .3s ease-in-out;
        -moz-transform: translate3d(5%, 0, 0) scale(.97);
        -moz-animation: slideOut .3s ease-in-out;
        transform: translate3d(5%, 0, 0) scale(.97);
        animation: slideOut .3s ease-in-out;
    }

    @-webkit-keyframes slideOut {
        0% {
            opacity: 1;
            -webkit-transform: translate3d(0, 0, 0) scale(1);
        }

        100% {
            opacity: 0;
            -webkit-transform: translate3d(5%, 0, 0) scale(.97);
        }
    }

    @-moz-keyframes slideOut {
        0% {
            opacity: 1;
            -moz-transform: translate3d(0, 0, 0) scale(1);
        }

        100% {
            opacity: 0;
            -moz-transform: translate3d(5%, 0, 0) scale(.97);
        }
    }

    @keyframes slideOut {
        0% {
            opacity: 1;
            transform: translate3d(0, 0, 0) scale(1);
        }

        100% {
            opacity: 0;
            transform: translate3d(5%, 0, 0) scale(.97);
        }
    }

    /* CONTENT ANIMATION */
    .content-container {
        /* starting point */
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        z-index: 1;
    }

    /* content opening transition */
    #site-header.open,
    .content-container.open {
        -webkit-transform: translate3d(240px, 0, 0);
        -webkit-animation: open .5s ease-in-out;
        -moz-transform: translate3d(240px, 0, 0);
        -moz-animation: open .5s ease-in-out;
        transform: translate3d(240px, 0, 0);
        animation: open .5s ease-in-out;
    }

    @-webkit-keyframes open {
        0% {
            -webkit-transform: translate3d(0, 0, 0);
        }

        70% {
            -webkit-transform: translate3d(260px, 0, 0);
        }

        100% {
            -webkit-transform: translate3d(240px, 0, 0);
        }
    }

    @-moz-keyframes open {
        0% {
            -webkit-transform: translate3d(0, 0, 0);
        }

        70% {
            -webkit-transform: translate3d(260px, 0, 0);
        }

        100% {
            -webkit-transform: translate3d(240px, 0, 0);
        }
    }

    @keyframes open {
        0% {
            -webkit-transform: translate3d(0, 0, 0);
        }

        70% {
            -webkit-transform: translate3d(260px, 0, 0);
        }

        100% {
            -webkit-transform: translate3d(240px, 0, 0);
        }
    }

    /* content closing transition */
    #site-header.close,
    .content-container.close {
        -webkit-transform: translate3d(0, 0, 0);
        -webkit-animation: close .3s ease-in-out;
        -moz-transform: translate3d(0, 0, 0);
        -moz-animation: close .3s ease-in-out;
        transform: translate3d(0, 0, 0);
        animation: close .3s ease-in-out;
    }

    @-webkit-keyframes close {
        0% {
            -webkit-transform: translate3d(240px, 0, 0);
        }

        100% {
            -webkit-transform: translate3d(0, 0, 0);
        }
    }

    @-moz-keyframes close {
        0% {
            -webkit-transform: translate3d(240px, 0, 0);
        }

        100% {
            -webkit-transform: translate3d(0, 0, 0);
        }
    }

    @keyframes close {
        0% {
            -webkit-transform: translate3d(240px, 0, 0);
        }

        100% {
            -webkit-transform: translate3d(0, 0, 0);
        }
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* *text-indent: -9999px; */
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.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 {
    * {
        background: transparent !important;
        color: #000 !important;
        -moz-box-shadow: none !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) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]: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;
    }

    @page {
        margin: 0.5cm;
    }

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

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