.mob {
    display: block;
}

body {
    position: relative;
    background-repeat: no-repeat;
    background-position: left -126px;
    background-image: none !important;
}

header {
    display: none;
}

.headerbild {
    background-repeat: no-repeat;
    background-position:left bottom -104px;
    background-image: url(../img/header_bg_mobile.png) !important;
}

#content .left {
    float: none;
    width: 100%;
    padding-right: 0;
    margin-right: 0;
    padding-top: 30px;
    padding-bottom: 40px;
    clear: both;
}

.news .article > .preview {
    width: 100%;
    float: none;
}

.fancybox-close {
    right: 5px;
}

.fancybox-nav span {
    visibility: visible;
}

.fancybox-wrap, .fancybox-inner {
    max-width: calc(100% - 10px);
  left: 10px !important;
      height: auto !important;
}

#page2 #content .box .right {
    margin-top: 0;
    width: 94%;
}

#content {
    padding: 0 4%;
    width: auto;
}

#content .right {
    float: none;
    width: 100%;
}

.katbox {
    margin-top: 0px;
}

.colorbox {
    width: 88%;
    float: none;
    margin-bottom: 5%;
    margin-left: 0px;
    padding: 26px 6%;
}

.teaser {
    /*display: none;*/
}

#content .box .left {
    width: 100%;
    padding-top: 20px;
    padding-right: 0%;
}

#content .box .right {
    width: 100%;
}

.iconwrapper {
    bottom: auto;
    position: relative;
    right: auto;
    width: auto;
    text-align: center;
    margin-top: 15px;
}

body:not(.extranet):not(.optimaheat):not(.unterseite) footer h3 {
    width: 100%;
    padding-bottom: 20px;
}

body:not(.extranet):not(.optimaheat):not(.unterseite) footer {
    height: auto;
    padding: 30px 4% 30px 4%;
}

body:not(.extranet):not(.optimaheat):not(.unterseite) footer div.last {
    float: none;
    clear: both;
    padding-top: 15px;
    width: 100% !important;
    padding-right: 0 !important;
}

body:not(.extranet):not(.optimaheat):not(.unterseite) footer .footerwrapper div {
    width: 47.4%;
    border: none;
    padding-left: 0%;
    padding-right: 2.26%;
    padding-bottom: 15px;
    min-height: inherit !important;
}

body:not(.extranet):not(.optimaheat):not(.unterseite) footer span {
    display: none;
}

#wrapper {
    padding-bottom: 30px;
}

body:not(.extranet):not(.optimaheat):not(.unterseite) footer {
    margin-top: 30px;
}

.tcalogomob img {
    width: 100% !important;
    height: auto;
}

/* Navi */
.navcontent .navi2, .navcontent .navi3, .navcontent .navi4 {
    display: none !important;
}

.navcontent2 .navi3, .navcontent3 .navi4 {
    display: none !important;
}

li.blue:hover, li.red:hover, li.grey:hover {
    border: none;
}

.navbutton {
    position: relative;
    width: 15%;
    float: left;
    margin-left: 10px;
    height: 44px;
    z-index: 4;
}

.navbutton:before {
    color: #d8d8d8;
    content: "";
    font-family: FontAwesome;
    font-size: 2em;
    font-style: normal;
    font-weight: normal;
    padding-right: 0.5em;
    position: relative;
    left: 0;
    right: 0;
    text-decoration: inherit;
    top: 11px;

}

.navcontent {
    display: block;
    background: url(../img/bg_navi_mob.png);
    background-position: right bottom;
    width: 50%;
  min-width:250px;
    position: absolute;
    left: 0;
    top: 47px;
    z-index: 3;
    padding-top: 15px;
    padding-right: 11px;
}

nav li {
    list-style: none;
    width: 92%;
    padding-left: 8% !important;
    margin-left: 0px;
    float: none;
    border-bottom: 1px #d8d8d8 solid;
    border-top: none;
    position: relative;

}

li.blue, li.nav6 {
    border-top: none;
    background: #24ABE1;
}

li.red, li.nav7 {
    border-top: none;
    background: #E22A31;
}

li.grey, li.nav8 {
    border-top: none;
    background: #B0D8DB;
}

