@font-face {
    font-family: 'Open Sans';
    src: local('Open Sans Regular'), local('OpenSans-Regular'),
    url('fonts/OpenSans-Regular-webfont.woff') format('woff');
}

body, html {
    height:100%;
}

body {
    margin:0;
    padding:0;
    font-family:'Open Sans',open_sansregular,Arial,Helvetica,sans-serif;
}

img {
    display:block;
    border:0;
}

div {
    box-sizing: border-box;
}

#wrapper {
    min-width:320px;
    min-height:100%;
    position:relative;
    overflow: hidden;
}

.inner {
    max-width: 960px;
    min-width: 360px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 10px;
    padding-right: 10px;
}


/* HEADER */

#header {
    position:relative;
}


#ban {
    height:360px;
    background-position:center center;
    background-repeat:no-repeat;
    background-image: url(img/bg-3.webp);
    background-size: cover;
}

#topbanout,
#botbanout {
    background-color: rgba(255,255,255,0.7);
}

#topbanout {
    position:relative;
}

#topbanout, #topbanleft, #botbanout {
    height: 3em;
}

#topban {
    padding:0;
    position: relative;
    display: flex;
    height: 100%;
}

#topbanleft {
    display: flex;
    height: 100%;
    align-items: center;
}



#topbanleft img {
    width: 100%;
    height: auto;
}

#botbanout {
    bottom:0;
    left:0;
    right:0;
    position:absolute;
    z-index:20;
}


/* content */

#content {
    padding-bottom: 30px;
}

.contsec {
    padding: 5% 0;
    position: relative;
}

/* sec 1 */
/* GRID */

.grid33 {
    display: grid;
    display: -ms-grid;
    text-align: justify;
}


/* WEBDESIGN */

.contsec1 {
    background-color: #f7f9ef;
}

.contsec1 .grid33 {
    grid-template-columns: auto 360px auto;
    -ms-grid-columns: 1fr 300px 1fr;
}


.contsec1 .gridlinks {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
}

.contsec1 .gridrechts {
    grid-column-start: 2;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
}


.contsec1 .rightfloat-1, .contsec1 .leftfloat-1 {
    width: 360px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    margin: 30px 0;
}

.contsec1 .rightfloat-1 {
    float: right;
    shape-outside: polygon(100% 100%, 0px 100%, 0px calc(50% + 80px), 100% calc(50% - 190px), 100% 0px);
    shape-outside: polygon(100% 100%, 0px 100%, 0px calc(50% + 80px), calc(100% - 60px) calc(50% - 190px), 100% 0px);
    /* height: 100%;
    border: 1px solid #CCCCCC; */
}

.contsec1 .leftfloat-1 {
    float: left;
    shape-outside: polygon(100% 0px, 100% calc(50% - 80px), 80px calc(50% + 150px), 0px calc(50% + 150px), 0px 0px);
    shape-outside: polygon(100% 0px, 100% calc(50% - 60px), 135px calc(50% + 150px), 0px 100%, 0px 0px);
}

.contsec1 .float-1 img {
    display: block;
    margin: 0 auto;
    position: relative;
    /* top: 50%;
    transform: translateY(-50%); */
}

.contsec1 .mtop {
    margin-top: 130px;
}



.contsec3 {
    padding: 10% 0;
    background-position:center center;
    background-repeat:no-repeat;
    background-image: url(img/9914-1200-800-low-dark.jpg);
    background-size: cover;
}

/* sec2 */

.contsec2 {
    background-color: #FDFDF8;
}

.contsec2 .einsp {
    margin: 0 auto 50px;
}

.flex-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    max-width: 960px;
    margin: auto;
    /* margin-bottom: 80px; */
    justify-content: space-between;
}

.contsec2 .contbox {
    width: 30%;
    /* border: 1px solid #CCC; */
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    background-color: #FFF;
}

.contsec2 .contbox > div {
    background-color: #FFF;
    color: #333;
}

.contsec2 .cboxtop, .contsec2 .cboxmid, .contsec2 .cboxbot {
    width: 100%;
}

.cboxtop h2 {
    margin: 0;
    padding: 20px 10px;
    font-size: 180%;
    text-align: center;
}

.cboxmid img {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    /* border-width: 0;
    border-top: 1px solid #AAA;
    border-bottom: 1px solid #AAA; */
    border: 1px solid #999;
}

.cboxbot {
    padding: 0 10px;
}


/* sec3 */

.mauto {
    margin: auto;    
}

.center3 {
    color: #FFF;
    width: 60%;
    margin: auto;
}

.center3 p {
    text-align: justify;
    hyphens: auto;
}

#ovl3 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;    
    background-color: #000;
    opacity: 0.5;
}

.innersec3 {
    position: relative;
}


/* Formate */

h1, h1 a {
    margin-top: 0;
    margin-bottom: 10px;
    padding-top: 0;
    padding-bottom: 20px;
    font-size: 250%;
    font-weight: normal;
    /* color: #911; */
}

h1 a {
    font-size: 100%;
    text-decoration: none;
    color: #fafafa;
}

h2 {
    margin-top: 0;
    margin-bottom: 20px;
    padding: 0;
    font-size: 180%;
    font-weight: normal;
    color: #111;
}

p {
    font-size: 120%;
    line-height: 1.2em;
}

/* Footer */

