.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {line-height: 1.5;}
p {font-size: 16px;}
a {font-size: 16px;}
h2 {font-size: 2.8rem;}

h2 {font-size: 2.5rem;}
h3 {font-size: 2.2rem;}
.h4, h4 {font-size: 1.3rem}
.h5, h5 {font-size: 1rem;}

table {margin-top: 1rem}
table tbody {
    font-size: 16px;
}
tbody tr td {
    text-align: left;
}
table.special {width: 100%;}

a, a:hover, a:visited {color: #212529; text-decoration: none;}



b, strong {font-weight: normal;}
strong a {text-align: right;}

.vivivalogos_item__address p {font-size: .8rem;}
.vivvaview__header {color: #212529;}
.header .mainNav {margin-top: 4px;}

.news-list-view .article .header h3 a {font-size: 14px;}
footer.footer .top a {font-size: 14px;}

#collapseGroup p {font-size: 50px; text-transform: none;}

.accordion .card-header button {background-size: 40px 40px !important;}

.vivivateam__pers .col-md-2 {
    padding-left: 12px;
    padding-right: 12px;
}
.vivivateam__pers__title {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: normal;
    margin-bottom: 0;
}

.frame {font-size:16px; padding-top: 1.3rem; padding-bottom: 1.3rem;}

.navbar-brand {margin-right: 0;}
.mainHome {display: none;}

.col-typ2 {column-count: 2;}

.vivivapartner__partner__item__box {height: 130px;}
.vivivapartner__partner__item__box img {
    height: 100%;
    object-fit: contain;
}

.carousel-item .item__third .header a {font-size: 20px;}
.carousel-item .item__third img {width: 100%;}
.carousel-item.active .item__third:nth-of-type(2) .header {
    opacity: 1;
    transition:opacity 500ms ease-out;
}
footer a {font-size: 12px;}
footer.footer a[href^="tel:"] {
    margin-right: 5px;
}
.cc-window a {color: #ffffff; text-decoration: underline;}
.cc-window a.cc-btn {text-decoration: none;}

.moreBlock {overflow: hidden;}
.hiddenDown {display: none;}
.moreDown {float: right; cursor: pointer; color: #212529;}

.vivvaSlider .show-neighbors .item__third {max-height: 580px;}

.headerSlider__item__text__title {
    text-shadow: 3px 1px 3px rgb(100, 100, 100);
}

.experince {
    position: relative;
}
.experince .header {
    opacity: 0;
    border: none;
    position: absolute;
    top: 500px;
    text-align: center;
    width: 100%;
    transition:opacity 500ms ease-out;
    padding: 30px 0;
}
.expCarousel {overflow: initial;}
.active .experince:nth-of-type(2) .header {opacity: 1;}
.experince h2 {font-size: 18px;}
.collapseGroup2 h2 {
    font-family: 'AlexBrush';
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}
.collapseGroup2 .header {border: none; text-align: right;}
#collapseGroup .header h3 a span {color: #212529;}

.v-main .news .vivvaSlider {border-top: .15rem solid #eb690b;}
.v-rest .news .vivvaSlider {border-top: .15rem solid #ab0050;}
.v-martin .news .vivvaSlider {border-top: .15rem solid #52801a;}
.v-serv .news .vivvaSlider {border-top: .15rem solid #005994;}
.frame header h2 {margin-bottom: 0;}
.vivvaSlider {padding-top: 2rem;}

/* More Text */
.vivivaMainText .col-md-12:nth-of-type(3) {
    display: none;
    column-count: 2;
}
a.moreText {
    cursor: pointer;
    display: block;
    text-align: right;
    width: 100%;
}

.autoHeight {height: auto !important;}
.hiddenLi {display: none;}
.vivivaImgtxt .col-lg-6 {overflow: hidden;}

.mainNav .main-nav.level1 {position: relative;}

@media screen and (min-width: 769px) {
    .Dachmarke .mainNav .main-nav .main-nav__subdiv__ul {
        position: absolute;
        z-index: 1;
        left: auto;
        width: 740px;
        min-height: auto;
        top: 40px;
        padding: 1rem;
        right: -150px;
    }
    .Dachmarke .mainNav .main-nav .main-nav__subdiv__ul .level2 {
        float: left;
        width: 218px;
        padding-left: 0;
    }

    .layer {
        display: none;
        min-height: 420px;
        position: fixed;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.8);
        left: 0;
        top: auto;
        margin-top: 17px;
    }

    .header .mainNav .main-nav ul a:after {
        position: absolute;
        z-index: 2;
        bottom: -5px;
        content: " ";
        width: 0;
        height: 2px;
        left: 50%;
        transform: translateX(-50%);
        transition: width .5s;
    }

    .downloadElement a[href$=".pdf"] {
        padding-left: 1.3rem;
    }
}

/* Wohnen + Service + Gastro */
.Wohnen .mainNav .main-nav .main-nav__subdiv__ul, 
.Gastronomie .mainNav .main-nav .main-nav__subdiv__ul,
.Service .mainNav .main-nav .main-nav__subdiv__ul {
    left: 0;
    right: 0;
    top: 46px;
    width: min-content;
}
.Wohnen .mainNav .main-nav .main-nav__subdiv__ul, 
.Gastronomie .mainNav .main-nav .main-nav__subdiv__ul,
.Service .mainNav .main-nav .main-nav__subdiv__ul {
    padding-left: 18px;
}
.Wohnen .mainNav .main-nav .main-nav__subdiv__ul .level2, 
.Gastronomie .mainNav .main-nav .main-nav__subdiv__ul .level2, 
.Service .mainNav .main-nav .main-nav__subdiv__ul .level2 {
    float: left;
    width: 100%;
    min-width: 200px;
    padding-left: 18px !important;
    margin-bottom: 8px;
}

.header .mainNav .main-nav ul a {
    color: #4b4b4b;
}
.Wohnen .header .mainNav .main-nav ul li:hover a:after,
.Service .header .mainNav .main-nav ul li:hover a:after,
.Gastronomie .header .mainNav .main-nav ul li:hover a:after 
{width: 100%;}

.Wohnen .mainNav .main-nav ul a:after {
    background: #52801a;
}
.Service .mainNav .main-nav ul a:after {
    background: #005994;
}
.Gastronomie .mainNav .main-nav ul a:after {
    background: #ab0050;
}
.vivivateam__pers .col-md-3 {margin-bottom: 45px; padding: 0 22px;}

.Wohnen .header .main-nav ul a, .Service .header .main-nav ul a, .Gastronomie .header .main-nav ul a {
    text-transform: none;
} 

.powermail_form_1 .col-form-label {
    min-width: 275px;
}
.powermail_form_1 .powermail_fieldwrap_type_check .col-md-12 {
    width: 50%;
    flex: auto;
}
.powermail_form_1 .powermail_fieldwrap_type_check .col-md-12 .checkbox {
    margin-top: 6px;
}
.powermail_form_1 .powermail_fieldwrap_type_check .col-md-12 .checkbox label {color: transparent;}
.level1.selected {
    z-index: 1000;
}

.v-main table.special tbody tr td {border-bottom: none !important;}
table.special tbody tr td:first-child {
    padding-right: 6px;
}
table.special tr {
    border-bottom: 1px solid #eb690b;
    border-top: 1px solid #eb690b;
}
.v-martin table.special tr {
    border-bottom: 1px solid #52801a;
    border-top: 1px solid #52801a;
}
.Gastronomie table.special tr {
    border-bottom: 1px solid #ab0050;
    border-top: 1px solid #ab0050;
}
.Service table.special tr {
    border-bottom: 1px solid #005994;
    border-top: 1px solid #005994;
}

.news-list-view .news-list-with-img .article .right .txt-container {height: 160px;}
.news-list-view .news-list-with-img .article .right .txt-container .more {bottom: 8px;}

/* Modal on Desktop */
.Dachmarke .nav-icons-desktop span.info, .Gastronomie .nav-icons-desktop span.info, .Wohnen .nav-icons-desktop span.info, .Service .nav-icons-desktop span.info {
    background: url('/fileadmin/Images/VIVIVA_Icon_Info_Dachmarke.svg') no-repeat center center;
    background-size: 40px;
}
.Dachmarke .nav-icons-desktop button, .Gastronomie .navbar-nav span button, .Wohnen .navbar-nav span button, .Service .navbar-nav span button {
    width: 40px;
}
.Dachmarke .nav-icons-desktop .phone, .Gastronomie .nav-icons-desktop .phone, .Wohnen .nav-icons-desktop .phone, .Service .nav-icons-desktop .phone {
    background: url('/fileadmin/Images/VIVIVA_Icon_Telefon_Dachmarke.svg') no-repeat center center;
    background-size: 40px;
}
.mateNav .modal-xl .modal-content .container .tel a:before {
    height: 22px;
    width: 22px;
    background-size: auto;
}
.mateNav .modal-xl .modal-content .container .tel a {
    padding-left: 1.6rem;
}
.modal-open .modal-content span.link:before {
    background: url(https://www.vivivabaar.ch/dist/Images/link_white.svg);
}
/* Modal on Desktop end */

/* social media */
footer.footer .social__link__a.instagram {
    background: url(https://www.vivivabaar.ch/dist/Images/social_media_instagram.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.vivivaTeaser .short {
    position: relative;
}
.vivivaTeaser .shortMore, .vivivaTeaser .longLess {
    cursor: pointer;
    position: absolute;
    right: 0;
    bottom: -28px;
    border-bottom: 2px solid #eb690b;
}
.vivivaTeaser header {
    margin-bottom: 1.5rem;
  }
.vivivaTeaser .long {
    position: relative;
    display: none;
}
.vivivaTeaser li {
    margin-bottom: .5rem;
}
.vivivaTeaser span.link {
    float: right;
}

.Wohnen .vivivaTeaser .shortMore, .Wohnen .vivivaTeaser .longLess {
    border-bottom: 2px solid #52801a;
}
.Service .vivivaTeaser .shortMore, .Service .vivivaTeaser .longLess {
    border-bottom: 2px solid #005994;
}
.Gastronomie .vivivaTeaser .shortMore, .Gastronomie .vivivaTeaser .longLess {
    border-bottom: 2px solid #ab0050;
}

.mainNav ul li {
    margin-top: 0;
}
#level3 li {
    margin-bottom: 8px;
}

.esp {
    display: block;
    line-height: 30px;
    height: 24px;
    padding-left: 1.3rem;
    width: 100%;
}
.Dachmarke .esp {
    background: url('/fileadmin/templates/Images/VIVIVA_Icon_EPS_Dachmarke-1.svg') left no-repeat transparent;
}
.Service .esp {
    background: url('/fileadmin/templates/Images/VIVIVA_Icon_EPS_Service1.svg') left no-repeat transparent;
} 
.Wohnen .esp {
    background: url('/fileadmin/templates/Images/VIVIVA_Icon_EPS_Wohnen1.svg') left no-repeat transparent;
} 
.Gastronomie .esp {
    background: url('/fileadmin/templates/Images/VIVIVA_Icon_EPS_Gastro1.svg') left no-repeat transparent;
}

@media only screen and (min-width: 62em) {
    header.header.shrink.scrollUp .mainNav .main-nav .main-nav__subdiv__ul {
        top: 40px;
    }
    header.header.shrink .mainNav .main-nav .main-nav__subdiv__ul {
        top: 40px;
      }
    header.header.shrink .mainNav .main-nav.level1 {
        padding-bottom: initial;
        padding-top: initial;
    }
}

/* Icons */
.vivivadaymenu__desc strong a, .vivivadaymenu__desc a {
    display: inline-block;
    text-align: left;
}
.fa-square-phone, .fa-link {
    height: 19px;
    width: 19px;
    margin-right: 8px;
    float: left;
    margin-top: 2px;
}
.fa-link {
    background: url(/dist/Images/link.svg) center no-repeat;
}
.Wohnen .fa-square-phone {
    background: url(/dist/Images/tel_span_green.svg) center no-repeat;
}
.Wohnen .fa-envelope {
    background: url(/fileadmin/Images/mail_wohnen.svg) center no-repeat;
}
.Gastronomie .fa-square-phone {
    background: url(/dist/Images/tel_span_red.svg) center no-repeat;
}

.Gastronomie .fa-envelope {
    background: url(/fileadmin/Images/mail_gastro.svg) center no-repeat;
}
.Service .fa-envelope {
    background: url(/fileadmin/Images/mail_service.svg) center no-repeat;
}
.Service .fa-square-phone {
    background: url(/dist/Images/tel_span_blue.svg) center no-repeat;
}
.realLink {
    text-decoration: underline;
    text-decoration-color: #eb6404;
    text-decoration-thickness: 2px;
}
.Wohnen .realLink {
    text-decoration-color: #52801a;
}
.Gastronomie .realLink {
    text-decoration-color: #ab0050;
}
.Service .realLink {
    text-decoration-color: #005994;
}

.footerText * {
    font-size: 12px;
}

.card-body .text-center {
    text-align: left !important;
}
.card-body > .row {
    margin-bottom: 12px;
}
.accordion .card-body .name, .accordion .card-body .name:hover {
    background-color: transparent;
}

.card-body .row:nth-child(even) {
    background: #d8e6e4;
}
  
.card-body .row:nth-child(odd) {
    background: transparent;
}

/* Lins */
a[href$=".pdf"] {
    padding-left: 1.3rem;
    margin-right: 0;
}
a[href$=".pdf"]:after, .Dachmarke a[href$=".pdf"]:after, .Wohnen a[href$=".pdf"]:after, .Service a[href$=".pdf"]:after, .Gastronomie a[href$=".pdf"]:after {
    display: none;
}
a[href$=".pdf"]:before {
    background: url(/fileadmin/Images/pdf_orange.svg);
	background-repeat: no-repeat;
	position: absolute;
	left: 0;
	content: "";
	height: 22px;
    width: 17px;
	top: 0;
	transform: translateY(-4px);
}
.Wohnen a[href$=".pdf"]:before {
    background: url(/fileadmin/Images/pdf_green.svg);
}
.Service a[href$=".pdf"]:before {
    background: url(/fileadmin/Images/pdf_blue.svg);
}
.Gastronomie a[href$=".pdf"]:before {
    background: url(/fileadmin/Images/pdf_red.svg);
}

.infoBoxContainer a[href$=".pdf"]:before, 
.Wohnen .infoBoxContainer a[href$=".pdf"]:before, 
.Service .infoBoxContainer a[href$=".pdf"]:before, 
.Gastronomie .infoBoxContainer a[href$=".pdf"]:before,
#pid_90 .infoBoxContainer a[href$=".pdf"]:before {
    background: url(/fileadmin/Images/pdf_white.svg);
}
.infoBoxContainer a[href$=".pdf"], 
.Wohnen .infoBoxContainer a[href$=".pdf"], 
.Service .infoBoxContainer a[href$=".pdf"], 
.Gastronomie .infoBoxContainer a[href$=".pdf"],
#pid_90 .infoBoxContainer a[href$=".pdf"] {
    padding-left: 1.3rem;
    line-height: 18px;
}

.image a[href$=".pdf"]:before {
    display: none;
}

span.tel, span.link, span.mail {
    padding-left: 1.3rem;
}
span.mail a, span.tel a, span.link a  {
    font-size: 16px;
}

span.mail:before {
    height: 18px;
    width: 18px;
    top: 0;
    transform: translateY(2px);
}
span.tel:before {
    height: 18px; 
    width: 18px;
    top: 0;
    transform: translateY(0px);
}
span.link:before {
    height: 17px;
    width: 17px;
    top: 0;
    transform: translateY(4px);
}
a span.link:after {
    background: #eb690b;
    position: absolute;
    content: "";
    left: 27px;
    height: 1px;
    width: 100%;
    bottom: -2px;
}

.Service span.mail:before {background: url(/fileadmin/Images/mail_service.svg) center no-repeat;}
.Wohnen span.mail:before {background: url(/fileadmin/Images/mail_wohnen.svg) center no-repeat;}
.Wohnen span.tel:before {background: url(/dist/Images/tel_span_green.svg) center no-repeat;}
.Gastronomie span.mail:before {background: url(/fileadmin/Images/mail_gastro.svg) center no-repeat;}

.vivivateam__pers__desc span.mail:before {
    height: 18px;
    width: 18px;
}

.vivivateam__pers__desc a {
    background: url(/fileadmin/Images/mail.svg) left no-repeat;
    font-size: 0.6rem;
    line-height: 21px;
    padding-left: 19px;
}

.downloadElement .float-right {float: left !important;}

.downloadElement {
    padding: 4px 0; 
    font-family: 'Rubik-medium';
    text-transform: uppercase;
    width: 100%;
}

.downloadElement a[href$=".pdf"] {
	position: relative;
	color: #000;
	display: inline-block;
    height: 22px;
    width: 100%;
    padding-left: 1.2rem;
    padding-right: unset;
    line-height: 28px;
}
.downloadElement a[href$=".pdf"]:before {
    transform: translateY(0px) !important;
}
/*.Gastronomie .downloadElement a[href$=".pdf"] {
    background: url(http://vivivabaar.ch/fileadmin/Images/pdf_red.svg) no-repeat left transparent;
}
.Gastronomie a[href$=".pdf"] {
    background: url(http://vivivabaar.ch/fileadmin/Images/pdf_red.svg) no-repeat left transparent;
    text-align: left;
    padding-left: 24px;
    display: block;
    height: 26px;
    width: 26px;
}

.Wohnen .downloadElement a[href$=".pdf"] {
    background: url(http://vivivabaar.ch/fileadmin/Images/pdf_green.svg) no-repeat left transparent;
}
.Service .downloadElement a[href$=".pdf"] {
    background: url(http://vivivabaar.ch/fileadmin/Images/pdf_blue.svg) no-repeat left transparent;
}*/

.vivivadaymenu {
    padding-bottom: 5px;
}

/* infoBoxContainer */
.infoBoxContainer {
    opacity: 0;
    color: #fff;
    background-color: #eb690b;
    position: fixed;
    top: 172px;
    width: 100%;
    left: 0;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    -webkit-transform: translate(0,-50px);
    transform: translate(0,-50px);
    padding: 24px 0;
    border: none;
    border-radius: 0;
    box-shadow: inset 0 3px 5px 0 rgba(0,0,0,.33);
    z-index: 2;
}
.infoBoxContainer.longHeader {
    top: 172px;
}
.infoBoxContainer.shortHeader {
    top: 118px;
}

.infoBoxContainer a, .infoBoxContainer span.tel a, .VIVIVA .infoBoxContainer a, .VIVIVA .infoBoxContainer span.tel a, .Dachmarke .infoBoxContainer a, .Dachmarke .infoBoxContainer span.tel a {
    color: #fff;
    text-decoration: underline;
    height: auto;
    padding-left: unset;
    display: inline-block;
}
.infoBoxContainer .close {
    color: #fff;
    text-shadow: 0 1px 0 #979797;
    opacity: 1;
    background: url(https://www.vivivabaar.ch/dist/Images/Closing_X_Icon.svg);
    height: 20px;
    width: 20px;
    background-repeat: no-repeat;
    margin-top: 18px;
    background-position: right;
}
.Service .infoBoxContainer {
    background-color: #005994;
}
.Wohnen .infoBoxContainer {
    background-color: #52801a;
}
.Gastronomie .infoBoxContainer {
    background-color: #ab0050;
}