/* Globalni styly */


* {
	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: "Roboto", sans-serif;
	font-size: 20px;
	line-height: 1.60;
}
@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: #312220;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

	-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: #004F9B;
    text-decoration: underline;
    font-weight: bold;
}
a:hover {
}


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 rgba(255, 235, 195, 1);
    border-radius: 0.25rem;
	width: 100%;
	padding: 7px 10px !important;
}

select{
    padding: 4px 10px !important
}

input[type=submit],
input[type=button],
button,
.button,
.formularMojeData a,
.proslide .original a {
    font-family: "Baloo 2", "Roboto", sans-serif;
    cursor: pointer !important;
    background-color: #E30613;
    border-radius: 24px;
    color: white;
    padding: 10px 24px;
    font-size: 1rem;
    transition: all 0.5s;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}

input[type=submit]:hover,
input[type=button]:hover,
.button:hover {
    color: white;


}

*::-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: 250px !important;
    object-fit: contain;
    padding: 10px;
    cursor: pointer;
    mix-blend-mode: multiply;
}

.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.zakladniTabulka td {
	background: #f0f0eb;
	padding: 0px 3px 0px 3px;
}
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 * {
    font-family: "Baloo Bhai 2", "Roboto", sans-serif;
	text-transform: uppercase;
	font-weight: bold;
    font-size: min(60px, 8vw);
	color: #004F9B;
	clear: both;
}
h1, h1 *{
	background: url(img/headers.svg) scroll no-repeat calc(100% - 0.5rem) center;
	margin: 0 0 1rem 0; /*margin: 0 auto 1rem auto;*/
}

.homepage h1{
    display: none;
}
h1{
    margin-top: 30px;
}

h2, h2 *{
    font-family: "Baloo Bhai 2", "Roboto", sans-serif;
    font-size: min(40px, 8vw);
	font-weight: 600;
    color: #004F9B;
}
h2{
    margin-bottom: 1rem;
}

h3 {
	font-weight: bold;
	font-size: min(26px, 8vw);
}

ul {
    padding-left: 20px;
}

ol {
    padding-left: 20px;
}

strong {
	font-weight: bold;
}


body .text.editor p {
	clear: both;
}

.wrapper{
    display: flex;
    clear: both;
    width: 1260px;
    margin: auto;
    padding: 0 10px;
    max-width: 100%;
    flex-direction: column;
}

@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{
    padding: 10px 0;
}
header .wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
header .wrapper .logo{
    display: block;
    width: 200px;
    padding-top: 44px;
    background: url(img/azchem.svg) scroll no-repeat center center/contain;
}
header .wrapper .fb{
    display: block;
    width: 40px;
    padding-top: 40px;
    background: url(img/fb.svg) scroll no-repeat center center/contain;
}
header .wrapper .hloubka1{
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
    list-style-type: none;
}
header .wrapper .hloubka1 .polozka{
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
    color: #004F9B;
    cursor: pointer;
}
header .wrapper .hloubka1 .polozka:hover{
    background-color: #004f9b;
    color: white;
}
@media only screen and (max-width: 1024px){
    header .wrapper{
        flex-direction: column;
        gap: 10px;
    }
}
/* header */



/* main */
main{
    min-height: 65vw;
    margin: 0 0 auto 0;
    position: relative;
}
.strankaSlozkaZbozi h1{
    display: none;
}
.wrapper.bily{
    background: rgba(255,255,255,.85);
    margin: 3rem auto;
    padding: 2rem 1rem 4rem 1rem;
    box-shadow: 0 0 4px 1px rgba(255,255,255,.85);
    min-height: 40vw;
}
/* main */

main .bg{
    position: absolute;
    z-index: -1;
    background: url(img/banner.jpg) scroll no-repeat center top/100% auto;
    padding-top: 63vw;
    width: 100%;
}
main .bg:after{
    content: '';
    display: block;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    position: absolute;
}


/* slogan */
main .katalog[data-klic-slozky="2"] > .editor{
    margin-top: 8vw;
}
main .katalog[data-klic-slozky="2"] table:first-child{
    width: 50%;
    background: linear-gradient(to right, rgb(81 175 213 / 75%), rgb(0 79 155 / 75%));
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    float: right;
}
main .katalog[data-klic-slozky="2"] table:first-child td{
    padding: 1rem 2rem;
}
main .katalog[data-klic-slozky="2"] table:first-child td *{
    color: white;
    max-width: 600px;
    font-size: 2rem;
}
@media (max-width: 1024px){
    main .katalog[data-klic-slozky="2"] table:first-child td *{
        font-size: 1.5rem;
        line-height: 2rem;
    }
    main .katalog[data-klic-slozky="2"] table:first-child {
        width: 600px;
        float: none;
        margin: auto;
        max-width: calc(100% - 30px);
    }
    main .katalog[data-klic-slozky="2"] table:first-child td{
        padding: 0.5rem;
    }
    main .katalog[data-klic-slozky="2"] table:first-child td *{
        font-size: 1rem;
    }
}
/* slogan */



/* dlazdice */
.dlazdice .slozky{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 10vw auto 5vw auto;
    line-height: 1.4em;
}
.dlazdice .slozka{
    position: relative;
    overflow: hidden;
    width: 400px;
    display: block;
    min-height: 320px;
    background:
        linear-gradient(0deg, rgba(81, 175, 213, 0.25), rgba(81, 175, 213, 0.25)),
        linear-gradient(180deg, rgba(0, 79, 155, 0.5) 19.12%, rgba(0, 79, 155, 0) 62.37%),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75));
    backdrop-filter: blur(16px);
    border-radius: 5px;
    padding: 1rem;
}
.dlazdice .slozka h2{
    color: white;
    font-size: 2.5rem;
    line-height: 2.5rem;
}
.dlazdice .slozka img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
@media (max-width: 1024px){
    .dlazdice .slozka{
        width: 300px;
        min-height: 280px;
    }
    .dlazdice .slozka h2{
        color: white;
        font-size: 1.5rem;
    }
}
/* dlazdice */



/* ospolecnosti */
.ospolecnosti{
    margin: 2rem auto;
    background: rgba(151,200,219, 25%);
    padding: 2rem 0;
}
.ospolecnosti .wrapper{
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    text-align: justify;
}
.ospolecnosti .wrapper > *{
    flex: 1 0 calc(50% - 2rem);
}
/* ospolecnosti */



/* spodnipruhfotek */
.spodnipruhfotek{
    margin: 2rem 0;
    padding-top: 25%;
    background: url(img/spodnipruhfotek.png) scroll no-repeat center center/contain;
}
/* spodnipruhfotek */




footer{
    margin: 2rem 0 0 0;
}
footer .nadpis{
    text-align: center;
}
footer .info {
    background: url(img/footerinfo.png) scroll no-repeat center center/cover;
    padding: 2rem 0;
}
footer .komponentaSlozka  {
    background: rgba(62, 62, 62, 0.25);
    backdrop-filter: blur(16px);
    border-radius: 5px;
    text-align: center;
    padding: 1rem 0.5rem;
}
footer .komponentaSlozka h2,
footer .komponentaSlozka h3,
footer .komponentaSlozka h4,
footer .komponentaSlozka p{
    color: #BEBEBE;
}
footer .komponentaSlozka a{
    color: #51AFD5;
}
footer .soulad{
    background: #020202;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    color: #BEBEBE;
    padding: 2rem 10px;
}
@media (max-width: 1024px){
    footer .komponentaSlozka  {
        background: none;
        backdrop-filter: none;
    }
}
