/*Обнуление*/
 * {
     padding: 0;
     margin: 0;
     border: 0;
}
 *, *:before, *:after {
     -webkit-box-sizing: border-box;
     box-sizing: border-box;
}
 :focus, :active {
     outline: none;
}
 a:focus, a:active {
     outline: none;
}
 nav, footer, header, aside {
     display: block;
}
 html, body {
     height: 100%;
     width: 100%;
     /*font-size: 100%;*/
     line-height: 1;
     font-size: 14px;
     /*font-family: Roboto;*/
     font-family: SBSansDisplayRegular;
     font-style: normal;
     font-weight: 500;
     -ms-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
     -webkit-text-size-adjust: 100%;
     scroll-behavior: smooth;
}
 input, button, textarea {
     font-family: inherit;
}
 input::-ms-clear {
     display: none;
}
 button {
     cursor: pointer;
}
 button::-moz-focus-inner {
     padding: 0;
     border: 0;
}
 a, a:visited {
     text-decoration: none;
}
 a:hover {
     text-decoration: none;
}
 ul li {
     list-style: none;
}
 img {
     vertical-align: top;
}
 h1, h2, h3, h4, h5, h6 {
     font-size: inherit;
     font-weight: 400;
}
/*--------------------*/


body {
    font-family: Montserrat,Arial;
    background-color: #00072e
}

.wrapper {
    position: relative;
    width: 100%;
    height: 105vh;
    overflow: hidden;
}

.wrapper-fone{
    position: absolute;
    left: -15.28%;
    top: -13.52%;   
    width: 140.07%;
    height: 64.45%;
}

.fone{
    position: relative;
    width: 100%;
    min-height: 100%;
    height: 100%;
    background: url('../img/fone_3840x3840.jpg?v=2026.06.001') 0/100% no-repeat;
    background-color: #00072e;
}

/* Если поддерживается webp — используем его */
.webp-support .fone {
    background: url('../img/fone_3840x3840.webp?v=2026.06.001') 0/100% no-repeat;
    background-color: #00072e;
}

.center-wrapper{
    position: absolute;
    left: 0;
    top: 36.66%;
    right: 0;
    bottom: 0;
}

.container{
    position: relative;
    width: 100%;
    height: 100%;
}

.dark-background{
    display: none;
    opacity: 50%;
    z-index: 11;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: black;
}

.content{
    position: relative;
    height: 100%;
}

.logo{
    position: absolute;
    left: 16.64%;
    top: 8.67%;
    width: 70.63%;
    height: 7.42%;
    background: url('../img/logo.svg?v=2026.06.001') 0/100% no-repeat;
}

.tel{
    position: absolute;
    left: 0;
    top: 33.59%;
    width: 100%;
    height: 4.06%;
    background: url('../img/tel_p.svg?v=2026.06.001') 0/100% no-repeat;
}

.tel img{
    width: 100%;
    height: 100%;
}

.tel a{
    display: block;
    width: 100%;
    height: 100%;
}

.date{
    position: absolute;
    left: 67.74%;
    top: 22.03%;
    width: 30.73%;
    height: 6.8%;
    background: url('../img/date.svg?v=2026.06.001') 0/100% no-repeat;
}

.main-player{
    position: absolute;
    left: 7.81%;
    top: 19.45%;
    width: 25.13%;
    height: 11.56%;
}

.player{
    width: 100%;
    height: 100%;
}

.player img{
    width: 100%;
    height: 100%;
}


@media(orientation: portrait) {
    .content{
        width: 100vw;
        height: 217.32vw;
        left: 50%;
        margin-right: -50%;
        transform: translateX(-50%);
    }
}


/*Экран уже чем отношение когда x=1080 y=1920*/
@media (max-aspect-ratio: 420/1280) {
    .content{
        top: 40%;
        margin-top: -40%;
        transform: translate(-50%, -40%);
    }

}