#footer {
    width: 100%;
    /* min-height: 50px; */
    background-color: #CCCCCC;
    bottom: 0;
    position: absolute;
}

#innerfoot {
    height: 30px;
    padding-right: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: end;
}

#botmenu {
    align-self: center;
}

#botmenu a {
    text-decoration: none;
    color: #333;    
}


@media (max-width: 900px) {

.contsec1 .grid33 {
    grid-template-columns: auto 300px auto;
}

.contsec1 .rightfloat-1, .contsec1 .leftfloat-1  {
    width: 300px;
}

.contsec1 .float-1 img {
    width: 250px;
    height: auto;
}

.contsec1 .rightfloat-1 {
    shape-outside: polygon(100% 100%, 0px 100%, 0px calc(50% + 70px), 100% calc(50% - 170px), 100% 0px);
    shape-outside: polygon(100% 100%, 0px 100%, 0px calc(50% + 50px), 100% calc(50% - 180px), 100% 0);
}

.contsec1 .leftfloat-1 {
    display: block;
    shape-outside: polygon(100% 0px, 100% calc(50% - 50px), 60px calc(50% + 150px), 0px calc(50% + 150px), 0px 0px);
    shape-outside: polygon(100% 0px, 100% calc(50% - 50px), 60px calc(50% + 180px), 0px 100%, 0px 0px);
}

.contsec1 .gridrechts .mtop {
    margin-top: 165px;
}

.contsec1 p {
    font-size: 120%;
    /* line-height: 1.2em; */
}

.mbot {
    margin-bottom: 100px;
}

#topban {
    padding-left: 10px;
}


}


@media (max-width: 800px) {

#ban {
    height: 250px;
}

#topbanout {
    position: relative;
}

#topbanout, #botbanout {
    background-color: rgba(255,255,255,0.7);
}

#topbanleft {
    width: 240px;
}

#topbanright {
    /* display: block; */
}

#botban {
    display: none;
}


#botbanout {
    background-color: transparent;
    border-bottom: 20px solid rgba(255,255,255,.8);
    z-index: 0;
}

.flex-2 {
    display: block;
}

.flex-2 > div {
    /* margin: 100px auto; */
}

.contsec2 .contbox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}

.contsec2 .contbox {
    width: 100%;
    margin: 50px auto;
}

.contsec2 .cboxtop {
        grid-row: 1;
        grid-column: 1;
        align-self: start;
        margin: initial;
}


.contsec2 .cboxmid {
        grid-column: 2;
        grid-row: 1/3;
        padding-left: 50px;
        display: flex;
}

.contsec2 .cboxmid img {
        height: 200px;
        width: 100%;
        object-fit: cover;
        object-position: center;
        align-self: center;
}

.contsec2 .cboxbot {
        grid-row: 2;
        grid-column: 1;
        padding: 0;
}



.cboxtop h2 {
    text-align: left;
    padding: 20px 10px 10px 0;
}

.contsec2 .cboxbot > p {
    width: initial;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

}

@media (max-width: 680px) {

.contsec1 .grid33 {
    grid-template-columns: 1fr;
    grid-template-rows: auto 100px auto;
}

.contsec1 .gridlinks {
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 2;
    /* -ms-grid-row: 1;
    -ms-grid-row-span: 2; */
}

.contsec1 .gridrechts {
    grid-row-start: 2;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 2;
    /* -ms-grid-row: 2;
    -ms-grid-row-span: 2; */
}

.contsec1 .rightfloat-1 {
    display: flex;
    align-items: flex-end;
    shape-outside: polygon(calc(50% - 120px) 100%, calc(50% - 120px) calc(100% - 70px), calc(50% + 70px) calc(100% - 200px), 100% calc(100% - 200px), 100% 100%);
    width: 100%;
    height: 100%
}

.contsec1 .leftfloat-1 {
    shape-outside: polygon(calc(50% + 120px) 0px, calc(50% - 60px) 110px, 0 110px, 0px 0px);
    width: 100%;
    height: 100%;
}


.contsec1 .float-1 {
    margin: 0 auto;
}

.contsec1 .float-1 img  {
    width: 200px;
    display: block;
    transform: rotate(10deg);
}

.contsec1 .gridrechts .mtop {
    margin-top: -20px;
}

.contsec1 .gridlinks .mbot {
    margin-bottom: 10px;
}

.contsec1 .gridrechts .mbot {
    margin-bottom: 100px;
}

.flex-2 .contbox  {
    display: flex;
}

.contsec2 .contbox {
        display: flex;
        flex-wrap: wrap;
        padding-bottom: 20px;
        width: 80%;
        margin: 0 auto;
}

.contsec2 .contbox > div {
        margin: auto;
}

.contsec2 .contbox .cboxtop {
        width: 80%;
        margin-bottom: 20px;
        order: 1;
}

.contsec2 .contbox .cboxmid {
        width: 80%;
        padding: 0;
        order: 2;
}

.contsec2 .contbox .cboxmid img {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
}

.contsec2 .contbox .cboxbot {
        width: 80%;
        text-align: justify;
        order: 3;
}

.contsec2 .cboxmid img {
    box-shadow: 0px 0px 0px 0px #999;
}

.cboxtop h2 {
    text-align: center;
    padding: 20px 10px 10px 0;
}

.contsec2 .cboxbot > p:first-of-type {
    margin-top: 20px;
}

.einsp > h1 {
    text-align: center;
}

}

