/* 
    Created on : 2021.09.08.
    Author     : stradus
*/
@import url('https://fonts.googleapis.com/css?family=Manuale:400,400i,500,500i,700|Montserrat:300,300i,400,400i,500,500i,700&subset=latin-ext,vietnamese');
.center {
    text-align: center;
    margin:auto;
}
.wide, .narrow, .slimmer {
    margin:auto;
}
    .wide {
        width:90%;
    }
    .narrow {
        width:80%;
    }
    .slimmer {
        width:50%;
    }
html, body {
    background-color: #dedede;
    background-image: none;
    padding:0;
    margin:0;
    font-family: 'Manuale', serif;
}
h2 {
    font-size: 32px;
}
a:hover {
    text-decoration: underline;
}
a:hover *{
    text-decoration: underline;
}
::-webkit-scrollbar {
    width: 17px;
}
::-webkit-scrollbar-track {
    background-color: rgba(221,215,211,0.1);
}
*:hover::-webkit-scrollbar-track, ::-webkit-scrollbar-track:hover {
    background-color: #dedede;
}
::-webkit-scrollbar-thumb {
    background: rgba(172,20,12,0.1); 
    border-radius: 10px;
    border: 4px solid #dedede;
}
*:hover::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb:hover {
    background: rgba(172,20,12,0.8);
}
::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(172,20,12,0.4); 
}
h2 {
    color:#AC140C;
}
.CMSComment {
    text-align: center;
    text-align-last: center;
    border-radius: 3px;
}
#hair {
    height:3vw;
    text-align: center;
    background: #b6b6b6;
    background: -moz-linear-gradient(top,  #b6b6b6 0%, #dedede 100%);
    background: -webkit-linear-gradient(top,  #b6b6b6 0%,#dedede 100%);
    background: linear-gradient(to bottom,  #b6b6b6 0%,#dedede 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b6b6b6', endColorstr='#dedede',GradientType=0 );
    box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
    position: relative;
    z-index: 20;
}
    #hair .element{
        display:inline-block;
        color:#666;
        font-size:22px;
        line-height: 3vw;
        padding:0px 20px;
    }
        #hair .element img {
            height:2.2vw;
            vertical-align: -0.7vw; 
        }
        .CMSModule_menu li.has_child {
            background-image: url('resources/triangle.svg');
            background-position: center bottom 5px;
        }
#head {
    text-align: center;
    background-color: #000;
    color:#fff;
    text-shadow:0px 1px 1px #000;
    padding:2vw 0 2vw 0;
    position: relative;
}
    #head .foreground {
        position: relative;
        z-index: 2;
    }
    #head.fixed {
        padding-bottom: 122px;
        padding-bottom:calc(102px + 2em);
    }
    #logo {
        height:200px;
    }
    #head h1 {
        font-size:64px;
        font-weight: normal;
        margin-top:1vw;
        margin-bottom:0px;
        text-shadow:0px 1px 1px #000, 0px 0px 5px #000, 0px 0px 10px #000;
    }
    #head h2 {
        font-weight: normal;
        color:#eee;
        margin:10px auto;
        text-shadow:0px 1px 1px #000, 0px 0px 5px #000, 0px 0px 10px #000;
    }
    #head nav {
        margin:0;
        padding:0;
        box-shadow: 0px 0px 50px rgba(0,0,0,0.5);
    }
    #head nav ul {
        display:block;
        margin:0;
        padding:0;
        text-align: center;
        list-style: none;
        background-color: rgba(0,0,0,0.8);
        margin-top:40px;
    }
        #head nav li{
            display:inline-block;
            margin:0;
            font-size:22px;
            position:relative;
            cursor: pointer;
        }
        #head nav li:hover,#head nav li.active{
            background-color: rgba(0,0,0,0.3);
        }
            #head nav li a{
                display:block;
                padding:15px;
            }
            #head nav li ul {
                border-bottom-left-radius:3px;
                border-bottom-right-radius:3px;
                overflow: hidden;
                box-shadow: 0px 2px 4px rgb(0 0 0 / 30%);
            }
                #head nav li li {
                    display:block;   
                    background-color: #fff;
                    color: #000;
                    text-shadow: none;
                }
                #head nav li li:hover, #head nav li li.active {
                    background-color:#dedede;
                }
                #head nav li li a{
                    padding:5px;
                }
            #head nav li.has_child > ul{
                display:none;
                top:22px;
                left: 50%;
                transform: translateX(-50%);
                position: absolute;
                text-align: center;
                z-index:40;
                width:220px;
            }
    #head nav.fixed {
        position:fixed;
        width:100%;
        top:0px;
        left:0px;
        z-index:100;
        margin:0;
        padding:0;
    }
        #head nav.fixed ul {
            margin-top:0px;
        }
            #head nav.fixed li.has_child > ul{
                top:62px;
            }
    #old-page {
        background-color: #AC140C;
        color: #fff;
        font-size: 22px;
        padding: 5px 10px;
        opacity: 0.6;
        text-align: center;
        transition: 0.3s;
    }
    #old-page:hover {
        opacity: 1;
    }
