/*
Theme Name: Mieterverein Muenchen e.V. - ALT
Theme URI: https://www.mieterverein-muenchen.de
Author: WEBSITES.CZ
Author URI: https://www.websites.cz
Version: 2017/03
*/

body {
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: top -40px center;
}


/*
body.home {
	background-image: url('layout/homepage.jpg');
}

body.home #content,
body.home #header,
body.home #news,
body.home #workflow,
body.home #workflow:before {
	background: none !important;
}
*/

body,
div,
p,
li,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto Condensed', sans-serif;
}

a {
    color: #ff7d00;
}

a:hover,
a:focus {
    color: #2f50a0;
}

.blue a {
    color: #2f50a0;
}

.blue a:hover {
    color: #4b4b4b;
}

table tr th,
table tr td {
    padding: 5px 7px;
}

table tr:hover th,
table tr:hover td {
    background: #fdfaed;
}

.top-bar,
#wrapper {
    margin: 0 auto;
}

.top-bar {
    max-width: 1012px !important;
}

.row {
    max-width: 1042px !important;
}

#wp-admin-bar-updates,
#wp-admin-bar-customize,
#wp-admin-bar-wp-logo,
#wp-admin-bar-comments,
#wp-admin-bar-gravityforms-new-form,
#wp-admin-bar-wpseo-menu {
    display: none !important;
}

#backtotop {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 2.5rem;
    z-index: 99999;
    cursor: pointer;
    border-radius: 100%;
    background: url('img/backtotop.png') no-repeat;
    opacity: 1;
    width: 36px;
    height: 36px;
}


/* header */

#header {
    margin: 0;
    padding-top: 26px;
    height: 157px;
    background: #fff;
    position: relative;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.35);
    z-index: 1;
}

#logo {
    margin-top: 2px;
    margin-left: 35px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

#logo img {
    width: 101px;
}


/* menu */

.top-bar-section {
    margin-top: 75px;
    position: relative;
    padding-bottom: 15px;
}

.top-bar-section ul.right {
    text-align: right;
    float: none !important;
    width: 100% !important;
    display: inline-block;
}

.top-bar-section ul li {
    display: inline-block;
    float: none !important;
    position: static !important;
    padding-left: 20px;
    margin-right: -3px;
    height: 60px;
}

.top-bar-section>ul>li {
    padding-left: 0;
}

.top-bar-section>ul>li:last-child a {
    padding-right: 2px !important;
}

.top-bar-section ul li>a {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    color: #4b4b4b !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 19px !important;
    margin: 0px;
    text-align: center;
    display: inline;
}

.top-bar-section ul li:hover>a,
.top-bar-section ul li.active>a,
.top-bar-section ul li>a:hover {
    color: #2f50a0 !important;
}


/* submenu */

@media only screen and (min-width: 642px) {
    .top-bar-section .right li .dropdown {
        width: 300px !important;
        left: 0 !important;
        margin-top: -4px;
        background: url('img/menu-shadow.jpg') repeat-x #fff !important;
        padding-right: 10px;
        text-align: left;
    }

    div.back {
        display: none;
    }

    section.top-bar-section ul>li>ul.dropdown {
        width: 200px;
        position: absolute !important;
        left: 10px;
        top: 60px;
    }

    li.menu-item.has-dropdown {
        position: relative !important;
    }

    .top-bar-section .right li .dropdown li {
        /*    width: auto; */
        display: block;
        position: relative;
        left: 20px;
    }

    a.non-clickable {
        cursor: default;
    }
}

.top-bar-section .right li .dropdown li {
    width: auto;
}



.top-bar-section .right li .dropdown li a {
    background: transparent !important;
    font-size: 15px;
    text-transform: none;
    margin: 0;
    padding: 0 15px !important;
    line-height: 57px !important;
}

.top-bar-section li.has-dropdown>a {
    padding-right: 19px !important;
    padding-bottom: 15px !important;
    background: transparent !important;
    position: relative;
}

.top-bar-section li.has-dropdown:hover>a:after {
    content: "";
    border: 0;
    margin: 0;
    margin-left: 0px;
    display: block;
    width: 23px;
    height: 31px;
    background: url('img/submenu-shadow.jpg') no-repeat 0px 8px;
    position: absolute;
    left: 50%;
    margin-left: -11px;
    top: auto;
    bottom: -17px !important;
    z-index: 200;
}

