/* allgemeine positonierung**************************************/
.rsba {
  position:absolute; left:0px; top:0px;
}

.rsbr {
  position:relative; left:0px; top:0px;
}

/* Haupt-Hintergrundbox**************************************/
.mainframe {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1480px;	
    margin: 0 auto;
    background: transparent;
}

.mainframe_innen {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    padding: 0 2.7027027027027027027027027027027%;
}

.mainframe_content {
    display: inline-block;
    width: 100%;
}

.classic_mainwrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}


/* Arbeitsbox**************************************/
.apb_wrap {
    width: 100%;
    background: #fff;
}

.apb_container {
    width: 601px;
    border: none;
    background: #fff;
    margin: 0 auto;
}

.big_apb_container {
    width: 100%;
    margin: 0 0 90px;
}

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

/******** Teaserboxen ************/
.teaser {
    float: right;
    width: 302px;
    margin: 0;
}

.teaser.teaser4 {
    max-width: 1328px;
}

.teaser.teaser3 {
    max-width: 986px;
}

.teaser.teaser2 {
    max-width: 644px;
}

.teaser.teaser1 {
    max-width: 302px;
}

.teaser.medium {
    width: 631px;
    float: none;
    margin: 0 auto;
}

.teaser.small {
    float: none;
    width: 302px;
    margin: 0 auto;
}

.apb_wrap~.teaser, .big_apb_container~.teaser, .medium_apb_container~.teaser {
    float: none;
    margin: 53px auto 0;
}

.teaserbox {
    float: left;
    margin: 27px 0 0;
}

.teaserbox:first-child {
    margin-top: 0;
    font-size: 0;
    line-height: 0;
}

.teaserbox>div {
    display: inline-block;
    width: 100%;
    padding: 1px;
}

.teaser.medium .teaserbox:first-child {
    margin-top: 27px;
}

.teaser.small .teaserbox:first-child {
    margin-top: 27px;
}

.teaserbox_inner {
    float: left;
    width:300px;
    box-shadow: 0 0 10px 0 rgba(99,63,1,0.2);
    border-radius: 5px;
    overflow: hidden;
}

@media all and (min-width:661px){
    .apb_wrap~.teaser, .big_apb_container~.teaser, .medium_apb_container~.teaser {
        width: 631px;
    }

    .apb_wrap~.teaser .teaserbox:nth-child(-n+2),
    .big_apb_container~.teaser .teaserbox:nth-child(-n+2),
    .medium_apb_container~.teaser .teaserbox:nth-child(-n+2) {
        margin-top: 0;
    }
}

@media all and (min-width:1015px){
    .apb_wrap~.teaser, .big_apb_container~.teaser {
        width: 960px;
    }

    .apb_wrap~.teaser .teaserbox:nth-child(-n+3), .big_apb_container~.teaser .teaserbox:nth-child(-n+3) {
        margin-top: 0;
    }
    
    .medium_apb_container {
        float: left;
        width: calc(100% - 358px);
    }
    
    .medium_apb_container~.teaser {
        float: right;
        width: 302px;
        margin-top: 0;
    }
    
    .medium_apb_container~.teaser .teaserbox:nth-child(n) {
        margin: 56px 0 0;
    }
    
    .medium_apb_container~.teaser div.teaserbox:first-child {
        margin-top: 0;
    }
}

@media all and (min-width:1363px){
    .apb_wrap~.teaser, .big_apb_container~.teaser {
        width: 100%;
    }
    
    .apb_wrap~.teaser .teaserbox:nth-child(n), .big_apb_container~.teaser .teaserbox:nth-child(n) {
        margin-top: calc((100% - 1208px) / 3);
    }
    
    .apb_wrap~.teaser.teaser3 .teaserbox:nth-child(n), .big_apb_container~.teaser.teaser3 .teaserbox:nth-child(n) {
        margin-top: calc((100% - 906px) / 2);
    }
    
    .apb_wrap~.teaser.teaser2 .teaserbox:nth-child(n), .big_apb_container~.teaser.teaser2 .teaserbox:nth-child(n) {
        margin-top: calc(100% - 604px);
    }
    
    .apb_wrap~.teaser .teaserbox:nth-child(-n+4),
    .apb_wrap~.teaser.teaser1 .teaserbox:nth-child(-n+4),
    .apb_wrap~.teaser.teaser3 .teaserbox:nth-child(-n+4),
    .big_apb_container~.teaser .teaserbox:nth-child(-n+4),
    .big_apb_container~.teaser.teaser1 .teaserbox:nth-child(-n+4),
    .big_apb_container~.teaser.teaser3 .teaserbox:nth-child(-n+4) {
        margin-top: 0;
    }
}


/*************************** variable Zipfel ****************************/

/******** ContentThread ************/

/**** list ****/

.ct_list_box {
    float: left;
    margin-top: 53px;
    position: relative;
    z-index: 0;
}

.ct_list_boxheadline {
    font: 400 15px/22px Verdana,Arial,sans-serif;
    text-decoration:none;
    color: #31423c;
}


/******** Quickmessage ************/

/**** overview ****/

.qm_ov_boxheadline {
    font: 800 17px/1.47 Montserrat,Arial,sans-serif;
    text-decoration:none;
    color: #545454;
    padding: 22px 29px 16px;
    background: #fff;
}

.qm_ov_boxheadline a, .qm_ov_boxheadline a:hover {
    font: 800 17px/1.47 Montserrat,Arial,sans-serif;
    text-decoration:none;
    color:#545454;
}

.qm_ov_box {
    background: #fff;
}

