* {
    margin: 0;
    padding: 0;
}

body {
    background: #FBFBFB url(../img/bg.jpg) 0 0 repeat;
    padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}

.grido {
    font: 13px "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.grido input.date {
    background: url('../img/cal.jpg') #fff no-repeat right center;
}

#content {
    padding: 20px 45px;
    margin: 0 auto;
}

.hide {
    display: none
}

.sign-in tr {
    height: 35px;
}

.sign-in th {
    width: 7em;
}

.sign-in input.checkbox {
    margin-right: 10px;
}

label.checkbox {
    display: inline-block;
}

input.radio {
    margin: 0px 5px 0px 0px;
}

.strong {
    font-weight: bold;
}

#ajax-spinner {
    background: url('../img/spinner.gif') no-repeat scroll 0 0 transparent;
    height: 16px;
    width: 16px;
    float: right;
    margin: 15px;
}

.loading,
.loading * {
    cursor: wait !important;
}

/* TWITTER BOOTSTRAP RESET */

.alert {
    border-radius: 4px;
    border-spacing: 0;
    border: 1px solid #CACACA;
    position: relative;
    padding-left: 50px;
    z-index: 2;
}

.alert-info {
    background: #DEEEFA url(../img/info.png) no-repeat 15px center;
    border: 1px solid #AFD3F2;
    color: #235685;
}

.alert-error {
    background: #FCCAC1 url(../img/error.png) no-repeat 15px center;
    border: 1px solid #E18B7C;
    color: #AC260F;
}

.alert-success {
    background: #DFF0D8 url(../img/success.png) no-repeat 15px center;
    border: 1px solid #C1D779;
    color: #3C5A01;
}

.alert p {
    font-size: 13px;
    padding: 1px 0px 1px 35px;
    margin: 0px;
    color: #565656;
}

.alert .close {
    top: 0
}

.grido .grid-cell-country,
.grido .grid-cell-country_code {
    padding-left: 1%
}

.navbar-brand {
    font-size: 20px;
    font-weight: 200;
}

.navbar .container {
    /*
        margin-left: 0;
        max-width: 100%;*/
}

th.checker input {
    z-index: 2;
    position: relative;
}

.input-datetime {
    width: 8em;
}

.navbar-default .dropdown-menu {
    z-index: 3;
}

