/*Fonts*/
@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Regular.woff2') format('woff2'),
    url('../fonts/Gilroy-Regular.woff') format('woff');
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.woff2') format('woff2'),
    url('../fonts/Gilroy-Medium.woff') format('woff');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Semibold.woff2') format('woff2'),
    url('../fonts/Gilroy-Semibold.woff') format('woff');
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Bold.woff2') format('woff2'),
    url('../fonts/Gilroy-Bold.woff') format('woff');
    font-style: normal;
    font-weight: bold;
}

/*General styles*/
body {
    font-size: 16px;
    color: #444;
    font-family: 'Gilroy', 'Calibri', sans-serif;
    font-style: normal;
    font-weight: 500;
    line-height: 1.1875;
}

a {
    color: #444;
    transition-duration: 550ms;
}

.article_link {
    font-family: 'Gilroy', 'Arial Black', sans-serif;
    font-style: normal;
    font-weight: 600;
}

a:hover {
    color: #FF4343;
    transition-duration: 550ms;
    cursor: pointer;
}

button:hover {
    cursor: pointer;
}

.link__active {
    color: #FF4343;
}

/*Header*/
.header {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4.17%;
    position: fixed;
    width: 100%;
    top:0;
    background-color: #fff;
    z-index: 1000;
}

.logo_header {
    width: 186px;
    padding: 31px 0;
}

.logo__link {
    text-decoration: none;
}

.main-menu {
    display: inline-block;
    background-color: #fff;
}

.main-menu__item {
    display: inline-block;
}

.main-menu__link {
    display: block;
    white-space: nowrap;
    text-decoration: none;
    padding: 44px 25px;
    line-height: 1.1875;
    transition-duration: 550ms;
    border-top: 2px solid #fff;
}

.main-menu__link_active {
    color: #FF4343;
    border-top: 2px solid #FF4343;
}

.main-menu__link:hover {
    color: #FF4343;
    transition-duration: 550ms;
    border-top: 2px solid #FF4343;
}

/*Submenu*/
.main-menu__item {
    position: relative;
}

.main-menu__submenu {
    position: absolute;
    background-color: #fff;
    width: 382px;
    left: -10px;
    z-index: -1;
    padding-bottom: 23px;
}

.main-menu__submenu_header {
    transition-duration: 950ms;
    transform: translateY(-900px);
}

.main-menu__item:hover .main-menu__submenu_header {
    transition-duration: 950ms;
    transform: translateY(0);
}


.main-menu__submenu_footer {
    bottom: 16px;
    left: -43px;
    padding-right: 23px;
    transition-duration: 950ms;
    transform: translateX(-100vw);
    z-index: 1;
    padding-top: 23px;
}

.main-menu__item:hover .main-menu__submenu_footer {
    transition-duration: 950ms;
    transform: translateY(0);
}

.main-menu__submenu:before {
    content: " ";
    height: 280px;
    background-color: #CFCFCF;
    width: 1px;
    position: absolute;
    top: 55px
}

.main-menu__submenu-link {
    text-decoration: none;
    font-family: 'Gilroy', 'Arial Black', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 1.250em;
    line-height: 1.25;
    display: inline-block;
    padding: 20px 39px;
    white-space: nowrap;
}

.main-menu__submenu-link_active {
    color: #FF4343;
}

.connection-button {
    border: none;
    padding: 13px 40px;
    margin: 31px 0 31px 15px;
    background-color: #FF4343;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25), 0px 2px 4px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    letter-spacing: 0.05em;
    line-height: 1.25;
    color: #fff;
    transition-duration: 550ms;
    text-decoration: none;
    white-space: nowrap;
}

.connection-button:hover {
    background-color: #E33A3A;
    transition-duration: 550ms;
    cursor: pointer;
    color: #fff;
}

/*The first screen*/
.first-screen {
    padding: 0 4.17%;
    padding-top: calc(107px + 54px);
}

.first-screen_main-content {
    display: flex;
    justify-content: space-between;
}

.first-screen__text {
    width: 45%;
    margin: auto 0;
    padding-left: 7.81%;
}

.title {
    font-family: 'Gilroy', 'Arial Black', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 4.5em;
    line-height: 1.236;
}

.title_section {
    font-size: 4.5em;
}

