@import url('jqueryslidemenu.css');

body {
    text-align: center;
    font-size: 80%;
    font-family: "Lucida Grande",Verdana,Arial,sans-serif;
    background: #E7E7E7;
    position: relative;
    margin: 0;
}

body::after {
    height: 64px;
    content: " ";
    display: block;

}

form input[type="text"], form input[type="email"], form select {
    min-width: 0;
    width: 100%;
}

.required-highlight input, .pattern-highlight input, .same-highlight input {
    outline: 2px solid red;
    border-color: red;
}

.required-highlight::after {
    content: "Povinný údaj";
    display: block;
    color: red;
    margin-top: .1em;
}

.pattern-highlight::after {
    content: "Nesprávný formát";
    display: block;
    color: red;
    margin-top: .1em;
}

.same-highlight::after {
    content: "Prosím zkontrolujte";
    display: block;
    color: red;
    margin-top: .1em;
}

#poznamka {
    resize: none;
    width: 100%;
}

form span {
    display: inline-flex;
}

.warning {
    background-color: yellow;
    color: black;
    text-align: center;
    font-size: 110%;
    padding: 10px;
    border: 3px solid red;
}

#wrapper {
    display: block;
    max-width: 1280px;
    margin: auto;
}

#main {
    display: block;
}

#page {
    border: 2px solid #BBBBBB;
    border-radius: 16px;
    margin: 0;
    padding: .5em;
    background-color: #FFFFFF;
    text-align: left;
}

#header {
    position: relative;
    background: #FAF2C3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#footer {
    text-align: center;
    /*background-color: #FAF2C3;*/
}

#sidebar {
    display: none;
    padding: 10px 10px;
    text-align: left;
    font: 1em "Lucida Grande",Verdana,Arial,sans-serif;
    background-color: #FAF2C3;
}

.title-text {
    display: none;
}

/*
 * Content
 */
/*h2 {
    font-size: 1.6em;
    margin: 30px 0 0;
}

h1, h2, h3 {
    font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
    font-weight: bold;
}

h2, h3 {
    color: #333;
}

h2, h3, #sidebar h2 {
    text-decoration: none;
}*/

a {
    color: #06c;
    text-decoration: none;
}

small, .nocomments, .postmetadata {
    color: #777;
}

small {
    font-family: Arial, Helvetica, Sans-Serif;
    font-size: 0.9em;
    line-height: 1.5em;
}

html > body .entry ul {
    margin-left: 0px;
    padding: 0 0 0 30px;
    /*list-style: none;*/
    padding-left: 10px;
    /*text-indent: -10px;*/
}

html > body .entry li {
    margin: 7px 0 8px 10px;
}

/*#content .entry {
    line-height: 1.4em;
}*/

#loading {
    background-color: #0008;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
}

.spinner {
    /*
    right: 12px;
    bottom: 12px;*/
    position: relative;
    width: 64px;
    height: 64px;
}

.spinner::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 6px dashed #FAF2C3;
    border-radius: 50%;
    animation-name: spinner-rotate;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    box-sizing: border-box;
}

.spinner::after {
    content: "";
    position: absolute;
    width: 10%;
    height: 10%;
    left: 45%;
    top: 45%;
    background-color: #FAF2C3;
    border-radius: 50%;
    animation-name: spinner-pulse;
    animation-duration: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    box-sizing: border-box;
}

@keyframes spinner-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spinner-pulse {
    0% {
        width: 10%;
        height: 10%;
        left: 45%;
        top: 45%;
    }
    0% {
        width: 50%;
        height: 50%;
        left: 25%;
        top: 25%;
    }
}

a:hover {
    color: #147;
    text-decoration: underline;
}

a img {
    border: none;
}

.post {
    margin: 0 0 40px;
    text-align: justify;
}

.post hr {
    display: block;
}

.postmetadata {
    padding-top: 5px;
    text-align: center;
    clear: both;
}