.top-bar-section li.has-dropdown:hover>.dropdown {
    z-index: 100;
}

.top-bar-section li.has-dropdown.active>.dropdown {
    /*    clip: auto; */
}

.top-login {
    position: absolute;
    right: 0;
    top: -8px;
}

.top-login>div {
    display: inline-block;
    line-height: 29px;
    vertical-align: top;
    top: -3px;
}


.top-login>.social {
    margin: 0 0 0 11px;
    position: relative;
    top: -2px;
}

.top-login>.social a {
    position: relative;
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-right: 5px;
}


.top-login .links a {
    font-size: 18px;
    color: #fff;
    background: #ff7d00;
    padding: 6px 8px;
    vertical-align: top;
    margin-left: 7px;
}

.top-login .links a:hover {
    background: #4b4b4b;
}

.top-login #s {
    border: 1px solid #c2c2c2;
    background: #fff !important;
    text-transform: none;
    font-size: 18px;
    max-width: 180px;
    margin: 0;
    top: 0;
}

.top-login #s:active,
.top-login #s:focus {
    border-color: #4b4b4b;
}

.top-login input[type="submit"] {
    height: 23px !important;
    top: 1px !important;
    right: 1px !important;
}


/* orbit slider */

#slider {
    position: relative;
    max-height: 350px;
    overflow: hidden;
}

#slider>.row {
    max-width: 1012px !important;
}

#slider .slider-wrapper {
    padding: 0;
}

#slider .slider-for {
    position: relative;
    border-bottom: 10px solid #ff7d00;
    text-align: center;
    height: 350px;
    overflow: hidden;
}

#slider .slick-arrow {
    position: absolute;
    top: 0;
    left: 0;
    /* z-index: 1; */
    width: calc((100% - 600px) / 2);
    height: 100%;
    border: 0;
    outline: none;
    margin: 0;
    font-size: 0;
    background-color: #1d1d1d;
    opacity: 0.75;
    background-image: url('img/slider-prev.png');
    background-position: center;
    background-repeat: no-repeat;
}

#slider .slick-arrow.slick-next {
    left: auto;
    right: 0;
    background-image: url('img/slider-next.png');
}

#slider .slick-list {
    z-index: -1;
    background: rgba(29, 29, 29, 0.86);
}

#slider .slick-slide {
    outline: none;
}

#slider .slider-caption {
    position: absolute;
    bottom: 40px;
    left: 7px;
    opacity: 1;
    background: rgba(37, 79, 155, 0.75);
    padding: 20px 27px;
    color: #fff;
    font-size: 25px;
    text-transform: uppercase;
    opacity: 0;
    display: none;
}

#slider .slider-caption a {
    color: #fff;
    text-decoration: underline;
}

#slider .slider-caption a:hover {
    text-decoration: none;
}

/* content */

#content {
    background: none;
    border: none;
    padding: 0;
    padding-top: 70px;
    margin: 0px auto;
    background: #ededed;
}

#main-content {
    padding: 0 0 15px 0;
    position: relative;
}

#main-content>.row>.large-8 {
    padding-left: 30px;
}

#main-content>.row>.large-12 {
    padding: 0 30px;
}

#main-content p {
    color: #4b4b4b;
    font-size: 17px;
    line-height: 24px;
    margin-bottom: 20px;
}

#main-content p:last-child {
    margin-bottom: 0 !important;
}

#main-content h1 {
    font-size: 25px;
    color: #2f50a0;
    margin: 20px 0 25px 0px;
}

#main-content h2 {
    font-size: 22px;
    line-height: 27px;
    color: #2f50a0;
}

#main-content h3 {
    font-size: 19px;
    line-height: 22px;
    color: #4b4b4b;
    font-weight: bold;
}

#main-content h3 {
    font-size: 18px;
}

#main-content h4 {
    font-size: 17px;
}

#main-content h5 {
    font-size: 16px;
}

#main-content h6 {
    font-size: 15px;
}

.home #content {
    background: #fff;
}

.home #main-content {
    background: #fff;
    margin-top: -30px;
}

.home #main-content p {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
}

#main-content figure img {
    border-radius: 0;
}


/* subpages */

.subpages {
    display: block;
    margin-top: 30px;
    width: 100%;
    float: left;
    clear: both;
}

