.clear- fix:after {
    clear: both;
    content: "";
    display: table;
}

nav a:hover,
li a:hover,
.header-bar a:hover,
.breadcrumb a:hover {
    text-decoration: none;
}

/********************/
/* template styling */
/********************/
.container.full-width {
    width: 100%;
}

.force-full-width {
    max-width: 100% !important;
}

.body-container.body-padding {
    padding-top: 80px;
}


.main-no-sidebar-thin {
    max-width: 800px;
}

/**********************/
/* scroll to top icon */
/**********************/
.pageToTop {
    background: #eee;
    border-radius: 0.25rem;
    bottom: -60px;
    color: inherit;
    line-height: 40px;
    opacity: 0;
    position: fixed;
    right: 1rem;
    text-align: center;
    transition: bottom 450ms cubic-bezier(0.6, -0.4, 0.26, 1.55), opacity 0.3s;
    width: 40px;
}

.pageToTop__show {
    bottom: 1rem;
    opacity: 0.6;
}

.pageToTop:hover {
    color: inherit;
    opacity: 1;
}


.text-shadow {
    text-shadow: 0 0 30px #333;
}

/**************/
/* Header bar */
/**************/
.header-bar {
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: 0.3s border-bottom-color, 0.3s background-color, 0.3s color;
}

.header-bar--noHeader {
    background: #fff;
    color: #333;
}

.header-bar-alt {
    background: #fff;
    color: #333;
}

.brick-wrapper.my-0 {
    padding-bottom: 0;
    padding-top: 0;
}

.header-bar-logo {
    height: 80px; /* nav (top bar) height */
    max-height: 100%;
}

.header-bar-logo img {
    max-height: 100%;
}

.header-bar .header-bar-logo-secondary {
    display: none;
}

.header-bar.header-bar-alt .header-bar-logo-primary.hide {
    display: none;
}

.header-bar.header-bar-alt .header-bar-logo-secondary {
    display: inline;
}

/*************/
/* mega menu */
/*************/
.quiqqer-menu-megaMenu {
    height: 100%;
    margin: 0 auto;
    max-width: 1600px;
}

.header-bar-nav-item a {
    color: inherit;
}

.quiqqer-menu-megaMenu-list-item--current a {
    font-weight: bold;
    opacity: 1;
}

/* submenu */
.quiqqer-menu-megaMenu-list-item-menu {
    border: 1px solid #ddd;
    box-shadow: none !important;
    max-width: 100% !important;
}

/* submenu: standard */
.quiqqer-menu-megaMenu-children-standard-icon {
    height: 100%;
}

.quiqqer-menu-megaMenu-children-standard-list {
    margin: 0;
    padding: 0;
}

.quiqqer-menu-megaMenu-children-standard-list-entry {
    border-bottom: none !important;
}

.quiqqer-menu-megaMenu-children-standard-list-entry-title {
    color: inherit;
    display: inline-block;
    font-weight: 400;
}

.quiqqer-menu-megaMenu-children-standard-list-entry-short {
    font-size: 13px !important;
}

.quiqqer-menu-megaMenu-children-standard-list-entry-short ul {
    margin-bottom: 0;
    margin-left: 0 !important;
}

.quiqqer-menu-megaMenu-children-standard-list-entry-short li:hover {
    background: rgba(0, 0, 0, 0.05);
}

.quiqqer-menu-megaMenu-children-standard-list-entry-short a {
    color: inherit;
}

/* submenu: simple */
.quiqqer-menu-megaMenu-children-simple {
    background: #fff;
    min-width: 220px;
}

.quiqqer-menu-megaMenu-children-simple:after {
    background: #fff !important;
    border-left: 1px solid #ddd !important;
    border-top: 1px solid #ddd !important;
    content: '';
    height: 20px;
    left: 0 !important;
    position: absolute;
    top: 0 !important;
    transform: rotate(45deg) translateY(-30px) translateX(15px);
    width: 20px;
    z-index: 0;
}

.quiqqer-menu-megaMenu-children-simple-entry {
    border-bottom: none !important;
    z-index: 1;
}

.quiqqer-menu-megaMenu-children-simple-entry:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

