body, html {
     font-family: 'Signika', sans-serif;
     font-size: 100%;
}

#sub-cat .list-group-item.active, #obsah h2, .list-group-item.active, .page-item.active .page-link, a:hover, .breadcrumb-item a, .breadcrumb-item.active, .box-top-cont a, body, html, #main-nav .navbar-nav .btn:hover, #main-nav li a {
     color: #2e2e2e;
}

/* white */

#sub-cat .list-group-item, #obsah .page-item.active a, footer a:hover, .bg-stones, .layout-homepage .main-box .ndps, #boxes-2 .cal, #up-strip a, .btn-black, .box-home h2, footer {
     color: #fff;
}

/* modra*/
h1, a{
    color:#114ea1;
}
.text-primary{
     color:#114ea1 !important;
 }

h2{
     font-size:160%;
}

.bg-dark {
     background-color: #25272a;
}

.color-dark {
     color: #25272a;
}

#main-nav .dropdown-menu li a {
     color: #2e2e2e;
     text-transform: none;
     font-size: 110% !important;
     line-height: 1.2;
}

#main-nav-container {
     background: rgb(203, 225, 255);
     background: linear-gradient(180deg, rgba(203, 225, 255, 1) 75%, rgba(255, 255, 255, 0) 100%);
     padding-bottom: 3rem;
}

#main-nav .dropdown-menu li a:hover {
     background: #e9ecef !important;
}

h1 {
     margin: 1rem 0 1.5rem 0;
}

a, footer a, .box-home .content a:hover, #ACCalendar a, .breadcrumb-item a:hover {
     text-decoration: underline;
}

.layout-homepage .main-box a, #boxes-2 a, .photos-list a, .file-items p a, .page-link, .breadcrumb-item a, .list-group-item, #main-nav a, .btn, a.btn, a.btn:hover {
     text-decoration: none !important;
}

.breadcrumb-item a:hover{
     text-decoration: underline !important;
}

.modal {
     background: rgba(0, 0, 0, 0.5);
}

#main-nav .nav-link {
     padding-left: 0.8rem;
     padding-right: 0.8rem;
}

#main-nav ul .nav-item:last-child a {
     padding-right: 0 !important;
}

.file-items {
     border-top: 1px solid rgba(0, 0, 0, 0.15);
     padding-top: 1rem;
     margin-top: 2rem;
}

.file-items .btn {
     margin: 1rem 0;
}

.file-items p img {
     margin-left: -1.2rem;
}

.file-items p {
     line-height: 1.2;
     display: block;
     padding: 1rem 2rem;
}

#article-list .img{
     
}
#article-list img, .photos-list img{

	object-fit: cover;
     width: 280px;
     height: 200px;
}

#article-list article{
     margin-bottom:1rem;
}

.grecaptcha-badge {
     bottom: 100px !important;
}

#calendar-detail .date.bg-light {
     border-left: 15px solid #2e2e2e;
     background: #e9ecef !important;
}

section {
     padding: 4rem 0;
}

.btn-primary {
     background-color: #114ea1;
     border-color: #114ea1;
}

.btn-outline-primary, .btn-outline-primary:hover {
     border-color: #114ea1;
}

.btn-outline-primary:hover {
     background-color: #114ea1;
}

.bg-primary {
     background-color: #114ea1 !important;
}

.breadcrumbs-container {
     background-color:rgba(255, 255, 255, 0.85);
     margin-top: 1rem;
}

.breadcrumb {
     margin: 0;
     padding: 0.5rem 0.2rem;
     background: none;
     font-size: 90%;
}

.equal {
     display: flex;
     flex-wrap: wrap;
}

.row-nopadding [class*="col-"] {
     padding-left: 0 !important;
     padding-right: 0 !important;
}

.vertical-align, #boxes-2 .box {
     display: flex;
     align-items: center;
}

a, .btn, .layout-homepage .main-box .ndps {
     transition: 0.6s;
}

a:hover, .btn:hover, .layout-homepage .main-box a:hover .ndps {
     transition: 0.3s;
}

#main-nav {
     text-transform: uppercase;
     padding-top: 1rem;
}