.subpages>.columns.odd {
    padding-left: 0;
    padding-right: 10px;
}

.subpages>.columns.even {
    padding-right: 0;
    padding-left: 10px;
}

.subpages>.columns.wide {
    padding: 0;
}

.subpages .subpage {
    display: block;
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 1px;
    margin: 0;
    margin-bottom: 30px;
}

.subpages a {
    display: block;
    width: 100%;
    /* height: 205px; */
    overflow: hidden;
    background: #eee;
    position: relative;
}

.subpages .subpage img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    line-height: 0;
    -moz-transition: 0.5s all;
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
    -webkit-backface-visibility: hidden;
}

.subpages .alt_image,
.subpages .wide .box_image {
    display: none;
}

.subpages .wide .alt_image {
    display: block;
}

.subpage h2 {
    text-align: left;
    display: block;
    background: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 25px;
    color: #2f50a0;
    padding: 5px 20px;
}

.subpage.with-thumbnail h2 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    -moz-transition: 0.5s all;
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
    z-index: 9998;
    max-height: 80px;
}

.subpage a:hover {
    text-decoration: none;
}

.subpage:hover h2 {
    color: #fff !important;
    background: rgba(47, 80, 160, 0.75);
}

.subpage.with-thumbnail:hover h2 {
    line-height: 120%;
    height: 100%;
    max-height: 100%;
    padding-top: 15px;
}

.subpage:hover img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.3);
}


/* boxes */

.box {
    margin-bottom: 20px;
}

.box h2 {
    font-size: 25px !important;
    line-height: 30px !important;
    color: #ff7d00 !important;
    font-weight: normal !important;
    padding: 9px 20px !important;
    margin: 0 !important;
    background: #f8f8f8;
}

.box .thumbnail {
    position: relative;
}

.box .thumbnail img {
    width: 100%;
}

.box .thumbnail h2 {
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    bottom: 0;
}

.box .box-content {
    background: #fff;
    padding: 11px 20px;
    border-bottom: 5px solid #ff7d00;
}

.box .box-content.no-content {
    padding: 0;
    border-bottom: 0;
}

.box .box-content p {
    margin-bottom: 20px !important;
}

.box .box-content ul.posts {
    margin: 0;
}

.box .box-content ul.posts li {
    margin-bottom: 15px;
    line-height: 120%;
}

.box .box-content ul.posts li .date {
    color: #4b4b4b;
}

.box.grey h2 {
    color: #4b4b4b !important;
}

.box.grey .box-content {
    border-bottom: 5px solid #4b4b4b;
    margin: 0;
    padding: 15px 0px;
}

.box.blue h2 {
    color: #254f9b !important;
}

.box.blue .box-content {
    border-bottom: 5px solid #2f50a0;
}


/* accordion */

#accordion {
    margin: 0;
}

#accordion>* {
    display: none;
}

#accordion.ui-accordion>* {
    display: block;
    border-bottom: 1px solid #c0c0c0;
}

#accordion .ui-accordion-header {
    border-radius: 0;
    border: 0;
    border-top: 1px solid #c0c0c0;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    line-height: 26px;
    color: #2f50a0;
    padding: 13px 16px;
    background: #fff;
    padding-left: 40px;
    position: relative;
    margin: 0;
}

#accordion .ui-accordion-header:before {
    content: '+';
    font-family: 'Arial';
    font-size: 30px;
    position: absolute;
    left: 15px;
    margin-top: 1px;
}

#accordion .ui-accordion-header-active:before {
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    left: 14px;
}

#accordion .ui-accordion-header-active,
#accordion .ui-accordion-header:hover {
    background: #f9f9f9;
}

#accordion .ui-accordion-header .ui-accordion-header-icon {
    display: none;
}

#accordion .ui-accordion-content {
    border: 0;
    padding: 15px;
}

#accordion .ui-accordion-content h3 {
    font-size: 15px;
    line-height: 20px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 5px;
}

#accordion .ui-accordion-content,
#accordion .ui-accordion-content p,
#accordion .ui-accordion-content div,
#accordion .ui-accordion-content figure,
#accordion .ui-accordion-content li,
#accordion .ui-accordion-content td {
    font-size: 15px !important;
    line-height: 23px !important;
}

figure {
    margin: 0 0 20px 0 !important;
}

figure.figure figcaption {
    font-size: 14px;
    font-style: normal;
}

