

/********************* Formulare ********************/

input.hidden {
    display: none;
}

button,
select,
textarea,
input {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;

    outline: none;
}

button,
input[type=button],
input[type=submit] {
    cursor: pointer;
}

form input,
form textarea,
form select {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    padding: 10px 12px;
    width: 100%;
    font-size: 15px;
    font-weight: 300;
    border-radius: 3px;
}

form input.disabled,
form textarea.disabled,
form select.disabled {
    background-color: #ededed;
    border: 1px solid #e6e6e6 !important;
}

form input:hover,
form input:focus,
form textarea:hover,
form textarea:focus,
form select:hover,
form select:focus {
    border: 1px solid #a4a4a4;
}

form input.not-validated,
form textarea.not-validated,
form select.not-validated {
    border: 1px solid #e0a1a1;
}

form input.not-validated:hover,
form input.not-validated:focus,
form textarea.not-validated:hover,
form textarea.not-validated:focus,
form select.not-validated:hover,
form select.not-validated:focus {
    border: 1px solid #fb4646;
}

form .validation-nok {
    float: right;
    display: inline-block;
    margin-right: 2px;
    color: #f15757;
}

/**************** Vyjimky ****************/

form input[type=file] {
    padding: 5px 0;
    border: none;
    background-color: inherit;
}
form input[type=file]:hover,
form input[type=file]:focus {
    border: none;
}

form input[type=checkbox] {
    width: inherit;
    margin-right: 7px;
    position: relative;
    vertical-align: middle;
    bottom: 1px;
}

form input[type=radio] {
    vertical-align: middle;
    width: auto;
    margin-right: 5px;
    margin-top: -2px;
}

/******************* Tagy *******************/

form .tag-checkbox {
    display: inline-block;
    margin-right: 5px;
    margin-top: 5px;
    background-color: #e6e6e6;
    border: 1px solid #ccc;
    border-radius: 5px;
}
form .tag-checkbox:hover {
    background-color: #d4d4d4;
}

form .tag-checkbox label {
    display: block;
    padding: 0 15px 0 12px;
    line-height: 32px;
}

/**************** TimePicker ****************/

form .ui-timepicker-list li {
    font-size: 15px;
}

/**************** Flatpickr ****************/

form .flatpickr-wrapper {
    display: block;
}

/****************** TinyMCE ******************/

form tr.tinymce-hidden,
form th.tinymce-hidden {
    display: none !important;
}

.modal-panel .tinymce-fullscreen .body {
    padding: 0;
    height: 94vh;
}

.modal-panel .tinymce-fullscreen .body .mce-tinymce.mce-container.mce-panel {
    border-width: 0px !important;
}

.mce-menu {
    position: fixed !important;
}


#tinyMCE-fileupload-progress {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding-left: 50px;
    line-height: 50px;
    background: #f5f5f5 url(../web_images/spinner.gif) left 22px center no-repeat;
}


/**************** Popisek jazyku ****************/

.language-label {
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px dotted #b5b5b5;
    color: #969696;
    cursor: help;
}

.language-label:hover {
    color: #404040;
}


/**************** Ostatni ****************/

form .error {
    color: #f15757;
    font-weight: 400;
    list-style: none;
    margin: 0;
    font-size: 14px;
}

form .required td > span {
    display: inline-block;
    padding-right: 18px;
    margin-bottom: 15px;
}


/********** Vstup pro vklozeni obrazku **********/

.modal-panel .image-manager {
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 25px;
    margin: 20px -25px 0;
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    background-color: #ededed;
}

.modal-panel .image-manager .bg {
    z-index: -1;
    position: absolute;
    opacity: .075;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ededed no-repeat center;
    background-size: cover;

    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.modal-panel .image-manager .thumb {
    display: block;
    flex-shrink: 0;
    margin-right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    background: #e6e6e6 no-repeat center;
    background-size: cover;
    border: 1px solid #ccc;
}

.modal-panel .image-manager .caption {
    margin-right: auto;
    padding-right: 20px;
    min-height: 40px;
}

.modal-panel .image-manager .required {
    font-weight: 600;
}

.modal-panel .image-manager .warning {
    display: none;
    width: 19px;
    height: 19px;
    margin-left: 3px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    font-style: normal;
    color: #fff;
    border-radius: 50%;
    background-color: #ffae00;
    cursor: help;
}
.modal-panel .image-manager .warning.active {
    display: inline-block;
}

.modal-panel .image-manager .min-size {
    font-weight: 300;
}

.modal-panel .image-manager .no-wrap {
    white-space: nowrap;
}

.modal-panel .image-manager .button  {
    flex-shrink: 0;
    line-height: 40px;
    height: 40px;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #636363;
    border-radius: 50px;
    -webkit-box-shadow: 0 1px 0 0 rgba(60,64,67,0.152), 0 0 6px 0 rgba(60,64,67,0.149);
    box-shadow: 0 1px 0 0 rgba(60,64,67,0.152), 0 0 6px 0 rgba(60,64,67,0.149);
}
.modal-panel .image-manager .button + .button  {
    margin-left: 10px;
}
.modal-panel .image-manager .button:hover  {
    -webkit-box-shadow: 0 1px 0 0 rgba(60,64,67,0.15), 0 2px 10px 0 rgba(60,64,67,0.3);
    box-shadow: 0 1px 0 0 rgba(60,64,67,0.15), 0 2px 10px 0 rgba(60,64,67,0.3);
}
.modal-panel .image-manager .select-image {
    padding: 0 20px 0 40px;
    background: #fff url(../web_images/select_image.png) left 15px center no-repeat;
}
.modal-panel .image-manager .delete-image,
.modal-panel .image-manager .recall-image {
    height: 40px;
    width: 40px;
    background: #fff url(../web_images/delete.png) no-repeat center;
}
.modal-panel .image-manager .recall-image {
    background: #fff url(../web_images/recall_image.png) no-repeat center;
}

@media screen and (max-width: 539px) {

    .modal-panel .image-manager .select-image {
        padding: 20px;
        font-size: 0;
    }
}
@media screen and (max-width: 500px) {

    .modal-panel .image-manager {
        padding: 20px 14px;
        margin: 15px -14px 0;
    }
}
@media screen and (max-width: 374px) {

    .modal-panel .image-manager .thumb {
        display: none;
    }
}


/**************** Administracni tlacitka ****************/

.admin-actions {
    position: absolute;
    right: 5px;
    top: 5px;
    color: #636363;
    font-size: 0;
}

.admin-actions.small {
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0;
}

.admin-actions a {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;

    position: relative;
    display: inline-block;
    vertical-align: top;
    padding: 0;
    margin-bottom: 5px;
    margin-left: 5px;
    height: 40px;
    width: 40px;

    line-height: normal;
    font-size: 0;
    color: #636363;

    background: #fff no-repeat center;

    /*border: 1px solid #dddddd;*/
    border-radius: 50px;

    -webkit-box-shadow: 0 1px 2px 0 rgba(60,64,67,0.302), 0 1px 3px 1px rgba(60,64,67,0.149);
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.302), 0 1px 3px 1px rgba(60,64,67,0.149);
}

