﻿/* SPOMIENKA NA PUCKU */
.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    left: 49%;
    top: 49%;
}

    .lds-spinner div {
        transform-origin: 32px 32px;
        animation: lds-spinner 1.2s linear infinite;
    }

        .lds-spinner div:after {
            content: " ";
            display: block;
            position: absolute;
            top: 3px;
            left: 29px;
            width: 5px;
            height: 14px;
            border-radius: 20%;
            background: #fff;
        }

        .lds-spinner div:nth-child(1) {
            transform: rotate(0deg);
            animation-delay: -1.1s;
        }

        .lds-spinner div:nth-child(2) {
            transform: rotate(30deg);
            animation-delay: -1s;
        }

        .lds-spinner div:nth-child(3) {
            transform: rotate(60deg);
            animation-delay: -0.9s;
        }

        .lds-spinner div:nth-child(4) {
            transform: rotate(90deg);
            animation-delay: -0.8s;
        }

        .lds-spinner div:nth-child(5) {
            transform: rotate(120deg);
            animation-delay: -0.7s;
        }

        .lds-spinner div:nth-child(6) {
            transform: rotate(150deg);
            animation-delay: -0.6s;
        }

        .lds-spinner div:nth-child(7) {
            transform: rotate(180deg);
            animation-delay: -0.5s;
        }

        .lds-spinner div:nth-child(8) {
            transform: rotate(210deg);
            animation-delay: -0.4s;
        }

        .lds-spinner div:nth-child(9) {
            transform: rotate(240deg);
            animation-delay: -0.3s;
        }

        .lds-spinner div:nth-child(10) {
            transform: rotate(270deg);
            animation-delay: -0.2s;
        }

        .lds-spinner div:nth-child(11) {
            transform: rotate(300deg);
            animation-delay: -0.1s;
        }

        .lds-spinner div:nth-child(12) {
            transform: rotate(330deg);
            animation-delay: 0s;
        }

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#leasit-overlay {
    position: fixed;
    /* Sit on top of the page content */
    display: none;
    /* Hidden by default */
    width: 100%;
    /* Full width (cover the whole page) */
    height: 100%;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
    z-index: 3000;
    /* Specify a stack order in case you're using a different order for other elements */
    cursor: default;
    /* Add a pointer on hover */
}

.dataTables_paginate {
    padding-top: 10px;
}

.dataTables_info {
    width: 100%;
}

.datagrid-table-box {
    overflow: auto;
}

.datagrid-row-btn {
    margin-bottom: 0 !important;
    margin-right: 3px;
}

.datagird-button {
    margin-bottom: 15px !important;
    font-size: 12px !important;
}

.datagrid-overflow {
    overflow-y: hidden;
}

.dataTables_processing {
    display: none !important;
}

.dataTables_scrollBody thead tr {
    visibility: collapse;
}

.dropdown-menu > li.line {
    border-top: 1px solid black;
}

    .dropdown-menu > li.line ~ li.line {
        border: none;
    }

.dropdown-menu li a {
    margin: 0px !important;
}

.dropdown-menu .section {
    text-align: left;
    background-color: #337ab7;
    line-height: 35px;
    color: white;
    padding-left: 5px;
    font-size: 13px;
}

.dropdown-menu li.item a:hover {
    background-color: rgba(51, 122, 183, 0.5);
}

.ibox-title {
    text-align: center;
    position: relative;
}

    .ibox-title h3,
    .ibox-title h5 {
        display: inline-block;
        float: none;
    }

    .ibox-title .tools {
        float: left;
    }

.bottom-buttons {
    float: right;
}

.dataTable th {
    background-color: #337ab7 !important;
    color: white !important;
}

.dataTable div.center {
    width: 20px;
    text-align: center;
}

.selected-row {
    color: white;
}

    .selected-row td {
        background-color: rgba(51, 122, 183, 0.5) !important;
    }

