﻿* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

form {
    margin: 0;
    padding: 0;
    border-style: solid;
    border-width: 5px;
}

body {
    /*margin: 0 auto;*/
    margin: 0;
    padding: 0;
    font-family: Arial;
    font-size: 1em;
    color: #4D4D4D;
    height: 100%;
}

a:active,
a:focus {
    outline: 0;
}

a img {
    border: 0 none;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

*:focus {
    outline: none;
}

a:link,
a:visited {
    color: #E61700;
    text-decoration: none;
}

a:hover,
a:active {
    color: #F28152;
    text-decoration: none;
}

h1 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 20px;
    /*padding: 5px 5px 0 0;*/
}

#container {
    /*width: 1050px;
    min-height: 100%;
    margin: 0 auto 0 auto;*/
    min-height: 100%;
    /*width: 100%;*/
    min-width: 400px;
    padding: 10px;
    text-align: left;
    background-color: #FFF;
    min-height: 100%;
}

#header {
    margin: 0 auto 0 auto;
    max-width: 1030px;
    padding-top: 10px;
    /*height: 120px;
    background-color: #AECB06;
    padding: 5px;*/
}

#header1 {
    /*margin: 0 auto 0 auto;
    max-width: 1050px;*/
    min-height: 120px;
    background-color: #AECB06;
    /*padding: 5px;*/
}

#header img {
    border: 0;
    display: block;
}

#leftCol {
    /*float: left;
    width: 250px;*/
    display: none;
}

#btnMenu {
    display: block;
}

#toolBar {
    background-color: #999;
    margin-top: 5px;
}


#leftColContent {
    padding-right: 0px;
    padding-left: 0;
    padding-bottom: 5px;
    padding-top: 5px;
}

#contentCol {
    /*float: left;
    width: 780px;*/
    padding-right: 0px;
    padding-left: 10px;
    /*background-color:aquamarine;*/
}

#content {
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 5px;
    padding-top: 2px;
    /*background-color: aquamarine;*/
}

.cleaner {
    border: 0 none;
    margin: 0;
    padding: 0;
    float: none;
    clear: both;
    width: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
}

/* MEDIA QUERIES */
/*@media screen and (min-width: 47.5em ) */
@media screen and (min-width: 53em) {
    body {
        margin: 0;
        padding: 0;
        font-family: Arial;
        font-size: 1em;
        color: #4D4D4D;
        background-image: url(/img/podklad.jpg);
        min-height: 100%;
        background-color: #FFF;
        height: 100%;
        min-height: 100%;
    }

    #container {
        /*float: left;*/
        margin: 0 auto 0 auto;
        max-width: 1050px;
        border-left: 2px solid #4D4D4D;
        border-right: 2px solid #4D4D4D;
        padding: 10px;
        text-align: left;
        background-color: #FFF;
    }

    #leftCol {
        width: 18em;
        /*margin-right: -19.3em; */
        float: left;
        display: block !important;
        /* margin-right: -19.3em;;*/
    }

    #btnMenu {
        display: none;
    }

    #contentCol {
        margin-left: 18em;
        /*float: left;
        width: 500px;*/
        overflow: hidden;
    }
}

.wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr (20px 1fr)[3];
    /*grid-template-columns: repeat(3, 1fr);*/
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 10px;
}

/*.wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (3fr)[3];
      grid-template-columns: repeat(3, 3fr);
  grid-gap: 10px;
  }*/

.banner {
    float: left;
    width: 32.3%;
    /*margin-bottom: 10px;
    margin-right: 10px;*/
    border-style: solid;
    border-width: 1px;
    /*height: 310px;*/
    padding: 5px;
    font-size: 15px;
    /*background-color: #F28152;*/
}

    .banner:nth-child(2) {
        /*background: red;*/
        margin-right: 1.5%;
        margin-left: 1.5%;
    }

.blok {
    float: none;
    clear: both;
    height: 10px;
}



/*.banner a:hover{
   pointer-events: none;
}*/

