/* Jan / Feb 2018 - Petra Trachsler */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    font-family: 'Dosis', sans-serif;
}

a{
    text-decoration: none;
}

a.link1{
    text-decoration: underline;
}

a.link1:hover{
    text-decoration: none;
}

.link2{
    color: #80d6ac;
    -ms-word-break: break-all;
    word-break: break-all;
}
.link2:hover{
    opacity: .7;
}

a.hoverLink:hover{
    text-decoration: underline;
}

ol,
ul{
    padding-left: 1em;
}

li{
    padding: 0.1rem 0 0.1rem 0.3rem;
    list-style-position: outside;
}

p{
    padding-bottom: 0.3rem;
}

figcaption{
    margin-top: 1rem;
}

html,
body {
    width: 100%;
    height: auto;
    min-height: 100%;
}

html {
    /*
    background-image: url(images/dampftriebwagen.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    */
    background-color: rgba(22, 124, 43, 0.19);

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#aeddf9+0,8fad8a+100 */
    background: #aeddf9; /* Old browsers */
    background: -moz-linear-gradient(top, #aeddf9 0%, #8fad8a 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #aeddf9 0%,#8fad8a 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #aeddf9 0%,#8fad8a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aeddf9', endColorstr='#8fad8a',GradientType=0 ); /* IE6-9 */

    font-size: 20px;
    line-height: 1.4em;
}

body {
}

.mainNav{
    margin-bottom: 0.25rem;
    color: #555;
    font-weight: 700;
}

.mainNav a:hover,
.mainNav a.active{
    color: #fff;
}

#content {
    position:relative;
    z-index: 1;
    /*position: absolute;*/
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    /*bottom: 10%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);*/
    padding: 2rem 0;
    color: #fff;
}

section{
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
}

.backgroundblender{
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
}

h1 {
    margin-bottom: 1em;
    font-weight: 700;
    font-size: 1.2rem;
}

h2{
    margin-bottom: 1em;
    font-weight: 700;
    font-size: 1.1rem;
}

.small{
    font-size: 0.75rem;
}

.copyright{
    text-align: right;
}

.error{
    color: #f66;
}

.nobreak{
    white-space: nowrap;
}

.alignRight{
    text-align: right;
}

.fancyHiddenContent{
    display: none;
}

/*h2,*/
/*.introduction,*/
/*.image{*/
    /*text-align: center;*/
/*}*/

.downloads a{
    line-height: 1.7em;
    text-decoration: underline;
}

.downloads a:hover{
    text-decoration: none;
}

.downloads a:before{
    content: " ";
    display: inline-block;
    height: 1.5em;
    width: 1.5em;
    margin-right: 0.2em;
    background-image: url("/images/29587.svg");
    background-size: cover;
}

.image img{
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: auto;
}

.image.smiley{
    margin-top: 1em;
}

.image.smiley img{
    max-width: 130px;
}
.max500{
    max-width: 500px;
    margin: 0 auto;
}

.textAlignCenter{
    text-align: center;
}

.autoWidthBlock{
    display: inline-block;
    text-align: left;
}

label:not(.checkboxlabel),
input:not([type='checkbox']),
select,
textarea,
.cancelbutton,
.submitbutton{
    display: inline-block;
    vertical-align: top;
}
textarea{
    height: 9rem;
}
label:not(.checkboxlabel){
    width: 43%;
    margin-right: 2%;
}

input:not([type='checkbox']),
select,
textarea,
.cancelbutton,
.submitbutton{
    width: 55%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-bottom: 0.5em;
    padding: 0.1rem 0.4rem;
    border: none;
    -webkit-border-radius: 0.3rem;
    -moz-border-radius: 0.3rem;
    border-radius: 0.3rem;
    background-color: #fff;
    color: #000;
}

input.short{
    max-width: 10rem;
}

label.checkboxlabel{
    display: inline-block;
    width: calc(100% - 2rem);
    margin-bottom: 0.8em;
    vertical-align: top;
}

label.infotext_requiredFields{
    font-size: 0.7em;
}

.checkboxwrapper{
    position: relative;
    top: -3px;
    display: inline-block;
    width: 2rem;
}

.checkboxwrapper input,
select,
input[type=submit],
.cancelbutton,
.submitbutton{
    cursor: pointer;
}

input[type=submit],
.cancelbutton{
    margin-left: 45%;
}

input[type=submit],
.submitbutton{
    background: #68af8b;
    color: #fff;
}

.submitbutton,
.cancelbutton{
    text-decoration: none;
}

.cancelbutton{
    background: #ababab;
    color: #fff;
}