.admin-actions a.update {
    background-image: url('../web_images/update.png');
}

.admin-actions a.drag {
    cursor: move;
    background-image: url('../web_images/drag.png');
}

.admin-actions a.delete {
    background-image: url('../web_images/delete.png');
}

.admin-actions a.hide {
    background-image: url('../web_images/hide.png');
}

.admin-actions a.unhide {
    background-image: url('../web_images/unhide.png');
}

.admin-actions a.share {
    background-image: url('../web_images/share.png');
}

.admin-actions a.add-gevent {
    background-image: url('../web_images/add_gevent.png');
}

.admin-actions a.remove-gevent {
    background-image: url('../web_images/remove_gevent.png');
}



.sync,
.copy,
.show-comments,
.hide-comments,
.update,
.set,
.add {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;

    display: inline-block;
    margin-bottom: 25px;
    padding: 10px 20px 10px 45px;

    line-height: normal;
    font-size: 14px;
    font-weight: 400;
    color: #636363;

    /*border: 1px solid #f3f3f3;*/
    border-radius: 50px;
    /*-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);*/

    -webkit-box-shadow: 0 1px 2px 0 rgba(60,64,67,0.302), 0 1px 3px 1px rgba(60,64,67,0.149);
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.302), 0 1px 3px 1px rgba(60,64,67,0.149);

    background: #fff url(../web_images/add.png) left 15px center no-repeat;
}

.update {
    background-image: url('../web_images/update.png');
}

.set {
    background-image: url('../web_images/settings.png');
    background-size: auto 50%;
    margin-right: 10px;
}

.sync {
    background-image: url('../web_images/sync.png');
}

.copy {
    background-image: url('../web_images/copy.png');
}

.show-comments {
    background-image: url('../web_images/show_comments.png');
}

.hide-comments {
    margin-bottom: 0;
    background-image: url('../web_images/hide_comments.png');
}

.sync:hover,
.show-comments:hover,
.hide-comments:hover,
.update:hover,
.add:hover,
.set:hover,
.admin-actions a:hover {
    color: #000;
    /*border: 1px solid #b6b6b6;*/

    -webkit-box-shadow: 0 1px 3px 0 rgba(60,64,67,0.302), 0 4px 8px 3px rgba(60,64,67,0.149);
    box-shadow: 0 1px 3px 0 rgba(60,64,67,0.302), 0 4px 8px 3px rgba(60,64,67,0.149);
}


@media screen and (max-width: 700px) {

    .admin-actions a {
        vertical-align: top;
        height: 35px;
        width: 35px;
        margin-right: 5px;
        font-size: 0;
        background-position: center;
    }
}



/****************** Akcni tlacitka vpravo dole ******************/

/**** Prepinani pohledu ****/

.views-btns-container {
    z-index: 321;
    position: fixed;
    display: flex;
    bottom: 105px;
    right: 170px;
    border-radius: 100px;
    overflow: hidden;
    background-color: #f2f2f2;

    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);

    -webkit-transition: all 0.4s ease;
    -moz-transition:    all 0.4s ease;
    -o-transition:      all 0.4s ease;
    transition:         all 0.4s ease;
}
.views-btns-container:hover {
    -webkit-box-shadow: 0 4px 10px rgba(0,0,0,0.25), 0 6px 8px rgba(0,0,0,0.12);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25), 0 6px 8px rgba(0,0,0,0.12);
}
/*.views-btns-container:active {
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.12), 0 3px 4px rgba(0,0,0,0.24);
    box-shadow: 0 2px 5px rgba(0,0,0,0.12), 0 3px 4px rgba(0,0,0,0.24);
}*/
.views-btns-container.editor {
    bottom: 100px;
    right: 100px;
}

.views-btns-container .view-btn {
    position: relative;
    display: block;
    height: 50px;
    width: 50px;
    opacity: .6;
    background-color: #f2f2f2;
    background-repeat: no-repeat;
    background-position: center;
    border-right: 1px solid #d9d9d9;
}
.views-btns-container .view-btn:not(.disabled):hover,
.views-btns-container .active {
    opacity: 1;
    background-color: #fff;
}
.views-btns-container .view-btn:not(.active):active {
    -webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.views-btns-container .builder {
    border-bottom-left-radius: 25px;
    border-top-left-radius: 25px;
    background-image: url(../web_images/builder_on.png);
}
.views-btns-container .admin {
    background-image: url(../web_images/editation_on.png);
}
.views-btns-container .default {
    border-bottom-right-radius: 25px;
    border-top-right-radius: 25px;
    background-image: url(../web_images/editation_off.png);
}


/********* Tlacitka *********/

.buttons-opener,
.admin-button {
    position: fixed;
    bottom: 100px;
    right: 100px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;

    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.buttons-opener:hover,
.admin-button:hover {
    -webkit-box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.buttons-opener:active,
.admin-button:active {
    -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.25), 0 1px 5px rgba(0,0,0,0.22);
    box-shadow: 0 3px 5px rgba(0,0,0,0.25), 0 1px 5px rgba(0,0,0,0.22);
}
.buttons-opener.left,
.admin-button.left {
    right: auto;
    left: 100px;
}

/* Tlacitka pro zobrazeni dalsich tlacitek */

#admin-buttons-opener,
#reservation-buttons-opener {
    z-index: 321;
    background-image: url("../web_images/settings.png");
}
#reservation-buttons-opener {
    background-image: url("../web_images/reservation_btns.png");
}
#admin-buttons-opener.open,
#reservation-buttons-opener.open  {
    background-image: url("../web_images/settings_close.png");
}

