.articles .post-thumbnail.contain img,
body.home .content-area .site-main .recent-news-last img {
  vertical-align: top;
}

body.home .content-area .site-main .recent-news-last {
  width: 100%;
}

body.home .content-area .site-main .recent-news-last img {
  min-width: 100%;
  width: 310px;
  max-height: 200px;
  height: 200px;
}

body.home .content-area .site-main .recent-news-last .entry-header {
  text-align: center;
}

.content-area .entry-footer,
.content-area .post-thumbnail,
body.category #main {
  margin-bottom: 8px;
}

.content-area article:last-of-type,
.content-area article:last-of-type .post-thumbnail {
  margin-bottom: 0;
}

.content-area .single .post-thumbnail img {
  max-width: none;
  object-fit: contain;
}

.mfp-bottom-bar {
  margin-top: -40px;
  padding: 5px;
  background: rgba(0, 0, 0, 0.3);
}

.mfp-title {
  line-height: normal;
}

.single-publisher .articles {
  padding-right: 0;
  margin-right: 0;
}

.single-publisher .content-area .single .post-thumbnail img {
  min-width: 220px;
  max-height: 170px;
}

.single-post .post-thumbnail img,
.single-post .entry-content img {
  cursor: pointer;
}

@media screen and (max-width: 800px) {
  body.home .content-area .site-main .container .recent-news-last {
    flex-direction: column;
  }
  body.home .content-area .site-main .recent-news-last .entry-header {
    text-align: center;
  }
  body.home .content-area .site-main .container .recent-news-last .post {
    margin: 10px 0;
  }
}

@media screen and (max-width: 960px) {
  .site-header .site-branding {
    margin-left: 60px;
  }
}

body #shiftnav-toggle-main.shiftnav-toggle-style-burger_only {
  padding-top: 5px;
}

.kontakt-info,
.kontakt-form {
  width: 50%;
  float: left;
}

@media screen and (max-width: 800px) {
  .kontakt-info,
  .kontakt-form {
    width: 100%;
    float: none;
  }
}

.kontakt-fields {
  max-width: 290px;
  width: 100%;
  margin: 0 auto;
}