/*Экран шире чем отношение 589/1280 и ужне 1/1*/
@media (min-aspect-ratio: 589/1280) and (max-aspect-ratio: 1/1) {
    .content{
        width: 46.02vh;
        height: 100vh;
        left: 50%;
        margin-right: -50%;
        transform: translateX(-50%);
    }

}


@media(orientation: landscape) {
    .content{
        width: 192.11vh;
        height: 100vh;
        left: 50%;
        margin-right: -50%;
        transform: translateX(-50%);
    }
    .wrapper {
        height: 100vh;
    }
}

/*Экран шире чем отношение 1/1 и ужне 3456/1799*/
@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 3456/1799) {
    .content{
        width: 100vw;
        height: 52.05vw;
    }

}




/*Экран  1/1*/
@media (min-aspect-ratio: 1605/1805) and (max-aspect-ratio: 2745/1805){
    .wrapper-fone{
        left:0;
        top: 0;
        width: 100%;
        height: 100%;
    }

    .center-wrapper{
        left: 60.28%;
        top: 37.51%;
        right: 2.77%;
        bottom: 6.37%;
    }

    .logo{
        left: 21.61%;
        top: 2.77%;
        width: 63.99%;
        height: 14.29%;
    }

    .tel{
        left: 53.91%;
        top: 24.1%;
        width: 45.1%;
        height: 7.48%;
        background: url('../img/tel_h.svg?v=2026.06.001') 0/100% no-repeat;
    }

    .date{
        left: 4.49%;
        top: 54.46%;
        width: 34.24%;
        height: 16.34%;
    }

    .main-player{
        left: 13.02%;
        top: 25.04%;
        width: 16.9%;
        height: 16.9%;
    }
  
}


@media (min-aspect-ratio: 1605/1805) and (max-aspect-ratio: 1/1){
    .content{
        width: 100vw;
        height: 100vw;
    }

}


@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 2745/1805){
    .content{
        width: 100vh;
        height: 100vh;
    }

}

/*Экран шире чем отношение когда x=1080 y=1800*/
@media (min-aspect-ratio: 2746/1805) {

    .wrapper {
        height: 100vh;
    }

    .wrapper-fone{
        left:0;
        top: -65.43%;
        width: 100%;
        height: 192.22%;
    }

    .center-wrapper{
        left: 72.74%;
        top: 28.57%;
        right: 3.82%;
        bottom: 3.06%;
    }

    .logo{
        left: 37.21%;
        top: 2.5%;
        width: 33.39%;
        height: 14.4%;
    }

    .tel{
        left: 72.74%;
        top: 19.51%;
        width: 23.5%;
        height: 7.45%;
        background: url('../img/tel_h.svg?v=2026.06.001') 0/100% no-repeat;
    }

    .date{
        left: 16.41%;
        top: 54.36%;
        width: 17.91%;
        height: 16.45%;
    }

    .main-player{
        left: 20.86%;
        top: 14.84%;
        width: 8.83%;
        height: 16.95%;
    }
  
}


@media (min-aspect-ratio: 11/10) and (max-aspect-ratio: 1920/1080) {


}



/*Экран шире чем отношение когда x=1080 y=1920*/
/*@media (min-aspect-ratio: 1080/1920) {

    .content {
        margin-top:0;
    }
}
*/

/* ============== Chat Widget Styles ============== */

.chat-widget {
    font-size: 14px;
    font-size: clamp(12px, 1.88vh, 20px);
}

.chat-widget .center-body{
    position: relative;
    height: 100%;
}

#chat{
    position: relative;
    height: 100%;
    border-radius: 1em;
    padding: 1em;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

#send-message{
    position: relative;
    z-index: 7;
}

#message{
    font-weight:400;
    font-family: Montserrat,Arial;
}

#message, #text{
    font-size: clamp(16px, 1.88vh, 20px);
    font-weight:400;
    font-family: Montserrat,Arial;
}

#upload-form {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
}

.chat-widget .chat-wrapper{
    position: relative;
    flex: 1;
    min-height: 0;
    /*padding: 0.8em 1.45em 0.73em;*/
    border-radius: 0.2em;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 7;
}