#main-nav .navbar-nav .btn {
     border-color: rgba(255, 255, 255, 0.2);
     color: rgba(255, 255, 255, 0.8);
     text-transform: none;
}

.btn-black {
     background: #000;
}

.btn-lg {
     padding-left: 2rem;
     padding-right: 2rem;
}

.container {
     max-width: 1390px;
}

#main-nav .nav.navbar-nav>li:nth-child(3) {
     display: none;
}

.file-items span {
     color: rgba(0, 0, 0, 0.5);
     font-size: 90%;
}

.file-items .ndps {
     font-size: 120%;
     margin-bottom: 0.5rem;
}

.file-items .ndps-group {
     font-size: 140%;
     font-weight: bold;
     margin-top: 2rem;
}
.table-striped{
     border-bottom:1px solid #dee2e6;
}
hr {
     border-color: rgba(0, 0, 0, 0.15);
}



.photos .item, #boxes-1 h2, #boxes-1 .box, #boxes-2 h2, #boxes-2 a, #boxes-3 h2 {
     -webkit-box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.1);
     box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.15);  
}

#sub-cat .list-group-item{
     -webkit-box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.09);
     box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.09);  
}

.photos .item, .photos-list .obsah{
     -webkit-box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.1);
     box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.1);
}
.photos .item, .photos-list .obsah img{
     transition: .2s;
}



.photos .item:hover, .photos-list .obsah:hover img{
     -webkit-box-shadow: 0px 0px 8px 5px rgba(0, 0, 0, 0.2);
     box-shadow: 0px 0px 8px 5px rgba(0, 0, 0, 0.2);
          transform: scale(1.1);
        
}

.photos-list .obsah{
     overflow: hidden;
}

#boxes-1 h2, #boxes-2 h2, #boxes-3 h2 {
     position: relative;
     color: #fff;
     background: #c74613;
     padding: 0.5rem 1.2rem;
     text-transform: uppercase;
     font-size: 140%;
}

#boxes-1 h2 .fa-sort-down, #boxes-2 h2 .fa-sort-down, #boxes-3 h2 .fa-sort-down {
     position: absolute;
     z-index: 10;
     color: #c74613;
     bottom: -16px;
     margin-left: -3px;
     font-size: 170%;
}

#boxes-1 .box, #boxes-3 .box {
     padding: 1.2rem;
     background: #fff;
     margin-bottom: 1rem;
}

#boxes-1 .i2 h2 {
     background: #496b25;
}

#boxes-1 .i2 h2 .fa-sort-down {
     color: #496b25;
}

#boxes-1 .i3 h2 {
     background: #2e4341;
}

#boxes-1 .i3 h2 .fa-sort-down {
     color: #2e4341;
}

#boxes-1 .i4 h2 {
     background: #2b2e4d;
}

#boxes-1 .i4 h2 .fa-sort-down {
     color: #2b2e4d;
}

#boxes-2 a {
     display: block;
     background: rgba(255, 255, 255, 0.8);
     color: inherit;
     line-height: 1.2;
     margin-bottom: 0.3rem;
}

#boxes-2 a:hover {
     background: #fff;
}

#boxes-2 .cal {
     text-align: center;
     padding: 0.3rem;
     font-weight: lighter;
}

#boxes-2 .cal strong {
     font-weight: bold;
}

#boxes-2 h2 {
     background: #b30013;
     font-weight: bold;
     margin-top: 3rem;
}

#boxes-2 .i2 h2{
     background: #3c265d;
}

#boxes-2 .i2 h2 .fa-sort-down {
     color: #3c265d;
}

#boxes-2 h2 i {
     margin-right: 0.8rem;
}

#boxes-2 h2 .fa-info {
     margin-left: 7px;
}

#boxes-2 h2 .fa-sort-down {
     color: #b30013;
}

#boxes-2 small {
     font-size: 100%;
}

#boxes-3 h2, #right-frame #boxes-2 .i3 h2{
     background: #726c0d;
     font-weight: bold;
     margin-top: 3rem;
}

#boxes-3 .i0 h2{
     background: #0f45a4;
}

#boxes-3 .i0 h2 .fa-sort-down{
     color: #0f45a4;
}

