/* Contao Open Source CMS, (c) 2005-2015 Leo Feyer, LGPL license */
body,div,h1,h2,h3,h4,h5,h6,p,blockquote,pre,code,ol,ul,li,dl,dt,dd,figure,table,th,td,form,fieldset,legend,input,textarea{margin:0;padding:0}table{border-spacing:0;border-collapse:collapse}caption,th,td{text-align:left;text-align:start;vertical-align:top}abbr,acronym{font-variant:normal;border-bottom:1px dotted #666;cursor:help}blockquote,q{quotes:none}fieldset,img{border:0}ul{list-style-type:none}sup{vertical-align:text-top}sub{vertical-align:text-bottom}del{text-decoration:line-through}ins{text-decoration:none}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font:12px/1 "Lucida Grande","Lucida Sans Unicode",Verdana,sans-serif;color:#000}input,button,textarea,select{font-family:inherit;font-size:99%;font-weight:inherit}pre,code{font-family:Monaco,monospace}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}h1{font-size:1.8333em}h2{font-size:1.6667em}h3{font-size:1.5em}h4{font-size:1.3333em}table{font-size:inherit}caption,th{font-weight:bold}a{color:#00f}h1,h2,h3,h4,h5,h6{margin-top:1em}h1,h2,h3,h4,h5,h6,p,pre,blockquote,table,ol,ul,form{margin-bottom:12px}
/* Contao Open Source CMS, (c) 2005-2015 Leo Feyer, LGPL license */
body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li{float:left}.ce_gallery>ul li.col_first{clear:left}.float_left{float:left}.float_right{float:right}.block{overflow:hidden}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
html, body {
    height: 100%;
}
body {
    background-color: #d4d4d4;
    color: #000;
    font: 400 1.125em/1.46 'Roboto Slab', serif;
    overflow-y: scroll;
}
* {
    box-sizing: border-box;
}

#logo, .nav-side li a, .nav-main li a, .nav-main li span {
    letter-spacing: -2.5px;
    font-family: sans-serif;
    font-weight: 700;
    font-size: 1.166em;
    line-height: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

.ce_text a {
    text-decoration: underline !important;
}
p {}
h1, h2, h3, h4 {
    font-weight: 700;
}

.white {
    background-color: #fff;
}

.full > * {
    max-width: 1240px;
    margin: 0 auto 1.5em;
}
h1 {
    margin: 0 auto 1em;
    max-width: 1240px;
    background-color: #548754;
    border-left: solid 0.32em rgba(0, 0, 0, 0);
    border-right: solid 0.32em rgba(0, 0, 0, 0);
    padding: 0.5em;
    background-clip: padding-box;
    color: #fff;
    font-family: 'Shadows Into Light Two', cursive;
    font-size: 2.25em;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.03em;
    word-spacing: -0.15em;
}
h2 {padding: 0.75em 0.45em 0.25em;color: #5e5e5e;}
h3 {}
h4 {}

#wrapper {
    min-height: 100%;
    padding-bottom: 280px;
    position: relative;
}
#header {
    background-color: #fff;
}

#logo {
    padding: 2.45em 0 0 4.5em;
    background: url("../../files/referendar/images/theme/referendar.info.png") no-repeat top left rgba(0, 0, 0, 0);
    display: inline-block;
    text-transform: uppercase;
}

.wf-robotocondensed-n7-active #logo, .wf-robotocondensed-n7-active .nav-side li a,.wf-robotocondensed-n7-active .nav-main li a, .wf-robotocondensed-n7-active .nav-main li span {
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0;
}

.head {
    height: 8.333em;
    padding: 3em 0 1em;
}

.nav-main {
    background-color: #d4d4d4;
}

.wrap, #header .inside, .nav-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 0.75em;
}
.nav-side {
    margin-top: -1.45em;
    overflow: visible;
}
.nav-side ul {
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
}
.nav-side li {
    display: inline-block;
}
.nav-side li a {
    position: relative;
    transition: border-color 0.4s;
    border-bottom: 3px solid transparent;
}

.wf-robotocondensed-n7-active .nav-side li a {
}

