.bg_green{background-color: #90C960;}
.font_green{color: #90C960;}

.bg_white{background-color: #FFFFFF;}
.font_white{color: #FFFFFF;}

.bg_dark{background-color: #31374C;}
.font_dark{color: #31374C;}

.bg_red{background-color: #FFEDE8;}
.font_red{color: #86292B;}



/* ==|== primary styles =====================================================
   Author: moxi
   ========================================================================== */

body{
	background-color: #f2f2f2;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
}

body.onepager:not(.ipad) .off-canvas-content{
    overflow-y: hidden; /* prevents scolling (gets set to auto after pageload) */
}

/*LOADING*/
#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    background-color: #fff;
    z-index: 99;
    text-align: center;
}
#loading-image {
    z-index: 100;
    height: 100px;
    width: auto;
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0    
}
/*PAGE*/
.page{
    padding-top: 50px;
    padding-bottom: 50px;
}
.content {
    padding-left: 1em;
    padding-right: 1em;    
}
.off-canvas .meta-lang a {
    font-size: 1em;
}
.off-canvas-wrapper {
    overflow: hidden;
    height: 100%;
}
.off-canvas-wrapper-inner {
    height: 100%;
}
.off-canvas-content{
    min-height: 0;
    height: 100%;
    max-width: 80%;
    margin: 0 auto;
    overflow-y: auto;
    max-width: 1200px;
    background-color: white;
}
.content {
    max-width: 835px !important;
    width: 100%;
    margin: 0px auto;
}
.bg-grey {
    background-color: #f5f5f5;
    padding-bottom: 3em !important;    
}

.touch .off-canvas-content{
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}
footer{
    border-top: 1px solid #ccc;
    width: 100%;
    padding-bottom: 0px;
}
footer #impressum {
    background-color: #2c333d;
    color: white;
    font-weight: 600;  
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    font-size: .889em;
}
footer .logo_seco {
    padding-top: 1em;
    max-width: 250px;
}
footer span:hover {
    opacity: 0.7;
    cursor: pointer;
}
#bymoxi img {
    height: 30px;
    width: auto;
    padding: 0px;
}
#bymoxi a {
    float: right;
}
hr{
    margin-top: 0;
}
.reveal {
    max-width: 835px !important;
    width: 100%;
    padding: 50px;
    padding-top: 70px;
}
.content.error404 {
    text-align: center;
    font-style: italic;
}


/*HEADER*/
.sticky-container {
    position: absolute !important;
    z-index:10;
    width: 100%;
    max-width: 1200px;
}
header .shadow {
    display: none;
}
header{
    width: 100%;
    z-index: 20;
    background: none;
    max-width: 1200px;
    position: absolute !important;
}
header #head_top{
    padding-top: 20px;
    background: none;
    margin-top: 0 !important;
    width: 100%;
}
header .logo {
    display: none;
}
header #mainnav li{
    list-style-type: none;
    display: inline-block;
}
header #mainnav li.active a{
    background: none;
    color: #000;
}
header #mainnav .submenu{
    margin-left: 0;
    border: 1px solid #efefef;
}
header #mainnav .submenu li{
    margin:  10px;
}
header .shadow {
    background: url(../pix/shadow.png) repeat-x top;
    width: 100%;
    height: 6px;
    position: absolute;
    bottom: -6px;
}
header .menu-icon {
    margin-right: 1em;
}
header #head_top .logo {
    padding-left: 1em;
}
/* VERTICAL MENU */
.off-canvas {
    background-color: #333333;
}
#offCanvas, .vertical.menu{
    padding-top: 30px;
}
ul.vertical.menu.submenu { padding-top: 0; }
.vertical.menu.nested {
    padding-top: 0px;
}
.vertical.menu .is-accordion-submenu-parent > a::after {
    content: '';
    border: none !important;
    background-image: url(../pix/arrow_nav.png);
    background-size: 17px 9px;
    height: 9px;
    width: 17px;
    background-repeat: no-repeat;
    display: block;
    right: 1rem;
    position: absolute;
    margin-top: -15px;
}
.vertical.menu a, #offCanvas .warenkorb, #offCanvas .meta-lang a{
    color: #999999 !important;
}
.vertical.menu .active > a, #offCanvas .meta-lang a.active{
    color: white !important;
    background: none;
}

