/* 
    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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
h2 {
    font-size: 42px;
    font-weight: normal;
}
a:hover {
    text-decoration: underline;
}
a:hover *{
    text-decoration: underline;
}
::-webkit-scrollbar {
    width: 17px;
    border-radius: 10px;
}
::-webkit-scrollbar-track {
    background-color: rgba(221,215,211,0.1);
    border-radius: 10px;
}
*:hover::-webkit-scrollbar-track, ::-webkit-scrollbar-track:hover {
    background-color: #dedede;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: rgba(23, 162, 184,0.1); 
    border-radius: 10px;
    border: 4px solid #dedede;
}
*:hover::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb:hover {
    background: rgba(23, 162, 184,0.8);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(23, 162, 184,0.4); 
    border-radius: 10px;
}
h2 {
    color:#17a2b8;
}
.d-flex {
    display: flex;
}
.CMSComment {
    text-align: center;
    text-align-last: center;
    border-radius: 3px;
}
#hair {
    height:3vw;
    text-align: center;
    background: #212529;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
    position: relative;
    z-index: 20;
    color:#fff;
}
    #hair .element{
        display:inline-block;
        font-size:18px;
        line-height: 3vw;
        padding:0px 60px;
    }
        #hair .element img {
            height:1.5vw;
            vertical-align: -0.4vw; 
        }
        .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:4vw 0 4vw 0;
    position: relative;
}
    #head .foreground {
        position: relative;
        z-index: 2;
    }
    #head.fixed {
        padding-bottom: 122px;
        padding-bottom:calc(102px + 2em);
    }
    #logo {
        height:100px;
    }
    #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, 0px 0px 40px #000;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: black;
    }
    #head h2 {
        font-weight: normal;
        color:#eee;
        margin:10px auto;
        text-shadow:0px 1px 1px #000, 0px 0px 5px #000, 0px 0px 10px #000, 0px 0px 40px #000;
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: black;
    }
#menubar {
    margin:0;
    padding:0;
    box-shadow: 0px 0px 50px rgba(0,0,0,0.5);
}
#menubar ul {
    display:block;
    margin:0;
    padding:0;
    text-align: center;
    list-style: none;
    background-color: #e8e8e8 !important;
}
    #menubar li{
        display:inline-block;
        margin:0;
        font-size:18px;
        position:relative;
        cursor: pointer;
        border-top: 4px solid transparent;
        color: #444;
        font-weight: bold;
    }
    #menubar li:hover,#menubar li.active{
        border-top: 4px solid #08c;
        color: #08c;
    }
        #menubar li a{
            display:block;
            padding:15px;
        }
        #menubar li ul {
            border-bottom-left-radius:3px;
            border-bottom-right-radius:3px;
            box-shadow: 0px 2px 4px rgb(0 0 0 / 30%);
        }
            #menubar li li {
                display:block;   
                background-color: #fff;
                text-shadow: none;
            }
            #menubar li li a{
                padding:5px;
            }
        #menubar li.has_child > ul{
            display:none;
            top:51px;
            left: 50%;
            transform: translateX(-50%);
            position: absolute;
            text-align: center;
            z-index:40;
            width:220px;
        }
#menubar.fixed {
    position:fixed;
    width:100%;
    top:0px;
    left:0px;
    z-index:100;
    margin:0;
    padding:0;
}
    #menubar.fixed ul {
        margin-top:0px;
    }
        #menubar.fixed li.has_child > ul{
            top:62px;
        }
        #menubar .level.l2 .has_child>.level {
            position: absolute;
            left: 150%;
            top: -3px;
        }

#menubar .level.l2 .has_child {
    background-image: url(resources/triangle_right.svg);
    background-position: right 5px center;
    background-size: 10px;
}
#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: #17a2b8;
        border-radius: 3px;
        padding: 5px 15px;
        line-height: 1.2;
        font-size: 34px;
        font-weight: normal;
    }
    #content main {
        width:80%;
        padding-top:0px;
        padding-right:30px;
        width:calc(80% - 30px);
    }
        #content main h2{
            text-align: center;
            color: #000;
            padding: 0px 15px 10px 15px;
            border-bottom: 1px solid #cacaca !important;
        }
#content_bg {
    background-color: #fff;
}
#calendarBox_0 {
    min-height: 239px;
}
.calendar {
    width:100%;
    margin-top: 30px;
}
    .calendar tr:first-child > th{
        font-size:24px;
        color:#17a2b8;
        padding-bottom: 30px;
    }
    .calendar tr:nth-child(2) > th{
        width:14.27%;
        padding-bottom: 10px;
    }
        .calendar .calDay {
            height: 30px;
        }
        .calendar .calEvent {
            background-color: #17a2b8;
            color:#fff;
        }
        .calendar .calActDate {
            border:3px solid #dedede;
        }
    .boxgroup {
        box-shadow: rgb(187, 187, 187) 0px 30px 90px 0px;
        background-color: #fff;
        padding: 20px;
    }
    .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) - 3px);
    }
        .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: #00a1f2;
        border-color: #0af #0af #08c;
        color: #fff;
        padding:10px;
        font-size: 16px;
        width:auto;
        margin:auto;
        margin-top:10px;
        border-radius: 3px;
    }
    .box .content {
        height: 400px;
    }
    .listItem {
        overflow: visible !important;
    }
    .listItem .cover {
        border: 4px solid #fff;
        box-shadow: 0px 0px 4px rgba(0,0,0,0.5);
        width: calc(40% - 8px);
        min-height: 100px;
    }
    article.listItem {
        margin-top:0px !important;
        margin-bottom: 10px;
        border-radius: 5px;
        overflow: hidden;
    }
        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 {
        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 #17a2b8;
    }
    .CMSModule_iss_search input[type="submit"], .CMSModule_kozadatkereso input[type="button"] {
        background-color: #17a2b8;
        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;
    }
    
.formtext a{
    text-decoration: underline;
    color:#005B9E;
}

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

.box .head h3 {
    border-radius: 3px;
    filter: alpha(opacity=60);
}

#highfoot {
    background: #f7f7f7;
    font-size: .9em;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 50px 0px;
}
#highfoot ul, #highfoot ul li {
    display: inline-block;
    margin: 0px;
    padding: 0px;
    list-style: none;
}
#highfoot ul li {
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 20px;
}
#highfoot .email {
    text-transform: uppercase;
    color: #444;
    font-weight: bold;
    font-size: 16px;
    text-align: right;
}
#highfoot .phone {
    font-size: 36px;
    text-align: right;
    letter-spacing: 3px;
    font-weight: bold;
}
#highfoot .address {
    text-align: right;
    color: #444;
}
#lowfoot {
    padding: 30px 0px;
    background-color: #fff;
}
#lowfoot img {
    height: 100px;
}

#highfoot .narrow, #lowfoot .narrow {
    justify-content: space-between;
    align-items: center;
}

/* 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;
    }
}
#tamogatas_banner {
position:fixed;
right:0;
top:0;
z-index:20;
max-width:100%;
}
#tamogatas_banner2 {
position:fixed;
left:0;
top:0;
z-index:20;
max-width:100%;
}
@media screen and (max-width: 800px) {
    #tamogatas_banner2 {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
        position:relative;
    }
    #tamogatas_banner {
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	text-align: center;
        position:relative;
    }
    #logo {
	margin-top:120px;
    }
    #head h1 {
        font-size: 36px;
    }
    #head h2 {
        font-size: 24px;
    }
    #scroll-down {
        display: none;
    }
    .box .newsItem {
        min-width: calc(100% - 20px);
    }
}

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