.nav-side li a:hover {
    border-color: #000;
}
.nav-side li:after {
    content: "•";
    margin: 0 0 0 0.2em;
    font: 700 1.166em/1 'Roboto Condensed', sans-serif;
}
.nav-side li:last-child:after {
    content: "";
    margin: 0;
}
.nav-main ul {
    list-style: none;
    display: table;
    width: 100%;
    padding: 0;
    margin: 1.5em 0 0;
}
.nav-main li {display: table-cell;text-align: center;background-color: #4a6b4a;transition: background-color 0.4s;padding: 0 1em;border-right: 0.5em solid #d4d4d4;}
.nav-main li a, .nav-main li span {
    color: #fff;
    display: block;
    padding: 0.6em 0;
    /* border-right: 0.5em solid #d4d4d4; */
}

.nav-main li:hover {
    background-color: #385138;
}

.nav-main li.last {
    border-right: 0 none;
}

.mod_article.first {
    padding-top: 1.5em;
}

.mod_randomImage {
    overflow: visible;
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
}
h1.hero-title {
    margin: 0 auto 3.6em;
    padding: 1em 1em 1.5em 7.5em;
    font-size: 2.7em;
    line-height: 1.7;
    max-width: 25em;
    box-sizing: content-box;
}

.mod_randomImage figure {
    margin: 0 auto;
    max-width: 1240px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}
.mod_randomImage img {
    position: absolute;
    left: 4em;
    top: 2em;
    width: auto;
    max-height: 140%;
}

.head-image {
    position: relative;
    overflow: visible;
}

.head-image h1 {
    padding-left: 6.5em;
}

.head-image figure {
    position: relative;
    margin: 0 auto;
    max-width: 1240px;
}

.head-image img {
    border: solid 10px #fff;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: -7.5em;
    left: 2em;
    box-shadow: 4px 8px 0 rgba(0,0,0,0.4);
}

.head-image + .ce_text:before {
    content: "";
    display: block;
    height: 100px;
    width: 220px;
    float: left;
    margin-left: 2.5em;
    shape-outside: circle(72% at 46% -41%);
}

.ce_text, .mod_newslist > div,
.mod_caroufredsel_ticker,.ce_form,
#footer .inside {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 0.75em 2em;
}

.ce_text {
    margin-bottom: -1em;
}

.ce_text.subhero {
    margin-top: -8em;
    margin-bottom: 0;
    padding: 0 0.6em 1em 16.8em;
    font-size: 1.25em;
}

.ce_text.subhero2 {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 0.6em 1em 16.8em;
    font-size: 1.25em;
}

.ce_text.single-col {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}

.ce_text, .mod_newslist > div {
    -webkit-column-count: 2;
    -webkit-column-gap: 3em;
    -moz-column-count: 2;
    -moz-column-gap: 3em;
    column-count: 2;
    column-gap: 3em;
}

ol, .ce_text ul {
    padding-left: 0.6em;
    margin-left: 0.6em;
}

.ce_text ul {
    list-style-type: disc;
}

.ce_text li {
    list-style-position: inherit;
    padding-left: 0.5em;
    font-weight: 700;
}

.ce_text li:nth-child(4) p{
    margin-top:3.8em;
}

ol p, .ce_text ul p {
    font-weight: 400;
    margin-bottom: 1em;
}

#postref ul{
	padding-left:0;
	padding-right: -1em;
	margin-left:0;
}

#postref li{
	padding-left:0;
	border-right: 0.1em solid #d4d4d4;
}

#postref a{
	text-decoration:none;
}

#footer {
    height: 280px;
    width: 100%;
    background-color: #5e5e5e;
    position: absolute;
    bottom: 0;
    color: rgb(231, 231, 231);
}

#footer .inside {
    padding-bottom: 0;
}

#footer .inside > div {
    display: table;
    width: 100%;
    margin: 0;
    padding: 2em 0 0;
}
#footer .inside > div > div {
    display: table-cell;
    float: none;
    width: 25%;
    padding: 0 0.75em 1em;
    vertical-align: bottom;
}
#footer .inside > div > div:last-child {
    width: 10%;
    padding-left: 2.5%;
}


