/* ---------------------------------- Home ---------------------------------- */


.home-main {
	padding: 0;
}

.home-main-section {
	padding: 3rem 0rem;
}

.home-main-section.claim,
.home-main-section.claim p,
.home-main-section.claim h1,
.home-main-section.claim h2,
.home-main-section.claim h3,
.home-main-section.claim h3,
.home-main-section.claim h5 {
	color: white;
}
.home-main-section.claim h1 {
	font-size: 2.8rem;
	padding:0 3rem;
	text-align: center;
}

.home-main-section.claim .headline-div {
	margin: 1rem auto;
}

.home-main-section.claim .headline-div h3 {
	font-size: 250%;
}

.home-main-section.claim a.button {
	margin-bottom: 3rem;
	font-size: 150%;
}

.top-category-item {
	width: 150px;
	height: 80px;
	text-align: center;
}

.top-category-item p {
	margin-bottom: 0px;
	width: 100%;
}

.prev-icon {
	cursor: pointer;
	height: 30px;
	width: 30px;
	margin-left: auto;
    margin-right: auto;
	background-image: url(../images/svg/top-category-right.svg);
}

.next-icon {
	cursor: pointer;
	height: 30px;
	width: 30px;
	margin-left: auto;
    margin-right: auto;
	background-image: url(../images/svg/top-category-left.svg);
}

.prev-icon-new-entries {
	cursor: pointer;
	height: 30px;
	width: 30px;
	margin-left: auto;
    margin-right: auto;
	background-image: url(../images/svg/top-category-right.svg);
}

.next-icon-new-entries {
	cursor: pointer;
	height: 30px;
	width: 30px;
	margin-left: auto;
    margin-right: auto;
	background-image: url(../images/svg/top-category-left.svg);
}

#eintragerstellenbutton {
    color: #474747;
}

#eintragerstellenbutton:hover {
    color: #474747;
}

.top-category-icon {
	height: 52px;
	width: 70px;
	background-repeat: no-repeat;
    background-image: url(../images/svg/top-category-icons.svg);
    background-color: transparent;
    background-size: 350px 300px;
    margin-left: auto;
  	margin-right: auto;
}

.top-category-item:hover {
	text-decoration: underline white;
}

.top-category-icon.restaurant {
	background-position: -17px -32px;
}

.top-category-icon.hotel {
	background-position: -96px -32px;
	margin-left: 32px;
}

.top-category-icon.baeckerei {
	background-position: -182px -32px;
}

.top-category-icon.apotheke {
	background-position: -260px -32px;
}

.top-category-icon.friseur {
	background-position: -17px -88px;
}

.top-category-icon.zahnarzt {
	background-position: -96px -88px;
}

.top-category-icon.immobilien {
	background-position: -182px -88px;
}

.top-category-icon.physiotherapie {
	background-position: -260px -88px;
}

.top-category-icon.taxi {
	background-position: -17px -150px;
}

.top-category-icon.tierarzt {
	background-position: -96px -150px;
}

.top-category-icon.rechtsanwalt {
	background-position: -182px -150px;
}

.top-category-icon.steuerberater {
	background-position: -260px -150px;
}

.top-category-icon.allgemeinarzt {
	background-position: -17px -213px;
}

.top-category-icon.kfzwerkstatt {
	background-position: -96px -213px;
}

.top-category-icon.kosmetikstudio {
	background-position: -182px -213px;
}

.top-categories-carousel {
	padding: 1em 0em;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.top-categories-background {
	background-color: white;
	border-top: 1px solid #555;
	border-bottom: 1px solid #555;
}

.top-categories-row {
	position: relative;
}

.top-category-item-background {
	background-color: #f6f6f6;
	border-radius: 6px;
	max-width: 140px;
	height: 100px;
	padding: 10px 0px;
}

.customNextBtn {
	width: 35px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(255,255,255,.5);
	z-index: 1;
}

.customPrevBtn {
	width: 35px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	background-color: rgba(255,255,255,.5);
	z-index: 1;
}

.new-entries-carousel {
    position: relative;
}

.customNextBtnNewEntries {
	width: 8%;
	max-width: 48px;
    height: 100%;
    position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	background-color: #f6f6f6;
    border-radius: 5px;
    cursor: pointer;
}

.customPrevBtnNewEntries {
	width: 8%;
	max-width: 48px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	background-color: #f6f6f6;
    border-radius: 5px;
    cursor: pointer;
}

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

    .customNextBtnNewEntries {
        margin-left: 32px;
        width: 48px;
    }
    .customPrevBtnNewEntries {
        margin-right: 32px;
        width: 48px;
    }
}