.menu-icon {
    width: 22px;
    float: left;
    display: inline;
}
/*.table-basic > thead > tr > th,
.table-basic > tbody > tr > th,
.table-basic > tfoot > tr > th {
    padding: 3px;
}*/
.table-basic {
    line-height: 15px;
    border-spacing: 2px;
}

    .table-basic td {
        padding: 2px !important;
    }

    .table-basic th {
        padding: 5px;
    }

    .table-basic tr:nth-child(even) {
        background: rgba(51, 122, 183, 0.2);
    }

.ibox-basic {
    border-width: 1px 0 0;
    padding: 6px 14px 0;
    min-height: inherit;
}

.dataTables_wrapper {
    padding-bottom: 0px !important;
}

.datagrid-context-menu {
    position: fixed;
    top: 300px;
    left: 300px;
    background: white;
    box-shadow: 0px 10px 20px 0px #337ab7;
    display: none;
    z-index: 1000;
    padding-left: 2px;
    padding-right: 2px;
}

    .datagrid-context-menu .datagrid-context-menu-table-wrapper {
        border-top: 1px solid #676a6c;
        line-height: 7px;
        padding-top: 5px;
        font-size: 12px;
        width: 100%;
    }

        .datagrid-context-menu .datagrid-context-menu-table-wrapper table td {
            padding: 5px;
        }

        .datagrid-context-menu .datagrid-context-menu-table-wrapper table tr:hover {
            background: #337ab7;
            color: white;
        }

    .datagrid-context-menu .datagrid-context-menu-loading,
    .datagrid-context-menu .datagrid-context-menu-fail {
        margin: 5px;
    }

    .datagrid-context-menu > .datagrid-context-menu-items > ul {
        margin-bottom: 0;
        list-style: none;
        padding: 0;
        line-height: 25px;
    }

        .datagrid-context-menu > .datagrid-context-menu-items > ul a {
            color: #337ab7;
            display: block;
            min-width: 200px;
        }

        .datagrid-context-menu > .datagrid-context-menu-items > ul > li {
            padding-left: 5px;
            padding-right: 5px;
            border: 1px solid #337ab7;
            margin: 2px;
        }

        .datagrid-context-menu > .datagrid-context-menu-items > ul li:hover {
            background: #337ab7;
        }

            .datagrid-context-menu > .datagrid-context-menu-items > ul li:hover > a {
                color: white;
            }

.datagrid-datefilter-date span.disabled {
    background-color: #eee !important;
    pointer-events: none;
}

.datagrid-settings-modal .modal-dialog {
    width: 500px;
}

.datagrid-settings-modal .datagrid-settings-modal-checkbox {
    line-height: 16px;
    margin-top: 0;
    margin-bottom: -3px;
}

.datagrid-settings-modal .dd-handle:hover {
    font-weight: normal;
}

.datagrid-settings-modal .modal-body {
    padding: 5px 30px 5px 30px;
}

.dd-dragel .datagrid-settings-modal-checkbox {
    line-height: 16px;
    margin-top: 0;
    margin-bottom: -3px;
}

.dd-dragel .dd-handle:hover {
    font-weight: normal;
}

.detail .row {
    margin-bottom: 20px;
}

.grid-filter .form-group {
    margin-bottom: 5px !important;
}

.grid-filter .form-control {
    padding: 3px 6px !important;
    height: 30px;
}

.grid-filter .bootstrap-select .btn {
    padding: 3px 6px !important;
    height: 30px;
    font-size: 12px;
}

button[name="datagrid-filter-save"] {
    float: left;
}

button[name="datagrid-filter-reload"] {
    float: left;
}

.datagrid-ibox {
    position: relative;
}

.datagrid-overlay {
    position: absolute;
    /* Sit on top of the page content */
    display: none;
    /* Hidden by default */
    width: 100%;
    /* Full width (cover the whole page) */
    height: 100%;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
    z-index: 3000;
    /* Specify a stack order in case you're using a different order for other elements */
    cursor: default;
    /* Add a pointer on hover */
}