li.red a, li.blue a, li.grey a, li.nav6 a, li.nav7 a, li.nav8 a, li.nav6:hover a, li.nav7:hover a, li.nav8:hover a {
    color: #fff;
}

li.red:after, li.blue:after, li.grey:after, li.nav6:after, li.nav7:after, li.nav8:after {
    color: #fff;
}

/*nav li:hover {*/
    /*border-bottom: 1px #d8d8d8 solid !important;*/
/*}*/

/*#header-new > nav > ul > li > a:after {*/
    /*color: black;*/
    /*content: "\f105";*/
    /*font-family: FontAwesome;*/
    /**/
    /*font-size: 15px;*/
    /*position: absolute;*/
    /*right: -20px;*/
    /*top: 0px;*/
/*}*/

.navi2 > li.sub a:after {
    position: absolute !important;
    right: 0;
    top: 20px !important;
    transform: none !important;
}
header nav .navi2 li.sub > a:after {
    top: 22px !important;
}
.navi2 > li > a {
    border-bottom: none !important;
}
.noafter a::after {
    display: none !important;
}

nav a {
    line-height: 50px;
    font-size: 20px;
}

nav a {
    display: block !important;
    width: fit-content;
    position: relative;
    padding-right: 20px;
}

/*nav .sub a {*/
    /*display: inline-block !important;*/
/*}*/

nav {
    height: auto;

}

.navcontent {
    margin-left: -6000px;
}
/*
.navi2 .sub li:first-child, .navi3 ul li:first-child, .navi4 ul li:first-child {
    border-top: 1px #575756 dotted !important;
}
*/

.navcontent2, .navcontent3, .navcontent4 {
    display: block;
    background: url(../img/bg_navi_mob.png);
    background-position: left bottom;
    width: 100%;
    position: absolute;
    left: 0;
    top: 47px;
    z-index: 3;
    padding-top: 7px;
    padding-right: 0;
    padding-bottom: 15px;
    margin-left: -6000px;
  /*  height: 464px; */
      height: 620px;
}

/*.navi2, .navi3, .navi4 {*/
    /*position: relative;*/
    /*!*background: url(../img/navi2_mobile_bg.png) repeat-y;*!*/
    /*!*padding: 5px 4% 0 9%;*!*/
    /*!*background-position: left top;*!*/
    /*background-color: transparent;*/
    /*!*margin-left: 10%;*!*/
    /*top: 60px;*/
    /*!*width: 75%;*!*/
    /*left: 0;*/
    /*display: block;*/
    /*visibility: visible;*/
    /*opacity: 1;*/
    /*overflow-y: hidden;*/
    /*height: auto;*/
/*}*/

.navi2 li.sub, .navi3 li.sub {
    background: none !important;
  width:100%;
}

.navibg {
    background: url(../img/navi2_mobile_bg.png) repeat-y;
    background-position: 11% top;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  /*  height: 474px;*/
height: 607px;
}

.navi2 li a, .navi3 li a, .navi4 li a {
    text-decoration: none;
    color: #626464;
    font-weight: 600;
    display: inline-block;
  border-top: none !important;
    margin-right: 0 !important;
}

.blue.active > a {
    color: #24ABE1;
}

.red.active > a {
    color: #e51c29;
}

.grey.active > a {
    color: #B0D8DB;
}

.nav2close, .nav3close, .nav4close {
    position: absolute;
    left: 0;
    top: 0px;
    width: 13%;
    height: 70px;
    z-index: 10;
}

.nav2close:after {
    color: #fff;
    content: "\f104";
    font-family: FontAwesome;
    font-size: 2em;
    font-style: normal;
    font-weight: normal;
    position: absolute;
    left: 40%;
    text-decoration: inherit;
    top: 23px;

}

.nav3close:after, .nav4close:after {
    content: "\f104";
    font-family: FontAwesome;
    font-size: 2em;
    font-style: normal;
    font-weight: normal;
    padding-right: 0.5em;
    position: absolute;
    right: 0;
    text-decoration: inherit;
    top: 23px;
}
/*
.navi2 li.sub:after {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 2em;
    font-style: normal;
    font-weight: normal;
    padding-right: 3px;
    position: absolute;
    right: 0;
    text-decoration: inherit;
    top: 9px;
}

.navi3 li.sub:after {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 2em;
    font-style: normal;
    font-weight: normal;
    padding-right: 3px;
    position: absolute;
    right: 0;
    text-decoration: inherit;
    top: 9px;
}
*/
.navi2 li.sub.blue:after {
    color: #24ABE1 !important;
}

