﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
* {
    box-sizing: border-box;
}

html {
    height:100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    background-color: #e6e6e6;
    height: 100%;
    overflow:hidden;
    margin:0px;
}

th{
    font-weight:normal;
}

pre {
    border-radius: 0.25rem;
}

body::-webkit-scrollbar {
    display: none;
}

.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.btn-xs {
    padding: .112rem .5rem .112rem .5rem;
}

.font-italic{
    font-style: italic;
}

.font-bold {
    font-weight:bold;
}

.font-normal {
    font-weight: normal;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

.w-100{
    width: 100%;
}

.pell-content {
    flex-grow: 1;
}

/***************************************************************/
main {
    display: flex;
    flex-flow: column;
    height: 100%;
}

table {
    width: 100%;
    max-width: 100%;
    border: 1px solid #e6e6e6;
    background-color: white;
    table-layout: fixed;
}

    table th, table td {
        padding: 1px;
        border-bottom: 1px solid #e6e6e6;
        text-overflow: ellipsis;
        overflow: hidden;
    }

.table-noneborder {
    border:none;
}

.table-noneborder tr td {
    border: none;
    padding-top:4px;
    white-space:normal;
    overflow:unset;
}

section {
    /* Snap align start. */
    scroll-snap-align: start;
}

.prvnicontainer {
    flex: 2;
    overflow: auto;
    -ms-overflow-style: none;
}

    .prvnicontainer::-webkit-scrollbar {
        display: none;
    }

/*.full-page {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}*/

.top-row {
    padding-bottom: 8px;
    padding-left: 8px;
    background-color: #cccccc;
    height: 58px;
    z-index: 1;
}

    .top-row .control {
        float: left;
        padding-right: 16px;
        padding-bottom: 16px;
    }

#remaining {
    background-color: #e6e6e6;
    overflow: hidden;
    flex: 2;
    display: flex;
}

.sloupec {
    display: flex;
    flex-flow: column;
    flex: 2;
    max-width: 520px;
    padding: 4px;
}
    .sloupec .name {
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        margin-left: 12px; /* Odsazení z důvodu křížku na druhé straně */
    }

    .sloupec .hiddable-close {
        visibility: hidden;
    }

    .sloupec:hover .hiddable-close {
        visibility: visible;
    }

.plan {
    width: 100%;
    border: 1px solid #e6e6e6;
    padding: 1px;
    background-color: white;
}

.spodek {
    border-top: 4px solid #e6e6e6;
}

.none {
    color: grey;
    text-align: center;
}

.empty-tab a {
    color:gray;
}

/* Selectlist s checkboxy */

.multiselect {
    display:inline-block;
}

.selectBox {
    position: relative;
}

    .selectBox select {
        display: block;
        width: 100%;
        height: 34px;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        color: #555555;
        background-color: #fff;
        background-image: none;
        border: 1px solid #ccc;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
        transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    }

.overSelect {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
}