.quiqqer-menu-megaMenu-children-simple-entry a {
    color: inherit !important;
    padding: 1rem 1.25rem !important;
}

@media screen and (max-width: 767px) {
    .quiqqer-menu-megaMenu {
        align-items: center;
        display: flex;
        text-align: right;
    }
}

/**************/
/* nav search */
/**************/
.header-bar-suggestSearch {
    position: relative;
}

.header-bar-suggestSearch-wrapper {
    background: transparent;
    height: 100%;
    opacity: 0;
    position: absolute;
    right: 0;
    transition: 0.3s all ease-in-out;
    visibility: hidden;
    width: 200px;
}

.header-bar-suggestSearch .fa {
    justify-content: center;
    cursor: pointer;
}

.header-bar-suggestSearch input[type="search"].input-and-icon {
    position: absolute;
    top: 50%;
    -moz-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 1;
    width: 100%;
}

.header-bar-suggestSearch.showSearch .header-bar-suggestSearch-wrapper {
    opacity: 1;
    right: 100%;
    visibility: visible;
}

/***************/
/* page header */
/***************/
.page-header {
    background-size: cover;
}

.page-header-inner {
    height: 100%;
    width: 100%;
}

.page-header-inner .container {
    padding-top: 80px; /* nav height */
}

.page-header-content {
    color: #fff;
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
    width: 100%;
}

@media screen and (max-width: 767px) {
    .page-header-inner .container {
        padding-top: 50px;
    }
}


/**********/
/* footer */
/**********/
.page-footer {
    /*color: #fff;*/
}

.page-footer-copyright {
    background: rgba(0, 0, 0, 0.1);
}

.page-footer-copyright .quiqqer-bricks-languageswitch-flag-entry {
    padding: 0 6px;
}

@media screen and (max-width: 767px) {
    .page-footer-copyright .quiqqer-bricks-languageswitch-flag-entry {
        padding: 0;
    }

    .quiqqer-bricks-languageswitch-flag-entry-icon {
        margin-right: 20px;
    }
}

/**************/
/* pagination */
/**************/
.quiqqer-pagination {
    padding: 0;
}

.quiqqer-sheets-desktop a, .quiqqer-sheets-desktop span {
    margin: 0 2px !important;
    width: 30px !important;
}

/*******************/
/* sitetype search */
/*******************/
.qui-search-result form {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 2rem);
    position: relative;
    left: -1rem;
    margin: 4rem auto 1rem;
    max-width: 800px;
}

.qui-search-result .form-field-search {
    min-width: 250px;
    flex-grow: 1;
    width: 70%;
    margin-left: 1rem;
    margin-right: 1rem;
}

.qui-search-result .qui-button {
    flex-grow: 1;
    min-width: 100px;
    margin-left: 1rem;
    margin-right: 1rem;
}

.qui-search-result .qui-control-list {
    margin-top: 2rem;
}

/*******/
/* FAQ */
/*******/
/* list (1 lev) */
.content-template-faq-list-category {
    background: #fafafa !important;
    margin: 0 !important;
    width: 100% !important;
}

/* category (2 lev) */
.quiqqer-faq article {
    margin: 4rem 0;
}

.quiqqer-faq .content-body {
    margin-block: 1rem;
}

.quiqqer-faq .quiqqer-faq-list-linkToTop {
    margin-top: 0;
}

/***************/
/* Sidebar nav */
/***************/
.quiqqer-navigation-link {
    color: inherit;
    font-weight: 300;
}

.quiqqer-navigation-active .quiqqer-navigation-link {
    font-weight: bold;
}

/************************/
/* Wallpaper text arrow */
/************************/
@media (max-width: 767px) {
    .wallpaperTextArrow-content-left {
        padding: 7em 0 0 0 !important;
    }
}

/**************************/
/* Children list: default */
/**************************/
.tpl-childrenlist-default-entry:last-child {
    margin-bottom: 2rem;
}

.tpl-childrenlist-default-entry-image {
    max-height: 250px;
    overflow: hidden;
}

.tpl-childrenlist-default-meta-category {
    padding-bottom: 2px;
    padding-top: 2px;
}