.navi2 li.sub.red:after {
    color: #E22A31 !important;
}

.navi2 li.sub.grey:after {
    color: #B0D8DB !important;
}

.nav3close.blue:after, .nav4close.blue:after {
    color: #24ABE1;
}

.nav3close.red:after, .nav4close.red:after {
    color: #E22A31;
}

.nav3close.grey:after, .nav4close.grey:after {
    color: #B0D8DB;
}

.nav2close {
    background: #939393;
}

.nav2close.blue {
    background: #24ABE1;
}

.nav2close.red {
    background: #E22A31;
}

.nav2close.grey {
    background: #B0D8DB;
}

.navcontent li.blue.active a {
    color: #0887d2;
}

.navcontent li.red.active a {
    color: #ce0607;
}

.navcontent li.grey.active a {
    color: #93bbc2;
}

.navi2 li, .navi3 li, .navi4 li {
    list-style: none;
    margin-left: 0px;
    float: none;
    position: relative;
    background: none !important;
}

.navcontent2 h3, .navcontent3 h3, .navcontent4 h3 {
    line-height: 50px;
    font-size: 20px;
    padding-bottom: 15px;
    position: absolute;
    font-weight: 600;
    top: 11px;
    left: 19%;
}

.navcontent4 h3 {
    line-height: 1.5em;
}

.navcontent2.blue h3 {
    color: #24ABE1;
}

.navcontent3.blue h3, .navcontent4.blue h3 {
    color: #24ABE1;
}

.navcontent2.red h3 {
    color: #E22A31;
}

.navcontent3.red h3, .navcontent4.red h3 {
    color: #E22A31;
}

.navcontent2.grey h3 {
    color: #B0D8DB;
}

.navcontent3.grey h3, .navcontent4.grey h3 {
    color: #B0D8DB;
}

/*.navi3 li, .navi2 li, .navi3 li:hover, .navi2 li:hover, .navi4 li, .navi4 li:hover {*/
    /*border-top: 1px #575756 dotted !important;*/
/*}*/

.navcontent .grey .current, .navcontent .red .current, .navcontent .blue .current {
    color: #fff !important;
}

.nav61, .nav62, .nav63, .nav64, .nav65, .nav66 {
    display: block;
}

.navi3 li a {
    width: 90%;
}

.navi3 li a, .navi4 li a {
    font-size: 16px;
    text-transform: none;
    line-height: normal;
    padding: 10px 0;
    display: inline-block;
    font-family: 'OpenSans-Semibold';
}

.language li, .language {
    float: none;
    clear: both;
}

.language li a {
    padding: 0;
    line-height: 30px;
    border-right: none;
    text-decoration: none;
    color: #7e7e7e;
}

.language li.last a {
    padding: 0;
    border-right: none;
}

.login {
    padding: 20px 0 10px 0;
    float: none;
    display: inline-block;
}

.navcontent .login {
    text-align: left;
}

.servicenavi {
    float: none;
    width: 92%;
    padding-bottom: 20px;
    font-size: 0.750em;
    font-weight: 600;
    padding-left: 8%;
    font-size: 0.938em;
}

.logo img {
    height: 20px;
    width: auto;
}

.logo {
    width: 75%;
    height: auto;
    margin-top: 13px;
    position: absolute;
    top: 0;
    z-index: 5;
    left: 19%;
}

.bgtop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: url(../img/navi_bg_mobile.png) repeat-x;
    z-index: 4;
}

.bannerimg {
    position: absolute;
    bottom: 17px;
    top: auto;
    z-index: 2;
    left: 18px;
    width: auto;
    height: 400px;
}

.banner {

    height: auto;
    background: url(../img/banner_mobile_bg.png) repeat-x;
    background-position: left top;

}

.banner .text {
    padding-bottom: 40px;
}

.label {
    position: absolute;
    top: 148px;
    z-index: 2;
    left: 27%;
}