.smallattachment {
    text-align: center;
    float: left;
    width: 128px;
    margin: 5px 5px 5px 0px;
}

.attachment {
    text-align: center;
    margin: 5px 0px;
}

#content {
    width: 100%;
    margin: 10px 0 0;
    display: inline-block;
    vertical-align: top;
}

    #content img {
        max-width: 100%;
        height: auto;
    }
/* content end */

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */

.navigation {
    display: block;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 60px;
}

#rightbar {
    display: none;
}

table {
    max-width: 100%;
}

    table.border {
        border-collapse: collapse;
    }

        table.border td {
            padding: 3px 2px;
        }

tbody.border tr:first-of-type td {
    border-top: 1px solid black;
}

tbody.border tr td:first-of-type {
    border-left: 1px solid black;
}

tbody.border tr td:last-of-type {
    border-right: 1px solid black;
}

tbody.border tr:last-of-type td {
    border-bottom: 1px solid black;
}

tbody.border tr.nopadding td {
    padding: 0;
}

#id_order_form {
    word-break: break-all;
}

.feedback {
    display: inline-flex;
}

.feedback a + a {
    margin-left: 10px;
}

.box {
    font-size: 4.2vw;
}

.nav_but {
    font-size: 2.5vw;
}

tr, td {
    height: 100%;
}

.clear {
    clear: both;
}

.menu-button {
    border: 1px solid #000;
    border-radius: 5px;
    background-color: #FFF;
    width: 64px;
    height: 64px;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

.desktop-only {
    display: none;
}

#sidebar.show {
    display: block;
}

.scaledimg {
    max-width: 100%;
    max-height: 100%;
    min-width: 20px;
    min-height: 20px;
}

#logo {
    height: 10em;
    padding: .5em 2em .5em 1em;
    flex: 1 0 auto;
}

#headerright {
    width: 100%;
}

#headertext {
    display: none;
}

#headertext img {
    height: 90%;
}

#search-bar {
    width: 100%;
    align-items: center;
    display: flex;
    font-size: 1.2em;
    height: 3em;
}

#search-bar > :not(:last-child) {
    margin-right: 2em;
}

#search-bar a {
    height: 100%;
}

#search-bar button {
    width: min-content;
    height: 100%;
    display: flex;
    align-items: center;
}

#top_search {
    display: flex;
    height: 100%;
    margin-bottom: 0;
    background-color: white;
    border: 1px solid gray;
    border-radius: .5em;
    box-sizing: border-box;
    flex-grow: 1;
}

#top_search > div {
    width: 100%;
    display: flex;
}

#top_search input {
    flex-grow: 1;
    width: 1em;
    box-sizing: border-box;
}

#top_search button {
    width: min-content;
    display: flex;
    align-items: center;
    border-radius: .5em;
    margin: 0;
    border: none;
    border-left: 1px solid lightgray;
}

#top_search input {
    border-radius: .5em;
}

#top_search select {
    flex: 0 0 min-content;
}

#top_search select, #top_search input {
    background: none;
    border: none;
    border-left: 1px solid lightgray;
}

.relative {
    position: relative;
}

.user-menu {
    position: absolute;
    background-color: white;
    padding: .5em;
    border: 1px solid lightgray;
    display: flex;
    flex-direction: column;
    font-size: 2em;
    top: 100%;
    z-index: 10;
}

.user-menu a {
    white-space: nowrap;
}

.top_item {
    width: auto;
}

.submenu {
    width: auto;
}

/* Styles from nova skola e-shop */

.label {
	text-align: right;
}

.hidden {
	display: none;
}

.novinka_nadpis {
	font-weight: bold;
	margin: 0px;
	padding: 0px;
	margin-top: 15px;
	font-size: 1.1em;
	color: #000033;
	margin-bottom: 3px;
}

.mesic_start {
	margin: 0px;
	padding: 0px;
}

