/* cmsms stylesheet: external modified: 10/09/19 15:58:19 */
.bx-wrapper{position:relative;padding:0;*zoom:1;-ms-touch-action:pan-y;touch-action:pan-y}
.bx-wrapper img{max-width:100%;display:block}
.bxslider{margin:0;padding:0}
ul.bxslider{list-style:none}
.bx-viewport{-webkit-transform:translatez(0)}
.bx-wrapper{-moz-box-shadow:0 0 5px #ccc;-webkit-box-shadow:0 0 5px #ccc;background:#fff}
.bx-wrapper .bx-pager,.bx-wrapper .bx-controls-auto{position:absolute;bottom:-30px;width:100%}
.bx-wrapper .bx-loading{min-height:50px;background:url(images/bx_loader.gif) center center no-repeat #fff;height:100%;width:100%;position:absolute;top:0;left:0;z-index:2000}
.bx-wrapper .bx-pager{text-align:center;font-size:.85em;font-family:Arial;font-weight:700;color:#666;padding-top:20px}
.bx-wrapper .bx-pager.bx-default-pager a{background:#666;text-indent:-9999px;display:block;width:10px;height:10px;margin:0 5px;outline:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}
.bx-wrapper .bx-pager.bx-default-pager a:hover,.bx-wrapper .bx-pager.bx-default-pager a.active,.bx-wrapper .bx-pager.bx-default-pager a:focus{background:#000}
.bx-wrapper .bx-pager-item,.bx-wrapper .bx-controls-auto .bx-controls-auto-item{display:inline-block;vertical-align:bottom;*zoom:1;*display:inline}
.bx-wrapper .bx-pager-item{font-size:0;line-height:0}
.bx-wrapper .bx-prev{left:10px;background:url(images/controls.png) no-repeat 0 -32px}
.bx-wrapper .bx-prev:hover,.bx-wrapper .bx-prev:focus{background-position:0 0}
.bx-wrapper .bx-next{right:10px;background:url(images/controls.png) no-repeat -43px -32px}
.bx-wrapper .bx-next:hover,.bx-wrapper .bx-next:focus{background-position:-43px 0}
.bx-wrapper .bx-controls-direction a{position:absolute;top:50%;margin-top:-16px;outline:0;width:32px;height:32px;text-indent:-9999px;z-index:9999}
.bx-wrapper .bx-controls-direction a.disabled{display:none}
.bx-wrapper .bx-controls-auto{text-align:center}
.bx-wrapper .bx-controls-auto .bx-start{display:block;text-indent:-9999px;width:10px;height:11px;outline:0;background:url(images/controls.png) -86px -11px no-repeat;margin:0 3px}
.bx-wrapper .bx-controls-auto .bx-start:hover,.bx-wrapper .bx-controls-auto .bx-start.active,.bx-wrapper .bx-controls-auto .bx-start:focus{background-position:-86px 0}
.bx-wrapper .bx-controls-auto .bx-stop{display:block;text-indent:-9999px;width:9px;height:11px;outline:0;background:url(images/controls.png) -86px -44px no-repeat;margin:0 3px}
.bx-wrapper .bx-controls-auto .bx-stop:hover,.bx-wrapper .bx-controls-auto .bx-stop.active,.bx-wrapper .bx-controls-auto .bx-stop:focus{background-position:-86px -33px}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager{text-align:left;width:80%}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto{right:0;width:35px}
.bx-wrapper .bx-caption{position:absolute;bottom:0;left:0;background:#666;background:rgba(80,80,80,0.75);width:100%}
.bx-wrapper .bx-caption span{color:#fff;font-family:Arial;display:block;font-size:.85em;padding:10px}
a.meanmenu-reveal{display:none}
.mean-container .mean-bar{float:left;width:100%;position:relative;background:#066eb5;padding:4px 0;min-height:42px;z-index:800}
.mean-container a.meanmenu-reveal{width:22px;height:22px;padding:13px 13px 11px;position:absolute;top:0;right:0;cursor:pointer;color:#fff;text-decoration:none;font-size:16px;text-indent:-9999em;line-height:22px;font-size:1px;display:block;font-family:Arial,Helvetica,sans-serif;font-weight:700}
.mean-container a.meanmenu-reveal span{display:block;background:#fff;height:3px;margin-top:3px}
.mean-container .mean-nav{float:left;width:100%;background:#066eb5;margin-top:44px}
.mean-container .mean-nav ul{padding:0;margin:0;width:100%;list-style-type:none}
.mean-container .mean-nav ul li{position:relative;float:left;width:100%}
.mean-container .mean-nav ul li a{display:block;float:left;width:90%;padding:1em 5%;margin:0;text-align:left;color:#fff;border-top:1px solid #383838;border-top:1px solid rgba(255,255,255,.5);text-decoration:none;text-transform:uppercase}
.mean-container .mean-nav ul li li a{width:80%;padding:1em 10%;border-top:1px solid #f1f1f1;border-top:1px solid rgba(255,255,255,.25);opacity:.75;filter:alpha(opacity=75);text-shadow:none!important;visibility:visible}
.mean-container .mean-nav ul li.mean-last a{border-bottom:0;margin-bottom:0}
.mean-container .mean-nav ul li li li a{width:70%;padding:1em 15%}
.mean-container .mean-nav ul li li li li a{width:60%;padding:1em 20%}
.mean-container .mean-nav ul li li li li li a{width:50%;padding:1em 25%}
.mean-container .mean-nav ul li a:hover{background:#252525;background:rgba(255,255,255,.1)}
.mean-container .mean-nav ul li a.mean-expand{margin-top:1px;width:26px;height:32px;padding:12px!important;text-align:center;position:absolute;right:0;top:0;z-index:2;font-weight:700;background:rgba(255,255,255,.1);border:0!important;border-left:1px solid rgba(255,255,255,.4)!important;border-bottom:1px solid rgba(255,255,255,.2)!important}
.mean-container .mean-nav ul li a.mean-expand:hover{background:rgba(0,0,0,.9)}
.mean-container .mean-push{float:left;width:100%;padding:0;margin:0;clear:both}
.mean-nav .wrapper{width:100%;padding:0;margin:0}
.mean-container .mean-bar,.mean-container .mean-bar *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}
.mean-remove{display:none!important}
/* cmsms stylesheet: main-v2 modified: 11/27/19 15:39:51 */
*{margin:0;padding:0;box-sizing:border-box;word-break:break-word;word-wrap:break-word;font-family:'Open Sans',sans-serif}
body{color:#474747}
a{text-decoration:none;color:inherit}
p{font-size:16px;line-height:22px}
img{vertical-align:middle}
img.logo{width:100%;/*max-width:501px;*/max-width:340px;height:auto;}
span.logounterschrift{    position: absolute;
    left: 0;
    padding-left: 12px;
    top: 126px;
    font-size: 11px;}
iframe{border:0}
h1,h2,h3,h4{font-family:'Roboto Slab',serif}
.content{width:1236px;margin:0 auto;display:table;table-layout:fixed;position:relative}
.content.box5 {
  padding: 0 0 30px;
}
header{/*height:86px;*/height:149px;overflow:visible;position:fixed;width:100%;z-index:800;background-color:white}
header>div>img{width:500px;height:auto;float:left}
/* header>div>div{float:right;width:790px;} */
header>div>div{
  float: right;width: 100%;
  max-width: 810px;
  padding: 0 10px;
}
header>div>div>div{padding:22px 0 0 0;font-size:14px;float:right;width:100%;text-align:right}
header>div>div>div>a{padding:0 0 0 20px}
header>div>div>div i{padding:0 4px 0 0;color:#066eb5}
header>div>div>nav{font-size:14px;line-height:50px;float:right;background: #066eb5;/*margin-top: 15px;*/ margin-top:25px;width:100%;
    padding: 0 4px;
    color: white;
    border-radius: 9px;}
header>div>div>nav>ul{list-style-type:none}
header>div>div>nav>ul>li{float:left}
header>div>div>nav>ul>li>a{/*padding:16px 15px 12px 20px*/ padding: 16px 9px 12px 15px;text-transform: uppercase;font-weight:700;}
header>div>div>nav>ul>li:last-child>a{padding:16px 0 12px 20px}
main{padding:86px 0 0 0}

h1 span {
  display: block;
  color: black;
  font-size: 80%
}

.clear{clear:both}
/* .fa{padding-right: 10px;top: 4px;position: relative;} */
.breakIcon{float:left;padding-bottom:10px;}
.hideText{display:none}
.showText{display:block}
#toggleText:hover{cursor:pointer;color:#066eb5}
.bx-wrapper,.bx-wrapper *{object-fit:cover}
.page .banner{width:100%;position:relative;margin-top:63px;}
.page .banner img{width:100%;height:auto}
.home h1, .title{display:block;/*background:linear-gradient(to bottom,rgba(0,0,0,0.16) 0,rgba(0,0,0,0) 20px,rgba(0,0,0,0) calc(100% - 20px),rgba(0,0,0,0.16) 100%);*/line-height:46px;/*line-height:74px;/*color:#61993b*/color: #066eb5;text-align:left;font-size:30px;font-weight:400;position:relative;/*margin-top: 20px;*/}
.home h1{margin-top:75px;}
.home h1:before,.title:before{/*content:'';*/display:block;background-image:url('http://matratzenexperte.ch.80-74-153-240.tajo.host.ch/uploads/images/layout/pattern.jpg');position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:-1;opacity:.4}
a.homeLink{z-index:2;position:relative}
a.homeLink:hover{text-decoration:underline}
a.homeCoverLink,.box5 a.homeCoverLink{position:absolute;width:100%;height:100%;top:0;left:0;z-index:1}
h2.anchorSet:before,h3.anchorSet:before{display:block;content:" ";margin-top:-150px;height:150px;visibility:hidden;pointer-events:none}
h2 span{font-size:24px;display:block}
ul.type1{list-style-type:none;padding:30px 0 0 0}
ul.type1 li{position:relative;left:10px;padding:8px 0}
ul.type1 li:before{content:'';display:block;position:absolute;width:4px;height:4px;border-radius:50%;background-color:#474747;left:-10px;top:18px}
ul.type1 li:after{content:'';display:block;position:absolute;width:310px;height:2px;background-color:#066eb5;left:-10px;top:38px}
ul.type2{list-style-type:none;padding:0 0 20px 0}
ul.type2 li{position:relative;left:10px}
ul.type2 li:before{content:'';display:block;position:absolute;width:4px;height:4px;border-radius:50%;background-color:#474747;left:-10px;top:10px}
ul.type3{list-style-type:none;font-size:16px;font-weight:600}
ul.type3 li{position:relative;left:10px;line-height:26px}
ul.type3 li:before{content:'';display:block;position:absolute;width:4px;height:4px;border-radius:50%;background-color:#474747;left:-10px;top:12px}
ol.type3{font-size:16px;font-weight:600;position:relative;left:10px}
ol.type3 li{position:relative;left:10px;line-height:26px}
ul.type4{list-style-type:none;font-size:14px;font-weight:400}
ul.type4 li{position:relative;left:10px;line-height:26px}
ul.type4 li:before{content:'';display:block;position:absolute;width:4px;height:4px;border-radius:50%;background-color:#474747;left:-10px;top:12px}
.layout1{padding:60px 0 50px 0}
.layout1>div>*:nth-child(1){float:left}
.layout1>div>*:nth-child(2){float:right}
.layout1>div>*:nth-child(2)>*:nth-child(2){margin:36px 0 0 0}
.layout2.box3>div{position:relative}
.layout2>div>*:nth-child(1){float:left;width:804px;position:relative}
.layout2>div>*:nth-child(2){float:right;width:316px}
.layout2.box3>div:before{content:'';display:block;position:absolute;top:0;left:804px;right:316px;bottom:0;height:240px;width:1px;background-color:#066eb5;margin:auto}
.layout3{display:table;width:100%;table-layout:fixed;padding:40px 0 0 0}
.layout3>*:nth-child(1){width:470px;float:left}
.layout3>*:nth-child(2){width:320px;height:auto;float:right}
.layout4{padding:41px 0 70px 0}
.layout4>div{display:flex;justify-content:space-between;flex-wrap:wrap}
.layout5{padding:150px 0 0 0}
.layout6>*:nth-child(1){width:420px;float:left}
.layout6>*:nth-child(2){float:right;width:480px}
.box1{width:815px;display:block;border-radius:10px;color:white;position:relative;z-index:400;padding:30px 24px;overflow:hidden}
.box1:before,.box1:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}
.box1:before{z-index:-2}
.box1:after{z-index:-1}
.box1.type1:before{background-image:url(http://matratzenexperte.ch.80-74-153-240.tajo.host.ch/uploads/images/box/box1/type1.jpg);background-size:cover;background-position:center}
.box1.type1:after{background:linear-gradient(135deg,rgba(86,142,61,0.7) 10%,rgba(86,142,61,0.7) 20%,rgba(86,142,61,0.7) 100%)}
.box1 h2{font-size:30px;font-weight:700;padding:0 0 18px 0}
.box1 h3{font-size:18px;font-weight:600;font-family:'Open Sans',sans-serif;padding:0 0 9px 0}
.box1 p{font-size:14px;width:514px}
.box2{width:390px;display:block;border-radius:10px;overflow:hidden;position:relative;z-index:400;color:white;padding:30px 36px}
.box2:before,.box2:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}
.box2:before{z-index:-2}
.box2:after{z-index:-1}
.box2.type1:before{background-image:url(http://matratzenexperte.ch.80-74-153-240.tajo.host.ch/uploads/images/box/box2/type1.jpg);background-size:cover}
.box2.type1:after{background:linear-gradient(135deg,rgba(86,142,61,0.7) 10%,rgba(86,142,61,0.7) 20%,rgba(86,142,61,0.7) 100%);transition:background .3s ease}
.box2.type2:before{background-image:url(http://matratzenexperte.ch.80-74-153-240.tajo.host.ch/uploads/images/box/box2/type2.jpg);background-size:cover}
.box2.type2:after{background:linear-gradient(135deg,rgba(86,142,61,0.7) 10%,rgba(86,142,61,0.7) 20%,rgba(86,142,61,0.7) 100%)}
.box2 h2{font-size:30px;font-weight:700}
.box3{position:relative;background:linear-gradient(to bottom,rgba(0,0,0,0.1) 0,rgba(0,0,0,0) 20px,rgba(0,0,0,0) calc(100% - 20px),rgba(0,0,0,0.1) 100%);padding:24px 0 40px 0}
.box3:before{content:'';display:block;background-image:url('http://matratzenexperte.ch.80-74-153-240.tajo.host.ch/uploads/images/layout/pattern.jpg');position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:-1;opacity:.4}
.box3 h2{font-size:42px;color:#066eb5;font-weight:400}
.box3 h2 strong{font-weight:700}
.box4{position:relative;width:32%;display:block;font-size:20px;font-family:'Roboto Slab',serif;border-radius:10px;overflow:hidden;text-align:center;/*color:white;*/position:relative;float:left;  margin-bottom: 20px;    color: #066eb5;
    border: 1px solid #066eb5;padding-bottom: 34px;}
.box4 ul {
    /*color: white;*/
    font-weight: normal;
    text-align: left;
    /*max-width: 260px;*/
    margin: 0 auto 20px;
    font-size: 18px;
    list-style: none;
    display: inline-block;
}
.box4 ul li {
    padding-left: 16px;
    position: relative;
}
.box4 ul li:before {
    content: "";
    display: block;
    position: absolute;
    left: 5px;
    top: 10px;
    width: 5px;
    height: 5px;
    background-color: #066eb5;
    border-radius: 100px;
}

.box4 .button {line-height: 32px;border-top: 1px solid #066eb5;background-color:#066eb5;color:#fff;position: absolute;width: 100%;bottom: 0;}
.box4 .button:hover{opacity:0.8;}
.box4 .pic, .likeBox4 .pic{
  width: 100%;
  height: 150px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.box4 img{width:100%;height: auto;}
/* .box4:before{content:'';display:block;position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:-1;background-size:cover} */
.box4 a{position:absolute;top:0;bottom:0;right:0;left:0;transition:all 300ms;z-index: 2}
.box4 a:hover {
    background: rgba(255,255,255,0.3);
}
/*.box4.type1, .box4.type2, .box4.type3 {background:rgba(217, 217, 217)}*/
.box5 h2, .box5 h1{font-size:30px;font-weight:400;color:#066eb5;/*color: #64a2d5;*/padding:0 0 20px 0}
.box5 h2.topList{font-size:32px;font-weight:600;color:#066eb5;padding:15px 0 0 0}
.box5 h3{font-family:'Open Sans',sans-serif;font-weight:700;padding:0 0 14px 0;color:#066eb5}
.box4 h3, .likeBox4 h3{font-size: 28px;font-weight: 700;line-height: 51px;font-family: 'Roboto Slab',serif;text-align: center;}

.box5 img{max-width:100%;height:auto}
.box5 #rightTop img{padding:12px}
.contentIMG{padding:12px 12px 12px 0}
.box5 ul.type2{font-size:14px;padding:20px 0}
.box5 a{position:relative}
.box5 a:hover{color:#066eb5}
.box5 a.contentMail{color:#066eb5;font-weight:bold}
.box5 .thirds {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between
}
.thirds > div {
  flex: 2 1 30%;
  padding: 10px 20px
}
.thirds .box4 {
  margin: 0 10px;
  width: 100%;
  padding-bottom: 10px;
  margin: 0;
}
.box6{width:100%;position:relative;overflow:hidden;padding:15px;border-radius:10px;display:block;margin-bottom:15px}
.uebersicht p {
  margin-bottom: 10px;
  font-size: 18px;
}
.uebersicht p a, .uebersicht ul {
  color: #066eb5;
}

.thirds .marktBox {
  width: 100%;
}


.uebersicht ul ul {
  padding-left: 10px;
  font-size: 12px;
}

.marktBox{position:relative;overflow:hidden;padding:24px 28px 40px 28px;border-radius:10px;display:block;width:30%;float:left;min-height:200px}
.marktBox:before{content:'';display:block;position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:.24;background-position:center;background-size:cover;background-repeat:no-repeat}
.specialHomelink{border: 1px solid #fff;padding: 5px;}
.first,.second,.last{min-height:150px!important}
.first:before{background-image:url(/uploads/images/box/box2/type1.jpg)!important}
.second:before{background-image:url(/uploads/images/box/box2/type2.jpg)!important}
.last:before{background-image:url(/uploads/images/box/box2/type3.jpg)!important}
.middle{margin:0 5%}
.marktBox h2{font-size:25px}
.box5 a.marktBoxLink{position:absolute;width:100%;height:100%;top:0;left:0}
.box6:before,.marktBox:before{content:'';display:block;background-image:url(/uploads/images/layout/pattern.jpg);position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:.24}
.box6 h2{font-weight:700;font-size:25px}
.box6 p{font-size:16px;line-height:28px}
.italic{font-style:italic}
#homeText{font-size:16px;text-align:justify}
#backButton{position:fixed;z-index:999;display:block;border:2px solid #066eb5;margin-left:1122px;margin-top:0;width:auto;min-height:50px;border-radius:5px}
#backButton a{padding:15px 20px;display:block;color:#066eb5;font-weight:bold;font-size:20px}
#backButton:hover{background:#066eb5;outline:5px solid #fff}
#backButton:hover a{color:#fff}
#leftTop,#rightTop{float:left;width:50%}
.leftIMG{text-align:left !important}
#rightTop{text-align:right}
.imgQuote{position:relative;margin-top:-15px;margin-bottom:25px;font-size:12px}
.stopPush{position:absolute!important;bottom:0;right:0}
footer>*:nth-child(2){background:linear-gradient(to bottom,rgba(0,0,0,0.1) 0,rgba(0,0,0,0) 20px,rgba(0,0,0,0) calc(100% - 20px),rgba(0,0,0,0.1) 100%);position:relative;padding:30px 0 20px 0}
footer>*:nth-child(2):before{content:'';display:block;background-image:url('http://matratzenexperte.ch.80-74-153-240.tajo.host.ch/uploads/images/layout/pattern.jpg');position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:-1;opacity:.4}
footer>*:nth-child(2)>div{display:flex;justify-content:space-between;flex-wrap:wrap}
footer>*:nth-child(2)>div>div{width:200px;flex-grow:1;float:left}
footer>*:nth-child(2)>div>div>a{display:block;font-family:'Roboto Slab',serif;font-size:20px;color:/*#61993b*/#066eb5;padding:0 0 24px 0}
footer>*:nth-child(3){background-color:#066eb5;color:white;padding:7px 0}
footer>*:nth-child(3)>div>p:nth-child(1){float:left}
footer>*:nth-child(3)>div>p:nth-child(2){float:right}
.formbuilderform{width:100%}
input,textarea{background-color:#eee;border:2px solid #eee;box-sizing:border-box;color:#474747;font-family:"Didact Gothic",sans-serif;font-size:17px;margin-bottom:20px;width:100%;padding-left:5px}
input{height:35px}
label{display:block;margin-bottom:20px;text-align:left;width:100%}
input:focus,textarea:focus{border:2px solid #066eb5;border-radius:3px}
input:last-child{margin-bottom:20px}
.leftField{width:49%;float:left;margin-right:1%}
.rightField{width:49%;float:left;margin-left:1%}
.checkBoxes div{float:left;width:50%}
.checkBoxesThree div{float:left;width:33.333%}
.checkBoxes div label,.checkBoxesThree div label{width:100%;text-align:center}
input[type='checkbox']{height:25px;margin:0 auto 0;text-align:center}
.smallField textarea{height:150px}
.bigLabel{font-size:18px;font-weight:bold;padding:15px 0 15px}
#portraitHolder{text-align:right}
.box5 #portrait{width:50%; max-width: 160px;}
.box5 .contentImg{width:300px}
.box5 .contentImg.contentImg-50{width:75px !important}
h2.partner-header {padding-bottom: 0px !important;}
.left,.right{float:left;width:50%}
.box5 .left a,.box5 .right a{display:block;font-family:'Roboto Slab',serif;font-size:20px;color:#066eb5;padding:0 0 24px 0}
.box5 .left a.smallLink{padding-bottom:0;font-size:15px;text-indent:15px}
.strongLine{text-decoration:underline;font-size:16px}
#backLink{position:fixed;right:20%}
.box5 #backLink a{display:block;background:#066eb5;padding:15px;border-radius:15px;display:none}
.box5 #backLink a:hover{color:#474747}
.box5 #backLink a:hover .fa{left:-5px;position:relative}
.fa,#backButton,#backButton a{transition:all .3s ease-in,all .3s ease-out;-moz-transition:all .3s ease-in,all .3s ease-out;-ms-transition:all .3s ease-in,all .3s ease-out;-o-transition:all .3s ease-in,all .3s ease-out;-webkit-transition:all .3s ease-in,all .3s ease-out}
.mean-container .mean-bar,.mean-container .mean-nav ul li{background-color:#066eb5!important;}

h1{font-weight: bolder !important;}
.jumper {
    display: block;
    visibility: hidden;
    /*margin-top: -300px;*/
    margin-top: -200px;
    /*height: 120px;*/
    height: 80px;
    width: 100%;
    position: absolute;
}
/* cmsms stylesheet: responsive-v2 modified: 11/07/19 14:53:57 */
@media screen and (max-width:1236px){
header>div>div {
  max-width: 910px;
}
.content{width:100%;}
span.logounterschrift{right:0 ;padding-left:0;}
.home h1, .title{
  font-size: 22px;
  line-height: 39px;
}
.home h1{margin-top: 7px;}
.page .banner{margin-top:0;}
.layout1{padding:20px 10px}
.layout1>div>*:nth-child(1){width:100%;float:none}
.layout1>div>*:nth-child(2){width:100%;float:none;display:flex;justify-content:space-around;flex-wrap:wrap}
.layout1>div>*:nth-child(2)>*:nth-child(1),.layout1>div>*:nth-child(2)>*:nth-child(2){float:left;margin:10px 0}
.layout2.box3>div:before{display:none}
.layout2.box3>div{padding:20px 10px}
.layout2>div>*:nth-child(1),.layout2>div>*:nth-child(2){float:none;width:100%}
.layout5{padding:40px 10px 0 10px}
header{
    background: transparent;
    z-index: 700;
    position: static;
    height: auto;
    overflow: hidden;
}
img.logo {
  margin-bottom: -50px;
  max-width: none;
  height: 116px;
  width: auto;
}

main{padding:0}
/*.box4{width:100%;margin:0 0 10px 0}*/
.box4:before{display:none}
.box5>div:nth-child(1),.box5>div:nth-child(2){float:none;width:100%}
.box5>div:nth-child(1){margin:0 0 20px 0;display:table;table-layout:fixed;width:100%}
.box5>div:nth-child(2){flex-direction:row;flex-wrap:wrap;justify-content:space-around;min-height:initial}
.box6{width:320px;margin:0 0 20px 0}
.likeBox4 .box6, .box4 .box6 {width:100%; min-width:300px;}
footer>*:nth-child(2)>div{padding:0 20px}
#portraitHolder{text-align:left}
h2.anchorSet:before,h3.anchorSet:before{margin-top:0;height:0}
#backButton{display:none}
}
@media screen and (max-width:1180px){.box4{width:48%;margin:0 1% 20px}}
@media screen and (max-width:1100px){.layout6>*:nth-child(1),.layout6>*:nth-child(2){float:none;width:100%}
#portraitHolder{padding-top:35px}
.box5 #portrait{width:300px}
ol.type3{left:0}
header .content {
  display: flex;
  flex-direction: column;
}
header .content > a {
  order: 2;
  height: 75px;
}
header>div>div {
  max-width: 100%;
  padding: 0;
  order: 1;
}
header>div>div>nav {
  border-radius: 0;
  margin-top: 0;
}
header>div>div>div {
  padding-right: 10px;
  display: none;
}
img.logo {
  height: 75px;
}


}@media screen and (max-width:920px){ul.type1 li:before{display:none}
.layout3>*:nth-child(1),.layout3>*:nth-child(2){float:none;margin:0 auto;display:block}
.layout3>*:nth-child(2){width:320px}
.layout2>div>*:nth-child(2){width:100%;margin:0 auto;text-align:center}
footer>*:nth-child(2)>div>div:first-child,footer>*:nth-child(2)>div>div,footer>*:nth-child(2)>div>div:last-child{width:50%}
ul.type1 li{left:0}
ul.type1 li:after{position:relative;top:4px;margin:0 auto;left:0;width:300px}
.thirds .image {
  display: none;
}
}@media screen and (max-width:850px){.marktBox{float:none;margin:15px 0;width:100%;min-height:auto}
.middle{margin:0}
#leftTop,#rightTop{float:none;width:100%}
.box5 #rightTop img,.contentIMG{padding:0;margin:15px 0}
#rightTop{text-align:center}

}
@media screen and (max-width: 790px) {
  header>div>div{
    display: none;
  }
  .logo-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    width: 156px;
    margin: 0;
  }
  img.logo {
    margin-bottom: 0;
    height: 52px;
    width: auto;
  }
}
@media screen and (max-width:600px){
 .box5 .thirds {
    flex-direction: column;
  }
.layout4 {
  padding-left: 15px;
  padding-right: 15px;
}
.box4 {width:100%;margin:0 0 20px;}
.box4 .pic {
  position: absolute;
  opacity: 0.2;
  height: 100%;
  width: 100%;
  z-index: -1;
}
.layout3{padding:40px 0}
.layout3>*:nth-child(1){width:100%;padding:0 0 20px 0}
.home h1,.title{font-size:30px;line-height:34px;padding:20px 0}
/*header{display:none}*/
.box1 p{width:100%}
.box6{width:100%}
footer>*:nth-child(2)>div>div:first-child,footer>*:nth-child(2)>div>div,footer>*:nth-child(2)>div>div:last-child{width:100%}
}@media screen and (max-width:550px){.box1 .left,.box1 .right{width:100%}
.thirds > div {
  padding: 10px 0;
}
.box1 h3{padding:0 0 15px 0}
}@media screen and (max-width:500px){.box5 h2{font-size:36px}
.box5 .box6 h2{font-size:25px}
.left,.right{float:none;width:100%}
}@media screen and (max-width:465px){.box3 h2,.box5 h2{font-size:28px}
}@media screen and (max-width :380px){.layout3>:nth-child(2){width:100%}  .home h1, .title{ font-size: 25px;}
}