.chat-widget .chat{
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    font-size: inherit;
    color: #333;
    font-weight:400;
    font-family: Montserrat,Arial;
}

.chat-widget .chat::-webkit-scrollbar{
    display: none;
}

.chat-widget .retry-banner {
    background: #fff3cd;
    color: #856404;
    border-top: 1px solid #ffc107;
    padding: 0.5em 1em;
    font-size: 0.875em;
    text-align: center;
    font-family: Montserrat, Arial;
}

span.message-name-text {
    color: #ff3906;
    font-weight: bold;
}

.message-img-box a,
.message-img-box a:visited {
    color: #333;
    text-decoration: none;
}

figcaption {
    color: #333;
    padding: 0.5em 0;
}

.message {
    padding-bottom: 0.5em;
}

.chat-widget .stamp{
   display: none;
   position: absolute;
   top: -1.5em;
   left: -1.5em;
   z-index: 1;
}

.chat-widget .send-message-input{
    display: flex;
    justify-content: space-between;
    column-gap: 3%;
    padding-bottom: 0.87%;
}

.chat-widget .send-message-input input,
.chat-widget .form-elements--text input{
    font-size: inherit;
    height: 1.7em;
    padding: 0 1.5em;
    border-radius: .2em;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.7);
    font-family: Montserrat,Arial;
    width: 100%;
}

.chat-widget .attach_photo{
    position: relative;
    width: 100%;
    padding-top: 0.2em;
}
.chat-widget .attach_photo::before{
    content: "";
    display: block;
    padding-top: 9.18%;
}

.chat-widget .send-message-submit{
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.chat-widget .clip{
    width: 62.89%;
    height: 100%;
    background: url('/images/forma/attach_photo.svg?v=2024.12.001') no-repeat;
    background-position: 93% center;
    background-size: 62% 100%;
}

.chat-widget .clip-file{
    width: 1.7em;
    height: 1.7em;
    margin: 0;
    z-index: 1;
    cursor: pointer;
}

.chat-widget .clip-img{
    width: 100%;
    height: 100%;
    background: url("/images/forma/clip2.svg") center/contain no-repeat;
}

.chat-widget .turn_left,
.chat-widget .turn_right{
    width: 13%;
    margin-right: 0.7em;
}

.chat-widget .turn_right-img{
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' id='Outline' viewBox='0 0 24 24' fill='%23d0d0d0' %3E%3Cpath d='M21.962,12.875A10.03,10.03,0,1,1,19.122,5H16a1,1,0,0,0-1,1h0a1,1,0,0,0,1,1h4.143A1.858,1.858,0,0,0,22,5.143V1a1,1,0,0,0-1-1h0a1,1,0,0,0-1,1V3.078A11.985,11.985,0,1,0,23.95,13.1a1.007,1.007,0,0,0-1-1.1h0A.982.982,0,0,0,21.962,12.875Z'/%3E%3C/svg%3E") 50% 50%/contain no-repeat;
}

.chat-widget .turn_right-img:hover{
    background: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' id='Outline' viewBox='0 0 24 24' fill='%23dddddd' %3E%3Cpath d='M21.962,12.875A10.03,10.03,0,1,1,19.122,5H16a1,1,0,0,0-1,1h0a1,1,0,0,0,1,1h4.143A1.858,1.858,0,0,0,22,5.143V1a1,1,0,0,0-1-1h0a1,1,0,0,0-1,1V3.078A11.985,11.985,0,1,0,23.95,13.1a1.007,1.007,0,0,0-1-1.1h0A.982.982,0,0,0,21.962,12.875Z'/%3E%3C/svg%3E") 50% 50%/contain no-repeat;
}

.chat-widget .button-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
}

.chat-widget .btn-submit{
    width: 37.1%;
    height: 100%;
    background: url('/images/forma/submit.svg?v=2024.12.001') 0/100% no-repeat;
}

