@charset "UTF-8";

:root {
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

html {
    font-size: 14px;
    overflow-x: hidden;
}

body {
    *overflow-x: hidden;
}

img {max-width: 100%; height: auto;}

.fw-100 {font-weight: 100 !important;}
.fw-200 {font-weight: 200 !important;}
.fw-300 {font-weight: 300 !important;}
.fw-400 {font-weight: 400 !important;}
.fw-500 {font-weight: 500 !important;}
.fw-600 {font-weight: 600 !important;}
.fw-700 {font-weight: 700 !important;}
.fw-800 {font-weight: 800 !important;}
.fw-900 {font-weight: 900 !important;}

.bg-image {background-size: cover; background-position: center center;}
.bg-image-top {background-position: center top;}
.bg-image-bottom {background-position: center bottom;}
.bg-image-fixed {background-attachment: fixed;}

.rounded-lg {border-radius: var(--bs-border-radius-lg);}
.rounded-xl {border-radius: var(--bs-border-radius-xl);}
.rounded-xxl {border-radius: var(--bs-border-radius-xxl);}

/* forms */
a.link-terms {
    transition: .3s;
}
a.link-terms:not(:hover) {
    color: inherit;
}
form .sf2-header {
    margin-bottom: 1rem;
}
form .sf2-header .sf2-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
form .sf2-header .sf2-description {
    color: var(--bs-secondary);
    font-size: 0.875em;
}
form {
    text-align: center;
}
form a {
    display: inline-block;
}
input[type='radio'] {
  position: relative;
  height: 1em;
  width: 1em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
}

input[type='radio']::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 2px solid var(--bs-primary);
  transition: .3s;
}
input[type='radio']:checked::before {
  background-color: var(--bs-primary);
}

form .sf2Win.success,
form .sf2-type-success {
    border-left-color: var(--bs-primary);
    text-align: left;
}

/* header */
.brand-logo img {
    width: auto;
    max-height: 4rem;
}

.header {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    padding: 1rem 0;
}
.header .icon-wrapper {
    --icon-size: 3.5rem;
}
.header .icon-wrapper i {
    display: inline-flex;
    font-size: calc(var(--icon-size) * 0.4);
    width: var(--icon-size);
    height: var(--icon-size);
    border-radius: var(--bs-border-radius);
    background-color: rgba(var(--bs-warning-rgb), .1);
    color: var(--bs-secondary);
    justify-content: center;
    align-items: center;
}

/* nav */
#navbar1 {
    justify-content: center;
}
.mod-menu {
    --bs-nav-link-hover-color: var(--bs-primary);
    --bs-nav-link-color: inherit;
}
.mod-menu .nav-link {
    cursor: pointer;
    text-decoration: none;
}
.mod-menu .nav-link:hover {
    text-decoration: none;
}
.active > .nav-link:hover,
.active > .nav-link:focus {
    color: var(--bs-dropdown-link-active-color);
}

/* MODAL */
.modal {
    --bs-modal-header-border-width: 0;
}
.modal-title {
    color: var(--bs-secondary);
    font-size: 1rem;
}
/*
@media screen and (max-width: 767px) {
    .modal {
        --bs-modal-padding: 3rem;
    }
}*/

/* OWL */
.owl-carousel {
    --nav-size: 3rem;
    --dot-size: .75rem;
    padding: 0 calc(var(--nav-size) + 1rem);
    margin-bottom: calc(var(--dot-size) + 1rem);
}
.owl-carousel .owl-prev,
.owl-carousel .owl-next {
    position: absolute;
    border: 1px solid var(--bs-primary);
    border-radius: 50%;
    width: var(--nav-size);
    height: var(--nav-size);
    display: flex;
    justify-content: center;
    align-items: center;
    top: calc(50% - var(--nav-size) * 0.5);
}
.owl-carousel .owl-prev {
    color: var(--bs-primary);
    left: 0;
}
.owl-carousel .owl-next {
    background-color: var(--bs-primary);
    color: #fff;
    right: 0;
}
.owl-carousel .owl-prev:before,
.owl-carousel .owl-next:before {
    content: '';
    display: block;
    width: calc(var(--nav-size) * 0.25);
    height: calc(var(--nav-size) * 0.25);
    border-top: 1px solid;
    border-left: 1px solid;
}
.owl-carousel .owl-prev:before {
    transform: rotate(-45deg) translate(25%, 25%);
}
.owl-carousel .owl-next:before {
    transform: rotate(135deg) translate(25%, 25%);
}
.owl-carousel .owl-dots {
    text-align: center;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 1rem;
    line-height: 1;
}
.owl-carousel .owl-dot {
    display: inline-block;
    border: 1px solid var(--bs-primary);
    width: var(--dot-size);
    height: var(--dot-size);
    border-radius: 50%;
    margin: 0 .25rem;
    transition: .3s;
}
.owl-carousel .owl-dot.active {
    background-color: var(--bs-primary);
}

/* screens */
.mw-size-23 {
    max-width: 23rem;
}
.mw-size-48 {
    max-width: 48rem;
}
.mw-size-52 {
    max-width: 52rem;
}
.mw-size-60 {
    max-width: 60rem;
}

.scr-header {
    position: relative;
}
.scr-header > * {
    position: relative;
    *padding-top: 1rem;
}
.scr-header:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color, #fff);
    opacity: var(--overlay-opacity, .75);
}

