@font-face {
    font-family: Roboto;
    font-weight: 400;
    src: url(../resources/fonts/Roboto-Thin.ttf);
}

@font-face {
    font-family: Roboto;
    font-weight: 500;
    src: url(../resources/fonts/Roboto-Light.ttf);
}

@font-face {
    font-family: Roboto;
    font-weight: 600;
    src: url(../resources/fonts/Roboto-Regular.ttf);
}

@font-face {
    font-family: Roboto;
    font-weight: 700;
    src: url(../resources/fonts/Roboto-Medium.ttf);
}

@font-face {
    font-family: Roboto;
    font-weight: 800;
    src: url(../resources/fonts/Roboto-Bold.ttf);
}

@font-face {
    font-family: Roboto;
    font-weight: 900;
    src: url(../resources/fonts/Roboto-Black.ttf);
}

:root {
    --primaryColor: #FF8600;
    --primaryBoldColor: #FF8600;
    --primaryBlackColor: #FF8600;
    --secondaryColor: #ffffff;
    --opaqueBackground: #000000e6;
    --mainCanvasBackground: #141414;
    --primaryTextSize: 15px;
    --primaryTextSizeS: 10px;
    --letterSpacing: 5px;
    --radius: 4px;
    --contentTransitionDuration: 600ms;
    --contentTransitionBezier: cubic-bezier(.83, .39, .21, .96);
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

ul {
    padding: 0;
    list-style: none;
}

li {
    color: var(--secondaryColor);
    font: 600 15px Roboto, sans-serif;
    text-align: left;
}

li::before {
    content: "•";
    color: var(--primaryColor);
    display: inline-block;
    width: 15px;
    margin-left: -1em;
}

body {
    margin: 0;
    padding: 0;
    overscroll-behavior: contain;
    width: 100%;
    height: auto;
    overflow: hidden;
}

canvas {
    display: block;
}

.ui-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.text-indent {
    border-left: 3px solid var(--primaryBoldColor);
    padding-left: 20px;
}

.emphasize {
    font-weight: bold;
}

.flex {
    display: flex;
}

.flex--center {
    justify-content: center;
    align-items: center;
}

/***** LOADED PAGE ANIMATIONS *****/
.ui-wrapper.page-not-loaded .loader {
    animation: none;
}

.ui-wrapper.page-not-loaded .loader__text::after {
    animation: none;
}

.ui-wrapper.page-not-loaded .fixed-content {
    opacity: 0;
}

/***** LOADER *****/

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--mainCanvasBackground);
    z-index: 2;
    animation: loaderFinished 3s 3s forwards;
}

.loader__text {
    font: 900 11vw Roboto, sans-serif;
    position: relative;
    letter-spacing: 20px;
    color: var(--primaryColor);
    user-select: none;
}

.loader__text::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--mainCanvasBackground);
    animation: loaderStarted 3s ease forwards;
}

@keyframes loaderStarted {
    to {
        width: 0%;
    }
}