.qm_ov_bild_box {
    font-size: 0;
    line-height: 0;
}

.qm_ov_boxheadline+.qm_ov_box .qm_ov_bild_box {
    padding-top: 6px;
}

.qm_ov_text {
    padding: 0 29px 29px;
}

.qm_ov_text a {
    font: 400 17px/1.47 'Open Sans',Verdana,sans-serif;
    color:#545454;
}

.qm_ov_bild_box+.qm_ov_text {
    padding-top: 25px;
}

.qm_ov_mehrlink {
    margin: 23px 0 0;
    font-size: 0;
    line-height: 0;
}

/******** GalleryExt ************/

/**** overview ****/

.gal_ov_boxheadline {
    font: bold 12px/18px Verdana,Arial,sans-serif;
    text-decoration:none;
    color: #545454;
    padding: 8px 10px 7px;
    background: #ededed;
}

.gal_ov_box {
    background: #fafafa;
    padding: 15px 10px;
}


/**** menueII ****/
.teaserbox_inner.gal_m2 {
    overflow: visible;
    background: #fff;
}

.gal_m2_boxheadline {
    font: 800 17px/1.47 Montserrat,Arial,sans-serif;
    text-decoration:none;
    color: #3c3c3c;
    padding: 22px 29px 7px;
}

.gal_m2_box {
    padding: 16px 29px 29px; 
}


/******** Document ************/

/**** overview ****/

.doc_ov_boxheadline {
    font: bold 12px/18px Verdana,Arial,sans-serif;
    text-decoration:none;
    color: #545454;
    padding: 8px 10px 7px;
    background: #ededed;
}

.doc_ov_box{
    background: #fafafa;
    padding: 10px; 
    overflow: hidden;
}


/******** CategoryLink ************/

/**** overview ****/

.cl_ov_box {
    width: 208px;
    background: #fff;
    margin-left: 15px;
    margin-top: 17px;
}


/******** GoogleMap ************/

/**** overview ****/

.goom_ov_boxstart {
    position:relative;
    left:6px;
    top:0px;
    z-index:3;
    margin-top:-82px;
}

.goom_ov_bgboxstart {
    position:relative;
    left:3px;
    top:0px;
    z-index:2;
}

.goom_ov_bgbox1_1 {
    height:8px;
    width:8px;
    background:transparent url(boxbilder/goom_ov/01_zipfel_ecke_oben_links.png) no-repeat;
}

.goom_ov_bgbox1_2 {
    height: 8px;
    background:transparent url(boxbilder/goom_ov/10_zipfel_schein_oben.png) repeat-x;
}

.goom_ov_bgbox1_3 {
    height:8px;
    width:8px;
    background:transparent url(boxbilder/goom_ov/09_zipfel_ecke_oben_rechts.png) no-repeat;
}

.goom_ov_bgbox2_1 {
    width:8px;
    background:transparent url(boxbilder/goom_ov/02_zipfel_schein_links.png) repeat-y;
}

.goom_ov_bgbox2_2 {
    background:transparent url(boxbilder/goom_ov/11_zipfel_pixel_text_oben.png) repeat;
}

.goom_ov_bgbox2_3 {
    width:8px;
    background:transparent url(boxbilder/goom_ov/08_zipfel_schein_rechts.png) repeat-y;
}

.goom_ov_bgbox3_1 {
    height:69px;
    width:8px;
    background:transparent url(boxbilder/goom_ov/03_zipfel_verlauf_links.png) no-repeat;
}

.goom_ov_bgbox3_2 {
    height: 69px;
    background:transparent url(boxbilder/goom_ov/12_zipfel_verlauf_unter_text_innen.png) repeat-x;
}

.goom_ov_bgbox3_3 {
    height:69px;
    width:8px;
    background:transparent url(boxbilder/goom_ov/07_zipfel_verlauf_rechts.png) no-repeat;
}

.goom_ov_bgbox4_1 {
    height:8px;
    width:8px;
    background:transparent url(boxbilder/goom_ov/04_zipfel_ecke_unten_links.png) no-repeat;
}

.goom_ov_bgbox4_2 {
    height: 8px;
    background:transparent url(boxbilder/goom_ov/05_zipfel_schein_unten.png) repeat-x;
}

.goom_ov_bgbox4_3 {
    height:8px;
    width:8px;
    background:transparent url(boxbilder/goom_ov/06_zipfel_ecke_unten_rechts.png) no-repeat;
}

.goom_ov_boxheadline {
    font-family:Verdana;
    font-size:10pt;
    font-weight: 500;
    text-decoration:none;
    margin-left:3px;
    padding-top:0px;
    padding-bottom:0px;
    padding-left:6px;
    padding-right:8px;
    color:#63747a;
}

.goom_ov_boxheadline a {
    font-family:Verdana;
    font-size:10pt;
    font-weight: 500;
    color:#63747a;
    text-decoration:none;
}

.goom_ov_boxheadline a:hover {
    color:#192c33;
}


/***************** Boxen innen ******************************/
.box_innen {
    width: 100%;
    display: inline-block;
}

/******** ContentCategory ************/

/**** overview ****/

.cc_ov_boxheadline {
    overflow: hidden;
    font: 12px/18px Verdana,Arial,sans-serif;
    text-decoration:none;
    padding: 0 8px 4px 6px;
    color:#545454;
    background: #ededed;
}

.cc_ov_boxheadline a {
    font: 12px/18px Verdana,Arial,sans-serif;
    text-decoration:none;
    color:#545454;
}

.cc_ov_boxheadline a:hover {
    color:#009898;
}

.cc_ov_box {
    background: #fafafa;
}