
#content {
    min-height: 80vh;
    position: relative;
    padding-top: 20px;

}
body {
    font-family: 'Raleway', sans-serif;
    color: black;
    text-align: center;
}
p {
    margin-top: 0;
    margin-bottom: 0;
}
ul {
    list-style-type: square;
}
.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}
.align-items-center {
    -ms-flex-align: center !important;
    align-items: center !important;
}
.order-2 {
    margin-top: -20px;
}
.homepage .order-2 {
    margin-top: 0;
}
a {
    color: #EB1D25;
}
a:hover {
    color: black;
    text-decoration: none;
}
h1 {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    top: -120px;
    background: #EB1D25;
    padding: 8px 40px;
    max-width: 350px;
    margin: 0 auto;

}
.article-detail h1 {
    top: -135px;
}
h2 {
    font-weight: bold;
    text-transform: uppercase;
}
h3 {
    font-weight: bolder;
    text-transform: uppercase;
    padding: 20px 0;
}
.article-detail h2 {
    margin: 30px 0 20px 0;
    color: black;
}
.article-detail h3 {
    margin: 30px 0 20px 0;
    color: #EB1D25;
}
.article-detail p {
    line-height: 1.5rem;
    margin: 10px 0;
}
.article-detail {
    margin-bottom: 50px;
}
.article-detail ul {
    list-style-position: inside;
}
#header-wrapper {
    position: fixed;
    top: 0;
    z-index: 1030;
    width: 100%;
    height: 7em;
    background-color: white;
}
.brand-wraper {
    display: flex;
    padding-top: 2.5rem;
}
.adresa {
    color: #EB1D25;
    font-size: 0.9em;
    padding-bottom: 5px;
    line-height: 0.9;
}
.adresa a {
    color: #EB1D25;
}
.brand .logo img {
    max-width: 100%;
    display: block;
    max-height: 100px;
    margin: 0 auto;
}
.logo:hover {
    -webkit-transition: 0.2s all;
    -webkit-transform: scale(1.1);
    -ms-transition: 0.2s all;
    -ms-transform: scale(1.1);
    -moz-transition: 0.2s all;
    -moz-transform: scale(1.1);
    transition: 0.2s all;
    transform: scale(1.1);
}
.firma1 {
    font-size: 2.5em;

}
.firma2 {
    text-transform: uppercase;
    color: white;
    font-size: 4.1em;
    font-weight: 800;
}
.screen-only {
    display: block;

}

.mobile-only {
    display: none;
}

.brand .adresa1 {
    margin-right: auto;
    text-align: left;
}

.brand .adresa2 {
    margin-top: 15px;
    margin-left: auto;
    text-align: right;
}

.menu-wraper {
    /*height: 2.5em;*/
    margin-top: 10px;
    background: black;
}
.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
}   
#main-header.nav-up {
    top: -5em;
}

#main-navbar {
    padding: 0;
}

#main-navbar .nav-link, #main-navbar .dropdown-item {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
    padding: 1em 2em;
}

.nav-link {
    color: white;
}

#main-navbar .dropdown-item {
    color: white;
}
.nav-item.active a {
    color: #EB1D25;
}

#main-navbar ul li {
    border-right: 1px solid white;
}
#main-navbar ul li:last-child {
    border-right: none;
}

#main-navbar .nav-link:focus, .nav-link:hover {
    text-decoration: none;
    color: #EB1D25;
}

#main-navbar .nav-link.active, #main-navbar .dropdown-item.active {
    color: #EB1D25;
    background-color: #f8f9fa;
}

#main-navbar .dropdown-item.active, .dropdown-item:active {
    color: #EB1D25;
    background-color: #f8f9fa;
}

#main-navbar .navbar-brand img {
    width: 100%;
    height: auto;
}

#main-header .navbar-toggler {
}

#main-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(235, 29, 37, 0.9)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

#main-navbar .dropdown-menu {
    background: black;
    border-radius: 0;
    border: none;
}