.navbar-default {
    background-color: #fafafa;
    background-image: -moz-linear-gradient(top, #fff, #f2f2f2);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#f2f2f2));
    background-image: -webkit-linear-gradient(top, #fff, #f2f2f2);
    background-image: -o-linear-gradient(top, #fff, #f2f2f2);
    background-image: linear-gradient(to bottom, #fff, #f2f2f2);
    background-repeat: repeat-x;
    border: 1px solid #d4d4d4;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
}

.btn-group .dropdown-menu {
    left: -85px;
}

.btn-group .dropdown-menu input {
    margin: 0px 8px 2px 0px;
}

h2.heading {
    font-size: 11pt;
    margin: 0px 0px 10px 0px;
    line-height: 12pt;
}

.crossed {
    text-decoration: line-through !important;
}

h3.heading {
    font-size: 10pt;
    margin: 0px 0px 10px 0px;
    line-height: 11pt;
}

.btn-add {
    margin-bottom: 15px;
}

select {
}

.filter textarea {
    padding: 0;
    margin: 0;
    height: 23px
}

.grido .filter textarea {
    height: 23px !important;
}

.grido .buttons {
    z-index: 2;
    position: relative;
}

.google-maps {
    width: 980px;
    height: 745px;
    border: 1px solid #ddd;
}

a[disabled] {
    pointer-events: none;
}

.controls.NRadioList label, .controls.inline label {
    display: inline;
    margin-left: 5px;
    margin-right: 5px;
}

.newsletterEditPage h3 {
    margin-bottom: 10px;

}

.mailto {
    cursor: pointer;
    cursor: hand;
}

.left {
    text-align: left !important;
}

.center {
    text-align: center !important;
}

.right {
    text-align: right !important;
}

.table input {
    margin-bottom: 0px !important;
}

td.price {
    width: 5em;
}

td.success {
    background-color: #caefba;
}

td.warning {
    background-color: #f9f198;
}

td.error {
    background-color: #f2dede;
}

tr.cancel td {
    background-color: #ff997f;
}

tr.block td {
    background-color: #aaaaaa;
}

td.payment {
    background-color: #ff7fff;
}

.clear {
    clear: both;
}

table.order {
    float: right;
}

table.order td {
    width: 190px;
}

table td.visibility img {
    margin-right: 2px;
}

table.table-card {
    font-size: smaller;
}

table.table-card th, table.table-card td {
    padding: 0px 2px;
}

.catalog-thumb {
    border-width: 0px;
}

span.yes {
    color: rgb(0, 200, 0);
}

span.no {
    color: rgb(200, 0, 0);
}

textarea.full-edit {
    width: 100%;
    height: 8em;
}

textarea.edit {
    width: 90%;
    height: 8em;
}

textarea.description {
    width: 100%;
}

textarea.edit-small {
    width: 100%;
    height: 4em;
}

.info-bar {
    padding: 10px 0px 10px 40px;
    margin-top: 10px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.price, .term {
    float: left;
    border: 1px solid rgb(192, 192, 192);
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: smaller;
    text-align: center;
    font-weight: bold;
}

.term {
    min-height: 150px;
}

.price {
    width: 140px;
}

.term {
    width: 162px;
}

.price .heading {
    color: rgb(255, 255, 255);
}

.price .heading label {
    font-size: 9pt;
    font-weight: bold;
    padding: 2px;
}

.price .is-checked {
    float: right;
    margin: 3px;
}

.price-L, .term-L {
    background-color: #fcedb1 !important;
}

.price-Z, .term-Z {
    background-color: #e0f8f8 !important;
}

select.btn-mini {
    height: auto;
    line-height: 14px;
    width: 5em;
    margin: 0px;
    padding: 0px;
}

textarea.text-mini {
    height: 21pt;
    line-height: 10pt;
    width: 10em;
    margin: 0px;
    font-size: 9pt;
}

span.title {
    border-bottom: 1px dotted #000000;
}

.price .heading {
    background-color: #808080;
}

.badge-VOLNO,
.price-VOLNO .heading {
    background-color: #060;
}

.badge-REZERVACE,
.price-REZERVACE .heading {
    background-color: #C00;
}

.badge-PARTNER,
.price-PARTNER .heading {
    background-color: #EA8C00;
}

.badge-MAJITEL,
.price-MAJITEL .heading {
    background-color: #936;
}

.badge-PERMANENT,
.price-PERMANENT .heading {
    background-color: #069;
}

.price .line input, .term .line input {
    width: 50px;
    height: 16px;
    font-size: 12px;
    text-align: right;
    margin: 0px;
}

.price .line input.input-medium, .term .line input.input-medium {
    width: 116px;
    text-align: left;
}

.price .control-group, .term .control-group {
    margin: 0px 0px 5px 0px !important;
}

.price .lm input {
    margin: 0px;
}

.price .select {
    margin-bottom: 6px;
}

.book_create select {
    margin-bottom: 6px;
}

.left-label {
    width: 12em;
    float: left;
}

table.layout {
    width: 100%;
}

table.layout ul {
    margin: 0px;
    padding: 0px;
}

table.layout ul li {
    list-style-type: none;
}

.right {
    text-align: right;
}

img.grayscale {
    filter: url(filters.svg#grayscale);
    filter: gray;
    -webkit-filter: grayscale(1);
}

.rating-blacklist {
    width: 16px;
    height: 16px;
    background-color: #000000;
}

.label-status1 {
    background-color: #7F92FF;
}

.label-status2 {
    background-color: #808080;
}

.label-status3 {
    background-color: #FFD800;
}

.label-status4 {
    background-color: #FF6A00;
}

.label-status5 {
    background-color: #267F00;
}

.label-status6, .label-status8 {
    background-color: #26D900;
}

.label-status7 {
    background-color: #C00000;
}

.label-fictional {
    background-color: purple !important;
}

.label-fictional-strict-term {
    background-color: hotpink !important;
}

table.object-status th, table.object-status td {
    padding: 2px;
    text-align: center;
}

.inline, .inline label {
    display: auto !important;
}

.top-buttons {
    position: fixed;
    top: 41px;
    background: url('../img/bg.jpg') repeat scroll 0 0 #fbfbfb;
    padding: 6px 0px;
    width: 1000px;
    z-index: 10;
}

.top-search {
    position: absolute;
    top: 6px;
    right: 0px;
    width: 180px;
    z-index: 11;
}

.top-cleaner {
    margin-top: 25px;
    clear: both;
}

.top-buttons h2.heading {
    display: inline-block;
    margin-left: 0.5em;
    width: 35em;
}

.form-actions {
    padding-left: 10px !important;
}

img.gallery {
    margin-bottom: 4px;
}

#mapInfoWindow {
    width: 200px;
    height: 90px;
}

.properties-note {
    margin-top: 10px;
}

.properties-group {
    margin-top: 6px;
}

.label-small {
    display: inline-block;
    width: 4em;
    padding-right: 0.5em;
    text-align: right;
}

div.a4 {
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(128, 128, 128);
    height: 297mm;
    width: 210mm;
}

.row {
    margin-left: 0;
}

div[class*='col-'] {
}

.centered {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    float: none;
}

.column.grid-header-dateFrom {
    width: 100px;
}

.box {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
}

.suggested {
    color: rgb(200, 0, 55) !important;
    font-weight: bold !important;
}

.block {
    border: 1px solid #d5c223;
    background: #fcedb1;
    margin: 5px 5px;
    border-radius: 4px;
    padding: 5px 9px;
}

.block.green {
    color: #4a8b4b;
    border-color: #4a8b4b;
}

.block.blue {
    color: #5496b6;
    border-color: #5496b6;
}

.block h5 {
    margin: -10px -10px 15px -10px;
    padding: 3px 8px;
    background: #efc629;
    border-radius: 4px 4px 0 0;
}

.box input {
    display: block;
    max-width: calc(100% - 15px);
}

.box label {
    margin-bottom: 0;
}

.flex {
    display: flex;
}

.block table tr td {
    font-weight: 600;
}

.block table tr td.buyPrice,
.block table tr td.sellPrice {
    width: 35px;
}

.block table {
    width: 100%;
}

.eur-course form {
    display: flex;
    align-items: flex-end;
}

.eur-course form input {
    margin-bottom: 0;
    margin-right: 10px;
}

.eur-course form input[type='submit'] {
    margin-bottom: 3px;
}

.panel-box input[type='submit'] {
    border-radius: 4px;
    padding: 3px 10px;
    border: 1px solid #ccc;
}

.eur-course [type='submit'],
.panel-box .box [type='submit'] {
    background: #377bb5 !important;
    color: #fff;
    text-shadow: none;
}

.btn.centered {
    margin: 0 auto;
}

#books input[type='submit'][class*='btn-'] {
    background: inherit;
    border: inherit;
}

.mt-5 {
    margin-top: 20px;
}

.text-right input {
    text-align: right;
    width: 100px;
    padding-right: 10px;
}

.text-center {
    text-align: center;
}

.block .block {
    margin: 5px 0;
}

.text-right {
    text-align: right;
}

.panel-box {
    margin: 0 10px 20px 10px;
    background: #fff;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
}

.panel-box h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    line-height: 1.2em;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.panel-box h3.heading {
    border-bottom: 1px solid #000000;
    border-radius: 4px 4px 0 0;
    margin: -15px -15px 15px -15px;
    background: #f4aa3d;
    padding: 10px 13px;
    color: #fff;
}

#snippet--termForm .popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 999;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#snippet--termForm .popup h2 {
    font-size: 1.3em;
    margin-top: -5px;
    border-bottom: 1px solid #f2f2f2;
}

#snippet--termForm .popup .close {
    position: absolute;
    right: 5px;
    top: 5px;
    color: #000;
    opacity: 0.8;
    font-size: 30px;
    width: 18px;
    height: 18px;
    background-size: 18px;
    cursor: pointer;
}

.close:before, .close:after {
    position: absolute;
    left: 8px;
    height: 20px;
    width: 2px;
    background-color: #000000;
}

.close:before {
    transform: rotate(45deg);
}

.close:after {
    transform: rotate(-45deg);
}

.info-icon {
    width: 20px;
    margin: 0 3px;
    z-index: 10;
}

.info-icon[data-tooltip] {
    position: relative;
    cursor: pointer;
    top: -1px;
}

.info-icon-wrapper .info-window:before,
.info-icon[data-tooltip]:before {
    width: 10px;
    height: 10px;
    box-shadow: -2px 4px 2px rgba(0, 0, 0, 0.15);
    z-index: 10;
    background: #fff;
    content: '';
    transform: rotate(-45deg);
    position: absolute;
    display: none;
    right: 4px;
    bottom: 24px;
}

.info-icon-wrapper .info-window:before {
    display: block;
    bottom: -13px;
}

.info-icon > img, img.info-icon {
    width: 20px;
    position: relative;
    top: -3px;
}

.info-icon-wrapper {
    position: relative;
    display: inline-block;
}

.info-icon-wrapper .info-icon {
    cursor: pointer;
}

.info-icon-wrapper .info-window .close-window {
    position: absolute;
    right: 12px;
    width: 20px;
    top: 11px;
    opacity: 0.6;
    cursor: pointer;
}

.info-icon-wrapper .info-window .close-window:hover {
    opacity: 1;
}

.info-icon-wrapper .info-window .head {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.info-icon-wrapper .info-window {
    display: none;
    position: absolute;
    width: 260px;
    bottom: 35px;
    height: auto;
    padding: 15px 14px;
    left: -4px;
    background: #dfdfdf;
    color: #000;
    z-index: 1;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
    font-size: 0.9em;
    line-height: 1.3em;
    border-radius: 10px;
}

.info-icon[data-tooltip]:after {
    position: absolute;
    display: none;
    width: 260px;
    bottom: 27px;
    height: auto;
    padding: 8px 10px;
    right: 0px;
    background: #ffffff;
    color: #000;
    z-index: 8;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
    font-size: 0.9em;
    line-height: 1.3em;
    content: attr(data-tooltip);
    border-radius: 7px;
}


.info-icon[data-tooltip].standardized-text:after {
    font-size: 13px;
    font-weight: normal;
}

.info-icon[data-tooltip]:hover:before {
    display: block;
}

.info-icon[data-tooltip]:hover:after {
    display: block;
    right: -10px;
}

body.iframe-body {
    background: #fff;
    padding-top: 5px;
    font-family: 'Barlow', sans-serif !important;
}

body.iframe-body h3 {
    font-size: 30px;
    font-weight: 700;
    color: #243a77;
}

.active-calendar-legend,
.fictional-calendar-legend,
.selected-calendar-legend,
.disabled-calendar-legend {
    display: inline-block;
    padding: 2px 4px;
    margin: 1px 2px;
    color: #fff;
    font-size: 13px;
}

.discount-calendar-legend span {
    background-color: #fa0;
    color: white;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.last-minute-calendar-legend span, .first-minute-calendar-legend span {
    color: black;
    background-color: yellow;
    padding: 5px;
    padding-right: 4px;
    font-weight: bolder;
}

.first-minute-calendar-legend span {
    background-color: #8aff80;
}

.iframe-body #cancel-date-pick {
    color: #fff;
    background: red;
    padding: 4px 7px;
    display: table;
    margin: 0 auto;
}

.iframe-body .calc-table {
    font-size: 1.2em;
    width: 100%;
    max-width: 450px;
}

.iframe-body .calc-table ul {
    font-weight: 400;
    font-size: 0.9em;
}

.iframe-body .calc-table .price-line {
    font-size: 1.1em;
    font-weight: 600;
    color: #243a77;
}

.iframe-body .calc-table .price-without-discount {
    font-size: 14px;
    text-decoration: line-through;
}

.iframe-body .calc-wrapper {
    margin-top: 20px;
}

.iframe-body .calc-wrapper .link {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 700;
}

.iframe-body h3.smaller {
    font-size: 1.5em;
    margin-bottom: 0;
    line-height: 1.2em;
}

.iframe-body .calc-table .error {
    color: red;
    text-align: center;
}

.iframe-body .calc-table tr {
    border-bottom: 1px solid #f2f2f2;
}

.iframe-body .calc-table tr td {
    padding: 9px 5px 9px 0;
}

.iframe-body .calc-table tr td {
    width: 50%;
    vertical-align: middle;
}

.iframe-body .calc-table tr td:first-child {
    font-weight: 600;
}

.iframe-body .passengers-wrapper {
    margin-top: 20px;
}

.iframe-body .passengers-box {
    width: 240px;
    display: inline-block;
}

.iframe-body .passengers-box select {
    width: 200px;
}

.iframe-body .calendar-wrapper {
    width: 450px;
    display: inline-block;
    float: left;
    border: 1px solid #ccc;
    padding: 15px 9px 15px 15px;
}

.iframe-body .right-box-wrapper {
    width: calc(100% - 495px);
    padding-left: 18px;
    padding-top: 10px;
    display: inline-block;
    float: left;
}

@media screen and (max-width: 840px) {
    .iframe-body .right-box-wrapper {
        width: 100%;
        padding-left: 0;
        padding-top: 15px;
        float: none;
    }

    .iframe-body .calendar-wrapper {
        float: none;
    }

    /* .info-icon[data-tooltip].on-left:hover:after {
        left: -5px;
    }

    .info-icon[data-tooltip]:before {
        left: 5px;
    } */
}

@media screen and (max-width: 420px) {
    .iframe-body .right-box-wrapper {
        width: 100%;
        padding-left: 0;
        padding-top: 15px;
        float: none;
    }

    .iframe-body .calendar-wrapper {
        float: none;
    }

    /* .info-icon[data-tooltip].on-left:hover:after {
        left: -5px;
    }

    .info-icon[data-tooltip]:before {
        left: 5px;
    } */
}

@media (max-width: 768px) {
    #reservations-calendar {
        margin: 0 0 30px 0;
    }
}

@media (max-width: 600px) {
    .iframe-body .calendar-wrapper {
        padding: 0;
        border: none;
        width: 100%;
        overflow: auto;
    }

    #reservations-calendar {
        width: 100% !important;
    }

    #reservations-calendar .fc-view > table {
        margin: 0 auto;
    }

    #reservations-calendar .fc-basic-view .fc-body .fc-row {
        height: 40px !important;
        min-height: inherit !important;
    }

    #reservations-calendar .fc-day-top {
        height: inherit !important;
    }

    .info-icon[data-tooltip]:after {
        width: 150px;
    }

    .iframe-body .passengers-box {
        width: 100%;
    }

    .iframe-body .passengers-box h5 {
        display: block;
    }

    .iframe-body .passengers-box select {
        width: calc(100% - 40px);
    }

    .fc-toolbar .fc-right {
        float: none !important;
        position: relative;
    }

    .fc-toolbar .fc-left {
        float: none !important;
        text-align: center;
        display: inline-block;
    }

    .fc-toolbar .fc-right .fc-today-button {
        position: absolute;
        left: 0;
    }

    .fc-toolbar .fc-right .fc-button-group {
        position: absolute;
        right: 0;
    }

    .iframe-body .right-box-wrapper .choice {
        margin-bottom: 5px;
        display: block;
    }

    .iframe-body .passengers-wrapper {
        margin-top: 0;
    }
}