.datagrid-tab-container .panel-body {
    padding: 0;
}

    .datagrid-tab-container .panel-body .ibox {
        margin-bottom: 0 !important;
    }

.datagrid-preview {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    left: 50%;
    right: 0;
    bottom: 0;
    z-index: 3000;
    cursor: default;
    max-height: 622px;
    flex-flow: column;
    background-color: white;
    display: flex;
    border: 1px solid #e5e5e5;
}

/* Celá bunka s dokumentom je klikateľná. */
.datagrid-document-download-cell {
  cursor: pointer;
}

/* Všetky boolean checkboxy vykreslené v DataTable sú zarovnané na stred bunky. */
.datagrid-checkbox {
    display: block;
    width: 100%;
    text-align: center;
}

    .datagrid-preview .datagrid-preview-body {
        background-color: #676a6c;
        overflow-y: scroll;
        flex: 1 1 auto;
    }

    .datagrid-preview .datagrid-preview-footer {
        flex: 0 1 40px;
        padding: 10px 30px 10px 30px;
        border-top: 1px solid #e5e5e5;
    }

.dealerdetail h1 {
    font-size: 35px;
}

.dealerdetail ul {
    font-size: 15px;
}

.dealerdetail table {
    font-size: 15px;
}

.fds-detail-link {
    font-size: 15px;
}

    .fds-detail-link .fds-detail-link-back {
        float: right;
    }

table[name=grid_fds_web_dealer_list-datagrid] {
    font-size: 11px;
}

table[name=grid_fds_web_prehlad_faktur-datagrid] {
    font-size: 11px;
}

    .datagrid-ibox table.dataTable[name=grid_fds_web_prehlad_faktur-datagrid] thead th {
        vertical-align: middle !important;
        text-align: center !important;
        padding: 10px !important;
    }


/* Bootstrap 4 pridáva zarovnávacím triedam !important; text hlavičky Skladu
   zostane zarovnaný doľava rovnako ako v pôvodnej verzii DataTables. */
table[name=grid_fds_web_sklad-datagrid] thead th {
    text-align: left !important;
}

html * {
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
}

.vcenter {
    display: flex;
    align-items: center;
}

.sorting_disabled {
    background-color: transparent !important;
}

.slick-dots {
    z-index: 1000;
}

.product-image {
    padding: 10px 0;
    width: auto;
    height: 200px;
    margin: auto;
}
/*
    LOGIN PAGE
*/
.login-or {
    line-height: 0.5;
    text-align: center;
    display: inline-block;
    position: relative;
    color: #8c8c8c;
}

    .login-or:before,
    .login-or:after {
        content: "";
        position: absolute;
        height: 5px;
        border-bottom: 1px solid #e6e6e6;
        border-top: 1px solid #e6e6e6;
        top: 0;
        width: 150px;
    }

    .login-or:before {
        right: 100%;
        margin-right: 15px;
    }

    .login-or:after {
        left: 100%;
        margin-left: 15px;
    }

.login-btn-social {
    background-color: #ededed;
    border: none;
    border-bottom: solid 2px #e1e1e1;
    margin-bottom: 20px;
    padding: 0px;
    font-size: 15px;
    height: 44px;
    line-height: 44px;
    color: #676a6c;
}

    .login-btn-social:hover {
        background-color: #e8e8e8;
        color: #676a6c;
    }

.login-social-icon {
    float: left;
    min-width: 46px;
    height: 44px;
    color: white;
    font-size: 23px;
    margin: 0px;
    padding-left: 13px;
    padding-right: 13px;
}

.login-social-icon-fb {
    background-color: #3f57a4;
    border-bottom: solid 2px #3e528e;
}

    .login-social-icon-fb:hover {
        background-color: #3f57a4;
    }