.chat-widget .btn-submit:hover{
    background: url('/images/forma/submit_click.svg?v=2024.12.001') 0/100% no-repeat;
}

.chat-widget .btn-submit input{
    cursor: pointer;
    display: block;
    height: 100%;
    width: 100%;
    font-size: inherit;
    color: transparent;
    background-color: transparent;
}

.chat-widget .wrapper-img-preview{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em;
    overflow: hidden;
}

#preview {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    min-width: 0;
    min-height: 0;
}

.deg90 {
    transform: rotate(90deg);
}

.deg180 {
    transform: rotate(180deg);
}

.deg270 {
    transform: rotate(270deg);
}

.chat-widget .img-preview{
    width: min(calc(100vw - 7em), calc(100vh - 15.5em));
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chat-widget img.emoji {
    height: 100%;
}

.chat-widget .upload-form-box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 1em;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    display: flex;
    flex-direction: column;
    padding: 3.2em 0.5em 0.5em;
    overflow: hidden;
    max-height: calc(100vh - 4em);
}

.chat-widget .clip-file input[type=file] {
    width: 100%;
    height: 100%;
    outline: 0;
    opacity: 0;
    pointer-events: none;
    user-select: none;
}

.chat-widget .close-wrapper{
    position: absolute;
    right: 1.2em;
    top: 1.2em;
    width: 2em;
    height: 2em;
}

.chat-widget .form-elements {
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
}

.chat-widget .form-elements--text {
    flex: 1;
}
.chat-widget .form-elements--text input{
    width: 100%;
    height: 2em;
    padding: 0 0.4em;
    font-size: inherit;
    border: none;
    background: transparent;
    font-weight: 600;
    font-family: Montserrat, Arial;
    color: #333;
    outline: none;
}

.chat-widget .buttons {
    display: flex;
    align-items: center;
    gap: 0.3em;
    flex: 0 0 auto;
    padding: 0;
    width: auto;
}

.chat-widget .turn_left, .chat-widget .turn_right{
    float: none;
    cursor: pointer;
    width: 1.7em;
    height: 1.7em;
}

.chat-widget .turn_left:hover, .chat-widget .turn_right:hover{
    -webkit-box-shadow: none;
            box-shadow: none;
}

.chat-widget .clip-file input[type=file]{outline:0;opacity:0;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}

.chat-widget .clip-label {
    width: 100%;
    height: 100%;
    display: inline-block;
}

#message_form, #btn-send-file, .chat-widget .clip-label, .chat-widget .clip-file, .chat-widget .clip{
    cursor: pointer;
}

/* ============== Redesigned send-message ============== */

.chat-widget .attach_photo,
.chat-widget .button-wrapper,
.chat-widget .clip,
.chat-widget .send-message-submit,
.chat-widget .send-message-input input#username {
    display: none !important;
}

.chat-widget .send-message-input {
    display: flex;
    align-items: center;
    border: 1px solid #d0d0d0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    gap: 0;
    column-gap: 0;
    padding: 0.4em;
    box-shadow: 0.5em 0.5em 0.5em rgba(0,0,0,0.15);
}

.btn-menu,
.btn-send,
.btn-emoji {
    flex: 0 0 auto;
    cursor: pointer;
    width: 1.7em;
    height: 1.7em;
}

.btn-menu {
    margin-left: 0.3em;
}

.btn-send {
    margin-right: 0.3em;
}

.btn-emoji {
    margin-right: 0.3em;
}

.btn-menu img,
.btn-send img,
.btn-emoji img {
    width: 100%;
    height: 100%;
    display: block;
}

#emoji {
    display: none;
    position: absolute;
    bottom: 1.2em;
    right: 1.7em;
    background: #f9f8f8;
    border-radius: 1em 1em 0 1em;
    border: 1px solid #d0d0d0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 20;
    padding: 0.5em;
    margin-bottom: 0.3em;
    flex-wrap: wrap;
    gap: 0.3em;
    width: 10em;
}

