html, body {
    overflow-x: hidden;
    font-family: "ALS Hauss Regular", sans-serif;
    /*height: 100vh;*/
}

@media only screen and (max-device-width: 480px) {
    html {
        height: calc(100% + 60px);
        min-height: calc(100% + 60px);
    }
}

.ego-body {
    color: rgba(255, 255, 255, 1);
}

.icon-fill path {
    fill: rgba(255, 255, 255, 1);
}

.ego-title {
    font-size: 1.6em;
    max-width: calc(100% - 40px);
    word-wrap: break-word;
}

.ego-bubble.relative {
    display: inline-block;
    font-size: 1em;
}

.ego-bubble.relative a {
    color: #ffffff;
    text-decoration: underline;
}

.ego-bubble-wrap {
    max-width: 100%;
    word-wrap: break-word;
}

.ego-bubble {
    font-size: 0.7em;
    text-align: center;
    border-radius: 20px;
    padding: 20px 20px;
 }

.ego-bubble.clickable {
    padding: 20px 5px;
}

.ego-bubble > div {
    margin-top: 5px;
}

.ego-bubble > span {
    font-size: 1.5em;
}

.ego-bubble-icon-text {
    color: #000000;
}

.ego-wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-x: hidden;
    /*height: 100%;*/
}

.ego-container {
    /*max-width: 100%;*/
    margin: 0 auto;
    overflow-x: hidden;
}

.ego-header {
    position: relative;
}

.ego-header-fixed {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    z-index: 100;
}

.ego-body-inside {
    padding-top: 100px;
}

.ego-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.7em;
    padding: 20px 10px;
}

.ego-footer > div {
    margin-bottom: 10px;
}

.ego-item {
    margin: 10px 20px 0 20px;
    padding: 20px 20px;
    border-radius: 20px;
    display: inline-block;
}

.company-logo {
    width: 100%;
    text-align: center;
    padding: 20px;
    border-bottom: solid 1px rgba(255, 255, 255, 0.5);
    /*min-height: 80px;*/
    height: 100px;
}

.company-logo img {
    height: 60px;
    width: 150px;
    object-fit: contain;
    object-position: center;
}

.ego-logo {
    width: 120px;
}

.lebedev-logo {
    width: 90px;
}

.ego-photo {
    margin: 0 20px 10px 20px;
}

.ego-photo img {
    /*max-height: 450px;*/
    max-width: 100%;
    border-radius: 10px;
}

.btn-ego {
    font-size: 0.7em;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    margin: 20px 0;
    padding: 12px;
    border-radius: 12px;
}

.ego-hidden{
    opacity:0;
}
.ego-visible{
    opacity:1;
}

/*.avatar {
    position: absolute;
    top: 20px;
    left: 20px;
}*/

.contact-right-button {
    position: absolute;
    right: 20px;
    text-align: right;
}

.qrcode-right-button, .qrcode-offline-right-button {
    position: absolute;
    left: 20px;
    top: 30px;
    text-align: right;
    background-color: #ffffff;
    padding: 8px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
}
.qrcode-right-button svg, .qrcode-offline-right-button svg {
    width: 22px;
    height: 22px;
    cursor: pointer;
    vertical-align: inherit !important;
}

.close-button, .qrcode-offline-close-button, .qrcode-lite-close-button {
    position: absolute;
    right: 35px;
    top: 35px;
    text-align: right;
    cursor: pointer;
}

.ec-close-button {
    position: absolute;
    right: 35px;
    top: 35px;
    text-align: right;
    cursor: pointer;
}

.arrow-left {
    position: absolute;
    left: 20px;
    top: 25px;
    text-align: left;
    cursor: pointer;
}

/*.avatar.inner {
    left: 70px;
}
.avatar img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
}*/

#mapdiv {
    height: 250px;
    margin: 0 20px;
}
#OpenLayers_Map_2_OpenLayers_ViewPort {
    border-radius: 20px;
}
#OpenLayers_Control_Attribution_7 {
    z-index: 1 !important;
}

.clickable {
    cursor: pointer;
}

#qr-popup, #qr-popup-offline, #qr-popup-lite {
    position: fixed;
    z-index: 9999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
}

#ec-popup {
    position: fixed;
    z-index: 9999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
}

.ego-wrapper-inner {
    display: none;
    z-index: 10;
    overflow-y: auto !important;
}

#page-education {
    display: none;
    min-height: 100%;
}

