/* Globální úpravy bootstrapu pro policka.org */
/* (c)2018 Ondřej Votruba, version 0.9beta */
@page {
    size: A4;
}
/* Úprava menu kvůli rolování na mobilech */
@media (max-width: 991px) {
    .navbar {
        overflow: auto;
        max-height: 85vh;
        align-items: flex-start;
    }
}

@font-face {
    font-family: 'Vida';
    src: url('/webfonts/Vida32Pro.otf') format('opentype');
    src: url('/webfonts/Vida32Pro.eot');
    /* IE9 Compat Modes */
    src: url('/webfonts/Vida32Pro.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('/webfonts/Vida32Pro.woff') format('woff'),
    /* Pretty Modern Browsers */
    url('/webfonts/Vida32Pro.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('/webfonts/Vida32Pro.svg#svgFontName') format('svg');
    /* Legacy iOS */
    font-display: auto;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font: 100%/1.6em "Vida", Lucida, Verdana, sans-serif;
    padding-top: 5rem; /* od shora kvůli menu v fixed-top */
    margin-bottom: 100px; /* Margin bottom by footer height */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px; /* Set the fixed height of the footer here */
    line-height: 60px; /* Vertically center the text there */
}

h1, h2, h3 {
    color: #E11E1E;
}

a {
    color: #E11E1E;
}

    a:hover {
        color: #E11E1E;
    }
/* mezera pod kontejnerem */
.container {
    margin-bottom: 5px;
    padding: 0 15px;
}

.footer .container {
    padding-bottom: 0;
    margin-bottom: 0;
}
/* buttony */
.btn-primary {
    background-color: #E11E1E;
    color: #fff;
    border-color: #E11E1E;
}

    a.btn-primary:hover, .btn-primary:hover {
        background-color: red;
        border-color: #E11E1E;
    }

/* úpravy navigace */
.navbar-light {
    background-color: #E11E1E;
    color: white;
}

    .navbar-light .navbar-nav .nav-link {
        color: white;
        font-size: 14px;
        margin-top: 12px;
        padding-bottom: 2px;
    }

li .nav-item {
    color: white;
    font-size: 12px;
    margin-top: 1px;
    padding-bottom: 2px;
    line-height: 0.75em;
}

h5 a.nav-link {
    color: white;
    padding-bottom: 0;
    padding-top: 5px;
}

    h5 a.nav-link:hover {
        color: lightgray;
    }

    h5 a.nav-link.active {
        color: yellow;
    }

.mu-menu li.nav-item a.nav-link {
    padding: 0 0 0 15px;
    margin-top: 2px;
}

    .mu-menu li.nav-item a.nav-link:hover {
        color: lightgray;
    }

    .mu-menu li.nav-item a.nav-link:active {
        color: yellow;
    }

.navbar-light .navbar-nav .nav-link:hover {
    color: #7C7C7C;
}

.navbar-light .navbar-nav .navbar-toggler-icon button {
    color: white;
}



.navbar-light .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(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.navbar-fixed-top {
    width: 800px;
}

.btn-white {
    color: white;
}

.search-field {
    background-color: transparent;
    border-style: hidden hidden solid hidden;
    border-color: white;
}

    .search-field::-webkit-input-placeholder .search-field:-moz-placeholder .search-field::-moz-placeholder {
        color: white;
    }
/* Datum u kalendáře akcí včetně akce */
.date {
    float: left;
    height: 48px;
    width: 48px;
    background: url(/images/date-separator.png) no-repeat;
    margin-right: 10px;
    padding-top: 0;
    line-height: normal;
}

    .date .month {
        display: block;
        text-align: center;
        color: #808080;
        font-size: 9px;
        padding-top: 4px;
        text-transform: uppercase;
    }

    .date .day {
        display: block;
        text-align: center;
        padding-top: 0;
        color: #808080;
        font-size: 18px;
        font-weight: bold;
        border-bottom: 8px;
    }

.meta {
    display: block;
    font-size: 12px;
    color: #E11E1E;
}

.calendar-header {
    font-size: 16px;
    color: #7C7C7C;
    width: 100%;
    margin: inherit;
}

.calendar-header-old {
    font-size: 16px;
    color: #F2F2F2;
    width: 100%;
    margin: inherit;
}

.document-header {
    font-size: 14px;
    color: #7C7C7C;
    width: 100%;
    margin: inherit;
}

.starosta-header {
    font-size: 12px;
    color: #7C7C7C;
    width: 100%;
    margin: inherit;
}

.calendar-time {
    display: block;
    font-size: 12px;
    color: #E11E1E;
    margin: inherit;
    line-height: 1em;
    margin-top: 3px;
    margin-bottom: 5px;
}

.calendar-time-old {
    display: block;
    font-size: 12px;
    color: #F2F2F2;
    margin: inherit;
    line-height: 1em;
    margin-top: 3px;
    margin-bottom: 5px;
}

/* carousel úvodník */
/* ken burns effect */
.carousel-item img {
    -webkit-transition: all 5s;
    -moz-transition: all 5s;
    -o-transition: all 5s;
    transition: all 5s;
}

.carousel-item.active.inactiveUntilOnLoad img,
.carousel-item img {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -o-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}

.carousel-item.active img {
    -webkit-transform: translateY(-100px);
    -moz-transform: translateY(-100px);
    -o-transform: translateY(-100px);
    -ms-transform: translateY(-100px);
    transform: translateY(-100px);
}

#carousel-slide .carousel-inner {
    height: 300px;
    border-right-style: solid;
    border-right-color: #E11E1E;
    background-color: lightgray;
}

#carousel-fotogalerie .carousel-inner {
    height: 200px;
    border-right-style: solid;
    border-right-color: #E11E1E;
    background-color: lightgray;
}

#carousel-slide .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 400px;
}

