a, a:focus, a:hover {
    color: #f15c31;
}

body {
    background: #fff url('../img/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

@media screen and (max-width: 767px) {
    .wrapper {
        background-position: top 90px right;
        background-size: contain
    }

}

@media screen and (max-width: 620px) {
    .wrapper {
        background-position: top 120px right;
        background-size: contain
    }
}

@media screen and (min-width: 768px) {
    .wrapper {
        background-position: top 38px right;
    }
}

@media screen and (min-width: 992px) {
    .wrapper {
        background-position: top 50px right;
    }
}

@media screen and (min-width: 1200px) {
    .wrapper {
        background-position: top 50px center;
    }
}

.container-fluid.top {
    padding: 0;
}

.topmenu .navbar {
    background: rgb(255, 210, 83);
    background: rgba(255, 210, 83, 0.9);
    padding-right: 10px;
}

.topmenu .navbar .nav li a {
    color: #f15c31;
}

.header .siteLogo {
    margin: 0;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.7);
}

.header .siteLogo img.img-fluid {
    padding: 20px 10px;
}

.header .navmain {
    background: #fdf1c2;
    border: none;
    margin: 0;
    min-height: 1px
}

.header .navmain .navbar-header {
    background: #fff
}

.header .navmain .nav li a {
    color: #f15c31;
    padding: 15px 20px
}

.header .navmain .nav li.active a {
    font-weight: bold
}

.main .maincontent .nav-stacked li:hover > a {
    background: #feffe8 url('../Icons/nav-quadrat-roll.gif') no-repeat 5px 16px
}

.main .maincontent .nav-stacked li a {
    background: url('../Icons/nav-quadrat.gif') no-repeat 5px 16px;
}

.main .maincontent .nav-stacked li .lvl-1 li:hover a {
    background: #feffe8 url('../Icons/nav-quadrat-roll.gif') no-repeat 15px 16px
}

.footer .footer-site .footer-wrap {
    background: #f5f5f5
}

.copyright {
    border-top: 0;
    padding-bottom: 10px;
    font-weight: bold;
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.7);
}

@media screen and (max-width: 767px) {
    .header .navmain .nav li {
        background: #FEFFE8;
        margin: 0
    }

    .header .navmain .nav li a {
        background: #FDF1C2;
    }

    .header .navmain .nav li.active > a {
        font-weight: bold;
    }

    .header .navmain .nav ul.lvl-1 > li a {
        padding-left: 20px;
        background: #FEF6DA
    }

    .header .navmain .nav ul.lvl-2 li a {
        padding-left: 30px;
        background-color: #FEFFE8;
    }

    .menu-title {
        color: #f15c31;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28241, 92, 49, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

@media screen and (min-width: 768px) {
    .header .navmain .nav {
        display: flex
    }

    .header .navmain .nav li:first-child {
        margin-left: 0
    }

    .header .navmain .nav li:last-child {
        margin-right: 0
    }

    .maincontent .col-md-8 {
        width: 70%;
    }
}

@media screen and (min-width: 992px) {
    .maincontent .sidenav {
        width: 30%
    }
}

@media screen and (min-width: 1200px) {
    .header .navmain .nav li {
        width: 140px
    }
}

/*Powermail*/
.tx-powermail {
    margin-bottom: 20px;
}

.tx-powermail .form-horizontal .col-form-label {
    text-align: left;
    padding-top: 0;
    font-weight: 100;
}

@media screen and (min-width: 992px) {
    .tx-powermail .form-horizontal .col-form-label {
        padding-top: 5px;
    }
}

.tx-powermail h3 {
    font-size: 15px;
    color: #f15c31;
}

.tx-powermail span.mandatory {
    color: #f15c31;
}

.tx-powermail .btn-primary {
    margin: 10px 0 10px 0;
    color: #fff;
    border: 0;
    cursor: pointer;
}

.tx-powermail .powermail_fieldwrap_submit {
    padding-left: 0;
    padding-right: 0;
}

.tx-powermail .powermail_fieldwrap_text {
    line-height: 1em;
    font-size: 12px;
}

span#powermail_field_mandatory_hint {
    padding-left: 0;
    font-size: 12px;
}


@media screen and (min-width: 992px) {

    .tx-powermail .powermail_fieldwrap_submit {
        padding-left: 8px;
        padding-right: 0;
    }

    span#powermail_field_mandatory_hint {
        padding-left: 8px;
        font-size: 12px;
    }
}

