﻿/* HTML BODY RESIZINg */
html {
    height: 100%;
    width: 100%;
    overflow: auto;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-family: Calibri;
    line-height: 1;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;
}

body {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    background-color: #fff;
    color: black;
}

@media screen and (max-width: 2000px) { /* 1920*1080   */
    body {
        font-size: 1.1rem;
        /*background-color: lightblue;*/
    }

    .level1 {
        font-size: 1.2rem;
    }

    .level2 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1800px) { /*  1680*1050 1600*900 */
    body {
        font-size: 1rem;
        /*background-color: lightseagreen;*/
    }

    .level1 {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 1500px) { /* 1440*900  1400*1050*/
    body {
        font-size: 0.85rem;
        /*background-color: pink;*/
    }

    .level1 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1400px) { /* 1360*768 1366*768 */
    body {
        font-size: 0.75rem;
        /*background-color: aqua;*/
    }

    .level1 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1300px) { /*  1280*  */
    body {
        font-size: 0.8rem;
        /*background-color: lightgreen;*/
    }

    .level1 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1200px) {
    /*1280*1024  1152*864*/
    body {
        font-size: 0.75rem;
        /*background-color: gold;*/
    }

    .level1 {
        font-size: 0.95rem;
    }
}

/*NAVIGATIONS*/

@media (min-width: 768px) {
    .navbar-nav {
        width: 100%;
        text-align: center;
    }

        .navbar-nav > li {
            float: none;
            display: inline-block;
        }

            .navbar-nav > li.navbar-right {
                float: right !important;
            }
}

.icon_expander {
    background-image: url('../resources/ui-icons_222222_256x240.png');
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    float: left;
}

.icon_expander-e {
    background-position: -32px -16px
}

.icon-expander-s {
    background-position: -64px -16px
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}
/******************************************************/
/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


/**MISC: Drop Downs, FORMS, GROUPS***/

.borderedform {
    border: solid;
    border-width: thin;
    border-style: solid;
    border-color: lightgray;
    width: 100%;
    padding-bottom: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    height: 100%
}

    .borderedform div {
        padding: 20px;
    }

    .borderedform p {
        color: #6c757d;
        padding: 5px 0px 0px 20px;
    }

        .borderedform p span {
            /*padding: 0px 0px 0px 20px;*/
        }

            .borderedform p span a {
                color: blue;
            }

                .borderedform p span a:hover {
                    color: darkblue;
                }


.header {
    width: 100%;
}



.footer {
    padding-top: 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* TABLES*/
/*SORTABLE TABLE*/


table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after {
    content: " \25b8"
}

table {
    width: 100%;
    table-layout: fixed;
    box-sizing: border-box; /* causes item size to include border and padding */
    -moz-box-sizing: border-box; /*for browser compatibility*/
}

    table td {
        word-wrap: break-word;
    }

    table th {
        text-align: left;
        margin-left: 10px;
        margin-top: 10px;
    }

.scrollable {
    display: flex;
    flex-flow: column;
    position: relative;
    align-self: center;
    /*    border-style: solid;
    border-color: #00FFCC;*/
    border-width: thin;
    margin: 0 auto 0 auto;
    padding: 0;
    border: 1px solid #888888;
    border-radius: 0.25rem;
}

    .scrollable thead {
        /* head takes the height it requires, 
    and it's not scaled when table is resized */
        flex: 0 0 auto;
        display: block;
        overflow-y: auto;
        border: none;
        background-color: #A8A8A8
    }

    .scrollable tbody {
        /* body takes all the remaining available space */
        flex: 1 1 auto;
        display: block;
        overflow-y: scroll;
    }

    .scrollable tr {
        width: 100%;
        display: table;
        table-layout: fixed;
    }

    .scrollable thead:before {
        position: sticky;
        right: 0.2em;
        width: 1em;
        height: 1.3em;
        content: '';
        /*        background-color: #A8A8A8;*/
        margin-top: 0.1em;
    }

    /*.scrollable thead:after {
        position: absolute;
        right: 0em;
        width: 1em;
        height: 1.2em;
        content: '';
        background-color: menu;
        margin-top: -1.2em;
    }*/
    .scrollable > thead > tr > th {
        padding-left: 5px;
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
        vertical-align: middle;
        max-height: 100px;
    }

    .scrollable > tbody > tr {
        border-bottom: 1px solid #888888;
    }

        .scrollable > tbody > tr > td {
            padding-left: 5px;
            vertical-align: middle;
            padding-top: 0.3rem;
            padding-bottom: 0.3rem;
        }

    .scrollable th:last-child {
        padding-right: 20px;
    }



.lblData {
    vertical-align: middle;
    width: 100%;
    height: calc(1 + 0.5rem + 2px);
    padding: 0.3rem;
    font-weight: bold
}

.noWrapLabel {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.btnDelete {
    border: none;
    height: 15px;
    width: 15px;
    vertical-align: middle;
    padding: 0px;
    margin: 0px;
    background-color: transparent;
    background-size: cover;
    background-image: url('../resources/IconButtonDelete.png');
}

    .btnDelete:hover {
        border: none;
        height: 17px;
        width: 17px;
        vertical-align: middle;
        padding: 0px;
        margin: 0px;
        background-color: transparent;
        background-size: cover;
        background-image: url('../resources/IconButtonDeleteHover.png');
    }

    .btnDelete:disabled {
        border: none;
        height: 15px;
        width: 15px;
        vertical-align: middle;
        padding: 0px;
        margin: 0px;
        background-color: transparent;
        background-size: cover;
        background-image: url('../resources/IconButtonDeleteDisabled.png');
    }

.btnEdit {
    border: none;
    height: 17px;
    width: 17px;
    vertical-align: middle;
    padding: 0px;
    margin: 0px;
    background-color: transparent;
    background-size: cover;
    background-image: url('../resources/IconButtonEdit.png');
}

    .btnEdit:hover {
        border: none;
        height: 18px;
        width: 18px;
        vertical-align: middle;
        padding: 0px;
        margin: 0px;
        background-color: transparent;
        background-size: cover;
        background-image: url('../resources/IconButtonEditHover.png');
    }

    .btnEdit:disabled {
        border: none;
        height: 17px;
        width: 17px;
        vertical-align: middle;
        padding: 0px;
        margin: 0px;
        background-color: transparent;
        background-size: cover;
        background-image: url('../resources/IconButtonEditDisabled.png');
    }

.btnAdd {
    border: none;
    height: 20px;
    width: 20px;
    padding: 0px;
    margin: 0px;
    vertical-align: middle;
    background-color: transparent;
    background-size: cover;
    background-image: url('../resources/IconButtonAdd.png');
}

    .btnAdd:hover {
        border: none;
        height: 21px;
        width: 21px;
        margin: 0px;
        padding: 0px;
        vertical-align: middle;
        background-color: transparent;
        background-size: cover;
        background-image: url('../resources/IconButtonAddHover.png');
    }

    .btnAdd:disabled {
        border: none;
        height: 20px;
        width: 20px;
        margin: 0px;
        padding: 0px;
        vertical-align: middle;
        background-color: transparent;
        background-size: cover;
        background-image: url('../resources/IconButtonAddDisabled.png');
    }

.btnLogo {
    border: groove;
    border-color: transparent;
    height: 30px;
    width: 30px;
    vertical-align: middle;
    padding-top: 2px;
    padding-left: 5px;
    margin-left: 5px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 30px;
    resize: both;
    background-image: url('../resources/Logo-white-home.png');
}

.btnPencil {
    border: groove;
    border-color: transparent;
    height: 16px;
    width: 16px;
    vertical-align: middle;
    padding-top: 0px;
    padding-left: 0px;
    margin-left: 0px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: 12px;
    resize: both;
    background-image: url('../resources/pencil2.png');
}

/* Button gray2 */
.btn-outline-default2 {
    color: #888888; /* qwe */
    border: 1px solid #888888; /* qwe */
    display: block;
    width: 100%;
    height: calc(1.25em + 0.5rem + 2px);
    padding: 0.3rem 0.5rem;
    font-size: inherit;
    line-height: 1;
    background-clip: padding-box;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .btn-outline-default2:hover {
        color: white;
        background-color: #888888; /* qwe */
        border-color: #888888; /* qwe */
    }

    .btn-outline-default2.disabled {
        color: #888888; /* qwe */
        pointer-events: none;
    }

    .btn-outline-default2:not(:disabled):not(.disabled):active {
        color: #fff;
        background-color: #888888; /* qwe */
        border-color: #888888; /* qwe */
    }

/***************************/
/*Custom styles*/
.borderDiv {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.cursordefault {
    cursor: pointer;
}


.va-top {
    vertical-align: top;
}

.va-mid {
    vertical-align: middle;
}

.va-bottom {
    vertical-align: bottom;
}

.va-toptext {
    vertical-align: text-top;
}

.wrapData {
    word-wrap: break-word;
    white-space: normal;
}

.noWrapData {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* BORDERS  */

.box-shadow {
    border: 2px solid rgba(0, 0, 0, 0.125);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}


.shadowRightBottom {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.border-collapse {
    border-collapse: collapse;
    vertical-align: middle;
    text-align: center;
}

.spanNav {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.containerPP {
    width: 98%;
    padding-right: 1em;
    padding-left: 1em;
    margin-right: auto;
    margin-left: auto;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/**************************** login page headers *****************************************/

.p-color-gray {
    color: #888888;
}

.linkedit {
    color: black;
    background-color: transparent;
    text-decoration: none;
    font-weight: bold;
}

    .linkedit:hover {
        color: black;
        background-color: transparent;
        text-decoration: underline;
        cursor: pointer;
    }

.alinkGray {
    color: #888888;
    background-color: transparent;
    text-decoration: none;
}

    .alinkGray:hover {
        color: #888888;
        font-weight: bold;
        background-color: transparent;
        text-decoration: underline;
        cursor: pointer;
    }

.linkContent {
    color: black;
    background-color: transparent;
    text-decoration: none;
    /*    font-weight: bold;*/
    font-size: 1.1rem;
}

    .linkContent:hover {
        color: black;
        background-color: transparent;
        text-decoration: none;
        cursor: pointer;
    }

.thinborder {
    border-style: solid;
    border-width: thin;
    border-top: none;
}

.starlabel {
    color: red;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 0px 0px 0px;
}

.font-underline {
    text-decoration: underline;
}
/****************************************************************************/
.btnIna {
    border: none;
    height: 90%;
    width: 90%;
    vertical-align: middle;
    align-content: center;
    background-color: transparent;
    background-size: cover;
    background-image: url('../resources/morsik.png');
}

    .btnIna:hover {
        background-image: url('../resources/morsikbig.jpg');
    }

.divIna {
    width: 30px;
    height: 20px;
    transition: width 2s;
    display: flex;
}

    .divIna:hover {
        height: 50px;
        width: 65px;
    }

/******************/

.btn-darkstyle {
    border-radius: 10px;
    border-style: solid;
    border-width: thin;
    color: #888888;
    border-color: #888888;
    min-width: 260px;
}

    .btn-darkstyle:hover {
        color: white;
        background-color: #888888;
        border-color: #888888;
    }

    .btn-darkstyle.disabled {
        color: #888888;
        pointer-events: none;
    }

    .btn-darkstyle:not(:disabled):not(.disabled):active {
        color: #fff;
        background-color: #888888;
        border-color: #888888;
    }

.border-darked {
    border: 3px solid #888888;
}

/*******************/
.btn-lightstyle {
    border-radius: 10px;
    border-style: solid;
    border-width: thin;
    color: #888888;
    border-color: #888888;
    min-width: 260px;
}

    .btn-lightstyle:hover {
        color: #fff;
        background-color: rgb(250, 189, 80);
        border-color: rgb(250, 189, 80);
    }

    .btn-lightstyle.disabled {
        color: #888888;
        pointer-events: none;
    }

    .btn-lightstyle:not(:disabled):not(.disabled):active {
        color: #fff;
        background-color: rgb(250, 189, 80);
        border-color: rgb(250, 189, 80);
    }

.border-lighter {
    border: 3px solid rgb(250, 189, 80);
}
/**********************/
.btn-bluestyle {
    border-radius: 10px;
    border-style: solid;
    border-width: thin;
    color: #3481b0;
    border-color: #3481b0;
    min-width: 260px;
}

    .btn-bluestyle:hover {
        color: #fff;
        background-color: #3481b0;
        border-color: #3481b0;
        cursor: pointer;
    }

    .btn-bluestyle.disabled {
        color: #fff;
        pointer-events: none;
    }

.border-blue {
    border: 3px solid #3481b0;
}
/**********************/
.btn-greenstyle {
    border-radius: 10px;
    border-style: solid;
    border-width: thin;
    color: #006666;
    border-color: #006666;
    min-width: 260px;
}

    .btn-greenstyle:hover {
        color: #fff;
        background-color: #006666;
        border-color: #006666;
    }

    .btn-greenstyle.disabled {
        color: #fff;
        pointer-events: none;
    }

.border-green {
    border: 3px solid #006666;
}

/**********************/
.btn-jadestyle {
    border-radius: 10px;
    border-style: solid;
    border-width: thin;
    color: #408080;
    border-color: #408080;
    min-width: 260px;
}

    .btn-jadestyle:hover {
        color: #fff;
        background-color: #408080;
        border-color: #408080;
    }

    .btn-jadestyle.disabled {
        color: #fff;
        pointer-events: none;
    }

.border-jade {
    border: 3px solid #408080;
}
/**********************/
.btn-darklbgstyle {
    border-radius: 10px;
    border-style: solid;
    border-width: thin;
    color: #408080;
    border-color: #408080;
    min-width: 260px;
}

    .btn-darklbgstyle:hover {
        color: #F9F6EE;
        background-color: #408080;
        border-color: #408080;
        cursor: pointer;
    }

    .btn-darklbgstyle.disabled {
        color: #F9F6EE;
        pointer-events: none;
    }

.border-darklbgstyle {
    border: 3px solid #408080;
}
/*************************/
.btn-outline-default {
    border-radius: 10px;
    border-style: solid;
    border-width: thin;
}

    .btn-outline-default.disabled {
        pointer-events: none;
    }

.btn-outline-reject {
    border-radius: 10px;
    border-style: solid;
    border-width: thin;
}

    .btn-outline-reject.disabled {
        pointer-events: none;
    }

.btn-outline-danger {
    border-radius: 10px;
    border-style: solid;
    border-width: thin;
}
/************************/
.dropdown-divider {
    height: 0;
    margin: 0.2rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.2rem 1rem;
    clear: both;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    color: #e9ecef;
}

    .dropdown-item:hover, .dropdown-item:focus {
        font-weight: bold;
        text-decoration: none;
        color: white;
    }

.dropdown-menu.show {
    display: block;
}
/************************************************/

.labelFormTitle {
    background-color: #6c757d;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 30px;
    font-weight: bold;
    vertical-align: middle;
    width: 100%;
    padding-top: 6px;
    color: white;
    display: block;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.labelFormTitleNoRadius {
    height: 30px;
    font-weight: bold;
    vertical-align: middle;
    width: 100%;
    padding-top: 5px;
    color: white;
    background-color: #888888;
}

.imagesize {
    max-width: 300px;
    max-height: 75px;
}

.headerts {
    background-color: lightgray;
}

/*used in Image*/
#drop-signature {
    max-width: 500px;
    min-height: 100px;
    border: 2px dotted blue;
    display: flex;
    justify-content: center;
    align-items: center;
}

#img-signature {
    object-fit: cover;
    width: 100%;
    height: 100%
}

/* Image drop/upload area */
.PictureDropArea {
    max-height: 450px;
    max-width: 800px;
    min-height: 50px;
    border: 2px dotted blue;
    object-fit: contain;
    display: contents;
}

.ImageShowArea {
    max-height: 450px;
    max-width: 800px;
    min-height: 50px;
    border: none;
    object-fit: contain;
}

.IconDropArea {
    max-width: 20px;
    max-height: 30px;
    min-height: 20px;
    border: 1px dotted blue;
    display: flex;
    object-fit: contain;
    justify-content: center;
    align-items: center;
}

.IconShowArea {
    max-height: 30px;
    max-width: 20px;
    min-height: 20px;
    border: none;
    object-fit: contain;
}

.DocDropArea {
    max-height: 84px;
    max-width: 65px;
    min-height: 84px;
    border: 1px dotted blue;
    display: flex;
    object-fit: scale-down;
    justify-content: center;
    align-items: center;
}

.DocShowArea {
    max-height: 84px;
    max-width: 65px;
    min-height: 84px;
    border: none;
    object-fit: scale-down;
}

.form-check-box {
    display: block;
    height: calc(1.25em + 0.5rem + 2px);
    width: calc(1.25em + 0.5rem + 2px);
    padding-left: 0;
    font-size: inherit;
    font-weight: 400;
    line-height: 1;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #A8A8A8;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
