.online-camera {
    position: fixed;
    right: 0;
    top: auto;
    bottom: 30px;
    z-index: 99;
}

.onlineLink-container {
    position: fixed;
    right: 50%;
    margin-right: -700px;
    top: 100px;
    z-index: 1010;
}
.onlineLink {
    display: block;
    width: 41px;
    height: 50px;
    background: url(/images/ural-auto/design/label-online.gif) center center no-repeat;
    background-size: contain;
    font-size: 0;
    cursor: pointer;
}

@media (max-width: 1158px) {
    .onlineLink-container {
        right: 20px !important;
        bottom:  20px !important;
        top: auto;
        margin-right: 0 !important;
    }
}

.online-video {
    top: 10%;
    margin: 0 auto;
    max-width: 1000px;
    background: #fff;
    padding: 5px 15px 10px;
    overflow: hidden;
    border-radius: 5px;
}
.camera-frame {
    position: relative;
    width: 100%;
    height: 0;
    display: block;
    padding-bottom: 56.25%;
}
.camera-message {
    position: absolute;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #ED1D24;
    font-size: 24px;
    font-weight: 500;
}
.camera-iframe {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

.tabs {}

.tabs>input[type="radio"] {
    display: none;
}

.tabs>div {
    /* скрыть контент по умолчанию */
    display: none;
}

/* отобразить контент, связанный с вабранной радиокнопкой (input type="radio") */
#tab-btn-1:checked~#camera-1,
#tab-btn-2:checked~#camera-2,
#tab-btn-3:checked~#camera-3,
#tab-btn-4:checked~#camera-4 {
    display: block;
}

.tabs>label {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: #000;
    border: none;
    padding: 5px 8px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    cursor: pointer;
    position: relative;
    color: #ED1D24;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.02em;
    border-radius: 4px 4px 0 0;
    border: 1px solid rgba(255,255,255,0.4);
    border-bottom: none;
    margin: 0;
}

.tabs>label:not(:first-of-type) {
}

.tabs>input[type="radio"]:checked+label {
    border-color: #ED1D24;
    background-color: #ED1D24;
    color: #fff;
}

.camera-svg {
    overflow: visible !important;
    width: auto;
    height: auto;
    max-width: 50px;
}
.camera-svg__dot {
    animation: shadowBlink 1.5s infinite ease;
}
.camera-svg__group {
    transform-origin: 64% 56%;
}
.camera-svg:hover .camera-svg__group {
    animation: shakingCamera 3.5s infinite linear;
}
@keyframes shadowBlink {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.2;
    }
}
@keyframes shakingCamera {
    0%, 50%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(8deg);
    }
    75% {
        transform: rotate(-8deg);
    }
}


@media screen and (min-width: 768px) {
    .modal .modal-dialog_camera {
        max-width: 1096px!important;
    }
    .tabs>label {
        padding: 10px 15px;
        font-size: 14px;
        letter-spacing: 0;
    }
    .online-camera {
        position: fixed;
        right: 0;
        top: 180px;
        z-index: 99;
        bottom: auto;
    }
}
@media (max-width: 767px) {
    .tabs {
        margin-left: -20px;
        margin-right: -20px;
        text-align: center;
    }
    #modal-cameras .modal-body {
        padding-bottom: 0;
    }
    .online-video {
        top: 10%;
        margin: 0 10px;
    }
}

.page-side {
    position: fixed;
    right: 0;
    top: auto;
    bottom: 30px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.page-side .online-camera {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
}
.page-side {}
.page-side {}
.page-side {}
@media screen and (min-width: 768px) {
    .page-side {
        top: 180px;
        bottom: auto;
    }
}