#page-photos {
    display: none;
    min-height: 100%;
}

#page-biography {
    display: none;
    min-height: 100%;
}

/* #page-company-description, #page-company0-description, #page-company1-description, #page-company2-description {*/
#page-company-description, .page-company {
    display: none;
    min-height: 100%;
}

/*#page-company-contacts, #page-company0-contacts, #page-company1-contacts, #page-company2-contacts {*/
#page-company-contacts {
    display: none;
    min-height: 100%;
}

.qrcode {
    text-align: center;
}
.qrcode img {
    border:solid 20px #ffffff;
    border-radius: 20px;
    margin-top: 50px;
}

.main-photo-big img {
    /*border-radius: 20px;*/
}

@media screen and (min-width: 700px) {
    .main-photo {
        display: none;
    }

    .main-photo-big {
        display: inline-block;
        border-radius: 20px;
        overflow: hidden;
        -webkit-appearance: none;
        appearance: none;
    }
    .ego-photo img {
        /*max-height: 350px;*/
        /*border-radius: 10px;*/
    }
    .qrcode img {
        margin-top: 40px;
    }
}

@media screen and (max-width: 700px) {
    .main-photo {
        display: block;
        -webkit-mask-image: -webkit-gradient(linear, center top, center bottom,
        color-stop(0.70,  rgba(0,0,0,1)),
        color-stop(1.00,  rgba(0,0,0,0)));
    }
    /*.main-photo-big {
        display: none;
    }*/
    .main-photo-big {
        display: inline-block;
        border-radius: 20px;
        overflow: hidden;
        -webkit-appearance: none;
        appearance: none;
    }
    .main-photo-big img {
        /*max-height: 300px !important;*/
    }
    .contact-right-button {
        display: none;
    }
    .contact-center-button {
        display: block;
    }
}

#photos-more, #edu-more {
    display: none;
}

.more-button {
    cursor: pointer;
}

.flying {
    transition: all 100ms ease-in;
}

.flying-top {
    position: fixed;
    z-index: 9997;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    margin: 0;
    border-bottom: solid 1px rgba(255, 255, 255, 0.2);
}

.btn-ego-color {
    transition: all 100ms ease-in !important;
}

.noselect {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

/* ICONS */
/*.ya-share2__item_service_facebook .ya-share2__icon {
    background-image: url("data:image/svg+xml; utf8, %3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'> <path fill='rgba(0,0,0,0.5)' d='M27.6329 42.0003V26.4913H32.8379L33.6179 20.4473H27.6329V16.5883C27.6329 14.8373 28.1179 13.6453 30.6329 13.6453H33.8329V8.23826C32.282 8.07429 30.7234 7.99484 29.1639 8.00026C24.5499 8.00026 21.3909 10.8163 21.3909 15.9903V20.4473H16.1719V26.4913H21.3909V42.0003H27.6329Z' /%3E%3C/svg%3E") !important;
}*/

.ya-share2__badge, .ya-share2__mobile-popup-badge {
    background-color: rgba(0,0,0,0.5) !important;
    border-radius: 5px !important;
}

/* PRELOADER */

/*#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: #ffffff;
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #292929;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #F8DD52;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}
#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #FF00FF;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}*/

.swiper {
    max-width: 400px;
    width: 100%;
    margin: 0;
    border-radius: 20px;
}

.swiper-slide {
    background-color: transparent;
}

.swiper-response {
    width: 100%;
    border-radius: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    color: rgba(255, 255, 255, 0.6);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    display: none;
}

.main-photo-big:hover .swiper-button-next,
.main-photo-big:hover .swiper-button-prev {
    display: flex;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: rgba(255, 255, 255, 0.8);
}

.swiper-pagination-bullet {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 0;
    height: 3px;
    width: 25px;
    margin: 2px !important;
}

.swiper-pagination-bullet:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.6);
}

.swiper-pagination-bullet-active {
    background-color: rgba(255, 255, 255, 1);
}

@media (max-width: 420px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

.you-tube {
    aspect-ratio: 16/9;
    height: auto;
    width: calc(100% - 40px);
    max-width: 900px;
    padding: 0;
}

.ego-title > a > img,
.ego-title > img,
.card-hello > a > img,
.card-hello > img {
    max-height: 500px !important;
    border-radius: 20px;
    max-width: 100%;
}

.ego-title > a,
.card-hello > a {
    text-decoration: underline;
}