.first-screen__title {
    font-size: 3.875em;
    line-height: 1.242;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.slogan {
    font-size: 1.25em;
    line-height: 1.6;
}

.first-screen__slogan {
    width: 87%;
    margin-bottom: 74px;
}

.first-screen__link {
    font-family: 'Gilroy', 'Arial Black', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 1.25em;
    line-height: 1.25;
    letter-spacing: 0.05em;
    color: #FF4343;
    text-decoration: none;
}

.first-screen__link_arrow {
    transition-duration: 350ms;
    margin-bottom: -1px;
}

.first-screen__link:hover + .first-screen__link_arrow {
    transform: translateX(15px);
    transition-duration: 350ms;
}

.wrap_video-box {
    width: 42.62%;
    position: relative;
}

.first-screen__video-box {
    height: 513px;
    /*background-image: url('../img/bg_first_screen.jpg');
    background-size: cover;*/
    overflow: hidden;
}

.first-screen__video {
    height: 100%;
}

.first-screen__video-btn {
    width: 80px;
    height: 80px;
    box-sizing: border-box;
    background-color: #fff;
    background-image: url("../img/icon_play.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    position: absolute;
    z-index: 10;
    left: -40px;
    top: 40%;
    border-radius: 50%;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
    border: none;
    outline: none;
    transition-duration: 350ms;
}

.first-screen__video-btn:hover {
    box-shadow: 2px 2px 16px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition-duration: 350ms;
}

.first-screen_contacts {
    display: flex;
    justify-content: space-between;
    margin: 111px 0 60px
}

.social-buttons {
    height: 45px;
}

.social-buttons__item {
    margin-right: 16px;
    width: 31px;
    height: 31px;
    text-decoration: none;
}

.social-buttons__img {
    transition-duration: 350ms;
}

.social-buttons__item:hover .social-buttons__img {
    fill: #FF4343;
    transition-duration: 350ms;
}

.social-buttons__img_w {
    transition-duration: 250ms;
}

.social-buttons__item:hover .social-buttons__img_w {
    transform: translateY(-5px);
    transition-duration: 250ms;
}

.social-buttons__item:last-child {
    margin-right: 0;
}

.contact-details__mail,
.contact-details__phone {
    text-decoration: none;
}

.contact-details__mail {
    margin-right: 39px;
}

.red-symbol {
    color: #FF4343;
}

/*Services*/
.services {
    padding: 75px 11.98%;
    background-color: #FCFCFC;
}

.title_line::after {
    content: "";
    border-bottom: 2px solid #FF4343;
    width: 100px;
    height: 2px;
    margin: 24px 0 36px;
    display: block;
}

.services__slogan {
    width: 43.9%;
    margin-bottom: 60px;
}

.services__all {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/*Grids*/
.services__all {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 120px;
    grid-row-gap: 90px;
}

.services__item {
    margin-bottom: 20px;
}

.services__link {
    text-decoration: none;
    transition-duration: 350ms;
    width: 100%;
    display: block;
}

.services__link:hover {
    text-decoration: none;
    color: #FF4343;
    transition-duration: 350ms;
}

.services__item .services__img {
    height: 61px;
    margin-bottom: 20px;
    transition-duration: 350ms;
}

.services__link:hover .services__img {
    transform: translateY(10px);
    transition-duration: 350ms;
}

.title_sm {
    font-size: 1.375em;
    line-height: 1.23;
}

/*News*/
.last-news {
    padding: 75px 11.98%;
}

.last-news__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.last-news__item {
    box-sizing: border-box;
    background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../img/bg_first_screen.jpg');
    height: 348px;
    background-size: cover;
    display: inline-block;
    margin-bottom: 40px;
    max-width: 460px;
    overflow: hidden;
    transition-duration: 350ms;
    transform: scale(1);
}

.last-news__item:hover {
    transition-duration: 350ms;
    transform: scale(0.95);
}

.last-news__item_01 {
    background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../img/bg_news_01.jpg');
}

.last-news__item_02 {
    background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../img/bg_news_02.jpg');
}


.last-news__item_03 {
    background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../img/bg_news_03.jpg');
}

.last-news__item_04 {
    background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../img/bg_news_04.jpg');
}

.last-news__item_05 {
    background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../img/bg_news_05.jpg');
}

.last-news__item_06{
    background: #F7F7F7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/*Grids*/
.last-news__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 40px;
}

.last-news__link {
    display: block;
    text-decoration: none;
    height: 100%;
    padding: 32px;
    position: relative;
}

.title_on-img {
    font-size: 2em;
    line-height: 1.406;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}

.last-news__news-title {
    width: 72%;
    margin-bottom: 20px;
    min-height: 88px;
    display: inline-block;
}

.last-news__link__arrow {
    display: inline-block;
    position: absolute;
    right: 32px;
    top: 45px;
    opacity: 0;
    transition-duration: 350ms;
    transform: translateX(-200%);
}

.last-news__link:hover .last-news__link__arrow{
    transition-duration: 350ms;
    transform: translateX(0);
    opacity: 1;
}

.title_desc {
    line-height: 1.375;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.8);
    display: block;
}

.last-news__item_06{
    background: #F7F7F7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/*Projects*/
.projects {
    padding: 75px 11.98%;
}

.projects__main-title {
    width: 68.53%;
}

.projects__main-title_adaptive {
    display: none;
}

.desc {
    font-size: 1.125em;
    line-height: 1.61;
    letter-spacing: 0.02em;
}

.projects__slogan {
    margin-bottom: 72px;
    width: 80.17%;
}

.projects__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.projects__item {
    box-sizing: border-box;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('../img/bg_first_screen.jpg');
    background-size: cover;
    display: inline-block;
    margin-bottom: 40px;
    height: 640px;
    max-width: 710px;
    overflow: hidden;
    transition-duration: 350ms;
    transform: scale(1);
}

.projects__item:hover {
    transition-duration: 350ms;
    transform: scale(0.95);
}

.projects__item_01 {
    background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../img/bg_pr_linen.jpg');
}

.projects__item_02 {
    background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../img/bg_pr_bride.jpg');
}

.projects__item_03 {
    background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../img/bg_pr_dog.jpg');
}

.projects__item_04 {
    background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../img/bg_pr_laptop.jpg');
}

.projects__item_05 {
    background-image:
            linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('../img/bg_pr_door.jpg');
}

.projects__item_more {
    background: #F7F7F7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.projects__link {
    display: block;
    text-decoration: none;
    height: 100%;
    position: relative;
    padding: 62px;
}

.projects__title {
    display: inline-block;
    margin-bottom: 20px;
}

.projects__link__arrow {
    display: inline-block;
    position: absolute;
    right: 0;
    opacity: 0;
    transition-duration: 350ms;
    transform: translateX(-250%);
}

.projects__link:hover .projects__link__arrow{
    transition-duration: 350ms;
    opacity: 1;
    transform: translateX(-62px);
}

.projects__desc {
    display: block;
}

/*Grids*/
.projects__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 40px;
}


/*Special block in lists of projects and news*/
.last-news__link_more,
.projects__link_more {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

.last-news__more,
.projects__more{
    font-family: 'Gilroy', 'Arial Black', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 2em;
    line-height: 1.406;
    text-align: center;
    letter-spacing: 0.02em;
    color: #FF4343;
    margin-bottom: 16px;
}

.projects__link_more_arrow,
.last-news__link_more_arrow {
    transform: translateX(-250%);
    transition-duration: 350ms;
    opacity: 0;
}

.projects__item:hover .projects__link_more_arrow,
.last-news__item:hover .last-news__link_more_arrow{
    transform: translateX(0);
    transition-duration: 350ms;
    opacity: 1;
}

/*Our Partners*/
.our-partners {
    padding: 75px 11.98%;
}

.our-partners_mobile {
    display: none;
}

.our-partners__title {
    text-align: center;
    margin-bottom: 26px;
}

.our-partners__item{
    width: 61.15%;
    margin: auto;
}

.our-partners__p {
    font-size: 1.125em;
    line-height: 1.61;
    margin-bottom: 20px;
}

.logo-nav {
    display: flex;
    align-items: center;
    max-width: 70%;
    margin: 10px auto 10px;
}

.logo-nav__link {
    /*min-height: 200px;
    max-width: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    margin: auto;*/
    min-height: 90px;
    max-width: 110px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.logo-nav__img {
    height: auto;
    max-height: 90px;
    max-width: 100%;
}

/*Reviews*/
.clients {
    display: none;
}

.reviews {
    padding: 75px 11.98%;
    background-color: #FCFCFC;
}

.reviews__title {
    text-align: center;
    margin-bottom: 26px;
}

.reviews__block{
    width: 61.15%;
    margin: auto;
}

.reviews__text {
    margin-bottom: 40px;
    font-size: 1.125em;
    line-height: 1.61;
}

.reviews__who {
    display: flex;
    align-items: center;
    width: 50%
}

.reviews__avatar-frame {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 20px;
}

.reviews__avatar {
    width: 100%;
}

.logo-nav_reviews {
    max-width: 70%;
    margin: 60px auto 40px;
}

.logo-nav_reviews .logo-nav__link {
    min-height: 50px;
    max-width: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.logo-nav_reviews .logo-nav__img {
    height: auto;
    max-height: 200px;
    max-width: 100%;
}


/*Feedback and contacts*/
.wrap_feedback-contacts {
    padding: 75px 11.98%;
    display: flex;
    justify-content: space-between;
    background-color: #F7F7F7;
}

.feedback {
    padding-left: 150px;
}

.feedback__title,
.contacts__title {
    font-size: 3em;
    line-height: 1.23;
}

.feedback__title {
    margin-bottom: 16px;
}

.contacts__title{
    margin-bottom: 40px;
}

/*Checkboxes*/

.feedback__checkbox-list {
    margin: 25px 0 0;
}

.feedback__checkbox-item {
    display: inline-block;
    margin: 5px 0 10px;
}

.feedback__checkbox-label {
    height: 35px;
    display: block;
    margin-right: 8px;
    position: relative;
}

.feedback__checkbox {
    position: absolute;
    z-index: 1;
}

.feedback__checkbox_style {
    padding: 9px 16px;
    cursor: pointer;
    border: 1px solid #989898;
    border-radius: 21.5px;
    background-color: #F7F7F7;
    font-size: 0.875em;
    line-height: 17px;
    position: relative;
    z-index: 5;
    white-space: nowrap;
}

.feedback__checkbox_style:hover {
    background-color: #D2D2D2;
    border-color: #D2D2D2;
    transition-duration: 350ms;
}

.feedback__checkbox:checked + .feedback__checkbox_style {
    background-color: #FF4343;
    border-color: #FF4343;
    color: #fff;
}

.subtitle,
.feedback__email-link {
    font-size: 1.125em;
    line-height: 1.22;
    color: #989898;
}

.feedback__subtitle {
    margin-bottom: 48px;
}

.feedback__email-link {
    font-size: 1em;
}

.feedback__input {
    display: block;
    width: 710px;
    box-sizing: border-box;
    height: 45px;
    outline: none;
    border: none;
    background-color: #F7F7F7;
    color: #989898;
    font-family: 'Gilroy', 'Arial', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 1.125em;
    line-height: 1.22;
    border-bottom: 1px solid #989898;
    margin-bottom: 20px;
}

.feedback__input::placeholder {
    color: #989898;
}

.feedback__text {
    padding-top: 15px;
    padding-right: 40px;
}

/*Input-file*/
.wrap_textarea-input {
    position: relative;
}

.feedback__file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.feedback__file-label {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 1px;
    background-color: #F7F7F7;
    padding: 10px 10px 0;
}

.feedback__file-label:hover {
    cursor: pointer;
}

.feedback__file-img {
    padding-bottom: 12px;
}

.feedback__file-label:hover .feedback__file-img{
    cursor: pointer;
    transform: scale(0.9);
}

.feedback__button {
    font-family: 'Gilroy', 'Arial', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 1.125em;
    line-height: 1.22;
    color: #FF4343;
    background-color: #FAF9F9;
    border: 1px solid #FF4343;
    box-sizing: border-box;
    border-radius: 10px;
    width: 230px;
    height: 46px;
    float: right;
    margin-top: 52px;
    transition-duration: 550ms;
}

.feedback__button:hover {
    color: #FAF9F9;
    background-color: #FF4343;
    transition-duration: 550ms;
}

.wrap_contacts-block {
    margin-bottom: 40px;
}

.contacts__subtitle {
    margin-bottom: 20px;
    display: block;
}

.contacts .contact-details__mail,
.contacts .contact-details__phone {
    margin-right: 0;
    display: block;
}

.contacts .contact-details__mail {
    margin-bottom: 20px;
}

/*Footer*/
.footer {
    padding: 75px 4.17%;
    text-align: left;
}

.logo_footer {
    position: relative;
    z-index: 5;
}

.main-menu__name {
    font-size: 0.875em;
    color: #989898;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.main-menu_footer {
    margin-left: 66px;
}

.main-menu_footer .main-menu__link {
    padding: 0;
    margin-right: 32px;
}

.main-menu_footer .main-menu__link:hover {
    border-top: 2px solid #fff;
}

.copyright {
    display: none;
}

/*Video*/
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
}

.video-box {
    position: relative;
    width: 70%;
    z-index: 2001;
}

.btn-cross {
    width: 35px;
    height: 35px;
    background-color: transparent;
    background-image: url("../img/icon-cross.svg");
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    outline: none;
    position: absolute;
    z-index: 2002;
    right: -35px;
    top: -35px;
    transition-duration: 350ms;
}

.btn-cross:hover {
    transform: scale(0.9);
    transition-duration: 350ms;
}

.video {
    width: 100%;
}

/*Breadcrumbs*/
.breadcrumb {
    margin-bottom: 40px;
}

.breadcrumb_top {
    padding-top: calc(107px + 54px);
    padding-left: 11.98%;
}

.breadcrumb__item {
    display: inline-block;
}

.breadcrumb__link {
    font-family: 'Gilroy', 'Arial Black', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition-duration: 850ms;
    white-space: nowrap;
}

.breadcrumb__link_active {
    color: #FF4343;
}

.breadcrumb__link:before {
    content: '\2022';
    margin: 0 5px 0 1px;
}

.breadcrumb__item:first-child .breadcrumb__link:before {
    content: none;
}

/*Choose ist*/
.button_clear {
    background: none;
    border: none;
    outline: none;
    font-family: 'Gilroy', 'Calibri', sans-serif;
    font-style: normal;
    font-weight: 500;
    padding: 0;
}

.choose__item {
    display: inline-block;
    margin-right: 20px;
    margin-top: 15px;
}

.choose__item:last-child {
    margin-right: 0;
}

.choose__btn {
    font-family: 'Gilroy', 'Arial Black', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 	1.250em;
    letter-spacing: 0.04em;
    line-height: 1.25;
    color: #989898;
    padding: 9px 36px;
    border: 2px solid #989898;
    border-radius: 21.5px;
    transition-duration: 550ms;
    white-space: nowrap;
}

.choose__btn.choose__btn_selected {
    color: #FF4343;
    border: 2px solid #FF4343;
    transition-duration: 550ms;
}

.choose__btn:hover {
    color: #FF4343;
    border-color: #FF4343;
    transition-duration: 550ms;
}

/*Scroll to top*/
#top-button {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url("../img/scroll_top.png");
    background-repeat: no-repeat;
    background-position: center;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 62px;
    right: 80px;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#fl_nm {
    text-align: right;
    font-size: 1.125em;
    line-height: 1.22;
    color: #989898;
}

#top-button:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 1);
}

#top-button.show {
    opacity: 1;
    visibility: visible;
}

li.we-make__menu-item {
    padding-bottom: 15px;
}


/*404 Error*/
.error {
    width: 100%;
    height: 100vh;
    background-color: #2A5F95;
    background-image: url("/files/theme/img/bg_404.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.error__title {
    font-style: normal;
    font-weight: bold;
    font-size: 16.047em;
    line-height: 1.25;
    color: #FFFFFF;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25), 0px 2px 4px rgba(0, 0, 0, 0.08);
    margin-top: -100px;
}

.error__subtitle {
    font-style: normal;
    font-weight: 500;
    font-size: 2.250em;
    line-height: 1.25;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 0px 4px 16px rgba(0, 0, 0, 0.08), 0px 4px 8px rgba(0, 0, 0, 0.25), 0px 2px 4px rgba(0, 0, 0, 0.08);
    margin-bottom: 52px;
}


.error__link {
    font-style: normal;
    font-weight: 500;
    font-size: 1.125em;
    line-height: 1.2;
    text-align: center;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 16px;
    background-color: #F552A3;
    -webkit-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25), 0px 2px 4px rgba(0, 0, 0, 0.08);
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25), 0px 2px 4px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}