.banner img {
    display: block;
    /*max-width:220px;
  max-height:200px;
  width: auto;
  height: auto;*/
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.imgBox {
    position: relative;
    /*width: 220px;
    height: 220px;*/
    width: 95%;
    padding-top: 100%;
    /*height: width;*/
    margin: 0 auto;
    display: block;
    border: 1px solid #cccccc;
}

a.imgBox {
    color: #cccccc;
}

.nazev {
    font-size: 15px;
    height: 2.4em; /* exactly two lines */
    overflow: hidden;
    /*min-width: 0;*/
}

/*.nazev {
  
  white-space:nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  height: 20px;
  font-size: 15px;
}*/

/* styles for '...' */
.block-with-text {
    font-size: 15px;
    /* hide text if it more than N lines  */
    overflow: hidden;
    /* for set '...' in absolute position */
    position: relative;
    /* use this value to count block height */
    line-height: 1.2em;
    /* max-height = line-height (1.2) * lines max number (2) */
    /*max-height: 2.4em;*/
    height: 2.4em;
    /* fix problem when last visible word doesn't adjoin right side  */
    /*text-align: justify;*/
    /* place for '...' */
    margin-right: 0em;
    padding-right: 1em;
}
    /* create the ... */
    .block-with-text:before {
        /* points in the end */
        content: '...';
        /* absolute position */
        position: absolute;
        /* set position to right bottom corner of block */
        right: 0;
        bottom: 0;
    }
    /* hide ... if we have text, which is less than or equal to max lines */
    .block-with-text:after {
        /* points in the end */
        content: '';
        /* absolute position */
        position: absolute;
        /* set position to right bottom corner of text */
        right: 0;
        /* set width and height */
        width: 1em;
        height: 1em;
        margin-top: 0.2em;
        /* bg color = bg color under block */
        background: white;
    }

#accordion {
    /*border-style: solid;
    border-width: 1px;*/
}


.accordion-toggle {
    margin: 0;
    background-color: #B9CACA;
    display: block;
    color: #444;
    cursor: pointer;
    padding: 12px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    border-bottom: 1px solid #d4d3d3;
    margin-bottom: 7px;
    box-shadow: 2px 2px #888888;
    border-style: solid;
    border-width: 1px;
    border-color: #92a8d1;
    font-size: 15px;
    padding-right: 20px;
    font-weight: bold;
    border-radius: 5px;
}

    .accordion-toggle:after {
        font-family: FontAwesome;
        content: '\f0fe';
        color: #777;
        font-weight: bold;
        float: right;
    }

    .active, .accordion-toggle:hover {
        background-color: #e4e1e1;
    }

        .active:after {
            font-family: FontAwesome;
            content: "\f146";
        }

.accordion-content {
    display: none;
    margin-left: 15px;
    /*width: 100%;*/
}

    .accordion-content a {
        background-color: #f1eeb3;
        color: #444;
        cursor: pointer;
        display: block;
        text-decoration: none;
        padding: 12px;
        border-bottom: 1px solid #d4d3d3;
        margin-bottom: 7px;
        box-shadow: 2px 2px #888888;
        border-style: solid;
        border-width: 1px;
        border-color: #92a8d1;
        border-radius: 5px;
        font-size: 15px;
    }

        .accordion-content a:hover {
            background-color: #00ffff;
        }

    .accordion-content .activeContent {
        background-color: #ff0000;
        color: #ffffff;
    }

        .accordion-content .activeContent:before {
            font-family: FontAwesome;
            content: "\f00c\00a0";
            /*\00a0 toto je pevná mezera*/
        }

    .accordion-content.default {
        display: block;
    }

.accordion-color1 {
    background-color: #ffd800;
}

.accordion-color2 {
    background-color: #b6ff00;
}


.akce a {
    margin: 0;
    background-color: #f79e10;
    display: block;
    color: #FFF;
    cursor: pointer;
    padding: 12px;
    /*width: 100%;*/
    text-align: left;
    border: none;
    outline: none;
    border-bottom: 1px solid #d4d3d3;
    margin-bottom: 7px;
    box-shadow: 2px 2px #888888;
    border-style: solid;
    border-width: 1px;
    border-color: #92a8d1;
    font-size: 15px;
    padding-right: 20px;
    font-weight: bold;
    border-radius: 5px;
}

    .akce a:hover {
        background-color: #e4e1e1;
    }

.akce .activeContent {
    background-color: #ff0000;
    color: #ffffff;
}

