body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif}
body, html {
    font-family: 'Cabin', sans-serif;
    height: 100%;
    font-size:15px;
    line-height: 1.7;
}

body{
    padding-top:90px;
    background: #FFFFFF
}

@media only print{
    body, html{
        font-size:12px;
    }
    h1{font-size:28px}h2{font-size:24px}h3{font-size:20px}h4{font-size:18px}h5{font-size:15px}h6{font-size:12px}

    /* W3 css column layout for print */
    .w3-col.l1{width:8.33333%}
    .w3-col.l2{width:16.66666%}
    .w3-col.l3,.w3-quarter{width:24.99999%}
    .w3-col.l4,.w3-third{width:33.33333%}
    .w3-col.l5{width:41.66666%}
    .w3-col.l6,.w3-half{width:49.99999%}
    .w3-col.l7{width:58.33333%}
    .w3-col.l8,.w3-twothird{width:66.66666%}
    .w3-col.l9,.w3-threequarter{width:74.99999%}
    .w3-col.l10{width:83.33333%}
    .w3-col.l11{width:91.66666%}
    .w3-col.l12{width:99.99999%}
    .w3-hide-large{display:none !important}
}
/* Full height image header */
header{

}

.header-slider div img{
    max-width:100%;
    height:auto;
}
.w3-navbar li a {
    padding: 16px;
    float: left;
    height:90px;
    align-items: center;
    justify-content: center;
    display: flex;
}
.w3-navbar li a.rborder{
    border-left-style: solid;
    border-left-width: thin;
    border-left-color: #e7e7e7;
}


.w3-navbar{
    display: flex;

}
.w3-navbar li {
    flex: auto;
    align-items: center;
    justify-content: center;
    display: flex;
}
.w3-navbar li span {
    /*font-size: xx-large;
    font-weight: bold;*/
    /*color: #ff7200;*/
}
.w3-navbar .info{
    white-space: nowrap;
}


.w3-navbar li i {
    color: #990000;
    /*#f04900;*/
}
.w3-navbar .menu{
    align-items: center;
    justify-content: center;
    display: flex;
}
.crs-gray, .crs-hover-gray:hover{ background-color: #545454 !important; color: white !important; }
.crs-lightgray, .crs-hover-lightgray:hover{ background-color: #ebebeb !important; color: #000 !important;}
.crs-turquoise, .crs-hover-turquoise:hover{ background-color: #00CED1 !important; color: white !important;}
.crs-red, .crs-hover-red:hover{ background-color: #FF4500 !important;  color: white !important;}
.crs-text-gray, .crs-hover-text-gray:hover{ color: #545454 !important; }
.crs-text-lightgray, .crs-hover-text-lightgray:hover{ color: #CDC9C9 !important; }
.crs-text-turquoise, .crs-hover-text-turquoise:hover{ color: #00CED1 !important; }
.crs-text-red, .crs-hover-text-red:hover{ color: #FF4500 !important; }


.wh-blue, .wh-hover-blue:hover{ background-color: #7b0d20 !important; color: white !important; }
.wh-text-blue, .wh-hover-text-blue:hover{ color: #7b0d20 !important; }
.wh-brown, .wh-hover-brown:hover{ background-color: #989482 !important; color: white !important; }
.wh-text-brown, .wh-hover-text-brown:hover{ color: #989482 !important; }
.w3-hover-grayscale-off:hover, .w3-hover-greyscale-off:hover{-webkit-filter:grayscale(0%);filter:grayscale(0%)}
.wh-navajo, .wh-hover-navajo:hover{ background-color: #ffe09f !important; color: #ff7200 !important; }
.wh-orange, .wh-hover-orange:hover{ background-color: #ff3d00 !important; color: #ffffff !important; }
.wh-black, .wh-hover-black:hover{ background-color: #000000 !important; color: #ffffff !important; }

.logoitem a {
    display: inline-block;
    /*width:236px;*/
}
.logoitem a:hover{
    background-color: transparent !important;
}
.logoitem a img{
    display:inline-block;
    max-width:100%;
    max-height: 100%;
    min-width: 100px;
}
.logos div img{
    width:100%;
    height:auto;
    max-width:300px;
}
.main-content{
    min-height:calc(100vh - 223px)
}
.article:not(.no-title) .article-image {
    padding-top:16px;
}
.article-image{
    padding-right:16px;
}
.article-image img{
    width:100%;
}
.article-images a.img,
.article-files a.file{
    display:inline-block;
    vertical-align: middle;
    padding-top:6px;
    padding-bottom:6px;
    text-align: center;
}
.article-files a.file i{
    display:inline-block;
    width:100px;
    height:100px;
    background-image: url("images/filetypes/file.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.article-files a.file span{
    display:block;
}
.article-images a.img img{
    width:100%;
}
.sl-overlay {
    background:black !important;
    opacity: 0.85 !important;
}

form em.errors{
    color:red;
    font-style: normal;
    font-weight: bold;
}
form em.errors p{
    margin:0px;
    margin-bottom:10px;
}
.spinner {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.spinner > div {
    background-color: #333;
    height: 100%;
    width: 6px;
    display: inline-block;

    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}
/* SPINNER */
.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}
footer {
    background: #000000;
    background-size: cover;
    min-height: 100px;
    padding-top:20px;
    margin-top:32px;
    text-align: right;
    text-align: -webkit-center;
    display: flex;
    flex-direction: column-reverse;
}
footer .w3-container div span{
    padding-right: 16px;
}
@-moz-document url-prefix() {
    footer {
        align-items: end;
    }
}
/*   footer .w3-container{
    background-image: url(/data/original/theme/hornipruh.gif);
    background-size: contain;
    }
*/
.scrollbar-outer{

}
@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
    20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% { 
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }  20% { 
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}
/* SPINNER END */
@media screen and (min-width:980px){

    .logos div img{
        width:auto;
    }
    footer .logos div img{
        width:100%;
    }    
    .main-content .w3-container{
        max-width:980px;
        margin-left: auto;
        margin-right: auto;
    }  
    footer .w3-container{
        /*max-width:980px;
        margin-left: auto;
        margin-right: auto;*/
    }    
    body > footer > .w3-container{
        /*max-width:980px;
        margin-left: auto;
        margin-right: auto; */
    }      
    body > footer.w3-container{
        max-width:none;
    }
    .email-form, .infotext{
        padding-left:50px !important;
        padding-right:50px !important;
    }


}