.iframe-body .right-box-wrapper .btn-primary {
    background: #243a77;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 16px 20px 18px;
    white-space: nowrap;
    display: inline-block;
    border: none;
    border-radius: 0;
    font-size: 1.2em;
    margin-top: 25px;
    display: block;
}

.iframe-body .row {
    overflow: visible;
    margin-top: 10px;
}

.iframe-body .passengers-box h5 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.selected-calendar-legend {
    background: rgb(231, 200, 106);
}

.active-calendar-legend {
    background: #3daa47;
}

.fictional-calendar-legend {
    background: #5ce84a;
}

.disabled-calendar-legend {
    background: #e80000;
}

.fc-day-top.fc-other-month .fc-day-number {
    color: #d0d0d0 !important;
}

#snippet--termForm .popup label {
    margin-right: 20px;
    text-align: left;
}

#snippet--termForm .popup input[type='checkbox'] {
    position: relative;
    top: -2px;
    margin-right: 5px;
}

#reservations-calendar {
    height: auto;
    width: 444px;
    margin-bottom: 10px;
}

#reservations-calendar .fc-left h2 {
    font-size: 1.7em;
    text-transform: capitalize;
}

#reservations-calendar .fc-day-top.fc-other-month .fc-day-number {
    color: #000 !important;
}

