/* Globalni styly */

:root {

    --myred: #FE0000;
}

* {
	vertical-align: baseline;
	font-weight: inherit;
	font-family: inherit;
	font-style: inherit;
	font-size: inherit;
	border: 0 none;
	outline: 0;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	max-width: 100%;
}

html {
    font-family: "Open Sans", sans-serif;
	font-size: 17px;
    font-optical-sizing: auto;
	line-height: 1.15;
}
@media only screen and (max-width: 512px){
    html{
        line-height: 1.25;
    }
}

head {
	display: none;
}


body {
	overflow-y: scroll;
	min-width: 260px;
	min-height: 100vh;
	background: white;
	color: #000;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;

	-webkit-animation-name: usvit;
	-webkit-animation-duration: 0.5s;
	-webkit-animation-iteration-count: 1;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-fill-mode: forwards;

	-moz-animation-name: usvit;
	-moz-animation-duration: 0.5s;
	-moz-animation-iteration-count: 1;
	-moz-animation-timing-function: ease-in-out;
	-moz-animation-fill-mode: forwards;

	-ms-animation-name: usvit;
	-ms-animation-duration: 0.5s;
	-ms-animation-iteration-count: 1;
	-ms-animation-timing-function: ease-in-out;
	-ms-animation-fill-mode: forwards;

	-o-animation-name: usvit;
	-o-animation-duration: 0.5s;
	-o-animation-iteration-count: 1;
	-o-animation-timing-function: ease-in-out;
	-o-animation-fill-mode: forwards;

	animation-name: usvit;
	animation-duration: 0.5s;
	animation-iteration-count: 1;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
}