@keyframes loaderFinished {
    50% {
        background-color: transparent;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/***** MAIN MENU *****/

.menu {
    position: relative;
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: var(--opaqueBackground);
}

.menu-list {
    list-style-type: none;
    z-index: 1;
    padding: 0;
}

.menu-list__item {
    color: var(--secondaryColor);
    position: relative;
    font: 900 30px Roboto, sans-serif;
    letter-spacing: var(--letterSpacing);
    cursor: pointer;
    padding-left: 30px;
    -webkit-tap-highlight-color: transparent;
    line-height: 48px;
}

.menu-list__item::before,
.menu-list__item::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    content: '';
    background-color: var(--primaryBoldColor);
    z-index: -1;
    transition: width 400ms ease;
    margin: 0;
}

.menu-list__item:hover::before {
    width: 100%;
    transition: width 300ms ease;
    background-color: var(--primaryBoldColor);
}

.menu-list__item:hover::after {
    width: 20px;
    transition: width 200ms 200ms ease;
    background-color: var(--primaryBlackColor);
}

.menu-list__item:last-of-type {
    margin-bottom: 0;
}

.menu-opened .menu {
    display: flex;
}

.menu-opened .scroll-letters,
.menu-opened .paging__page,
.menu-opened .fixed-content-header__contact,
.menu-opened .fixed-content-paging {
    opacity: 0;
    visibility: hidden;
}

.menu-opened .content {
    z-index: -1;
}

/***** POPUP *****/

.popup {
    width: 100%;
    height: 100%;
    position: relative;
    display: none;
    justify-content: center;
    align-items: center;
    background: var(--opaqueBackground);
    z-index: 2;
}

.popup--active {
    display: flex;
}

.popup__inner {
    width: 70%;
    height: 70%;
    padding: 50px 100px;
    background: #00000070;
    filter: drop-shadow(2px 4px 100px #1b1b1be6);
    overflow: hidden;
    overflow-y: auto;
}

.popup__title {
    opacity: 0;
    transform: translateY(50px);
    color: var(--secondaryColor);
    font: 800 40px Roboto, sans-serif;
    margin-bottom: 0;
}

.popup__subtitle {
    color: var(--secondaryColor);
    margin: 0;
    letter-spacing: 1px;
    opacity: 0;
    font: 500 18px Roboto, sans-serif;
    margin-bottom: 30px;
}

.popup--animated .popup__title {
    transform: translateY(0);
    opacity: 1;
    transition: var(--contentTransitionDuration) 400ms var(--contentTransitionBezier);
}

.popup--animated .popup__subtitle {
    transform: translateY(0);
    opacity: 0.5;
    transition: var(--contentTransitionDuration) 600ms var(--contentTransitionBezier);
}

/** POPUP SUBSECTIONS START**/
/* WHAT WE OFFER */

.popup__offers {
    display: flex;
    flex-wrap: wrap;
    opacity: 0;
}

.popup__offer {
    flex-basis: 25%;
}

.popup__offer-title {
    color: var(--secondaryColor);
    font: 500 30px Roboto, sans-serif;
}

.popup--animated .popup__offers {
    transform: translateY(0);
    opacity: 1;
    transition: var(--contentTransitionDuration) 300ms var(--contentTransitionBezier);
}

/* VIDEO */

.video__inner {
    padding: 0;
    overflow: hidden;
}

iframe {
    filter: drop-shadow(2px 4px 100px #1b1b1be6);
    border: none;
}

/** POPUP SUBSECTIONS END **/

/***** FIXED CONTENT SECTIONS *****/
.fixed-content-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 5% 5% 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.fixed-content-header__contact {
    opacity: 1 !important;
}

.fixed-content-header__logo {
    color: var(--secondaryColor);
    font: 900 35px Roboto, sans-serif;
    letter-spacing: 20px;
    user-select: none;
    margin-left: 30px;
}

.fixed-content-header__logo::first-letter {
    color: var(--primaryColor);
}

.fixed-content-paging {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 5%;
    width: 50px;
    z-index: 1;
}

.fixed-content-paging:hover .paging__page {
    height: 30px;
    width: 30px;
    transition: 300ms ease;
    border-radius: var(--radius);
}

.paging__page {
    background-color: transparent;
    width: 100%;
    height: 3px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 300ms;
    /* Set !important on opacity because it has the same data attribute
    as content sections (check index.html). Because of that, it will
    hide when switching to next section (check ui.js) */
    opacity: 1 !important;
    border: 3px solid #FF8600;
}

.paging__page.section--hidden,
.paging__page.section--hidden-reverse {
    width: 30px;
    opacity: 0.5 !important;
}

.paging__page:last-of-type {
    margin-bottom: 0;
}

.fixed-content-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 0 5% 5% 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.social-links__anchor {
    margin-right: 10px;
    display: inline-block;
    text-decoration: none;
}

.social-links__anchor:last-of-type {
    margin-right: 0;
}

.social-links__image {
    filter: invert(90%);
    vertical-align: bottom;
    cursor: pointer;
}

.social-links__image:hover {
    filter: invert(100%);
}

.configuration__letters {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.configuration__letters--hidden {
    display: none;
}

.configuration__letters-text {
    font: 900 11vw Roboto, sans-serif;
    position: relative;
    letter-spacing: 20px;
    color: var(--primaryColor);
    user-select: none;
    text-shadow: 1px 1px 1px var(--primaryBoldColor),
    1px 2px 1px var(--primaryBoldColor),
    1px 3px 1px var(--primaryBoldColor),
    1px 4px 1px var(--primaryBoldColor),
    1px 5px 1px var(--primaryBoldColor),
    1px 6px 1px var(--primaryBoldColor),
    1px 7px 1px var(--primaryBoldColor),
    1px 8px 1px var(--primaryBoldColor),
    1px 9px 1px var(--primaryBoldColor),
    1px 10px 1px var(--primaryBoldColor),
    1px 18px 6px rgba(16, 16, 16, 0.4),
    1px 22px 10px rgba(16, 16, 16, 0.2),
    1px 25px 35px rgba(16, 16, 16, 0.2),
    1px 30px 60px rgba(16, 16, 16, 0.4);
}

.scroll-letters {
    display: flex;
    position: absolute;
    bottom: 0;
    overflow: hidden;
}

.scroll-letters__letter {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    color: var(--secondaryColor);
    font: 600 var(--primaryTextSize) Roboto, sans-serif;
    animation: scrollLetterDrops 4s linear forwards infinite;
}

.scroll-letters__letter::after {
    content: attr(title);
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
}

.scroll-letters__letter:last-of-type {
    margin-right: 0;
}

.scroll-letters__letter:nth-of-type(1) {
    animation-delay: 100ms;
}

.scroll-letters__letter:nth-of-type(2) {
    animation-delay: 200ms;
}

.scroll-letters__letter:nth-of-type(3) {
    animation-delay: 300ms;
}

.scroll-letters__letter:nth-of-type(4) {
    animation-delay: 400ms;
}

.scroll-letters__letter:nth-of-type(5) {
    animation-delay: 500ms;
}

.scroll-letters__letter:nth-of-type(6) {
    animation-delay: 600ms;
}

.scroll-letters__letter:nth-of-type(7) {
    animation-delay: 700ms;
}

.scroll-letters__letter:nth-of-type(8) {
    animation-delay: 800ms;
}

.scroll-letters__letter:nth-of-type(9) {
    animation-delay: 900ms;
}

.scroll-letters__letter:nth-of-type(10) {
    animation-delay: 1000ms;
}

@keyframes scrollLetterDrops {
    25%, 100% {
        transform: translate3d(0, 100%, 0);
    }
}
@keyframes modal {
    0% {
        transform: translate3d(0, -100%, 0);
    }100% {
        transform: translate3d(0, 0, 0);
    }
}

.fixed-content-footer__copy {
    color: var(--secondaryColor);
    font: 600 var(--primaryTextSize) Roboto, sans-serif;
}

/***** MAIN CONTENT SECTIONS *****/

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 1250px;
    height: 80%;
}

.content-section {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translate3d(0, 0, 0);
    transition: 100ms ease-out;
}

.content-section.section--hidden {
    display: none;
    opacity: 0;
    transform: translate3d(0, 100%, 0);
}

.content-section.section--hidden-reverse {
    display: none;
    opacity: 0;
    transform: translate3d(0, -100%, 0);
}

.content-section.section--hidden .content-section__title,
.content-section.section--hidden .content-section__text,
.content-section.section--hidden .content-section__button,
.content-section.section--hidden .content-section__image-holder,
.content-section.section--hidden .content-section__buttons-holder,
.content-section.section--hidden .content-services__service {
    opacity: 1;
    transform: translate3d(0, 50px, 0);
}

.content-section.section--hidden-reverse .content-section__title,
.content-section.section--hidden-reverse .content-section__text,
.content-section.section--hidden-reverse .content-section__button,
.content-section.section--hidden-reverse .content-section__image-holder,
.content-section.section--hidden-reverse .content-section__buttons-holder,
.content-section.section--hidden-reverse .content-services__service {
    opacity: 1;
    transform: translate3d(0, -50px, 0);
}

.content-section.section--hidden .content-section__title::after,
.content-section.section--hidden-reverse .content-section__title::after {
    width: 100%;
}

/* Portfolio single image holder */
.content-section.section--hidden .content-portfolio__image-holder,
.content-section.section--hidden-reverse .content-portfolio__image-holder {
    opacity: 0;
    transform: translate3d(50px, 50px, 0) rotate(60deg);
}

/* Portfolio single image */
.content-section.section--hidden .content-portfolio__image,
.content-section.section--hidden-reverse .content-portfolio__image {
    transform: rotate(-70deg);
}

.content-section--left-align {
    flex-direction: row;
}

/*@media (max-width: 768px) {
    .content-section--left-align {
        flex-direction: column;
    }
}*/

.content-holder--left-align {
    text-align: left;
    flex-basis: 50%;
}

.content-section__title {
    position: relative;
    text-transform: uppercase;
    color: var(--secondaryColor);
    font: 800 40px Roboto, sans-serif;
    transform: translate3d(0, 0, 0);
    transition: var(--contentTransitionDuration) 300ms var(--contentTransitionBezier);
}

.content-section__text {
    width: 70%;
    color: var(--secondaryColor);
    font: 500 20px Roboto, sans-serif;
    margin-bottom: 50px;
    transform: translate3d(0, 0, 0);
    transition: var(--contentTransitionDuration) 500ms var(--contentTransitionBezier);
}

.content-section__buttons-holder {
    display: flex;
    transform: translate3d(0, 0, 0);
    transition: var(--contentTransitionDuration) 700ms var(--contentTransitionBezier);
    margin-top: 30px;
}

#call-window-after .content-section__buttons-holder{
    justify-content: center;
}
.content-section__buttons-holder .content-section__button:first-of-type {
    margin-right: 20px;
    /*left: 0;
    transition: 300ms ease;*/
}

/*.content-section__buttons-holder .content-section__button:first-of-type:hover .button__invisible-email {
  display: block;
}
.content-section__buttons-holder .content-section__button:first-of-type:hover .button__text {
  display: none;
}*/

.button__invisible-email {
    display: none;
    z-index: 1;
}

.content-section__button {
    transform: translate3d(0, 0, 0);
    transition: var(--contentTransitionDuration) 700ms var(--contentTransitionBezier);
}

/* Content services section */

.content-services {
    display: flex;
    margin-bottom: 70px;
}

.content-services__service {
    position: relative;
    margin-right: 50px;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border-bottom: 2px solid var(--primaryBlackColor);
    border-radius: var(--radius);
    transform: translate3d(0, 0, 0);
    transition: var(--contentTransitionDuration) var(--contentTransitionBezier);
    will-change: transform;
}

.content-services__service::before {
    content: '';
    width: 100%;
    height: 0;
    background-color: var(--primaryBlackColor);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 200ms var(--contentTransitionBezier);
}

.content-services__service:nth-of-type(1) {
    transition-delay: 700ms;
}

.content-services__service:nth-of-type(2) {
    transition-delay: 800ms;
}

.content-services__service:nth-of-type(3) {
    transition-delay: 900ms;
}

.content-services__service:nth-of-type(4) {
    transition-delay: 1s;
}

.content-services__service:hover::before {
    height: 100%;
    transition: 200ms var(--contentTransitionBezier);
}

.content-services__service:hover .content-service__image {
    transform: translateY(-40px);
    opacity: 0;
    transition: 200ms var(--contentTransitionBezier);
}

.content-services__service:hover .content-service__text {
    transform: translateY(-100px);
    transition: 200ms var(--contentTransitionBezier);
}

.content-services__service:hover .extended-services {
    transform: translateY(-40px);
    opacity: 1;
    transition: 200ms var(--contentTransitionBezier);
}

.content-service__image {
    filter: invert(100%);
    width: 45px;
    transition: 200ms var(--contentTransitionBezier);
}

.content-service__text {
    color: var(--secondaryColor);
    font: 800 20px Roboto, sans-serif;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 200ms var(--contentTransitionBezier);
}

.extended-services {
    padding: 0;
    list-style: none;
    z-index: 1;
    position: absolute;
    bottom: 0;
    opacity: 0;
    transition: 200ms var(--contentTransitionBezier);
}

.content-section__images {
    position: relative;
    flex-basis: 50%;
    height: 100%;
}

.content-section__image-holder {
    height: 210px;
    width: 15vw;
    max-width: 210px;
    max-height: 210px;
    border-radius: 50%;
    flex-basis: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    border: 10px solid var(--primaryBlackColor);
    box-shadow: 0 0 20px 5px rgba(0, 0, 0, 1);
    background-color: black;
}

.content-section__image-holder:nth-of-type(1) {
    transform: translate(0, -50%);
    transition: 400ms 100ms var(--contentTransitionBezier);
}

.content-section__image-holder:nth-of-type(2) {
    transform: translate(100px, -50%);
    transition: 400ms 150ms var(--contentTransitionBezier);
}

.content-section__image-holder:nth-of-type(3) {
    transform: translate(200px, -50%);
    transition: 400ms 200ms var(--contentTransitionBezier);
}

.content-section__image-holder:nth-of-type(4) {
    transform: translate(300px, -50%);
    transition: 400ms 250ms var(--contentTransitionBezier);
}

.content-section__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
    transform: translateZ(0);
    opacity: 1;
    transition: 400ms 100ms var(--contentTransitionBezier);
    position: absolute;
    left: 0;
    bottom: 0;
}

.slider__item-image{
    transition: 400ms 100ms var(--contentTransitionBezier);
    transition-delay: 0ms!important;
}

.content-section__image.hide {
    opacity: 0;
}

.content-section__image-holder:hover {
    max-width: 310px;
    max-height: 310px;
}

.content-section__image-holder:hover .show {
    opacity: 0;
}

.content-section__image-holder:hover .hide {
    opacity: 1;
}

/* Content portfolio section */

.content-portfolio__images {
    margin-bottom: 25px;
}

.content-portfolio__images img {
    transform: rotate(270deg);
}

.content-portfolio__image-holder {
    width: 170px;
    height: 400px;
    margin-right: 120px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    transform: translate3d(0, 0, 0) rotate(45deg);
    transition: 1500ms 800ms ease-in-out;
    position: relative;
}

.content-portfolio__image-holder:last-of-type {
    margin-right: 0;
}

.content-portfolio__image {
    height: 100%;
    transform: rotate(-45deg);
    object-fit: cover;
    transition: 1500ms 800ms ease-in-out;
}

.content-portfolio__image-holder:nth-of-type(1),
.content-portfolio__image:nth-of-type(1) {
    transition-delay: 100ms;
}

.content-portfolio__image-holder:nth-of-type(2),
.content-portfolio__image:nth-of-type(2) {
    transition-delay: 200ms;
}

.content-portfolio__image-holder:nth-of-type(3),
.content-portfolio__image:nth-of-type(3) {
    transition-delay: 300ms;
}

.content-portfolio__name {
    font: 600 20px Roboto, sans-serif;
    position: absolute;
    bottom: 0;
    left: 25px;
    transform-origin: left;
    color: var(--secondaryColor);
    z-index: 1;
    transform: rotate(-90deg);
    white-space: nowrap;
}

.content-portfolio__image-holder::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, var(--opaqueBackground) 0%, rgba(255, 0, 0, 0) 100%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

/***** MEDIA QUERIES *****/

/*@media only screen and (max-width: 1200px) {
  .menu-list__item {
    font: 900 9vw Roboto, sans-serif;
  }*/

.content-section__image-holder {
    width: 500px;
    height: 500px;
    left: 40%;
}

.content-section__image-holder:nth-of-type(1) {
    transform: translate(-50%, -100px);
}

.content-section__image-holder:nth-of-type(2) {
    transform: translate(-50%, -50px);
}

.content-section__image-holder:nth-of-type(3) {
    transform: translate(-50%, 0);
}

.content-section__image-holder:nth-of-type(4) {
    transform: translate(-50%, 50px);
}

.popup {
    align-items: flex-end;
}

.popup__inner {
    width: 100%;
    max-height: 80%;
    padding: 0px 5%;
    padding-bottom: 5%;
}

.popup__inner::before {
    content: '';
    position: absolute;
    top: 10px;
    left: calc(50% - 20px);
    width: 20px;
    height: 2px;
    background: var(--primaryBlackColor);
}

}

