﻿html {
    overflow-y: scroll;
}

button, input[type=text], input[type=email], select, textarea {
    color: #222;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
    padding: 5px;
}

    textarea:focus,
    input:focus {
        outline: none !important;
        border: 1px solid orange;
        background-color: #f6f6f6;
        color: blue;
    }

.catcols {
    margin-top: 2em;
    -moz-column-width: 15em; /* Firefox */
    -webkit-column-width: 15em; /* webkit, Safari, Chrome */
    column-width: 15em;
}

    .catcols ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

        .catcols ul li:first-child {
            margin-top: 2em;
        }

        .catcols ul li img {
            width: 271px;
            height: auto;
            margin-bottom: 1em;
        }

        .catcols ul li {
            display: inline;
        }

            .catcols ul li a {
                text-decoration: none;
            }

input[type="radio"] {
    width: auto;
    min-width: 25px;
}

#dialog > form > table {
    margin-left: 15px;
}

#logo {
    display: inline-block;
    background-image: url('img/WebLogo.png');
    background-repeat: no-repeat;
    background-size: auto 96px;
}

.aprs {
    text-align: right;
    padding-right: 80px;
}

/*header img {
    vertical-align: auto;
}*/

.basketHeader {
    border-bottom: 1px solid darkgray;
}

th {
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffc73d;
}

h6 {
    margin-bottom: 0;
}

#Tabelle_01 {
    width: 98%;
    max-width: 1035px;
    margin: 1%;
    border: none;
}

aside img {
    width: 100%;
}

#spalte1 {
    width: 61.739%;
}

#spalte2 {
    width: 37.488%;
}


.picbig {
    width: 98%;
    max-width: 1035px;
    margin: 1%;
    height: auto;
    max-height: 640px;
}

#bottompic {
    width: 100%;
    height: auto;
    max-width: 1020px;
}

#picsecond {
    width: 100%;
    height: auto;
    max-height: 389px;
    max-width: 639px;
}

#picthird {
    width: 100%;
    height: auto;
    max-height: 389px;
    max-width: 388px;
}

body {
    background-color: #666666;
    visibility: hidden;
    font-size: 1em;
    line-height: 1.1;
    height: 100%;
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 1px;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.wrapper {
    width: 90%;
    margin: 0 3%;
}



.header-container {
    border-bottom: 16px solid #555555;
}

.header-container,
.footer-container {
    background-color: #000000;
}

.main-container {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin-top: auto;
    margin-bottom: 100px;
}

.footer-container {
    border-top: 10px solid #555555;
    height: 60px;
    width: 100%;
}

.title {
    color: #333333;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: #000;
    background: #555;
    height: 100%;
}

nav ul li a {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    color: #ffffff;
}

nav li:hover a {
    /*color: #C77405;*/
    /*text-decoration: underline;*/
    background-color: #ffc73d;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    color: white;
    padding: 30px 0;
    line-height: 1.1;
}

    .main article {
        /*background: #000;*/
        border-radius: 6px;
        padding: 6px;
        max-width: 1043px;
        min-height: 99%;
    }

        .main article h1 {
            font-size: 2em;
        }

    .main aside {
        /*background: #000;*/
        padding: 0 3% 3%;
        border-radius: 6px;
    }

.footer-container footer {
    color: white;
    padding: 20px 0;
}

footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    footer ul li {
        display: inline;
        float: left;
    }

footer a {
    font-size: 1em;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    margin-right: 10%;
    padding-right: 10px;
    color: white;
}
/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/*@media only screen and (min-width:480px)and (max-width:768px)
{
    #logo {
        float: left;
        max-width: 100%;
        width: 100%;
        height: auto;
        padding-bottom: 1em;
        background-image: url('img/WebLogo.png');
    }
}*/

@media only screen and (min-width: 480px) {
    /* ====================
    INTERMEDIATE: Menu
   ==================== */


    .main article {
        /*background: #000;*/
        border-radius: 6px;
        line-height: 1.1;
        margin-bottom: 1%;
        padding: 6px;
    }

    nav a {
        float: left;
        width: 44%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

    /* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (max-width:480px) {
    #logo {
        float: left;
        max-width: 100%;
    }

    nav {
        padding-top: 100px;
    }

        nav ul li a {
            border-radius: 5px;
        }

    .footer-container {
        visibility: visible;
    }

    .main article {
        /*background: #000;*/
        border-radius: 6px;
        line-height: 1.1;
        margin-bottom: 1%;
        padding: 6px;
    }

    .catcols ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

        .catcols ul li:first-child {
            margin-top: 2em;
        }

        .catcols ul li img {
            width: 45%;
            height: auto;
            margin-bottom: 1em;
        }

        .catcols ul li:nth-child(even) {
            margin-left: 5%;
        }

        .catcols ul li {
            display: inline;
        }
    #dialog > form > table {
        margin: 0;
        padding: 0;
    }
}

