﻿a { color:#009E5E; }
a.btn.btn-default {color: #FFFFFF; background-color:#009E5E; }
a:hover { color:dodgerblue; }
h1 { font-size:24px; text-transform:uppercase; margin-bottom:20px; }
h2 { font-size:20px; }
h3 { font-size:16px; }

#header-bar { background-color:#009E5E; min-height:28px; }
.nav-link {color:#009E5E; font-size:24px; font-weight:450; margin-right:50px;}
.navbar-nav { margin-top:10px; }
.navbar-brand img { width:280px; }
.navbar-toggle { background-color: #f0f0f0; margin-top: 16px; margin-right:0; }
.icon-bar { background-color:#666; }
ul.nav > li > a { font-size: larger; text-transform: uppercase; }

.breadcrumb { font-size: smaller; text-transform: uppercase; padding: 2px 15px; color:#BBB; }
.breadcrumb a { color: #BBB; padding-right:10px; }
.breadcrumb a:hover { color: #666; }


#side-link { display:none; position: fixed; top: 120px; right:0px; background-color: #f5f5f5; width: 90px; height: 235px; padding-top:10px; text-transform:uppercase; }
#side-link:hover { background-color: #F0F0F0; }
#side-link .text { text-align:center; }
#side-link .link { -ms-transform: rotate(270deg); -webkit-transform: rotate(270deg); transform: rotate(270deg); font-size: 18px; letter-spacing: 4px; font-weight:bold; position:absolute; top:125px; right:-35px; }
#side-link i.fa { position:absolute; top:115px; right:0; }
#side-link a:hover, #side-link a:focus { text-decoration: none; }

footer { 
    /*background-color: #2e7d32;*/ 
    background-color: #1f7635;
    color:lightgray;
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center center;
    /*padding-top: 50px;*/
     padding: 20px;
}
footer a { color:white;}
i.fa { margin-right:10px; content:""; color:#009E5E; }

.carousel-caption { font-size: large; left: 0px; bottom:0px; padding: 3px; width: 100%; }
.carousel-indicators { display:none; }
.carousel-control.left, .carousel-control.right { width: 70px; }

#activities td { padding:16px 8px; vertical-align:top; }
#activities td:first-child { padding-top:24px; }
#activities td h4 { margin-top:0; }
#activities p { clear:left; text-align:justify; }


/*.activity { height:405px; }*/
.activity img { float:left;  } /*padding: 5px; margin-right:5px;*/ 
.activity h1 { text-transform:uppercase; display:table-cell; vertical-align:middle; font-size:18px; }
.activity p { clear:left; text-align:justify; }
.activity a { position: absolute; bottom:10px; right:15px;  } /*width: 60px;*/
/*.activity .header {height:320x; display:table; }*/
.news {
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;           /* ❗ zrušit fixní výšku */
    padding-bottom: 40px;   /* prostor pro tlačítko */
}

.news a {
    margin-top: auto;       /* tlačítko dolů */
    align-self: flex-end;
    position: static;       /* ❗ zrušit absolute */
}
/*.news { height:105px; }*/
.news img { float:left; padding: 5px; margin-right:5px; }
.news h1 { text-transform:uppercase; display:table-cell; vertical-align:middle; font-size:18px; }
.news p { clear:left; text-align:justify; }
/*.news a { position: absolute; bottom:10px; right:15px; width: 60px; }*/
/*.news .header {height:64px; display:table; }*/
.zmenseni .zmensit {max-height: 200em; overflow: hidden; transition: max-height 1s}
.zmenseny .zmensit {max-height: 10em;}

#aboutUs { margin:30px 0; }
#aboutUs td { padding:16px 8px; vertical-align:top; }
#aboutUs td:first-child { padding-top:24px; }
#aboutUs td h4 { margin-top:0; }

.itemAboutUs { height:205px; }
.itemAboutUs img { float:left; padding: 5px; margin-right:5px; }
.itemAboutUs h1 { text-transform:uppercase; display:table-cell; vertical-align:middle; font-size:18px; }
.itemAboutUs p { clear:left; text-align:justify; }
.itemAboutUs a { position: absolute; bottom:10px; right:15px; width: 60px; }
.itemAboutUs .header {height:64px; display:table; }


.award { text-align:center; }
.award img { width:200px; }
.award p { }

.timeline { margin:20px 0; padding:0; list-style:none; position: relative; }
.timeline h4 { margin-top:0; }
.timeline .date { display:block; width:150px; text-align:right; position: absolute; margin-top:14px; }
.timeline .body { margin: 0 0 25px 180px; padding: 16px; line-height: 20px; border-radius: 4px; position: relative; border: 1px solid #d4d4d4; -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175); box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);}
.timeline .body:before { position: absolute; left: -15px; top: 10px; display: inline-block; border-top: 15px solid transparent; border-left: 0 solid #ccc; border-right: 15px solid #ccc; border-bottom: 15px solid transparent; content: " "; }
.timeline .body:after { position: absolute; left: -14px; top: 11px; border-top: 14px solid transparent; border-left: 0 solid #fff; border-right: 14px solid #fff; border-bottom: 14px solid transparent; content: " "; }
.timeline .description { font-size:12px; color:#AAA;text-align:right;}

.google-map { height:450px; }
.contacts p { margin-bottom:16px; }
.products h2 { font-size:20px; }
.products img { width:100%; margin-top:20px; }

#sidebar-menu { margin:0px 0;  }
#sidebar-menu ul { border-left:1px solid #AAA; }
#sidebar-menu a { padding:5px 10px 5px 10px; border-left:1px solid #FFF; color:#AAA; text-transform:none; }
#sidebar-menu a:hover { color:#666; }
#sidebar-menu li.active > a { border-left:2px solid #666; color:#666; font-weight:bold; }
#sidebar-menu .affix { top: 10px; }

.title-block { background: url(/media/1048/separator.png) repeat-x scroll; background-position:left 12px; margin-top:30px; }
    .title-block span {
        background-color: #f8f9fa;
        padding-right: 10px;
    }

.button {
    background-color: #e7e7e7; /* Green */
    border: none;
    color: #009E5E;
    padding: 2px 2px;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
	border-radius: 4px;
	text-align:right;
}




body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}


/*

.hero {
    position: relative;
    width: 100%;
    height: 301px;
    background-size: cover;
    background-position: center;
}
*/

.hero img {
    position: relative;
    top: 200px;    /* posun dolù */
    left: 30px;   /* posun doprava */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-color: rgba(240, 240, 240, 0.85);
    padding: 30px 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 600px;
    text-align: left;
    border-radius: 10px;
}
/*.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    padding: 40px 50px;
    max-width: 640px;


    background: rgba(10, 25, 15, 0.75);

    border-radius: 20px;


    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255,255,255,0.08);

    color: #fff;
}


@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
    .hero-content {
        background: rgba(10, 25, 15, 0.65);
        backdrop-filter: blur(12px) saturate(120%);
        -webkit-backdrop-filter: blur(12px) saturate(120%);
    }
}*/

 /* Hero sekce */
.hero {
    position: relative;
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
}

.hero-title {
    font-size: 24px;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 10px;
}
.hero-subtitle {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}
.hero-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}
.hero-divider {
    width: 100%;
    height: 1px;
    background-color: gray;
    margin-bottom: 20px;
}

.hero-button {
    display: inline-block !important;
    background-color: #2e7d32 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    font-weight: bold;
    border-radius: 3px;
}
.hero-button:hover {
    background-color: #0056b3 !important;
}

.animate-fadein {
    opacity: 0;
    animation: fadeIn 1.2s ease-in forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

@media (max-width: 768px) {
    .hero {
        height: 30px;
    }
    .hero-content {
        width: 90%;
        padding: 20px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
}








.activity {
  border-radius: 10px;
  overflow: hidden;
}
.shadow-sm { 
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.activity:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
} 


.activity .card-body {
  padding: 20px;
}




/* === Activity Cards Styling with Animation === */
.activity.card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background-color: #f0f0f0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.activity.card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    transform: translateY(-8px) scale(1.03);
}

.activity .header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.activity .header img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
    margin-right: 12px;
}

.activity .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2e7d32;
    margin: 0;
}

.activity .card-body {
    padding: 20px;
    font-size: 0.95rem;
    color: #555;
    text-align: justify;
}

.activity .btn {
    display: inline-block;
    
    color: #fff;
    border-radius: 5px;
    padding: 8px 18px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.activity .btn:hover {
    background-color: #1b5e20;
    color: #fff;
}







/* Banner */
.products-banner {
    height: 300px;
    width: 100%;
    /*background-color: #2e7d32;*/
    background-color: #1f7635;
    /*color: #fff;*/
    color: lightgray;
    text-align: center;
    padding: 40px 0;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    margin-top: -20px;
}

/* Cards */
.card:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}
.card-img-top {
    /*height: 200px;*/
    object-fit: cover;
}

.card-body .btn{
  background-color: #009E5E;

}
.cards-news-section {
    position: relative;
    z-index: 2;
    /*margin-top: -200px;*/
}

.cards-section {
    position: relative;
    z-index: 2;
    margin-top: -200px;
}

.cards-section .card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /*background-color: #fff;*/
}

.cards-section .card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.cards-section .header {
    display: flex;
    align-items: center;
    padding: 8px;
    /*border-bottom: 1px solid #eee;*/
}

    .cards-section .header img:not(.no-size) {
        width: 60px;
        height: 60px;
        object-fit: contain;
        display: block;
    }



.cards-section .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2e7d32;
    margin: 0;
}
.cards-section,
.cards-section .row {
    overflow: visible;
}
.card-text{
  text-align:justify;
}
.cards-row {
    display: flex;
    flex-wrap: wrap;
}
.cards-row > div {
    display: flex;
}


.cards-section .btn:hover {
    background-color: #2e7d32;
    color: #fff;
}

.card
{
   background-color: #f0f0f0;
}

.card-body {
    flex: 1; /* vyplní dostupný prostor */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* text shora */
}

.card-body .btn {
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem 1.5rem;
  transition: background-color .3s;
  position: absolute; bottom:10px; right:15px; 
}

.cards-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch; /* všechny wrappery stejně vysoké */
    gap: 20px;
}

.card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 90%; 90% fixní šířka pro konzistenci */
    /*position: relative;*/
    position: relative;
    z-index: 1;

        width: 100%;
    height: 100%;

}


.card-wrapper .btn {
    margin-top: auto;
}

.card-wrapper:hover {
    z-index: 2;
}


.card-wrapper .card {
    display: flex;
    flex-direction: column;
    /*min-height: 50px;  stejná výš    a */
    position: relative; /* pro absolutní pozici tlačítka */
    padding-bottom: 50px; /* prostor pro tlačítko */
}


.icon-wrap {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}





.uYj0Sg {
    width: 100%;
    /*height: 12px;*/
    min-height: 300px;
    margin-top: -287px;
    /*background-color: #d9f2e6;*/
    border-width: thick;
    border-color: red;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    margin-right: -20px;
}
.uYj0Sg1 {
/*      width: 100%;*/
    /*    height: 12px;*/
    max-height: 40px;
    min-height: 130px;
    margin-top: -117px;
    /*    background-color: #d9f2e6;*/
    border-width: thick;
    border-color: red;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    margin-right: -10px;
    margin-left: 10px;
}

.accordion-button {
  background-color: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
    height: 50px ;
    color: #ffffff !important;
    font-size: 24px;
    font-weight: bold;

}
.accordion-header {
  background-color: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background-color: #2e7d32 !important;
    color: #ffffff !important;
  font-weight: bold;
    border-top-right-radius: 2rem !important;
}

.accordion-button::after {
    background-image: none !important;
}



.accordion-item {
   border-top-right-radius: 3rem !important;
   border-bottom-left-radius: 3rem !important;
   border-color: #2e7d32;
   border-width: thick;
}

/* Ikona vlevo */
.accordion-icon {
height: 50px ;
width: auto;
}

.menu-search {
    position: relative;
           border-top-right-radius: 3rem !important;
   border-bottom-left-radius: 3rem !important;
}

#searchBox {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: 300px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    padding: 10px;
    z-index: 1000;
    border-radius : 0.3rem !important;

}

#searchInput {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius : 0.3rem !important;
}

#searchResults {
    margin-top: 10px;
}

.search-item {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.search-item a {
    text-decoration: none;
    color: #333;
}

.search-item a:hover {
    text-decoration: underline;
}

/* POUZE pro Umbraco Grid */
/*.umb-grid .row {
    display: flex;
    flex-wrap: wrap;
}

.umb-grid [class*="col-"] {
    float: none;
}*/
/* Umbraco Grid FIX */
.umb-grid .row {
    display: block;
}

.umb-grid [class*="col-"] {
    float: left;
}
/* Bootstrap 3 gutters pro Umbraco Grid */
.umb-grid .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 992px)
{
  .navbar { margin-bottom:0; }
  .navbar-brand { padding-left:0; }
  .navbar-brand img { width:180px; }
}

@media (min-width: 768px)
{
  html { position: relative; min-height: 100%; }
  body { margin-bottom:190px; }
  /*footer { position: absolute; height:190px; bottom: 0; width:100%; }*/
  #copyright { position:absolute; bottom:12px; }

  .carousel-caption { font-size: x-large; }
}

/*@media (min-width: 1024px)
{
  .container { width:1000px; }
}*/

@media (min-width: 1200px)
{
  #side-link { display:block; }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active)
{
    /* IE 10–11 */

        /* kontejnery */
        .cards-section,
        .cards-row {
            display: block;

        }

        /* jednotlivé karty */
        .card-wrapper {
            display: block;
            width: 100%;
            margin: 0 0 20px 0;
            position: relative;
        }

        .card {
            display: block;
            min-height: auto;
            padding-bottom: 20px;
        }

        /* tlačítko */
        .card-body .btn {
            position: static;
            margin-top: 15px;
        }

        .news,
        .activity {
            display: block;
            height: auto;
        }

            .news a,
            .activity a {
                position: static;
                display: inline-block;
                margin-top: 10px;
            }
        .hero-content {
            position: relative;
            top: auto;
            left: auto;
            transform: none;
            animation: none;
            margin: 20px auto;
        }

        * {
            transition: none !important;
            animation: none !important;
        }

        .card:hover,
        .activity:hover {
            transform: none !important;
            box-shadow: none !important;
        }
        img {
            max-width: 100%;
            height: auto;
        }

    .card-body {
        display: block;
        flex: none; /* nebo prostě vynechat */
        width: 100%;
        height: auto;
    }

    .card {
        margin:10px;

    }

    .raku {
        /*margin:10px;*/
        width: 100px;
    }
    .cards-section {
        padding-bottom: 30px;
    }

    .cards-section .card-wrapper {
        padding-bottom: 30px;
    }
}


.media-box {
    /*width: 300px;
    height: 180px;*/
    overflow: hidden;
    border-radius: 6px;
    background: #f0f0f0;
    display: block;
    margin: 0 auto;
}

.media-box img,
.media-box video {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    /*padding-right:15px;*/
}



/* Collapse / expand rules for Newspaper view (added for .zmenseny toggling) */

/* container that holds the truncated content */
.zmenseny .zmensit {
    max-height: 120px; /* collapsed height — adjust as needed */
    overflow: hidden;
    transition: max-height 300ms ease, opacity 200ms ease;
    opacity: 1;
}

/* expanded state (removes truncation) */
.zmenseny--expanded .zmensit {
    max-height: 2000px; /* large enough to show full content */
    transition: max-height 400ms ease, opacity 200ms ease;
}

/* optional: make toggle button visually distinct */
button[data-toggle="toggle-full"] {
    cursor: pointer;
    background: transparent;
    border: 1px solid #cfd8dc;
    padding: 6px 10px;
    border-radius: 4px;
    color: #007b55;
}

/* optional: small visual indicator when expanded */
.zmenseny--expanded button[data-toggle="toggle-full"] {
    background: #eef7ef;
}

@media (max-width: 800px) {
    /* Banner: keep green background on small screens */
    .products-banner {
        background-color: #1f7635 !important; /* restore green */
        color: lightgray !important;
        padding: 30px 20px !important;
        font-size: 1.6rem !important;
        font-weight: bold !important;
        position: relative !important;
        z-index: 1 !important; /* below cards but above hero */
        margin-top: 0 !important;
    }

    /* Ensure hero stays behind banner/cards */
    .hero,
    .hero-content {
        z-index: 0 !important;
        position: relative !important;
    }

    /* Cards and wrappers — above banner, shadows visible */
    .cards-section,
    .card-wrapper,
    .cards-section .card,
    .cards-news-section .card {
        margin-top: 0 !important;
        position: relative !important;
        z-index: 3 !important; /* cards above banner */
        overflow: visible !important; /* show shadows */
    }

        /* Tidy spacing so shadow sits close to card */
        .cards-section .card,
        .card-wrapper .card {
            margin-bottom: 16px !important;
            padding-bottom: 20px !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
    /* push the banner below the hero on small screens */
    .products-banner {
        margin-top: 220px !important; /* adjust this value to match your hero height */
    }

    /* keep cards/shadows visible (if still needed) */
    .cards-section,
    .cards-section .card,
    .card-wrapper {
        z-index: 3 !important;
        overflow: visible !important;
    }
    .uYj0Sg {
        margin-top: -297px;
    }
    /*.uYj0Sg1 {
        margin-top: -127px;*/
        /*margin-right: -20px;*/
    /*}*/
    
}