﻿/* Стили для футера
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom для высоты футера */
    /* margin-bottom: 80px !important; */
}

/* .footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 80px;
    background-color: #000;
    color: #7e7e7e;
} */

    /* .footer a {
        color: #7e7e7e;
        text-decoration: none;
    }

        .footer a:hover {
            color: #fff;
        }

        .footer a img {
            width: 24px;
            height: 24px;
            margin: 5px;
        } */

/* Стили для хэдера
-------------------------------------------------- */
/* 
.header {
    padding: 30px;
    background: #333;
    color: white;
}

    .header img.logo_header {
        width: 130px;
        height: 42px;
    }

    .header img.header_img {
        width: 24px;
        height: 24px;
        margin: 5px;
    }

    .header a {
        color: #fff;
        text-decoration: none;
    }

        .header a:hover {
            color: #7e7e7e;
        } */

/* Стили для карты
-------------------------------------------------- */
#map {
    width: 100%;
    height: 400px;
}

.log {
    background: white;
    padding: 4px;
}

.event-log {
    color: red;
}

    .event-log.ok {
        color: green;
    }

    .event-log.action {
        background: greenyellow;
        color: black;
        transition: background 0.7s;
    }

/* Стили для сайдбара
-------------------------------------------------- */
.sidebar-shadow {
    box-shadow: 5px 0px 5px -1px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

li.active {
    background-color: #f3f4f7;
}

.sidebar-a {
    display: block;
    color: #000;
    padding: 16px 16px;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    /*Пока сделал с падингом*/
    padding-left: 40%;
}

a.sidebar-a:hover {
    color: #000;
}

.sidebar-img {
    width: 24px;
    height: 24px;
    margin: 5px;
}

.img-rotate-270 {
    transform: rotate(270deg);
}

.sidebar-span {
    flex-grow: 1;
}
/* Цвета страниц
-------------------------------------------------- */
.content-page-background-color {
    background-color: #f5f7fc;
}

.edit-page-background-color {
    background-color: #e8ebf1;
}

.modal-background-color {
    background-color: #e8ebf1;
}

/* Стили для поиска
-------------------------------------------------- */
.search-input[type=text] {
    width: 80%;
    border: 1px solid;
    border-color: lightgray;
    font-size: 18px;
    background-color: white;
    background-image: url('../images/magnify.svg');
    background-position: 10px 9px;
    background-repeat: no-repeat;
    background-size: 23px 23px;
    padding: 6px 6px 6px 40px;
}

    .search-input[type=text]::placeholder {
        color: #bcc3d0;
        opacity: 0.8;
    }

.search-form {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 10px 0;
}

/* Стили для кнопок
-------------------------------------------------- */

.btn-apply {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: white;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: #1abc9c;
    border: 1px solid #1abc9c;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .btn-apply:hover {
        background-color: #27ab91;
    }

.btn-cancel {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: white;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: #b5bdcc;
    border: 1px solid #b5bdcc;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .btn-cancel:hover {
        background-color: #a6aebc;
        color: white;
    }

/* Стили для таблицы
-------------------------------------------------- */
.customtable {
    border-collapse: collapse;
    margin: 10px 0;
    padding: 0;
    width: 80%;
    table-layout: auto;
}

    .customtable tr {
        background-color: #f8f8f8;
        padding: .35em;
        border-bottom: 1px solid;
        border-color: lightgray;
        border-top: 0;
        border-left: 0;
        border-right: 0;
    }

        .customtable tr:last-child {
            border-bottom: 0;
        }

        .customtable tr:hover {
            background-color: #e1e7f2 !important;
        }

        .customtable tr:nth-child(even) {
            background-color: #fafbfd;
        }

    .customtable th {
        background-color: #555;
        color: #fff;
        padding: 35px 13px 20px 13px;
    }

    .customtable td {
        padding: 20px 13px;
        cursor: pointer;
    }

    .customtable th,
    .customtable td {
        text-align: center;
        font-size: 12px;
    }

        .customtable td a.img-container {
            position: relative;
            display: inline-block;
        }

            .customtable td a.img-container .img-back {
                width: 30px;
                height: 30px;
            }

            .customtable td a.img-container .img-top {
                display: none;
                position: absolute;
                top: 0;
                left: 0;
                z-index: 99;
                width: 30px;
                height: 30px;
            }

    .customtable tr:hover td a.img-container .img-top {
        display: inline;
    }

    .customtable .img-sort {
        width: 20px;
        height: 20px;
    }

    .customtable .fake-div {
        width: 20px;
        height: 21px;
        background-color: inherit;
    }

.item__wrapper {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
.item_prop__wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    padding: 5px;
}
.item_prop_header {
    font-size: 10px;
    font-weight: bold;
}
.form-select {
    padding-left: 40px !important;
}