/* Write your custom css code here */

/* ---- MGIT Erweiterungen ----*/

/* ---- MGIT Erweiterungen für Viewport PHONE ----*/
/* @media (max-width: 767px){} */
/* ---- MGIT Erweiterungen für Viewport TABLET ----*/
/* @media (min-width: 768px) and (max-width: 991px) {} */
/* ---- MGIT Erweiterungen für Viewport PC ----*/
/* @media (min-width: 992px){} */

/* ######### Generelles ######### */
:root {
    --hellblau: rgba(60, 168, 202, 0.15);
    --blau: rgb(60, 169, 202);
    --hellgrau: rgb(245, 245, 245);
    --dunkelgrau: rgb(103, 102, 95);
    --weiss: rgb(255, 255, 255);
}
body{
    scroll-behavior: smooth;
}
/*@media (max-width: 991px)    
    .container {
        width: 100%;
    }*/
/* ---- Schriftart ---- */

/* ---- Schriftgrössen ----*/
@media (min-width: 992px){
    h1{
        font-size: 48px;
        font-weight: bold;
        color: var(--weiss);
    }
}
@media (min-width: 768px){
    h1{
        font-size: 35px;
        font-weight: bold;
        color: var(--weiss);
    }
}
@media (max-width: 767px){
    h1{
        font-size: 20px;
        font-weight: bold;
        color: var(--weiss);
    }
}
h2{
    font-size: 28px;
    font-weight: bold;
}
h3{
    font-size: 20px;
    font-weight: bold;
}
body{
    font-size: 16px;
    font-weight: normal;
}
/* ######### Header ######### */
/* ---- Allgemein ---- */
#sunfw_section_header>.container::after{
    border-bottom: 0px;
}
.sunfw_section_header{
    border-bottom: 2px solid var(--hellblau);
}
@media (max-width: 1200px){
    .container{
        width: 100%;
    }
}
/* ---- Menu ---- */
.mgmenu .navbar{
    padding: 0px;
    margin: 0px;
    border: 0px;
}
.mgmenu li span{
    font-weight: 800;
}
.mgheader .mgcolmenu{
    padding: 0px;
}
@media (min-width: 768px){
    .mgmenu {
        padding-top: 43px;
    }
    .mgmenu .navbar li:not(:first-child)::before{
        content: "•";
        font-size: 24px;
        margin-left:-4px;
        margin-top: 1px;
        color: var(--blau);
        float: left;
    }
    .mgmenu .caret{
        display: none;
    }
}
@media (min-width: 768px) and (max-width: 991px){
    .mgmenu{
        padding-top: 110px;
        padding-bottom: 10px;
    }
    .mgmenu .nav li{
        z-index: 100;
    }
}
@media (max-width: 767px){
    .mgmenu button{
        z-index: 100;
    }
    .mgmenu .navbar-header{
        padding: 25px 15px 18px 15px;
    }
    .mgmenu ul.sunfw-tpl-menu li:not(:last-child){
        border-bottom-width: 2px;
        border-bottom-style: solid;
        border-bottom-color: var(--hellblau);
    }
    .mgmenu .navbar-default .navbar-collapse{
        border-top-width: 2px;
        border-top-style: solid;        
        border-top-color: var(--hellblau);
    }
    .mgmenu .navbar-default .navbar-toggle{
        border-width: 2px;
        border-color: var(--hellblau);
    }
    .mgmenu .navbar .navbar-header button.navbar-toggle i{
        color: var(--blau);
    }
}
.mgheader ul.sunfw-tpl-menu .caret:before{
    color: var(--blau);
}
.btn-danger:active{
    background-color: #00000000;
}
.navbar ul.navbar-nav li.active > a{
    background-color: transparent;
}
/* ---- Submenu ---- */
.mgmenu .navbar .dropdown-menu li:not(:first-child)::before{
    content: "";
}
.mgmenu .navbar .dropdown-menu li{
    padding: 0px;
}
.mgmenu .navbar .dropdown-menu li a{
    margin: 0px 10px;
    padding: 10px 5px;
}
.mgmenu .navbar .dropdown-menu li a::before{
    background-color: var(--hellblau);
    height: 2px;
}
@media (max-width: 767px){
    ul.sunfw-tpl-menu > li ul{
        border-top-width: 2px !important;
        border-top-style: solid !important;
        border-top-color: var(--hellblau) !important;
    }
    .mgmenu .navbar .dropdown-menu li a{
        margin: 0px 15px;
        padding: 10px 15px;
    }
}
/* ---- Logo ---- */
.mglogo{
    max-height: 60px;
    max-width: 245px;
    margin-left: auto;
}
.sunfw-logo{
    padding: 25px 0px 25px 0px;
}
@media (min-width: 768px) and (max-width: 991px){
    .mgcollogo{
        position: absolute;
    }
    .mgcollogo .sunfw-logo{
        margin-left: auto;
        padding-right: 30px;
    }
    .navbar ul.navbar-nav li a, .navbar ul.navbar-nav li span.nav-header{
        margin: 10px 15px;
        padding: initial;
        }
}
@media (max-width: 767px){
    .mgcollogo{
        position: absolute;
    }
    .mgcollogo .sunfw-logo{
        margin-left: auto;
        max-width: 55%;
        padding-right: 15px;
    }
}
/* ######### Main Content ######### */
/* ---- Text in Beiträgen zwei Kolonnen ---- */
@media (min-width: 768px){
    .mgTwoColText{
        column-count: 2;
        column-gap: 30px;
        padding-top: 20px;
    }
}
.pb-grid--two-columns>.grid__column{
    padding: 30px 15px 0px 15px !important;
}
.mgparagraph p{
    margin: 0px;
}
/* ---- Text in Beiträgen zwei Kolonnen für ul---- */
@media (min-width: 768px){
    .mgTwoColTextul{
        column-count: 2;
        column-gap: 40px;
        padding-left: 17px;
        margin-bottom: 0px;
    }
}
/* ---- Jede zweite Section grauer Hintergrund (Desktop) ---- */
@media (min-width: 768px){
    .articleBody>div>div>div>div:nth-child(even){
        background-color: var(--hellgrau);
        margin-left: -50vw;
        margin-right: -50vw;
        padding-left: 50vw;
        padding-right: 50vw;
    }
    section:nth-child(even){
        background-color: var(--hellgrau);
        margin-left: -50vw;
        margin-right: -50vw;
        padding-left: 50vw;
        padding-right: 50vw; 
    }
} 
/* ---- Jede zweite Section grauer Hintergrund (Mobile) ---- */
@media (max-width: 767px){
    .articleBody>div>div>div>div:nth-child(even){
       background-color: var(--hellgrau);
       margin-left: -15px;
       margin-right: -15px;
       padding-left: 15px;
       padding-right: 15px;
    }
    section:nth-child(even){
        background-color: var(--hellgrau);
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
}
/* ---- K2 Flex-Items für Module und Kategorieauflistungen ---- */
.mgItemList{
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    flex-wrap: wrap;
}
.mgItemList::after{
    content: "";
	width: 31.8%
  }
.mgItemList .itemContainer{
    display: flex;
    flex-direction: column;
}
.mgItemList .itemContainer .catItemView{
	flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}
.mgItemList .itemContainer .catItemView div.catItemHeader{
	flex: 1 0 auto;
}
.mgItemListItem{
    display: flex;
    flex-direction: column;
	padding-bottom: 20px;
	padding-top: 30px;
}
.mgItemListItem .item-body{
	flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}
/*.mgItemListItem .item-body div.moduleItemIntrotext{
	flex: 1 0 auto;
}*/
.mgItemListItem div p{
	margin:0px;
}
/* ---- Abstände in K2 Items ---- */ 
.mgItemListItem .item-image{
    margin-bottom: 0px;	
}    
.mgItemListItem h3{
    border-bottom: 2px solid var(--hellblau);
    margin: 26px 0px 10px 0px;
}    
.moduleItemExtraFieldsValue{
    margin-top: 20px;
}
/* ---- Tabellen ---- */
.mgm365table{
    margin-top: 30px;
}
/* mgcell9be1ea zellen farbe */
.mgcell9be1ea{
	background-color: var(--hellblau) !important;
}
/* mgtableok gutzeichen in tabellen */
.mgtableok{
    text-align: center !important;
}
.mgtableok .material-icons{
	font-size: 35px;
	color: var(--blau);
}
/* mgtablecross kreuz in tabellen */
.mgtablecross{
    text-align: center !important; 
}
.mgtablecross .material-icons{
	text-align: center !important;
	font-size: 20px;
	color: var(--dunkelgrau);
}
/* ---- Formular ---- */
.jsn-uniform .jsn-container-left{
    padding-top: 30px;
}
/* Schrift */
#jsn_form_1.jsn-master .jsn-bootstrap .jsn-form-content .control-group .control-label{
    color: var(--blau);
    font-family: Assistant;
    font-size: 16px;
    font-weight: bold;
    padding: 11px 0px;
}
.mgFormInput .required{
    display: none;
}
/* Input Field */
#jsn_form_1.jsn-master .jsn-bootstrap .jsn-form-content .control-group{
    padding: 10px 0px;
}
.jsn-master .mgFormInput .jsn-input-medium-fluid{
    width: 100%;
    border: 2px solid var(--hellblau);
    padding: 1px 2px;
    margin: 0px;
    font-family: Assistant;
    font-size: 16px;
}
.jsn-master .mgFormInput .jsn-input-xlarge-fluid{
    width: 100%;
    border: 2px solid var(--hellblau);
    padding: 1px 2px;
    margin: 0px;
    font-family: Assistant;
    font-size: 16px;
}
#jsn_form_1.jsn-master .jsn-bootstrap .jsn-form-content .control-group.ui-state-highlight{
    background: transparent !important;
    border-color: transparent !important;
}
:focus{
    outline: initial;
}
.btn:focus{
    outline: initial;
}
.jsn-uniform.jsn-master .jsn-row-container.form-horizontal .jsn-form-content div.controls{
    margin-right: 7px;
}
/* Button */
.jsn-uniform .form-actions .btn-toolbar .btn.jsn-form-submit.mgButton{
    background-color: var(--blau);
    border-color: var(--blau);
    border-radius: 0px;
    line-height: 22px;
    font-size: 16px;
}
.jsn-uniform.jsn-master .jsn-row-container .form-actions{
    text-align: right;
    margin: 0px;
    padding: 0px;
}

/* ######### Content Bottom (Map) ######### */

.mgcontent_bottom div{
    padding: 0px;
}


/* ######### Footer ######### */
.mgfooter{
    font-family: aglet-slab;
    background-color: var(--weiss);
    border-top: 2px solid var(--hellblau);
}
.mgfooter section{
    padding: 10px 15px;
}
#sunfw_section_footer > .container:before, .pillow-footer > .container:before {
    border-top: initial;
}