@media only screen and (max-width: 1000px) {
    .content {
        width: 90%;
    }
    
    .fixed-content-paging {
        display: none;
    }
    
    .scroll-letters__letter,
    .fixed-content-footer__copy {
        font-size: var(--primaryTextSizeS);
    }
    
    .fixed-content-header__logo {
        font-size: var(--primaryTextSize);
        letter-spacing: var(--letterSpacing);
    }
    
    .menu-list__item {
        font-size: 30px;
        margin-bottom: 20px;
    }
    
    .content-section__title {
        font-size: 30px;
    }
    
    .content-section__text {
        font-size: 16px;
        width: 100%;
    }
    
    .content-services {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .content-services__service {
        padding: 10px;
        margin: 0;
        flex-basis: 50%;
        border-bottom: none;
        pointer-events: none;
    }
    
    .content-service__image {
        width: 35px;
    }
    
    .content-service__text {
        font-size: 15px;
    }
    
    .content-portfolio__image-holder {
        width: 90px;
        height: 200px;
        margin-right: 60px;
    }
    
    .content-portfolio__name {
        font-size: 12px;
        left: 15px;
    }
    
    .content-section__text-team {
        text-align: initial;
    }
    
    .content-section__image-holder {
        width: 100px;
        height: 100px;
    }
    
    .popup__title {
        font-size: 30px;
    }
    
    .popup__subtitle {
        font-size: 12px;
    }
    
    .popup__offers {
        justify-content: space-between;
    }
    
    .popup__offer {
        flex-basis: 50%;
    }
    
    .content-section__buttons-holder .content-section__button:first-of-type:hover {
        padding-right: 25px;
        /*left: 0;
        transition: 300ms ease;*/
    }
    
    /* .content-section__buttons-holder .content-section__button:first-of-type:hover .button__invisible-email {
       display: none;
     }*/
    /* .content-section__buttons-holder .content-section__button:first-of-type:hover .button__text {
       display: block;
     }*/
}

/* Minimum device height; */
@media only screen and (max-height: 450px) {
    .content-services,
    .content-section__images,
    .content-portfolio__images {
        display: none;
    }
    
    .content-holder--left-align {
        flex-basis: 100%;
    }
    
    .content-section__text-team {
        margin-bottom: 17px;
    }
}

.call-text {
    margin-bottom: 10px;
    border: 2px solid dimgrey;
    border-radius: 8px;
}

#call-window {
    max-width: 400px;
    background-color: black;
    border: 2px solid #FF8600;
    border-radius: 4px;
    transition: 2s!important ;
    
}