.tx-powermail legend {
    color: #888888;
    font-size: 28px;
}

.tx-powermail .form-control {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555555;
    vertical-align: middle;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.tx-powermail .form-control:focus {
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(119, 81, 152, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(119, 81, 152, 0.6);
}

.tx-powermail .col-md-8 {
    border: 0;
}

.tx-powermail ul.parsley-errors-list {
    list-style: none;
    color: #f15c31;
    padding: 5px 0 0 0;
    margin: 0;
}


.filecol-gallery {
    width: 100%;
}

.filecol-gallery .image-container {
    padding: 5px;
    float: left;
}

.filecol-gallery .image-container a {
    text-decoration: none;
    vertical-align: middle;
    display: table-cell;
    height: auto;
}

@media screen and (min-width: 1200px) {
    .filecol-gallery .image-container {
        width: 20%;
    }
}

/*Footer-Menu*/
.footer-menu .navbar .nav li a {
    color: #f15c31;
}

.container-fluid.bottom .footer-menu {
    background: #fdf1c2;
    display: flex;
    justify-content: center;
}

.container-fluid.bottom .footer-menu .navbar-right {
    float: none !important;
    border: 0;
    min-height: 0;
}

.btn-primary {
    color: #fff;
    background-color: #f78e3b;
    border-color: #f78e3b;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #F45323;
    border-color: #F45323;
}

.form-control:focus {
    border-color: #f78e3b;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(247, 142, 59, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(247, 142, 59, 0.6)
}

.fancybox-margin {
    margin-right: 0 !important;
}

.fancybox-lock {
    overflow-y: scroll !important;
    width: auto;
}

/*tables*/
@media (max-width: 767px) {
    .table-responsive > .table > thead > tr > th, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > tbody > tr > td, .table-responsive > .table > tfoot > tr > td {
        white-space: inherit;
    }
}

@media (min-width: 600px) {
    .table-responsive > .table {
        table-layout: fixed;
    }
}

.ce-gallery {
    margin-bottom: 10px;
}

.ce-gallery .ce-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 15px;
    margin-right: -10px;
}

.ce-row:last-of-type {
    margin-bottom: 0;
}

.ce-gallery .ce-row figcaption.image-caption {
    color: #000;
    text-align: center;
    margin-top: 5px;
}

.wrapper .frame-default {
    margin: 30px 0;
}

.wrapper .frame-default:first-of-type {
    margin-top: 0;
}

div.ce-textpic.ce-left .ce-gallery {
    float: none;
}

.ce-gallery[data-ce-columns="2"] .ce-column img, .ce-gallery[data-ce-columns="3"] .ce-column img {
    max-height: 350px;
}


.ce-gallery[data-ce-columns="4"] .ce-column {
    flex: 0 0 calc(50% - 10px);
    width: 50%;
    margin-right: 10px;
    margin-bottom: 10px;
}

div.ce-column {
    margin-bottom: 10px;
}

div.ce-column:last-of-type {
    margin-bottom: 0;
}

@media (min-width: 500px) {
    .ce-gallery[data-ce-columns="2"] .ce-column {
        flex: 0 0 calc(50% - 25px);
        width: 50%;
        margin-right: 25px;
        margin-bottom: 0;
    }

    .ce-gallery[data-ce-columns="3"] .ce-column {
        flex: 0 0 calc(33.333% - 25px);
        width: 33.333%;
        margin-right: 25px;
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .ce-gallery[data-ce-columns="4"] .ce-column {
        flex: 0 0 calc(25% - 25px);
        width: 25%;
        margin-right: 25px;
        margin-bottom: 0;
    }
}

div.ce-textpic.ce-intext.ce-left .ce-gallery, div.ce-textpic.ce-intext.ce-left.ce-nowrap .ce-gallery {
    margin-right: 20px;
}

div.ce-textpic.ce-intext.ce-right .ce-gallery, div.ce-textpic.ce-intext.ce-right.ce-nowrap .ce-gallery {
    margin-left: 20px;
}

.frame-type-felogin_login label > input {
    display: block;
}

.frame-type-felogin_login input[type="submit"] {
    margin: 1rem 0;
}