/* Tlacitka pro zobrazeni admin panelu */

.admin-button {
    z-index: 123;
    opacity: 0.0;
    -webkit-transition: all 0.4s ease;
    -moz-transition:    all 0.4s ease;
    -o-transition:      all 0.4s ease;
    transition:         all 0.4s ease;
}
.admin-button.active  {
    opacity: 1;
}

#users-btn {
    background-image: url("../web_images/users_settings.png");
}
#pages-btn {
    background-image: url("../web_images/pages_settings.png");
}
#tags-btn {
    background-image: url("../web_images/tags_manager.png");
}

#reservations-btn {
    background-image: url("../web_images/reservations.png");
}
#add-reservation-btn {
    background-image: url("../web_images/add_reservation.png");
}
#rooms-type-admin-btn {
    background-image: url("../web_images/rooms_type.png");
}
#tac-btn {
    background-image: url("../web_images/tac.png");
    background-position: center left 58%;
}

.position-1.active {
    bottom: 170px;
}
.position-2.active {
    bottom: 240px;
}
.position-3.active {
    bottom: 310px;
}
.position-4.active {
    bottom: 380px;
}


@media screen and (max-width: 1024px) {

    .views-btns-container.editor,
    .buttons-opener,
    .admin-button {
        bottom: 50px;
        right: 50px;
    }
    .buttons-opener.left,
    .admin-button.left {
        left: 50px;
    }

    .views-btns-container {
        bottom: 55px;
        right: 120px;
    }

    .position-1.active {
        bottom: 120px;
    }
    .position-2.active {
        bottom: 190px;
    }
    .position-3.active {
        bottom: 260px;
    }
    .position-4.active {
        bottom: 330px;
    }
}

@media screen and (max-width: 768px) {

    .views-btns-container.editor,
    .buttons-opener,
    .admin-button {
        bottom: 30px;
        right: 30px;
    }
    .buttons-opener.left ,
    .admin-button.left {
        left: 30px;
    }

    .views-btns-container {
        bottom: 35px;
        right: 100px;
    }

    .position-1.active {
        bottom: 100px;
    }
    .position-2.active {
        bottom: 170px;
    }
    .position-3.active {
        bottom: 240px;
    }
    .position-4.active {
        bottom: 310px;
    }
}

@media screen and (max-width: 480px) {

    .views-btns-container.editor,
    .buttons-opener,
    .admin-button {
        bottom: 15px;
        right: 15px;
    }
    .buttons-opener,
    .admin-button {
        width: 55px;
        height: 55px;
    }
    .buttons-opener.left,
    .admin-button.left {
        left: 15px;
    }

    .views-btns-container {
        bottom: 20px;
        right: 80px;
    }

    .views-btns-container .view-btn {
        height: 45px;
        width: 45px;
    }

    .position-1.active {
        bottom: 80px;
    }
    .position-2.active {
        bottom: 145px;
    }
    .position-3.active {
        bottom: 210px;
    }
    .position-4.active {
        bottom: 280px;
    }
}




/******************* ALBUM *******************/

.or-text {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;

    margin: 0 15px;
    color: #d43535;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}

.album-content .photos-container {
    display: inline-block;
    width: 100%;
}

.album-content .photos-container .photo {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.album-content .photos-container .photo > .drag {
    cursor: move;
    position: absolute;
    display: inline-block;
    bottom: 10px;
    right: 10px;
    height: 40px;
    width: 40px;
    background: #fff no-repeat center;
    background-image: url('../web_images/drag.png');
    border-radius: 50px;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    -webkit-box-shadow: 0 1px 2px 0 rgba(60,64,67,0.302), 0 1px 3px 1px rgba(60,64,67,0.149);
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.302), 0 1px 3px 1px rgba(60,64,67,0.149);
}

.album-content .photos-container .sortable-placeholder {
    display: inline-block;
    vertical-align: top;
    background-color: #ebebeb;
    border: 2px dashed #c6c6c6;
}

.album-content .delete-checkbox {
    display: none;
}

.album-content .delete-checkbox + label div {
    position: absolute;
    display: none;
    width: 40px;
    height: 40px;
    background-color: #fff;
    cursor: pointer;

    left: 10px;
    bottom: 10px;

    border-radius: 3px;
    -webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.4);
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.4);

    border: 1px solid #fff;
}

.album-content .delete-checkbox:checked + label div {
    border: 1px solid #56386c;
    background: #56386c url('../web_images/check.jpg') no-repeat center;
}

.album-content .delete-checkbox + label div:hover {
    border: 1px solid #56386c;
}




.album-content .panel-placeholder,
.remove-images-panel {
    position: relative;
    height: 82px;
    text-align: center;
}