#carousel-fotogalerie .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 300px;
}

#carousel-slide .carousel-caption {
    position: absolute;
    left: auto;
    width: 100%;
    height: 100%;
    top: 10px;
    /*background-color: #7C7C7C;;
    opacity: 0.8;*/
    bottom: 0;
    right: 0;
}

    #carousel-slide .carousel-caption p {
        position: absolute;
        left: auto;
        width: 90%;
        height: 90%;
        right: 5px;
        font-size: 12px;
        text-align: left;
        color: black;
        /* text-shadow: black 0.1em 0.1em 0.2em; */
    }

.h3-responsive {
    display: block;
    background-color: #E11E1E;
    color: white;
    text-align: right;
    padding: 5px;
}

@media screen and (min-width:769px) {
    #carousel-slide .carousel-caption {
        position: absolute;
        left: auto;
        right: 0;
        width: 60%;
        height: 100%;
        /*background-color: #7C7C7C;;
    opacity: 0.8;*/
        bottom: 0;
    }

        #carousel-slide .carousel-caption p {
            position: absolute;
            left: auto;
            right: 0;
            width: 40%;
            height: 90%;
            font-size: 12px;
            text-align: left;
            color: black;
            /* text-shadow: black 0.1em 0.1em 0.2em; */
        }
}



/* footer - patička */

#paticka .card {
    margin-top: 5px;
    background-color: #E11E1E;
    color: white;
    font-size: 0.9em;
    line-height: 1em;
    text-align: center;
    border-radius: 0;
}
/* Obrázkové menu */

.cover {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.imgHolder {
    height: 180px;
    overflow: hidden;
    position: relative;
}

#recipegrid, #recipegrid2, #MainContent_ObsahContent_PanelFestivaly, #MainContent_ObsahContent_PanelSport {
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
}


    #ImageMenus .box, #ImageMenus2 .box, #MainContent_ObsahContent_PanelFestivaly .box, #MainContent_ObsahContent_PanelSport .box {
        cursor: pointer;
        margin-bottom: 10px;
        padding: 0;
        min-height: 180px;
        border-right-style: solid;
        border-right-color: #E11E1E;
        /*min-width: 180px;*/
    }

    #MainContent_ObsahContent_PanelFestivaly h2, #MainContent_ObsahContent_PanelSport h2 {
        text-align: left;
    }