input[name=submit_confirmation][type=submit],
.cancelbutton,
.submitbutton{
    width: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

input[name=submit_confirmation][type=submit],
.cancelbutton{
    margin-left: 2rem;
}

input[type=submit]:hover,
.submitbutton:hover{
    background: #0a7b66;
}

.cancelbutton:hover {
    background: #595959;
}

input[type=submit],
.cancelbutton,
.submitbutton{
    padding: 0.5rem;
}

input.tinyinput{
    width: 16%;
}

input.nexttotinyinput{
    width: 37%;
}

input.smallinputleft{
    margin-right: 2%;
}

.addToBasketWrapper label,
.addToBasketWrapper select,
.addToBasketWrapper input[type=submit]{
    width: auto;
}

.addToBasketWrapper input[type=submit]{
    margin-left: 0.5rem;
}

.addToBasketSubmitWrapper > label,
.addToBasketSubmitWrapper > select,
.addToBasketSubmitWrapper > input[type=submit]{
    margin-bottom: 0;
    vertical-align: middle;
}

input[type=submit][name=submit_order],
.addressform .cancelbutton{
    margin-left: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    padding: 0;
    border: 0;
}

.addressform table{
    width: 100%;
}

table td,
table th {
    padding: 1em;
}

table th{
    padding-bottom: 0;
    text-align: left;
}

table tr th:first-child,
table tr td:first-child{
    padding-left: 0;
}

table tr th:last-child,
table tr td:last-child{
    padding-right: 0;
}

table tr:first-child th{
    padding-top: 0;
}

table.yourData{
    margin: 0 auto;
}

table.yourData td{
    border: 1px solid #fff;
}

table.yourData td:nth-child(2){
    font-weight: 700;
}

.scrollWrapper{
    margin-top: 1rem;
}

@media screen and (max-width: 900px) {
    #content {
        width: 90%;
    }
}

@media screen and (max-width: 600px) {
    html {
        font-size: 18px;
    }

    #content {
        padding: 1rem 0;
        /*                -webkit-box-shadow: 0 0 1rem 0.1rem #000;
                        -moz-box-shadow: 0 0 1rem 0.1rem #000;
                        box-shadow: 0 0 1rem 0.1rem #000; */
    }

    section{
        padding: 1rem;
    }

    table td,
    table th{
        padding: 0.5em;
    }

    label:not(.checkboxlabel){
        margin: 0 0 0.6rem 0;
    }

    label:not(.checkboxlabel),
    input:not([type='checkbox']),
    select,
    textarea{
        width: 100%;
    }

    input:not([type='checkbox']),
    select,
    textarea,
    .cancelbutton,
    .submitbutton {
        margin-bottom: 0.8em;
        padding: 0.5rem 0.3rem;
    }

    .checkboxwrapper{
        top: -2px
    }

    input.short{
        max-width: 14rem;
    }

    input[type=submit]:not([name=submit_confirmation]){
        margin-left: 0;
    }

    /*.addToBasket input[type=submit]:not([name=submit_confirmation]){
        margin-left: 0.5rem;
    }

    .addToBasket label:not(.checkboxlabel){
        width: auto;
        margin-right: 2%;
    }*/


    input.tinyinput{
        width: 25%;
    }

    input.nexttotinyinput{
        width: 73%;
    }

    input.smallinputleft{
        margin-right: 2%;
    }

    .addToBasketWrapper select{
        margin-right: 2%;
    }

    table.yourData td{
        display: block;
    }

    table.yourData td:first-child{
        color: #79cca2;
    }
}

@media screen and (max-width: 550px){
    .addToBasketWrapper{
        font-size: 0.9rem;
    }
    .addToBasketWrapper table td,
    .addToBasketWrapper table th{
        padding: 0.2em
    }
    .addToBasketWrapper input:not([type='checkbox']):not([type='submit']),
    .addToBasketWrapper textarea{
        padding: 0.2em;
    }

    /*
    .scrollWrapper{
        overflow-x: scroll;
        box-shadow: inset -7px 0px 16px -7px rgba(255,255,255,0.61);
    }

    .scrollWrapper::-webkit-scrollbar {
        -webkit-appearance: none;
    }

    .scrollWrapper::-webkit-scrollbar:vertical {
        width: 11px;
    }

    .scrollWrapper::-webkit-scrollbar:horizontal {
        height: 11px;
    }

    .scrollWrapper::-webkit-scrollbar-thumb {
        border-radius: 8px;
        border: 2px solid white; !* should match background, can't be transparent *!
        background-color: rgba(0, 0, 0, .5);
    }

    .scrollWrapper::-webkit-scrollbar-track {
        background-color: #fff;
        border-radius: 8px;
    }

    .scrollWrapper form{
        min-width: 500px;
        padding: 1rem 1rem 2rem 1rem;
    }
    */
}


@media screen and (min-width: 601px) {
    .hideondesktop{
        display: none;
    }
}