.scr-header .item {
    position: relative;
    z-index: 1;
}
.scr-header .title-wrapper ul {
    --icon-size: 1.5em;
    padding: 0;
    margin: 1.5rem 0 3rem;
    list-style: none;
}
.scr-header .title-wrapper li {
    position: relative;
    padding-left: calc(var(--icon-size) + 1rem);
    margin-bottom: 1.5rem;
}
.scr-header .title-wrapper li:before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    position: absolute;
    left: 0;
    font-size: var(--icon-size);
}
.scr-header .photo-wrapper {
    position: relative;
}
.scr-header .photo-wrapper .description {
    --padding-y: 1rem;
    --padding-x: 1.25rem;
    position: absolute;
    top: 50%;
    right: calc(var(--padding-x) + 1rem);
    transform: translateY(-50%);
}
.scr-header .photo-wrapper .description p {
    position: relative;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    box-shadow: var(--shadow);
    border-radius: var(--bs-border-radius);
    padding: var(--padding-y) var(--padding-x);
    margin-top: calc(var(--padding-y) * -0.5);
    margin-bottom: calc(var(--padding-y) * -0.5);
    transform: translateX(var(--padding-x));
}
.scr-header .photo-wrapper .description p:first-child {
    transform: none;
    z-index: 1;
}

.scr-services {
    background-image: url(../images/scr-uslugi.jpg);
}
.scr-services {
    margin: 0;
    position: relative;
}
.scr-services > * {
    position: relative;
}
.scr-services:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255,255,255,0.9), rgba(255,255,255,1));
}
.scr-services .content ul {
    --bs-gutter-x: 0rem;
    --marker-offset: 1.35rem;
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.scr-services .content li {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-bottom: .5rem;
    margin-left: var(--marker-offset);
    max-width: 100%;
    width: 100%;
}
@media screen and (min-width: 767px) {
    .scr-services .item-full-width .content li {
        flex: 0 0 auto;
        width: calc(50% - var(--marker-offset));
        font-size: 1.25rem;
    }
}
.scr-services .content li::marker {
    color: var(--bs-primary);
}
.scr-services ul.fields-container {
    list-style: none;
    padding: 0;
}
.scr-services .newsflash-image {
    --icon-size: 5rem;
}
.scr-services .newsflash-image figure {
    display: inline-block;
    width: var(--icon-size);
    height: var(--icon-size);
    background-color: var(--bs-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: calc(var(--icon-size) * 0.25);
}
.scr-services .newsflash-image figure img {
      filter: invert(1); 
      -webkit-filter: invert(1);
}

.scr-delo .item,
.scr-delo .form-wrapper {
    position: relative;
    z-index: 2;
}
.scr-delo .item ul {
    --icon-size: 4.5rem;
    list-style: none;
    padding: 0;
}
.scr-delo .item h6 {
    margin-top: 1.5rem;
}
.scr-delo .item li {
    position: relative;
    padding-right: calc(var(--icon-size) + 1.5rem);
}
.scr-delo .item li img {
    position: absolute;
    right: 0;
    top: 0;
    width: var(--icon-size);
    height: auto;
}
.scr-delo .img-wrapper {
    --webkit-mix-blend-mode: darken;
    mix-blend-mode: darken;
}

.scr-about .photo-wrapper {
    position: relative;
}
.scr-about .photo-wrapper .description {
    background: #fff linear-gradient(rgba(var(--bs-warning-rgb), .1), rgba(var(--bs-warning-rgb), .1));
    position: absolute;
    left: 3rem;
    right: 3rem;
    bottom: 6rem;
}

.scr-reviews {
    background-color: rgba(var(--bs-warning-rgb), .1);
}
.scr-reviews .owl-stage {
    display: flex;
}
.scr-reviews .owl-stage .owl-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    overflow: hidden;
    border-radius: var(--bs-border-radius);
}
.scr-reviews .owl-stage .owl-item > * {
    margin: 0;
}

#contacts a:not([class]) {
    color: inherit;
    text-decoration: none;
}

.container-footer a:not([class]) {
    color: inherit;
}

/* back-top */
#back-top {
    position: fixed;
    left: 1rem;
    bottom: 3rem;
    z-index: 1020;
    background: var(--bs-secondary);
    color: var(--bs-white);
    padding: .75rem;
    border-radius: var(--bs-border-radius);
    transition: .3s;
    visibility: hidden;
    opacity: 0;
}
#back-top.visible {
    visibility: visible;
    opacity: 1;
}
#back-top .icon-arrow-up:before {
    content: "\f062";
    font-weight: 900;
}

/* adaptive */
@media screen and (max-width: 992px) {
    .scr-about .photo-wrapper .description {
        left: 1rem;
        right: 1rem;
        bottom: 3rem;
    }
}
@media screen and (max-width: 767px) {
    html {
        font-size: 14px;
    }
    .owl-carousel {
        --nav-size: 1.75rem;
    }
    .scr-header h1 {
        text-align: center;
    }
    .scr-header .photo-wrapper {
        margin-left: auto;
        margin-right: auto;
        max-width: 18rem;
    }
    [class*="mw-size-"] {
        max-width: calc(100vw - 2rem);
    }
    #result
    #result .item .lead {
        font-size: 1rem;
    }
}