#privacy{
    text-align: justify;
}
#call-window .content-section__title,
#call-window-error .content-section__title,
#call-window-after .content-section__title{
    font-size: 24px;
}
    
    /*.fancybox__container{
        transition: var(--contentTransitionDuration) 600ms var(--contentTransitionBezier);
        animation: modal 0.5s linear ;
        
        
    }*/
.btn-send {
    border-radius: 8px;
    border: solid #FF8600;
    background-color: #FF8600;
    color: #565e64;
    height: 30px;
}

.btn-pop a {
    padding: 3px;
    text-decoration: none;
    color: black;
}

ul {
    padding-left: 0px !important;
}

.call-window-inner {
    text-align: center;
    display: contents;
}

.call-window-inner a {
    color: #FF8600;
    font-size: 12px;
}
.checkbox_label{
    font-size: 12px;
    
}
.call-window-inner h2 {
    color: white;
}

h3 {
    color: #FF8600;
}

#submit:disabled {
    opacity: .5;
}

#checkbox {
    width: 20px;
    float: left;
    position: absolute;
    z-index: -1;
    opacity: 0;
    bottom: 110px;
    color: #FF8600;
}
.contact-form a{
    text-decoration: underline;
}
#call-window-after {
    max-width: 400px;
    max-height: 400px;
    text-align: center;
}