/* TEXT */
h1,h2,h3,h4,h5{
	line-height: normal;
    margin: 0;
}
h1{
	font-size: 2rem;
    line-height: 2rem;
    font-weight: 600;
    font-family: inherit;
    margin-top: 2em;
}
h2{
	font-size: 22px;
	margin: 0;
    margin-bottom: 30px;
    font-weight: 600;
}
h3{
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}
.lead {
    font-weight: 400;
    font-size: 1.222em;
    margin-bottom: 50px;
}
.intro {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 2.5em;
}
.wichtig {
    border: 2px solid #ff5400;
    padding: 25px 15px 25px 15px;
    margin-top: 1.8em;
} 
.wichtig p {
    margin-bottom: 0px !important;
}
.lauftext {
    font-size: inherit;
    color: #666666;
    margin-top: 3.0em;
}
.lauftext strong {
    color: black;
}
.button {
    background-color: #2c333d;
    color: white;
    margin-bottom: 0px;
    margin-right: 35px;
    font-size: 18px;
    height: 60px;
    line-height: 60px;
    position: relative;
    padding: 0 70px 0 20px;
}
.button a, .button a:hover, .button a:active, .button a:visited {
    color: white;
}
.button img{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 20px;
}
.button.uploadLogo {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
.button_gesetz .icon_gesetz{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 25px;
    width: 26px;
    height: 33px;
    line-height: 33px;
    background: url(../pix/icon_gesetz.svg) no-repeat center;
    font-size: 22px;
    color: #a2c451;
}
.button.uploadLogo + label {
    background-color: #2c333d;
    padding-top: 15px;
    color: white;
    margin-bottom: 0px;
    margin-right: 35px;
    font-size: 1.0em;
    height: 60px;
    vertical-align: middle;
    position: relative;
    width: auto;    
    display: inline-block;
}
.labelUploadLogo {
    padding: .85em 1em;    
}
.labelUploadLogo img {
    padding-left: 20px;
    padding-right: 10px;
}
.labelUploadLogo:hover, .button:hover {
    opacity: 0.7;
    background-color: #2c333d;
    cursor: pointer;
}
p {
    line-height: 1.2;
    margin-bottom: 0.7rem;
}
a, button, .link{
    cursor: pointer;
}
a{
    color: #a2c451;
}
a:hover{
    color: #b9d674;
}
*:focus{
    outline: 0;
}
.button:focus{
    background:#2c333d;
}
.image-legend {
    font-style: italic;
    margin-top: 1em;
    color: #666666;
    font-size: .9em;
    text-align: center;
}
#homepageText {
    color: white;
    font-size: 1.8em;
    font-weight: 600;
    line-height: 40px;
}
#homepageText .content {
    width: 80%;
    padding: 0px;
    margin: 0px;
    padding-top: 1.25em;
}
/* BEREICH */
form {
    margin-top: 2em;
}
.bereich-model {
    width: 100%;
    margin-top: 2.7em;
}
.bereich-model:last-child{
    margin-bottom: 2.7em;
}
.bereich-model .title{
    background-color: #a2c451;
    color: white;
    padding: 15px 15px 15px 15px;
    font-weight: 600;
}
.bereich-model .title img {
    float: right;
    padding-right: 10px;
}
.bereich-model .title img:hover {
    cursor: pointer;
    opacity: 0.7;
}
.bereich-model .content_bereich {
    box-shadow: 0px 0px 10px #d8d8d8;
    padding-top: 20px;
    padding-bottom: 10px;
    color: #666666;
    padding: 15px;
    width: 100%;
    background: #fff;
}
.bereich-model .cell.add-button{
    display: table-cell;
    vertical-align: middle; 
    padding-top: 15px;    
}
.bereich-model .add, .bereich-model .remove{
    height: 30px;
    width: 30px;
    border-radius: 30px;
    background: url(../pix/plus.svg) no-repeat center;
    background-size: 20px;
    background-color: #a2c451;
}
.bereich-model .remove{
    background-image: url(../pix/minus.svg);
}
.bereich-model .add:hover, .bereich-model .remove:hover{
    opacity: 0.7;
    cursor: pointer;
}
.bereich-model .add.inactive {
    opacity: 0.7;
}
.bereich-model .add.inactive:hover{
    opacity: 0.7;
    cursor: inherit;
}
.bereich-beispiel {
    margin-top: 1.25em;
}

/*MODAL*/
.reveal h1{
    font-size: 22px;
    margin: 0 0 30px;
    font-weight: 600;
}
.reveal h2{
    font-size: 18px;
    margin: 30px 0 0;
    font-weight: 700;
}