.remove-images-panel {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;

    position: absolute;
    display: block;
    z-index: 1;
    width: 100%;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.remove-images-panel .album-button  {
    display: inline-block;
    vertical-align: top;
    padding: 10px 12px;
    margin: 20px 15px;
    font-size: 15px;
    width: 45%;
    color: #4f4f4f;
    font-weight: 400;
    border-radius: 5px;
    background-color: #ececec;
    border: none;
    -webkit-box-shadow: 0 1px 0 0 #b3b3b3;
    box-shadow: 0 1px 0 0 #b3b3b3;
}
.remove-images-panel .album-button:hover {
    background-color: #e2e2e2;
}
.remove-images-panel .album-button:active {
    background-color: #cccccc;
}


.remove-images-panel .remove-images-submit  {
    color: #fff;
    background-color: #e6454e;
    -webkit-box-shadow: 0 1px 0 0 #b30009;
    box-shadow: 0 1px 0 0 #b30009;
}
.remove-images-panel .remove-images-submit:hover {
    background-color: #d34048;
}
.remove-images-panel .remove-images-submit:active {
    background-color: #c03a42;
}
.remove-images-panel .remove-images-submit:disabled {
    opacity: 0.6;
}
.remove-images-panel .remove-images-submit:disabled:hover {
    background-color: #e6454e;
}


@media screen and (max-width: 768px) {

    .remove-images-panel .album-button  {
        width: 65%;
        padding: 10px 9px;
    }

    .remove-images-panel .remove-images-submit  {
        font-size: 0;
        background-image: url('../web_images/delete_white.png');
        background-repeat: no-repeat;
        background-position: center;
        height: 40px;
        width: 40px;
    }
}


.album-content .photos-container .photo a {
    width: 100%;
}

@media screen and (max-width: 768px) {

    .album-content .photos-container .photo {
        width: 25%;
    }
}

@media screen and (max-width: 480px) {

    .album-content .photos-container .photo {
        width: 50%;
    }
}





/**************** Podklad modalniho okna ****************/

.overlay {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 666;
    background: rgba(27, 28, 36, 0.55);

    pointer-events: none;
    opacity: 0;
    height: 0;
    overflow: hidden;

    transition-property: opacity, height;
    transition-duration: .3s, 0s;
    transition-delay: 0s, .3s;
}
.overlay.active {
    pointer-events: auto;
    opacity: 1;
    height: 100%;
    transition-delay: 0s, 0s;
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {

    .overlay .modal-panel {
        display: none;
    }
    .overlay.active .modal-panel {
        display: block;
    }
}

#overlay-confirm {
    z-index: 999;
}

.modal-open {
    position: fixed;
    overflow-y: scroll;
    width: 100%;
}



/******************** Modalni okno ********************/

.modal-panel {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;

    z-index: 777;
    position: relative;
    width: 700px;
    text-align: left;
    line-height: normal;
    color: #636363;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.25);

    overflow: hidden;
    border: none;
}

.modal-panel .close {
    z-index: 1;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 22px;
    height: 22px;
    line-height: 20px;
    color: #797979;
    font-size: 34px;
    font-weight: 300;
}
.modal-panel .close:hover {
    color: #636363;
}

.modal-panel.small {
    width: 500px;
}

.modal-panel.big {
    width: 900px;
}

.modal-panel .hidden {
    display: none;
}


/*************** Formular v modalnim okne ***************/

.modal-panel form table {
    width: 100%;
}

.modal-panel form th,
.modal-panel form td {
    display: block;
    font-weight: 400;
    font-size: 14px;
}

.modal-panel form th {
    margin-top: 17px;
    margin-bottom: 3px;
    text-align: left;
}
.modal-panel form .required th label {
    font-weight: 600;
}

/********************** Telo modalniho okna **********************/

.modal-panel .wrapper {
    display: flex;
    flex-direction: column;
    max-height: 93vh;
}

.modal-panel .reservation-component .wrapper {
    height: 93vh;
}

.modal-panel .head,
.modal-panel .foot {
    height: 64px;
    flex-shrink: 0;
}

/************ Zahlavi modalniho panelu ************/

.modal-panel .head {
    position: relative;
    font-size: 17.5px;
    padding: 19px 20px;
    padding-right: 55px;
    text-align: left;
    background: #ededed;
    border-bottom: 1px solid #cccccc;
}

#delete-status-panel .modal-panel .head,
#simple-delete-panel .modal-panel .head,
#delete-panel .modal-panel .head {
    height: auto;
    min-height: 64px;
}

.modal-panel .head .sep {
    margin-left: 15px;
    font-weight: 300;
}

.modal-panel .head label.disable {
    opacity: 0.5;
    pointer-events: none;
}

.modal-panel .head .button {
    margin: 0;
    margin-left: 17px;
    padding: 5px 12px 5px 31px;
    color: #737373;
    background-position: left 8px center;
    -webkit-box-shadow: 0 1px 0 0 rgba(60,64,67,0.152), 0 0 6px 0 rgba(60,64,67,0.149);
    box-shadow: 0 1px 0 0 rgba(60,64,67,0.152), 0 0 6px 0 rgba(60,64,67,0.149);
}
.modal-panel .head .button:hover {
    color: #636363;
    -webkit-box-shadow: 0 1px 0 0 rgba(60,64,67,0.15), 0 2px 10px 0 rgba(60,64,67,0.3);
    box-shadow: 0 1px 0 0 rgba(60,64,67,0.15), 0 2px 10px 0 rgba(60,64,67,0.3);
}


/******* Taby v zahlavi pro prepinani vypisu *******/

.modal-panel .head.tabs-active {
    height: 110px;
}

.modal-panel .tabs {
    position: absolute;
    display: flex;
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: row;
    justify-content: center;
    font-size: 13px;
}

.modal-panel .tabs a,
.modal-panel .tabs span {
    display: inline-block;
    opacity: 0.8;
    width: 100%;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    color: #7a7a7a;
    border-bottom: 0px solid transparent;
}

.modal-panel .tabs a:hover,
.modal-panel .tabs a.active,
.modal-panel .tabs span.active {
    opacity: 1;
    border-bottom: 3px solid #ccc;
}

.modal-panel .tabs a:hover.active,
.modal-panel .tabs a:focus {
    opacity: 1;
    color: #6c6c6c;
    border-bottom: 3px solid #c7c7c7;
}


/******* Formular v zahlavi modalniho panelu *******/

.modal-panel .head th {
    margin: 8px 0 0;
}

.modal-panel .head th .validation-nok {
    float: none;
    margin: 2px 0;
    color: #f15757;
    background: none;
}

.modal-panel .head td {
    font-size: 14.5px;
    margin-bottom: 15px;
}
.modal-panel .head .reset-margin {
    margin-bottom: 0;
}

.modal-panel .head td.select-all {
    font-size: 13.5px;
    margin-bottom: 5px;
}

.modal-panel .head table label {
    margin-top: 3px;
    display: inline-block;
}


/************** Telo modalniho panelu **************/

.modal-panel .body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 6px 25px 26px;
    background-color: #fafafa;
}

/* IE fix */
@media
    screen and (-ms-high-contrast: active) and (min-width: 701px),
    screen and (-ms-high-contrast: none) and (min-width: 701px) {

    .modal-panel .body {
        max-height: calc(93vh - 128px);
    }
}

.modal-panel .body.without-pads {
    padding: 0;
}

.modal-panel .body .paginator {
    margin: 0;
}

.modal-panel .body .more-button {
    color: #808080;
    border: none;
    line-height: 40px;
    width: 100%;
    border-radius: 0;
    letter-spacing: normal;
    text-transform: none;
    -webkit-box-shadow: inset 0 -10px 22px 0 rgba(0,0,0,0.05);
    box-shadow: inset 0 -10px 22px 0 rgba(0,0,0,0.05);
}

.modal-panel .body .more-button:hover {
    color: #777777;
    background: none;
    -webkit-box-shadow: inset 0 -15px 22px 0 rgba(0,0,0,0.1);
    box-shadow: inset 0 -15px 22px 0 rgba(0,0,0,0.1);
}

.modal-panel .body .empty {
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 15px;
    color: #686868;
}
.modal-panel .body .empty a {
    color: #686868;
    border-bottom: 1px solid #d6d6d6;
}
.modal-panel .body .empty a:hover {
    border-bottom-color: #686868;
}

/** Rezervace **/

.modal-panel .body .step-title {
    margin: 20px 0 5px;
    font-size: 16px;
}

.modal-panel td .price {
    float: right;
    margin: 0;
    padding: 0;
}

.modal-panel th .detail {
    padding: 2px 5px;
    color: #808080;
    border-radius: 3px;
    background-color: #eee;
}
.modal-panel th .detail:hover {
    color: inherit;
    background-color: #d9d9d9;
}

.modal-panel .body .persons {
    margin-top: 20px;
    font-size: 14px;
}

.modal-panel .body .persons.children {
    margin-top: 0;
}

.modal-panel .body .persons-assigned.overflow {
    color: #f15757;
}

.modal-panel .body .total-price-wrapper {
    margin-top: 25px;
    padding-top: 10px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    border-top: 1px solid #d2d2d2;
}

.modal-panel .body .total-price.overflow {
    color: #f15757;
}


/************** Zapati modalniho panelu **************/

.modal-panel .body + .foot {
    border-top: 1px solid #cccccc;
}

.modal-panel .foot {
    padding: 0 20px;
}


/****************** Styly pro tlacitka ******************/

.modal-panel .confirm-btn,
.modal-panel .cancel-btn {
    display: inline-block;
    float: right;
    width: auto;
    margin: 15px 0 15px 20px;
    padding: 6px 29px;
    line-height: 21px;
    color: #fff;
    font-size: 15px;
    border: none;
    border-radius: 5px;
    background-color: #39bf71;
    -webkit-box-shadow: 0 1px 0 0 #31734d;
    box-shadow: 0 1px 0 0 #31734d;
}
.modal-panel .confirm-btn:hover {
    background-color: #49ae75;
}
.modal-panel .confirm-btn:active {
    background-color: #44a16c;
}
.modal-panel .confirm-btn:disabled {
    opacity: 0.6;
}
.modal-panel .confirm-btn:disabled:hover {
    background-color: #39bf71;
}

.modal-panel .cancel-btn {
    color: #757575;
    background-color: #ececec;
    -webkit-box-shadow: 0 1px 0 0 #b3b3b3;
    box-shadow: 0 1px 0 0 #b3b3b3;
}
.modal-panel .cancel-btn:hover {
    background-color: #dadada;
}
.modal-panel .cancel-btn:active {
    background-color: #c6c6c6;
}
.modal-panel .cancel-btn.left {
    float: left;
    margin-left: 0;
}

.modal-panel .confirm-btn.red {
    background-color: #e6454e;
    -webkit-box-shadow: 0 1px 0 0 #b30009;
    box-shadow: 0 1px 0 0 #b30009;
}
.modal-panel .confirm-btn.red:hover {
    background-color: #d34048;
}
.modal-panel .confirm-btn.red:active {
    background-color: #c03a42;
}


/********* Detaily v dialogovem okne pro potvrzeni ***********/

.modal-panel .show-details {
    display: inline-block;
    margin-top: 22px;
    font-size: 13px;
    color: #A6A6A6;
}
.modal-panel .show-details:hover {
    color: #707070;
}

.modal-panel .details {
    display: none;
    padding: 18px 0 10px;
    font-size: 14.5px;
}
.modal-panel .details div {
    font-size: 13px;
    color: #A6A6A6;
}
.modal-panel .details p {
    margin-bottom: 8px;

}
.modal-panel .details a:hover {
    color: #000000;
}



/**************** Superadmin panel ****************/

/********* Vypisy v modalnim okne *********/

.modal-panel table.list {
    width: 100%;
    margin-top: 18px;
    margin-bottom: 10px;
    border-collapse: collapse;
    border-style: hidden;
}

.modal-panel .list span,
.modal-panel .list abbr {
    font-weight: 200;
    color: #868686;
}

.modal-panel .list abbr {
    cursor: help;
    /*text-decoration: none;
    border-bottom: 1px dotted #9d9d9d;*/
}
.modal-panel .list abbr.downloaded-state {
    margin-right: 10px;
    text-transform: none;
}

.modal-panel .list .action abbr {
    padding: 8px 15px;
}

.modal-panel .list tr {
    font-size: 15px;
    color: #444;
    border-top: 1px solid #e6e6e6;
}
.modal-panel .list tr:hover {
    background-color: #f5f5f5;
}
.modal-panel .list tr:first-child {
    border: none;
}


.modal-panel .list th {
    padding: 10px 20px;
    width: 100%;
    font-weight: 400;
    text-align: left;
}

.modal-panel a .target-blank {
    padding-right: 15px;
    opacity: 0.4;
    background: transparent url("../web_images/target_blank.png") center right no-repeat;
}
.modal-panel a:hover .target-blank {
    opacity: 1;
}

.modal-panel .list td:last-child {
    padding-right: 10px;
}
.modal-panel .list td:first-child {
    padding-right: 0;
}

.modal-panel .list .action {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    color: #828282;
    text-align: center;
    white-space: nowrap;
}

.modal-panel .list .action a {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 3px;
}
.modal-panel .list .action a:hover {
    color: #5f5f5f;
    background-color: #e8e8e8;
}
.modal-panel .list .action a:active {
    background-color: #d6d6d6;
}


/******* Vypis stranek *******/

.list-title {
    position: relative;
    margin: 20px 20px 0;
    color: #a6a6a6;
    font-size: 13px;
    font-weight: 300;
}
.list-title:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 1px;
    top: 50%;
    background-color: #ccc;
}

