/***  body  */
/** {*/
/*	-moz-user-select: none;*/
/*	 -webkit-user-select: none; */
/*	-ms-user-select: none;*/
/*	 user-select: none; */
/*}*/

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    /*overflow: hidden;*/
    height: 100vh;
}

#header .personal_block .block_cloud {
    background: url(/local/templates/panorama/images/dialoge1.png);
    font-style: normal;
    font-weight: 500;
    font-size: 10px;
    line-height: 160%;
    max-width: 185.5px;
    background-size: 100% 100%;
    letter-spacing: 0.03em;
    color: #000000;
    padding: 3px 15px 3px 8px;
}

.cloud_main {
    left: -175px;
    position: absolute;
}

/***  body  */

/*  MAIN STYLE  */
#header,
#footer {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    position: fixed;
    width: 100%;
    z-index: 1;
}

#header *:not(ul):not(li),
#footer * {
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: box;
    display: flex;
    -webkit-flex-direction: row;
    /*flex: 1 0 auto*/
}


#header > *,
#footer > * {
    justify-content: space-between;
    align-items: center;
}

main {
    /*padding-top: 120px;*/
    /*padding-bottom: 60px;*/
    /*overflow-y: overlay;*/
    /*height: 100vh;*/
}

a {
    text-decoration: none;
    color: #000;
}

.personal_cabinet .count {
    background: red;
    color: white;
    padding: 5px 10px;
    border-radius: 40px;
    font-weight: bolder;
    position: absolute;
    right: 0px;
    font-size: 13px;
    width: 25px;
    height: 25px;
    align-items: center;
    display: flex !important;
    top: 35px;
    justify-content: center;
}

/*  END MAIN STYLE  */

#header .icon {
    width: 76px;
    height: auto;
}

#header .main_wrapper {
    height: 120px;
}

.personal_cabinet {
    flex-flow: column;
    position: relative;
}

.main_wrapper {
    width: calc(100% - 240px);
    margin: 0 auto;
}

/* HEADER */
/*  LOGO  */
.logo {
    align-items: center;
    padding: 40px 0 30px;
}

.logo_set {
    position: relative;
    align-items: flex-end;
}

.image_logo {
    height: 60px;
    width: auto;
}

.image_logo_roll {
    position: absolute;
    left: 21%;
}

.logo:hover .image_logo_roll {
    animation-duration: 2s;
    animation-name: slidein;
    transition-timing-function: linear;
    animation-iteration-count: 9999999;
}

.image_logo_name {
    height: 20px;
}

#header .logo_mobile {
    display: none;
}

/*  END LOGO  */

/*  PERSONAL  */
.personal_block {
    flex-flow: column;
    position: relative;
    width: unset !important;
}

#header .personal_block .go_family_notify_mobile {
    display: none;
}

.personal_block > * {
    margin-bottom: 10px;
}

.personal_block *[class*="_link"] {
    padding-left: 10px;
}

.personal_block * {
    align-items: center;
}

/*  END PERSONAL  */

/*  MENU  */
.menu_sound,
.main_menu {
    position: relative;
    align-self: flex-start;
    padding-top: 30px;
}

.main_menu {
    padding-top: 0;
}

.main_menu_burger {
    width: 90px;
    height: auto;
}

.main_menu img {
    cursor: pointer;
}

.main_menu .main_float_menu {
    position: absolute;
    top: 100%;
    left: calc(50% - 54px);
    width: auto;
    background: #fff;
    text-transform: uppercase;
    text-align: center;
    padding: 0 5px 5px;
    display: none;
}

.sound {
    align-items: flex-start;
    padding-top: 23px;
}

#header .sound img {
    display: flex;
    width: 30px;
    cursor: pointer;
}

#header .sound.active .sound_off,
#header .sound .sound_on {
    display: none;
}

#header .sound.active .sound_on {
    display: flex;
}

.main_float_menu li {
    float: left;
    width: 100%;
    list-style-type: none;
    font-size: 0.815em;
    line-height: calc(20px + 0.8em);
    vertical-align: middle;
}

#header .main_float_menu li a {
    display: block;
    text-wrap: nowrap;
    padding: 0 5px;
    width: 100%;
}

.main_float_menu li,
.house_float_menu li {
    color: #000000;
}

.house_float_menu {
    display: none;
}

.personal_block .personal_cabinet:hover .house_float_menu {
    display: block;
    position: absolute;
    bottom: -3px;
    left: -47px;
    width: 170px;
}

.house_float_menu li a {
    background: #FFFFFF;
    text-transform: uppercase;
    border-radius: 5px;
    font-size: 0.815em;
    padding: 5px;
    width: fit-content;
    padding-left: 15px;
    padding-right: 15px;
}

.house_float_menu li {
    display: flex;
    justify-content: center;
}

.main_menu:hover .main_float_menu,
.main_menu:hover .main_menu_burger.hover {
    display: block !important;
}

.main_menu:hover .main_menu_burger,
.main_menu_burger.hover {
    display: none !important;
}

.main_float_menu li a:active,
.main_float_menu li a:focus,
.main_float_menu li a:hover,
.house_float_menu li a:active,
.house_float_menu li a:focus,
.house_float_menu li a:hover {
    color: #FF4E00;
    /*background: rgb(255 78 0 / 20%);*/
    background: #DBDBDB;
}

#header .personal_cabinet {
    /*padding-top: 40px;*/
    padding: 40px 0 30px;
}

#header .personal_cabinet a {
    flex-flow: column;
}

.personal_cabinet_link {
    font-size: 12px;
}

/*  MENU  */
/*  END HEADER  */

/*  FOOTER  */

#footer {
    bottom: 0;
    height: 60px;
    background: rgb(255 255 255 / 50%);
}

#footer .icon {
    margin-left: 12px;
    width: 30px;
    height: auto;
}
.personal_block .basket_block {
    margin-left: 15px;
    margin-right: 15px;
}
.block_cloud:hover {
    box-shadow: -10px 0px 40px rgb(0 0 0 / 50%);
}
#footer .footer_contacts .icon {
    margin-right: 12px;
}

.footer_contacts {
    font-size: 16px;
    line-height: 17px;
}

.footer_contacts .contacts_phone {
    font-size: 18px;
    font-weight: 700;
}

.footer_contacts > *:not(:last-of-type) {
    padding-right: 15px;
}

.footer_contacts * {
    align-items: center;
}

#footer .footer_contacts.mobile {
    display: none;
}

/*  END FOOTER  */
@media screen and (min-width: 768px) {
    .logo_mobile {
        display: none;
    }
}

@media screen and (max-width: 1024px) {

    #header .personal_block .block_cloud {
        background: url(/local/templates/panorama/images/dialoge2.png);
        background-size: 100% 100%;
        font-size: 9px;
        text-align: center;
        padding: 20px 8px 3px 8px;
    }

    .cloud_main {
        position: absolute;
        top: 50px;
        right: 45px;
        width: max-content;
        left: unset;
    }

    #header .personal_block .go_family_notify_mobile {
        display: block;
    }

    #header .personal_block .go_family_notify {
        display: none;
    }



    .personal_cabinet .count {
        top: -12px;
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .image_logo_name {
        height: 18px;
    }

    .personal_block .personal_cabinet .house_float_menu {
        display: none !important;
    }


    .personal_cabinet_link {
        display: none;
    }


    .main_wrapper {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    #header .icon {
        width: 40px;
    }

    #footer {
        height: 50px;
    }
}

@media screen and (max-width: 996px) {
    #header .personal_cabinet {
        padding: 0;
    }

    .personal_block {
        padding-right: 15px;
    }

    #header .personal_block *[class*="_link"] {
        display: none;
    }


}

@media screen and (max-width: 575px) {
    .cloud_main {
        right: 35px;
    }

    .personal_cabinet .count {
        top: -6px;
    }

    .sanitary_icons {
        display: none !important;
    }

    .main_float_menu {
        font-size: 21px;
    }

    .menu_sound, .main_menu {
        padding: unset;
    }

    body {
        -webkit-text-size-adjust: none;
    }

    #header .main_wrapper {
        height: 90px;
    }

    .main_menu {
        padding-top: 25px;
        padding-left: 10px;
    }

    .main_menu_burger {
        width: 75px;
    }


    .logo {
        padding: 0;
    }

    #header .logo_mobile {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        height: 46px;
    }

    #header .logo img:not(.logo_mobile) {
        display: none;
    }

    .image_logo {
        height: 30px;
    }

    .image_logo_name {
        height: 13px;
    }

    .personal_block {
        padding-right: 10px;
        width: unset;
        justify-content: flex-end;
    }

    .personal_cabinet_link {
        display: none;
    }

    .personal_block .basket_block {
        align-items: flex-end;
    }

    .main_wrapper .personal_block .basket_block .count {
        top: -6px !important;
    }

    .main_menu .main_float_menu {
        margin: 0 2px;
        padding: 0;
        max-width: 83%;
    }

    .main_float_menu li {
        font-size: 0.4em;
        line-height: 20px;
        margin-bottom: 5px;
    }

    .house_float_menu li {
        font-size: 0.4em;
    }

    #footer {
        height: 60px;
    }

    #footer .footer_contacts,
    #footer .footer_contacts *[class*="_link"] {
        display: none;
    }

    #footer .footer_contacts.mobile {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
    }

    .sanitary_icons {
        position: absolute;
        bottom: 70px;
        left: calc(50% - 65px);
    }

    #footer .sanitary_icons .icon:first-of-type {
        margin-left: 0;
    }

    #footer .sanitary_icons .icon {
        padding: 0;
        width: 30px;
    }

    #footer .footer_contacts .icon {
        width: 40px;
        margin: 0;
    }
}

@keyframes slidein {
    from {
        -moz-transform: rotate(0deg); /* Для Firefox */
        -ms-transform: rotate(0deg); /* Для IE */
        -webkit-transform: rotate(0deg); /* Для Safari, Chrome, iOS */
        -o-transform: rotate(0deg); /* Для Opera */
        transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg); /* Для Firefox */
        -ms-transform: rotate(360deg); /* Для IE */
        -webkit-transform: rotate(360deg); /* Для Safari, Chrome, iOS */
        -o-transform: rotate(360deg); /* Для Opera */
        transform: rotate(360deg);
    }
}