* {
    scroll-behavior: smooth;
}

.wait-screen {
    position: fixed;
    z-index: 100000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,.6);
}

.del {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #ff000026;
    z-index: 10;
    opacity: 0;
    transition: all 0.2s ease;
}

.del:hover {
    opacity: 1;
}

.del:after {
    height: 100%;
    width: 100%;
    line-height: 100%;
    text-align: center;
    content: "X";
    color: #a51717;
    position: absolute;
    padding-top: calc(50% - 38px);
    font-size: 40px;
}

.wait-screen img {
    width: 70px;
    height: auto;
}

.cs-header-input {
    float: right !important;
    width: 240px !important;
}

.cs-header-headline-withinput {
    float: left !important;
    padding: 12px 3px 0 !important;
}

.cs-navbar-expand {
    height: 1.375rem !important;
    background-color: #f8f9fc !important;
}

.cs-table-row {
    transition: all 0.2s ease;
}

.cs-header-button {
    float: right;
    margin-right: 15px;
    background-color: #e18b1d !important;
    border: none !important;
    -webkit-text-fill-color: white;
    color: white;
}

.cs-header-button:focus {
    outline: none !important;
    border: none !important;
    -webkit-appearance: button;
}

.cs-sidebar-item-alert {
    position: absolute;
    right: 1rem;
    top: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem
}

.cs-input-label {
    margin: 10px 0 !important;
}

.cs-input-type-f {
    margin-left: -107px;
}

.cs-input-type-f:focus {
    outline: none;
}

.cs-input-type-f::after {
    width: 30px;
    display: block;
    height: 30px;
    color: orange;
    content: '+';
    z-index: 300;
    font-size: 30px;
    opacity: 1;
    position: absolute;
    right: 10px;
    top: 35px;
}

.cs-input-type-f-erase {
    width: 0;
    height: 0;
}


.cs-input-type-f-erase::after {
    color: #ff4200 !important;
    content: 'x' !important;
    font-size: 24px !important;
    top: 39px !important;
    right: 25px;
    position: absolute;
}

.cs-input-type-mf {
    width: 0;
    float: right;
}

.cs-input-type-mf:focus {
    outline: none;
}

.cs-input-type-mf::after {
    width: 30px;
    display: block;
    height: 30px;
    color: orange;
    content: '+';
    z-index: 300;
    font-size: 30px;
    opacity: 1;
    position: absolute;
    right: 10px;
    top: 35px;
}

.cs-input-type-mf-img {
    height: 30px;
    width: 30px;
    object-fit: contain;
    margin: 0 8px;
}

.cs-lds-circle,  .cs-lds-circle-slowly{
    display: inline-block;
    transform: translateZ(1px);
}

.cs-lds-circle > div, .cs-lds-circle > i {
    display: inline-block;
    width: 51px;
    height: 51px;
    margin: 6px;
    border-radius: 50%;
    color: #e18b1cb0;
    font-size: 51px;
    animation: lds-circle 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.cs-card-image {
    width: 100%;
    height: 90px;
    object-fit: contain;
    transition: all 0.25s ease;
}

.cs-card-image:hover {
    transform: scale(1.2);
}

@keyframes lds-circle {
    0%, 100% {
        animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
    }
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(1800deg);
        animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
    }
    100% {
        transform: rotateY(3600deg);
    }
}