.checkboxes {
    display: none;
    background-color: white;
    max-height: 350px;
    overflow-y: auto;
    width: 200px;
    position: absolute;
    z-index: 10;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 5px 0;
    margin: 2px 0 0;
}

    .checkboxes label {
        display: block;
        width: 100%;
        margin-bottom: 0px;
        padding: 3px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        font-weight: normal;
        background-color: #fff;
        background-image: none;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

        .checkboxes label:hover {
            background-color: #337ab7;
            color: white;
        }

/* MY TASK - Tlačítka pro dropdown v atbulce */
.dropdown-a{
    display: block;
    text-decoration: none;
    color: black;
    white-space: nowrap;
    margin-left: -14px;
    margin-right: -14px;
    padding: 8px;
}

    .dropdown-a:hover {
        background-color: #f5f5f5;
        text-decoration: none;
        color: black;
    }

/* Checkbox prostřednictvím glyphicon */
input[type='checkbox'].tags-checkbox:checked + label > i:first-of-type,
input[type='checkbox'].tags-checkbox + label > i:last-of-type {
    display: none;
}

input[type='checkbox'].tags-checkbox:checked + label > i:last-of-type {
    display: inline-block;
}

input[type='checkbox'] + label > i.bi-check-square, 
input[type='checkbox']:checked + label > i.bi-square {
    display: none;
}
input[type='checkbox'] + label > i.bi-square, 
input[type='checkbox']:checked + label > i.bi-check-square {
    display: inherit;
}


/* Loader */
.loader {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #007bff;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

.loader-big {
    border-width: 6px;
    border-top-width: 6px;
    width: 40px;
    height: 40px;
    position: relative;
    left: 50%;
    margin: 16px 0px;
}

.loader-xxl {
    border-width: 9px;
    border-top-width: 9px;
    width: 80px;
    height: 80px;
}

.loader-btn {
    width: 30px;
    height: 30px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
}

.loader-btn-xs {
    width: 25px;
    height: 25px;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Blikání */
.blink {
    animation: blinker 1s step-start infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/**************/

.errormessage {
    position: fixed;
    top: 8px;
    left: 8px;
    right: 8px;
    z-index: 9;
    display: none;
}

.attachment {
    margin-top:7px;
    margin-bottom:7px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.refreshSliderLabel {
    vertical-align: top;
    display: inline-block;
}

/* Použito u login formu*/
.panel-sm {
    margin: auto;
    width: 300px;
}

.dropdown-menu > li > p {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
}

/* ALER ABSOLUTE */
#NotificationCenter {
    position: absolute;
    min-width: 288px;
    z-index: 2000;
    bottom: 16px;
    right: 16px;
}

/* MY TASK */

.mytask-table {
    min-width: 1250px;
    font-size: 14px;
}

@media screen and (max-width: 1450px) {
    .mytask-table {
        font-size:12px;
    }
}

.mytask-line .hiddable {
    visibility: collapse;
}

.mytask-line:hover .hiddable {
    visibility:visible;
}

/* Inline form */
.inline-label{
    line-height:34px;
    display:inline-block;
    width: 40%;
    min-width: 100px;
}

.inline-control {
    display: inline-block;
    width: 220px;
    margin-right:4px;
    margin-bottom:4px;
}

/* Inpit number disable arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance: textfield;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Table sort */
.table-sort-th {
    color: #e6e6e6;
}

th:hover .table-sort-th {
    color: #666666;
}

/* Zvýraznení řádku MyTask */
#MyTasksTableBody tr:hover {
    -moz-box-shadow: inset 0px 9px 6px -8px #4d4d4d, inset 0px -9px 6px -8px #4d4d4d;
    -webkit-box-shadow: inset 0px 9px 6px -8px #4d4d4d, inset 0px -9px 6px -8px #4d4d4d;
    box-shadow: inset 0px 9px 6px -8px #4d4d4d, inset 0px -9px 6px -8px #4d4d4d;
}

/*Úpravy stylů Bootstrap*/
.bg-successv4 {
    background-color: #5cb85c;
}

.text-successv4 {
    color: #5cb85c;
}

.bg-warning {
    background-color: #f0ad4e;
}

.text-warning {
    color: #f0ad4e;
}

.bg-primary {
    background-color: #0275d8;
}

.text-primary {
    color: #0275d8;
}

.popover table {
    table-layout: fixed;
}

.popover table td {
    text-overflow: unset;
    white-space: inherit;
    overflow: unset;
}

.popover-title {
    color: black;
}

.popover-content {
    color: black;
}

.navbar {
    margin-bottom: 0px;
}

.navbar-collapse {
    padding-left: 0px;
    padding-right: 0px;
}

.nav-tabs {
    list-style-type: none;
}

.modal-body {
    overflow-y: auto;
}

.tab-pane {
    padding-top:16px;
}

/*Doplnění Bootstrepu o nové styly*/
.progress-bar-grey {
    background-color: #8a8a8a;
}

.progress-bar-yellow {
    background-color: #ffff00;
}

.progress-bar-striped-dark {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.7) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.7) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.7) 75%, transparent 75%, transparent);
    -webkit-background-size: 1rem 1rem;
    background-size: 1rem 1rem;
}

.x-small {
    font-size: 70%;
}

.label-lightgrey {
    background-color: #e6e6e6;
    color:black;
}

.well-fit {
    width: fit-content;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 12px;
}

.nav > li > .sm {
    padding: 4px 10px;
}