#accordion .ui-accordion-content li {
    margin-bottom: 15px;
}

#accordion .ui-accordion-content ol[style*="list-style-type: lower-alpha"] li {
    margin-bottom: 5px;
}

#accordion .ui-accordion-content p,
#accordion .ui-accordion-content ul,
#accordion .ui-accordion-content ol {
    margin-bottom: 20px !important;
}

#accordion .ui-accordion-content p a,
#accordion .ui-accordion-content ul a,
#accordion .ui-accordion-content ol a {
    text-decoration: underline;
    color: #2f50a0;
}

#accordion .ui-accordion-content p a:hover,
#accordion .ui-accordion-content ul a:hover,
#accordion .ui-accordion-content ol a:hover {
    text-decoration: none;
}

#accordion .ui-accordion-content table {
    width: 100%;
}


/* homepage */

#workflow {
    background: #fff;
    padding: 44px 0 23px 0;
    text-align: center;
    position: relative;
}

#workflow:before {
    content: "";
    width: 100%;
    height: 80%;
    position: absolute;
    left: 0;
    top: 85px;
    background: #ededed;
}

#workflow>.row {
    max-width: 950px !important;
}

#workflow a {
    display: block;
}

#workflow img {
    max-height: 80px;
}

#workflow h2 {
    font-size: 20px;
    font-weight: bold;
    line-height: 25px;
    margin-top: 4px;
    color: #4b4b4b;
    position: relative;
}

#workflow h2:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: inset 9px;
    border-color: transparent transparent transparent rgba(75, 75, 75, 0.65);
    border-top-style: solid;
    position: absolute;
    right: -30px;
    top: 2px;
}

#workflow>.row>.columns:last-child h2:after {
    display: none;
}

#news {
    background: #ededed;
}

#news .box-content {
    min-height: 325px;
}

#news .box.news {
    min-height: 325px;
}

#news .news-post {
    margin-bottom: 25px;
}

#news .news-post:last-child {
    margin: 0 !important;
}

#news .news-post p {
    margin: 0 !important;
}

#news .news-post .date {
    font-size: 17px;
    font-weight: bold;
    color: #ff7d00;
    margin: 0 !important;
}

#news .news-post h3,
#news .news-post h3 a {
    font-size: 17px;
    line-height: 22px;
    font-weight: bold;
    color: #4b4b4b;
    margin: 0;
}

#news .news-post h3 a:hover {
    color: #ff7d00;
}

#news .news-post .more a {
    font-size: 17px;
    color: #4b4b4b;
}

#news .news-post .more a:hover {
    color: #ff7d00;
}

#news .box.news .box-content {
    border-bottom: 5px solid #ff7d00;
}

#news .box.links .box-content {
    border-bottom: 5px solid #2f50a0;
    padding-top: 20px;
}

#news .box.links .box-content p,
#news .box.links .box-content td {
    font-size: 17px;
    line-height: 24px;
    clear: both;
}

#news .box.links .box-content table {
    width: 100%;
    background: none;
    margin-bottom: -20px;
    border: 0;
}

#news .box.links .box-content tr,
#news .box.links .box-content th,
#news .box.links .box-content td {
    background: none;
    vertical-align: middle;
    border: 0;
    padding: 0;
}

#news .box.links .box-content td {
    padding-bottom: 25px;
}

#news .box.links .box-content img {
    margin: 0;
}

#magazin {
    background: #ededed;
}

#magazin .magazin-thumb {
    margin: 0;
    width: 20%;
    text-align: right;
}

#magazin .magazin-thumb img {
    border: 1px solid #969696;
}

#magazin .magazin-content {
    padding: 11px 0;
    width: 80%;
}

#magazin .magazin-content p {
    font-size: 17px;
    line-height: 23px;
}

#magazin .magazin-content a {
    font-weight: bold;
    color: #4b4b4b;
}

#magazin .magazin-content a:hover {
    color: #ff7d00;
}


/* posts */

#posts {
    margin-top: 25px;
}

#posts .post {
    width: 100%;
    float: left;
    margin-bottom: 25px;
}

#posts .post .date {
    width: 18%;
    float: left;
    font-size: 17px;
    color: #2f50a0;
    padding-top: 4px;
}

#posts .post .content {
    width: 82%;
    float: right;
}

#posts .post .content h2 {
    font-size: 17px;
    font-weight: bold;
    line-height: 25px;
    margin: 0;
}