.mesic {
	margin: 0px;
	padding: 0px;
}

h2.novinka_nadpis {
	color: #000000;
	font-weight: bold;
	margin: 0px;
	margin-top: 15px;
	padding: 0px;
	font-size: 1.2em;
	text-align: center;
	margin-bottom: 3px;
}

.novinka_nadpis_odkaz {
	color: #000000;
}

.nab_flex {
    display: flex;
    margin-top: 20px;
}

.kod {
	font-size: 1.0em;
    margin-bottom: -2px;
}

.obrazekbox {
    font-size: 0.7em;
    margin-right: 20px;
    text-align: right;
    flex: 0 1 auto;
}

.obrazek {
	padding: 0px;
	margin: 0px;
	max-width: 80px;
	max-height: 80px;
}

.obrazek  img {
	border: 1px solid #CCCCCC;
}

.sortimentbox {
    flex: 1 1 0;
}

.odstavec {
	margin-bottom: 5px;
	text-indent: 20px;
	font-size: 1em;
}

.odstavec_mini {
	text-indent: 20px;
	font-size: 0.9em;
}

.novinka {
	color: #303030;
}

.nomezera {
	padding: 0px;
	margin: 0px;
}

.popis {
	margin-bottom: 8px;
	font-size: 1.0em;
}

.novinka_nadpis_alt {
	font-size: 1.5em;
	margin: 3px;
	color: #333333;
	padding: 0px;
}

td.img {
	width: 192px;
	height: 144px;
	padding-left: 1px;
	padding-right: 1px;
	padding-top: 3px;
}

td.text {
	width: 192px;
	height: 12px;
	padding-left: 1px;
	padding-right: 1px;
	padding-bottom: 10px;
}

td.cena {
	font-size: 1.0em;
}


td.right {
	font-size: 1.0em;
	text-align: right;
	padding-right: 20px;
}

td.nabidka {
	padding-left: 4px;
	padding-right: 8px;
}

td.nazev {
	font-size: 1.0em;
	font-weight: bold;
}

td.input {
	font-size: 1.0em;
}


div.galerytext {
	padding-left: 1px;
	padding-right: 1px;
}

table.galery {
	margin-left: 2px;
}

img.galery {
	border: 1px solid #AAAAAA;
	margin: 0px;
	padding: 0px;
}

img.picture {
	border: 1px solid #AAAAAA;
	margin-top: 1px;
}

a.galery {
	color: #000000;
	font-weight: bold;
	text-decoration: none;
	margin: 0px;
	padding: 0px;
}

a.links {
	color: #333333;
	text-align: center;
	padding-top: 5px;
}

h2.galery_nadpis {
	font-size: 1.2em;
	font-weight: normal;
	padding: 0px;
	margin: 0px;
	margin-bottom: 6px;
}

a.nolink {
	color: #000000;
}

div.addlink {
	text-align: right;
}

a.nolink_small {
	color: #000000;
	font-size: 0.9em;
}

a.year {
	font-weight: bold;
	color: #666666;
	font-size: 1.0em;
}

div.akce_stara {
	margin-left: 10px;
	font-size: 1.0em;
	color: #666666;
}

div.akce_nejblizsi {
	font-size: 1.0em;
	color: #000000;
}

div.novinka_info {
	font-size: 1.0em;
	color: #666666;
}

div.roky {
	font-size: 1.0em;
	color: #666666;
}

div.akce_nova {
	margin-left: 5px;
	font-size: 1.0em;
}

h4.nabidka {
	margin: 0px;
	padding: 0px;
}

h4.gray {
	color: #666666;
	margin: 0px;
	padding: 0px;
}


#kosikiframe {
	width: 100%;
	height: 150px;
	border: 1px #D9D9D9 solid;
}

.kosik-obsah {
  overflow-y: auto;
  padding: 1px;
}