/* #reservations-calendar .fc-day-top.fc-future:not(.fc-other-month)::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid white;
    transform: rotate(-135deg);
} */

#reservations-calendar .fc-day-top.fc-future:not(.fc-other-month) .fc-day-number {
    font-weight: 700;
    font-size: 16px;
}

/* #reservations-calendar .fc-day-top.fc-future:not(.fc-other-month) .fc-day-number {
    background: #3daa47;
    border-radius: 50%;
    width: 20px;
    text-align: center;
} */

#reservations-calendar .fc-day {
    background: #bb0000;
}

#reservations-calendar .fc-day, #reservations-calendar .fc-day-top {
    cursor: pointer !important;
    padding-top: 30px !important;
    position: relative;
}

#reservations-calendar .fc-bgevent {
    /*border-color: #397da8 !important;*/
    opacity: 0.9 !important;
    background: #3daa47;
}

#reservations-calendar .no-arrival-departure {
    background: #3d9447 !important;
}

#reservations-calendar .fc-row .fc-content-skeleton {
    margin-bottom: 0;
    padding-bottom: 0;
}

#reservations-calendar .fc-day-top {
    height: 20px;
}


@media only screen and (max-width: 600px) {
    #reservations-calendar .fc-day-top {
        height: 20px !important;
        padding-top: 19px !important
    }
}