#call-window-after a img {
    max-width: 250px;
}

#call-window-after h1 {
    font-size: 14px;
    margin-top: 5px;
}

.btn-pop {
    margin-top: 10px;
}

.call-window-inner input {
    background: transparent;
    border: 2px solid #FF8600;

    border-radius: 4px;
    height: 45px;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding-left: 20px;
    font-size: 13px;
    color: #FF8600;
    width: 100%;
}

input::-webkit-input-placeholder {
    color: #FF8600;
}



#checkbox + label {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    user-select: none;
    color: #FF8600;
    font-family: Roboto;
    display: block;
    padding-bottom: 20px;
}

#checkbox + label::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #FF8600;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

#checkbox:checked + label::before {
    border-color: #FF8600;
    background-color: #FF8600;
}

.hide {
    opacity: 0;
}

.content-section__img {
    height: 400px;
    display: flex;
    justify-content: center;
}

.content-section__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0.5em;
    object-position: center top;
}

.content-section__img-1 {
    height: 100%;
    cursor: pointer;
}

#call-window-error {
    max-width: 400px;
    max-height: 400px;
    text-align: center;
    background-color: black;
    border: 2px solid #FF8600;
}

#call-window-error a img {
    max-width: 250px;
    margin-bottom: 10px;
}