.list-title span {
    z-index: 1;
    position: relative;
    padding-right: 5px;
    background-color: #fafafa;
}

.admin-items-list {
    position: relative;
    margin: 20px;
}

.dd-list {
    position: relative;
    list-style: none;
}

.dd-list .dd-list {
    padding-left: 30px;
}

.dd-collapsed .dd-list {
    display: none;
}

.dd-item,
.dd-empty,
.dd-placeholder {
    display: block;
    position: relative;
    min-height: 20px;
    line-height: 42px;
    color: #636363;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.dd-handle {
    position: absolute;
    width: 30px;
    height: 43px;
    cursor: move;
    opacity: .45;
    border-radius: 5px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    background: url(../web_images/draggable.png) no-repeat center;
}
.dd-handle:hover {
    opacity: 1;
    background-color: #f5f5f5;
}
.dd-handle:hover + .dd-content {
    -webkit-box-shadow: 0 1px 0 0 rgba(60,64,67,0.1), 0 2px 10px 0 rgba(60,64,67,0.30);
    box-shadow: 0 1px 0 0 rgba(60,64,67,0.1), 0 2px 10px 0 rgba(60,64,67,0.30);
}
.dd-dragel .dd-handle {
    cursor: move;
    opacity: 1;
    background-color: #e6e6e6;
}

