/* не показываем нижнюю полосу прокрутки*/
body {
  overflow: visible;
  background-color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 28px;	
  overflow-x: hidden;
}


table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th, td {
  padding: 8px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.movie-container {
    position: relative;
    width: 100%; /* Растягиваем на всю ширину родителя */
    padding-bottom: 56.25%; /* Сохраняем соотношение 16:9 */
}

.movie-fixed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* Убираем рамку */
}

/* поля таблицы */

table.price-table {
    overflow-x: scroll;
    overflow: auto;
    display: flex;
}

table.price-table tbody{
	width: 100%;
}

.price-table thead th{
    padding: 10px;
}

.price-table tbody tr td {
    padding: 10px;
    width: 100%;
}


/* не показываем нижнюю полосу прокрутки*/
.bm-body {
  overflow: visible;
  background-color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 28px;	
  overflow-x: hidden;
}

.p-top {
    margin-top: 1px;
}

.answer {
    cursor: default;
}

/* надписи поверх картинки */
.image-container {
    position: relative;
    overflow: hidden;
}
.text-over-image {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    padding: 5px;
	text-align: left;
}

/* исправления для faq - так как не работает после выгрузки из wf */
.question {
    cursor: pointer;
}

.question2 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.question-arrow-icon.left {
    max-width: 16px;
    width: 100%;
}

/* Редактировать файл включаемой области в портфолио */
#bx_incl_area_1_4 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

/* убираем левое меню если менее 1525px */
@media (max-width: 1525px) {
    .left-navbar-fvcc-f {
        display: none;
    }
}

#back-top {
    position: fixed;
    display: none;
    left: 30px;
    bottom: 50px;
}

.bm_box {
    cursor: zoom-in;
}

.nav-tel {
    font-family: Open sans;
}

figure.effect {
    background: #2f323800;
}

figure.effect:hover {
    background: #2f3238;
}

figure.effect img {
    max-width: none;
    -webkit-transition: opacity 1.5s, -webkit-transform 1.5s;
    transition: opacity 1.5s, transform 1.5s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    height: 100%;
}

figure.effect:hover img {
    opacity: 0.5;
    -webkit-transform: scale3d(1.05, 1.05, 1);
    transform: scale3d(1.05, 1.05, 1);
}

/* анимация img кейсов */
img.sh {
    visibility: visible;
}

img.hd {
    visibility: hidden;
    position: absolute;
    left: 0px;
    top: 0px;
    transform: scale3d(1, 1, 1);
    opacity: 0.2;
}

figure.effect:hover .sh {
    visibility: hidden;
}

figure.effect:hover .hd {
    visibility: visible;
    -webkit-transform: scale3d(1.05, 1.05, 1);
    transform: scale3d(1.05, 1.05, 1);
}

figcaption {
    position: absolute;
    top: 0px;
    left: 10px;
}

figure.effect figcaption {
    text-align: left;
    width: 100%;
    height: 100%;
    left: 0px;
    padding: 20px;
}


