﻿/*_BasicTemplateNew*/
/*стили для header (верхней части)*/
.cn.header {
    height: 100px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    position:relative;
    z-index:3;
}

#logo > img {
    width: 80px;
    height: 92px;
}

#logo-text {
    font-variant: small-caps;
    margin-left: 8px;
    font-size: 16px;
    padding-bottom: 7px;
}

.image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.navigation {
    flex-grow: 1;
}

    .navigation ul {
        display: flex;
        justify-content: center;
        flex-flow: row nowrap;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .navigation li {
        margin-right: 30px;
    }

        .navigation li:last-child {
            margin-right: 0;
        }

    .navigation a {
        padding: 8px 10px;
    }

    .navigation:hover a {
    }

.userInfo {
    display: flex;
    justify-content:flex-start;
    flex-direction: column;
    width: 200px;
    height: 100px;
    padding-right: 0;
    margin: auto;
    margin-top: 10px;
    margin-right: inherit;
}

.exit:hover::after {
    content: attr(data-title);
}

.userName {
    margin-top: 0.5em !important;
    margin-bottom: 0.5em
}

#repairPartsTable .column {
    width: 33.33% !important;
    margin-bottom: 3px !important;
}

    /* Стили для мобильных телефонов */
@media screen and (max-width: 767.98px) {
    .large-monitor-only, .small-monitor-only, .tablet-only {
        display: none !important;
    }

    .hide-on-mobile {
        display: none !important;
    }

    #logo > img {
        width: 53px;
        height: 61px;
    }

    #logo-text {
        margin-left: 6px;
        font-size: 14px;
        padding-bottom: 2px;
    }

    #repairPartsTable .column {
        width: 50% !important;
        margin-bottom: 3px !important;
    }

    .imageHome {
        height: 350px;
    }

    .headerText {
        margin-top: 0px;
    }

        .headerText h1 {
            font-size: 20px;
        }

        .headerText h3 {
            font-size: 15px;
        }
}
    /* Стили для планшетов */
    @media only screen and (min-width: 768px) and (max-width: 991.98px) {
        .large-monitor-only,
        .small-monitor-only,
        .mobile-only {
            display: none !important;
        }

        #logo > img {
            width: 53px;
            height: 61px;
        }

        #logo-text {
            margin-left: 6px;
            font-size: 14px;
            padding-bottom: 5px;
        }

        .userInfo {
            flex-direction: column;
            width: 180px;
            height: 100px;
            padding-right: 0;
            font-size: 13px;
        }

        .userName {
            margin-top: 1em !important;
        }

        .imageHome {
            height: 350px;
        }

        .headerText {
            margin-top: 10px;
        }

            .headerText h1 {
                font-size: 20px;
            }

            .headerText h3 {
                font-size: 15px;
            }

        .userName.home {
            font-size: 15px;
        }
    }
    /* Стили для небольших экранов */
    @media only screen and (min-width: 992px) and (max-width: 1199.98px) {
        .large-monitor-only,
        .tablet-only,
        .mobile-only {
            display: none !important;
        }

        .imageHome {
            height: 450px;
        }

        .headerText {
            margin-top: 100px;
        }

        .userName.home {
            font-size: medium;
        }
    }
    /* Стили для больших экранов */
    @media only screen and (min-width: 1200px) {
        .small-monitor-only,
        .tablet-only,
        .mobile-only {
            display: none !important;
        }

        .imageHome {
            height: 650px;
        }

        .headerText {
            margin-top: 200px;
        }

            .headerText h1 {
                font-size: 40px;
            }

            .headerText h3 {
                font-size: 22px;
            }

        .userName.home {
            font-size: larger;
        }        
    }
    /*стили для модульных окон, которые нельзя редактировать(для неавторизованных пользователей)*/
    .justText input[disabled=disabled] {
        color: black !important;
        border: none !important;
        opacity: 1 !important;
    }

    .justText select[disabled=disabled] {
        border: none !important;
        opacity: 1 !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .cn.card {
        margin: auto;
    }

    /*заглавная страница Home*/
    .personal {
        cursor: pointer;
    }

    .imageHome {
        background: url('../Content/pexels-yaroslav-shuraev-1834403_1920.jpg');
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
        position: relative;
        z-index: 2;
    }

    .headerText {
        color: white;
        position: relative;
        z-index: 3;
        bottom: auto;
        text-align: center;
    }

    .filler {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: black;
        opacity: 0.7;
        z-index: 1;
    }

    .cn.header.home {
        color: white;
    }

    .userInfo.home {
        flex-direction: row-reverse;
        align-items: center;
        margin-top: 0;
    }

    .userName.home {
        margin-top: 0 !important;
    }

    .footer {
        text-align: center;
    }

    .full.height {
        flex: 1 0 auto;
    }

    body {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .login.button {
        margin-top: 50px;
    }

    .home.down.container {
        padding-top: 20px;
    }

    /*стили для всех input у которых type=number, чтобы не было стрелочек при вводе числа*/
    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
        -webkit-appearance: none !important;
    }

    input[type='number'],
    input[type="number"]:hover,
    input[type="number"]:focus {
        appearance: none;
        -moz-appearance: textfield !important;
    }

    /*реформал окно, чтоб было ниже модальных окон*/
    #reformal_tab {
        z-index: 100 !important;
    }