﻿.header-area {
    height: 70px;
    position: relative;
    border: none;
    /*border-bottom: 1px solid #848484;*/
    -webkit-box-shadow: -3px 7px 20px -6px rgba(0,0,0,0.4);
    -moz-box-shadow: -3px 7px 20px -6px rgba(0,0,0,0.4);
    box-shadow: -3px 7px 20px -6px rgba(0,0,0,0.4);
    overflow: hidden;
}

.header-overlay h2 {
    color: var(--wf-h3-color);
}

.header-area a {
    color: var(--wf-h1-color);
}

.header-area a:visited {
    color: var(--wf-h1-color);
}

.header-group {
    height: 70px;
    padding: 0px;
    margin: 0px;
    /*padding-left: 10px;
    padding-right: 10px;*/
    /*display: table-cell;*/
}
.header-navigation {
    margin: 0px;
    height: 70px;
    width: 54px;
    min-width: 54px;
}


@media screen and (max-width: 640px) {
    .header-group {
        height: unset;
    }
    .header-navigation {
        height: 50px;
    }
}


.header-owner {
    overflow: auto;
    padding-left: 10px;
    white-space: nowrap;
}

.header-owner td {
    border: 0px;
}

/*.header-owner h3 {
        display: none;
    }*/
.header-user {
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 5px;
    position: absolute;
    float: right;
    top: 11px;
    height: auto;
    right: 0px;
}


.header-button {
    width: 48px;
    height: 48px;
    margin: 0px;
    padding: 0px;
    /* transform: translateY(-50%); */
    background-color: transparent;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    float: none;
}

.header-button:hover {
    border-color: var(--wf-hover-color);
    background-color: var(--wf-hover-bgcolor);
}

.header-button img {
    overflow: inherit;
    margin: 0px;
}

@media screen and (min-width: 641px) {
    .header-button img {
        width: calc(100% - 10px);
        height: calc( 100% - 10px);
        padding: 5px;
    }
}

@media screen and (max-width: 640px) {
    .header-button img {
        width: calc(100% - 4px);
        height: calc( 100% - 4px);
        padding: 2px;
    }
}

.header-overlay {
    overflow: auto;
    padding-left: 13px;
    max-height: 70px;
}
@media screen and (max-width: 640px) {
    .header-overlay {
        max-height: 50px;
    }
}

.header-overlay h1 {
    padding-top: 15px;
}

.header-overlay h1,
.header-overlay h2,
.header-overlay h3,
.header-overlay h4 {
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    /*max-width: 500px;*/
    white-space: nowrap;
    text-overflow: ellipsis;
}

.header-owner-button {
    position: relative;
    height: 67px;
    width: 67px;
    top: 1px;
    overflow: hidden;
}

.header-image-button,
.header-parents-button {
    height: 48px;
    width: 48px;
    top: 0px;
    border-radius: 50%;
}


.header-parents-button {
    position: absolute;
    right: 0px;
    display: none;
}

.header-image-button:hover {
    border-color: var(--wf-hover-color);
}

.header-image {
    overflow: inherit;
    height: 100%;
    width: 100%;
}

.header-parents {
    padding-left: 10px;
    white-space: nowrap;
}

.header-parents .header-parent {
    overflow: hidden;
    max-width: 200px;
    border: 1px solid #e2e2e2;
    border-radius: unset;
    margin: 0px;
    display: inline-block;
}

.header-parents .header-parent .item-VSubtitle,
.header-parents .header-parent .item-VDescription,
.header-parents .header-parent .item-VContent {
    display: none;
}

.header-parent:hover {
    background: #F4F5F5;
}

.header-parent h1,
.header-parent h2,
.header-parent h3,
.header-parent h4 {
    font-size: 0.8em;
    font-weight: normal;
    overflow: hidden;
    margin: 2px;
    white-space: nowrap;
}

.header-parent .item {
    padding: 0px;
}

.header-parent .item-a {
    width: 50px;
    height: 50px;
    padding: 0px;
}

.header-parent .item-image {
    /*width: 48px;
    height: 48px;
    padding: 0px;*/
}

.header-owner {
    overflow: hidden;
    padding-left: 10px;
}

.header-parents {
}

.menu-button {
    margin: 0px;
    padding: 0px;
    overflow: inherit;
    position: relative;
}

.menu-button:hover {
    border-color: var(--wf-hover-color);
}


.header-navigation .menu-button {
    top: 10px;
    left: 12px;
    width: 30px;
    height: 30px;
}

@media screen and (max-width: 640px) {
    .header-navigation .menu-button {
        top: 8px;
    }
}

.header-navigation .menu-button img {
    padding: 0px;
    width: 100%;
    height: 100%;
}

.menu-button-image {
    float: left;
    width: 100%;
    height: 100%;
    overflow: inherit;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

.xmenu-button::after {
    position: fixed;
    content: "";
    top: 12px;
    height: 46px;
    width: 1px;
    background-color: #848484;
    left: 70px;
}

.header-home-button,
.header-user-button {
    height: 48px;
    width: 48px;
    border-radius: 50%;
}

.header-home-button {
    margin-right: 10px;
}

.header-home-button:hover img,
.header-user-button:hover img {
    border-radius: 50%;
}

.header-parents .header-parent {
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    width: 50px;
    height: 50px
}

.header-parents .header-parent:hover {
    min-width: 200px;
    max-width: unset;
}

.header-parents h2.item-text.item-VTitle {
    display: none;
}

.header-parents .header-parent:hover h2.item-text.item-VTitle {
    display: block;
}

.header-entity {
    padding-left: 10px;
}

.header-entity h1 {
    white-space: nowrap;
}

#header-owner-button #loader {
    display: none;
}

#header-owner-button.loading #loader {
    display: block;
}

#header-owner-button.loading img {
    display: none;
}

.logo-svg {
    fill: #FF3366;
}

@media screen and (min-width: 641px) {
    .header-phone {
        display: none;
    }
}

@media screen and (max-width: 900px) {

    .header-entity {
        display: none
    }
}

@media screen and (max-width: 640px) {

    #header-owner-button.loading img {
        display: block;
    }

    .header-area {
        height: 50px;
        width: 100%
    }

    .header-area > table {
        width: calc(100% - 30px);
    }

    .header-navgigation {
        width: auto;
        height: auto;
    }

    .header-button {
        top: 3px;
        width: 44px;
        height: 44px;
        margin-right: 0
    }

    .header-image-button,
    .header-parents-button {
        padding: 0px;
    }

    .header-parents-button {
        display: none;
    }

    .header-parents {
        display: none;
        position: absolute;
        right: 0px;
    }

    .header-shift {
        display: table-cell;
        position: static;
        right: 10px;
    }

    .phone-header-parents {
        display: none;
        position: absolute;
        right: 0px;
        top: 72px;
        max-width: calc(100% - 6px);
        padding: 3px;
        background: var(--wf-menu-bgcolor);
        box-shadow: 0px 0px 30px 10px darkgray;
    }

    .phone-header-parents .itemtemplate {
        border-radius: 0px;
    }

    .header-owner {
        float: none;
        position: relative;
        left: auto;
        padding-left: 6px;
    }

    .header-overlay {
        padding-left: 6px;
    }


    .header-overlay h1 {
        font-size: small;
        margin: 1px;
    }

    .header-overlay h2 {
        font-size: smaller;
        margin: 1px;
    }

    /*.header-overlay h2,*/
    /*.header-overlay h3,*/
    .header-overlay h4 {
        display: none;
    }

    .header-parents-button {
        position: static;
        float: left;
    }

    .header-user {
        padding: 0px;
        position: fixed;
        top: 1px;
        right: 24px;
        border: 1px solid var(--wf-border-color);
        z-index: 1;
        background-color: white;
        display: none;
        background-color: white;
    }

    .header-phone {
        position: absolute;
        top: 0px;
        right: 0px;
        width: 20px;
        height: 50px;
        background: white;
    }

    .header-right-button {
        position: relative;
        top: 14px;
        left: 2px;
        height: 30px;
        width: 15px;
    }

    .header-right-button img {
        width: 100%;
        height: 100%;
        padding: 0px;
    }

    .header-shift .item-table {
        overflow: hidden;
    }

    .header-parents.header-shift .header-parent {
        width: 36px;
        height: 36px
    }

    .header-shift .header-parent .item-a {
        width: 36px;
        height: 36px;
        padding: 0px;
    }

    .header-shift .header-parent .item-image {
        width: 36px;
        height: 36px;
        padding: 0px;
    }
}