@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-devicepixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) {
    /* Retina-specific stuff here */
    #logo {
      background-image: url("../../files/referendar/images/theme/referendar.info@2x.png");
      background-size: 399px 66px;
    }
}

.teaser {
  padding: 0.75em 0.75em 0 190px;
  color: #fff;
  font-family: 'Shadows Into Light Two', cursive;
  /* font-size: 1.15em; */
}

.caroufredsel .name {
    padding: 0 0.75em 1.75em 190px;
    color: rgb(169, 195, 169);
    font-family: 'Roboto Condensed', sans-serif;
    position: absolute;
    bottom: 0;
}
.caroufredsel > div {
    width: 550px;
    height: 190px;
    background-color: #548754;
    background-clip: content-box;
    padding: 1em 1.5em;
    position: relative;
}

.caroufredsel > div a {
    display: block;
    height: 154px;
}
.mod_caroufredsel_ticker {
    padding-bottom: 2.5em;
}

.caroufredsel_skin {
    position: relative;
    padding: 0 3em;
}

.caroufredsel > div figure, .mod_newslist figure {
    width: 120px;
    height: 120px;
    border: solid #fff 0.5em;
    box-shadow: 4px 8px 0 rgba(0,0,0,0.4);
    box-sizing: content-box;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 0.25em;
    left: 3em;
    background-color: #fff;
}

.caroufredsel_navi > a {
    height: 2.7em;
    width: 2.7em;
    display: block !important;
    border-style: solid;
    border-color: #548754;
    border-width: 0.95em 0 0 0.95em;
    -webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
    text-indent: -5000px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    margin-top: -1.4em;
    left: 0.25em;
    transition: border-color 0.35s;
}

.caroufredsel_navi > a:hover {
    border-color: #4A6B4A;
}

a.caroufredsel_next {
    -webkit-transform: rotate(135deg);
-ms-transform: rotate(135deg);
transform: rotate(135deg);
    left: auto;
    right: 0.25em;
}

.mod_newslist {
    padding-top: 1em;
    margin-top: -1em;
}

.mod_newslist > div {
    background-color: #548754;
    background-clip: padding-box;
    position: relative;
    margin: 0 auto 2em;
    max-width: 1240px;
    overflow: visible;
    border-left: 0.75em solid transparent;
    border-right: 0.75em solid rgba(0, 0, 0, 0);
    padding-top: 1.5em;
}

.mod_newslist > div:before {
    content: "";
    display: block;
    width: 190px;
    height: 110px;
    float: left;
}

.mod_newslist > div.odd:before {
    float: right;
}

.mod_newslist figure {
    left: 1.5em;
    top: -0.75em;
}

.mod_newslist .info {
    color: #A9C3A9;
    font-family: 'Roboto Condensed', sans-serif;
}

.mod_newslist .text {
    min-height: 100px;
    color: #fff;
    font-family: 'Shadows Into Light Two', cursive;
}

.mod_newslist .odd figure {
    left: 50%;
    margin-left: -180px;
}
.mod_newslist figure img {width: 100%;height: auto;}

#subhero {
    width: 70%;
    margin-top: -6em;
    right: 0.75em;
    position: absolute;
    padding: 0.85em 1em 1em;
}
.ce_form {
    overflow: visible;
    font-size: 1.25em;
    position: relative;
}
.los-gehts .set-callback, .los-gehts .set-message,.los-gehts legend {
    background-color: #548754;
    /* background-clip: content-box; */
    color: #fff;
}

.los-gehts .tel {
    font-size: 1.35em;
    font-weight: 700;
    word-spacing: -0.1em;
    white-space: nowrap;
    line-height: 1.26;
}

.los-gehts .tel:before {
    content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20x%3D%220%22%20y%3D%220%22%20viewBox%3D%220%200%2012%2012%22%20enable-background%3D%22new%200%200%2012%2012%22%20xml%3Aspace%3D%22preserve%22%3E%3Cpath%20d%3D%22M11.8%209.7c0.1-0.2%200.1-0.4%200-0.6%200%200%200%200-0.1%200l0%200L9.2%207.3l0%200C9%207.2%208.8%207.2%208.6%207.3c0%200%200%200%200%200l0%200c0%200%200%200%200%200C8.4%207.7%208.4%207.7%208.3%207.9%208.1%208.2%207.8%208.7%207.6%209.2%206.9%209.1%205.8%208.5%204.7%207.3%203.5%206.2%202.9%205.1%202.8%204.4c0.5-0.2%201-0.5%201.3-0.6%200.2-0.1%200.2-0.1%200.5-0.3%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.2-0.2%200.2-0.4%200-0.6v0L2.9%200.3h0c0%200%200%200%200-0.1C2.7%200%202.4%200%202.3%200.2%201%201-0.1%201.9%200.1%203c0.2%201.2%201.5%203.7%203.4%205.6s4.4%203.2%205.6%203.4C10.1%2012.1%2011%2011%2011.8%209.7%22%2F%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M3.1%201.6C3%201.5%202.9%201.3%202.9%201.3%202.8%201.2%202.8%201.1%202.7%201%202.6%200.8%202.4%200.7%202.2%200.9%201.9%201.1%201.3%201.6%201.5%202c0.1%200.1%200.7-0.1%200.8-0.1C2.5%201.8%203.2%201.8%203.1%201.6zM8.4%209.1c0.1%200%200.2%200%200.3-0.1C8.8%209%208.8%208.9%208.9%208.8c0.2-0.1%201.1%200%201.1-0.2%200-0.1-0.1-0.2-0.2-0.3C9.7%208.2%209.5%208.2%209.4%208.1%209.3%208%209.2%207.9%209.1%207.9%208.8%207.8%208.7%208.1%208.6%208.3%208.5%208.5%208.4%208.7%208.4%209%208.3%209%208.4%209.1%208.4%209.1z%22%2F%3E%3C%2Fsvg%3E");
    width: 0.9em;
    height: 1em;
    margin-right: 0.15em;
    display: inline-block;
}
form.los-gehts {
  position: relative;
  text-align: center;
  border: 3px solid rgb(141, 141, 141);
  border-radius: 0.7em;
  padding: 0.85em 3em 1em;
  background-color: rgb(234, 234, 234);
  line-height: 2;
}

#wrapper:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(242, 242, 242, 0.83);
    z-index: -1;
    opacity: 0;
    transition: all 0.6s;
}

.screen #wrapper:after {
    z-index: 20;
    opacity: 1;
}
body.screen {
    overflow: hidden;
    margin-right: 0.8em;
}
fieldset[class^="set"] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s, opacity 0.6s, z-index 0.6s;
    position: fixed;
    opacity: 0;
    width: 25em;
    left: 50%;
    margin-left: -12.15em;
    padding: 0.5em;
    text-align: left;
    top: 10%;
    border: 0.3em solid;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.27);
    z-index: -1;
    font-size: 0.8em;
    line-height: 2.2;
}

.close {
    content: "ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â";
    font-family: Verdana, Arial, sans-serif;
    position: absolute;
    right: 0.5em;
    top: 0.5em;
    cursor: pointer;
    color: #548754;
    background-color: #fff;
    font-weight: 700;
    line-height: 0.85;
    padding: 0.15em !important;
    border-radius: 0.6em;
}

fieldset[class^="set"] > * {
    padding: 0 0 0 0.75em;
}

.legend {
    border: 0.25em solid #fff;
    border-radius: 0.65em;
    cursor: pointer;
    box-shadow: 4px 5px 0 rgba(0,0,0,0.4);
    line-height: 1.6;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    position: relative;
    margin-left: 0.5em;
    transition: all 0.4s;
    /* background-color: #548754; */
    /* background-color: #b95148; */
    /* background-color: rgb(225, 139, 84); */
    background-color: #E17E54;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
    display: inline-block;
    padding: 0 0.7em;
}

.legend:first-of-type {
    margin: 0;
}

.legend:hover,input[type="submit"]:hover {
    background-color: #4A6B4A;
    background-color: #954038;
    background-color: #C96A2D;
}

.legend.drop {
    /* z-index: 100; */
}