.novinky a {
    margin: 0;
    background-color: #ff0000;
    display: block;
    color: #FFF;
    cursor: pointer;
    padding: 12px;
    /*width: 100%;*/
    text-align: left;
    border: none;
    outline: none;
    border-bottom: 1px solid #d4d3d3;
    margin-bottom: 7px;
    box-shadow: 2px 2px #888888;
    border-style: solid;
    border-width: 1px;
    border-color: #92a8d1;
    font-size: 15px;
    padding-right: 20px;
    font-weight: bold;
    border-radius: 5px;
}

    .novinky a:hover {
        background-color: #e4e1e1;
    }

.novinky .activeContent {
    background-color: #ff0000;
    color: #ffffff;
}

.myButton {
    display: block;
    background-color: #D8EDED;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    float: left;
    margin-right: 5px;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid #92a8d1;
    box-shadow: 2px 2px #888888;
}

.myButton1 {
    display: block;
    background-color: #D8EDED;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    float: right;
    margin-left: 5px;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid #92a8d1;
    box-shadow: 2px 2px #888888;
}

a.myButton {
    color: #4D4D4D !important;
}

.logo {
    float: left;
    margin-top: 35px;
}

.vyber {
    float: left;
    margin-top: 40px;
    margin-left: 50px;
}

    .vyber input[type="text"] {
        font-size: 16px;
        background-color: aliceblue;
        height: 26px !important;
        border: 1px solid #92a8d1;
        box-shadow: 2px 2px #888888;
        width: 200px;
        float: left;
    }

.vyberButton {
    /*margin-top: 40px;*/
    display: block;
    background-color: #D8EDED;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    margin-right: 20px;
    font-size: 13px;
    font-weight: bold;
    float: left;
    margin-left: 3px;
    border: 1px solid #92a8d1;
    box-shadow: 2px 2px #888888;
}

.kosikButton {
    margin-top: 40px;
    display: block;
    background-color: #D8EDED;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-right: 5px;
    font-size: 13px;
    font-weight: bold;
    float: right;
    border: 1px solid #92a8d1;
    box-shadow: 2px 2px #888888;
}

#kosikCena {
    margin-top: 40px;
    float: right;
    background-color: #efe8e8;
    font-size: 16px;
    font-weight: bold;
    padding: 4px;
    border: 1px solid #92a8d1;
    box-shadow: 2px 2px #888888;
}

.blokCena {
    white-space: nowrap;
}

.cena {
    color: #000;
    white-space: nowrap;
    color: #FF0000;
    font-weight: bold;
}

.cenaBezAkce {
    font-size: 13px;
    color: #555;
    text-decoration: line-through;
    white-space: nowrap;
}

.cenaBezDph {
    font-size: 12px;
    margin-left: 10px;
    color: #1a7209;
    white-space: nowrap;
}

.kosik {
    margin-top: 5px;
}

    .kosik input[type="text"] {
        font-size: 14px;
        width: 40px;
        vertical-align: middle;
    }

    .kosik input[type="image"] {
        vertical-align: middle;
    }

#nakup {
}

    #nakup .sl1 {
        float: left;
        width: 70px;
        height: 70px;
        border: 1px solid #777;
        display: flex;
        align-items: center;
    }

        #nakup .sl1 img {
            
            max-width: 95%;
            height: auto;
        }

    #nakup .sl2 {
        float: left;
        margin-left: 10px;
    }

        #nakup .sl2 .nazev {
            font-weight: bold;
            font-size: 16px;
            height: 25px;
        }

        #nakup .sl2 .bezDph {
            font-size: 15px;
            color: #9f1717;
        }

        #nakup .sl2 .dph {
            font-size: 15px;
            color: #524f4f;
        }

    #nakup .sl3 {
        float: right;
        display: flex;
        align-items: center;
    }

    #nakup .odsazeni {
        height: 10px;
    }

    .celkem {
        text-align: right;
    }

input[type=submit] {
    margin-top: 20px;
    padding: 5px 15px;
    background: #f8c071;
    border: 0 none;
    cursor: pointer;
    -webkit-border-radius: 4x;
    border-radius: 4px;
    font-weight:bold;
    color: #444;
}

input[type="submit"]:hover {
    background: #D8EDED;
}

#purchase {

}
    #purchase .odsazeni1 {
        height:50px;
    }

    #purchase .odsazeni2 {
        height: 20px;
    }

    #address {

    }

#address .odsazeni {
    height:5px;
}

#uvod img {
    max-width: 100%;
    height: auto;
}