body {
    margin: 0;
    padding: 0;
    font-family: Arial;
}
body {
    margin: 0;
    padding: 0;
    font-family: Arial;
}


.wrapper {
    position: relative;
    width: 97%;
    max-width: none;
}

/* #header h1{
    margin: 0 40px;
} */

#body {
    padding: 0 40px;
}

.normal#body {
    padding: 0;
}

#header {
    margin-bottom: 15px;
}


#header h1 a {
    background: url(/images/img-logo-admin.png) 0px 0 no-repeat;
    display: block;
    height: 150px;
    margin: 25px 0 0 7px;
    width: 100%;
    max-width: 400px;
    position: relative;
    background-size: contain;
}

#main-search {
    background: url(/images/search-bg.png) 5px 0 no-repeat;
    display: block;
    height: 400px;
    width: 100%;
    position: relative;
    background-size: cover;
}


#search {
    text-align: center;
    width: 100%;
    padding-top: 12rem;
}

#search #keyword {
    padding: 8px 10px;
    text-align: center;
    color: #666;
    font-size: 24px;
    width: 100%;
    max-width: 586px;
    display: inline;
}


#left, #body-container {
    display: inline-block;
    float: left;
}

#left{
    width: 370px;
}

#left, #right {
    margin-top: 180px;
}

#body-container {
    width: calc(100% - 740px);
}


#left .banners {
    width: 100%;
}

.left_group {
    margin-right: 4%;
}

.left_group,
.right_group {
    width: 47%;
    position: relative;
    float: left;
}

#left .banner,
#right .banner {
    float: left;
    width: 175px;
    margin-right: 10px;
    margin-top: 10px;
}

.banners h2 {
    font-size: 16px;
    color: #096CFF;
    text-align: center;
    margin-bottom: 25px;
}

/* .banner h2 p {
    font-size: 16px;
    color: #424242;
    line-height: 20px;
} */

.banners .banner-head {
    padding: 0px 0px 1px 5px;
    margin: 0;
}

.banners ul.banner-head {
    list-style: none;
    margin: 0 -10px 0 0;
}

.banners .banner-head li {
    width: 95%;
    height: auto;
    overflow: hidden;
    float: none;
    margin: 0 0px 5px 0;
    text-align: center;
}

.banners .banner-head li a {
    display: block;
    float: none;
    width: auto;
    height: auto;
    background-color: transparent;
}

.banners .banner-head li a {
    display: block;
    float: left;
    text-indent: -10000px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: white;
}

.banners .banner-head li a img {
    display: block;
    margin: 5px auto;
    width: 100%;
    max-width: 164px;
}

.banners .banner_wrapper {
    background-color: transparent;
    border: medium none;
    /* background-color: #8da8da; */
    border: 3px solid #8da8da;
    padding: 0 2px 0;
    padding-right: 10px;
    /* margin-bottom: 20px; */

}

.menu {
    display: inline-block;
    width: 47%;
    text-align: center;
    margin-bottom: 30px;
}

#right .menu{
    width: 100%;
    position: relative;
}

.menu span label, .banner h2 p {
    text-decoration: none;
    font-weight: bold;
    color: #424242;
    font-size: 18px !important;
    line-height: 20px;
}

.menu span .triangle, .banner h2 .triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 15px solid #8da8da;
    content: " ";
    margin-top: 5px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.banner h2 .triangle {
    cursor: auto !important;
}


#left .menu-links.menu-item {
    position: relative;
}

#left .menu-links.menu-item {
    margin-bottom: 3px;
}

.menu-links.menu-item {
    width: auto;
}

.menu-item {
    background: #fff;
    width: 185px;
}

#left .menu-links label {
    text-align: center;
    width: 14.5em;
}

.menu-links label {
    background: #5499ca;
    text-align: center;
    color: #fff;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 10px;
}


.menu-right .menu-item-label>a {
    padding: 18px 6px;
    line-height: 17px;
}

.menu-links label a,
.menu-links label a:hover {
    text-decoration: none;
    padding: 8px 6px;
    color: #fff;
    width: 12.79em;
    display: block;
    font-weight: 600;
}

.menu-item ul {
    width: 260px;
    margin-top: 0;
}

.menu-item li {
    border-bottom: 1px solid #eee;
    margin-left: 3px;
    color: #fff;
}

.menu-item li:hover {
    background: #5499ca;
}

.menu-item ul {
    background: #fff;
    font-size: 13px;
    line-height: 30px;
    list-style-type: none;
    overflow: hidden;
    padding: 0px;
    display: none;
    min-width: 185px;
}

.menu-item ul {
    background: #fff;
    font-size: 13px;
    line-height: 30px;
    height: auto;
    list-style-type: none;
    overflow: hidden;
    padding: 0px;
    -webkit-transition: height 1s ease;
    -moz-transition: height 1s ease;
    -o-transition: height 1s ease;
    -ms-transition: height 1s ease;
    transition: height 1s ease;
}

