/* jQuery UI Datepicker */
.ui-datepicker {
    width: 240px;
    border-radius: 2px;
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.25);
    padding: 0;
    background: #FFF;
    overflow: hidden;
}
.ui-datepicker-header {
    padding: 16px;
    height: 48px;
    font-size: 15px;
    background: #242424;
    text-transform: uppercase;
    box-sizing: border-box;
    position: relative;
    border-radius: 2px 2px 0 0;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.3);
}
.ui-datepicker-title {
    text-align: center;
}
.ui-datepicker-title span{
    color: #CFCFCF;
}
.ui-datepicker .ui-icon {
    display: none;
}
.ui-datepicker-header a {
    position: static;
}
.ui-datepicker-header a:after {
    display: inline-block;
    width: 16px;
    height: 16px;
    content: "";
    background: transparent no-repeat center / 80px;
    position: absolute;
    top: 16px;
}
.ui-datepicker-header a.ui-datepicker-prev:after {
    background-image: url("images/new/vlevo_barevne.png");
    left: 16px;
}
.ui-datepicker-header a.ui-datepicker-prev:hover:after {
    background-position: -57px center;
}
.ui-datepicker-header a.ui-datepicker-next:after {
    background-image: url("images/new/vpravo_barevne.png");
    right: 16px;
}
.ui-datepicker-header a.ui-datepicker-next:hover:after {
    background-position: -6px center;
}
table.ui-datepicker-calendar {
    margin: 0 auto 8px;
    width: 100%;
    box-shadow: none;
}
.ui-datepicker-calendar tr > :first-child,
.ui-datepicker-calendar tr > :last-child {
    padding: inherit;
}
.ui-datepicker-calendar tr:after {
    display: none;
}
.ui-datepicker-calendar tbody tr:not(:last-child) {
    border-bottom: 1px solid #D8D8D8;
}
.ui-datepicker-calendar thead tr {
    background: #D8D8D8;
}
.ui-datepicker-calendar thead th {
    text-transform: uppercase;
    font-weight: 500;
    padding: 8px 0;
    font-size: 12px;
}
.ui-datepicker-calendar tr th,
.ui-datepicker-calendar tr td {
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 12px;
}
.ui-datepicker-calendar tr th a,
.ui-datepicker-calendar tr td a,
.ui-datepicker-calendar tr th span,
.ui-datepicker-calendar tr td span {
    font-size: 12px;
}
.ui-datepicker-calendar tbody tr:last-child td,
.ui-datepicker-calendar tbody tr:last-child th {
    padding: 6px 0;
}
.ui-state-highlight,
.ui-widget-content .ui-state-highlight {
    color: #CC0000;
    font-weight: bold;
}
.ui-datepicker-calendar .ui-state-default.ui-state-hover{
    color: #B80000;
}
.ui-datepicker-current-day,
.ui-widget-content .ui-state-active {
    background: #CC0000;
    color: #FFF;
    font-weight: bold;
}
.ui-datepicker-calendar .ui-state-active.ui-state-hover{
    color: #FFF;
}
/* END jQuery UI Datepicker */

/* FWS - Fullwidth stretch  */
body.fws #top .top-search:before,
body.fws #foot-up:before,
body.fws #foot-down:before,
body.fws #drobecky:before,
.registration_bar::before {width: 100vw;height: 100%;position: absolute;content: "";z-index: -99999;top:0;left: 50%;transform: translateX(-50%);background: inherit;}
body.fws #foot-up,
body.fws #foot-down,
.registration_bar {position: relative;}
body.fws #hp-praha-v-knihovne:after,
body.fws #hp-praha-v-knihovne:before {position: absolute;content: "";width: 50vw;bottom: -1px;height: 100%;z-index: -9999;filter: blur(0.6px);}
body.fws #hp-praha-v-knihovne:before {box-shadow: inset 0 -20px 0 0 #545456, inset 0 -91px 0 0 #7a7b7f;left: 0;transform: translateX(-99%);}
body.fws #hp-praha-v-knihovne:after {box-shadow: inset 0 -149px 0 0 #545456, inset 0 -189px 0 0 #9fa0a4;right: 0;transform: translateX(99%);}
body.fws #katalog-filterbar .katalog-filterbar-bottom:after {width: 100vw;height: 100%;position: absolute;content: "";z-index: -99999;top:0;left: 50%;transform: translateX(-50%);background: #d9d9d9;}
/* / FWS - Fullwidth stretch */

/* 4 Sphered Loader */
.loader-4 {
    display: none;
    position: relative;
    width: 64px;
    height: 64px;
}
.loader-4 div {
    position: absolute;
    top: 27px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #cc0004;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.loader-4 div:nth-child(1) {
    left: 6px;
    animation: loader-4-a1 0.6s infinite;
}
.loader-4 div:nth-child(2) {
    left: 6px;
    animation: loader-4-a2 0.6s infinite;
}
.loader-4 div:nth-child(3) {
    left: 26px;
    animation: loader-4-a2 0.6s infinite;
}
.loader-4 div:nth-child(4) {
    left: 45px;
    animation: loader-4-a3 0.6s infinite;
}
.loader-4.loginloader {
    display: inline-block;
    height: 17px;
}
.loader-4.loginloader div {
    top: 3px;
    width: 9px;
    height: 9px;
    background-color: #cfcfcf;
}
@keyframes loader-4-a1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes loader-4-a3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes loader-4-a2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(19px, 0);
    }
}
/* / 4 Sphered Loader */

/* View Switch list/grid */
.view-switch-container {
    position: absolute;
    top: 16px;
    right: 32px;
    border: 1px solid #D9D9D9;
    border-radius: 2px;
    box-sizing: border-box;
    height: 48px;
    overflow: hidden;
}
.view-switch-container .radio-container {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 48px;
    height: 48px;
    background: transparent;
    box-sizing: border-box;
}
.view-switch-container .radio-container:first-child {
    border-right: 1px solid #D9D9D9;
}
.view-switch-container .radio-container input {
    position: absolute;
    opacity: 0;
}
.view-switch-container .radio-container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #e1e1e1 no-repeat left center;
    transition: .4s background-color;
}
.radio-container.list-view-btn .checkmark { background-image: url("images/new/radky_spojene.png"); }
.radio-container.list-view-btn input:checked ~ .checkmark { background-image: url("images/new/radky_spojene.png"); cursor: default; background-position: right center; }
.radio-container.grid-view-btn .checkmark { background-image: url("images/new/kostky_spojene.png"); }
.radio-container.grid-view-btn input:checked ~ .checkmark { background-image: url("images/new/kostky_spojene.png"); cursor: default; background-position: right center; }

.radio-container:hover input ~ .checkmark {
    background-color: #ccc;
}
.view-switch-container .radio-container input:checked ~ .checkmark {
    background-color: transparent;
}
/* / View Switch */

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; cursor: default; font-size: 14px; line-height: 1; }
.autocomplete-suggestion { padding: 8px 15px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #BF2E1A; }
.autocomplete-group { padding: 5px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }
