/* Always set the map height explicitly to define the size of the div
             * element that contains the map. */
#map {
    height: 100%;
}

/* Optional: Makes the sample page fill the window. */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'PT Sans', sans-serif;
}

/*
#floating-panel {
    position: absolute;
    top: 10px;
    left: 25%;
    z-index: 5;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #999;
    text-align: center;
    font-family: 'Roboto', 'sans-serif';
    line-height: 30px;
    padding-left: 10px;
}
*/

.btn {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.65);
    text-align: center;
    display: inline-block;
    padding: 6px 12px;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
}

[type='button']:not(:disabled),
[type='reset']:not(:disabled),
[type='submit']:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}

.btn:active,
.btn:focus {
    outline: 0;
}

.btn-secondary {
    background-color: #fff;
    border-color: #d9d9d9;
}

.btn-secondary:hover {
    color: #dedede;
    border-color: #dedede;
}

.btn-secondary:active {
    color: #adadad;
    border-color: #adadad;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #47b35d;
    border-color: #47b35d;
}

.btn-success:active {
    background-color: #188034;
    border-color: #188034;
}

.control-label {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 0px;
}

.form-control {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    line-height: 21px;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.info-window *,
.info-window *::before,
.info-window *::after {
    box-sizing: inherit;
}

.info-window {
    box-sizing: border-box;
}

.info-window__header {
    display: flex;
    justify-content: space-between;
}

.info-window__actions {
    padding-left: 10px;
    display: flex;
    flex-wrap: nowrap;
}

.info-window__actions .btn {
    padding: 0 5px;
}

.info-window__btn {
    padding: 0;
}

.info-window__icon {
    display: block;
    max-width: 100%;
    height: auto;
}

.info-window__content {
    margin-top: -10px;
    margin-bottom: 5px;
}

.info-window .form-group {
    margin-bottom: 15px;
}

.info-window .form-group:last-child {
    margin-bottom: 0;
}

.info-window__form-buttons {
    padding-top: 1px;
    display: flex;
    max-width: 100%;
    justify-content: space-between;
}

.info-window__form-buttons .btn {
    flex-basis: 48%;
}

.gm-style-iw-d {
    max-width: 350px !important;
}

.order-form {
    display: flex;
    justify-content: space-around;
}

.order-form .btn {
    width: 50%;
}

.order-form .btn:first-child {
    margin-right: 10px;
}

.form-group.buttons {
    margin-bottom: 4px;
}

/*----------------- main menu ------------------ */

#map {
    position: relative;
    z-index: 1;
    height: 100%;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar.header-navbar {
    padding: 0px 30px;
    align-items: center;
    justify-content: space-between;
    background-color: #0e161c;
    height: auto;
    font-family: 'PT Sans', sans-serif;
    display: flex;
    flex-wrap: nowrap;
    position: absolute;
    width: 100%;
}

.header-logo {
    height: 60px;
}

.header-menu-items {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.nav-item.header-nav-item {
    padding: 20px 8px;
    margin: 0 0.625rem;
}

.nav-link.header-nav-link {
    color: white;
    text-align: center;
    align-items: center;
    font-size: 14px;
    padding: 0;
}

.nav-item.header-nav-item:hover {
    background: #33333355;
}

.nav-item.header-nav-item.active {
    border-bottom: 4px solid #ffd700;
}

.right-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 60px;
    /* display: none; */
}

#w0 ul, #w1 ul  {
    margin: 0;
    padding: 0;
}

.auth-clients {
    display: flex !important;
    flex-wrap: nowrap !important;
}

.auth-clients li:last-child {
    margin: 0;
}

.auth-icon.instagram {
    background: url(/img/img/icons8-instagram-48.png) no-repeat;
    margin: -8px 0 0 -7px;
    width: 41px;
    height: 41px;
}

.btn-dark.btn-dark-out {
    border-radius: 25px;
    border: 1px solid #ffd700;
    padding: 5px 22px;
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
}

#w0 {
    display: block;
    /*display: none;*/
}

.btn-dark.btn-dark-out:hover {
    border: 1px solid #ffd700;
    background: #ffd70025;
    -moz-box-shadow: inset 0 0 10px #ffd700;
    -webkit-box-shadow: inset 0 0 10px #ffd700;
    box-shadow: inset 0 0 10px #ffd700;
}

.username-block {
    display: flex;
    justify-content: center;
    align-items: center;
    /*display: none;*/
}

.username-block-img {
    display: flex;
    flex-direction: column;
    flex-basis: 70%;
    align-items: center;
    justify-content: center;
    padding: 3px 15px 1px 0;
    /*display: none;*/
}

.header-out_button {
    flex-basis: 30%;
}

.username-img {
    height: 44px;
    width: 44px;
    background: white;
    border-radius: 50%;
}

.username-item {
    color: white;
    font-size: 11px;
    margin: 0;
    text-align: center;
}

/*-------------------------- order form styles -----------------*/
.order-block {
    position: absolute;
    top: 68px;
    z-index: 2;
    left: 5px;
    padding: 10px;
}

.form-header {
    text-align: center;
}

.form-order {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    height: auto;
}

.input-line {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.input-group.mb-3.where-input {
    width: 100%;
    height: auto;
    margin: 8px 10px 8px 0 !important;
}

.form-right-icons img {
    width: 28px;
    height: 28px;
}

.gps-img {
    width: 20px;
    height: 20px;
}

.form-control.where-input {
    border-right: white;
}

.form-control.where-input:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.input-group-text.input-gps {
    background: white;
}

.form-right-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
}

.form-right-icons.add {
    border: 2px solid rgb(100, 99, 99);
    border-radius: 4px;
    width: 28px;
    height: 28px;
}

.form-right-icons.add:hover {
    background: #ced4da;
}

.gps-img.add {
    padding: 6px;
}

.gps-img.edit {
    margin-right: 10px;
}

.close.form-order-close-btn {
    display: none;
}

.btn.btn-success.open-box-yet {
    display: none;
    margin-bottom: 10px;
}

/* ------------------------------chat block styles-----------------------*/

.chat-block {
    position: absolute;
    top: 460px;
    z-index: 10;
    left: 5px;
    padding: 10px;
    width: 406px;
}

.card-chat {
    background: white;
    border-radius: 8px;
    background: url('/img/img/telegram-backg.com');
}

.card-header.card-header_chat {
    background: #0e161c;
    color: white;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0 !important;
}

.close.chat-close-btn {
    font-size: 50px;
    color: yellow;
    text-shadow: none;
    font-weight: 300;
    opacity: 0.8;
    margin-bottom: 6px;
}

.close.chat-close-btn:hover {
    font-size: 50px;
    color: white;
    opacity: 1;
}

.card-body.card-body_chat {
    padding: 10px 10px 20px 10px;
    font-size: 14px;
    overflow-y: auto;
    height: 360px;
    color: #232b23;
}

.chat-user-name {
    margin-left: 8px;
    color: orangered;
}

.user-message_left {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}

.user-message_right {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.card-body-message_left {
    background: #e9e97e;
    padding: 5px;
    margin: 0 5px;
    display: inline-block;
    border-radius: 10px 10px 10px 0px;
    max-width: 250px;
}

.card-body-message_left div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: inherit;
}

.card-body-message_right {
    background: #67e16b;
    padding: 5px;
    margin: 0 5px;
    max-width: 250px;
    display: inline-block;
    border-radius: 10px 10px 0px 10px;
    background: #d3f2d9;
}

.chat-item-info {
    display: flex;
}

.chat-info {
    display: flex;
    flex-direction: column;
    justify-content: inherit;
    align-items: flex-end;
}

.chat-user-img {
    width: 30px;
    height: 30px;
}

.card-body-message_item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.fa.fa-eye.fa-fw {
    color: green;
}

.chat-data {
    background: lightslategrey;
    max-width: 100px;
    margin: 0 auto;
    border-radius: 50px;
    padding: 0 6px;
}

.chat-data p {
    margin: 0 auto 5px auto;
    text-align: center;
    font-size: 12px;
    color: white;
    padding: 1px;
}

.chat-footer {
    border-radius: 0 0 8px 8px;
    background: white;
}

.chat-telegram-img {
    width: 20px;
    height: 20px;
}

.chat-footer .input-group {
    align-items: center;
}

.chat-footer .input-group .form-control {
    border: 2px solid white;
    border-radius: 0 0 0 8px !important;
}

.chat-footer .input-group .form-control:focus {
    box-shadow: none;
    border-color: white;
}

.btn.send-btn:focus {
    box-shadow: none;
}

.fa.fa-paper-plane.send-message-icon {
    color: #28a745;
    font-size: 25px;
}

.fa.fa-paper-plane.send-message-icon:hover {
    color: #0b1a0b;
}

.responsive-menu-button {
    display: none;
}

.responsive-sign-block {
    display: none;
}

.btn.btn-primary.toggle-menu-btn {
    background: none;
    border: none;
    font-size: 35px;
    padding: 0;
}

.btn.btn-primary.toggle-menu-btn:focus {
    box-shadow: none;
    background: none;
}

#fa-times-icon {
    display: none;
}

.btn.btn-success.open-order-box-btn {
    display: none;
}

.sign-in-window, .develop-modal-notification {
    display: none;
    position: fixed;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    height: 100%;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.5);
}

.sign-in-window-content {
    background: white;
    padding: 20px 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 5px;
    max-width: 300px;
    margin: 15% auto 0 auto;
}

.sign-in-window-header {
    width: 100%;
    text-align: center;
}

.sign-in-window-header button {
    margin-top: -15px;
}

.sign-in-window-body {
    text-align: center;
    margin-bottom: 10px;
}

@media screen and (max-width: 459px) {
    .info-window__actions .btn {
        padding: 2px;
    }

    .order-form .btn {
        width: 100%;
        margin: 2px 0;
    }

    .info-window__form-buttons .btn {
        padding: 5px;
    }
    .input-group.mb-3.where-input {
        width: 75%;
    }
}

@media screen and (max-width: 868px) {
    .navbar.header-navbar {
        flex-wrap: wrap;
        padding: 5px 0;
        justify-content: space-around;
    }

    .header-menu-items {
        flex-basis: 100%;
        flex-direction: column;
        justify-content: center;
        background: #192731;
        margin: 5px 0 0 0;
        display: none;
        position: absolute;
        top: 64px;
        width: 100%;
        opacity: 0.9;
    }

    .nav-item.header-nav-item {
        padding: 16px 8px;
    }

    .nav-link.header-nav-link {
        font-size: 18px;
    }

    .right-panel {
        display: none;
    }

    .responsive-sign-block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        align-items: center;
        flex-basis: 10%;
    }

    .responsive-sign-block p {
        margin-top: -1px;
    }

    .responsive-menu-button {
        display: block;
        flex-basis: 10%;
    }

    .open-box-buttons button {
        background: #0e161c;
    }

    .order-block {
        position: fixed;
        display: none;
        top: unset;
        padding: 0;
        bottom: 0 !important;
        width: 100%;
        left: 0;
    }
    .form-header {
        margin-top: -20px;
    }
    .close.form-order-close-btn {
        margin-right: 0px;
        margin-top: -12px;
        font-size: 40px;
        color: black;
        text-shadow: none;
        font-weight: 300;
        opacity: 0.8;
        display: block;
    }

    .btn.btn-success.open-order-box-btn,
    .btn.btn-success.open-order-box-btn:hover,
    .btn.btn-success.open-order-box-btn:focus {
        background: #0e161c !important;
        border-color: #0e161c !important;
        box-shadow: none;
    }

    .form-order {
        border-radius: 4px 4px 0 0;
        padding: 10px 10px 3px 10px;
        margin: 0 auto;
        margin-bottom: 40px;
    }

    .chat-block {
        display: none;
    }

    .card-chat {
        border-radius: 0;
    }

    .card-header.card-header_chat {
        border-radius: 0 !important;
    }

    .card-body.card-body_chat {
        height: 86%;
    }

    .chat-footer {
        bottom: 0;
        position: absolute;
        width: 100%;
    }

    .open-box-buttons {
        display: flex;
        z-index: 6;
        position: fixed;
        flex-wrap: wrap;
        bottom: 0;
        width: 100%;
    }

    .btn.btn-success.open-order-box-btn {
        flex-basis: 100%;
        display: block;
    }
    /*#w1, #w0 {
        border: 3px solid black;
        padding: 8px 20px;
        border-radius: 5px;
        background: rgb(53, 53, 53);
        display: block;
    }*/
    #w1, #w0 {
        border: 3px solid white;
        padding: 17px 34px;
        border-radius: 51px;
        background: rgb(235, 237, 241);
        display: block;
    }
}

@media screen and (max-width: 868px){
    .sign-in-window-content {
        margin: 50% auto 0 auto;
    }
}

@media screen and (max-width: 823px) and (orientation: landscape) {
    .form-order {
        height: 220px;
        overflow-y: auto;
    }

    .card-body.card-body_chat {
        height: 88%;
    }

    .sign-in-window-content {
        margin: 80px auto 0 auto;
    }
}

@media screen and (max-width: 569px) and (orientation: landscape) {
    .form-order {
        height: 200px;
    }
}


@media screen and (max-height: 980px) and (min-width: 870px) {
    .chat-block {
        top: 100px;
        right: 50px;
        left: auto;
    }

    .order-block {
        top: 140px;
    }
}