/*Modal window*/
.feedback {
    position: relative;
    z-index: 1;
}

.modal{
    position: absolute;
    width: 101%;
    height: 101%;
    top: 0;
    left: -3px;
    z-index: 5;
    background-color: #F6F6F6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #989898;
    box-sizing: border-box;
    border-radius: 25px;
    text-align: center;
    transform: translate(0, 0);
    transition-duration: 700ms;
}

.modal_visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
    transform: translate(0, -100vw);
    transition-duration: 700ms;
}


.modal__logo {
    margin-bottom: 37.5px;
}

.modal__title {
    margin-bottom: 20px;
    font-style: normal;
    font-weight: 300;
    font-size: 3em;
    line-height: 1.25;
}

.modal__text {
    margin-bottom: 60px;
    font-style: normal;
    font-weight: 300;
    font-size: 2.250em;
    line-height: 1.19;
}

.modal__return-btn {
    font-style: normal;
    font-weight: 300;
    font-size: 1.125em;
    line-height: 1.25;
    color: #989898;
    padding-bottom: 12px;
    border-bottom: 1px solid #989898;
    transition-duration: 400ms;
}

.modal__return-btn:hover {
    border-bottom: 1px solid #FF4343;
    transition-duration: 400ms;
}

@media screen and (max-width: 768px) {
    .modal {
        height: 94%;
    }
}

@media screen and (max-width: 480px) {
    .modal {
        left: -6px;
        width: 102%;
        padding: 10px;
    }
}