.login-social-icon-google {
    background-color: #f66362;
    border-bottom: solid 2px #ec5458;
}

.no-float {
    float: none !important;
}

.error-message-div {
    /* Flex zarovná ikonu a text hlášky zvislo na stred aj v Bootstrape 4. */
    display: flex;
    align-items: center;
    min-height: 80px;
    padding-left: 10px;
    border: solid 2px #ec5458;
    color: #ec5458;
    background-color: rgba(236, 84, 88, 0.1);
    margin-left: 1px;
    margin-right: 1px;
}

.error-message-div-sm-lh {
    /* Flex zarovná ikonu a text hlášky zvislo na stred aj v Bootstrape 4. */
    display: flex;
    align-items: center;
    min-height: 30px;
    padding-left: 10px;
    border: solid 2px #ec5458;
    color: #ec5458;
    background-color: rgba(236, 84, 88, 0.1);
    margin-left: 1px;
    margin-right: 1px;
}


.success-message-div {
    /* Flex zarovná ikonu a text hlášky zvislo na stred aj v Bootstrape 4. */
    display: flex;
    align-items: center;
    min-height: 80px;
    border: solid 2px #17977d;
    color: #17977d;
    background-color: rgba(23, 151, 125, 0.1);
    margin-left: 1px;
    margin-right: 1px;
}

.success-message-div-sm-lh {
    /* Flex zarovná ikonu a text hlášky zvislo na stred aj v Bootstrape 4. */
    display: flex;
    align-items: center;
    min-height: 40px;
    border: solid 2px #17977d;
    color: #17977d;
    background-color: rgba(23, 151, 125, 0.1);
    margin-left: 1px;
    margin-right: 1px;
}


.error-icon {
    vertical-align: middle;
    margin: 0 5px 0 0;
}


.success-icon {
    vertical-align: middle;
    margin: 0 5px 0 7px;
}

.zohan-hidden {
    display: none;
}

.hodiny_datum {
    color: #999c9e;
}

.lang_info {
    color: #999c9e;
}

/* Spoločná os dátumu a prepínača jazyka v hornej navigácii. */
.top-navbar-info {
    display: flex;
    align-items: center;
    min-height: 60px;
}

.top-navbar-info .hodiny_datum {
    margin: 0 5px;
}

.top-navbar-info .lang_info {
    margin: 0 60px 0 5px;
}

/* Admin nemá položku Zmena konta, preto odsadíme samostatné menu od prepínača jazyka. */
.admin-navbar-links {
    margin-left: 20px;
}

.hodiny_meniny {
    margin: 20px 0;
    margin-right: 40px;
    padding-left: 5px;
    padding-right: 15px;
    color: #999c9e;
    border-right: 1px #999c9e solid;
}

pre.cscode {
    margin: 0em;
    overflow: auto;
    background-color: #ffffff;
}

.cscode code {
    font-family: Consolas, "Courier New", Courier, Monospace;
    font-size: 9pt !important;
    color: #000000;
}

.cscode .key {
    color: #0000ff;
}

.cscode .com {
    color: #008000;
}

.cscode .str {
    color: #a31515;
}

.demo-img-grid-btns {
    width: 800px;
    height: auto;
}

.demo-reqired {
    color: red;
}

.ncc_logo {
    float: left;
    padding-right: 20px;
}

body.dragging,
body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}


.datagrid-column-sort > ol li.placeholder {
    position: relative;
    /** More li styles **/
}

    .datagrid-column-sort > ol li.placeholder:before {
        position: absolute;
        /** Define arrowhead **/
    }
