* {
}

a {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid;
    font-weight: 500;
}

a:hover {
    text-decoration: none;
    border-color: transparent;
}

header a {
    text-decoration: none;
    border: 0;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, nav {
    font-family: "Ubuntu", monospace;
}

h1, h2, h3 {
    font-size: 150%;
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0.3em;
    margin-top: 0.3em;
    color: #666666;
}

h3 {
    font-size: 150%;
    text-align: left;
}

body > header {
    width: 100%;
    background-image: url('../img/header05.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    max-height: 70%;
    height: 70%;
    background-position: top center;
    text-align: center;
    position: relative;
    color: #FFFFFF;
    font-size: 100%;
    box-shadow: 0 0 10px #666666;
}

body > header > .wrapper {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

body > header nav {
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0);
    border-bottom: 1px solid;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    box-shadow: 0 0 10px rgba(102, 102, 102, 0.66);
}

body > header nav.with-background {
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #666666;
}

body > header nav.with-background .localization-switch {
    color: #666666;
}

.no-csstransforms > body > header nav {
    display: none;
}

body > header nav.with-background ul li {
    color: #666666;
}

body > header nav ul li ul.second-level-navigation {
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 2px solid white;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    transition-delay: 200ms;
    box-shadow: 0 0 10px rgba(102, 102, 102, 0.66);
}

body > header nav ul li:hover ul.second-level-navigation {
    visibility: visible;
    opacity: 1;
    transition-delay: 0ms;
}

body > header nav ul li ul.second-level-navigation li a {
    color: #666666;
    font-size: 16px;
}

body > header nav.with-background ul li ul.second-level-navigation {
    background: rgba(102, 102, 102, 0.85);
    border-color: white;
}

body > header nav.with-background ul li ul.second-level-navigation li a {
    color: white;
}

body > header nav ul {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 0;
    flex-grow: 1;
}

body > header nav ul li {
    display: inline-block;
    vertical-align: middle;
    padding: 0;
    font-size: 24px;
    background-color: transparent;
}

body > header nav ul li a {
    padding: 0.4em 1em;
    display: inline-block;
    box-sizing: border-box;
    -webkit-transition: all 500ms;
    transition: all 500ms;
    font-size: 18px;
}

body > header nav .localization-switch {
    position: relative;
    font-size: 16px;
    display: flex;
    align-items: center;
    margin: 0 1em;
    cursor: pointer;
}

body > header nav .localization-switch .current-language {
    display: inline-block;
    margin-left: 0.2em;
    margin-right: 0.2em;
}

body > header nav .localization-switch .dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s;
    background: white;
    text-align: left;
    padding: 5px 0 0;
    min-width: 100%;
    color: #666666;
    border: 1px solid gray;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}
body > header nav .localization-switch:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

body > header nav .localization-switch .dropdown-menu .dropdown-item {
    display: block;
    transition: background-color 0.5s;
    padding: 5px 10px;
}

body > header nav .localization-switch .dropdown-menu .dropdown-item:hover {
    background: lightgray;
}

.social, .social ul {
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
}

.social li {
    display: inline-block;
    margin: 0.1em;
}

a.btn-light {
    padding: 0;
    transition: color 0.5s;
    text-decoration: none;
    border: none;
    display: inline-block;
    color: #666666;
}

header a.btn-light {
    color: white;
}

header a.btn-light:hover {
    color: lightgray;
}

a.btn-light:hover {
    color: gray;
}

@media (max-width: 1400px) {
    body > header nav ul li a {
        font-size: 18px;
    }
}

@media (max-width: 1000px) {

    body > header nav ul li a {
        font-size: 18px;
    }
}

body > header nav ul li.active > a,
body > header nav ul li > a:hover {
    background-color: #FFFFFF;
    color: #666666;
}

body > header nav.with-background ul li.active > a,
body > header nav.with-background ul li > a:hover {
    background-color: #666666;
    color: #FFFFFF;
}

body > header .show-nav-controller {
    display: none;
}

body > header .description {
    font-size: 150%;
    font-weight: 300;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

body > header .description .logo {
    width: 15%;
    min-width: 200px;
}

body > header .description .logo.logo-bigger {
    width: 18%;
}


.no-svgasimg > body > header .description .logo {

}

@media (max-height: 500px) {
    body > header {
        max-height: none;
        height: initial;
    }

    body > header .description .logo {
        width: 2em;
        display: inline-block;
    }

    body > header .description .claim {
        display: block;
        font-size: 70%;
        padding-bottom: 1em;
    }

    body > header .description {
        position: static;
        -webkit-transform: translateY(0);
        transform: translateY(0);
        margin: auto;
        padding-top: 10%;
        width: 90%;

    }
}

body > header .description .claim {
    max-width: 800px;
    margin: auto;
    color: white;
    text-transform: none;
    font-size: 130%;
    font-weight: 300;
}

body > header .description .claim > span {
    display: inline-block;
}

body > .third-level-navigation {
    background: #e8e8e8;
}

body > .third-level-navigation ul {
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
}

body > .third-level-navigation ul li {
    display: block;
    padding: 10px;
}

body > .content > section.colored h2,
body > .content > section.colored h3 {
    color: inherit;
}

body > .content > section.colored.story {
    background-image: url('../img/header06.jpg');
}

body > .content > section.colored.about-us {
    background-image: url('../img/header01.jpg');
}

body > .content > section.colored.partners {
    background-image: url('../img/header04.jpg');
}

body > .content > section.colored {
    color: white;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

body > .content > section .wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2% 4% 2%;
    text-align: justify;
    overflow: hidden;
}

.line {
    border-bottom: 1px solid #eaeaea;
}

body > .content > section.colored:before {
    background-color: rgba(0, 0, 0, 0.6);
    max-width: 100%;
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

body > .content > section.colored .wrapper {
    padding-bottom: 4%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.wrapper-full-width {
    overflow-x: auto;
    display: flex;
}

.profiles {
    margin: auto;
    padding: 20px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.profiles a.logo {
    border: 0;
}

.profiles .profile-wrapper {
    padding: 8px;
    max-width: 350px;
    flex-grow: 0;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
}

.profiles .profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 8px;
    padding: 16px;
    text-align: justify;
    border: 1px solid lightgray;
    box-shadow: 0 10px 20px -10px #9f9f9f;
}

.profiles .profile h3 {
    font-size: x-large;
    text-align: center;
    text-transform: none;
}

.profiles .profile[colspan="2"] h3 {
    width: 70%;
}

@media (min-width: 800px ) {
    .profiles .profile.single h3 {
        width: 70%;
    }
}

.profiles .profile:hover {
}

.profiles .profile .description {
    vertical-align: middle;
    padding: 0;
}

.profiles .profile .description p {
    margin-top: 0;
}

.profiles .profile img {
    width: 7em;
    height: 7em;
    border-radius: 50%;
    vertical-align: middle;
    border: 1px solid lightgray;
    display: inline-block;
    background: white;
}

body > footer {
    text-align: center;
    padding: 2em 0;
    border-top: 2px solid #666666;
    /*background: #eaeaea;*/
}

body > footer .footer-divided {
    display: flex;
    align-items: start;
    max-width: 900px;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

body > footer .footer-divided {
    > * {
        padding: 2% 4%;
        border-radius: 0 !important;
        width: 50%;
        box-sizing: border-box;

        h3 {
            font-size: 130%;
            text-align: center;
        }

        .note {
            text-align: center;
        }

        &:not(:last-child) {
            border-right: 1px solid lightgray;
        }
    }
}

body > footer .wrapper {
    color: #666666;
}

body > footer .wrapper > div {
    padding-bottom: 0.4em;
}

body > footer .registration-info {
    margin-top: 1em;
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 10px;
}

body > footer .registration-info > * {
    display: table-row;
}

body > footer .registration-info > * > * {
    display: table-cell;
}

body > footer .registration-info > * > label {
    color: #666666;
    text-align: right;
}

body > footer .registration-info > * > span {
    text-align: left;
}

.calendar {
    margin: 0;
    padding: 0;
}

.calendar li {
    -webkit-transition: background 0.5s, border 0.5s, color 0.5s;
    transition: background 0.5s, border 0.5s, color 0.5s;
    display: block;
    margin: 0;
    padding: 1.5em 0;
    border-left: 8px solid #aaaaaa;
    position: relative;
}

.calendar li:before {
    display: block;
    content: "";
    width: 2em;
    height: 2em;
    background-color: #aaaaaa;
    border-radius: 50%;
    position: absolute;
    left: -4px;
    top: 50%;
    -webkit-transition: background 0.5s;
    transition: background 0.5s;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.calendar li:hover {
    background-color: #eaeaea;
    border-color: #666666;
}

.calendar li:hover:before {
    background-color: #666666;
}

.calendar .date {
    display: inline-block;
    width: 30%;
    font-size: 150%;
    color: #aaaaaa;
    text-align: center;
    -webkit-transition: color 0.5s;
    transition: color 0.5s;
    vertical-align: middle;
    padding-left: 1em;
    position: relative;
    overflow: hidden;
}

.calendar .date time {
    font-size: 180%;
}

.calendar li:hover .date {
    color: #666666;
}

.calendar .description {
    display: inline-block;
    font-size: 110%;
    width: 50%;
    vertical-align: middle;
    text-align: center;
}

.calendar .description h3 {
    margin: 0;
    text-align: center;
    /*font-weight: 500;*/
}

.calendar .description address {
    color: #666666;
    font-style: normal;
}

.calendar .description .event-link {
    color: #aaaaaa;
    font-size: 90%;
    display: inline-block;
    margin: 0 1%;
}

.calendar li.passed {
    border-color: #eaeaea;
}

.calendar li.passed:before {
    background-color: #eaeaea;
}

.calendar li.passed .date .info {
    position: absolute;
    width: 80%;
    top: -50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    left: 1em;
    color: #666666;
}

.calendar li.passed:hover .date .info {
    top: 50%;
}

.calendar li.passed:hover .date {
    color: transparent;
}

.sticky-btn {
    position: fixed;
    top: 50%;
    left: -5px;
    z-index: 100;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border: 2px solid #aaaaaa;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.61);
    padding: 6px 18px;
    -webkit-transform: rotate(90deg) translate(-50%, -50%);
    -moz-transform: rotate(90deg) translate(-50%, -50%);
    -ms-transform: rotate(90deg) translate(-50%, -50%);
    -o-transform: rotate(90deg) translate(-50%, -50%);
    transform: rotate(90deg) translate(-50%, -50%);
    -webkit-transform-origin: 0 50%;
    -moz-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%;
    -o-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -moz-osx-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    font-weight: 600;
    color: #666666;
}

.sticky-btn:hover {
    left: 0;
    background: white;
    border-width: 2px;
    border-color: #666666;
}

.btn {
    background: #666666;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    border: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background: #818181;
}

.btn.green {
    background: #2e9a39;
}

.btn.green:hover {
    background: #34bb40;
}

.btn.blue {
    background: #316c8e;
}

.btn.blue:hover {
    background: #3c8fb8;
}

.btn[disabled] {
    background: #c7c7c7 !important;
    cursor: not-allowed;
}

.form-horizontal {
    position: relative;
    padding: 15px;
    border: 1px solid lightgray;
    border-radius: 8px;
}

.form-horizontal.form-inline {
    border: none
}

.form-horizontal.form-inline .form-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.form-horizontal.form-inline .form-group label {
    white-space: nowrap;
}

.form-horizontal.form-inline .form-group .form-control {
    margin: 0 0.5em;
    width: auto;
}

.form-horizontal .form-row {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 10px 5px;
    margin: 5px 0;
}

.form-horizontal .form-row > .form-group {
    display: table-cell;
}

.form-horizontal .form-group {
    margin: 5px 10px;
}

.form-horizontal .form-group input.check-box {
    width: 1.5em;
    height: 1.5em;
}

.form-horizontal .form-group input {
    display: inline-block;
    vertical-align: middle;
}

.form-horizontal .form-group .form-control {
    width: 100%;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 10px 15px;
    border: 1px solid #666666;
    transition: all 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 0 0.2rem transparent;
}

.form-horizontal .form-group .form-control:focus {
    outline: none;
    border-color: #1a71a8;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.form-horizontal .form-group label {
    display: inline-block;
    vertical-align: middle;
}

.form-horizontal .form-group label.required:after {
    content: "*";
    font-size: small;
    display: inline-block;
    vertical-align: super;
    color: red;
}

.form-horizontal .note {
    margin: 15px 10px 5px;
    text-align: left;
    color: gray;
}

.form-horizontal .form-group .radio-buttons .btn {
    margin: 2px;
    padding: 5px 12px;
    font-size: 16px;
}

.form-horizontal .form-group .radio-buttons input:checked + .btn {
    background-color: #1a71a8;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.form-horizontal .form-group .radio-buttons {
    display: inline-block;
    vertical-align: middle;
}

.form-horizontal .form-group .radio-buttons input[type='radio'] {
    display: none;
}

.btns-submit {
    text-align: center;
    margin: 20px 0 0;

    .note {
        text-align: center;
    }
}

.btns-submit .btn {
    font-size: 20px;
    font-weight: 500;
    padding: 12px 20px;
    font-family: 'Roboto', sans-serif;
}

.btn.btn-success {
    background: #2e9a39;
}

.btn.btn-success:hover {
    background: #307130;
}

.form-overlay {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 30px;
    background: rgba(46, 154, 57, 0.9);
    transition: opacity 0.5s, visibility 0.5s;
    z-index: 10;
    border-radius: 10px;
}

.form-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.form-overlay .content {
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 20px;
}

.cookie-bar {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 20px;
    max-width: 500px;
    padding: 20px;
    background: #313131;
    color: white;
    box-shadow: 0 0 20px lightgray;
    text-align: center;
    border-radius: 5px;

    .actions {
        margin-top: 15px;

        .btn {
            margin: 5px;
        }
    }
}