#reservations-calendar.fc-unthemed td.fc-highlight {
    background: transparent !important;
    opacity: 0.9 !important;
    z-index: 9 !important;
}

#reservations-calendar.fc-unthemed td.fc-highlight.selected {
    /*background: rgba(0, 0, 0, 0.25) !important;*/
    background: rgb(231, 200, 106) !important;

}

#reservations-calendar.fc-unthemed .fc-highlight.first-selected {
    background: rgb(231, 200, 106) !important;
    /*background: url('../img/calendar/first-bg.png') !important;*/
    /*background-position: left center;*/
    /*background-color: transparent !important;*/
    border-left: 5px solid white !important;
}

#reservations-calendar .last-day-of-fictional-order {
    position: relative;
    background: linear-gradient(to right bottom, #66D042 50%, transparent 51%) !important;
}

#reservations-calendar .not-free-start {
    background: linear-gradient(to right bottom, #4A9940 50%, #b00 51%);
}

#reservations-calendar .not-free-start.last-day-of-fictional-order {
    background: linear-gradient(to right bottom, #66D042 50%, #b00 51%) !important;
}

#reservations-calendar.fc-unthemed .fc-highlight.last-selected {
    background: rgb(231, 200, 106) !important;
    /*background: url('../img/calendar/last-bg.png') !important;*/
    /*background-position: right center !important;*/
    /*background-color: transparent !important;*/
    border-right: 5px solid white !important;
}

.fc-row .fc-highlight-skeleton table {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

#reservations-calendar.fc-unthemed .fc-highlight.last-selected {
    position: relative;
}

#reservations-calendar .fc-highlight[colspan="1"] {
    background: transparent !important;
}

body #reservations-calendar .fc-row .fc-highlight-skeleton {
    z-index: 12 !important;
}

#reservations-calendar .fc-day-top:hover .fc-day-number {
    font-weight: 600;
    font-size: 1.2em;
}

#reservations-calendar td.fc-today .fc-day-number {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 4px;
    border-radius: 50%;
}

#reservations-calendar .fc-unthemed td.fc-today {
    background: #e80000 !important;
}

#reservations-calendar .fc-unthemed td.fc-today.fc-day-top {
    background: transparent !important;
}

#reservations-calendar .fc-day-top.fc-thu.fc-today {
    background: transparent !important;
}

#reservations-calendar .fc-day-number {
    color: #fff !important;
}

#reservations-calendar.fc-unthemed th,
#reservations-calendar.fc-unthemed td,
#reservations-calendar.fc-unthemed thead,
#reservations-calendar.fc-unthemed tbody,
#reservations-calendar.fc-unthemed .fc-divider,
#reservations-calendar.fc-unthemed .fc-row,
#reservations-calendar.fc-unthemed .fc-content,
#reservations-calendar.fc-unthemed .fc-popover,
#reservations-calendar.fc-unthemed .fc-list-view {
}

#reservations-calendar td {
    border-color: #ddd !important;
}

.fc-day-grid-event.ic-private-note .fc-content,
.fc-day-grid-event.ic-official-note .fc-content {
    white-space: inherit !important;
    overflow: hidden;
    height: 30px;
    width: 151px;
}

.fc-day, .fc-day-top {
    position: relative;
    padding-top: 36px !important;
}

.fc-day-top .fc-day-number {
    position: absolute;
    right: 7px;
    top: 4px;
    color: #000 !important;
    display: block;
    z-index: 2;
}

.fc-day-grid-event {
    margin-top: 0 !important;
}

.fc-day-grid-event.ic-occupied,
.fc-day-grid-event.ic-owner,
.fc-day-grid-event.ic-permanent,
.fc-day-grid-event.ic-not-occupied {
    position: absolute;
    top: 2px;
    display: block;
    /* left: 0; */
    width: 122px;
    margin-left: 1px;
    border-radius: 0;
    padding: 5px 4PX;
    font-size: 1.1em;
    text-align: center;
    padding-right: 31px;
    background: #006600 !important;
    border: none;
    font-weight: 600;
}

.fc-bgevent.ic-fictional {
    background: #5ce84a !important;
}

.fc-day-grid-event.ic-last-minute:hover, .fc-day-grid-event.ic-first-minute:hover {
    color: #000;
}