#main-navbar .dropdown-item:focus, #main-navbar .dropdown-item:hover {
    color: black;
    background-color: #f8f9fa;
}

#main-navbar .collapse.show .nav-item,
#main-navbar .collapsing .nav-item {
    /*background: rgba(0, 42, 77, 0.9);*/
    border: none;
}

#main-navbar .collapse.show .nav-item:last-child,
#main-navbar .collapsing .nav-item:last-child {
    border: none;
}

#main-navbar .navbar-collapse {
    /*margin: 48px -19rem 0 -1rem;*/
    padding: 0 1rem;
    z-index: 2;
}

#nav-breadcrumb {
    margin-top: 3rem;
    background: none;
    text-transform: uppercase;
    font-size: small;
}

#nav-breadcrumb ol {
    padding: 0;
}

#nav-breadcrumb ol li {
    display: inline-block;
    font-weight: 500;
}

#nav-breadcrumb ol li a {
    color: black;
}

#nav-breadcrumb ol li:last-of-type, #nav-breadcrumb ol li:last-of-type a {
    color: #EB1D25;
}
#nav-breadcrumb ol li a:before {
    display: none !important;
}

#nav-breadcrumb ol li:after {
    font-family: "FontAwesome" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f105";
    display: inline-block;
    position: relative;
    text-decoration: none;
}

#nav-breadcrumb ol li:last-of-type:after {
    display: none;
}
.hp-services-slider {
    overflow: hidden;
    height: 25rem;
    position: relative;
}
.hp-services-slider .slide {
    height: 25em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;    
}
.hp-obalka{
    position: relative;
    height: 10em;
    background-image: linear-gradient(black, transparent);
    z-index: 11;
    top: -20em;
}
.hp-pozadi {
    display: none;
}
.hp-firma {
    padding-bottom: 50px;
}
.ikony {
    background-color: #EEEEEE;
    padding: 50px 0;
}
.flex-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 0 auto;
    width: 95%;
}

.flex-container > div {
    width: 125px;
    margin: 10px 25px;
    text-align: center;
    font-size: 17px;
}
.ikona-sluzba img {
    width: 90px;
    border-bottom: 1px solid black;
    padding: 5px 5px 20px 5px;
    margin-bottom: 10px;
}
.uvod {
    margin-bottom: 50px;
    text-align: center;
}

.ikona-popis {
    text-transform: uppercase;
}
.ikona a {
    color: black;
}
.ikona:hover {
    -webkit-transition: 0.2s all;
    -webkit-transform: scale(1.1);
    -ms-transition: 0.2s all;
    -ms-transform: scale(1.1);
    -moz-transition: 0.2s all;
    -moz-transform: scale(1.1);
    transition: 0.2s all;
    transform: scale(1.1);
}
.sluzba-list {
    padding: 1.5rem 0.5rem;
    border-bottom: 0.5px #EEEEEE solid;
    display: flex;
}
.ikona-list .sluzba > div:last-child .sluzba-list {
    border-bottom: none;
}
.ikona-list {
    margin-bottom: 50px;
}
.sluzba-list h2 {
    font-size: 1.3rem;
}
.ikona-list-sluzba {
    width: 20%;
}
.ikona-list-sluzba img {
    width: 50px;
    vertical-align: top;
}
.sluzba-info {
    width: 80%;
}
.sluzba-info .content ul {
    list-style: none;
    margin-left: -2.5rem;
}
.sluzba-info .content ul li {
    display: inline;
}
.sluzba-info .content ul li:after {
   content: '|';
   padding-left: 5px;
    color: #EB1D25;
}
.sluzba-info .content ul li:last-of-type:after {
    display: none;
}
.sluzba-info h2 a {
    color: black;
}
.sluzba-info h2 a:hover {
    color: #EB1D25;
}
.sluzba-article-detail {
    margin-bottom: 50px;
}


.ikona-sluzba h2 {
    padding: 1rem 0;
}
.sluzba-info .tlacitko a {
    color: #EB1D25;
}

.sluzba-info .tlacitko a:hover {
    color: black;
}
.hp-firma h2 {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    top: -50px;
    background: #EB1D25;
    padding: 8px 40px;
    max-width: 320px;
    margin: 0 auto;
}
.firma-content {
    margin-bottom: 50px;
}
.text-uvod {
    text-align: center;
}
.text-uvod h3 {
    color: white;
    background: #EB1D25;
    padding: 8px 40px;
    max-width: 410px;
    margin: 20px auto;
}
.nabizime {
    background-color: black;
    color: white;
    font-weight: bold;
    margin: 20px 0;
}
.nabizime-produkt {
    column-count: 2;
    padding-top: 1rem;
    padding-bottom: 12px;
    text-align: left;
}
.nabizime li {
    list-style: square;
    padding-top: 10px;
}

.nabizime li::marker {
    color: #EB1D25;
}
.hp-perex1 {
    text-transform: uppercase;
    color: #00923F;
    font-weight: bold;
}
.hp-perex2 {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 2.5em;
    color: #7E7E7E;
    line-height: 1.2em;
}
.hp-perex3 {

}
.nadpis1 h3, .nadpis2 h3{
    color: white;
    padding: 8px 40px;
    max-width: 610px;
    margin: 20px auto;
}
.nadpis1 h3 {
    background: #EB1D25;
}
.nadpis2 h3 {
    background: black;
}
.hp-news {
    background: #EB1D25;
    padding: 50px 0;
    margin: 50px 0;
    text-align: center;
    color: white;
}

.hp-news h2 {
    color: #EB1D25;
    background: white;
    padding: 8px 40px;
    max-width: 320px;
    margin: 0 auto 30px auto;
}

.hp-news .line::after {
    background: white;
}
.hp-news i {
    color: white;
}
.hp-news a {
    color: white;
}
.hp-news a:hover {
    color: white;
    font-weight: bold;
}

.hp-news .article {
    font-size: 14px;
    border-bottom: 1px solid white;
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-flow: column;
}

.hp-news .articles > div:last-child .article {
    border-bottom: none;
}

.hp-news .article h3 {
    text-transform: uppercase;
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0;
    padding: 0;
}