.menu-item li a {
    color: #fff;
    background: linear-gradient(to right, rgba(89, 183, 233, 0.86), #5499ca);
    background: #5499ca;
    padding-left: 8px;
    font-weight: 600;
}

.menu-item ul a {
    margin-left: 0px;
    text-decoration: none;
    color: #fff;
    display: block;
}


.menu-item ul.opened {
    display: inline-block;
    position: absolute;
    z-index: 1;
    top: 0;
}

#body-container form {
    text-align: center;
}

#body-container form .text_field , #body-container form .select_field{
    padding: 7px 2px;
    text-align: center;
    color: #666;
    max-width: 200px;
    width: 100%;
    display: inline-block;
    font-size: 16px;
}


#body-container form .select_field {
    max-width: 208px;
}

.field_sep {
    display: inline-block;
    width: 10px;
}

#jobs.spy {
    width: 70%;
    min-width: 595px;
    margin: auto !important;
}

#right {
    float: right;
    max-width: 175px;
}

#right .left_group {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.menu .menu-item ul {
    position: absolute;
    z-index: 1;
    top: 1px;
    margin-left: 0;
    width: 200px;
    margin-top: 0;
}

#left .menu .menu-item ul {
    left: -10px;
}

#right .menu .menu-item ul {
    right: -20px;
    top: 62px;
}

.menu .menu-item ul li a {
    text-align: left !important;
}

#body-container .aktiv-links {
    margin-top: 62px;
}

ul#jobs div.jobs1 {
    margin: 0;
}

ul#jobs div.jobs {
    padding: 10px 0;
}

ul#jobs div.jobs1:hover {
    background: none repeat scroll 0 0 #eef9ff;
}

ul#jobs div.jobs1 div.jobs {
    background: url(/images/hdiv1.gif) repeat-x scroll left bottom transparent;
}

#logo-ort {
    text-align: right;
}

.job-ort {
    cursor: default;
}

#search_results {
    width: 70%;
    min-width: 555px;
    margin: 0 auto;
}

@media(max-width: 768px) {
    #main-search {
        height: 180px;
    }
}

#header{
    height: 140px;
    margin-top: 15px;
}

#header h1 {
    margin: 0 0 0 -22px;
    text-align: left;
    text-indent: -10000px;
    width: 100%;
    position: relative;
    display: inline-block;
}

#header h2 {
    position: absolute;
    display: block;
    width: 100%;
    top: 40%;
    font-size: 28px;
    color: #4471c3;
    line-height: 35px;
}

#header h1 a {
    margin: 0px;
    width: auto;
    max-width: 263px;
    height: 140px;
}

#search #keyword {
    padding: 8px 10px;
    text-align: center;
    color: #666;
    font-size: 24px;
    width: 86%;
    max-width: 530px;
    display: inline;
    height: 38px;
}

#search_results {
    width: 100%;
}

#firmen-liste {

}

#firmen-liste .firma {
    border-bottom: 1px solid #6d6d6d;
    padding-bottom: 15px;
}

#firmen-liste .firma:last-child {
    border-bottom: medium none;
}

#firmen-liste .firma table {

}

#firmen-liste .firma h3 {
    font-size: 0.825rem;
    margin-bottom: 10px;
}

#firmen-liste .firma h4, #firmen-liste .firma table td {
    font-size: 11px;
}


#firmen-liste .firma table{
     width: 100%;
    table-layout: fixed;
}

#firmen-liste .firma table td{
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 8px 10px;
}

#firmen-liste .firma table td.logo {
    width: 25%;
    max-width: 168px;
    text-align: center;
    vertical-align: middle;
}

#firmen-liste .firma table td.logo div{

    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertical */
}

#firmen-liste .firma table td.logo img{
    width: 100%;
    max-width: 168px;
}

#firmen-liste .firma table td.address {
    /* width: 30%; */
    width: 220px;
}

#firmen-liste .firma table td.desc {
    /* width: 25%; */
    width: 200px;
}

#firmen-liste .firma table td.homepage {
    width: 10%;
}


#firmen-liste .firma table td.icon {
    text-align: center;
    width: 10%;
}

#firmen-liste .firma table td.icon img{
    width: 100%;
}

#firmen-liste .firma table td p {
    margin-bottom: 5px;
}


.website.triangle {
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-top: 50px solid #8da8da;
    content: " ";
    margin-top: 12px;
    display: inline-block;
    text-align: center;
    rotate: -90deg;
    cursor: pointer;
    /* margin-left: -35px; */
}

.google-maps-marker {
    cursor: pointer;
}

.firma {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 1rem;
}

.firma div{
    height: 100%;
    /* max-height: 170px; */
}
.firma .address {
    min-width: 175px;
}

.firma .address, .firma .address h3 {
    font-size: 0.825rem;
}

.firma .address p{
    margin-bottom: 5px;
    line-height: 1.2rem;
}

.firma div.logo {
    min-width: 200px;
    text-align: center;
    /* display: grid; */
    justify-items: center; /* horizontal */
    /* align-items: center;   vertical */
}

.firma div.logo img {
    float: none;
    width: 100%;
    max-height: 150px;
    max-width: 180px;
}

.firma .homepage {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;   /* vertical */
}

.firma .icon {
    min-width: 76px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;   /* vertical */
}

.firma .icon img {
    width: 76px;
    height: 75px;
}