.fc-day-grid-event.ic-price {
    background: #3a87ad !important;
}

.fc-event-container {
    padding: 1px 0 !important;
}

.fc-day-grid-event.ic-price,
.fc-day-grid-event.ic-price.crossed {
    text-align: center;
    position: absolute;
    top: 147px;
    width: 149px;
}

.fc-day-grid-event.ic-price.crossed {
    background: #22b14c !important;
}

.fc-day-grid-event.ic-discount {
    background: #fed770;
    text-align: center;
    position: absolute;
    top: 168px;
    width: 149px;
}

.fc-day-top.fc-other-month {
    opacity: 1 !important;
}

#reservations-calendar .fc-day-top.fc-other-month .fc-day-number {
    color: #000000 !important;
    opacity: 0.6;
}

#reservations-calendar .fc-basic-view .fc-body .fc-row {
    min-height: 50px;
}

#reservations-calendar .fc-day-top:not(.fc-other-month) .fc-day-number {
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    /* display: block;
     width: 48px;
     right: 0;
     text-align: right;
     padding-right: 7px;
     padding-top: 4px;
     top: 0;
     height: 51px;
     z-index: -1;*/
}

.fc-day-grid-event.ic-private-note {
    top: 66px;
    position: absolute;
}

.fc-day-grid-event.ic-official-note {
    top: 101px;
    position: absolute;
}

.fc-day-grid-event.ic-last-minute, .fc-day-grid-event.ic-first-minute {
    color: #000;
    text-align: center;
    padding-right: 15px;
    width: 38px;
    font-size: 1.1em;
    margin: 0 auto;
    font-weight: bold;
    position: absolute;
    top: 40px;
    margin-left: 48px;
    padding-bottom: 34px;
}

.fc-day-grid-event.ic-last-minute:before, .fc-day-grid-event.ic-first-minute:before {
    content: '';
    width: 6px;
    height: 3px;
    border: 2px solid black;
    border-right: none;
    border-top: none;
    transform: rotate(-45deg);
    position: absolute;
    right: 4px;
    top: 6px;
}

.fc-day-grid-event.ic-last-minute:after, .fc-day-grid-event.ic-first-minute:after {
    content: '';
    width: 14px;
    border-radius: 3px;
    height: 14px;
    border: 1px solid #8a8a8a;
    position: absolute;
    right: 0;
    top: 1px;
}

.fc-day-grid-event.ic-permanent {
    background: #069 !important;
}

.fc-day-grid-event.ic-owner {
    background: #AA5AA7 !important;
}

.fc-day-grid-event.ic-occupied {
    background: #c00 !important;
}

.fc-day-grid-event.ic-occupied:after,
.fc-day-grid-event.ic-owner:after,
.fc-day-grid-event.ic-permanent:after,
.fc-day-grid-event.ic-not-occupied:after {
    position: absolute;
    right: 1px;
    top: 1px;
    background: rgba(255, 255, 255, 0.4);
    height: 28px;
    width: 30px;
    content: '';
}

.fc-row {
    border-color: transparent !important;
}

.admin-calendar .fc-basic-view .fc-body .fc-row {
    min-height: 190px !important;
}

.fc-scroller.fc-day-grid-container {
    height: auto !important;
}

.term-form-popup #frm-termForm-form table tr:nth-child(4) td label input[value='0']:after {
    background: #348534;
}

.term-form-popup #frm-termForm-form table tr:nth-child(4) td label input[value='1']:after {
    background: red;
}

.term-form-popup #frm-termForm-form table tr:nth-child(4) td label input[value='2']:after {
    background: #AA5AA7;
}

.term-form-popup #frm-termForm-form table tr:nth-child(4) td label input[value='3']:after {
    background: #31B1DD;
}

.term-form-popup #frm-termForm-form table tr:nth-child(4) td label input:after {
    height: 22px;
    width: 22px;
    background: white;
    position: absolute;
    border-radius: 20px;
    left: -1px;
    top: -3px;
    z-index: -1;
    content: '';
}

.term-form-popup #frm-termForm-form table tr:nth-child(4) td label {
    float: left;
    padding: 0 2px;
    margin: 0 12px;
    position: relative;
}

.term-form-popup #frm-termForm-form table tr:nth-child(4) td label input {
    width: 15px;
    height: 15px;
}

.term-form-popup #frm-termForm-form table label input[type='checkbox'] {
    top: 1px;
    left: 1px;
    width: 18px;
    height: 16px;
}

.term-form-popup #frm-termForm-form .term-popup-head table label input {
    margin-left: 1px;
    margin-top: -5px;
}

.term-form-popup #frm-termForm-form .term-popup-head table {
    margin-bottom: 40px;
}

.term-form-popup #frm-termForm-form .term-popup-head table tr:nth-child(4) td br {
    display: none;
}

.term-form-popup #frm-termForm-form .term-popup-head table tr:nth-child(4) td {
    margin-top: 80px;
    position: absolute;
    left: 50%;
    width: auto;
    padding: 0 10px;
    transform: translateX(-50%);
    min-width: 177px;
}

.term-form-popup #frm-termForm-form .term-popup-head table tr:nth-child(-n+3) td {
    margin-top: 10px;
    position: absolute;
    left: 50%;
    padding: 0 10px;
    transform: translateX(-50%);
    width: 65px;
}