.dd-content {
    height: 43px;
    margin: 5px 0;
    padding: 0 4px 0 33px;
    font-size: 15px;
    background: #fff;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 0 0 rgba(60,64,67,0.15), 0 0 6px 0 rgba(60,64,67,0.15);
    box-shadow: 0 1px 0 0 rgba(60,64,67,0.15), 0 0 6px 0 rgba(60,64,67,0.15);

    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
.dd-content.undraggable {
    padding-left: 15px;
}
.dd-content:hover {
    -webkit-box-shadow: 0 1px 0 0 rgba(60,64,67,0.1), 0 2px 10px 0 rgba(60,64,67,0.30);
    box-shadow: 0 1px 0 0 rgba(60,64,67,0.1), 0 2px 10px 0 rgba(60,64,67,0.30);
}
.dd-dragel > .dd-item .dd-content {
    margin-top: 0;
}
.dd-dragel .dd-content {
    -webkit-box-shadow: 0 1px 0 0 rgba(60,64,67,0.1), 0 4px 10px 0 rgba(60,64,67,0.30);
    box-shadow: 0 1px 0 0 rgba(60,64,67,0.1), 0 4px 10px 0 rgba(60,64,67,0.30);
}

.dd-content abbr {
    cursor: help;
    text-decoration: none;
    color: #909090;
    font-weight: 300;
    border-bottom: 1px dotted #a7a7a7;
}

.dd-content a {
    float: right;
    display: inline-block;
    padding: 8px 15px;
    height: 35px;
    margin: 4px;
    line-height: 20px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    color: #868686;
    text-align: center;
    white-space: nowrap;
    border-radius: 3px;
}
.dd-content a:hover {
    color: #5f5f5f;
    background-color: #e8e8e8;
}
.dd-content a:active {
    background-color: #d6d6d6;
}

.dd-content .action {
    float: right;
    display: inline-block;
    height: 37px;
    width: 37px;
    margin: 3px 0 3px 4px;
    border-radius: 50%;
    opacity: .9;
}
.dd-content .update-user {
    background: url(../web_images/update-user.png) center no-repeat;
}
.dd-content .update-pswd {
    background: url(../web_images/update-pswd.png) center no-repeat;
}
.dd-content .block {
    background: url(../web_images/block.png) center no-repeat;
}
.dd-content .unblock {
    background: url(../web_images/unblock.png) center no-repeat;
}
.dd-content .action.disabled {
    opacity: .5;
}

.dd-item > button {
    display: block;
    position: relative;
    cursor: pointer;
    float: left;
    width: 21px;
    height: 20px;
    margin: 12px 1px 0 32px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 5px;
}
.dd-item > button:hover {
    color: #a6a6a6;
    border: 1px solid #b3b3b3;
}
.dd-item > button:before {
    content: '';
    display: block;
    position: absolute;
    width: 19px;
    height: 19px;
    background: url(../web_images/arrow_show.png) center no-repeat;
    background-size: 56%;
}
.dd-item > button[data-action="collapse"]:before {
    content: '';
    background: url(../web_images/arrow_hide.png) center no-repeat;
    background-size: 56%;
}

.dd-placeholder,
.dd-empty {
    margin: 5px 0;
    padding: 0;
    min-height: 30px;
    background-color: #ebebeb;
    border: 1px dashed #c6c6c6;
    border-radius: 5px;
}

.dd-dragel {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}



/******* Obsah rezervace *******/

.modal-panel .list tr.active {
    background-color: #fff;
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.modal-panel .list tr.inactive {
    opacity: 0.6;
    -webkit-transition: opacity 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out;
    -ms-transition: opacity 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
}
.modal-panel .list tr.inactive:hover {
    opacity: 1;
}

.modal-panel .list .detail-opener {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px solid transparent;
}
.modal-panel .list tr.active .detail-opener {
    border-bottom: 1px solid #ebebeb;
}
.modal-panel .list tr.active .detail-opener:hover {
    background-color: #fafafa;
}

.modal-panel .list .data {
    display: inline-block;
    padding: 8px 15px 8px 0;
    font-weight: 400;
    color: #444;
}
.modal-panel .list .id {
    min-width: 50px;
    font-weight: 300;
}
.modal-panel .list .date {
    min-width: 18%;
}

.modal-panel .list .date:after {
    content: "\A";
    white-space: pre;
}

/** Stavy rezervace **/

.modal-panel .list .state {
    float: right;
    display: inline-block;
    padding: 8px 15px;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 3px;
}
.modal-panel .list .state.waiting {
    background-color: #fdbd8c;
}
.modal-panel .list .state.done {
    background-color: #9fd6ab;
}
.modal-panel .list .state.canceled {
    background-color: #c3c3c3;
}
.modal-panel .list .state.exceeded {
    margin-right: 10px;
    background-color: #e86363;
}
.modal-panel .list .state.exceeded:hover {
    background-color: #d95d5d;
}

/** Tlacitko sbal/rozbal **/

.modal-panel .list .toggle-btn {
    float: right;
    height: 35px;
    width: 35px;
    margin-left: 10px;
    border-radius: 3px;
    background: #ebebeb url("../web_images/arrow_show.png") center no-repeat;

    -webkit-transition: background-color 0.2s ease-out;
    -moz-transition: background-color 0.2s ease-out;
    -ms-transition: background-color 0.2s ease-out;
    -o-transition: background-color 0.2s ease-out;
    transition: background-color 0.2s ease-out;
}
.modal-panel tr.active .toggle-btn {
    background: #ebebeb url("../web_images/arrow_hide.png") center no-repeat;
}
.modal-panel .list .detail-opener:hover .toggle-btn  {
    background-color: #d9d9d9;
}

/** Detail rezervace **/

.modal-panel .reservations-content {
    display: none;
}
.modal-panel tr.active .reservations-content.active {
    display: block;
}

.modal-panel .reservations-inner-content {
    position: relative;
    margin: 5px 20px 30px;
}

.modal-panel .reservations-content .exceeded {
    padding: 13px 20px;
    color: #fff;
    background-color: #e86363;
}

.modal-panel .reservations-content .action {
    position: absolute;
    margin-top: 10px;
    width: 190px;
    top: 0;
    right: 0;
    white-space: normal;
}

.modal-panel .reservations-content .action a:first-of-type {
    margin-bottom: 30px;
}

.modal-panel .reservations-content .action a {
    margin-top: 10px;
    width: 100%;
    background-color: #ebebeb;
}

.modal-panel .reservations-sum h4,
.modal-panel .reservations-content h4 {
    padding-top: 15px;
    color: #b3b3b3;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
}

.modal-panel .reservations-sum h4,
.modal-panel .reservations-content h4 {
    padding-bottom: 3px;
}

.modal-panel .reservations-sum p {
    font-size: 14px;
}
.modal-panel .reservations-sum .room {
    margin-top: 6px;
}

.modal-panel .reservations-content p {
    line-height: 1.5;
}

.modal-panel .reservations-sum p a,
.modal-panel .reservations-content p a {
    padding: 0 5px;
    margin-right: 6px;
    background-color: #F0F0F0;
    border-radius: 3px;
}
.modal-panel .reservations-sum p a:hover,
.modal-panel .reservations-content p a:hover {
    background-color: #e6e6e6;
}

.modal-panel .reservations-sum .space  {
    margin-top: 20px;
}


@media screen and (max-width: 900px) {

    .modal-panel.big {
        width: 100%;
        border-radius: 0;
        position: initial;
        transform: none;
        box-shadow: none;
    }

    .modal-panel.big .wrapper {
        max-height: none;
        height: 100vh;
    }
}

@media screen and (max-width: 700px) {

    div:not(#login-panel) .modal-panel:not(.small) {
        width: 100%;
        border-radius: 0;
        position: initial;
        transform: none;
        box-shadow: none;
    }

    .modal-panel .wrapper,
    .modal-panel .reservation-component .wrapper {
        max-height: none;
        height: 100vh;
    }
}

@media screen and (max-width: 540px) {

    .modal-panel .list .data {
        padding: 3px 15px 3px 0;
    }

    .modal-panel .list .state,
    .modal-panel .list .toggle-btn {
        height: 26px;
        width: 26px;
        padding: 0;
        font-size: 0;
    }

    .modal-panel .reservations-content .action {
        position: static;
        margin-top: 10px;
        width: 100%;
    }

    .modal-panel .reservations-content .action a:first-of-type {
        margin-bottom: 10px;
    }

    .modal-panel .reservations-content .action a {
        margin: 10px;
        width: auto;
    }

}

@media screen and (max-width: 500px) {

    form .error {
        font-size: 13px;
    }

    .modal-panel.small {
        width: 95%;
    }

    /* zahlavi */

    .modal-panel .close {
        right: 10px;
        top: 17px;
        font-size: 30px;
    }

    .modal-panel .head {
        font-size: 15px;
        padding: 17px 14px;
        padding-right: 40px;
    }

    .modal-panel .head.tabs-active {
        height: 100px;
    }

    .modal-panel .head,
    #delete-status-panel .modal-panel .head,
    #simple-delete-panel .modal-panel .head,
    #delete-panel .modal-panel .head {
        height: auto;
        min-height: 55px;
    }


    .modal-panel .head > span {
        display: block;
    }
    .modal-panel .head > span.hidden {
        display: none;
    }

    .modal-panel .head .sep {
        margin-left: 0;
        margin-right: 15px;
    }

    .modal-panel .head .button {
        font-size: 0;
        position: absolute;
        top: 12px;
        margin-left: 10px;
        padding: 15px 12px 15px 19px;
    }

    .modal-panel .head table td.select-all {
        margin-bottom: 8px;
    }

    .modal-panel .head table td {
        font-size: 13.5px;
    }

    .modal-panel .head table label {
        margin-top: 10px;
    }

    /* telo */

    .modal-panel .body {
        padding: 6px 14px 26px;
    }

    .modal-panel form th {
        margin-top: 15px;
        margin-bottom: 2px;
    }

    .modal-panel form th, .modal-panel form td {
        font-size: 13px;
    }


    .modal-panel .body .step-title {
        font-size: 14px;
    }

    .modal-panel .body .persons,
    .modal-panel .body .total-price-wrapper {
        font-size: 13px;
    }


    /* zapati */

    .modal-panel .foot {
        height: 55px;
        padding: 0 14px;
    }

    .modal-panel .show-details {
        margin-top: 19px;
        font-size: 12px;
    }

    .modal-panel .details {
        font-size: 13px;
    }

    .modal-panel .confirm-btn,
    .modal-panel .cancel-btn {
        margin: 10px 0 10px 10px;
        padding: 8px 12px;
        line-height: 17px;
        font-size: 13px;
    }



    .modal-panel .list tr {
        font-size: 13px;
    }

    .modal-panel .list th {
        padding: 14px 14px;
    }

    .modal-panel .tabs,
    .modal-panel .list .action {
        font-size: 11px;
    }

    .list-title {
        margin: 20px 14px 0;
        font-size: 12px;
    }

    .admin-items-list {
        margin: 14px;
    }

    .dd-content {
        font-size: 13px;
    }

    .dd-content a {
        line-height: 19px;
        font-size: 11px;
    }

    .modal-panel .list .detail-opener {
        padding-left: 15px;
        padding-right: 15px;
    }

    .modal-panel .reservations-inner-content {
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 20px;
    }

    .modal-panel .reservations-sum h4,
    .modal-panel .reservations-content h4 {
        padding-top: 11px;
        font-size: 11px;
    }

    .modal-panel .reservations-sum p {
        font-size: 13px;
    }



    form input,
    form textarea,
    form select {
        padding: 8px 10px;
        font-size: 14px;
    }

    form .validation-nok {
        float: none;
        display: block;
        height: auto;
    }
}


/**************** Styly pro Sortable UI ****************/

.modal-panel .sortable-ui tr {
    cursor: move;
}

.modal-panel .sortable-ui tr.cancel-sortable-ui {
    cursor: default;
}

.modal-panel .list tr.sortable-placeholder {
    background-color: #ebebeb;
    border: 2px dashed #c6c6c6;
}




/********************** Styly pro scrollbar **********************/

.modal-panel .body::-webkit-scrollbar {
    width: 12px;
    background-color: #ffffff;
}

.modal-panel .body::-webkit-scrollbar-thumb {
    border: 2px solid #ffffff;
    background-color: #c1c1c1;
}
.modal-panel .body::-webkit-scrollbar-thumb:hover {
    background-color: #B1B1B1;
}
.modal-panel .body::-webkit-scrollbar-thumb:active {
    background-color: #9a9a9a;
}





/********************** Builder **********************/

.builders-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 110px 0;
    background-color: #ededed;
}