#call-window-error a {
    color: #FF8600;
}

#call-window-error h1 {
    font-size: 14px;
    margin-top: 5px;
    color: #FF8600;
}

#call-window-after {
    max-width: 400px;
    max-height: 400px;
    text-align: center;
    background-color: black;
    border: 2px solid #FF8600;
}

#call-window-after a img {
    max-width: 250px;
}

#call-window-after h1 {
    font-size: 14px;
    margin-top: 5px;
    color: #FF8600;
    font-family: 'Roboto';
}

@media (max-width: 540px) {
    .content-section__text {
        font: 300 14px Roboto, sans-serif;
        line-height: 13px;
    }
    
    .content-section__title {
        font: 800 20px Roboto, sans-serif;
        margin-top: 20px;
    }
    
    .fixed-content-header__logo {
        font: 900 20px Roboto, sans-serif;
        letter-spacing: 4px;
        margin-left: 25px;
    }
    
    .content-section__image-holder {
        display: none;
    }
    
    .menu-list__item {
        font: 900 23px Roboto, sans-serif;
    }
    
    #img-2, #img-3 {
        display: none;
    }
    
/*    .content-section__img {
        display: none;
    }*/
    
    .content-section__text {
        margin-bottom: 20px;
        width: 100%;
        margin-top: 0px;
        
    }
    
    #catalog-btn {
        margin-right: 0px;
    }
    
    .fixed-content-paging {
        width: 20px;
    }
    
    .popup__inner {
        max-height: 70%;
    }
    
    .popup__title {
        font: 800 20px Roboto, sans-serif;
    }
    
    .slider__item-image {
        width: 100%;
    }
    
    .loader__text {
        font: 900 8vw Roboto, sans-serif;
    }
    
    .paging__page.section--hidden, .paging__page.section--hidden-reverse {
        width: 12px;
    }
    
    .content-services__service {
        margin-right: 0px;
        padding: 5px;
    }
    
    .content-services {
        margin-bottom: 40px;
    }
    
}