.term-form-popup #frm-termForm-form .term-popup-head table tr:nth-child(2) td {
    margin-top: 30px;
}

.term-form-popup #frm-termForm-form .term-popup-head table tr:nth-child(3) td {
    margin-top: 50px;
    width: 105px;
}

.term-form-popup #frm-termForm-form .term-popup-head table tr:nth-child(4) {
    height: 70px;
}

.term-form-popup input[type="text"] {
    width: 30px;
}

.term-form-popup h2 {
    margin: -10px -10px 10px !important;
    border-radius: 5px 5px 0 0;
}

.fc-content-skeleton table tbody tr td {

}

.admin-calendar .fc-content-skeleton table tbody tr td:after {
    position: absolute;
    /* right: 1px; */
    top: 3px;
    background: rgba(255, 255, 255, 0.4);
    height: 28px;
    width: 30px;
    content: '';
    z-index: 0;
    margin-left: 125px;
}

.admin-calendar .fc-content-skeleton table tbody tr td:before {
    position: absolute;
    top: 2px;
    display: block;
    /* left: 0; */
    width: 120px;
    margin-left: 1px;
    border-radius: 0;
    padding: 5px 4PX;
    font-size: 1.1em;
    text-align: center;
    padding-right: 31px;
    background: #069 !important;
    border: none;
    content: 'PERMANENT';
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #fff;
    font-weight: 600;
}

.fc-content-skeleton table tbody tr td.fc-event-container:after,
.fc-content-skeleton table tbody tr td.fc-event-container:before {
    display: none;
}

/* fiksme - docasny hack */
.fc-row .fc-highlight-skeleton {
    z-index: 0 !important;
}

table.term-info {
    width: 80%;
    margin: auto;
    padding-top: 7px;
}

table.term-info td {
    font-weight: normal !important;
}

table.term-info td:nth-child(-n+3) {
    text-align: left;
}

table.term-info td:nth-child(2) {
    text-align: right;
}

.term-popup-head {
    text-align: center;
}

.term-popup-notices {
    padding-top: 20px;
    clear: both;
}

.term-popup-notices table {
    width: 100%;
}

.term-popup-notices table tr th {
    width: 170px;
}

.term-popup-notices table input {
    width: calc(100% - 15px) !important;
}

.term-popup-notices table input[type="submit"] {
    width: 100% !important;
}

.term-form-popup {
    width: 90%;
    max-width: 740px;
    max-height: 600px;
    z-index: 9999 !important;
    overflow-y: scroll;
}

.term-form-popup form {
    /*max-height: 74vh;*/
    /*overflow: auto;*/
}

