/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    box-sizing: border-box;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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 #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * 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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*--Global Styles--*/
:root {
    /*Colours*/
    --primary-brand: #98C068;
    --secondary-brand: #5EB1C5;
    --tertiary-brand: #223458;
    --primary-brand-light: #D3E4BE;
    --pink: #E33A8B;
    --purple: #6A2480;
    --black: #00000;
    --white: #ffffff;
    --blue: #1F3459;
    --grey: #EDEDED;
    --grey-dark: #B5B5B5;
    --purple-light: #B42E86;
    --pink-light: #FBE8FF;
    /*Fonts*/
    --font-family: houschka-rounded, sans-serif;
    --font-weight-300: 300;
    --font-weight-500: 500;
    --font-weight-600: 600;
    --font-weight-700: 700;
    /*Font Sizes*/
    --font-size-xlarge: 4em;
    --font-size-large: 3.5em;
    --font-size-medium: 3em;
    --font-size-small: 1.6em;
    --font-size-base: 1.2em;
    /*Animation Transition*/
    --ani-main: all 0.3s;
}

.ani {
    -webkit-transition: var(--ani-main);
    transition: var(--ani-main);
}

    .ani:hover {
        -webkit-transition: var(--ani-main);
        transition: var(--ani-main);
    }

/*--Tyography--*/

h1, h2, h3 {
    font-family: var(--font-family);
    font-weight: var(--font-weight-600);
}

h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: var(--font-weight-400);
}

h1 {
    font-size: var(--font-size-xlarge);
}

h2 {
    font-size: var(--font-size-large);
}

h3 {
    font-size: var(--font-size-medium);
}

h4 {
    font-size: var(--font-size-small);
}

h5 {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-300);
}

p {
    font-family: var(--font-family);
    font-weight: var(--font-weight-400);
}

    p.small {
        font-size: 0.8em;
    }

.uk-switcher a {
    pointer-events: all !important;
}

/*--Buttons uk-button overrides--*/

.uk-button {
    font-family: var(--font-family);
    border-radius: 50px;
    font-size: var(--font-size-base);
    padding: 5px 35px;
    font-weight: var(--font-weight-600);
    text-transform: none;
    letter-spacing: 1px;
    border-width: 2px;
    border-color: transparent;
}

.uk-button-default {
    background-color: transparent !important;
    border: 2px solid var(--grey);
}

/*--Purple Button--*/

.uk-button.primary-brand {
    background-color: var(--primary-brand);
    color: var(--white);
}

.uk-button.secondary-brand {
    background-color: var(--primary-brand);
    color: var(--white);
}

.uk-button.purple {
    background-color: var(--purple);
    color: var(--white);
}

    .uk-button.purple:hover {
        background-color: var(--pink);
    }

/*--Pink Button--*/

.uk-button.pink {
    background-color: var(--pink);
    color: var(--white);
}

    .uk-button.pink:hover {
        background-color: var(--purple-light);
    }

/*--Blue Button--*/

.uk-button.blue {
    background-color: var(--blue);
}

    .uk-button.blue:hover {
        opacity: 0.6;
    }

/*--Blue Button--*/

.uk-button.white {
    background-color: var(--white);
    color: var(--purple);
}

    .uk-button.white:hover {
        opacity: 0.6;
    }

/*--Helper Classes / Global Overides--*/
.primary-brand {
    color: var(--primary-brand);
}

.secondary-brand {
    color: var(--secondary-brand);
}

.uk-card {
    border-radius: 3px;
}

/*--Form Elements--*/
.form-container {
    position: relative;
}

.uk-input {
    background-color: var(--grey);
    border-radius: 3px;
    height: 50px;
    padding: 0px 15px;
    font-family: var(--font-family);
    font-weight: var(--font-weight-400);
    color: var(--black);
}

.uk-form-width-medium {
    width: 300px;
}

.uk-input:focus, .uk-select:focus, .uk-textarea:focus {
    border-color: var(--primary-brand);
}

label {
    font-family: var(--font-family);
    font-weight: var(--font-weight-400);
}

.uk-checkbox {
    width: 25px;
    height: 25px;
    border-radius: 3px;
    border: 2px solid var(--grey-dark)
}

    .uk-checkbox:checked, .uk-checkbox:indeterminate, .uk-radio:checked, .uk-checkbox:checked:focus, .uk-checkbox:indeterminate:focus, .uk-radio:checked:focus {
        background-color: var(--primary-brand);
    }

    .uk-checkbox:focus, .uk-radio:focus, .uk-checkbox:hover {
        border-color: var(--primary-brand);
    }

.input-container.checkbox label {
    display: inline-block;
    max-width: 400px;
    vertical-align: top;
}

    .input-container.checkbox label:hover {
        cursor: pointer;
    }

.input-container.checkbox .uk-checkbox {
    margin-right: 10px;
    display: inline-block;
}

/*--Container Gradient--*/
.container-gradient {
    background: var(--primary-brand);
    background: linear-gradient(68deg, var(--primary-brand) 0%, var(--secondary-brand) 100%);
}

/*--Header--*/

.header {
    position: relative;
    padding: 10px 0px;
    z-index: 4;
}