@-webkit-keyframes usvit{
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@-moz-keyframes usvit{
    0% {-moz-opacity: 0;}
    100% {-moz-opacity: 1;}
}
@-sm-keyframes usvit{
    0% {-moz-opacity: 0;}
    100% {-moz-opacity: 1;}
}
@-o-keyframes usvit{
    0% {-moz-opacity: 0;}
    100% {-moz-opacity: 1;}
}
@keyframes usvit{
    0% {opacity: 0;}
    100% {opacity: 1;}
}

a {
    color: #312220;
    text-decoration: underline;
}
a:hover {
    color: #312220;
    text-decoration: underline;
}


input, select, label {
	vertical-align: middle;
}

label {
	cursor: pointer;
}

input[type=text],
input[type=date],
input[type=time],
input[type=number],
input[type=password],
input:not([type]),
textarea {
    border: 1px solid silver;
    border-radius: 0.25rem;
	width: 100%;
	padding: 5px;
}

select{
    padding: 4px 10px !important
}

input[type=submit],
input[type=button],
button,
.button,
.formularMojeData a,
.proslide .original a {
    cursor: pointer !important;
    background-color: var(--myred);
    border-radius: 3px;
    color: white;
    padding: 10px 24px;
    font-size: 0.8rem;
    transition: all 0.5s;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
}

input[type=submit]:hover,
input[type=button]:hover,
.button:hover {

}

*::-webkit-input-placeholder {
	color: #aaaaaa;
	font-size: 17px;
}

*:-moz-placeholder {
	color: #aaaaaa;
	font-size: 17px;
}

*::-moz-placeholder {
	color: #aaaaaa;
	font-size: 17px;
}

*:-ms-input-placeholder {
	color: #aaaaaa;
	font-size: 17px;
}


/* Ytext */


.priloha img {
	width: 100% !important;
    height: auto !important;
    object-fit: contain;
    /*padding: 10px;*/
    cursor: pointer;
}

.priloha img[src*="Pdf.png"]{
	width: 100px !important;
	height: 100px !important;
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	text-align: center;
	top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.prilohaL {
	display: block;
	float: left;
	margin: 0px 10px 0px 0px;
}

.prilohaP {
	display: block;
	float: right;
	margin: 0px 0px 0px 10px;
}

td p:only-child .prilohaL:only-child,
td p:only-child .prilohaP:only-child {
    margin: 0px;
}

.priloha .text {
	display: block;
	text-align: center;
	font-size: 12px;
}

table {
	clear: both;
}
table.sloupcovaSazba {
	width: 100%;
}
table.sloupcovaSazba td {
	padding: 0px 10px 0px 0px;
	vertical-align: top;
}

form:not([data-unisablona=""]) tbody td input,
form:not([data-unisablona=""]) tbody td select,
form:not([data-unisablona=""]) tbody td textarea{
    margin-bottom: 0.5rem;
}

hr {
    border-bottom: 1px solid #FFBD3E;
    margin: 2rem 0 1rem 0;
}

h2, ul, ol, table, hr {
	margin: 0px 0px 0px 0px;
}
p{
    margin-bottom: 0.5rem;
}

h1, h1 *, .h1, .h1 * {
	text-transform: uppercase;
	font-weight: bold;
    font-size: 50px;
	color: #312220;
	clear: both;
}
h1, h1 *{
	margin: 0 0 1rem 0; /*margin: 0 auto 1rem auto;*/
}
.h1, .h1 * {

}
h1{
    margin-top: 30px;
}

h2, h2 *{
    font-size: 40px;
	font-weight: 600;
}
h2{
    margin-bottom: 1rem;
}

h3 {
	font-weight: bold;
	font-size: 34px;
}

ul {
    padding-left: 20px;
}

ol {
    padding-left: 20px;
}

strong {
	font-weight: bold;
}


body .text.editor p {
	clear: both;
}

.wrapper{
    display: flex;
    clear: both;
    width: 1300px;
    margin: auto;
    padding: 0 10px;
    max-width: 100%;
    flex-direction: column;
    xoutline: 1px solid #eee;
}

.flex{
    display: flex;
}

iframe[src*=mapy]{
    width: 100%;
    height: 600px;
}

@media only screen and (max-width: 992px){
    body {

    }
    h1{
        background: none;
        text-align: center;
    }
    h1, h1 *,
    .h1, .h1 *{
        font-size: 45px;
    }
    h2, h2 *{
        font-size: 30px;
    }
}


@media only screen and (max-width: 1024px){
    .sloupcovaSazba
    .sloupcovaSazba thead,
    .sloupcovaSazba tbody,
    .sloupcovaSazba tfoot,
    .sloupcovaSazba tr,
    .sloupcovaSazba td{
        display: block !important;
        width: 100% !important;
    }
    .sloupcovaSazba colgroup{
        display: none;
    }
    table.sloupcovaSazba td {
        padding: 0;
    }
}

/******************************************************************************/


/* header */
header .panelHlavicka{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}
header .panelHlavicka .logo{
    display: block;
    width: 196px;
    height: 78px;
    background: url(img/balax.png) scroll no-repeat center center/contain;
}
header .panelHlavicka .komponentaNavigace ul{
    list-style-type: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}
header .panelHlavicka .komponentaNavigace .polozka{
    display: block;
    padding: 8px 10px;
    transition: all 0.2s;
    text-decoration: none;
    border-radius: 2px;
    font-size: 1.2rem;
}
header .panelHlavicka .komponentaNavigace .polozka:hover{
    background-color: var(--myred);
    color: white;
}
header .telefon,
header .email,
header .komponentaKosik,
header .uzivatel > a{
    display: block;
    width: 70px;
    height: 70px;
    font-size: 13px;
    text-decoration: none;
    text-align: center;
    padding-top: 50px;
    line-height: 20px;
    text-transform: uppercase;
}
header .telefon:hover,
header .email:hover,
header .komponentaKosik:hover,
header .uzivatel > a:hover{
    background-color: rgba(0,0,0,0.05);
}
header .uzivatel > a{
    background: url(img/piktogram-uzivatel.svg) scroll no-repeat center 5px/40px auto;
}
header .komponentaKosik{
    background: url(img/piktogram-kosik.svg) scroll no-repeat center 8px/45px auto;
}
header .telefon{
    background: url(img/piktogram-telefon.svg) scroll no-repeat center 8px/45px auto;
}
header .email{
    background: url(img/piktogram-email.svg) scroll no-repeat center 8px/45px auto;
}
header .uzivatel .moznosti a{
    display: inline-block;
    border: 1px solid silver;
    padding: 10px;
    width: 135px;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
}
header .uzivatel .moznosti{
    display: none;
}
header .uzivatel:hover > a[href*=Odhlasit] ~ .moznosti{
    display: flex;
    position: absolute;
    flex-direction: column;
    background: white;
    gap: 5px;
    outline: 5px solid white;
    z-index: 999;
    transform: translateX(-22%);
}
header .telefon:hover:before,
header .email:hover:before{
    display: block;
    position: relative;
    background: white;
    max-width: unset;
    width: 100px;
    font-size: 12px;
    transform: translateX(-20%);
    border: 1px solid silver;
    box-shadow: 0 0 0 5px white;
    padding: 10px;
    top: 20px;
    text-transform: lowercase;
}
header .telefon:hover:before{
    content: '+420 608 800 518 +420 775 225 292';
}
header .email:hover:before{
    content: 'sklad@balax.cz';
}
@media only screen and (max-width:1024px){
    header .panelHlavicka{
        flex-direction: column;
        gap: 10px;
    }
    header .uzivatel .moznosti{
        display: none !important;
    }
}
/* header */



/* banner */
.banner{
    background: url(img/banner.jpg) scroll no-repeat center center/cover;
    padding: 5% 0 0 0;
    min-height: max(200px, 30vw);
}
.banner h1, .banner h1 *{
    font-size: min(60px, 8vw);
}
.banner h2, .banner h2 *{
    font-size: min(50px, 8vw);
    color: white;
    text-shadow: 1px 1px black;
}
.banner h3, .banner h3 *{
    font-size: min(40px, 8vw);
}
.banner p, .banner p *{
    font-size: min(30px, 8vw);
}
.banner .prohledani{
    margin-top: 20px;
    background: rgba(0,0,0,0.5);
    padding: 1rem 0;
}
.banner .prohledani .komponentaHledat{
    width: 50%;
    position: relative;
    margin: auto;
}
.banner .prohledani .komponentaHledat input[name=hledej]{
    padding: 15px 10px;
    width: calc(100% - 65px);
    border: 1px solid transparent;
}
.banner .prohledani .komponentaHledat input[type=submit]{
    position: absolute;
    right: 0;
    top: 0;
    background: url(img/piktogram-lupa.svg) scroll no-repeat center center / 45px auto;
    height: 55px;
    width: 55px;
    font-size: 0px;
}
.banner img{
    box-shadow: 1px 1px 10px 4px rgba(0,0,0,0.5);
}
@media only screen and (max-width:1024px){
    .banner .prohledani .komponentaHledat{
        width: auto;
    }

}
/* banner */





.panelObsah{
    flex-direction: row;
    flex-wrap: wrap;
}
.panelObsah nav{
    flex: 0 0 320px;
    padding-right: 10px;
}
.panelObsah main{
    flex: 0 1 min(960px, calc(100% - 320px));
}
@media only screen and (max-width: 1024px){
    .panelObsah nav,
    .panelObsah main {
        flex: 0 0 100%;
        padding-right: 0px;
    }

}



/* unisablony */
body .KatalogFiltryRazeni001 .pomocnaNavigace .polozka{
    text-decoration: none;
}
body .KatalogFiltryRazeni001 .pomocnaNavigace .polozka:hover{
    text-decoration: underline !important;
}
body .KatalogFiltryRazeni001 .pomocnaNavigace .podslozky:not(:empty){
    padding: 10px 0;
}
body .KatalogFiltryRazeni001 .pomocnaNavigace .podslozky:not(:empty) .polozka{
    font-size: 0.8rem;
}
body .KatalogFiltryRazeni001 .podslozky img{
    display: none;
}
body .NahledProduktu003 input[type=submit]{
    background-color: var(--myred);
}
body .NahledProduktu003 .ceny *{
    color: var(--myred) !important;
}
body.strankaKosik .kosik .celkem .zaMnozstviBez .popis,
body.strankaKosik .kosik .celkem .zaMnozstviVcetne .popis{
    display: none;
}
body.strankaKosik .kosik .celkem td.nazev{
    color: initial !important;
}
/* unisablony */




/* footer */
footer{
    margin: 100px 0 0 0;
}
footer .odkazy{
    background: #232323;
    padding: 1rem;
    text-align: center;
}
footer .odkazy table{
    margin: auto;
}
footer .odkazy a{
    font-size: 14px;
    color: white;
    display: inline-block;
    padding: 0 5px;
    text-decoration: none;
}
footer .odkazy a:hover{
    text-decoration: underline;
}
footer .duha{
    background: url(img/footer-duha.png) scroll no-repeat center center / 100% 100%;
    padding-top: 60px;
}
footer .mapa{
    background: url(img/footer-mapa.jpg) scroll no-repeat center center / cover;
    padding-top: 500px;
    cursor: pointer;
}
footer .info{
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
}
footer .info:before{
    content: '';
    background: url(img/banner.jpg) scroll no-repeat center center / cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0.25;
}
footer img{
    mix-blend-mode: multiply;
}
@media only screen and (max-width:1024px){
    footer .duha{
        padding-top: 40px;
    }
    footer .info td:first-child{
        display: none;
    }
    footer .info {
        text-align: center;
    }
    footer .info td:last-child{
        width: 100%;
    }
}
/* footer */