.term-form-popup form.items-count-1 .popup-term-box {
    position: relative;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.term-form-popup form.items-count-2 .popup-term-box,
.term-form-popup form.items-count-4 .popup-term-box,
.term-form-popup form.items-count-8 .popup-term-box {
    position: relative;
    display: inline-block;
    width: 48%;
    margin: 1%;
    float: left;
}

.term-form-popup form.items-count-3 .popup-term-box label,
.term-form-popup form.items-count-7 .popup-term-box label,
.term-form-popup form.items-count-6 .popup-term-box label,
.term-form-popup form.items-count-5 .popup-term-box label {
    font-size: 0.9em;
}

.term-form-popup form.items-count-3 .popup-term-box,
.term-form-popup form.items-count-7 .popup-term-box,
.term-form-popup form.items-count-6 .popup-term-box,
.term-form-popup form.items-count-5 .popup-term-box {
    position: relative;
    display: inline-block;
    width: 31.333%;
    margin: 1%;
    font-size: 0.9em;
    float: left;
}

.term-form-popup form.items-count-3 .popup-term-box table tr th,
.term-form-popup form.items-count-7 .popup-term-box table tr th,
.term-form-popup form.items-count-6 .popup-term-box table tr th,
.term-form-popup form.items-count-5 .popup-term-box table tr th {
    min-width: 93px;
}

.term-form-popup form.items-count-2 .popup-term-box table,
.term-form-popup form.items-count-4 .popup-term-box table {
    width: 100%;
}

.term-form-popup form legend {
    display: none;
}

.term-form-popup .popup-term-box table {
    background: #fcfcfc;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.term-form-popup .popup-term-box table tr th,
.term-form-popup .popup-term-box table tr td {
    padding: 0 7px;
}

.term-form-popup .popup-term-box table tr:nth-child(-n+3) th label,
.term-form-popup .popup-term-box table tr:nth-child(-n+3) td {
    font-size: 1.1em;
    padding-top: 5px;
    font-weight: 600;
}

.term-form-popup .popup-term-box table tr:nth-child(2) th label,
.term-form-popup .popup-term-box table tr:nth-child(2) td {
    color: green;
}

.term-form-popup .popup-term-box table tr:nth-child(2) td input {
    border: 1px solid green;
    color: green;
}

.term-form-popup .popup-term-box table tr:nth-child(6) th label,
.term-form-popup .popup-term-box table tr:nth-child(6) td {
    color: red;
}

.term-form-popup .popup-term-box table tr:nth-child(6) td input {
    border: 1px solid red;
    color: red;
}

.term-form-popup .popup-term-box table tr th label {
    line-height: 1.2em;
    margin-bottom: 3px;
}

.term-form-popup .popup-term-box table tr th {
    min-width: 150px;
}

.term-form-popup .popup-term-box table tr:first-child td {
    text-align: center;
}

.hr-with-text {
    list-style-type: none;
    margin-top: 15px;
    margin-bottom: 25px;
}

.hr-with-text div {
    width: 100%;
    height: 10px;
    border-bottom: 1px solid black;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 5px;
}

.hr-with-text div span {
    font-size: 20px;
    background-color: #F3F5F6;
    padding: 0 10px;
}

.changes-date {
    width: 15%;
}

.changes-value {
    width: 20%
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

.tab a {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    text-decoration: none;
}

.tab a:hover {
    background-color: #ddd;
}

.tab a.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}


@media only screen and (max-width: 500px) {
    .no-active {
        pointer-events: none;
    }
}

#reservations-calendar .fc-event-container {
    display: none;
}

.link {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.link .icon {
    margin-top: 3px;
    margin-right: 4px;
    transition: transform 0.25s ease-in-out;
}

.link:hover .icon {
    transform: scale(1.2);
}

.link.link--primary {
    color: #243a77;
}

.row.row-flex {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
    box-sizing: border-box;
    width: auto;
}

.row.row-flex:before {
    content: none;
}

.row.row-flex .col-12 {
    float: none;
}

.row.row-flex .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.row.row-flex .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.row.row-flex .block {
    display: flex;
    flex-direction: column;
}

.image-for-insertion, .guide {
    max-width: 90%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.image-for-insertion:hover, .guide:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
    cursor: pointer;
}

.sticky {
    z-index: 2000 !important;
}

.insert-image-wrapper {
    overflow-y: auto;
    max-height: 390px;
}

@media (min-height: 900px) {
    .insert-image-wrapper {
        overflow-y: auto;
        max-height: 540px;
    }
}

.insert-image {
    margin-bottom: 10px;
    text-align: center;
}

.w-95 {
    width: 95%;
}

.filter.outer {
    display: none !important;
}

.navbar-fixed-top .container {
    width: 1200px;
}

.block {
    display: flex;
    flex-direction: column;
    background: white;
    box-shadow: 10px 10px 46px -35px rgba(0, 0, 0, 0.75);
    padding: 20px;
    border: 1px solid #92c611;
    border-radius: 5px;
}

.block .row {
    margin: 0 !important;
}

.block .row [class*="span"] {
    margin: 0 !important;
}

.insert-image {
    margin-bottom: 10px;
    text-align: center;
}

#frm-virtualCategoryForm-form-title,
#frm-virtualCategoryForm-form-theme,
#frm-virtualCategoryForm-form-region,
#frm-virtualCategoryForm-form-location {
    max-width: 400px;
    width: 100%;
}

#frm-staticTranslationsForm-form-cs-content,
#frm-staticTranslationsForm-form-de-content,
#frm-staticTranslationsForm-form-en-content,
#frm-staticTranslationsForm-form-nl-content {
    height: 500px;
    width: 100% !important;
}

#frm-pageForm-form-cs-url,
#frm-pageForm-form-de-url,
#frm-pageForm-form-en-url,
#frm-pageForm-form-nl-url,
#frm-pageForm-form-cs-title,
#frm-pageForm-form-de-title,
#frm-pageForm-form-en-title,
#frm-pageForm-form-nl-title,
#frm-tipForm-form-cs-url,
#frm-tipForm-form-en-url,
#frm-tipForm-form-de-url,
#frm-tipForm-form-nl-url,
#frm-tipForm-form-cs-title,
#frm-tipForm-form-en-title,
#frm-tipForm-form-de-title,
#frm-tipForm-form-nl-title,
#frm-listingInfoForm-form-cs-title,
#frm-listingInfoForm-form-de-title,
#frm-listingInfoForm-form-en-title,
#frm-listingInfoForm-form-nl-title {
    width: 100% !important;
}

.image-for-insertion,
.guide {
    max-width: 90%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.image-for-insertion:hover,
.guide:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
    cursor: pointer;
}

.sticky {
    z-index: 2000 !important;
}

.insert-image-wrapper {
    overflow-y: auto;
    max-height: 390px;
}

@media (min-width: 1023px) {
    .sticky {
        position: fixed;
        max-width: 248px;
    }
}

@media (min-height: 900px) {
    .insert-image-wrapper {
        overflow-y: auto;
        max-height: 540px;
    }
}

.text-white {
    color: white !important;
}

.block.half {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.block.half input:not([type="submit"]), .block.half select {
    width: 100%;
}

.img-preview {
    border: 1px solid lightgrey;
    margin-bottom: 2rem;
    max-height: 200px;
    text-align: center;
    padding: 10px;
    padding-bottom: 20px;
}

.img-preview.croppable {
    max-height: 500px;
    height: 500px;
    padding: 0;
}

.img-preview div {
    margin-bottom: 5px;
}

.img-preview img {
    max-height: 170px;
    width: auto;
}

.img-preview {
    border: 1px solid lightgrey;
    margin-bottom: 2rem;
    max-height: 200px;
    text-align: center;
    padding: 10px;
    padding-bottom: 20px;
}

.img-preview.croppable {
    max-height: 500px;
    height: 500px;
    padding: 0;
}

.img-preview div {
    margin-bottom: 5px;
}

.img-preview img {
    max-height: 170px;
    width: auto;
}
