/* navigation - based on Bootstrap dropdown navigation (still uses some appearance) - on larger devices showing on hover by pure css */

#navTop {
    background: rgb(74,46,68);
}

#navTop a {
    color: #fff;
}

#navContent a,
#langsContent a {
    font-size: 19px;
    padding: 15px 0;
    font-family: 'Roboto', sans-serif;
    border-bottom: 1px dashed #ccc;
    display: block !important;
}

#langsContent a {
    border-bottom: none;
    padding: 8px 0;
}

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

#navContent ul.dropdown-menu {
    padding: 0;
    margin: 0;
    border: 0 solid rgba(0, 0, 0, .15);
    border-radius: 0;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

/* Bootstrap override */
.navbar-dark .navbar-toggler {
    color: #fff;
    border-color: #fff;
}

/** Mobile XS, SM, MD device */
@media only screen and (max-width: 991px) {
    /** Submenu padding */
    #navContent ul ul > li > a {
        margin-left: 25px
    }

    #navContent ul ul ul > li > a {
        margin-left: 50px;
    }

    /** Submenu visibility */
    #navContent a.sub.active {
        text-decoration: underline;
    }

    #navContent a.sub.active + ul {
        display: block;
    }

    /** Colors */
    #navContent ul {
        background: transparent;
    }

    #navContent .langContent {
        display: none;
    }

    .lang-toggler-icon {
        display: inline-block;
        width: 1.5em;
        height: 1.5em;
        vertical-align: middle;
        content: "";
        background: no-repeat center center;
        background-size: 100% 100%;
    }
}

/** Desktop LG, XL devices */
@media only screen and (min-width: 992px) {
    #navTop {
        box-shadow: 0 0 2px 1px #ccc;
        background: rgb(74,46,68);
        background: linear-gradient(90deg, rgb(74,46,68) 0%, rgb(54,68,88) 100%);
    }

    #navContent {
        min-height: 20px;
    }

    #navContent a {
        color: #fff;
        padding: 15px;
        border-bottom: 0;
    }

    #navContent a:hover, #navContent a:focus {
        color: #fff;
    }

    #navContent ul li:hover > ul {
        display: block
    }

    #navContent ul ul {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 250px;
        display: none
    }

    #navContent ul ul li {
        position: relative;
    }

    #navContent ul ul li a {
        color: #fff;
        padding: 5px 15px;
        border-bottom: 1px solid #fff;
    }

    #navContent ul ul li:hover > ul {
        display: block;
    }

    #navContent ul ul ul {
        position: absolute;
        top: 0;
        left: 100%;
        min-width: 250px;
        display: none;
    }

    #navContent ul ul ul li {
        position: relative;
    }

    #navContent ul ul ul li:hover ul {
        display: block;
    }

    #navContent ul ul ul ul {
        position: absolute;
        top: 0;
        left: -100%;
        min-width: 250px;
        display: none;
        z-index: 1;
    }

    #navContent ul ul {
        background: #3388DD;

    }

    #navContent ul ul ul {
        background: #333333;
    }

    #navContent ul ul ul ul {
        background: #64B5F6;
    }

    #navContent a:focus,
    #navContent a:hover {
        background: #000;
    }

    #langsContent {
        display: none !important;
    }
}

/** Icon (arrow-down) */
#navContent a.sub::after {
    display: inline-block;
    margin-left: .5em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

/** Icon (arrow-up) */
#navContent a.sub.active:after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .5em;
    vertical-align: .255em;
    content: "";
    border-top: 0;
    border-right: .3em solid transparent;
    border-bottom: .3em solid;
    border-left: .3em solid transparent;
}

/** Icon (arrow-right) */
#navContent ul.dropdown-menu a.sub:after {
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: 0;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
}.loading-hidden {
    display: block;
}

/** @languages */
.langContent a.language > i {
    margin-bottom: 3px;
    background: no-repeat 0 0;
    vertical-align: text-bottom;
    display: inline-block;
    width: 16px;
    height: 11px;
}

.langContent a.flag-en > i {
    background-position: 0 0 !important;
}

.langContent a.flag-es > i {
    background-position: -32px 0 !important;
}

.langContent a.flag-fr > i {
    background-position: -48px 0 !important;
}

.langContent a.flag-it > i {
    background-position: -64px 0 !important;
}

.langContent a.flag-de > i {
    background-position: -80px 0 !important;
}

.langContent a.flag-ru > i {
    background-position: -96px 0 !important;
}

.langContent a.flag-hu > i {
    background-position: -112px 0 !important;
}

.langContent a.flag-pl > i {
    background-position: -128px 0 !important;
}

.langContent a.flag-cs > i {
    background-position: -144px 0 !important;
}

.langContent a.flag-sk > i {
    background-position: -160px 0 !important;
}

.langContent a.flag-no > i {
    background-position: -176px 0 !important;
}

.langContent a.flag-fi > i {
    background-position: -192px 0 !important;
}

.langContent a.social > i,
.socialContent a.social > i {
    background: no-repeat 0 0 #bbb;
    border-radius: 4px;
    vertical-align: top;
    display: inline-block;
    width: 26px;
    height: 26px;
}

.langContent a.social-fb > i,
.socialContent a.social-fb > i {
    background-position: -252px 2px !important;
}

.langContent a.social-instagram > i,
.socialContent a.social-instagram > i {
    background-position: -275px 2px !important;
}

/** @other */
#site-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0;
}

#site-title > a {
    color: inherit;
}

#site-claim {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
}

#ad1 {
    width: 600px;
    max-height: 100px;
    max-width: 100%;
}

#ad2 {
    margin: 5px 18px 10px 0;
    float: left;
}

#ad3 > * {
    margin-left: auto !important;
    margin-right: auto !important;
}

#map {
    max-width: 100%;
    width: 400px;
    height: 300px;
}

#map-static {
    max-width: 100%;
    width: 400px;
    max-height: 300px;
}

.crumbsContent  i {
    background: no-repeat 0 0 transparent;
    background-position: -231px 2px !important;
    border-radius: 4px;
    vertical-align: top;
    display: inline-block;
    width: 26px;
    height: 26px;
}

.crumbs a {
    color: #333;
    font-weight: 600;
}

.crumbs a:nth-last-child(1) {
    text-decoration: underline;
}

h1 > a {
    text-decoration: none !important;
    color: inherit !important;
}

main table {
    width: 100%;
    margin-bottom: 1em;
}

main img.img-fit {
    max-width: 96%;
    max-height: fit-content;
    margin-bottom: 6px;
}

/** Footer */

footer {
    background: #eee;
}

/** Mobile XS device */
@media only screen and (max-width: 576px) {
    h1 {
        word-break: break-word;
    }
}

/** Mobile XS, SM, MD device */
@media only screen and (max-width: 991px) {
    /** @mobile header */
    a.site-title {
        display: block;
        text-decoration: none;
        text-align: center;
        font-size: 18px;
        padding: 5px 15px;
        justify-content: flex-start;
        color: black;
        font-weight: 500;
        border-right: 1px solid #ddd;
        background: #eee;
        height: 30px;
    }

    header {
        display: flex;
        background: #eee;
        height: 50px;
        border-bottom: 1px solid #aaa;
    }

    header > a {
        display: inline-flex;
        text-align: center;
        font-size: 14px;
        align-items: center;
        justify-content: center;
        color: #333;
        text-decoration: none;
        font-weight: 500;
    }

    header > a:hover,
    header > a:focus {
        color: inherit;
        text-decoration: inherit;
    }

    header > a.toggle {
        width: 33.3%;
    }

    header > a.toggle.active {
        margin-bottom: -1px;
        border-top: 1px solid #aaa;
        border-left: 1px solid #aaa;
        border-right: 1px solid #aaa;
        background: #fff;
    }

    header > a.toggle.active:first-child {
        border-left: 0;
    }

    header > a.toggle.active:last-child {
        border-right: 0;
    }

    /** @images size limit override for small viewports */
    main img {
        max-width: 96vw;
        height: auto !important;
    }
}

/** Desktop LG, XL devices */
@media only screen and (min-width: 992px) {
}#homepage .homepage-box {
    display: block;
    height: 250px;
    margin: 0 auto 1em;
    position: relative;
    color: #fff;
    text-transform: uppercase;
    background-color: #000;
}

#homepage .homepage-box h3 {
    padding: 1em;
    background: rgba(0,0,0,0.7);
}

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

#homepage a.homepage-box:hover,
#homepage a.homepage-box:focus {
    color: #fff;
}

#homepage a.homepage-box:hover h3,
#homepage a.homepage-box:focus h3 {
    text-decoration: underline;
}

#homepage a:hover .img,
#homepage a:focus .img {
    opacity: 0.8;
}

#homepage .img {
    background: no-repeat center center;
    background-size: cover;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    transition: opacity 0.3s;
}

#homepage #homepage-box1 {
    width: 100%;
}

#homepage #recommended-wrapper {
    margin: 25px auto 30px;
}

#homepage #recommended {
    font-size: 24px;
    line-height: 1.2;
}

#homepage .homepage-col {
    width: 300px;
    max-width: 100%;
    margin: 0 auto 1em;
}

#homepage .homepage-bottom-box {
    display: block;
}

#homepage .homepage-bottom-box > div {
    margin-bottom: 0;
}

#homepage .homepage-bottom-box > h3 {
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    padding: 15px 0;
    margin: 0;
}

#homepage .homepage-link > h4 {
    font-size: inherit;
    padding: 15px 0;
    margin: 0;
}

#homepage .homepage-bottom-box:not(.empty),
#homepage .homepage-link:not(.empty) {
    border-bottom: 1px solid #ccc;
}

#homepage a.homepage-link {
    display: block;
}

@media only screen and (min-width: 768px) {
    #homepage #recommended-wrapper {
        height: 0;
        border-bottom: 1px solid black;
        margin: 1em 0 2em;
    }

    #homepage #recommended {
        position: relative;
        top: -16px;
        background: white;
        display: inline;
        padding: 0 25px;
    }
}

@media only screen and (min-width: 992px) {
    #homepage .homepage-box {
        margin: 0 0 2em;
    }

    #homepage #recommended-wrapper {
        margin: 3em 0 5em;
    }
}