#posts .post .content h2 a {
    color: #4b4b4b;
}

#posts .post .content h2 a:hover {
    color: #ff7d00;
}

#posts .post .content p {
    font-size: 17px;
    line-height: 25px;
}

#posts .post .content .more {
    color: #2f50a0;
}

#posts .post .content .more:hover {
    color: #ff7d00;
}

.page-numbers {
    margin-top: 20px;
}

.pagination-centered ul.page-numbers li {
    margin: 1px !important;
}

.page-numbers li span,
.page-numbers li a {
    font-size: 17px;
    border: 0;
    margin: 0;
}

.page-numbers li span.current {
    background: #2f50a0;
    border-radius: 0;
}


/* subpages */

#breadcrumbs {
    margin: 15px 0 35px 0;
    font-size: 14px;
}

#breadcrumbs a {
    font-size: 14px;
    color: #4b4b4b;
}

#breadcrumbs a:hover {
    color: #2f50a0;
}

#sidebar {
    padding-left: 10px;
    padding-right: 15px;
}


/* attachments */

#attachments {
    margin-top: 25px;
}

#attachments .attachment {
    margin-bottom: 20px;
}

#attachments .attachment a {
    display: inline-block;
    min-height: 51px;
    padding-left: 50px;
    background-image: url('img/icon-file.png');
    background-repeat: no-repeat;
}

#attachments .attachment.type-pdf a {
    background-image: url('img/icon-pdf.png');
}

#attachments .attachment.type-doc a {
    background-image: url('img/icon-doc.png');
}

#attachments .attachment.type-xls a {
    background-image: url('img/icon-xls.png');
}

#attachments .attachment p {
    margin: 0 !important;
}

#attachments .attachment a:hover p.type {
    color: #ff7d00;
}


#attachments .attachment.with-thumbnail a {
    background: none;
    padding-left: 0;
    display: block;
    min-height: 120px;
}

#attachments .attachment p.thumbnail {
    float: left;
    margin-right: 15px !important;
    min-height: 120px;
}

#attachments .attachment p.thumbnail img {
    max-height: 120px;
    width: auto;
}

#attachments .attachment.with-thumbnail p.title {
    line-height: 120%;
    margin-bottom: 15px !important;
}


/* dictionary */

#dictionary {
    margin: 30px 0;
    /* position: relative; */
}

#dictionary>.columns {
    padding-left: 0;
}

#dictionary .item a {
    display: block;
    font-size: 17px;
    font-weight: bold;
    color: #4b4b4b;
    padding: 4px 0;
}

#dictionary .item a:hover {
    color: #ff7d00;
}

#dictionary .content-overlay {
    display: none;
    background: rgba(40, 40, 40, .75);
    position: fixed;
    overflow-y: scroll;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100000;
    cursor: pointer;
}

#dictionary .content-overlay.open {
    display: block;
}

#dictionary .content {
    margin: 15vh auto;
    width: 90%;
    max-width: 500px;
    padding: 20px 20px 30px 20px;
    min-height: 200px;
    background: rgba(255, 255, 255, .95);
    cursor: default;
}

#dictionary .content h2 {
    font-size: 20px;
    line-height: 25px;
    color: #2f50a0;
    margin: 0;
    margin-bottom: 35px;
    padding-left: 20px;
    position: relative;
}

#dictionary .content h2:before {
    content: '+';
    font-family: 'Arial';
    font-size: 30px;
    position: absolute;
    left: 0;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    cursor: pointer;
}

#dictionary .content p,
#dictionary .content li {
    font-size: 15px;
    line-height: 23px;
}

#dictionary .content li {
    margin-bottom: 10px;
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    cursor: pointer;
}

.overlay.show {
    display: block;
}

.noscroll {
    overflow: hidden;
    margin-right: 20px;
}


/* books */

#books {
    margin: 30px -15px;
}

#books .box {
    margin-bottom: 30px;
}

#books .box .thumbnail {
    text-align: center;
    background: #969696;
    height: 285px;
}

#books .box .thumbnail img {
    width: auto;
    margin-top: 20px;
}

#books .box .thumbnail h2 {
    text-align: left;
    min-height: 108px;
}


/* team */

#team {
    text-align: center;
    margin: 40px 0 0 0;
}

#team .person {
    margin-bottom: 50px;
}

