html,
body {
    height: 100%;
}

.container,
.container-fluid {
    /*margin-top: 1rem;
    margin-bottom: 0;
    padding: 0;*/
}

.container.shadow,
.container-fluid.shadow {
    -webkit-box-shadow: 3px 5px 10px 0px rgba(0, 0, 0, 0.5) !important;
    -moz-box-shadow: 3px 5px 10px 0px rgba(0, 0, 0, 0.5) !important;
    box-shadow: 3px 5px 10px 0px rgba(0, 0, 0, 0.5) !important;
}


td.details-control {
    /*background: url('../resources/details_open.png') no-repeat center center;*/
    cursor: pointer;
}

tr.shown td.details-control {
    /*background: url('../resources/details_close.png') no-repeat center center;*/
}



td.details-control .material-icons {
    max-width: 24px;
    display: block;
    overflow: hidden;
    color: #218838;
}

td.card-control * {
    max-width: 100px;
}


.datalistDetailRow {
    padding: 0 13px;
    margin: 10px;
}

.datalistDetailRow label {
    font-weight: bold;
}

.datalistDetailRow span {
    margin-left: 10px;
    margin-bottom: 10px;
    display: inline-block;
}

.datalistHighlightRow-red {
    background-color: #FAA;
}

.material-icons.size-24 {
    font-size: 24px;
}

.material-icons.size-32 {
    font-size: 32px;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}



label:not(.custom-control-label):not(.btn) {
    font-weight: bold;
}


span.numeric {
    display: inline-block;
    text-align: right !important;
}



.btn.btn-tiny {
    font-size: 0 !important;
}



.input-group>.select2-container--bootstrap4 .select2-selection {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.select2 {
    z-index: auto;
}

.select2.select2-container--open {
    z-index: 1000;
}


.required {
    background-color: #FEE;
    border-color: #F00;
}

.select2.required .select2-selection {
    border-color: #F00;
}

.required:not(:checked)+.custom-control-label::before {
    background-color: #FEE !important;
    border-color: #F00 !important;
}


span.select2-results>ul>li:empty {
    background-color: #EEE;
    font-style: italic;
}

span.select2-results>ul>li:empty:hover {
    background-color: #007bff;
}

span.select2-results>ul>li:empty:before {
    content: '--- Prázdná hodnota ---';
}


.toast-body:empty {
    height: 10px;
}




#signature {
    width: 100%;
    /*    height: 100%;*/
}





.badEmail {
    background-color: #F00;
    color: #000 !important;
}

.badEmail span {
    color: #000 !important;
}


/* 
    Extra small devices (portrait phones, less than 544px) 
    No media query since this is the default in Bootstrap because it is "mobile first"
    */
body,
.btn,
input,
.input-group-text,
.material-icons {
    font-size: 0.6rem !important;
}

/*1rem = 16px*/
.input-group-text {
    padding-left: 1px;
    padding-right: 1px;
}

.material-icons {
    font-size: 0.8rem !important;
}

td.details-control .material-icons {
    font-size: 0.9rem !important;
}

.navbar-toggler {
    font-size: 1rem !important;
}

.navbar-brand img {
    height: 30px !important;
}

.nav-link {
    font-size: 1rem;
}

.w-5 {
    width: 5%;
}

.w-10 {
    width: 10%;
}

.w-15 {
    width: 15%;
}

.w-20 {
    width: 20%;
}

.w-25 {
    width: 25%;
}

.w-30 {
    width: 30%;
}

.w-35 {
    width: 35%;
}

.w-40 {
    width: 40%;
}


.w-45 {
    width: 45%;
}

.w-85 {
    width: 85%;
}

.w-100 {
    width: 100%;
}


/*input[placeholder="cena"]
{
    text-align: right;
}*/


#toast-container {
    position: -webkit-sticky;
    position: sticky;
}


.login-card .version {
    font-size: 0.6rem;
}


/* zmenšení polí v řádcích */
#rowsMaterial div input,
#rowsTyp1 div input,
#rowsTyp2 div input {
    flex-grow: .4;
}

#rowsMaterial div input[type=number],
#rowsTyp1 div input[type=number],
#rowsTyp2 div input[type=number] {
    padding-right: 1px;
}