.btn-default-darker {
    background-color: #e6e6e6;
}

/* Jednoduché styly */
.blue {
    color: blue;
}

.grey {
    color: grey;
}

.red {
    color: red;
}

.yellow {
    color: #ffff00;
}

.bg-yellow {
    background-color: #ffff00;
    color:black;
}

.bg-fertig {
    background-color: #b0f5b0;
}

.bg-bearbeitung {
    background-color: #f28c8c;
}

.line-through {
    text-decoration:line-through;
}

.inline {
    display: inline;
}

.display-none{
    display:none !important;
}

.form-hideable {
    display:inline-block;
}

.a:hover {
    text-decoration: underline;
    color: #2b542c;
}

.margin-left-23 {
    margin-left: 23px;
}

.weight-normal {
    font-weight: normal
}

.show {
    display:block;
}

.bolden {
    font-weight: bolder;
}

.a-default {
    background-color: #337ab7;
    color: white;
}

    .a-default:hover {
        background-color: #286090;
        color: white;
    }

.a-warning {
    background-color: #f0ad4e;
    color: white;
}

    .a-warning:hover {
        background-color: #ec971f;
        color: white;
    }

.pointer {
    cursor: pointer;
}

.invalid {
    border-color: #dc3545 !important;
    background-color: #dc354520;
    color: #dc3545 !important;
}

.show-on-medium {
    display: none;
}

.mytask-searched {
    font-weight: bold;
    font-style: italic;
}


#page-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(100,100,100,0.2);
    text-align: center;
    backdrop-filter: blur(8px);
}

    #page-overlay span {
        margin: 0;
        position: absolute;
        top: 50%;
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        font-size: xx-large;
        animation: breathing 5s ease-out infinite normal;
        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        user-select: none;
    }

@keyframes breathing {
    0% {
        -webkit-transform: scale(0.9);
        -ms-transform: scale(0.9);
        transform: scale(0.9);
    }

    25% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    60% {
        -webkit-transform: scale(0.9);
        -ms-transform: scale(0.9);
        transform: scale(0.9);
    }

    100% {
        -webkit-transform: scale(0.9);
        -ms-transform: scale(0.9);
        transform: scale(0.9);
    }
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 1600px) {
    .hide-on-medium {
        display: none;
    }

    .show-on-medium {
        display: inline;
    }
}
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }

    .sloupec {
        min-width: 320px;
    }

    #remaining {
        overflow-x: scroll;
    }

    .navbar-collapse {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hide-on-mobile-sm {
        display:none;
    }

    .mytask-table {
        min-width: unset;
    }
}

@media screen and (max-width: 520px) {
    #remaining {
        scroll-snap-type: x mandatory;
        display: flex;
        -webkit-overflow-scrolling: touch;
        overflow-x: scroll;
    }

    .hide-on-mobile {
        display: none;
    }

    .sloupec {
        min-width: 100vw;
        margin: 0px;
    }

    .mobile-modal-buttons {
        float:none;
        width: 100%;
    }

    .mobile-modal-text {
        margin-left:0px;
        margin-top: 10px;
    } 
}

@media screen and (max-width: 450px) {
    .inline-label{
        width:80%;
    }
}

@media screen and (max-height: 500px) {
    body {
        overflow-y: auto;
    }
    .bodyDiv{
        height: 500px;
    }

    main{
        height: 500px;
    }
}

.flashing {
    border: none;
    animation: blink 2s ease-in infinite;
}

@keyframes blink {
    from, to {
        opacity: 1
    }
    50% {
        opacity: 0
    }
}

/* FADE IN*/
.fade-in {
    animation: fadeIn ease 1s;
    -webkit-animation: fadeIn ease 1s;
    -moz-animation: fadeIn ease 1s;
    -o-animation: fadeIn ease 1s;
    -ms-animation: fadeIn ease 1s;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*
@media screen and (max-width: 992px) {

    .prvnicontainer {
        max-height: calc(100vh - 316px);
    }
}

@media screen and (max-width: 768px) {

    .prvnicontainer {
        max-height: calc(100vh - 276px);
    }
}
    */


/* LOGIN PAGE */

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.toast {
    position: initial;
}