.components-wrapper {
    margin: 20px auto;
    min-width: 33%;
    max-width: 600px;
}

.components-list {
    list-style: none;
    font-size: 0;
    /*overflow: auto;*/
}

.components-list .component {
    position: relative;
    display: flex;
    margin-bottom: 10px;
    font-size: 15px;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    border-radius: 5px;
    background-color: #fff;
    overflow: hidden;
    -webkit-box-shadow: 0 1px 0 0 rgba(60,64,67,0.15), 0 0 6px 0 rgba(60,64,67,0.15);
    box-shadow: 0 1px 0 0 rgba(60,64,67,0.15), 0 0 6px 0 rgba(60,64,67,0.15);

    -webkit-transition: box-shadow 0.2s ease-out;
    -moz-transition: box-shadow 0.2s ease-out;
    -ms-transition: box-shadow 0.2s ease-out;
    -o-transition: box-shadow 0.2s ease-out;
    transition: box-shadow 0.2s ease-out;
}
.components-list .component:hover {
    -webkit-box-shadow: 0 1px 0 0 rgba(60,64,67,0.1), 0 2px 10px 0 rgba(60,64,67,0.30);
    box-shadow: 0 1px 0 0 rgba(60,64,67,0.1), 0 2px 10px 0 rgba(60,64,67,0.30);
}
.components-list .component.disabled {
    opacity: 0.6;
}
.components-list .component.disabled:hover {
    opacity: 1;
}

.components-list .component.display-none {
    display: none;
}

.components-list .draggable {
    cursor: move;
    opacity: .45;
    width: 30px;
    background: url("../web_images/draggable.png") no-repeat center;
}
.components-list .draggable:hover {
    opacity: 1;
    background-color: #f5f5f5;
}
.components-list .draggable:active {
    background-color: #ededed;
}

.components-list .inner-wrapper {
    display: flex;
    flex-grow: 1;
    align-items: center;
    padding: 10px 10px 10px 0;
}

.components-list .label {
    display: inline-block;
    flex-grow: 1;
    padding-left: 6px;
    color: #636363;
}

.components-list span {
    margin-right: 5px;
    font-weight: 600;
}

.components-list .action {
    color: #828282;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
}
.components-list .action:hover {
    background-color: #efefef;
}
.components-list .action:active {
    background-color: #dddddd;
}

.components-list .sortable-placeholder {
    margin-bottom: 10px;
    background-color: #ebebeb;
    border-radius: 5px;
    border: 2px dashed #c6c6c6;
}


.component-type-selected {
    pointer-events: none;
    background-color: #ebebeb;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.component-type-selected::-ms-expand {
    display: none;
}




/********************** Spinner **********************/

.ajax-overlay {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 666;
    background: rgba(218, 218, 220, 0.65);

    opacity: 0;

    -webkit-transition: opacity 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out;
    -ms-transition: opacity 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
}
.ajax-overlay.active {
    opacity: 1;
}

.ajax-overlay .center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/*.ajax-overlay.btn-spinner .center {
    left: 10%;
}*/

.ajax-overlay .center p {
    margin-top: 59px;
    padding-top: 46px;
    color: #636363;
    font-size: 14.5px;
    font-weight: 400;
    text-align: center;
}

@keyframes lds-rolling {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg);
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
@-webkit-keyframes lds-rolling {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg);
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
.lds-rolling {
    position: relative;
}
.lds-rolling div,
.lds-rolling div:after {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #636363;
    border-top-color: transparent;
    border-radius: 50%;
}
.lds-rolling div {
    -webkit-animation: lds-rolling 2s linear infinite;
    animation: lds-rolling 2s linear infinite;
    left: 50%;
}
.lds-rolling div:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.ajax-overlay.btn-spinner .lds-rolling div,
.ajax-overlay.btn-spinner .lds-rolling div:after {
    width: 15px;
    height: 15px;
}



.more-button {
    position: relative;
    overflow: hidden;
}



.gm-form-map {
    height: 401px;
    border: 1px solid #ccc;
}


.clearfix::after {
    content: " ";
    clear: both;
    display: table;
}




/*** TODO melo by byt v main.css ???
POKUD JE POLE PRAZDNE ***/
.empty {
    margin-top: 20px;
    margin-bottom: 75px;
    font-size: 18px;
    text-align: center;
}

@media screen and (max-width: 768px) {

    .empty {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {

    .empty {
        font-size: 14px;
    }
}



/********************* Tippy - tooltipy ********************/

.tippy-tooltip.default-theme {
    font-size: 14px;
    font-family: 'Open Sans', Arial, sans-serif;
    padding: 7px 11px 8px;
}