﻿/* 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. */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* 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;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/*For my select box*/
.select {
    cursor: pointer;
    display: block;
    box-shadow: 1px 1px 2px 0px #000;
    font-family: sans-serif;
    font-size: 16px;
}

    .select .selected {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 5px 15px 5px 10px;
        width: 100%;
        border: 1px solid black;
        border-radius: 3px;
        box-sizing: border-box;
        /*background-image: url(https://s13.postimg.org/gcbinjsp3/select_arrow.png);*/
        background-size: 20px 30px;
        background-repeat: no-repeat;
        background-position-x: 100%;
        background-color: white;
        box-shadow: -35px 0px 15px -15px rgba(128, 128, 128, 0.2) inset;
    }

    .select .container {
        display: none;
        border-left: 1px solid black;
        border-right: 1px solid black;
        border-bottom: 1px solid black;
        background-color: white;
        /*position: absolute;*/
        box-shadow: 1px 1px 2px 0px #000;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
        width: inherit;
        box-sizing: border-box;
        margin-top: -2px;
    }

    .select .item-wrapper {
        display: block;
        width: inherit;
        box-sizing: border-box;
        white-space: normal;
        overflow-x: hidden;
        max-height: 11em;
        height: 100%;
        padding: 1px;
    }

    .select .item {
        padding: 5px;
        border: 1px solid rgba(0, 0, 0, 0);
        display: none;
    }

        .select .item:hover {
            background-color: #e5553f;
            color: white;
            border: 1px solid rgba(255, 0, 0, 0.2);
            border-radius: 3px;
        }

    .select .item-search {
        width: inherit;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        height: 40px;
    }

        .select .item-search .red-input {
            margin: 0px 10px;
            flex: 1;
            width: 100%;
            height: 25px;
            box-shadow: 0px 0px 2px 0px #000;
        }

.red-input {
    padding: 5px;
    border: solid 1px black;
    border-radius: 3px;
    outline: none;
    font-weight: bold;
    box-sizing: border-box;
}

    .red-input:focus {
        background-color: #ffefed;
    }

#lb_for_chkbox:hover {
    background: #000;
    color: white;
    cursor: pointer;
}

/*for date*/
.highlight {
    -webkit-animation: blink 1s linear 5;
    -ms-animation: blink 1s linear 5;
    -moz-animation: blink 1s linear 5;
    animation: blink 1s linear 5;
}

@-webkit-keyframes blink {
    from {
        box-shadow: 0 0 0px 0 red;
    }

    50% {
        box-shadow: 0 0 10px 0 red;
    }

    to {
        box-shadow: 0 0 0px 0 red;
    }
}

@keyframes blink {
    from {
        box-shadow: 0 0 5px 0 #000;
    }

    50% {
        box-shadow: 0 0 0px 0 #000;
    }

    to {
        box-shadow: 0 0 5px 0 #000;
    }
}


/*dropdown menu*/
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu a::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 6px;
        top: .8em;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: .1rem;
        margin-right: .1rem;
    }

/*pagination*/
.bnt-arrow-left {
    background-image: url('../images/double-left.png');
    height: 2.4em;
    background-size: 2em;
    background-position: center;
    border-style: hidden
}

.bnt-arrow-right {
    background-image: url('../Images/double-right.png');
    height: 2.4em;
    background-size: 2em;
    background-position: center;
    border-style: hidden
}

/*modal window for download/delete a document*/
.popup-fade {
    display: none;
}

    .popup-fade:before {
        content: '';
        background: #000;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        opacity: 0.7;
        z-index: 9999;
    }

.popup {
    position: fixed;
    top: 20%;
    left: 50%;
    padding: 20px;
    width: 602px;
    margin-left: -301px;
    background: #fff;
    border: 1px solid orange;
    border-radius: 4px;
    z-index: 99999;
    opacity: 1;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

.tooltip {
    display: inline-block; /* Строчно-блочный элемент */
    position: relative; /* Относительное позиционирование */
}

.tooltip:hover::after {
    content: attr(data-title);
    content: attr(data-title); /* Выводим текст */
    position: absolute; /* Абсолютное позиционирование */
    left: 20%;
    top: 30%; /* Положение подсказки */
    z-index: 1; /* Отображаем подсказку поверх других элементов */
    background: rgba(255,255,230,0.9); /* Полупрозрачный цвет фона */
    font-family: Arial, sans-serif; /* Гарнитура шрифта */
    font-size: 11px; /* Размер текста подсказки */
    padding: 5px 10px; /* Поля */
    border: 1px solid #333; /* Параметры рамки */
}

.hr-double {
    margin: 20px 0;
    padding: 0;
    height: 2px;
    border: none;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

/*radio button*/
.customer_toggle {
    display: inline-block;
    overflow: hidden;
}

.customer_toggle-item {
    float: left;
    display: inline-block;
}

    .customer_toggle-item input[type=radio] {
        display: none;
    }

    .customer_toggle-item label {
        display: inline-block;
        padding: 0px 15px;
        line-height: 34px;
        border: 1px solid black;
        border-right: none;
        cursor: pointer;
        user-select: none;
        font-weight: bold;
    }

.customer_toggle .item-1 label {
    border-radius: .25rem 0 0 .25rem;
}

.customer_toggle .item-2 label {
    border-radius: 0 .25rem .25rem 0;
    border-right: 1px solid black;
}

/* Checked */
.customer_toggle .item-1 input[type=radio]:checked + label {
    background: #bbffbb;
}

.customer_toggle .item-2 input[type=radio]:checked + label {
    background: #bbffbb;
}

/*colors for rows*/
.green-color{
    background-color: lightgreen;
}

.red-color{
    background-color:red;
}

.white-color{
    background-color:white;
}

.blue-color{
    background-color:lightsteelblue;
}

/*border style*/
#Acceptance-table > thead > tr > td,
#Acceptance-table > thead > tr > th,
#Acceptance-table > tbody > tr > td,
#Acceptance-table > tbody > tr > th {
    border: 1px solid #dee2e6;
}

/*preloader*/
.hidden {
    display: none
}

.preloader {
    text-align: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.8);
    z-index: 99999
}

.preloader__item {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%)
}

/*preloader*/

.fixed {
    right: 0;
    left: 0;
    z-index: 1030;
    position: fixed;
}

.table-sticky > thead > tr > th,
.table-sticky > thead > tr > td {
    background: #009688;
    color: #fff;
    top: 0px;
    position: sticky;
}

.table-height {
    height: 690px;
    display: block;
    overflow: scroll;
    width: 100%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td {
    border: 1px solid #ddd;
}

p{cursor:text}