.legend:after {
    content: "";
    width: 0.45em;
    height: 0.45em;
    display: inline-block;
    border-style: solid;
    border-color: #fff;
    border-width: 0.25em 0 0 0.25em;
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
    margin: 0 0 0.2em 0.5em;
    /* transition: all 0.4s; */
}

.legend.drop:after {
    /* transform: rotate(45deg); */
    /* margin-bottom: -0.15em; */
}

fieldset.set-message {
}

.drop + fieldset {
    max-height: 37em;
    z-index: 100;
    opacity: 1;
    margin-left: -12.5em;
}

fieldset.subset-callback {
    max-height: 0;
    opacity: 0;
    transition: all 0.6s;
    padding-bottom: 0;
    z-index: -1;
    position: relative;
}

fieldset.subset-callback.drop {
    max-height: 9em;
    opacity: 1;
    margin-bottom: 0.5em;
}

p.inline {
    display: inline;
}

p.inline:after {
    /* content: ""; */
    width: 300px;
    /* height: 20px; */
    /* background-color: blue; */
    display: inline-block;
}
.widget-explanation p {
  font-size: 1.25em;
  line-height: 1.46;
  padding-top: 0.45em;
  padding-right: 0.75em;
}
.widget-text label {
    width: 8.3em;
    display: inline-block;
}

.widget-text input, textarea {
    background-color: #548754;
    border: 2px solid #fff;
    color: #fff;
    font: 400 1em/1 'Shadows Into Light Two', cursive;
    letter-spacing: 0.05em;
    padding: 0.1em 0.45em 0;
    width: 12.5em;
    outline: 0 none;
}

textarea {
    display: block;
    width: 21em;
    resize: vertical;
    max-height: 150px;
    overflow-y: auto;
}

.widget-radio span {
    display: block;
    line-height: 1.5;
}

.widget-radio span label {
    padding-left: 0.5em;
}
.widget-checkbox legend {
    float: left;
    padding-right: 1em;
}
.submit_container {text-align: center;padding: 1em 0 0.5em !important;}
input[type="submit"] {
    border: 0.25em solid #fff;
    border-radius: 0.65em;
    cursor: pointer;
    padding: 0.2em 1em 0.1em;
    box-shadow: 4px 5px 0 rgba(0,0,0,0.4);
    line-height: 1.6;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    background-color: #E18B54;
    color: #fff;
    white-space: nowrap;
    transition: background-color 0.4s;
}

@media only screen and (max-width: 1235px) {
.caroufredsel > div {
    width: 43.5vw;
    padding: 1em 1em;
    /* margin-right: 4vw; */
}

.caroufredsel_skin {
    padding: 0 2.5em;
}

.teaser,.caroufredsel .name {
    padding-left: 15vw;
}

.caroufredsel > div figure {
    width: 10vw;
    height: 10vw;
    left: 4.2vw;
}

.caroufredsel > div img {
    height: 100%;
    width: auto;
}
}

@media only screen and (max-width: 1060px) {
h1.hero-title {
    font-size: 4.4vw;
    padding-left: 8em;
}
.ce_text.subhero, .ce_text.subhero2 {
    padding-left: 36vw;
}
.ce_text.subhero{
    margin-top: -13vw;
}

.ce_text.subhero2 {
    margin-top: 0;
}
#footer {font-size: 0.95em;}
}
@media only screen and (max-width: 950px) {
form.los-gehts {
    font-size: 0.9em;
    padding: 0.6em 1em 1em;
}
#footer {height: 500px;}
#wrapper {
    padding-bottom: 500px;
}
#footer .inside > div {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    align-items: flex-end;
}
#footer .inside > div > div {width: 50%;
display: block;
flex: 0 0 50%;}
.caroufredsel > div {
    width: 43vw;
}
}
@media only screen and (max-width: 850px) {
.nav-side {
    margin-top: -5.7em;
}
.nav-side li {
    display: block;
}

.nav-side li:after {
    content: "";
    display: none;
}
.nav-main li {
    display: inline-block;
    width: 50%;
}

.nav-main li:nth-child(2) {
    border: 0 none;
    margin-bottom: 0.5em;
}
.ce_text.subhero, .ce_text.subhero2 {
    font-size: 1em;
}
.mod_randomImage img {
    left: 5%;
}
p.inline {
display: block;
}

form.los-gehts {
    line-height: 1.7;
}
.caroufredsel_skin {
    padding: 0 8vw;
}
.caroufredsel > div {width: 80vw;}
.teaser, .caroufredsel .name {
    padding-left: 20vw;
}
.caroufredsel > div figure {
    width: 13.5vw;
    height: 13.5vw;
    border-width: 0.4em;
}
}
@media only screen and (max-width: 650px) {
.nav-main li a,.nav-main li span {
height: 11.5vw;
display: inline-table;
font-size: 3.5vw;
}
h1 {
    font-size: 1.75em;
    border: 0;
}
h1.hero-title {
  border: 0;
}

.full > * {
    margin-bottom: 1em;
}

#logo {
    font-size: 3.1vw;
    padding-left: 13.5vw;
    background-size: 55vw auto;
}