.top-category-item {
	color: black !important;
}

.top-category-item-background:hover {
	background-color: #f1f1f1 !important;
}

.home-main-bgimage {
	background-attachment: scroll;
    background-image: url(/images/home/home-main-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-main-section.themen,
.home-main-section.new-entries,
.home-main-section.top-searches,
.home-main-section.top-staedte,
.home-main-section.link-wueste {
}

.home-main-section.new-entries .card-section > h3,
.home-main-section.new-entries .card-section > .category,
.home-main-section.new-entries .card-section > .city {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.home-main-section .card-section {
	background-color: #eee;
	min-height: 135px;
}

.home-main-section.new-entries .card-section > .category {
	font-size: 80%;
	margin-bottom: 4px;
}

.home-main-section.new-entries h3 {
	margin: 0;
}

.home-main-section.new-entries img,
.home-main-section.themen img,
.home-main-section.top-staedte img {
	object-fit: cover;
    width: 100%;
    height: 145px;
}
.home-main-section.new-entries img {
	border:2px solid #f1f1f1;
}

.home-main-section.new-entries .old-entries {
	padding: 1.5rem 0rem 0rem 0rem;
}

.home-main-section.new-entries .old-entries a {
    background-color: #f6f6f6;
    margin: 4px 4px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
}


.home-main-section.themen .card-section {
	position: relative;
}

.home-main-section.themen .card-section > p {
	font-size: .8rem;
    overflow: hidden;
    height: 7.2rem;
    line-height: 1.2rem;
    position: relative;
}

.home-main-section.themen .card-section > p:after {
  content: "";
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70%;
  height: 1.4em;
  background: linear-gradient(to right, rgba(241, 241, 241, 0), rgba(241, 241, 241, 1) 50%);
}
.home-main-section .somelinks {
	padding-left:1em;
}

.home-main-section.themen h3,
.home-main-section.top-staedte h3 {
	position: relative;
	margin: 0;
}

.home-main-section.themen h3 > a,
.home-main-section.top-staedte h3 > a {
	position: absolute;
	top: 4px;
	left: 4px;
	color: white;
	background-color: rgba(0,0,0,.5);
    padding: 2px 5px;
    border-radius: 2px;
}


.top-cities-container {
	margin-top: 24px;
}

.home-main-section.top-staedte .card-section .topcitycategorysearch {
	font-size: 14px;
	display: block;
}

.home-main-section.further-info {
	background-color: transparent;
	margin-left: 5%;
}

.home-main-section .card {
	border-radius: 2px;
	border: 0 !important;
}

.home-main-section .gybenefits {
	background-color:rgba(0, 0, 0, 0.4);
	border-radius: 2px;
}

.home-main-section .gybenefits p {
	line-height:1.4;
}
.home-main-section .gybenefits h3 {
	line-height:1.1;
}


.home-main-section.top-staedte ul,
.home-main-section.further-info ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0;
}

.home-main-section.top-staedte ul > li,
.home-main-section.further-info ul > li {
	flex: 0 1 20rem;
    list-style-type: none;
}

.home-main-section .home-main-ad {
	margin: 0 auto; 
	max-width:64em
}

.home-main-seo-and-footer {
	background: linear-gradient(45deg,#b5b5b5 0,#f6f6f6 40%,#f6f6f6 60%,#b5b5b5 100%);
}

.main-footer {
	margin-top: 0;	
	background-color: transparent;
}
.home-main-section .cityIndex a, .home-main-section .cityIndex span {
	font-size:2em;
	margin-right:.4rem;
}
.home-main-section .advantages-svg {
	max-height:6.5rem;
}
.home-main-section .advantagesBox {
	text-align: center;
}

@media only screen and (max-width: 812px) {
   .home-main-section.claim {
       padding: 0;
   }
}

@media only screen and (max-width: 580px) {
    .home-main-section {
    padding: 1.2em .5em .5em .5em;	}

	.home-main-section.claim .headline-div {
		margin: 1rem;
	}

	.home-main-section.claim h1 {
		font-size: 1.8rem;
		text-align: center;
		padding: 0;
	}


	.home-main-section .gybenefits {
    	margin-left:0;
        margin-right:0;
        max-width: none;
        font-size:80%;
    }

    .home-main-section .old-entries {
        justify-content: center;
    }
}