.hp-news .article .content {
    flex: 1 1 auto;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.hp-news .article-continue {
    font-weight: bold;
}

.news {
    margin-bottom: 50px;
}
.news .article {
    margin: 20px 0;
}
.news-list {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #C8C8C8;
}
.news-list:last-child {
    border-bottom: none;
}
.news-list time {
    font-weight: bold;
}
.news-list .content {
    padding-top: 10px;
}
.news-list .content p {
    margin-bottom: 0;
}
.news-list .content::after {
    content: "\2015";
}
.news-list .article-continue a {
    color: black;
    text-transform: uppercase;
    font-weight: bold;
}
.news-dalsi {
    text-transform: lowercase;
    font-weight: bold;
}
.news-list .article-continue a:hover {
    color: #EB1D25;
}
.news-article-detail h2 {
    color: #EB1D25;
    margin-bottom: 20px;
}
.news-article-detail time {
    font-weight: bold;
}
.hp-references {

    text-align: center;
}
.hp-references-pozadi {
    background: rgba(255,255,255,0.7);
    margin-bottom: 50px;
}
.hp-references-obsah {
    padding: 100px 0;
}
.hp-references h2 {
    color: white;
    background: black;
    padding: 8px 40px;
    max-width: 320px;
    margin: 0 auto 30px auto;
}
.slick-prev::before, .slick-next::before {
    font-family: 'FontAwesome' !important;
    color: black;
}
.slick-prev::before {
    content: '\f104';
}
.slick-prev {
    left: -15px;
}
.slick-next::before {
    content: '\f105';
    right: -15px;
}
.slick-next {
    right: -15px;
}

.ref-perex p {
    margin: 0 auto;
    width: 90%;
}
.references-wraper {
    text-align: center;
    margin-bottom: 30px;
}
.reference-list {
    width: 80%;
    margin: 0 auto;
}

.refcategory {
    margin-bottom: 20px;
}
.reference-list .refcategory {
    border-bottom: 1px solid #AFAFAF;
}
.reference-list .refcategory a {
    color: black;
    font-weight: 800;
    }
.reference-list .refcategory a:hover {
    color:#EB1D25;
}
.reference-list h3 {
    font-size: 2.5em;
}
.references {
    margin-bottom: 50px;
}
.reference-article-detail h2 {
    color: #EB1D25;
    margin-bottom: 20px;
}
#slider-reflogo {
    margin-bottom: 50px;
}
.logo-partner {
    width: 100%;
    padding: 20px 0;
    height: 150px;
}
#slider-reference .slick-prev::before, .slick-next::before {
    color: black;
}
.img-partner {
    height: 120px;
    overflow: hidden;
    padding: 0 20px;
    position: relative;
}
.img-partner img {
    height: 120px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    margin: 0px auto;
    padding: 0 20px;
}
.hp-certifikaty {
    padding: 50px 0;
    margin-bottom: 50px;
    background-color: #EEEEEE;
    text-align: center;
}
.hp-certifikaty h2 {
    color: white;
    background: #EB1D25;
    padding: 8px 40px;
    max-width: 320px;
    margin: 0 auto 30px auto;
}
.tlacitko {

}
.tlacitko ::before {
    padding-bottom: 20px;
    content: "\2015";
    display: block;
    color: black;
    font-weight: normal;
}
.tlacitko a {
    text-transform: uppercase;
    color: black;
    font-weight: bold;
}

.tlacitko a:hover {
    color: #EB1D25;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.kontakt-info {
    margin: 0 0 50px 0;
    text-align: center;
}
.kontakt-info a {
    color: #EB1D25;

}
.kontakt-info a:hover {
    color: black;
    font-weight: bolder;
}

.dalsi {
    text-transform: uppercase;
}
.kontakt-info .item {

}
.kontakty a::before {
    font-family: "FontAwesome" !important;
    content: '\f095';
    padding-right: 2px;
}

.contact-form {
    background: #C8C8C8;
    padding: 10px 0;
}
.contact-page .contact-form {
    background: #F1FAF5;
    border: 1px solid #D9EEE2;
    padding: .5rem 1rem;
    margin-top: 4rem;
}
.contact-form-wrapper {
    width: 70%;
    text-align: center;
    margin: 40px auto;
}
.contact-page .contact-form .headline {
    margin: 1rem 0 2rem;
    text-align: center;
}

.contact-page .contact-form .action {
    text-align: right;
}

.contact-page .contact-form .action .btn {
    margin: 1rem 0;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
}
.item {
    padding-bottom: 3px;
}
.contact-footer .logo-koop {
    margin: 4.2rem 0;
}

.contact-footer .contact-form {
    color: #fff;
}
.contact-form h3 {
    margin-bottom: 50px;
}
.form-group {
    margin-bottom: 1rem;
}

.contact-footer .contact-form label {
    display: none;
}

.contact-footer .contact-form .action {
    width: 100%;
    text-align: right;
}

.contact-footer .contact-form .action .btn {
    padding: .25rem 1rem;
}

.contact-footer .contact-form .form-control {
    color: #fff;
    border-color: #fff;
    background: transparent;
}

.help-block {
    transition: .15s all;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #EB1D25;
    background-color: #fff;
    background-clip: padding-box;

    border-radius: 0px;    
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}



.btn {
    border-radius: 0px;
}

.btn-primary {
    padding: 15px 40px;
    text-transform: uppercase;
    background-color: black;
    color: white;
    font-weight: bold;
    border-color: black;
}