.kosik-balicek {
    border: 1px solid black;
    width: fit-content;
    padding: 3px;
    width: 100%;
    box-sizing: border-box;
    min-width: fit-content;
}

@media screen and (min-width: 480px) {

    #page {
        margin: 10px;
        padding: 10px;
    }

    #content {
        font-size: 1.2em;
    }

    #header {
        flex-direction: row;
    }

    #logo {
        height: 16em;
    }
}


.flex-row {
    display: flex;
    width: 100%;
}

.flex-column {
    display: flex;
    flex-direction: column;
    /*height: 100%;*/ /*odskakovalo tl. do kosiku*/
}

.flex-row > .flex-end {
    margin-left: auto;
}

.flex-column > .flex-end, .bsortiment > .flex-end {
    margin-top: auto;
}

.flex-align-center {
    align-items: center;
}

.flex-just-around {
    justify-content: space-around;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

#headerimg 	{   /* Vyzadovano kvuli #kosikimg - obrazku kosiku */
    position: relative;
    display: none;
}


/* okno sledovani zbozi */
.watch_form {
    background: #FFFFFF;
    position: fixed;
    top: 30%;
    left: 30%;
    width: 40%;
    height: 40%;
    border: solid #AAAAAA 3px;
    border-radius: 16px;
    padding: 10px;
    font-size: 200%;
    display: table;
    text-align: center;
    z-index:10001;
}

/* okno sledovani zbozi */
.grayout {
    width:100%;
    height:100%;
    position: fixed;
    left:0;
    top:0;
    z-index:10000;
    background:RGBA(0, 0, 0, 0.6);
}

.close_dialog {
    background: #FFFFFF;
    border: solid #ff7e00 1px;
    position: absolute;
    right: 13px;
    min-width: 26px;
    min-height: 26px;
    cursor: pointer;
    padding: 10px;
}

.watch_dialog {
    background: #FAF2C3;
    height: 40vh;
    display: table-cell;
    vertical-align: middle;
}

.bold {
    font-weight: bold;
}

.price {
    font-weight: bold;
    font-size: 1.2em;
}

.price.discounted {
    color: red;
}

    .price.discounted-medium {
        color: red;
        font-size: 135%;
        align-self: flex-end;
    }

    .price.discounted-large {
        color: red;
        font-size: 180%;
        align-self: flex-end;
    }

.discount {
    border-radius: 5px;
    background-color: yellow;
    color: #4A4A4A;
    padding: 3px;
    font-weight: bold;
}