.cs-lds-circle-slowly > div, .cs-lds-circle-slowly > i {
    display: inline-block;
    width: 51px;
    height: 51px;
    margin: 6px;
    border-radius: 50%;
    color: #e18b1cb0;
    font-size: 51px;
    animation: cs-lds-circle-slowly 3s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes cs-lds-circle-slowly {
    0%, 100% {
        animation-timing-function: cubic-bezier(0.33, 0, 0.66, 0.33);
    }
    0% {
        transform: rotateY(0deg);
    }
    33% {
        transform: rotateY(1800deg);
        animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
    }
    66% {
        transform: rotateY(3600deg);
    }
    100% {
        transform: rotateY(3600deg);
    }
}

.cs-page-index {
    padding: 5px;
}

.cs-page-index:hover {
    box-shadow: inset -5px -6px 0 -5px #999;
}

.cs-admin-polaroid-button-show {
    width: 45%;
    margin-right: 10%;
    float: left;
    color: #7fde50;
    text-align: center;
    transition: all 0.25s ease;
    padding-top: 2px;
}

.cs-admin-polaroid-button-main-show {
    float: left;
    color: #7fde50;
    text-align: center;
    transition: all 0.25s ease;
    padding-top: 2px;
    width: 10%;
    max-width: 40px;
    position: absolute;
    right: 60px;
    top: 5px;
}

.cs-admin-polaroid-button-show:hover,  .cs-admin-polaroid-button-main-show:hover{
    border-radius: 200px;
    background-color: #7fde502b;
}

.cs-admin-polaroid-button-delete {
    width: 45%;
    color: #e11c1c;
    text-align: center;
    transition: all 0.25s ease;
    padding-top: 2px;
    float: right;
}

.cs-admin-polaroid-button-main-delete {
    color: #e11c1c;
    text-align: center;
    transition: all 0.25s ease;
    padding-top: 2px;
    float: right;
    width: 10%;
    max-width: 40px;
    position: absolute;
    right: 10px;
    top: 5px;
}

.cs-admin-polaroid-button-delete:hover, .cs-admin-polaroid-button-main-delete:hover {
    border-radius: 200px;
    background-color: #e01b1b2b;
}

.admin-picture-sm-12 {
    width: 100%;
    padding-top: 56%;
    background-color: #eaeaea;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

.unset {
    all: unset !important;
}


@media only screen and (max-width: 700px) {

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .cs-header-input {
        width: 100% !important;
        margin-top: 10px !important;
    }

    .cs-header-headline-withinput {
        padding: 0 !important;
    }

    .cs-navbar-expand {
        margin-bottom: 0 !important;
    }

    .cs-header-button {
        float: right;
        margin-right: 15px;
        background-color: #e18b1d !important;
        border-color: #e18b1d !important;
    }

    .cs-pb-18 {
        padding-bottom: 18px;
    }

    .cs-m-0 {
        margin: 0!important;
    }

    .cs-pt-01 {
        padding-top: 0.1rem !important;
    }

    .cs-m-scale-8 {
        transform: scale(0.8);
    }

    .cs-m-tb-1 {
        margin: 1rem 10px;
    }

    .cs-checkbox-custom {
        margin: 0 !important;
        margin-bottom: 18px;
        font-size: 14px;
        padding-top: 0 !important;
    }

    #add_casting .custom-control-label:before {
        transform: scale(0.8) !important;
    }

}


span.idfile-upload, span.content-169-photo, span.content-34-photo {
    position:relative;
}
span.idfile-upload:before {
    content:"Nahrať fotografiu";
    position:relative;
    left:0;
    padding:5px;
    background: #e18b1d;
    color:#fff;
    width:100%;
    text-align:center;
    cursor:pointer;
    display: block;
}

span.idfile-upload > input, span.content-169-photo > input, span.content-34-photo > input {
    opacity:0;
    position: inherit;
    width: 100%;
    top: -2rem;
}

span.content-169-photo:before {
    content:"Nahrať fotografiu (16:9)";
    position:relative;
    left:0;
    padding:5px;
    background: #e18b1d;
    color:#fff;
    width:100%;
    text-align:center;
    cursor:pointer;
    display: block;
}

span.content-34-photo:before {
    content:"Nahrať fotografiu (3:4)";
    position:relative;
    left:0;
    padding:5px;
    background: #e18b1d;
    color:#fff;
    width:100%;
    text-align:center;
    cursor:pointer;
    display: block;
}

span.content-selected:before {
    content:"Fotografia vybraná" !important;
}

.pagination_num {
    cursor: pointer;
}

.active {
    color: #e18b1d !important;
}

.pagination_span {
    display: flex;
}

.pagination_hidden {
    display: none;
}

.viac p {
    margin-top: 0.5rem;
}

.sponsor {
    min-height: 100px;
}

.sponsor div {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: grayscale(1);
    transition: filter 0.25s ease;
}

.sponsor:hover > div {
    filter: grayscale(0);
}

.advantages .icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    object-position: center;
    margin-right: 1rem;
}

.tooltip-inner{
    min-width: 250px;
}

.filter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
    background-image: url('/images/lines-overlay.svg');
    background-size: cover;
    background-position: center;
}