/*--Footer--*/
.footer {
    padding: 10px 0px;
}

    .footer .nav {
        display: block;
        padding: 0px;
        margin: 0px;
    }

        .footer .nav li {
            display: inline-block;
        }

        .footer .nav.default li {
            margin: 0px 10px;
        }

            .footer .nav.default li a {
                font-family: var(--font-family);
                font-weight: var(--font-weight-400);
                color: var(--black);
            }

    .footer .uk-icon-button {
        background: var(--purple);
    }

        .footer .uk-icon-button path {
            fill: var(--white);
        }

/*--Body Container--*/
.body-container {
    padding-top: 60px;
    overflow: hidden;
    padding-bottom: 60px;
}

    .body-container .ring-bg path {
        fill: var(--white);
    }

    .body-container .ring-bg {
        position: absolute;
        opacity: 0.1;
        pointer-events: none;
        z-index: 0;
    }

        .body-container .ring-bg.top-left {
            top: -350px;
            left: -350px;
        }

        .body-container .ring-bg.bottom-right {
            bottom: -1000px;
            right: -300px;
        }

/*--Primary Box Content--*/
.content-box {
    background-color: var(--white);
    border-radius: 3px;
    padding: 40px;
    position: relative;
    z-index: 4;
}

    .content-box.content-box-small {
        padding: 15px;
    }


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}

    /*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

    .sr-only.focusable:active,
    .sr-only.focusable:focus {
        clip: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        position: static;
        white-space: inherit;
        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: " ";
    display: table;
}

.clearfix::after {
    clear: both;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media only screen and (max-width: 820px) {

    /*--Global Styles--*/
    :root {
        /*Font Sizes*/
        --font-size-xlarge: 2.8em;
        --font-size-large: 2em;
        --font-size-medium: 1.6em;
        --font-size-small: 1.4em;
        --font-size-base: 1em;
    }

    .body-container {
        padding-top: 100px;
        padding-bottom: 40px;
    }

        /*.content-outside{
		padding: 0px 60px;
	}*/

        .body-container .ring-bg.top-left {
            top: -170px;
            left: -200px;
        }

        .body-container .ring-bg.bottom-right {
            bottom: -250px;
            right: -190px;
        }

    .input-container.checkbox label {
        max-width: 260px;
    }

    .content-box {
        padding: 20px;
    }

    .uk-width-medium {
        width: 100% !important;
    }

    #registration-form .uk-button-group {
        display: block !important;
    }

    .uk-card-body {
        padding: 20px;
    }

    .progress .restart-button {
        top: 50%;
        left: 10px;
        margin-top: -21px;
    }

    /*--Buttons--*/
    .uk-button {
        display: block;
    }

    .uk-button-group {
        flex-wrap: wrap;
    }

        .uk-button-group .uk-button, .input-container .uk-button {
            width: 100%;
        }

        .uk-button-group .uk-margin-left {
            margin-left: 0px !important;
            margin-top: 10px;
        }

        .uk-button-group .uk-margin-right {
            margin-right: 0px !important;
            margin-bottom: 10px;
        }

    .uk-button.filter-trigger {
        position: relative;
        z-index: 5;
    }

    .uk-button span.icon {
        display: inline-block;
        width: 15px;
        height: 15px;
        background-size: cover;
        background-repeat: no-repeat;
        vertical-align: middle;
        margin-right: 5px;
    }

        .uk-button span.icon.sliders {
            background-image: url(/img/sliders.svg);
        }

        .uk-button span.icon.close {
            background-image: url(/img/close.svg);
        }

    .uk-button.mobile {
        border-radius: 100%;
        display: inline-block;
        padding: 0px;
        width: 45px;
        height: 45px;
    }

    /*--reg result--*/
    .reg-box {
        padding: 0px 0px 10px 0px;
    }

    /*--Results Page--*/
    .filter {
        position: absolute;
        z-index: 5;
        width: calc(100% - 30px);
        margin-top: 0px !important;
        opacity: 0;
        pointer-events: none;
        height: 0px;
    }

        .filter.active {
            opacity: 1;
            pointer-events: all;
            height: auto;
        }
}


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        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 {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.uk-offcanvas-bar {
    background-color: var(--tertiary-brand);
}

nav .uk-logo img {
    height: 70px;
}

nav .uk-parking-logo img {
    height: 77px;
}

.uk-input {
    line-height: 40px; /* This was needed to fix rendering on Chrome on Android. */
}

[autocomplete-dropdown] .autocomplete-selected {
    background-color: #ddd;
}

[autocomplete-dropdown] li {
    cursor: pointer;
}

.validation-summary-valid {
    display: none;
}

.resposive-a4-iframe {
    aspect-ratio: 21.0 / 29.7; /* A4 has a width of 21cm and a height of 29.7cm.*/
    width: 100%;
    height: 100%;
    border: solid 1px #eee;
    box-shadow: 3px 3px 5px #eee;
}


.uk-button[disabled], .uk-button[disabled]:hover {
    background-color: var(--grey);
    color: var(--grey-dark);
}

.heading-container { 
    padding-bottom: 50px;
}

.inline-button {
    border-radius: 0 20px 20px 0;
    height: 50px;
    padding-left: 20px !important;
    padding-right: 20px !important;
}