#rowsTyp1 div input,
#rowsTyp2 div input {
    /*    flex-grow: .4;*/
}

#rowsTyp1 div select.shrink,
#rowsTyp2 div select.shrink,
#rowsTyp1 div select.shrink~.select2-container--bootstrap4,
#rowsTyp2 div select.shrink~.select2-container--bootstrap4 {
    flex-grow: .2;
}

.navbar-brand img {
    margin-right: 10px;
}

.footer-shadow {
    background-color: #F7600F;
    -webkit-box-shadow: inset 0px 5px 9px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: inset 0px 5px 9px 0px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0px 5px 9px 0px rgba(0, 0, 0, 0.5);
    width: 100%;
    min-height: 20px;
}

.h-5 {
    height: 5%;
}

.h-10 {
    height: 10%;
}

.h-15 {
    height: 15%;
}

.h-20 {
    height: 20%;
}

.h-30 {
    height: 30%;
}

.h-40 {
    height: 40%;
}

.h-50 {
    height: 50%;
}

.h-60 {
    height: 60%;
}

.h-70 {
    height: 70%;
}

.h-80 {
    height: 80%;
}

.h-85 {
    height: 85%;
}


.grecaptcha-badge {}

/*
    ####################################################
    M E D I A  Q U E R I E S
    ####################################################
    */

/*
    ::::::::::::::::::::::::::::::::::::::::::::::::::::
    Bootstrap 4 breakpoints
    */
/* Small devices (landscape phones, 544px and up) */
@media (min-width: 544px) {

    body,
    .btn,
    input,
    .input-group-text,
    textarea {
        font-size: 0.7rem !important;
    }

    /*1rem = 16px*/
    .input-group-text {
        padding-left: 1px;
        padding-right: 1px;
    }

    .material-icons {
        font-size: 1rem !important;
    }

    td.details-control .material-icons {
        font-size: 1rem !important;
    }

    .navbar-toggler {
        font-size: 1rem !important;
    }

    .navbar-brand img {
        height: 30px !important;
    }

    .nav-link {
        font-size: 1rem;
    }

    #navbarMenu {
        position: initial;
        left: initial;
        transform: none;
    }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {

    body,
    .btn,
    input,
    .input-group-text,
    textarea {
        font-size: 0.8rem !important;
    }

    /*1rem = 16px*/
    .input-group-text {
        padding-left: 3px;
        padding-right: 3px;
    }

    .material-icons {
        font-size: 1.2rem !important;
    }

    td.details-control .material-icons {
        font-size: 1.2rem !important;
    }

    .navbar-toggler {
        font-size: 1rem !important;
    }

    .navbar-brand img {
        height: 30px !important;
    }

    .nav-link {
        font-size: 1rem;
    }

    #navbarMenu {
        position: initial;
        left: initial;
        transform: none;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    body,
    .btn,
    input,
    .input-group-text,
    textarea {
        font-size: 0.9rem !important;
    }

    /*1rem = 16px*/
    .input-group-text {
        padding-left: .375rem;
        padding-right: .375rem;
    }

    .material-icons {
        font-size: 1.3rem !important;
    }

    td.details-control .material-icons {
        font-size: 1.4rem !important;
    }

    .navbar-brand img {
        height: 35px !important;
    }

    .nav-link {
        font-size: 1rem;
    }

    #navbarMenu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    body,
    .btn,
    input,
    .input-group-text,
    textarea {
        font-size: 1rem !important;
    }

    /*1rem = 16px*/
    .input-group-text {
        padding-left: .375rem;
        padding-right: .375rem;
    }

    .material-icons {
        font-size: 1.4rem !important;
    }

    td.details-control .material-icons {
        font-size: 1.4rem !important;
    }

    .navbar-brand img {
        height: 35px !important;
    }

    #navbarMenu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/*
    ::::::::::::::::::::::::::::::::::::::::::::::::::::
    Custom media queries
    */

/* Set width to make card deck cards 100% width */
@media (min-width: 950px) and (max-width:1100px) {
    /*h1 {font-size:2.75rem;color:red;}*/
}







.btn-group-sm>.btn,
.btn-sm {
    padding: .1rem .3rem;
}

/* select2 multiple */
.select2-selection--multiple .select2-search__field {
    background-color: inherit;
}