/*доработки от 26 июля*/
/*

.d-none {
    display: none !important;
}

.swiper.team {
    width: 50%;
    height: 100%;
    position: relative;
}

@media (max-width: 768px) {
    .swiper.team {
        width: 100%;
    }
}

.swiper.team img {
    z-index: 1;
}

.content-service__text.orange {
    color: #FF8600;
}



.swiper-button-prev, .swiper-button-next {
    z-index: 3;
    display: none;
}

@media (max-width: 1024px) {
    .swiper-button-prev, .swiper-button-next {
        display: flex;
    }
}



.team .content-service__text {
    width: 100%;
}

.team .swiper-slide .hide {
    background-color: rgba(255, 134, 0, 0.5);
    color: white;
    
}

.content-service__text_all {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 1.5rem;
    width: 100%;
    left: 0;
    margin: 0;
    bottom: 60px;
    backdrop-filter: blur(2px);
    z-index: 2;
    position: absolute;
}

@media (max-width: 1024px) {
    .content-service__text_all {
        background-color: transparent;
        bottom: 0;
    }
}

.content-service__text_all span {
    margin: 0;
    padding: 0;
}

.content-service__text_all .small {
    font-size: 16px;
    color: white;
}*/

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after, .swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    color: white;
}

.swiper.portfolio {
    width: 100%;
}



.swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.56) !important;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #FF8600 !important;
}

.portfolio .swiper-pagination-bullets {
    background-color: transparent !important;
}

@media (max-width: 768px) {
    
    .content-service__text {
        font-size: 16px;
        font-weight: 500;
        margin-top: 5px;
    }
    
    .extended-services {
        display: none !important;
    }
    
    .content-service__image{
transition: none!important;
        transform:none!important;
    }
    .content-services__service::before{
        display: none;
    }
    .content-services {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .content-service__image {
        width: 25px;
    }
    .content-services__service:hover .content-service__text{
        transform:none;
        transition: none;
    }
}

.content-services-mob {
    display: flex;
    flex-direction: column;
    border-left: 3px solid #FF8600;
    padding-left: 15px;
}

.content-services-mob_item {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 20px;
    position: relative;
    transform: translate3d(0, 0, 0);
    transition: var(--contentTransitionDuration) var(--contentTransitionBezier);
    will-change: transform;
}

.content-services-mob_item .content-service__text {
    font-size: 1rem;
}

.content-services-mob_item img {
    margin-right: 10px;
}

.swiper-pagination-progressbar-fill {
    background-color: #FF8600 !important;
}

.swiper-pagination-progressbar {
    background-color: rgba(255, 255, 255, 0.56) !important;
}

.portfolio_pag{
bottom: 0px;
    top: auto!important;
}
/*

.content-section__image{
    transition: none!important;
}
*/

.fancybox__content :focus:not(.carousel__button.is-close){
    outline:none!important;
}

.team_modal {
    transform: translateZ(0);
    transition: var(--contentTransitionDuration) 400ms var(--contentTransitionBezier);
    
}
.popup__inner_row{
    width: 100%;
    position: relative;
    padding:  5%;
}
.popup-team{
    flex-direction: column;
}

/*.popup-team{
    transform: translateZ(0);
    transition: var(--contentTransitionDuration) 400ms var(--contentTransitionBezier);
    
}*/
#submit{
    margin: 0px auto;
}
*{
    -webkit-tap-highlight-color:transparent !important;
    
}
.fancybox__container.is-animated{
    transition: 10s!important;
}
.menu-flex{
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    height: 100%;
}
::selection {
    background:#FF8600; /* Safari */
}
::-moz-selection {
    background: #FF8600; /* Firefox */
}
@media(max-width: 768px){
    .content-section__text{
        text-align: left;
    }
    .content-section__text:nth-child(2){
        display: none;
    }
}