#team h2 {
    font-size: 17px;
    line-height: 22px;
    font-weight: bold;
    color: #4b4b4b;
    margin-bottom: 0;
    margin-top: 8px;
}


/* storelocator */

#storelocator {
    margin-top: 50px;
}

#storelocator .box-content {
    padding-bottom: 40px;
    position: relative;
}

#storelocator .searchstore {
    font-weight: bold;
    color: #4b4b4b;
    position: absolute;
    bottom: 10px;
}

#storelocator .searchstore:hover {
    color: #2f50a0;
}

#storelocator #searchmapform {
    max-width: 600px;
}


/* forms */

.gform_wrapper {
    margin: 40px 0 !important;
}

.gform_wrapper label {
    font-size: 17px !important;
    font-weight: normal !important;
}

.gform_wrapper li.gf_list_inline li {
    margin-bottom: 0 !important;
}

.gform_wrapper input {
    margin: 0 !important;
}

.gform_wrapper input[type="checkbox"] {
    position: relative;
    top: 5px;
    vertical-align: top !important;
}

.gform_wrapper .gform_footer input.button {
    background: #2e509d;
    padding: 15px 40px;
}

.gform_wrapper.gf_browser_chrome ul.gform_fields li.gfield input[type=radio] {
    margin: 0 !important;
}

.gform_confirmation_wrapper {
    font-size: 17px;
    border: 1px solid #99d293;
    background: #d2f1ce;
    padding: 10px;
    color: #408831;
    margin: 40px 0;
}

.gform_wrapper .top_label div.ginput_container {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.gform_wrapper ul li.gfield {
    margin-top: 0 !important;
}

.gform_wrapper li.gsection {
    margin: 10px 5px 20px 0 !important;
}

.gform_wrapper .top_label .gsection_description {
    font-size: 17px;
    font-style: italic;
    padding-right: 0;
}

.gform_wrapper div.gform_body ul.gform_fields li.gfield.gfield_html {
    font-size: 17px;
    line-height: 1.3 !important;
}

.gform_wrapper .top_label div.ginput_container.ginput_recaptcha {
    margin-top: 40px !important;
}

.gform_wrapper ul.gfield_checkbox li input[type="checkbox"],
.gform_wrapper ul.gfield_radio li input[type="radio"] {
    margin-left: 2px !important;
}

.ui-datepicker-month,
.ui-datepicker-year {
    width: auto !important;
    height: auto !important;
    line-height: 100% !important;
    padding: 5px;
    padding-right: 20px;
    margin: 5px;
}

.ui-datepicker-calendar th span {
    font-size: 12px;
}

.ui-datepicker-next,
.ui-datepicker-prev {
    background: #e9e9e9 !important;
    position: relative;
    top: 4px;
}

.ui-datepicker-next .ui-icon,
.ui-datepicker-prev .ui-icon {
    margin: 5px;
}

.ui-datepicker-calendar .ui-state-active {
    background: #2e509d !important;
    margin: 0 !important;
    height: 30px !important;
}

.ui-datepicker-calendar td>a {
    border: 0 !important;
}

fieldset legend {
    background: none;
    font-size: 20px;
}


/* footer */

#footer {
    background: #ededed;
    padding-bottom: 40px;
    padding-top: 20px;
}

.home #footer {
    padding-top: 0;
}

#footer-menu {
    background: #2e509d;
    width: 100%;
    padding: 20px;
}

#footer-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#footer-menu ul li a {
    color: #fff;
    font-size: 15px;
}

#footer-menu ul li a:hover {
    text-decoration: underline;
}

#footer-menu>ul {
    width: auto;
    display: inline-block;
}

#footer-menu>ul>li {
    display: inline-block;
    width: 19%;
    vertical-align: top;
    margin: 0;
    padding: 0;
}

#footer-menu>ul>li>a {
    font-weight: bold;
}

#footer-menu>ul.sub {
    width: 100%;
    margin-top: 20px;
}

#footer-menu>ul.sub li {
    width: auto;
    margin-right: 10px;
}

#footer-menu>ul.sub li a {
    font-weight: normal;
}

#footer .searchform {
    width: 261px;
    float: right;
    background: url('img/ISO_9001_farbe_de.jpg') no-repeat 0 100px;
    height: 230px;
}

.searchform {
    position: relative;
}