/*SLIDE*/
.gallery_slide {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.orbit-bullets {
    position: absolute;
    text-align: center;
    bottom: 10px;
    width: 100%;    
    display: none;
}
.orbit-controls {
    display: none;
}
.header_image .gallery_gradient {
    height: 130px;
    padding-top: 80px;
    display: none;
}
.gallery_gradient {
    background: url(../pix/gallery_gradient.png) repeat-x;
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 100px;
    padding-top: 50px;
}
/*SIDEBAR*/
.sidebar > div:not(:last-child){
    margin-bottom: 30px;
}
.sidebar > div:first-child h2{
    line-height: 2rem;
    margin-bottom: 2rem;
}
.sidebar .news_ele{
    margin-bottom: 25px;
}


/* CONTACT */
.mysuccess{
    background-color: #00cc00;
}

.error{
    background-color:#ff0000;
}

.mysuccess, .error{
    width: 100%;
    display: block;
    text-align: center;
    color: white;
    font-size: 16px;
    padding: 8px;
}
#address h3{
    margin-top: 0;
}
#contact table{
    border: 0;
    width: 100%;
    margin-bottom: 0;
}
#contact table tr{
    background: none !important;
}
#contact table tr td{
    padding-left: 0;
    padding-right: 0;
    font-size: 1rem;
}
.form_label{
    width: 100px;
    vertical-align: top;
}
#map_canvas{
    height: 300px;
}
#contact input[type="text"], #contact input[type="email"], #contact textarea, input[type='file']{
    width: 100%;
    max-width: 350px;
    margin: 0;
}
#contact input[type="submit"]{
    background: #008CBA;
    border: none;
    outline: none;
    color: #fff;
    padding: 10px 30px;
}
#contact textarea{
    height: 150px;
}
.gm-style-mtc{
    display: none;
}


/*MAP*/
.map_wrapper{
    position: relative;
}
#map_filter .button.active{
    background: #000;
}
#map{
    width: 100%;
    height: 500px;
}
.map_controls {
    border-radius: 0 0 3px 3px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
}
.map_controls .map_control {
    background-color: #6d6865;
    cursor: pointer;
    float: left;
    line-height: 10px;
    border-left: 1px solid #817c78;
    padding: 9px;
    text-align: center;
}
.map_controls .map_control:first-child { margin-left: 0; }
.map_controls .map_control img {
    display: inline-block;
    height: auto;
    width: 16px;
}
.map_controls .map_control:hover img {
    opacity: 0.5;
}



/*TEAM*/
.team_ele{
    padding-bottom: 30px;
}


/*NEWS*/
#news .detail{
    display: none;
}
#news .news_ele{
    padding-bottom: 30px;
}
.news_less{
    display: none;
}


/*Lightbox (swipebox))*/
#swipebox-slider .slide .swipebox-inline-container, #swipebox-slider .slide .swipebox-video-container, #swipebox-slider .slide img{
    border: 10px solid #fff !important;
    max-width: 90%;
}
#swipebox-slider{
    top: 10px;
    bottom: 10px;
    height: auto;
}
#swipebox-overlay{
    background: rgba(13,13,13,0.8);
}


/***** SHARE *****/
.share p{
    font-weight: bold;
    color:white;
}

.share-button label {
    background-color: #90C960 !important;
    border: none !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    margin-top: 0.5rem !important;
}

.entypo-export:before {
    content: "\e715";
}

.share-button .social.networks-5.left{
    margin-left:0px !important;
}

.share-button .social ul li{
    height:auto !important;
}
/***** END SHARE *****/

/***** INPUT *****/
input[type="text"] {
    height: 60px;
    padding-left: 15px;
}
/***** END INPUT *****/