.headerbild {
    height: 375px;
    overflow: hidden;
    position: relative;
    top: 30px;
    left: 0;
    width: 100%;
    text-align: center;
}

.banner.right .text {
    margin-left: 4%;
    padding-top: 46px;
    width: 96% !important;
}

.banner h2 {
    font-weight: 800;
    color: #e52629;
    font-size: 1.8em !important;
    text-transform: uppercase;
    line-height: 1.2em;
    margin-bottom: 20px;
}

.unterseite #content .left {
    width: 100% !important;
}

#content .imageleftcontent .center div {
    width: 100%;
}

.unterseite #content .texte {
    width: 100%;
}

.unterseite #content .right {
    float: none;
    width: 100%;
    padding-top: 20px;
}

.jobbox {
    margin-top: 0px;
}

.unterseite #content .box .left {
    padding-right: 0%;
    width: 100%;
}

.unterseite #content .box .right {
    float: none;
    width: 100%;
}

.logohersteller {
    height: auto !important;
}

.unterseite.red #content .left {
    width: 100%;
    padding-right: 0%;
    margin-right: 0px;
}

.unterseite #content .calculation .right {
    width: 90.8% !important;
}

.bannerkl .label {
    bottom: auto !important;
    top: 66px;
    left: 4% !important;
    margin-left: 0;
}

.bannerkl .headerbild {
    height: 255px;
    clear: both;
}

.bannerkl .banner.right .text {
    margin-left: 4% !important;
    width: 96% !important;
}

.bannerkl .banner {
    height: 83px;
}

.top {
    width: 30px;
    height: 36px;
    background: url(../img/icons_pfeile_neutral_oben.png) no-repeat;
    background-size: 15px;
    position: absolute;
    right: 0%;
    bottom: 0;
}

/* Tabs */
.unterseite.red #content .left, #content .tabs .center, #content .tabs .right {
    float: none !important;
    width: 100% !important;
}

/* Kontaktformuklar */
.tx-powermail {
    width: 100%;

}

.tx-powermail .powermail_fieldset .powermail_field {
    width: 100%
}

.powermail_checkbox {
    float: left;
    margin-top: 5px;
    margin-right: 5px;
}

.powermail_fieldwrap.powermail_fieldwrap_textarea.powermail_fieldwrap_3 {
    margin-bottom: 30px;
}

.powermail_check_inner label {
    float: left;
    width: 90%;
    padding-bottom: 10px;
}

.powermail_input, textarea {
    -webkit-appearance: none;
    border-radius: 0;
}

.powermail_check_inner {
    margin-bottom: 10px;
    clear: both;
}

#wrapper textarea, .tx-powermail .powermail_fieldset .powermail_radio_outer, .tx-powermail .powermail_fieldset .powermail_captcha_outer, .tx-powermail .powermail_fieldset .powermail_check_outer, .tx-powermail .powermail_fieldset .powermail_fieldwrap_text, .tx-powermail .powermail_fieldset .powermail_fieldwrap_file_inner ul:not(.parsley-errors-list) {
    float: none;
    width: 100%;
}

.tx-powermail .powermail_fieldset .powermail_label {
    width: 100%;
    float: none;
    font-family: 'OpenSans-Bold';
}

.kontaktbox {
    float: left;
    width: 100%;
    font-size: 0.813em;
    margin-right: 0;
    margin-bottom: 30px;
}

.kontaktwrapper_right {
    float: none;
    width: 100%;
}

.tabcontentdetail li {
    float: none !important;
    border: none !important;
    padding: 0 !important;
}

.tabcontentdetail .left {
    padding-bottom: 0px !important;
}

.csc-uploads-1, .linkliste {
    width: 100%;
}

.navi2 li {
    padding-right: 0px !important;
}

/* Extranet */

.tx-felogin-pi1, .flyer {
    width: 100%;
}

.tx-felogin-pi1 input, .tx-srfeuserregister-pi1 input {
    float: none;
    width: 98%;
}

.tx-felogin-pi1 label, .tx-srfeuserregister-pi1 label {
    float: none;
    width: 100%;
}

.iconnav {
    float: none;
    margin-bottom: 20px;
}

#content .logoutform .logout {
    float: none;
    width: 100%;
    text-align: left;
    clear: both;
}