.searchform input {
    font-size: 15px;
    text-transform: uppercase;
    color: #4b4b4b;
    border: 0;
    outline: none;
    box-shadow: none;
    padding: 1px 28px 1px 10px;
    margin-bottom: 20px;
    height: auto;
    width: 100%;
}

#footer-menu .searchform input {
    height: 28px;
}

.searchform input::-webkit-input-placeholder {
    color: #4b4b4b;
}

.searchform input::-moz-placeholder {
    color: #4b4b4b;
}

.searchform input:-ms-input-placeholder {
    color: #4b4b4b;
}

.searchform input:-moz-placeholder {
    color: #4b4b4b;
}

.searchform input[type="submit"] {
    position: absolute;
    width: 28px;
    height: 28px;
    top: 0;
    right: 0;
    background: url('img/search.jpg') center no-repeat #fff;
    background-size: 18px auto;
    margin: 0;
}

#footer .social {
    text-align: right;
}

#footer .social a {
    position: relative;
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-left: 10px;
}

.page-id-53 #main-content table,
.page-id-53 #main-content table tr,
.page-id-53 #main-content table th,
.page-id-53 #main-content table td {
    background: none;
    border: 0;
}

.page-id-53 #main-content table td {
    font-size: 17px;
    padding: 3px 0;
}

#toggler {
    position: fixed;
    right: -100px;
    bottom: 30%;
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    font-size: 20px;
}

#toggler a {
    display: block;
    background: #f67d00;
    color: #fff;
    padding: 12px 35px 11px 35px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    -webkit-box-shadow: 0px 0px 11px 0px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 11px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 0px 11px 0px rgba(0, 0, 0, 0.3);
}

#toggler a:hover {
    background: #4b4b4b;
}


/* media queries */

@media only screen and (max-width: 1024px) {

    .top-login {
        right: 19px;
        z-index: 10000;
        top: 0;
    }

    .top-bar-section ul li {
        margin: 0;
        padding-left: 10px;
    }


    .top-bar-section>ul>li {
        padding-left: 0 !important;
    }

    .top-bar-section>ul>li>a {
        padding-left: 5px !important;
        padding-right: 5px !important;
        font-size: 17px;
    }

    .top-bar-section>ul>li:last-child a {
        padding-right: 15px !important;
    }

    .top-bar-section .right li.menu-item {
        padding-left: 10px;
    }

    .top-bar-section .right li .dropdown li.back a:before {
        content: "";
        border: inset 6px;
        border-color: transparent rgb(242, 242, 242) transparent transparent;
        border-top-style: solid;
        display: inline-block;
        margin-right: 10px;
        margin-left: -5px;
    }

    #toggler {
        display: none;
    }

    #breadcrumbs {
        line-height: 140%;
    }
}

@media only screen and (max-width: 940px) {

    .top-bar-section ul li {
        padding-left: 0px;
    }

    #footer-menu>ul>li {
        width: 32%;
        margin-bottom: 30px;
    }

    .top-login>.social {
        display: none;
    }
}

@media only screen and (max-width: 870px) {

    #logo {
        margin-left: 20px;
    }

    .top-bar-section .right li .dropdown li a {
        font-size: 13px;
        line-height: 45px !important;
        padding: 0 10px !important;
    }

    .top-bar-section .right li>a {
        font-size: 15px;
        padding: 0 8px 15px 8px !important;
    }

    #news .links {
        padding-right: 4px !important;
    }

    #news .news {
        padding-left: 4px !important;
    }

    #slider .orbit-caption {
        display: none;
    }


    #logo {
        margin-top: -15px;
    }

    #logo img {
        width: 80px;
    }
}

@media only screen and (min-width: 642px) and (max-width: 770px) {

    .top-bar-section .right li .dropdown li a {
        padding-left: 0 !important;
        font-size: 12px;
    }

    #main-content h2 {
        font-size: 17px;
        line-height: 140%;
    }
}