.btn-primary:hover {
    color: #EB1D25;
    background-color: black;
    border-color: black;
}
.recaptcha-container {
    text-align: center;
}
.g-recaptcha {
    display: inline-block;
}

.eu-cookies {
    position: fixed;
    left:0;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    text-align: center;
    color: white;
    background-color: #EB1D25;
    padding: 20px 0;
}

.eu-cookies .btn {
    border: none;
    background-color: black;
    padding: 10px 30px;
}
.eu-cookies .btn:hover {
    background-color:#EEEEEE;
    color: black;
}
#contact {
    padding: 50px 0 30px 0;
    background-color: black;
    color: white;
    text-align: center;
    font-size: smaller;
}
#contact a {
    color: white;
}
#contact a:hover {
    color: #EB1D25;
}
#contact .col-12 {
    padding-bottom: 20px;
}
#footer {
    background: white;
    text-align: center;
    font-size: 0.9em;
    color: black;
    padding: 20px 0;
}
#footer .author a {
    color: #EB1D25;
}
#footer .author a:hover {
    color: #EB1D25;
}
.social {
    padding-top: 20px;
}
.social a {
    padding: 0 10px;
    color: #1B0802;
}
.contact-nadpis {
    border-bottom: 1px solid white;
    display: inline-block;
    position: relative;
    padding-bottom: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: bolder;
}
.contact-add {
    padding-bottom: 20px;
}
.contact-info {
    padding-left: 30px;
    text-align: left;
}

.contact-source .contact-info {
    padding-left: 25px;

}
.contact-znacka {
    font-size: 2em;
}
.contact-adresa {
    padding-top: 10px;
}
.sitemap {
    text-transform: uppercase;
}
.mgallery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.mgallery::before {
    display: table;
    content: " ";
}

.mgallery:after {
    content: " ";
    display: table;
    clear: both;
}

.mgallery a {
    display: inline-block;
    line-height: 1.42857143;
    padding: 4px;
}

.mgallery a:hover img,
.mgallery a:focus img,
.mgallery a:active img {
    border: 1px solid #EB1D25;
    background: none;
}

.mgallery img {
    padding: 2px;
    display: inline-block;
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    background-color: #fff;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.galery {
    display: none;
}
.img-list img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    background-color: #fff;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    padding: 2px;
    display: inline-block;
}
.img-list a:hover img,
.img-list a:focus img,
.img-list a:active img {
    border: 1px solid #EB1D25;
    background: none;
}