@media only screen and (min-width: 768px) {
    /* ============
    WIDE: Menu
   ============ */
    .title {
        float: left;
    }

    nav {
        float: right;
        width: 33%;
    }



        nav ul {
            line-height: 58px;
        }

    /* ============
    WIDE: Main
   ============ */
    .main article {
        /*background: #000;*/
        border-radius: 6px;
        float: left;
        width: 64%;
        line-height: 1.1;
        padding: 6px;
    }

    #logo {
        float: left;
        max-height: 105px;
        max-width: 70%;
        height: 110px;
        width: 66%;
    }

    .main aside {
        float: right;
        width: 31%;
        line-height: 1.1;
        padding-left: 1%;
        padding-right: 1%;
    }
}

@media only screen and (max-width: 768px) {
    #logo {
        width: 100%;
        height: 110px;
        background-position: 50% center;
    }
    #dialog > form > table {
        margin: 0;
        padding: 0;
    }
}

@media only screen and (min-width: 1140px) {
    /* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

    .footer-container {
        visibility: hidden;
    }
}

@media only screen and (min-width: 1510px) {
    /* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1359px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

    .footer-container {
        visibility: hidden;
    }

    #logo {
        width: 50%;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

    .ir:before {
        content: "";
        display: block;
        width: 0;
        height: 150%;
    }

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

    .visuallyhidden.focusable:active,
    .visuallyhidden.focusable:focus {
        clip: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        position: static;
        width: auto;
    }

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
    Formfields
========================================================================== */

.field-validation-error {
    color: #ff0000;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    background-color: #ffd800;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

.editor-multiline-field textarea {
    width: 300px;
    height: 200px;
}

/* ==========================================================================
SHopSpecific
========================================================================== */

.Adressangaben {
    width: 95%;
}


textarea {
    min-height: 75px;
}


.plzStrasse {
    min-width: 35px;
}

.drittelspalte {
    /*width: 25%;*/
    padding-left: 1em;
}

.erstespalte {
    width: 25%;
    max-width: 35px;
}

.ersteTexTBox {
    margin-left: 0;
    margin-right: 5px;
    padding-right: 1em;
}

.mainArtikelliste {
    width: 99%;
    text-align: left;
    margin-bottom: 60px;
}

.artikelname {
    font-weight: bold;
    width: 80%;
    font-size: 1.1em;
}

.artikelpreis {
    width: 15%;
    font-size: 1.1em;
}

.artikelhinzu {
    width: 3%;
    font-size: 1.1em;
}

.hinzubutton {
}

.artikelbeschreibung {
    font-size: 0.7em;
    min-height: 19px !important;
}

#MiniBasket {
    text-align: left;
    width: 95%;
}

    #MiniBasket th {
        text-align: left;
    }

th.thEntf {
    width: 12.25% !important;
}

th.thArtName {
    width: 71.75% !important;
}

th.thPreis {
    width: 16% !important;
}

.basketartikel {
    border-bottom: 1px solid lightgray;
}

.basketArtikelmitAdditon {
    border: 0 none black;
}

.crtscndrow {
    border-bottom: 1px solid lightgray;
}

.basketprice {
    width: 20%;
    text-align: right;
}

.basket_anzahl {
    text-align: center;
    width: 12%;
}

.basket_remove {
    width: 5%;
}

.RemoveLink {
    padding: 0;
}

#totalrow {
    font-weight: bold;
    border-top: 1px solid lightgray;
    border-bottom: 5px double lightgray;
}

.editor-label {
    margin: 1em 0 0 0;
}

.editor-field {
    margin: 0.5em 0 0 0;
}

/*STARTSEITE KATEGORIEN*/

@media(max-width: 1130px)and (min-width: 768px) {
    .catcols {
        text-align: center;
        margin-top: 2em;
        -moz-column-width: 50em; /* Firefox */
        -webkit-column-width: 50em; /* webkit, Safari, Chrome */
        column-width: 50em;
    }

        .catcols ul li img {
            width: 285px;
            height: 322px;
        }

        .catcols ul li:nth-child(n+6) img {
            padding-left: 0;
        }
}

@media(max-width: 1510px) and (min-width: 1130px) {
    .catcols {
        -moz-column-width: 15em; /* Firefox */
        -webkit-column-width: 15em; /* webkit, Safari, Chrome */
        column-width: 15em;
    }

        .catcols ul li img {
            width: 285px;
            height: 322px;
        }

        .catcols ul li:nth-child(n+6) img {
            padding-left: 25px;
        }
}

.dlgprice {
    font-size: 0.6em;
    color: orange;
}

.managerDisplay {
    color: #000;
}

#mibestTbl > tbody > tr > td:nth-child(3) {
    text-align: center;
}

.plzOrte {
    font-size: 0.6em;
}