#content {
    font-size:0px;
}
#content aside, #content main {
    display:inline-block;
    vertical-align: top;
    font-size:16px;
}
    #content aside {
        width:20%;
        padding-top:37px;
    }
    #content aside .CMSContentBox h2 {
        color: #fff;
        background-color: #AC140C;
        border-radius: 3px;
        padding: 5px 15px;
        line-height: 1.2;
    }
    #content main {
        width:80%;
        padding-top:0px;
        padding-right:30px;
        width:calc(80% - 30px);
    }
        #content main h2{
            text-align: center;
        }
#scroll-down {
    background-color: #dedede;
    height:3vw;
    text-align: center;
    line-height: 3vw;
    color:#808080;
    box-shadow: 0px 3px 3px rgb(0 0 0 / 30%);
    position: relative;
    z-index: 1;
}
#content_bg {
    background-color: #fff;
}
#calendarBox_0 {
    min-height: 239px;
}
.calendar {
    width:100%;
}
    .calendar tr:first-child > th{
        font-size:24px;
        color:#AC140C;
    }
    .calendar tr:nth-child(2) > th{
        width:14.27%;
    }
        .calendar .calEvent {
            background-color: #AC140C;
            color:#fff;
        }
        .calendar .calActDate {
            border:3px solid #dedede;
        }
    .box {
        margin:0px;
        box-shadow: none;
        border-radius: 3px;
    }
    .box.size2 {
        width: calc(((100% / 3) * 2) - 23px);
        margin: 10px !important;
    }
    .box.size1 {
        width: calc(((100% / 3) * 1) - 23px);
        margin: 10px !important;
    }
        .box .head {
            background-color: transparent; 
            color:#000;
            font-size:22px;
            padding: 0px;
            box-shadow: 0px;
        }
        .box>.head {
            text-align: center;
            text-align-last: center;
        }
        .box .content {
            background-color: transparent;
        }
        .box .newsItem {
            margin: 1px 10px 20px 10px;
            width: calc(50% - 20px);
        }
    .box .button {
        text-align: center;
        text-align-last: center;
        background-color: #AC140C;
        color:#fff;
        padding:10px;
        font-weight: bold;
        width:auto;
        margin:auto;
        margin-top:10px;
        border-radius: 3px;
    }
    .box .content {
        height: 400px;
    }
    article.listItem {
        margin-top:0px !important;
        margin-bottom: 10px;
        border-radius: 5px;
        overflow: hidden;
        border: 1px solid rgba(0,0,0,0.13);
        box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
    }
        article.listItem h4 {
            line-height:18px;
        }
    .CMSModule_iss_list .newsItem {
        width: 46%;
        margin: 2%;
    }
    .newsItem .counters {
        text-indent:10px;
    }
    .newsItem .lead_picture {
        height: 250px;
    }
    .newsItem .head {
        border-radius: 3px;
        overflow: hidden;
        box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
    }
    .newsItem .head h3 {
        border-radius: 3px;
        overflow: hidden;
        box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
        padding: 5px 10px !important;
        max-width: calc(100% - 40px);
    }
    #CMSModule_eugy_0 {
        margin-top:20px;
    }
