﻿#primary-substrate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    transition: background-color 5s;
    opacity: 0.7;
    z-index: 5000;
}

#all-primary-dialogs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: space-around;
    pointer-events: none;
}

.primary-form {
    position: relative;
    padding: 20px;
    background-color: white;
    pointer-events: auto;
}

    .primary-form .title {
        min-width: 400px;
        padding: 5px 0;
        text-align: center;
        font-size: 1.875em;
        line-height: 1.25;
        font-weight: 700;
        color: #464646;
    }

    .primary-form .input {
        position: relative;
        margin: 15px;
    }

    .primary-form .error {
        color: red;
        min-height: 20px;
        padding-left: 15px;
    }

    .primary-form .restore {
        padding-right: 15px;
        text-align: right;
    }

    .primary-form .send-wrap {
        display: flex;
        justify-content: space-around;
        margin: 20px auto 0;
    }

    .primary-form .send {
        color: white;
        font-weight: 600;
        padding: 10px 40px;
        background-color: #8dc63f;
        cursor: pointer;
        border-radius: 2px;
    }

    .primary-form .close {
        position: absolute;
        bottom: 100%;
        left: 100%;
        width: 2em;
        height: 2em;
        cursor: pointer;
        transform: rotate(45deg);
        transition: transform .3s;
    }

        .primary-form .close:after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 1.5em;
            height: 2px;
            margin: -1px 0 0 -.75em;
            background: #fff;
        }

        .primary-form .close:before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 2px;
            height: 1.5em;
            margin: -.75em 0 0 -1px;
            background: #fff;
        }

        .primary-form .close:hover {
            transform: rotate(225deg)
        }

.reg-account-type {
    display: inline-block;
    padding: 15px 40px 10px;
    width: 48%;
}

.header-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4em;
    width: 1170px;
    margin: 10px auto;
}

.header-col {
    display: inline-block;
    vertical-align: middle;
    padding: 0 1em;
}

.header-logo {
    padding-right: .1em;
}

    .header-logo img {
        height: 4em;
    }

.header-info-text {
    font-weight: 600;
    color: #c2c2c2;
    font-size: .7em;
    line-height: 1.4em;
}

.header-button_green {
    color: #8dc63f;
    border-color: #8dc63f;
}

    .header-button_green:hover {
        color: #fff;
        background-color: #8dc63f;
    }

.header-button_orange {
    color: #ffad00;
    border-color: #ffad00;
}

    .header-button_orange:hover {
        color: #fff;
        background-color: #ffad00;
    }

.header-button {
    border: 2px solid;
    background: #fff;
    border-radius: .5em;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    box-sizing: border-box;
    padding: .5em 1.5em;
    /*     transition: .2s all linear; */
    display: inline-block;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid;
    margin: 0 8px;
}

.header-contacts {
    display: inline-block;
    vertical-align: middle;
    padding: 0 2em;
}

.header-photo-girl {
    display: inline-block;
    margin: 5px;
}

    .header-photo-girl img {
        border-radius: 100%;
    }

.header-contacts-text {
    display: inline-block;
    margin-top: 10px;
}

.header-contact-text {
    padding: 0;
    font-weight: 600;
    color: #c2c2c2;
    font-size: 0.8em;
}

.header-contact-code {
    font-size: 1em;
    font-weight: bold;
    padding: 0;
    line-height: 1.3;
    display: inline-block;
    color: black;
}

.header-contact-phone {
    font-size: 1.7em;
    font-weight: bold;
    padding: 0;
    line-height: 1;
    display: inline-block;
    color: black;
}

.header-login {
    color: #0099d2;
    font-weight: 600;
    font-size: 0.8em;
}

.header-basket {
    position: relative;
}

.fa-shopping-basket {
    font-size: 2.8em !important;
    color: #80b932;
}

.header-basket span {
    display: inline-block;
    text-align: center;
    width: 1.5em;
    height: 1.5em;
    font-size: .8em;
    background-color: red;
    border-radius: 100%;
    position: absolute;
    top: 0;
    right: 1em;
    color: #fff;
    font-weight: bold;
}

.header-hr {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-top-color: #c2c2c2;
}

.header-link-block {
    width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.header-link {
    padding: 0 1em;
}

    .header-link a {
        font-weight: bold;
        color: #464646;
        text-transform: uppercase;
        text-decoration: none;
        transition: .2s all linear;
    }

.header-link-number {
    position: relative;
    padding: 0 1em;
}

.header-number-input {
    padding: .25em 1em;
    height: 2em;
    display: inline-block;
    vertical-align: baseline;
    border: 1px solid #c2c2c2;
    border-radius: 1em !important;
    line-height: normal;
    width: 10em !important;
}

.header-number-botton {
    vertical-align: baseline;
    position: absolute;
    cursor: pointer;
    padding: .5em .8em;
    right: 15px;
}

.header-menu {
    display: none;
}

.fa-bars {
    font-size: 2.8em !important;
    color: #80b932;
}

@media screen and (max-width: 1200px) {
    .header-block {
        width: 100%;
    }

    .header-info-text {
        display: none;
    }

    .header-link-block {
        width: 100%;
    }
}

@media screen and (max-width: 880px) {
    .header-button {
        display: block;
        border: 0;
        padding: 0;
    }
}

@media screen and (max-width: 767px) {
    .header-photo-girl {
        display: none;
    }
}

@media screen and (max-width: 645px) {
    .header-button-block {
        display: none;
    }

    .header-link-block {
        display: none;
    }

    .header-login {
        display: none;
    }

    .header-basket {
        display: none;
    }

    .header-link-block {
        width: 100%;
    }

    .header-menu {
        display: block;
    }
}

.small-menu {
    display: none;
    position: fixed;
    top: 55px;
    right: 0;
    width: 200px;
    padding: 10px 20px;
    background-color: white;
    border: 1px solid grey;
    border-radius: 5px;
}

    .small-menu .small-menu-link {
        padding: 10px 0;
    }

        .small-menu .small-menu-link.border {
            border-bottom: 1px solid grey;
        }

    .small-menu a {
        color: black;
        text-decoration: none;
    }

        .small-menu a:hover {
            color: #80b932;
        }

@media screen and (max-width: 645px) {
    .small-menu.active {
        display: block;
    }
}

select.arrow {
    background: url('/images/select.png') 101% no-repeat !important;
    background-size: auto 100%;
    height: 28px;
}