@media only screen and (max-width: 641px) {

    #header {
        height: 120px;
    }

    .top-login {
        right: 5px;
    }

    .top-bar-section {
        margin-top: 55px;
    }

    .top-login .links a {
        font-size: 12px;
    }

    .top-login #s {
        height: 26px;
        width: 90px;
    }

    .searchform input[type="submit"] {
        height: 24px !important;
    }

    .top-login>div {
        top: 2px;
    }

    .top-bar {
        height: 100px;
    }

    .top-bar.expanded {
        height: auto !important;
        padding-bottom: 100px;
    }

    .top-bar .toggle-topbar {
        margin-top: 30px !important;
        margin-right: 7px;
    }

    .top-bar .toggle-topbar.menu-icon a {
        color: #4b4b4b;
        font-size: 18px;
    }

    .top-bar .toggle-topbar.menu-icon a span::after {
        box-shadow: 0 0 0 1px #4b4b4b, 0 7px 0 1px #4b4b4b, 0 14px 0 1px #4b4b4b;
    }

    .top-bar-section ul {
        background: #4b4b4b !important;
        z-index: 10000 !important;
        position: relative;
        padding: 10px 5px !important;
    }

    .top-bar-section ul li {
        width: 100% !important;
        text-align: left;
        display: block !important;
    }

    .top-bar-section ul li.active a {
        background: #646464 !important;
    }

    .top-bar-section ul.right li a {
        color: #fff !important;
        font-size: 17px !important;
        line-height: 45px !important;
        text-align: left;
        padding: 0 !important;
        text-transform: uppercase !important;
    }

    .top-bar-section ul li a:hover {
        color: #fff !important;
    }

    .top-bar-section li.has-dropdown.active>a:after,
    .top-bar-section li.has-dropdown:hover>a:after {
        display: none !important;
    }

    .top-bar-section ul a:hover,
    .top-bar-section ul a:focus,
    .top-bar-section ul a:active {
        background: #4b4b4b;
    }

    #logo {
        margin-top: 0;
    }

    #logo img {
        width: 70px;
        height: auto;
    }

    #sidebar .kontakt {
        width: 100% !important;
    }

    #wpadminbar {
        display: none;
    }

    html.js {
        margin-top: 0 !important;
    }

    #workflow {
        margin-bottom: 30px;
    }

    #workflow h2:after {
        display: none;
    }

    #workflow>.row>.columns {
        padding-bottom: 40px;
        width: 100% !important;
    }


    #news {
        float: left;
        clear: both;
        margin-top: -24px;
    }

    #news>.row>.columns,
    #news>.row>.columns>.box,
    #magazin>.row>.columns,
    #footer>.row>.columns {
        padding: 0 !important;
    }


    #footer .searchform {
        width: 100%;
        float: none;
    }

    #footer .social {
        text-align: left !important;
    }

    #footer .social a {
        margin-left: 0;
        margin-right: 10px;
    }

    #footer-menu>ul>li {
        width: 44%;
        margin-right: 5%;
    }

    #footer-menu>ul {
        width: 100%;
    }

    #header {
        padding-top: 20px;
    }

    #content {
        padding-top: 20px;
    }

    .home #content {
        padding-top: 80px;
    }

    #main-content>.row>.large-8,
    #main-content>.row>.large-12 {
        padding: 0 15px;
    }

    #sidebar {
        margin-top: 50px;
    }

    #slider .slick-arrow.slick-next,
    #slider .slick-arrow.slick-prev {
        background-color: transparent;
    }

    .subpages>.columns {
        padding: 0 !important;
    }

    #posts .post .date {
        width: 100%;
        float: none;
        margin-bottom: 5px;
    }

    #posts .post .content {
        width: 100%;
        float: none;
    }

    .subpages .wide .alt_image {
        display: none;
    }

    .subpages .wide .box_image {
        display: block;
    }

    .subpages>.columns:nth-child(odd) {
        padding-left: 0;
        padding-right: 10px;
    }

    .subpages>.columns:nth-child(even) {
        padding-right: 0;
        padding-left: 10px;
    }
}

@media only screen and (max-width: 490px) {

    #footer-menu>ul>li {
        width: 100%;
        margin-right: 0%;
    }

    #accordion .ui-accordion-content td {
        width: 100%;
        display: block;
    }
}

#cookiebanner {
    margin: 20px auto;
    text-align: center;
}

.menu-item.has-dropdown.not-click>a {
    pointer-events: none;
}


@media only screen and (max-width: 641px) {
    .menu-item.has-dropdown.not-click>a {
        pointer-events: unset;
    }

    .menu-item a {
        display: block !important;
    }

    a.parent-link {
       pointer-events: none;
    }
 }

.archive-box ul li {
    list-style-type: disc;
    margin-left: 20px;
}