#content {
    padding-bottom:80px;
}
    .datasheet_head {
        margin-top: 37px;
        height:300px;
        border-radius: 10px;
        box-shadow: 0px 0px 30px rgba(0,0,0,0.5) inset;
        border: 1px solid rgba(0,0,0,0.3);
    }
    .datasheet_head h2, .datasheet_head h3 {
        border-radius: 3px;
        box-shadow: 0px 0px 30px rgba(0,0,0,0.5);
        border: 1px solid rgba(0,0,0,0.3);
    }
    .CMSModule_iss_search input, .CMSModule_kozadatkereso input {
        border: 1px solid #AC140C;
    }
    .CMSModule_iss_search input[type="submit"], .CMSModule_kozadatkereso input[type="button"] {
        background-color: #AC140C;
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
    }
    .CMSModule_iss_search input[type="search"], .CMSModule_kozadatkereso input[type="search"] {
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
    }
    #CMSModule_iss_search_0{
        margin-bottom:20px;
    }
    
footer {
    background-color: #dedede;
    padding:30px 0;
    font-size:20px;
    color:#95867C;
    box-shadow: 0px -3px 10px rgb(0 0 0 / 30%);
}
footer img.logo {
    height:150px;
}
    footer table, footer tr, footer td {
        margin:0px;
        padding:0px;
        border-spacing: 0px;
        border-collapse: collapse;
        height:1px;
    }
        footer td {
            padding-right:20px;
            text-align: left;
        }
        footer .small {
            line-height: 16px;
        }

.formtext a{
    text-decoration: underline;
    color:#005B9E;
}

.box .content.auto {
    max-height: 400px !important;
}

.box .head h3 {
    border-radius: 3px;
}

/* RESPONSIVE */

@media screen and (max-width: 1700px) {
    .wide {
        width:95%;
    }
    .narrow {
        width:90%;
    }
    .slimmer {
        width:60%;
    }
}
@media screen and (max-width: 1500px) {
    .calendar tr:first-child > th {
        font-size: 20px;
    }
}
@media screen and (max-width: 1400px) {
    .wide {
        width:95%;
    }
    .narrow {
        width:95%;
    }
    .slimmer {
        width:70%;
    }
}
@media screen and (max-width: 1200px) {
    .calendar tr:first-child > th {
        font-size: 18px;
    }
    #hair .element {
        font-size: 18px;
    }
    #hair .element img {
        height: 36px;
        vertical-align: -15px;
    }
    .slimmer {
        width:80%;
    }
    nav.fixed {
        position: static !important;
    }
    #head.fixed {
        padding-bottom: 60px;
    }
}
@media screen and (max-width: 1100px) {
    .calendar tr:first-child > th {
        font-size: 16px;
    }
}
@media screen and (max-width: 1024px) {
    #hair .element {
        font-size: 16px;
    }
    #hair .element img {
        height: 32px;
    }
    .slimmer {
        width:99%;
    }
    #content aside, #content main {
        display:block !important;
        width:auto !important;
        margin:auto !important;
        padding:0;
    }
    #hair {
        height: auto;
    }
    #content main {
        padding-top:1px;
    }
    header #frameSwitcher {
        display: none;
    }
}
@media screen and (max-width: 1024px) and (min-width: 784px) {
    .listItem {
        width: 48% !important;
        display: inline-block !important;
        margin: 0.5%;
        height: 220px;
    }
}
@media screen and (max-width: 800px) {
    .CMSModule_iss_currently_open .box .content.mobile_h {
        height:auto;
    }
    #head h1 {
        font-size: 48px;
    }
    footer table, footer tbody, footer tr, footer td {
        display:block;
        line-height: 16px;
        font-size:16px;
        text-align: center;
        height:auto;
    }
}
@media screen and (max-width: 800px) {
    #head h1 {
        font-size: 36px;
    }
    #head h2 {
        font-size: 24px;
    }
	#logo {
		margin-top:200px;
		height:150px;
	}
    #scroll-down {
        display: none;
    }
    .box .newsItem {
        min-width: calc(100% - 20px);
    }
}

@media screen and (max-width: 500px) {
    #head nav li {
        display: block;
    }
    .box .newsItem {
        margin: 0px 0px 20px 0px;
        min-width: 100%;
    }
}