#ImageMenus .imgHolder:hover, #ImageMenus2 .imgHolder:hover {
    background-color: rgba(217, 38, 44, 0.8);
    cursor: pointer;
}

#ImageMenus .in-box, #ImageMenus2 .in-box {
    width: 100%;
    height: 180px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

#ImageMenus .box-text p, #ImageMenus2 .box-text p {
    width: 65%;
    color: white;
    font-size: 18px;
    padding: 5px 5px 5px 5px;
    margin-top: 10px;
    text-align: right;
    background-color: #E11E1E;
}

#ImageMenus .box-text h3, #ImageMenus2 .box-text h3 {
    color: white;
    text-align: left;
    margin-top: 110px;
    font-size: 15px;
    background-color: #E11E1E;
    padding: 5px 5px 5px 10px;
    margin-left: 15px;
}

#ImageMenus .box-text small, #ImageMenus2 .box-text small {
    display: block;
    font-size: 10px;
}


#ImageMenus .imgHolder:hover .box-text p, #ImageMenus2 .imgHolder:hover .box-text p {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
}

#ImageMenus .imgHolder:hover .in-box, #ImageMenus2 .imgHolder:hover .in-box {
    background-color: rgba(215, 44, 44, 0.4);
    cursor: pointer;
}

@media (max-width: 600px) {
    #ImageMenus .box, #ImageMenus2 .box {
    }
}

#SpecialMenus .box {
    cursor: pointer;
    margin-bottom: 10px;
    padding: 0;
    min-height: 180px;
    border-right-style: solid;
    border-right-color: #E11E1E;
    /*min-width: 180px;*/
    background-color: lightgrey;
}


#SpecialMenus p .imgHolder:hover {
    background-color: rgba(217, 38, 44, 0.8);
    cursor: pointer;
}

#SpecialMenus .in-box {
    width: 100%;
    height: 180px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

#SpecialMenus .box-text p {
    color: white;
    font-size: 12px;
    padding: 5px 5px 5px 5px;
    margin-top: 10px;
    text-align: right;
}

#SpecialMenus .box-text h3 {
    color: white;
    text-align: left;
    margin-top: 20px;
    font-size: 15px;
    background-color: #E11E1E;
    padding: 5px 5px 5px 10px;
    margin-left: 15px;
}

#SpecialMenus .box-text small {
    display: block;
    font-size: 10px;
}


#SpecialMenus .imgHolder:hover .box-text p {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
}

#SpecialMenus .imgHolder:hover .in-box {
    background-color: rgba(215, 44, 44, 0.4);
    cursor: pointer;
}