.nav-side li a {
    font-size: 3.5vw;
}

.head {
    height: 25vw;
    padding-top: 11vw;
}
.ce_text, .mod_newslist > div {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}
.ce_text li:nth-child(4) p {
    margin-top: 0;
}
form.los-gehts {
    line-height: 1.46;
    font-size: 0.8em;
}
.mod_newslist .odd figure {left: auto;right: 2em;}
}
@media only screen and (max-width: 500px) {
.nav-side li.first {
display: none;
}
.nav-main ul {
    margin-top: 1em;
}

#postref ul{
	margin-bottom: 5em;
}

.mod_article.first {
    padding-top: 1em;
}
.nav-side {
    margin-top: -4.3em;
}
.mod_randomImage img {
    top: -0.7em;
    max-height: 150%;
}

.ce_text.subhero, .ce_text.subhero2 {
    padding: 0 0.75em;
}
.ce_text.subhero2 {
    margin-top: -17vw;
}

.ce_text.subhero:before, .ce_text.subhero2:before {
    content: "";
    display: block;
    float: left;
    height: 2em;
    width: 35%;
}
h1 {
    font-size: 1.3em;
}
h2 {
  font-size: 1.25em;
}
.caroufredsel > div {height: 215px;}

#footer {
font-size: 0.8em;height: 565px;}
#wrapper {
    padding-bottom: 565px;
}
#footer .inside > div {
  display: block;
}

#footer .inside > div > div {
    width: 100%;
}

#footer .inside > div > div:last-child {
    width: 100%;
    padding-left: 0.75em;
}
.caroufredsel_skin {
    font-size: 0.9;
}
}
@media only screen and (max-width: 400px) {
.nav-side li {
    font-size: 4.3vw;
}

.nav-side li a {
    font-size: 4.5vw;
}

.nav-side {
    margin-top: -19vw;
}

.nav-main li a, .nav-main li span {
    font-size: 4.2vw;
    height: 13.75vw;
}

.nav-main li {
    padding: 0 0.5em;
}
h1.hero-title {
    font-size: 6vw;
}
h1.hero-title br {
    content: "";
    display: none;
}
.mod_randomImage img {
    max-height: 200%;
    height: auto;
    width: 40%;
    top: 0;
    bottom: 0;
    margin: auto;
}

.ce_text.subhero:before, .ce_text.subhero2:before {
    height: 0;
    display: none;
}
form.los-gehts {
padding: 0.6em 0.5em 1em;
}
.legend {padding: 0 0.6em;margin-left: 0.25em;}

fieldset[class^="set"] {width: auto;margin: 0;left: 0.5em;right: 0.5em;}

.widget-explanation p {
    padding-right: 2em;
}

.close {
    font-size: 1.5em;
}

textarea {
    width: auto;
    max-width: 100%;
}
.caroufredsel > div {height: 240px;}
.caroufredsel_navi {font-size: 0.8em;}
.teaser, .caroufredsel .name {
    font-size: 0.9em;
}
.caroufredsel .name {
    padding-left: 1em;
}

}

@media only screen and (max-height: 40em) {
fieldset[class^="set"] {
    top: 0.5em;
}
.drop + fieldset {
    bottom: 0.5em;
    overflow-y: auto;
}
}