.kontakt-fields > div {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.kontakt-fields span.req {
  color: red;
}

.kontakt-fields input,
.kontakt-fields select {
  height: 28px;
  line-height: 30px;
}

.kontakt-fields input,
.kontakt-fields select,
.kontakt-fields textarea {
  width: 100%;
  box-shadow: inset 0px 0px 3px 0px #d1007f22;
  background: none;
  padding: 5px 7px;
}

.kontakt-fields input[type="submit"] {
  font-size: 1rem;
  padding: 0;
}

.advert.top>a{margin-bottom:20px}
body.home .advert.top{
  margin:0;
}
body.home .advert.top>a:first-child {
  margin-top: 30px;
}
body.home .advert.top a {
  /*margin-bottom: 0;*/
}
body.category .advert.top{
  /*margin:0;*/
}
body.category .advert.top>a:first-child {
  margin-top: 30px;
}

body .external-content {
  flex-wrap: nowrap;
}
body .external-content > div {
  max-width: 100%;
  flex-basis: 45%;
  width: 45%;
  flex-shrink: 1;
  flex-grow: 1;
}
@media screen and (max-width: 1100px) {
  body .external-content {
    flex-direction: column;
  }
  body .external-content > div {
    width: auto;
  }
  body .external-content > div.vertDivider {
    display: none;
  }
}
body .external-content > div.vertDivider {
  flex-basis: 5%;
  padding-right: 5%;
  margin-right: 5%;
  border-right: 1px solid #efefef;
}

.external-content .wissen .container,
.external-content .wissen .note {
  padding-right: 0;
  border-right: none;
}
.external-content .testphase .container,
.external-content .testphase .note {
  padding-left: 10px;
}
.external-content .wissen + .testphase .container,
.external-content .wissen + .testphase .note {
  padding-left: 10%;
  margin-left: 10%;
  border-left: 1px solid #e5e5e5;
}

body.category .content-area .promoted > a {
  text-decoration: none;
  display: inline-block;
}
body.category .content-area .promoted .background-image.contain,
body.category .content-area .promoted > a > img.background-image,
body.category .content-area .promoted > a > img {
  width: 700px;
  height: auto;
  vertical-align: top;
}
body.category .content-area .promoted .promoted-details {
  margin-top: 0;
  padding: 24px 8%;
}
body.category .content-area .promoted .promoted-details .teaser {
  font-family: "Frutiger LT Std", sans-serif;
}

.ubermenu-sub-indicators
.ubermenu-has-submenu-drop
> .ubermenu-target
> .ubermenu-sub-indicator {
  margin-top: -9px;
  font-weight: normal;
  font-family: FontAwesome;
}

body {
  position: relative;
  padding-top:90px; /* header size desktop */
}
.site-header {
  position: absolute;
  height: 90px;
  z-index: 3;
}

.site-header .wrapper {
  padding: 15px 0 5px;
}

.main-navigation .ubermenu {
  padding-top: 20px;
}
.site-header .ubermenu-search {
  padding-top: 15px;
}

.site-header .ubermenu-search .ubermenu-search-input {
  height: 28px;
  vertical-align: top;
}
.site-header .ubermenu-search .ubermenu-search-submit {
  background: #28348a;
  color: #fff;
  height: 28px;
  border-radius: 0;
  border: none;
}

.content-area a:hover {
  text-decoration: none;
}

.site-footer .content .group {
  flex-grow: 1;
}

.no-results .page-content {
  margin: 1.5em 0;
}

.no-results .page-content .search-form {
  display: flex;
}
.no-results .page-content .search-form label {
  vertical-align: top;
  display: inline-block;
}
.no-results .page-content .search-form .search-field,
.no-results .page-content .search-form .search-submit {
  border-radius: 0;
}
.no-results .page-content .search-form .search-submit {
  height: 32px;
  background-color: #28348a;
  color: #fff;
  border: none;
}

body.page-template-page-services article .entry-content {
  background-image: url("../media/images/services-background-barometer.png");
}

body.home .slider .caption-wrap {
  background: linear-gradient(
          to bottom,
          rgba(255, 255, 255, 0),
          rgba(225, 225, 225, 0.8)
  );
  text-shadow: 1px 1px 2px #444;
}

body .metaslider .flexslider {
  margin-bottom: 70px;
}

.subcategories {
  background-position: top right;
  background-repeat: no-repeat;
}

.subcategories .part a {
  background-color: #28348acc;
}

.subcategories .part a.noCat {
  opacity: 0.3;
}

/* PUBLISHER TEMPLATE */

.single-publisher .type-publisher .entry-header .post-thumbnail {
  margin-bottom: 30px;
  border: 1px solid #eee;
}
.single-publisher .type-publisher .entry-header .post-thumbnail img {
  vertical-align: top;
  width: auto;
  max-width: 100%;
}

.publishers-template {
  background: white;
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.publishers-template a {
  color: #666;
  text-decoration: none;
}

.publishers-template a:hover {
  color: #28348a;
}

.publisher-summary {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.publisher-title {
  width: 100%;
}

.publisher-address {
  font-size: 15px;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

.publisher-info {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.publisher-mobile {
  padding-right: 30px;
}

.publisher-mobile,
.publisher-contacts {
  flex-grow: 1;
  flex-shrink: 0;
}

.publisher-mobile a {
  color: #28348a;
}

.publisher-contact-segment {
  display: flex;
  margin-bottom: 3px;
  font-size: 14px;
}

.publisher-contact-label {
  width: 70px;
  font-weight: bold;
  flex-shrink: 0;
  text-align: left;
}

.publisher-contact-entry {
  word-break: break-all;
}

.publisher-websites {
  display: flex;
  margin-top: 3px;
  font-size: 14px;
  font-weight: bold;
}

.publisher-website-label {
  min-width: 70px;
  text-align: left;
}

.publisher-website-urls {
  display: flex;
  flex-direction: column;
}

.publisher-website-urls a {
  color: #28348a;
  text-decoration: none;
  word-break: break-all;
  margin-bottom: 3px;
  font-size: 13px;
  line-height: 20px;
  padding-top: 1px;
}

.publisher-social-media {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  width: 100%;
  justify-content: space-around;
  margin-bottom: 20px;
}

.publisher-social-media a {
  font-size: 15px;
  color: #666;
  margin-right: 10px;
  margin-bottom: 10px;
  text-decoration: none;
}

.publisher-social-media a:hover {
  color: #28348a;
}

.publisher-social-media a i {
  margin-right: 7px;
}
.publisher-social-media a i.fa-facebook-f:before {
  content: "\f39e";
}

.articles article .entry-header .teaser {
  font-size: 1rem;
  line-height: 1.3rem;
  font-weight: normal;
}

.articles article .entry-header .teaser > p {
  margin: 0;
}

.company-portrait-logo {
  margin-bottom: 30px;
  border: 1px solid #eee;
}

.company-portrait-logo img {
  vertical-align: top;
}

/*********************************/
/* New elements
/*********************************/

i.fab.fa-kununu{display:inline-block;width:16px;height:16px;background:url(../fonts/kununu-logo-vector-small.svg) no-repeat center center/100%}
a:hover i.fab.fa-kununu{background-image:url(../fonts/kununu-logo-vector-small-hover.svg)}

.single-publisher .go-to-main-link{z-index:2}
.single-publisher aside{margin-bottom:30px;padding:0}
.single-publisher .expandable-wrapper{position:relative;padding-bottom:30px;overflow:hidden;transition:.75s max-height;max-height:780px}
.single-publisher .expandable-wrapper:after{content:'';position:absolute;width:100%;bottom:0;height:30px;z-index:2;
  background: -moz-linear-gradient(top,  rgba(242,242,242,0) 0%, rgba(242,242,242,1) 66%, rgba(242,242,242,1) 100%);
  background: -webkit-linear-gradient(top,  rgba(242,242,242,0) 0%,rgba(242,242,242,1) 66%,rgba(242,242,242,1) 100%);
  background: linear-gradient(to bottom,  rgba(242,242,242,0) 0%,rgba(242,242,242,1) 66%,rgba(242,242,242,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f2f2f2', endColorstr='#f2f2f2',GradientType=0 );}
.single-publisher .expandable-wrapper.disabled:after{display:none}
.single-publisher .site-main .expandable-wrapper:after{
  background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 66%, rgba(255,255,255,1) 100%);
  background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 66%,rgba(255,255,255,1) 100%);
  background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 66%,rgba(255,255,255,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );}
.single-publisher .button-wrapper{padding:0 5% 1% 5%;text-align:center}
.single-publisher .exp-coll{font-size:15px;display:none;outline:none}
.single-publisher aside h4{margin:0 0 15px 0}
.single-publisher aside .articles{padding-bottom:40px}
.single-publisher aside .metaslider{display:none}
.single-publisher aside .articles .flexslider{margin-bottom:0}
.single-publisher aside .articles article .entry-header{padding:5px 15px}
.single-publisher aside .articles article .entry-header .entry-title{height:45px;overflow:hidden}
.single-publisher aside .articles article .entry-header .entry-title a{text-overflow:initial;overflow:visible;white-space:normal}
.single-publisher aside .articles article .entry-header .teaser{font-size:0.875rem}
.single-publisher aside .articles article{display:block}
.single-publisher aside .articles article .post-thumbnail{line-height:0}
.single-publisher aside .articles article .post-thumbnail img{min-width:initial;width:100%;max-height:150px;height:150px}
.single-publisher aside .articles .flex-direction-nav a{height:60px}
/*.single-publisher aside .articles .flex-direction-nav a.flex-next,
.single-publisher aside .articles .flex-direction-nav a.flex-prev{display:none}*/
.single-publisher aside .flexslider .count{display:none;position:absolute;bottom:0;right:0;font-size:14px;line-height:14px;padding:5px;z-index:2;color:#ccc}

.category-marktplatz .company-list.slider{width:100%;text-align:left;border:1px solid #d2d4d8;margin-top:40px}
.category-marktplatz .company-list.slider ul{list-style:none;padding:0;margin:0}
.category-marktplatz .company-list.slider ul.companies{margin-bottom:50px}
.category-marktplatz .company-list.slider li{line-height:1.5em;position:relative}
.category-marktplatz .company-list.slider li .image-holder{display:none;position:absolute;right:5%;top:50%;transform:translateY(-50%);background:#fff;padding:6px;border:1px solid #eee;border-radius:3px;z-index:1;
  -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15);
  -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15);
  box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15)}
.category-marktplatz .company-list.slider li li:hover .image-holder{display:block}
.category-marktplatz .company-list.slider li li.premium{font-weight:bold}
.category-marktplatz .company-list.slider li a{padding:5px 10px}
.category-marktplatz .company-list.slider .slider-content a{display:block;border-bottom:1px solid #f3f3f3}
.category-marktplatz .company-list.slider .slider-content>ul>li>a{font-weight:bold}
.category-marktplatz .company-list.slider .slide-up,
.category-marktplatz .company-list.slider .slide-down,
.category-marktplatz .company-list.slider .slider-nav{background:#f0f0f0}
.category-marktplatz .company-list.slider .slide-up .arrow,
.category-marktplatz .company-list.slider .slide-down .arrow{position:absolute;top:0}
.category-marktplatz .company-list.slider .slider-nav li a{line-height:1.5em;color:#4169e1;text-decoration:underline}
.category-marktplatz .company-list.slider .arrow{border:none}
.category-marktplatz .company-list.slider .arrow:before{font-size:20px;line-height:20px;font-family:FontAwesome;color:#333}
.category-marktplatz .company-list.slider .slide-up .arrow:before{content:"\f106"}
.category-marktplatz .company-list.slider .slide-down .arrow:before{content:"\f107"}

.category-marktplatz aside.advert.vertical hr{margin:15px 0}
aside .buttons{padding:20px 0}
aside .buttons a{text-align:center;padding: 6px 20px 4px;background-color:#28348a;margin:0;color:#fff;font-weight:bold}
body.category.category-marktplatz .advert{margin:0}

.advert.dropdown,
body.category.category-marktplatz .advert.dropdown{width:100%;text-align:center;transition:margin-top .5s cubic-bezier(0.55, 0, 0.1, 1);
  -webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.05);
  -moz-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.05);
  box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.05);}
.advert.dropdown.open{margin-top:0 !important}
.advert.dropdown .wrapper{position:relative}
.advert.dropdown a{margin:0;outline:none}
.advert.dropdown a .note{font-size:.8em;bottom:-29px;height:30px;line-height:30px;top:auto;left:50%;background:#fff;transform:translateX(-50%);
  -webkit-border-bottom-right-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-bottomright: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15);
  -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15);
  box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15);}
.advert.dropdown a .note .dashicons{display:none;height:30px;line-height:30px;margin-left:10px;color:#959595}
.advert.dropdown.open a .note .dashicons{display:inline}

.advert.vertical .post-thumbnail.company-logo .note{}
aside.advert.vertical h4{font-size:14px;margin-top:0}
.advert a.company-logo{position:relative;width:100%;border:1px solid #e5e5e5;border-radius:3px;text-align:center;padding:10px 0}
.advert a.company-logo img{border:none;padding:0}

.advert.popup{margin:0}
.ui-widget-overlay{width:100%;height:100%;position:absolute;background:rgba(0,0,0,.75);z-index:3;top:0}
.ui-dialog{z-index:4;position:fixed !important;top:50vh !important;left:50vw !important;transform:translate3d(-50%,-50%,0)}
.ui-dialog .ui-dialog-titlebar{display:block;background:#fff;border-top-right-radius:5px;border-top-left-radius:5px;border-bottom:1px solid #e5e5e5;padding:5px 10px}
.ui-dialog .ui-dialog-titlebar .ui-dialog-title{}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close{font-size:0;background:none;border:none;float:right}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-icon{cursor:pointer;text-align:center}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-icon:after{font-family:FontAwesome;font-size:20px;content:"\f00d";}
.ui-dialog .ui-dialog-content .wrapper{padding:20px;background:#fff;border-bottom-right-radius:5px;border-bottom-left-radius:5px}
.ui-dialog .advert a{margin:0}

.ubermenu .ubermenu-submenu-drop.ubermenu-submenu-align-full_width.ubermenu-submenu-id-26424,
.ubermenu .ubermenu-submenu-drop.ubermenu-submenu-align-full_width.ubermenu-submenu-id-49584{width:420px;right:0;left:unset;min-width:0}

.home #metaslider-id-21187,
.home #metaslider-id-46219{display:none}
.home .welcome-slider{width:100%}
.home .welcome-slider .metaslider .flexslider ul.slides{width:852px}
.home .welcome-slider .metaslider .flexslider .slides li{width:850px !important}
.home .welcome-slider .metaslider .flexslider .slides li a{position:relative;display:block;height:466px;overflow:hidden}
.home .welcome-slider .metaslider .flexslider .slides li a img{position:absolute;width:auto;height:101%;top:50%;left:50%;transform:translate3d(-50%,-50%,0)}
@media (max-width:1200px){
  .home .welcome-slider .metaslider .flexslider ul.slides {width:auto}
  .home .welcome-slider .metaslider .flexslider .slides li{width:100% !important}
  .home .welcome-slider .metaslider .flexslider .slides li a{height:50vh}
}
@media (max-width:480px){
  .home .welcome-slider .metaslider .flexslider .slides li a{height:33vh}
}