#emoji img.emoji {
    height: 2em;
    cursor: pointer;
}

#message {
    flex: 1;
    height: 2em;
    padding: 0 0.4em;
    font-size: inherit;
    border: none;
    background: transparent;
    font-weight: 600;
    font-family: Montserrat, Arial;
    color: #333;
    outline: none;
}

#name-change {
    display: flex;
    align-items: center;
    border: 1px solid #d0d0d0;
    border-radius: 999px;
    background-color: #fff;
    overflow: hidden;
    padding: 0.4em;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 0.4em;
}

#name-change .name-change-input {
    flex: 1;
}

#name-change .name-change-input input {
    width: 100%;
    height: 2em;
    padding: 0 0.4em;
    font-size: clamp(16px, 1.88vh, 20px);
    border: none;
    background: transparent;
    font-weight: 600;
    font-family: Montserrat, Arial;
    color: #333;
    outline: none;
}

#name-change .name-change-ok {
    flex: 0 0 auto;
    cursor: pointer;
    width: 1.7em;
    height: 1.7em;
    margin-right: 0.3em;
}

#name-change .name-change-ok img {
    width: 100%;
    height: 100%;
    display: block;
}

#menu-dropdown {
    position: absolute;
    bottom: 1.2em;
    left: 1.7em;
    background: #f9f8f8;
    border-radius: 1em 1em 1em 0;
    border: 1px solid #d0d0d0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 20;
    padding: 0.5em;
    margin-bottom: 0.3em;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: left;
    cursor: pointer;
    border-radius: 0.2em;
    padding: 0.4em;
}

.menu-item:hover {
    background-color: #f5f5f5;
}

.menu-item img {
    height: 2em;
    display: block;
}


#fileform .btn-submit{
    position: relative;
    width: 1.7em;
    height: 1.7em;
    padding: 0;
    background: none;
    display: block !important;
}
#fileform .btn-submit::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: url('../img/ok.svg') center/contain no-repeat;
}
#fileform .btn-submit input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
    padding: 0;
}

#close{
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' id='close' viewBox='0 0 24 24' fill='%23d0d0d0' %3E%3Cpath d='M16,8a1,1,0,0,0-1.414,0L12,10.586,9.414,8A1,1,0,0,0,8,9.414L10.586,12,8,14.586A1,1,0,0,0,9.414,16L12,13.414,14.586,16A1,1,0,0,0,16,14.586L13.414,12,16,9.414A1,1,0,0,0,16,8Z'/%3E%3Cpath d='M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,22A10,10,0,1,1,22,12,10.011,10.011,0,0,1,12,22Z'/%3E%3C/svg%3E") no-repeat;
}
#close:hover{
    background: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' id='close' viewBox='0 0 24 24' fill='%23dddddd' %3E%3Cpath d='M16,8a1,1,0,0,0-1.414,0L12,10.586,9.414,8A1,1,0,0,0,8,9.414L10.586,12,8,14.586A1,1,0,0,0,9.414,16L12,13.414,14.586,16A1,1,0,0,0,16,14.586L13.414,12,16,9.414A1,1,0,0,0,16,8Z'/%3E%3Cpath d='M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,22A10,10,0,1,1,22,12,10.011,10.011,0,0,1,12,22Z'/%3E%3C/svg%3E") no-repeat;
}

#fileform{
    display: flex;
    align-items: center;
    border: 1px solid #d0d0d0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    padding: 0.4em;
    box-shadow: 0.5em 0.5em 0.5em rgba(0,0,0,0.15);
    margin: 0.5em;
}

#video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    background: #fff;
    border-radius: 1em 1em 0 0;
    aspect-ratio: 16/9;
    max-height: 40vh;
}
#video-placeholder {
    padding: 1em;
}

#video-overlay #video-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-aspect-ratio: 1/1) {
    .btn-emoji {
        display: none;
    }
}

@media (min-aspect-ratio: 1/1) {
    .btn-send {
        display: none;
    }
}