#boxes-3 .i1 h2 .fa-sort-down, #right-frame #boxes-2 .i3 h2  .fa-sort-down{
     color: #726c0d;
}

#boxes-3 .i2 h2{
     background: #6a291d;
}

#boxes-3 .i2 h2  .fa-sort-down{
     color:#6a291d;
}

#boxes-3 .fa-volume-up{
     margin-right:0.5rem;
}

.obsah-content{
     padding-right:1rem;
}

#boxes-3 .fa-mail-bulk {
     margin-right: 0.4rem;
}

#right-frame #boxes-2 h2
{
     font-size:120%;
     margin-top:0;
}

#right-frame #boxes-2 h2, #right-frame #boxes-3 h2
{
     margin-top:2rem !important;
}

#right-frame #boxes-2 .i1 h2
{
     margin-top:0 !important;
}

#right-frame #boxes-2 h2 .fa-sort-down{
     bottom: -11px;
}

.fa-caret-right {
     margin-left: 0.5rem;
}

#obsah {
     padding-bottom: 1.5rem;
     font-weight: lighter;
}

.bg-silver {
     background: #e9e9e9;
}

.bg-red {
     background: #d50008;
}

.bg-black {
     background: #000;
}

footer {
     -webkit-box-shadow: 0px 0px 60px 6px rgba(255, 255, 255, 0.2);
     box-shadow: 0px 0px 60px 6px rgba(255, 255, 255, 0.2);
}

footer .content {
     background: #114ea1;
     padding-top: 2rem;
     padding-bottom: 1.5rem;
}

#logo-bottom {
     margin-right: 1rem;
}

footer .dark {
     background: #14379d;
     padding-top: 1rem;
     padding-bottom: 1rem;
}

footer h2 {
     font-size: 130%;
     font-weight: bold;
     margin-bottom: 1rem;
}

footer p, footer a {
     color: rgba(255, 255, 255, 0.8);
}

footer h3 {
     font-size: 105%;
     font-weight: bold;
     margin-bottom: 0;
}

footer ul {
     padding-left: 0;
}

footer li {
     list-style-type: none;
     background: url(../img/main/li.png) no-repeat 1rem 0.4rem;
     line-height: 1.2;
     padding-left: 2rem;
     margin-bottom: 0.5rem;
}

#motive {
     background: url(../img/main/motive-top.jpg) no-repeat top;
     background-size: cover;
}

.layout-homepage #motive {
     background: url(../img/main/motive.jpg) no-repeat top;
     background-attachment: fixed;
     background-size: cover;
}

.layout-homepage #motive .motive-content {
     min-height: 90vh;
     display: flex;
     flex-wrap: wrap;
     align-content: center;
     padding-bottom: 10vh;
}

.layout-homepage .main-box {
     -webkit-box-shadow: 0px 25px 26px 20px #fff;
     box-shadow: 0px 25px 26px 20px #fff;
}

.layout-homepage .main-box .ndps {
     padding: 1rem 2rem;
     background: rgba(0, 0, 0, 0.5);
}

.layout-homepage .main-box a:hover .ndps{
     background: rgba(0, 0, 0, 1);
}

.layout-homepage .main-box .ndps p {
     margin: 0;
}

.layout-homepage .main-box .item {
     background-size: cover;
     background-repeat: no-repeat;
     min-height: 40vh;
     display:block;
}

.layout-homepage .main-box .item.i1 {
     background-image: url(../img/main/i1.jpg);
}

.layout-homepage .main-box .item.i2 {
     background-image: url(../img/main/i2.jpg);
}

.layout-homepage .main-box .item.i3 {
     background-image: url(../img/main/i3.jpg);
}


#obsah form, .file-items p, .list-group-item {
     background: #edf6fa;
     border: 1px solid #c3e1ee;
}

#obsah h2{
     margin-top:1.5rem;
}

#sub-cat{
     margin-bottom: 1.8rem;
}

#sub-cat .list-group-item{
     margin-bottom: 0.3rem;
     border: 1px solid #fff;
}

#sub-cat .list-group-item{
     background:#2e2e2e;
}

.list-group-item:hover {
     background: #d8f3ff;
}