/* odkaz webcam */
.webimg {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.webcam:hover .webimg {
    opacity: 0.6;
}

.webcam:hover .middle {
    opacity: 1;
}

.text {
    background-color: #E11E1E;
    color: white;
    font-size: 16px;
    padding: 16px 32px;
}

/* přetypování drobečkové navigace */
.breadcrumb {
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #E11E1E;
    background-color: white;
    padding-top: 0px;
    color: #7C7C7C;
}

/* The Close Button - modal obrázek ve članku */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.radio.radiobuttonlist input[type="radio"],
.checkbox.checkboxlist input[type="checkbox"] {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}

.radio.radiobuttonlist label,
.checkbox.checkboxlist label {
    margin-bottom: 0;
    display: inline-block;
}

fieldset legend {
    font-size: inherit;
}

fieldset .radio,
fieldset .checkbox {
    position: relative;
    display: block;
    padding-left: 1.25rem;
    color: red;
}

/* Pager u Gridview */
.pagination-ys {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination-ys table > tbody > tr > td {
        display: inline;
    }

        .pagination-ys table > tbody > tr > td > a,
        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #dd4814;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: #aea79f;
            background-color: #f5f5f5;
            border-color: #dddddd;
            cursor: default;
        }

        .pagination-ys table > tbody > tr > td:first-child > a,
        .pagination-ys table > tbody > tr > td:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td:last-child > a,
        .pagination-ys table > tbody > tr > td:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td > a:hover,
        .pagination-ys table > tbody > tr > td > span:hover,
        .pagination-ys table > tbody > tr > td > a:focus,
        .pagination-ys table > tbody > tr > td > span:focus {
            color: #97310e;
            background-color: #eeeeee;
            border-color: #dddddd;
        }

.GridPager a,
.GridPager span {
    display: inline-block;
    padding: 0px 9px;
    margin-right: 4px;
    border-radius: 3px;
    border: solid 1px #c0c0c0;
    background: #e9e9e9;
    box-shadow: inset 0px 1px 0px rgba(255,255,255, .8), 0px 1px 3px rgba(0,0,0, .1);
    font-size: .875em;
    font-weight: bold;
    text-decoration: none;
    color: #717171;
    text-shadow: 0px 1px 0px rgba(255,255,255, 1);
}

.GridPager a {
    background-color: #f5f5f5;
    color: #969696;
    border: 1px solid #969696;
}

.GridPager span {
    background: #616161;
    box-shadow: inset 0px 0px 8px rgba(0,0,0, .5), 0px 1px 0px rgba(255,255,255, .8);
    color: #f0f0f0;
    text-shadow: 0px 0px 3px rgba(0,0,0, .5);
    border: 1px solid #3AC0F2;
}


/*gridview*/
.table table tbody tr td a,
.table table tbody tr td span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.table table > tbody > tr > td > span {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.table table > tbody > tr > td:first-child > a,
.table table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.table table > tbody > tr > td:last-child > a,
.table table > tbody > tr > td:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.table table > tbody > tr > td > a:hover,
.table table > tbody > tr > td > span:hover,
.table table > tbody > tr > td > a:focus,
.table table > tbody > tr > td > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}
/*end gridview */

.green {
    background-color: #6fb936;
}

.thumb {
    margin-bottom: 30px;
}

.page-top {
    margin-top: 85px;
}

/* fotogalerie */
img.zoom {
    width: 100%;
    height: 200px;
    border-radius: 5px;
    object-fit: cover;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
}


.transition {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.blink {
    animation: blink 2s steps(5, start) infinite;
    -webkit-animation: blink 1s steps(5, start) infinite;
}

@keyframes blink {
    to {
        visibility: hidden;
    }
}

@-webkit-keyframes blink {
    to {
        visibility: hidden;
    }
}

.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/*mezera var checkboxu*/
.cb label {
    margin-left: 0.5em;
}
/*fokus ve formulářích*/
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.form-control:focus,
.uneditable-input:focus {
    border-color: #E11E1E;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px #E11E1E;
    outline: 0 none;
}



@media (prefers-color-scheme: dark) {
    body {
        background-color: black;
        color: #FFF;
    }

    .mu-box, .mu-box-multi, .mu-detail {
        background-color: black;
        color: #FFF;
    }

        .mu-box h2, .mu-box h3, .mu-box-multi h2 {
            background-color: black;
        }

        .mu-box div.card-header, .mu-box div.card-body, .btn-more {
            background-color: black;
            border-color: darkgray;
        }

        .mu-box div.card-footer, .mu-box-multi div.card-footer, .mu-detail div.card-footer {
            background-color: black;
            border-color: darkgray;
        }

    .breadcrumb {
        background-color: black;
    }

    #SpecialMenus .box, #carousel-slide .carousel-inner, .btn-light {
        background-color: dimgrey;
    }

    .small, small {
        color: lightgray;
    }

    .img-thumbnail {
        background-color: #000;
    }
}