/* Small */
@media only screen {
    /*nav*/
    #head_top nav.tab-bar, #head_top nav.tab-bar .menu-icon{
        height: 26px;
        line-height: normal;
    }
    nav.tab-bar{
        background: none;
    }
    nav.tab-bar .right-small{
        border: none;
        width: auto;
        height: auto;
    }
    .off-canvas-wrap.move-left .right-off-canvas-menu{
        box-shadow: -4px 0 4px rgba(0, 0, 0, 0.5), 4px 0 4px rgba(0, 0, 0, 0.5);
    }
    .exit-off-canvas{
        box-shadow: none !important;
    }
    .tab-bar .menu-icon span:after{
        box-shadow: 0 0 0 2px #000, 0 11px 0 2px #000, 0 22px 0 2px #000 !important;
        top: 2px;
        left: auto;
        right: 0;
        margin-top: 0;
        width: 25px;
    }
    aside .off-canvas-list dd, aside .off-canvas-list dl{
        margin: 0;
    }
    aside ul.off-canvas-list li a{
        text-decoration: none;
        font-size: 21px;
        line-height: 44px;
        border-bottom: 0 !important;
        padding-left: 25px;
    }
    aside .off-canvas-list dd.active a{
        color: #008CBA;
    }

    /*header*/
    header{
        position: relative;
    }
    .meta-lang {
        padding-top: 20px;
    }
    .meta-site a, .meta-lang a{
        margin-right: 7.5px;
        color: black;
        font-size: .889em;
        font-weight: 600;
    }
    .meta-lang a:last-child{
        margin-right: 0;
    }
    .meta-lang a.active {
        color: white;
        border-bottom: 1px solid white;
    }
    .meta-site{
        padding-left: 20px;
    }
    .logo{
        padding-top: 10px;
        padding-bottom: 15px;
    }

    /*sidebar*/
    .sidebar{
        margin-top: 50px;
    }
    /*gallery*/
    .header_image .gallery_slide{
        width: 100%;
        height: 400px;
    }

    /*news*/
    .news_detail .gallery_slide{
        height: 300px;
    }
    
    /* button */
    .button, .labelUploadLogo {
        margin-bottom: 10px !important;
        margin-right: 0px;
    }
    /* bereich */
    .bereich-model .title {
        font-size: .9em;
    }
    .bereich-model .title img {
        padding-top: 0px;
    }
    
    /* homepage */
    #homepageText .content {
        padding-top: .4em;
        font-size: .9em;
    }

}


/* Medium */
@media only screen and (min-width: 40.0625em) {
    #head_top{
        position: static;
        padding-bottom: 38px;
    }
    #head_top .shadow{
        display: none;
    }
    #head_bottom{
        padding-top: 0;
    }
    .meta-lang, .meta-site{
        float: right;
        padding-right: 1em;
    }
    .meta-site a, .meta-lang a{
        margin-left: 7.5px;
    }
    .meta-site{
        padding-right: 20px;
        padding-left: 0px;
    }
    /* Main-Nav */
    nav.top-bar, .top-bar-section ul li, nav .top-bar-section ul li a{
        background: #fff !important;
        font-size: 20px;
    }
    #mainnav{
        display: table;
        width: 100%;
    }
    .top-bar-section ul li{
        display: table-cell;
        float: none;
    }
    .top-bar-section li a{
        padding-right: 0px !important;
        text-align: right;
    }
    aside .off-canvas-list dd, aside .off-canvas-list dl{
        margin: 0;
    }

    /*sidebar*/
    .sidebar{
        margin-top: 0;
    }

    /*gallery*/
	.header_image .gallery_slide{
	   height: 600px;
	}
    .logo{
        padding-bottom: 0;
        padding-top: 0;
        padding-left: 1em;
    }

    /*news*/
    .news_detail .gallery_slide{
        height: 400px;
    }
    
    /* button */
    .button, 
    .labelUploadLogo, 
    [type="button"] {
        margin-bottom: 10px !important;
        margin-right: 10px;
    }
}

/* Large */
/*@media only screen and (min-width: 54.063em) { */
@media only screen and (min-width: 64.0625em) {
    #bymoxi{
        display: block;
    }
    #homepageText .content {
        padding-top: 1.25em;
        font-size: inherit;
    }
    .meta-lang {
        padding-right: 0;
    }
    
    .bereich-model .title {
        font-size: 1.111em;
    }
    .bereich-model .title img {
        padding-top: 5px;        
    }
}

/*Nav pos*/
.anchor {
    position: relative;
    top: 1px;
}
/*firefox nav position*/
@-moz-document url-prefix() {
    .anchor {
        top: 15px;
    }
}





/* ==|== helper styles =====================================================
   Author: moxi
   ========================================================================== */
.hidden{display: none}
.clear{clear: both}





/*tinymce Admin styles*/
#tinymce .content_gallery{
    width: 256px;
    height: 205px;
    background: url(../../admin/assets/pix/gallery.png) no-repeat center;
    background-size: cover;
    color: transparent;
}
.gallery_placeholder{
    display: block;
}
.gallery_placeholder:after, .gallery_placeholder:before {
    content:"\000A";
    white-space: pre;
}