.img-list .image {
    margin-bottom: 15px;
    margin-top: 15px;
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

@media only screen and (min-width: 576px) {

    .sluzby-text {
        text-align: left;
        column-count: 2
    }

    .reference-list .refcategory {
    margin: 20px 0;
    border-bottom: none;
}

    .refcategory {
        margin-bottom: 0;
    }

    .reference-list .col-sm-6 {
    /*    border-right: 1px solid #AFAFAF;*/
        border-bottom: 1px solid #AFAFAF;
        padding-left: 0;
        padding-right: 0;
    }
    /*.reference-list .col-sm-6:nth-child(2n+0){*/
    /*    border-right: none;*/
    /*}*/
    /*.reference-list .col-sm-6:nth-last-child(1){*/
    /*    border-right: none;*/
    /*}*/
    .ref-rok .refcategory h3 {
        border-right: 2px solid black;
    }
    .reference-list .ref-rok > div:nth-of-type(2n+0) .refcategory h3 {
        border-right: none;
    }
    .reference-list .ref-rok > div:last-child .refcategory h3 {
             border-right: none;
         }

}
@media only screen and (min-width: 768px) {
    .menu-wraper {
        /*margin: -3em 0 0 -2em;  */
        background: none;
    }

    #main-navbar .navbar-collapse {
        margin: 0;
        padding: 5px 1rem 0 1rem;
        z-index: 2;
        margin-top: -5px;
    }
    .brand-wraper {
        padding: 15px 0;
        height: 7em;
    }
    .brand-wraper .navbar-toggler {
        display: none;
    }
    .brand .logo img {
        max-width: 65%;
        margin: 0 auto;
    }
    .menu-wraper {
        height: 2.5em;
        margin: 0;
        width: auto;
    }
    #main-navbar .nav-link, #main-navbar .dropdown-item {
        font-size: 0.85rem;
        padding: 0.7em 1.2em 0 1.2em;
    }

    #main-navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: -5px;
        /*margin-top: 0;*/
    }
    #main-navbar a:hover {
        color: #EB1D25;
    }
    .nav-item.active a {
        color: #EB1D25;
        text-shadow: 1px 1px 1px #000;
    }
    #main-navbar .nav-link:focus, .nav-link:hover {
        color: #EB1D25;
        text-decoration: none;
        text-shadow: 1px 1px 1px #000;
    }
    .hp-pozadi {
        display: block;
        position: fixed;
        top: 6.5rem;
        height: 3.5em;
        width: 100%;
        background-image: linear-gradient(black, transparent);
        z-index: 10;
    }
    .hp-services-slider {
        height: 30rem;
    }
    .hp-services-slider .slide {
        height: 30em;
    }
    .hp-obalka{
        height: 15em;
        top: -25em;
    }
    .hp-news .article {
        font-size: 14px;
        border-right: 1px solid white;
        padding-right: 15px;
        display: flex;
        flex-flow: column;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .hp-news .articles > div:last-child .article {
        border-right: none;
    }
    .sluzby-text {
        column-count: 3;
    }
    .sluzba-list {

        min-height: 18rem;
    }
/*.sluzba-info {*/
/*    !*position: relative;*!*/
/*}*/
/*.sluzba-info .tlacitko {*/
/*    position: absolute;*/
/*    bottom: 0.5rem;*/
/*    width: 70%;*/
/*}*/
    /*.ikona-list .sluzba > div:nth-last-child(2)  .sluzba-list {*/
    /*    border-bottom: none;*/
    /*}*/
.mySlides {display: none}
.slideshow-container img {vertical-align: middle;}

/* Slideshow container */
.galery {
    display: block;
    background-color: #AFAFAF;
    height: 340px;
}
.mySlides {
    margin-left: 50px;
    height: 280px;
    overflow: hidden;
}
.slideshow-container {
  position: relative;
  margin: auto;
  padding: 30px 0;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.6s ease;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;

}

/* On hover, add a black background color with a little bit see-through */
.prev a:hover, .next a:hover {
  color: white;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
  opacity: 1;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

    #contact {

        text-align: left;
    }
    .hp-news .article {
        height: 150px;
    }
    .reference-list .ref-rok > div:nth-of-type(2n+0) .refcategory h3 {
        border-right: 2px solid black;
    }
    .reference-list .ref-rok > div:nth-of-type(3n+0) .refcategory h3 {
        border-right: none;
    }

}

@media only screen and (min-width: 992px) {
   


    .container {
        max-width: 900px;
    }

    #main-navbar .nav-link, #main-navbar .dropdown-item {
        font-size: 1rem;
        padding: 0.7em 1.7em 0 1.7em;
    }


    .reference-list .ref-rok > div:nth-of-type(3n+0) .refcategory h3 {
        border-right: 2px solid black;
    }
    .reference-list .ref-rok > div:nth-of-type(4n+0) .refcategory h3 {
        border-right: none;
    }

}

div.flash {
    color: #000;
    background: #FFF9D7;
    border: .1rem solid #E2C822;
    padding: 1.5em 1em;
    margin: 0;
    position: fixed;
    top: 0;
    width: 100%;
    font-size: 1.25rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0.9; }
div.flash.success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880; }
div.flash.info {
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324; }
div.flash.error {
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4; }
div.flash .close-flash {
    border: none;
    background: none;
    position: relative;
    float: right;
    padding-left: 20px; }