.list-group-item:first-child {
     border-top-left-radius: 0;
     border-top-right-radius: 0;
}

.list-group-item:last-child {
     border-bottom-left-radius: 0;
     border-bottom-right-radius: 0;
}

.box-home-other .content {
     border-left: 5px solid #fff;
}

#catcher {
     cursor: pointer;
     width: 100%;
     height: 100%;
     z-index: 1000;
     pointer-events: none !important;
}

.sub-cat .fa-angle-right, #sub-cat .fa-angle-right{
     margin-top:5px;
}


#up-strip {
     text-align: right;
     padding-top: 0.5rem;
     padding-bottom: 0.5rem;
     font-weight: lighter;
     font-size: 90%;
}

#up-strip a {
     white-space: nowrap;
}

#up-strip .fas {
     margin-left: 1rem;
     margin-right: 0.3rem;
}

.photos-years {
     border-bottom: 1px solid rgba(0, 0, 0, 0.15);
     padding: 1rem 0;
     margin: 1rem 0;
     margin-bottom: 2rem;
}

#sub-cat .list-group-item.active {
     background: #ffb300;
     border: 1px solid #fff;
     font-weight: bold;
}

.image-grayscale img {
     filter: gray;
     /* IE6-9 */
     -webkit-filter: grayscale(1);
     /* Google Chrome, Safari 6+ & Opera 15+ */
     filter: grayscale(1);
     /* Microsoft Edge and Firefox 35+ */
}

.scrollup {
     z-index: 1000;
     padding: 10px 20px;
     position: fixed;
     bottom: 20px;
     right: 20px;
     background-color: #000;
     color: #fff;
     opacity: 0.4;
     filter: alpha(opacity=40);
}

.bg-stones {
     background: url(../img/main/stones.jpg);
}

#obsah form {
     padding: 1rem 2rem;
     margin: 1.5rem 0;
}


.scrollup {
     -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
     border-radius: 3px;
}

.photos .item p {
     line-height: 1;
     margin: 0.5rem 0;
}

.btn.btn-success {
     background: #859e28;
     border-color: #859e28;
}

.photos .item, .photos-list .obsah {
     text-align: center;
     margin-bottom: 1em;
}

.photos-list .obsah h2{
     padding:0.5rem;
}

.photos-list h2 {
     font-size: 110%;
}

.srchstext {
     background: #f8f400;
}

.navbar-toggler {
     background: #114ea1;
}

#right-frame {
     
}

.kalendar{
     margin: 0;
     min-width: 800px;
}

#nav-tabContent{
     padding-top:1rem;
     padding-bottom:2rem;
}

.kalendar table{
     margin:0;
     float:right;
}

.kalendar .item{
     border-top: 1px solid #dee2e6;
     background:#f4fbff;
     overflow: hidden;
}

.kalendar td.den-cas .den{
     display: block;
     border-right:1px solid #dee2e6;
     border-left:1px solid #dee2e6;
     margin-left:-4px;
     width:80px;
}

.kalendar .item.konec-tydne{
     border: 1px solid #dee2e6;
     margin-bottom: 1rem;
}

.kalendar td {
     text-align: center;
     border:0;
     font-size: 90%;
}

.kalendar td.cas{
     text-align: left;
     height:2rem;
     padding-top:12px;
}

.kalendar .den{
     font-size:105%;
}

.kalendar .den strong{
     font-weight: bold;
}

.kalendar tr.hodiny td span{
     position:absolute;
     margin-left:13px;
     margin-top:-10px;
     display: block;
     height:10px;
}

.kalendar th {
     padding-top: 1rem;
     border:0;
}

.kalendar em{
     font-style: normal;
     font-weight: normal;
}

.kalendar .vikend{
     background-color: #f5f5f5;
}

.kalendar .today, .btn-dnes{
     background-color: #f8ffc7;
}

.nav-item{
     margin-left:3px;
     margin-right:3px;
}

.kalendar td, .kalendar th{
     border:1px solid #ddd;
     text-align:center;
}

.kalendar tr.first td, .kalendar th{
     border-bottom:1px solid #adadad;  
}

.kalendar td.udalost{
     background-color: #dc3545;
     border-color:#dc3545 !important;
     position:relative;
}