.line-through {
    font-size: 1em;
    /*text-decoration: line-through;background-color: transparent;*/
    background-image: gradient(linear, 19.1% -7.9%, 81% 107.9%,
                               color-stop(0, transparent),
                               color-stop(.48, transparent),
                               color-stop(.5, #000),
                               color-stop(.52, transparent),
                               color-stop(1, transparent));
    background-image: repeating-linear-gradient(163deg,
                                                transparent 0%,
                                                transparent 47%,
                                                #000 50%,
                                                transparent 53%,
                                                transparent 100%);
}

.image_fit {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
}


.highlight_filter:hover {
    filter: contrast(2) brightness(2);
}

/* End of styles from nova skola e-shop */

/*@media screen and (min-width: 481px) {

select, input, button {
    font-size: 1.1em;
}

}

@media screen and (min-width: 641px) {

select, input, button {
    font-size: 1.4em;
}

}*/

@media screen and (min-width: 801px) {

    body {
        font-size: 62.5%;
    }

    #top_search {
        margin-left: 1em;
        flex-grow: 0;
    }

    #top_search input {
        width: 15em;
    }

    #main {
        display: flex;
    }

    #headertext {
        display: block;
    }

    select, input, button {
        font-size: 1em;
    }

    button:focus {
    outline: 2px solid blue;
    border-radius: .5em;
    }

    #id_order_form {
        word-break: normal;
    }

    .feedback {
        display: block;
    }

    .box {
        font-size: 1em;
    }

    .nav_but {
        font-size: 1em;
    }

    .news {
        font-size: 1.7em;
        font-weight: bold;
        /*margin: 10px 16px 0;*/
        text-align: center;
        border: 1px #FFAA00 solid;
    }

    #news {
        font-size: 1.7em;
        font-weight: bold;
        /*margin: 10px 16px 0;*/
        text-align: center;
        border: 1px #FFAA00 solid;
        margin: 10px;
    }

    #banners {
        display: inline-block;
    }

    #cartimg {
        display: inline-block;
    }

    #content {
        width: calc(100% - 240px);
        margin: 0 10px;
        flex-grow: 1;
        flex-basis: auto;
    }

    .menu-button {
        display: none;
    }

    .desktop-only {
        display: block;
    }

    /*
    * Sidebar
    */
    #sidebar {
        font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
        width: 190px;
        display: inline-block;
        vertical-align: top;
        padding-top: 0;
        flex-grow: 0;
        flex-basis: auto;
        }

    #sidebar h2 {
        font-family: 'Lucida Grande', Verdana, Sans-Serif;
        font-size: 1.2em;
        margin: 5px 0 0;
        padding: 0;
        }

    #sidebar h2 {
        text-decoration: none;
        }

    #sidebar ul ul li, #sidebar ul ol li {
        color: #777;
        }

    #sidebar ul ul li:before {
        /* content: "\00BB \0020"; */
        }
        #sidebar ul, #sidebar ul ol {
        margin: 0;
        padding: 0;
        }

    #sidebar ul li {
        list-style-type: none;
        list-style-image: none;
        margin-bottom: 15px;
        }

    #sidebar ul li ul li {
        list-style-type: disc;
        list-style-image: none;
        margin-left: 5px;
        }

    #sidebar ul p, #sidebar ul select {
        margin: 5px 0 8px;
        }

    #sidebar ul ul, #sidebar ul ol {
        margin: 5px 0 0 10px;
        }

    #sidebar ul ul ul, #sidebar ul ol {
        margin: 0 0 0 10px;
        }

    #sidebar ul ol li {
        list-style: decimal outside;
        }

    #sidebar ul ul li, #sidebar ul ol li {
        margin: 3px 0 0;
        padding: 0;
        }

    #sidebar.show {
        clear: left;
        display: inline-block;
    }

    /*
    * Sidebar end
    */

    .submenu {
        padding: 2px;
        font-size: 1.2em;
        visibility: hidden;
        display: none;
        background-color: white;
        color: black;
    }

    #s {
        max-width: 100%;
        flex-grow: 1;
    }

    form input[type="text"], form input[type="email"], form select {
        width: auto;
    }

    .title-text {
        padding-left: .5em;
        font-weight: bold;
        font-size: 3em;
        display: block;
    }

    .title-text nobr {
        padding-left: .5em;
        font-size: 60%;
        font-weight: normal;
    }

}

.video {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    padding-top: 20px;
    overflow: hidden;
}

.video iframe, .video object, .video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



#commitorder input[type="button"], #commitorder input[type="submit"] {
  font-size: 1.3em;
  padding: 5px;
}

#commitorder input[type="submit"] {
  background-color: #bce64d;
  border: 1px solid gray;
  border-radius: 3px;
}

#commitorder input[type="submit"]:hover {
  background-color: #87bb09;
  color: white;
}

@media screen and (min-width: 1060px) {

    #commitorder input[type="button"], #commitorder input[type="submit"] {
    font-size: 1.5em;
    }

    #rightbar {
        width: 190px;
        display: inline-block;
        vertical-align: top;
        background-color: #FAF2C3;
        flex-grow: 0;
        flex-basis: auto;
    }

    #content {
        width: calc(100% - 428px);
    }

    #headerimg {
        display: block;
    }

}