/************************/
/**** jquery sortable ***/
/************************/
.datagrid-column-sort ol {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .datagrid-column-sort ol > li {
        padding: 1px;
    }

        .datagrid-column-sort ol > li > div:hover {
            box-shadow: 0px 0px 10px 0px #337ab7;
        }

    .datagrid-column-sort ol .placeholder:before {
        content: '';
        width: 0 !important;
        height: 0 !important;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-left: 6px solid #337ab7;
        position: absolute;
        left: -8px;
        top: -4px;
    }

    .datagrid-column-sort ol .datagrid-column-sort-content {
        border: 1px solid #337ab7;
        height: 30px;
    }

    .datagrid-column-sort ol .datagrid-column-sort-handle {
        float: left;
        background-color: #337ab7;
        color: white;
        height: 100%;
        width: 30px;
    }

        .datagrid-column-sort ol .datagrid-column-sort-handle > i {
            padding-top: 8px;
            padding-left: 7px;
        }

    .datagrid-column-sort ol .checkbox {
        display: inline-block;
        margin-left: 10px;
        margin-top: 5px;
    }

        .datagrid-column-sort ol .checkbox > label {
            padding-left: 0;
        }

.navbar-form-search {
    float: left;
    width: 300px;
    padding-top: 12px;
}

.navbar-fixed-top,
.navbar-static-top {
    z-index: 1;
}

.icon-input {
    font-weight: 600;
    font-family: "Font Awesome 5 Free", "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.search-results-wrapper .ibox-title h3,
.search-results-wrapper .ibox-title h5 {
    display: block;
    float: left;
}

input {
    font-family: FontAwesome, "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.search-results-wrapper {
    padding-bottom: 35px;
}

    .search-results-wrapper .vote-info,
    .vote-title {
        margin-left: 0px;
    }

    .search-results-wrapper .vote-item {
        border-bottom: 1px solid #e7eaec;
        border-top: none;
    }

    .search-results-wrapper h2 {
        margin-bottom: 20px;
    }

.navbar-default {
    position: fixed;
}

nav[role=navigation] ul > li > a {
    margin-left: -10px;
}

    nav[role=navigation] ul > li > a > i {
        width: 40px;
        text-align: center;
        margin-right: 10px;
    }

.ibox .tools {
    /*a i span {
        font-weight: 400 !important;
        margin-left: 2px;
        font-family: "open sans","Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size: 14px;
    }*/
}

    .ibox .tools .data-grid-spliter {
        display: inline-block;
        width: 3px;
    }

label.required::after {
    content: " (*)";
    vertical-align: super;
    font-size: 10px;
    font-weight: 400;
}

.required {
    color: red;
}

.error-div {
    height: 100%;
    padding-top: 19%;
    text-align: center;
}

    .error-div i {
        font-size: 100px;
    }

    .error-div p.text {
        font-size: 25px;
    }

.form-group {
    margin-bottom: 8px;
}

#qrcode {
    width: 100px;
    height: 100px;
    margin-top: 15px;
}

.datepicker-highlight-inactive-day {
    background-color: #DCDCDC !important;
    color: #808080 !important;
}

.datatable-datagrid {
    color: #000000;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    float: right !important;
    margin: 20px 0;
}

.inline-filter {
}

#toolbar-data-to-date-info {
    /* float: left;*/
    margin-bottom: 10px;
}

.dtrg-group {
    cursor: pointer;
}

.btn-contingency {
    color:white;
    background-color: #009fe3 !important;
}

    .btn-contingency:hover {
        background-color: #008FCC !important;
        color: white;
    }

body.waiting * {
    cursor: progress;
}

.datagrid-preview-dialog,
.datagrid-preview-content {
    width: 1131px;
    max-width: 1131px;
}

/* Kompatibilita starých ikon v gride po prechode na Font Awesome 5. */
.glyphicon.fa,
.glyphicon.fas {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.glyphicon.far {
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
}

.glyphicon-download-alt::before,
.glyphicon-download::before {
  content: "\f019";
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 1161px) {
    .datagrid-preview-dialog,
    .datagrid-preview-content {
        width: calc(100vw - 30px);
        max-width: calc(100vw - 30px);
    }
}