.kalendar td.udalost div{
     position:absolute;
     z-index: 1000;
     margin-left:-3px;
     color:#fff;
     font-size: 11px;
     width:100%;
}


:root {
    --primary: #114ea1;
    --secondary: #343a40;
    --accent: #c74613;
    --light: #f8f9fa;
    --border: #e9ecef;
}

#ACCalendar {
    width: 100%;
    overflow: hidden;
    background-color: #fff;
}

/* Hlavička */
#ACCalendar .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    color: #fff;
    padding: 15px 20px;
}

#ACCalendar .mesic_rok {
    font-size: 1.15rem;
    font-weight: 500;
    text-transform: capitalize;
}

#ACCalendar .mesic_rok strong {
    font-weight: 700;
}

#ACCalendar .prev,
#ACCalendar .next {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #114ea1;
    text-decoration: none;
    border-radius: 50%;
    transition: all .2s ease;
}

#ACCalendar .prev:hover,
#ACCalendar .next:hover {
    background: rgba(255,255,255,.15);
    transform: scale(1.1);
    color:#fff;
}

#ACCalendar .prev span,
#ACCalendar .next span {
    font-size: 1.4rem;
    line-height: 1;
}

/* Tabulka */
#ACCalendar table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

#ACCalendar th {
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    padding: 12px 5px;
    text-align: center;
    font-size: .9rem;
}

#ACCalendar td {
    border: 1px solid var(--border);
    padding: 0;
}

#ACCalendar td a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: all .2s ease;
}

#ACCalendar td a:hover {
    background: rgba(17, 78, 161, .08);
    color: var(--primary);
}

/* Dnešní den */
#ACCalendar td a.now {
    background: rgba(17, 78, 161, .12);
    color: var(--primary);
    font-weight: 700;
    position: relative;
}

#ACCalendar td a.now::after {
    content: "";
    position: absolute;
    bottom: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* Dny s akcí */
#ACCalendar td a.selected {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

#ACCalendar td a.selected:hover {
    background: #a7380f;
}

/* Prázdná pole */
#ACCalendar td a:empty,
#ACCalendar td a[href=""]:not(.selected) {
    background: #fafafa;
}

/* Mobil */
@media (max-width: 576px) {
    #ACCalendar .header {
        padding: 12px 15px;
    }

    #ACCalendar .mesic_rok {
        font-size: 1rem;
    }

    #ACCalendar td a {
        min-height: 42px;
        font-size: .9rem;
    }

    #ACCalendar th {
        padding: 10px 2px;
        font-size: .8rem;
    }
}

@media (max-width: 1199.98px) {}

@media (max-width: 991.98px) {
     #logo img {
          max-width: 280px;
     }
     #main-nav {
          font-weight: normal;
          font-size: 90%;
     }
}

@media (max-width: 767.98px) {
     #logo img {
          max-width: 200px;
     }
     .box-top-cont {
          display: none;
     }
     .btn-firmy, .btn-firmy a {
          width: 100%;
          margin: auto;
          display: block;
     }
     .bg-green-map {
          text-align: center;
     }
     #main-nav .dropdown-menu .dropdown-menu {
          margin-top: 0 !important;
     }
     .obsah-content{
          padding-right:0;
     }
}

@media (max-width: 575.98px) {}

@media print {
     body { font-size: 10pt; }
     .no-print, #adminStrip, #modal-container, .navbar-toggler, #logo-bottom, .grecaptcha-badge, .scrollup, footer .content, #form-container, #right-frame, #up-strip, #navbarMain, #modalSearch{
          display: none !important;
     }
     .breadcrumb{
          border-bottom:1px solid silver;
          overflow:hidden;
     }
     footer{
          border-top:1px solid silver;
          padding-top:0.5rem;
     }
     footer .dark{
          padding-top:0;
          padding-bottom:0;
     }
     #main-nav-container{
          padding-bottom:0;
     }
     .breadcrumb li{
          float:left;
          list-style-type: square;
          margin-right:1rem;
     }
     .breadcrumb li:first-child{
          list-style-type: none;
     }
     .table{
          width: 100%;
     }
     .table th{
          text-align: left;
     }
   }