﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
button.grid-column-settings-btn:focus,
button.grid-column-settings-btn:active {
    outline: none !important;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

span.oi.spinning, 
i.oi.spinning {
    animation: spin 1s linear infinite;
}

span.badge.badge-notification {
    position: absolute;
    top: -11px;
    right: -3px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

.transition {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.transition-long {
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}
@keyframes blur-in {
    0% {
        backdrop-filter: blur(0px);
    }
    100% {
        backdrop-filter: blur(2px);
    }
}
.modal {
    animation: blur-in .4s linear;
    backdrop-filter: blur(2px);
}

@keyframes rgb-wave {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}
.rgb-wave {
    animation: rgb-wave 4s linear infinite;
    /*background-color: #f00;*/
}

@keyframes grey-blink {
    0% {
        filter: saturate(1);
    }
    100% {
        filter: saturate(.1);
    }
}
.grey-blink {
    animation: grey-blink .4s linear infinite alternate;
}

@keyframes expanding {
    0% {
        max-height: 0;
    }
    100% {
        max-height: 1000px;
    }
}
.expanding {
    animation: expanding .4s ease;
}

.color-picker-cursor {
    position: absolute;
    transform: translate(-50%, -50%);
    user-select: none;
    font-size: 30px;
}

.grid-column-settings-dropdown {
    /*margin-top: 0px;
    margin-left: -1px;
    border-width: 2px;
    border-top: none;
    border-top-right-radius: 0;
    border-top-left-radius: 0;*/
    width: 98%;
    border: none;
}

/* GRID riadok tabulky */
div.data-table-grid .table > tbody > tr.tr-zaznam {
    cursor: pointer;
    color: #fff;
    background-color: #446e9b;
    height: 34px;
}
div.data-table-grid .table >  tbody > tr.tr-zaznam:hover {
    background-color: #2B4663;
}
div.data-table-grid .table > tbody > tr.tr-zaznam.tr-novy {
    background-color: #1cc88a;
}
div.data-table-grid .table >  tbody > tr.tr-zaznam.tr-novy:hover{
    background-color: #169b6b;
}
div.data-table-grid .table > tbody > tr.tr-zaznam-vedlajsi {
    cursor: pointer;
    color: #fff;
    background-color: #7da3cb;
    height: 30px;
}
div.data-table-grid .table > tbody > tr.tr-zaznam-vedlajsi:hover {
    background-color: #6081a5;
}
div.data-table-grid .table > tbody > tr.tr-zaznam-vedlajsi.tr-novy {
    background-color: #7bbba4;
}
div.data-table-grid .table > tbody > tr.tr-zaznam-vedlajsi.tr-novy:hover {
    background-color: #5f9d86;
}
div.vedlajsi-grid div.data-table-grid .table th, 
div.vedlajsi-grid div.data-table-grid .table td {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}
div.data-table-grid .table > tbody > tr.tr-zaznam-vedlajsi .td-zaznam-check {
    padding-top:2px;
    padding-bottom:2px;
}
div.data-grid .grid-filter .card-header {
    background-color: #36b9cc !important;
}
div.data-grid.vedlajsi-grid .grid-filter .card-header {
    background-color: #61ccdc !important;
}
div.data-grid .btn-pridat-zaznam {
    background-color: #17a673 !important;
    color: #fff;
}
div.data-grid.vedlajsi-grid .btn-pridat-zaznam {
    background-color: #62cba5 !important;
    color: #fff;
}
div.data-table-grid .table > tbody > tr.tr-zaznam-vedlajsi .td-zaznam-check > .btn i.zaznam-checked {
    color: #5ae183;
}
div.data-table-grid .table > tbody .td-zaznam-check > .btn:focus {
    box-shadow:none;
}

/* GRID zoradenie riadkov */
.grid-column-settings-btn {
    border: none;
    background: transparent;
    /*color: #555;*/
    margin: 2px;
    opacity: .2;

    -webkit-transition: all 0.2s 0s ease;
    -moz-transition: all 0.2s 0s ease;
    -o-transition: all 0.2s 0s ease;
    transition: all 0.2s 0s ease;
}
.grid-column-settings-btn:hover{
    opacity: .5;
}
.grid-btn-active {
    opacity: .75;
}
.grid-btn-active:hover {
    opacity: 1;
}
/* GRID zoradenie stlpcov */
.table-bordered .grid-drag {
    -webkit-transition: all 0.15s ease;
    -moz-transition: all 0.15s ease;
    -o-transition: all 0.15s ease;
    transition: all 0.15s ease;
}
.grid-drag-on .grid-drag-targetable {
    border-right-width: 5px;
}
.table-bordered .grid-drag.grid-drag-target {
    border-right-color: #888;
}
.table-bordered th.grid-drag.grid-drag-object {
    background-color: #ddd;
    opacity: .8;
}
.grid-drag-remove .table-bordered th.grid-drag.grid-drag-object,
.grid-drag-remove .table-bordered th.grid-drag.grid-drag-object p.text-muted {
    background-color: #e74a3b;
    color: #fff !important;
    opacity: 1;
}
.table-bordered .grid-drag.grid-drag-object {
    background-color: #333;
    opacity: .2;
}
.data-table-grid th h5 {
    font-size: 1.15rem;
}
.data-table-grid th.th-active {
    animation-name: is-th-active;
    animation-duration: 2s;
}
@keyframes is-th-active {
  0%   {border-top: 2px solid #e3e6f0;}
  10%  {border-top: 2px solid #0366d6;}
  90%  {border-top: 2px solid #0366d6;}
  100% {border-top: 2px solid #e3e6f0;}
}
.grid-drag-on .grid-hide-on-drag {
    visibility: hidden;
}

th .grid-column-name p {
    -webkit-transition: all 0.15s ease;
    -moz-transition: all 0.15s ease;
    -o-transition: all 0.15s ease;
    transition: all 0.15s ease;
    max-height: 0;
    opacity: 0;
}
th:hover .grid-column-name p,
th .grid-column-name.oblast-show p {
    max-height: 50px;
    opacity: 1;
}
/* GRID detail animacia */
@keyframes expand-grid {
    0% {
        overflow:hidden;
        max-height: 0px;
    }

    99% {
        overflow:hidden;
        max-height: 70px;
    }

    100% {
        overflow:visible;
        max-height: 70px;
    }
}

@keyframes open-grid {
    0% {
        overflow:hidden;
        max-height: 70px;
    }

    99% {
        overflow:hidden;
        max-height: 999px;
    }

    100% {
        overflow:visible;
        max-height: 1000px;
    }
}

@keyframes collapse-grid {
    0% {
        max-height: 1000px;
    }
    1% {
        max-height: 1000px;
        overflow:hidden;
    }

    100% {
        max-height: 0px;
        overflow:hidden;
    }
}

.grid-detail > td {
    padding-top: 0;
    padding-bottom: 0;
}

.grid-detail .grid-content {
    /*overflow-y: hidden;*/
    height: auto;
    max-height: 0px;
}
.grid-detail .grid-content > div {
    position: relative; 
    background: white;
}

.grid-detail .grid-content.grid-expanded {
    animation: expand-grid ease .3s;
    max-height: none;
}

.grid-detail .grid-content.grid-open {
    animation: open-grid cubic-bezier(1, 0, 1, 1) .4s;
    max-height: none;
}

.grid-detail .grid-content.grid-collapsed {
    animation: collapse-grid cubic-bezier(0, 1, 0, 1) .4s;
    max-height: 0px;
}

.record-existing-changed {
    background-color:#eefbff;
}
.record-new-changed {
    background-color:#FFFFE5;
}


/* GRID td-check */
div.data-table-grid td.td-zaznam-check,
div.data-table-grid th.th-zaznam-check{
    padding:3px;
    width:46px;
}
div.data-table-grid td.td-zaznam-check btn-check.btn,
div.data-table-grid th.th-zaznam-check btn-check.btn {
    min-width:42px;
    min-height:42px;
}

div.data-table-grid .btn-check {
    color: #fff;
    background-color: transparent;
    border:none;
}
div.data-table-grid .btn-check .icon {
    background-color: transparent;
}
div.data-table-grid .btn-check i {
    color: rgba(255,255,255,0.15);
}
div.data-table-grid .btn-check i.zaznam-checked  {
    color: #26b050;
}

div.grid-filter i.oi {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
div.grid-filter .filter-open i.oi {
    transform: rotate(90deg);
}

div.grid-filter div.collapse > div {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    max-height: none;
    height: fit-content;
    /*overflow: hidden;*/
}
div.grid-filter div.collapse.show > div {
    animation: expanding ease .4s; /*animacia "expanding" je vyššie*/
    max-height: fit-content;
}
div.grid-filter div.collapse.show > div.filter-loading,
div.grid-filter div.collapse.show > div.filter-error {
    animation: expanding linear .1s;
    max-height: fit-content;
}

/* GRID grid-pager */
div.grid-pager button > span.text {
    /*min-width:0px;*/
    padding-left: 8px;
    padding-right: 8px;
}
/* BtnVyber */
div.btn-vyber button.dropdown-toggle > span {
    overflow: hidden;
    max-width: calc(100% - 15px);
    text-overflow: ellipsis;
}

/* uploadovanie dokumentov a obrazkov */
.div-file-upload .progress-bar {
  transition: width 0.2s ease;
}
.div-file-upload .file-upload-area {
    position: relative; 
    min-height: 100px; 
    background-color: rgba(24, 97, 172, .1); 
    border: 3px dashed rgb(24, 97, 172); 
    border-radius: 10px; 
    padding-left: 0.75rem; 
    padding-right: 0.75rem;
}


.moment-loader {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(255,255,255,.4);
    background-image: url(/img/moment.gif);
    background-repeat: no-repeat;
    background-position: center;
}

.file-saved-area .file-empty-area {
    background-color: #fff;
    border: 1px solid #dddfeb;
    border-radius: 0.35rem;
    width: 100%;
    height: 100px;
    padding: 0.25rem;
    border: 1px solid #dddfeb; 
    position:relative;
    margin-bottom:8px;
}

.file-saved-area .drag-on-left ::before {
    position:absolute;
    content: "";
    background-color: rgba(233, 230, 107, 0.66);
    border:1px solid rgba(133,131,131, 0.80);
    width:20px;
    bottom:10px;
    left:-10px;
    top: 10px;
    z-index:9999;
}
.file-saved-area .drag-on-right ::after {
    position:absolute;
    content: "";
    background-color: rgba(233, 230, 107, 0.66);
    border:1px solid rgba(133,131,131, 0.80);
    width:20px;
    bottom:10px;
    right:-10px;
    top: 10px;
    z-index:9999;
}
.file-saved-area .drag-on-empty ::after {
    position:absolute;
    content: "";
    background-color: rgba(233, 230, 107, 0.66);
    border:1px solid rgba(133,131,131, 0.80);
    width:20px;
    height:calc(100% - 0.5rem);
    left:0.25rem;
    top: 0.25rem;
    z-index:9999;
}



/* Check Box - small */
.custom-checkbox.custom-checkbox-small .custom-control-input {
    width: 1rem;
    height: 1rem;
}
.custom-checkbox.custom-checkbox-small .custom-control-label {
    line-height: 1.4rem;
    padding-left: 2px;
}
.custom-checkbox.custom-checkbox-small .custom-control-label::before {
    width: 1rem;
    height: 1rem;
}
.custom-checkbox.custom-checkbox-small .custom-control-input:checked ~ .custom-control-label::after {
    width: 1rem;
    height: 1rem;
}


.text_vyber-input-sm {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
}


/* XXL velkost stlpcov v row dive */
.col-xxl-1, .col-xxl-2, .col-xxl-3, .col-xxl-4, .col-xxl-5, .col-xxl-6, .col-xxl-7, .col-xxl-8, .col-xxl-9, .col-xxl-10, .col-xxl-11, .col-xxl-12, .col-xxl,
.col-xxl-auto {
  position: relative;
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}


@media (min-width: 1400px) {
  .col-xxl {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
  }
  .row-cols-xxl-1 > * {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .row-cols-xxl-2 > * {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .row-cols-xxl-3 > * {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
  .row-cols-xxl-4 > * {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .row-cols-xxl-5 > * {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .row-cols-xxl-6 > * {
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
  }
  .col-xxl-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-xxl-1 {
    flex: 0 0 8.33333%;
    max-width: 8.33333%;
  }
  .col-xxl-2 {
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
  }
  .col-xxl-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-xxl-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
  .col-xxl-5 {
    flex: 0 0 41.66667%;
    max-width: 41.66667%;
  }
  .col-xxl-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-xxl-7 {
    flex: 0 0 58.33333%;
    max-width: 58.33333%;
  }
  .col-xxl-8 {
    flex: 0 0 66.66667%;
    max-width: 66.66667%;
  }
  .col-xxl-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-xxl-10 {
    flex: 0 0 83.33333%;
    max-width: 83.33333%;
  }
  .col-xxl-11 {
    flex: 0 0 91.66667%;
    max-width: 91.66667%;
  }
  .col-xxl-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .order-xxl-first {
    order: -1;
  }
  .order-xxl-last {
    order: 13;
  }
  .order-xxl-0 {
    order: 0;
  }
  .order-xxl-1 {
    order: 1;
  }
  .order-xxl-2 {
    order: 2;
  }
  .order-xxl-3 {
    order: 3;
  }
  .order-xxl-4 {
    order: 4;
  }
  .order-xxl-5 {
    order: 5;
  }
  .order-xxl-6 {
    order: 6;
  }
  .order-xxl-7 {
    order: 7;
  }
  .order-xxl-8 {
    order: 8;
  }
  .order-xxl-9 {
    order: 9;
  }
  .order-xxl-10 {
    order: 10;
  }
  .order-xxl-11 {
    order: 11;
  }
  .order-xxl-12 {
    order: 12;
  }
  .offset-xxl-0 {
    margin-left: 0;
  }
  .offset-xxl-1 {
    margin-left: 8.33333%;
  }
  .offset-xxl-2 {
    margin-left: 16.66667%;
  }
  .offset-xxl-3 {
    margin-left: 25%;
  }
  .offset-xxl-4 {
    margin-left: 33.33333%;
  }
  .offset-xxl-5 {
    margin-left: 41.66667%;
  }
  .offset-xxl-6 {
    margin-left: 50%;
  }
  .offset-xxl-7 {
    margin-left: 58.33333%;
  }
  .offset-xxl-8 {
    margin-left: 66.66667%;
  }
  .offset-xxl-9 {
    margin-left: 75%;
  }
  .offset-xxl-10 {
    margin-left: 83.33333%;
  }
  .offset-xxl-11 {
    margin-left: 91.66667%;
  }

/*    body *, #app * { display:none; }
    #app, #app #form_view, #app #form_view * { display:block; }
*/

    body{
      -webkit-print-color-adjust:exact !important;
      print-color-adjust:exact !important;
    }
  
    
    /*@media print {
    #content-wrapper {
        background-color:red;*/
        /*width:0px !important;*/
    /*}
    div.form-view {
         display:block !important;
         position:relative !important; 
         padding:0px !important;*/ 
         /*height:1px !important;*/ 
         /*overflow:visible !important;
     }
    .container,
    .container-fluid,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
      padding-left: 0rem;
      padding-right: 0rem;
    }

      #wrapper #content-wrapper {
      background-color: #5ae183;
      width: 100%;
      }
  }*/

/*     div.form-view #form_view {
         position:absolute !important;
         display:block !important;
     }
*/  

  /*#content-wrapper {
        width:0px !important;
    }
    div.form-view {
         display:block !important;
         position:relative !important; 
         padding:0px !important;*/ 
         /*height:1px !important;*/ 
         /*overflow:visible !important;
     }
     div.form-view #form_view > div {
         position:absolute !important;
         display:block !important;
     }
    .container,
    .container-fluid,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
      padding-left: 0rem;
      padding-right: 0rem;
    }


 

    .d-print-none {
    display: none !important;
  }
  .d-print-inline {
    display: inline !important;
  }
  .d-print-inline-block {
    display: inline-block !important;
  }
  .d-print-block {
    display: block !important;
  }
  .d-print-table {
    display: table !important;
  }
  .d-print-table-row {
    display: table-row !important;
  }
  .d-print-table-cell {
    display: table-cell !important;
  }
  .d-print-flex {
    display: flex !important;
  }
  .d-print-inline-flex {
    display: inline-flex !important;
  }*/

}