/* div размером во всю картинку для ссылки на кейс */
figure.effect div.caseurl {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

/* <a> */
figure.effect a.url:empty {
    display: none;
}

figure.effect a.url {
    display: none;
}

figure.effect a.url {
    display: inline-block;
    position: relative;
    width: auto;
    color: #2f3238;
    background: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.25em;
    padding: 0.4em 1em;
    text-transform: none;
    -webkit-transition: opacity 0.75s, -webkit-transform 0.75s;
    transition: opacity 0.75s, transform 0.75s;
    -webkit-transform: translate3d(-400px, 0, 0);
    transform: translate3d(-400px, 0, 0);
}

figure.effect:hover a.url {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* <p> */
div p:empty {
    display: none;
    overflow: hidden;
}

figure.effect p:empty {
    display: none;
}

figure.effect p {
    display: none;
}

figure.effect:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

figure.effect p {
    display: inline-block;
    margin: 0 0 0.25em;
    padding: 0.4em 1em;
    background: rgba(255, 255, 255, 0.9);
    color: #2f3238;
    text-transform: none;
    -webkit-transition: opacity 0.75s, -webkit-transform 0.75s;
    transition: opacity 0.75s, transform 0.75s;
    -webkit-transform: translate3d(-400px, 0, 0);
    transform: translate3d(-400px, 0, 0);
}

figure.effect p.txt {
    width: 100%;
    margin: 0px 0px 15px 0px;
    padding: 0px;
    background: none;
    color: #fff;
}

figure.effect p:first-child {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

figure.effect p:nth-of-type(2) {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

figure.effect p:nth-of-type(3) {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

figure.effect:hover p:first-child {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

figure.effect:hover p:nth-of-type(2) {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

figure.effect:hover p:nth-of-type(3) {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

/* */

@media screen and (min-width: 992px) {
    .effect {
        position: relative;
        padding: 0px;
        margin: 0px;
        overflow: hidden;
        width: 33%;
        margin-bottom: 0.5%;
    }
}

@media screen and (max-width: 991px) {
    .effect {
        position: relative;
        padding: 0px;
        margin: 0px;
        overflow: hidden;
        width: 32%;
        margin-bottom: 2%;
    }
}

@media screen and (max-width: 767px) {
    .effect {
        position: relative;
        padding: 0px;
        margin: 0px;
        overflow: hidden;
        width: 48%;
        margin-bottom: 4%;
    }
}

@media screen and (max-width: 479px) {
    .effect {
        position: relative;
        padding: 0px;
        margin: 0px;
        overflow: hidden;
        width: 48%;
        margin-bottom: 4%
    }

    .right-absolute-bubble {
        background: none;
        width: 0px;
        height: 0px;
    }
}

/*************************/

.cd-image-container {
    position: relative;
    width: 940px;
    margin: 0em auto;
}

.cd-image-container img {
    display: block;
}

.cd-image-label {
    position: absolute;
    bottom: 0;
    right: 40px;
    color: #ffffff;
    padding: 1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    -ms-transform: translateY(20px);
    -o-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: -webkit-transform 0.5s 0.75s, opacity 0.5s 0.75s;
    -moz-transition: -moz-transform 0.5s 0.75s, opacity 0.5s 0.75s;
    transition: transform 0.5s 0.75s, opacity 0.5s 0.75s;
}

.cd-image-label.is-hidden {
    visibility: hidden;
}

.is-visible .cd-image-label {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.cd-resize-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    overflow: hidden;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.cd-resize-img img {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
}

.cd-resize-img .cd-image-label {
    right: auto;
    left: 0;
}

.is-visible .cd-resize-img {
    width: 50%;
    /* bounce in animation of the modified image */
    -webkit-animation: cd-bounce-in 0.75s;
    -moz-animation: cd-bounce-in 0.75s;
    animation: cd-bounce-in 0.75s;
    border-right: 1px solid grey;
}


/*Сравнивалка v2 начало*/
.cd-image-container-2 {
    position: relative;
    width: 1200px;
    margin: 0em auto;
}

.cd-image-container-2 img {
    display: block;
}

/*Сравнивалка v2 конец*/

@-webkit-keyframes cd-bounce-in {
    0% {
        width: 0;
    }
    60% {
        width: 55%;
    }
    100% {
        width: 50%;
    }
}

@-moz-keyframes cd-bounce-in {
    0% {
        width: 0;
    }
    60% {
        width: 55%;
    }
    100% {
        width: 50%;
    }
}

@keyframes cd-bounce-in {
    0% {
        width: 0;
    }
    60% {
        width: 55%;
    }
    100% {
        width: 50%;
    }
}

.cd-handle {
    position: absolute;
    height: 44px;
    width: 44px;
    /* center the element */
    left: 50%;
    top: 50%;
    margin-left: -22px;
    margin-top: -22px;
    border-radius: 50%;
    background: #0d8bcd url("../images/cd-arrows.svg") no-repeat center center;
    cursor: move;
    /*box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);*/
    opacity: 0;
    -webkit-transform: translate3d(0, 0, 0) scale(0);
    -moz-transform: translate3d(0, 0, 0) scale(0);
    -ms-transform: translate3d(0, 0, 0) scale(0);
    -o-transform: translate3d(0, 0, 0) scale(0);
    transform: translate3d(0, 0, 0) scale(0);
}

.cd-handle.draggable {
    /* change background color when element is active */
    background-color: #445b7c;
}

.is-visible .cd-handle {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) scale(1);
    -moz-transform: translate3d(0, 0, 0) scale(1);
    -ms-transform: translate3d(0, 0, 0) scale(1);
    -o-transform: translate3d(0, 0, 0) scale(1);
    transform: translate3d(0, 0, 0) scale(1);
    -webkit-transition: -webkit-transform 0.5s 0.75s, opacity 0s 0.75s;
    -moz-transition: -moz-transform 0.5s 0.75s, opacity 0s 0.75s;
    transition: transform 0.5s 0.75s, opacity 0s 0.75s;
}


@media (max-width: 576px) {
    .navbar-expand-lg .navbar-nav {
        position: absolute;
        left: .25rem;
        margin-padding: .25rem .75rem;
        font-size: 10px;
    }

    .navbar-light .navbar-nav .nav-link {
        padding-top: none;
        -webkit-padding-before: none;
    }

    .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .login:active, .navbar-light .navbar-nav .nav-link:hover {
        color: #ec1626;
        border-top: none;
        box-sizing: content-box;
    }
}

@media (max-width: 768px) {
    .navbar-expand-lg .navbar-nav {
        position: relative;
        left: .25rem;
        margin-padding: .25rem .75rem;
        font-size: 10px;
    }

    .navbar-light .navbar-nav .nav-link {
        padding-top: none;
        -webkit-padding-before: none;
    }

    .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .login:active, .navbar-light .navbar-nav .nav-link:hover {
        color: #ec1626;
        border-top: none;
        box-sizing: content-box;
    }

    .intro {
        font-size: 1rem;
        color: #314656;
    }

    .image {
        max-height: 100px;
    }

    .criteria {
        max-height: 100px;
    }
}

@media (max-width: 940px) {
    .navbar-expand-lg .navbar-nav {
        position: relative;
        right: 2rem;
        margin-padding: .25rem .75rem;
        font-size: 14px;
    }

    .navbar-light .navbar-nav .nav-link {
        padding-top: none;
        -webkit-padding-before: none;
    }

    .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .login:active, .navbar-light .navbar-nav .nav-link:hover {
        color: #ec1626;
        border-top: none;
        box-sizing: content-box;
    }

    .navbar-light .navbar-nav .login:focus, .navbar-light .navbar-nav .login:hover {
        border-top: none;
    }

}

@media (min-width: 768px) and (max-width: 1199px) {

    .intro {
        font-size: 1.4rem;
        color: #314656;
    }

    .info {
        font-size: 1rem;
        line-height: normal;
    }

    .image {
        max-height: 120px;
    }

    .criteria {
        max-height: 120px;
    }
}

@media (min-width: 1200px) {

    .intro {
        font-size: 1.7rem;
        color: #314656;
        line-height: 30px;
    }

    .info {
        font-size: 1.2rem;
        line-height: normal;
    }

    .image {
        max-width: 100%;
    }
}


.navbar-light .navbar-nav .nav-link {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-style: normal;
}

.nav-tel {
    color: #EC1626;
    font-weight: 600;
}

.intro {
    text-align: center;
    color: #314656;
}

.info {
    text-align: center;
    margin: 0px;
    padding: 30px 0px 30px 0px;
    line-height: normal;
}

.container-fluid {
    display: flex;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0px;
    padding-right: 0px;
}


img .col-xs-12 .col-sm-12 .col-md-3 .col-lg-3 .col-xl-3 {
    margin: 0px auto;
}

.text_image {
    margin: auto;
    text-align: center;
}

.portfolio {
    margin: 0px auto;
    color: #314656;
    font-weight: normal;
    box-shadow: 0px 3px 0 #00a0de;
    text-align: center;
}

.case {
    /* background: #000; */
}

.case {
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    max-height: 100%;
    max-width: 100%;
    display: block;
    margin: auto;
    overflow: hidden;
    background: #314656;
}

.case:hover {
    /* background: #314656; */
    /* opacity: 0.8; */
    /* background: #314656; */
}

.case:hover img {
    -webkit-transform: scale3d(1.05, 1.05, 1);
    transform: scale3d(1.05, 1.05, 1);
    transition: opacity 1.5s, transform 1.5s;
    opacity: 0.2;
}

.case img {
    width: 100%;
}

.portfolio_img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 999;
}

.portfolio_img:hover {
    /* opacity: 0.8; */
    /* background: #314656; */
    z-index: 1000;
}

.row_case {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.case_text {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    left: 0px;
    display: block;
    /* text-align:  center; */
}

.case_text:hover a {
    position: relative;
    top: 0px
    left: 0px;
    width: 100%;
    height: 100%;
}

.case_text h3 {
    position: relative;
    padding: 0px;
    -webkit-transition: opacity 0.75s, -webkit-transform 0.75s;
    transition: opacity 0.75s, transform 0.75s;
    -webkit-transform: translate3d(-400px, 0, 0);
    transform: translate3d(-900px, 0, 0);
    z-index: 999;
    /* cursor:  default; */
    color: #fff;
    text-align: center;
    margin: 0px auto;
}

.case_text p {
    /* display: inline-block; */
    margin: 1px 0px 3px 0px;
    padding: 0.2em 0.5em;
    /* color: #2f3238; */
    text-transform: none;
    font-weight: 500;
    font-size: 14px;
    -webkit-transition: opacity 0.75s, -webkit-transform 0.75s;
    transition: opacity 0.75s, transform 0.75s;
    -webkit-transform: translate3d(-400px, 0, 0);
    transform: translate3d(-1000px, 0, 0);
    position: relative;
    color: #fff;
}

.case_text:hover h3 {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    color: #fff;
}

.case_text:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    color: #fff;
}

.case:hover h3 {
    -webkit-transform: scale3d(1.05, 1.05, 1);
    transform: scale3d(1.05, 1.05, 1);
    transition: opacity 1.5s, transform 1.5s;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    /* color:#000; */
}

.case:hover p {
    -webkit-transform: scale3d(1.05, 1.05, 1);
    transform: scale3d(1.05, 1.05, 1);
    transition: opacity 1.5s, transform 1.5s;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    /* color:#000; */
}

.black {
    color: #191C21;
}

.black span {
    color: #191C21;
}

.heading-h2-white {
    font-size: 26px;
    font-weight: 400;
    padding: 0px;
    margin: 0px;
}




/*    из хедера  */

.fixed-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
	margin-bottom: 20px;
    z-index: 999999;
}
#main-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: #007BFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#main-button img {
    width: 30px;
    height: 30px;
}
.popup {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    flex-direction: column;
    align-items: center;
}
.popup-button {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 50%;
    background-color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.popup-button img {
    width: 25px;
    height: 25px;
}
.popup-button:hover {
    transform: scale(1.1);
}

/*  чек-лист  */
.myCheckboxes {
	margin-right: 10px !important;
}


/*
изначально
p { font-size: 16px;  color: #333; }

.класс начинается с точки
.red { color: red;}
<p class = "red">Абзац 3</p>

# идентификатор - он приоритетнее
<p class = "red" id = "blue">Абзац 3</p>
#blue{ color: blue; }

внутренние стили - самый высокий приоритет
<p class = "red" id = "blue" style = "color: green">Абзац 3</p>

!important пербивает все приоритеты
p{  color: #333 !important; }

https://developer.mozilla.org/ru/docs/Learn/CSS/First_steps/Getting_started
figure.effect
«предназначаться для любого элемента figure, который имеет класс effect».

figure.effect a
комбинатор-потомок <a> внутри figure.effect
*/
/* для ссылки на картинку в целом
потеряло смысл
figure.effect a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    margin: auto;
    padding: 0px;
}

figure.effect a:empty {
    display: none;
}

figure.effect:hover a {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
*/
/* figure.effect a.url {
    *display: inline-block;
    *margin: 0 0 0.25em;
    *padding: 0.4em 1em;
    *text-transform: none;
    -webkit-transition: opacity 0.75s, -webkit-transform 0.75s;
    transition: opacity 0.75s, transform 0.75s;
    -webkit-transform: translate3d(-400px, 0, 0);
    transform: translate3d(-400px, 0, 0);
*/
/*
https://developer.mozilla.org/ru/docs/Learn/CSS/First_steps/Getting_started
*/


/* figure.effect h2 не используем */
/*
figure.effect h2 {
    display: none;
}

figure.effect h2 {
    display: inline-block;
    -webkit-transition: opacity 0.75s, -webkit-transform 0.75s;
    transition: opacity 0.75s, transform 0.75s;
    -webkit-transform: translate3d(-400px, 0, 0);
    transform: translate3d(-400px, 0, 0);
    color: #fff;
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

figure.effect:hover h2 {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    transform: translate3d(0, 0, 0);
}

*/