.servicenavi .tx-felogin-pi1 .logout {
    padding: 20px 0 0 0;
}

.servicenavi .tx-felogin-pi1 input[type="submit"] {
    margin-bottom: 0;
}

/* Prämienrechner r32*/

#r32calculator .calculator .column:first-child {
    margin-right: 0;
    margin-bottom: 40px;
}

#r32calculator .calculator .column {
    width: 100%;
}

#r32calculator .field-group > label, #r32calculator .field-group > input {
    width: 55%;
}

#r32calculator .field-group:not(.result) > input, #r32calculator .field-group > .select2-container.select2{
    width: 45% !important;
}
#r32calculator .result > label, #r32calculator .result > label > p{
    line-height: 1em;
    height: auto;
}

#r32calculator .result > label, #r32calculator .result > input{
    width: 100%;
    line-height: 1.25em;
}

#r32calculator .select2-dropdown{
    left: -123px !important;
    width: 250px !important;
}

/* Extranet  */
.extranetitle h1.linkst {
  display: none;  
}

.area .areainfo {
    width: 100%;
    font-style: italic;
}



.area .arealink {
    width: 100%;
    text-align: left;
    margin-left: 0;
    display: block !important;
    padding: 13px 0 0 0;
}

.extra-areas.newareas {
  padding:10px 0;
}

.arealink.moblink {
    display: block !important;
}
li.nav{
  cursor:pointer;
}
/*
li.nav:after{
  content:"\f105";
}
*/

/*===================== Schulungsangebote =====================*/

/*.kurs-container {
    display: block;
    clear: initial;
}

.kurs-container #main-content {
    width: initial;
    margin-right: 0;
    display: block;
}

.kurs-container #sidewidget {
    width: initial;
    display: block;
}*/

#sidewidget .box-small {
    width: 50%;
}

.button-anmeldung a {
  display: inline-block;
  width: 100%;
  margin-top: 20px;
}

.kurs-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
}

#sidewidget {
  order:1;
  width: 100% !important;
}

#main-content {
  order:2;
  width: 100% !important;
}


/*===================== Schulungsangebote Tabelle =====================*/

.kursuebersicht {
  display: none;
}

.kursuebersicht_mobile {
  display: block;
}

.kursuebersicht.kursuebersicht_mobile table,
.kursuebersicht.kursuebersicht_mobile table tbody,
.kursuebersicht.kursuebersicht_mobile table tr {
  width: 100%!important;
}

.kursuebersicht.kursuebersicht_mobile table tr td {
  width: 100%!important;
  padding-right: 0!important;
}

.kursuebersicht_mobile table tr td a {
  width: 100%;
}

.kursuebersicht_mobile .kursbox {
  width: 100%;
  margin-bottom: 1rem;
}

.kurs-container h1 {
  display: none;
}

/*
.kursuebersicht_mobile table tbody {
  font-size: 13px;
}
*/



form#form div.demoform div {
    display: block;
}

form#form div.demoform div.calcresult > div {
    display: flex;
}

form#form div.demoform div.calcresult label {
    width: 61%;
}

form#form div.demoform > div > label {
    width: 100%;
}

form#form div.demoform > div > input[type="text"] {
    width: 95%;
    margin-left: 7px;
}

form#form div.demoform > div > textarea[name="text"] {
    width: 100%;
}

form#form div.demoform > div > strong {
    display: block;
}

form#form div.demoform input[type="submit"] {
    margin-right: 0px;
}

.tx-powermail .powermail_fieldset .powermail_captchaimage {
    width: 80%;
}



.headerbild.left .bannerimg {
    bottom: -20px !important;
    width: auto;
    height: 335px;
    margin-bottom: 0;
    position: relative;
    left: 0;
}

.headerbild.right .bannerimg {
    bottom: -30px !important;
    width: auto;
    height: 335px;
    margin-bottom: 0;
    position: relative;
    left: 0;
}

/* Kleiner Hack, dass alle Portrait-Fotos der Personen auf gleicher Höhe sind */
.headerbild.right .bannerimg[src*="saxer_benjamin"],
.headerbild.right .bannerimg[src*="anton_schmucki"] {
    margin-bottom: 0px;
}