﻿html {
    position: relative;
    min-height: 100%;
}

html, body {
    padding: 0;
    font-size: 10px;
    background: #f5f5f5;
}

/* Sticky footer styles for all media queries
-------------------------------------------------- */

@media(max-width:576px) {
    body {
        /* Margin bottom by footer height same footer height */
        margin-bottom: 45px;
    }

    nav.navbar {
        height: 45px;
    }

    main {
        margin-top: 45px;
    }

    .footer {
        height: 45px; /* Vertically center the text there same body margin-bottom */
        padding: 15px 0;
    }

    #stickyHeader {
        height: 80px;
    }
}

@media(min-width:576px) {
    body {
        /* Margin bottom by footer height same footer height */
        margin-bottom: 45px;
    }

    nav.navbar {
        height: 45px;
    }

    main {
        margin-top: 45px;
    }

    .footer {
        height: 45px; /* Vertically center the text there same body margin-bottom */
        padding: 15px 0;
    }

    #stickyHeader {
        height: 80px;
    }
}

@media(min-width:768px) {
    body {
        /* Margin bottom by footer height same footer height */
        margin-bottom: 55px;
    }

    nav.navbar {
        height: 55px;
    }

    main {
        margin-top: 55px;
    }

    .footer {
        height: 55px; /* Vertically center the text there same body margin-bottom */
        padding: 20px 0;
    }

    #stickyHeader {
        height: 90px;
    }
}

@media(min-width:1200px) {
    body {
        margin-bottom: 65px;
    }

    nav.navbar {
        height: 65px;
    }

    main {
        margin-top: 65px;
    }

    .footer {
        height: 65px; /* Vertically center the text there same body margin-bottom */
        padding: 25px 0;
    }

    #stickyHeader {
        height: 100px;
    }

    #clientTable .table {
        width:1650px;
        background:red;
    }

}
/*CURSOR HAND FOR ALL TYPE ELEMENTS*/
.cursor_hand {
    cursor: pointer;
}

h6, .form-control, .checkbox, a.nav-link, a, .form-select, label, p,th,td {
    font-size: 1.4rem;
}

button[type="submit"] {
    font-size: 1.4rem;
}

.btn{
    font-size: 1.3rem;
}

a.navbar-brand {
    font-size: 2rem;
}

h5, nav.navbar, footer {
    font-size: 1.5rem;
}

.checkbox label {
    font-size: 1.4rem;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
}

/*<!--Для подсветки линков меню -->*/


li.nav-item:hover {
    background: rgb(13, 202, 240);
}

li.nav-item a:hover {
    color:black;
}

li.nav-item.active {
    background: rgb(13, 202, 240);
}

a {
    text-decoration: none;
}

a:hover {
    color: #1db2e2;
}

/*Стили для контекстного меню в списках услуг для заявок, которые нужно переносить*/
.context-menu {
    position: absolute;
    text-align: center;
    background: #ffffff;
    border-radius:5px;
}

    .context-menu ul {
        padding: 0px;
        margin: 0px;
        min-width: 150px;
        list-style: none;
        border: 1px groove #0d6efd;
        border-radius:5px;
    }    
    
.context-menu ul li {
    cursor: pointer;
    padding-bottom: 2px;
    padding-top: 2px;
}
    
.context-menu ul li:hover {
    background: darkgray;
}

/*Общие стили */

.by_content {
    width: 1%;
    white-space: nowrap;
    text-wrap: none;
    padding-left:10px;
    padding-right:10px;
}