input, textarea, button {
    box-sizing: border-box;
    font-family: inherit;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    font-size: 15px;
    line-height: 24px;
    font-family: sans-serif;
    color: #484848;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    text-transform: uppercase;
    color: #484848;
    font-family: sans-serif;
}

h1 {
    font-size: 70px;
    margin: 0;
    line-height: 72px;
}

h2 {
    font-size: 30px;
    margin: 0 0 20px;
}

h3 {
    font-size: 20px;
    margin: 0 0 10px;
}

img {
    width: 100%;
}

a,
button {
    outline: 0 !important;
}

a:hover,
a:focus {
    text-decoration: none
}


/* All Transition */

.list-inline.info a,
.list-inline.social_icon a,
nav.navbar.bootsnav ul.nav>li>a,
.attr-nav>ul>li>a,
.btn.know_btn,
#filters>button,
.portfolio_hover_area,
.portfolio_hover_area .fa,
.testimonial_content,
.testimonial_content p:first-child::before,
#contact_form .form-control,
#contact_form .btn.submit_btn,
footer a,
.footer_social_icon .fa,
.post .date,
#scrollUp {
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
}


/* Header */


/*Preloader css*/

#loading {
    background-color: #ffcb0f;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1;
    margin-top: 0px;
    top: 0px;
    z-index: 90;
}

#loading-center {
    width: 100%;
    height: 100%;
    position: relative;
}

section#galleryproject h2 {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    text-align: center;
}

section#service h2 {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    text-align: center;
}

#loading-center-absolute {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 50px;
    width: 150px;
    margin-top: -25px;
    margin-left: -75px;
}

.object {
    width: 8px;
    height: 50px;
    margin-right: 5px;
    background-color: #FFF;
    -webkit-animation: animate 1s infinite;
    animation: animate 1s infinite;
    float: left;
}

.object:last-child {
    margin-right: 0px;
}

.object:nth-child(10) {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}

.object:nth-child(9) {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.object:nth-child(8) {
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

.object:nth-child(7) {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.object:nth-child(6) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.object:nth-child(5) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.object:nth-child(4) {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.object:nth-child(3) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.object:nth-child(2) {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

@-webkit-keyframes animate {
    50% {
        -ms-transform: translateX(-25px) scaleY(0.5);
        -webkit-transform: translateX(-25px) scaleY(0.5);
        transform: translateX(-25px) scaleY(0.5);
    }
}

@keyframes animate {
    50% {
        -ms-transform: translateX(-25px) scaleY(0.5);
        -webkit-transform: translateX(-25px) scaleY(0.5);
        transform: translateX(-25px) scaleY(0.5);
    }
}


/*End off Preloader*/


/* Top Nav */

.top_nav {
    background: #ffcb0f none repeat scroll 0 0;
    overflow: hidden;
    padding: 10px 0;
}

.noteecho {
    font-family: fantasy;
    color: #000000;
    font-size: 25px;
    margin-top: 40px;
    text-align: center;
}

.imageprepap1 {
    width: 30%;
    background: #dddddd;
    border-radius: 30px;
    padding: 20px;
}

.imageprepap2 {
    margin-right: 30px;
    margin-left: 30px;
    width: 30%;
    background: #dddddd;
    border-radius: 30px;
    padding: 20px;
}

.imageprepap3 {
    width: 30%;
    background: #dddddd;
    border-radius: 30px;
    padding: 20px;
}

.prg2 {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.list-inline.info {
    float: left;
    margin: 0;
}

.fa {
    color: black;
    margin-right: 5px;
}

footer .fa {
    color: white;
}

.list-inline.info>li {
    padding: 0 20px 0 0;
    color: black;
}

.list-inline.info a,
.list-inline.social_icon a {
    color: #222;
    font-family: sans-serif;
}

.list-inline.info a:hover,
.list-inline.social_icon a:hover {
    color: #555;
}

.list-inline.info a .fa,
.list-inline.social_icon a .fa {
    font-size: 20px;
    vertical-align: text-top;
}

.list-inline.social_icon {
    float: right;
    margin: 0;
}


/* Main Nav */

nav.navbar.bootsnav {
    background: #000000 none repeat scroll 0 0;
    border: 0 none;
}

nav.navbar.bootsnav ul.nav>li>a {
    color: #fff;
}

nav.navbar.bootsnav ul.nav>li>a:hover,
nav.navbar.bootsnav ul.nav>li>a:focus {
    color: #aaa;
}

.navbar-brand {
    height: auto;
    padding: 20px 15px;
}

#navbar-menu {
    margin: 6px 0;
}

.nav.navbar-nav.menu {
    float: right;
}

.attr-nav {
    margin: 5px -10px 0 0;
}

.attr-nav>ul>li>a {
    color: #ffcb0f;
    font-size: 20px;
}

.attr-nav>ul>li>a:hover,
.attr-nav>ul>li>a:focus {
    color: #d7a300;
}


/* Carousel */

.home .carousel {
    position: relative;
    width: 100%;
    height: 500px;
    display: inline-block;
}

.home .carousel .item img {
    width: 100%;
    height: 500px;
}


/*.carousel-inner > .item > a > img,
.carousel-inner > .item > img {
    height: 700px;
}*/

.carousel .overlay {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0;
}

.carousel-caption {
    left: 7%;
    right: 7%;
    top: 70px;
}

.centerdesc {
    text-align: center;
}

p.counter {
    text-align: center;
}

.carousel-caption h1 {
    color: #fff;
    margin-bottom: 100px;
}

.carousel-caption h1.second_heading {
    color: #ffcb0f;
    margin-bottom: 35px;
}

.carousel-caption>h3 {
    color: #fff;
    font-family: "futura_ltbook", sans-serif;
    font-size: 40px;
    font-weight: normal;
    margin-bottom: 30px;
    text-transform: inherit;
}

.carousel-caption>p {
    font-size: 23px;
    line-height: 28px;
}

.btn.know_btn {
    width: min-content;
    background: #000000 none repeat scroll 0 0;
    border-radius: 10px;
    color: #fff;
    font-family: "futura_ltbold", sans-serif;
    font-size: 16px;
    padding: 10px 20px;
    text-transform: uppercase;
    border-top: 2px solid #03A9F4;
    border-bottom: 2px solid #2196F3;
}

.carousel-caption .btn.know_btn {
    margin-top: 30px;
}

.carousel-caption .btn.know_btn:last-child {
    margin-left: 20px;
}

.carousel-control {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    margin-top: -25px;
    top: 50%;
}


/* About */

.about_content>h2 {
    font-size: 40px;
    margin: 90px 0 15px;
    color: #ffcb0f;
}

.about_content>h3 {
    color: white;
    font-size: 29px;
    margin: 2px 0 30px;
    text-transform: inherit;
}

.about_content>p {
    color: white;
    line-height: 18px;
    margin-bottom: 18px;
}

.about_content .btn.know_btn {
    margin: 18px 0 60px;
}

.about_bg {}


/*Head Title*/

.head_title p {
    line-height: 2.3rem;
}


/* Why us */

#why_us {
    background: #f2f7fa none repeat scroll 0 0;
    padding-bottom: 50px;
    line-height: 18px;
}

#why_us h2 {
    margin: 70px 0 20px;
}

.why_us_item {
    padding-top: 55px;
}

#why_us .fa {
    border-radius: 100%;
    box-shadow: 0 0 0 10px #ffcb0f, 0 0 0 20px #fadb64, 0 0 0 30px #f7e59c;
    padding: 38px;
    font-size: 45px;
}

.why_us_item>h4 {
    font-size: 14px;
    margin: 60px 0 20px;
}


/* Общие стили */
.our-service {
    padding: 60px 20px;
    background: #f9f9f9 url('blueprint-bg.png') no-repeat center;
    background-size: cover;
    text-align: center;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 18px;
    color: #333;
    margin-bottom: 40px;
}

/* Коллаж */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.portfolio-collage {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.img-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.item-1 { width: 200px; transform: rotate(-5deg); }
.item-2 { width: 220px; z-index: 2; }
.item-3 { width: 200px; transform: rotate(5deg); }

/* Кнопки */
.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    transition: transform 0.2s;
}

.btn:hover { transform: translateY(-3px); }

.btn-tiktok { background-color: #000; }
.btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.btn img { height: 24px; margin-right: 10px; width: unset; }


/* Services */

#services h2 {
    margin: 40px 0 50px;
    text-align: center;
}

.service_item>h3 {
    margin: 25px 0 15px;
}

.service_item .btn.know_btn {
    margin: 20px 0 100px;
}


/* Portfolio */

#portfolio {
    background: rgba(0, 0, 0, 0) url("../images/portfolio_bg.jpg") no-repeat scroll 0 0;
    background-size: cover;
    position: relative;
    padding-bottom: 102px;
    border-bottom: 2px solid #ffcb0f;
}

#portfolio::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: rgba(255, 203, 15, 0.85);
    top: 0;
    left: 0;
}

.portfolio_area {
    position: relative;
    color: #fff;
}

.portfolio_area h2 {
    color: #fff;
    margin: 65px 0 34px;
}


/* Portfolio filters */

#filters {
    margin: 52px 0 38px;
}

#filters>button {
    background: transparent none repeat scroll 0 0;
    border: 1px solid transparent;
    border-radius: 18px;
    outline: 0 none;
    padding: 6px 17px 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#filters>button:hover {
    border: 1px solid #282828;
    color: #282828;
}

#filters>button.is-checked {
    background: #282828;
}

#filters>button.is-checked:hover {
    color: #fff;
}

.grid {
    margin: 0 -6px;
}

.grid-item {
    border: 6px solid transparent;
}

.grid-item,
.grid-sizer {
    width: 25%;
}

.grid-item {
    float: left;
    height: 255px !important;
}

.grid-item {
    overflow: hidden;
}

.grid-item--width2 {
    width: 50%;
}

.grid-item--height2 {
    height: 510px !important;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item img {
    height: 100%;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -o-transition: all 0.6s;
    -ms-transition: all 0.6s;
    transition: all 0.6s;
}


/* Portfolio Hover */

.portfolio_hover_area {
    background: rgba(0, 0, 0, 0.6) none repeat scroll 0 0;
    height: 100%;
    width: 100%;
    top: 0;
    position: absolute;
    text-align: center;
    opacity: 0;
}

.grid-item:hover .portfolio_hover_area {
    opacity: 1;
}

.portfolio_hover_area .fa {
    background: #ffcb0f none repeat scroll 0 0;
    border: 2px solid transparent;
    border-radius: 5px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    color: #fff;
    font-size: 30px;
    margin-top: 215px;
    padding: 15px;
    border: 1px solid transparent;
}

.grid-item .portfolio_hover_area .fa {
    margin-top: 90px;
}

.grid-item--width2 .portfolio_hover_area .fa {
    margin-top: 217px;
}

.portfolio_hover_area>a:first-child {
    margin-right: 10px;
}

.portfolio_hover_area .fa:hover {
    border: 1px solid #ffcb0f;
    background: transparent;
    color: #ffcb0f;
}


/* Testimonial */

#testimonial {
    background: url("../images/testimonial_bg.jpg") no-repeat scroll 0 0;
    background-size: cover;
    position: relative;
}

#testimonial::before {
    background: #fff;
    opacity: 0.7;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.testimonial_area {
    position: relative;
}

#testimonial h2 {
    margin-top: 63px;
}

.testimonial_item {
    padding: 0 15px;
}

.testimonial_content {
    background: #e5e5e5 none repeat scroll 0 0;
    border-radius: 18px;
    margin: 55px 0 30px;
    padding: 40px 15px 40px 70px;
    text-align: left;
    position: relative;
    color: #393939;
}

.testimonial_content::after {
    background: inherit;
    bottom: -10px;
    content: "";
    height: 20px;
    left: 47%;
    position: absolute;
    transform: rotate(45deg);
    width: 20px;
}

.testimonial_content p {
    position: relative;
}

.testimonial_content p:first-child::before {
    color: #989898;
    content: ",,";
    font-family: "GillSansMT-UltraBold";
    font-size: 60px;
    left: -54px;
    position: absolute;
    top: -24px;
    transform: rotateY(180deg);
}

#testimonial .col-sm-4:nth-child(3n+2) .testimonial_content {
    margin: 40px 0;
    padding-bottom: 70px;
}

.testimonial_item:hover .testimonial_content {
    background: #ffcb0f none repeat scroll 0 0;
}

.testimonial_item:hover .testimonial_content::after {
    width: 22px;
    height: 22px;
    bottom: -11px;
}

.testimonial_item:hover .testimonial_content {
    color: #fff;
}

.testimonial_item:hover .testimonial_content p:first-child::before {
    color: inherit;
}

.testimonial_item>img {
    border-radius: 100%;
    height: 80px;
    width: 80px;
}

.worker_name {
    font-family: "futura_ltbold", sans-serif;
    margin: 10px 0 45px;
    text-transform: uppercase;
}


/* Основная секция */
.contact-section {
    background: #fedb5d;
    padding: 30px 0 40px;
    border-bottom: 50px solid #6f737d;
}

.contact-section__wrapper {
    display: flex;
    flex-wrap: wrap; /* Позволяет блокам переноситься на мобильных */
    align-items: center;
    gap: 30px;
}

.contact-section__info, 
.contact-section__form {
    flex: 1 1 400px; /* Гибкая ширина */
}

/* Заголовки */
.contact-section__title {
    margin: 10px 0;
    color: #73757e;
    font-size: 24px;
    line-height: 1.2;
}

.contact-section__title--large {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Стили формы */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 550px; /* Ограничиваем ширину для красоты */
}

.contact-form__row {
    display: flex;
    gap: 15px;
}

.contact-form__input, 
.contact-form__textarea {
    width: 100%;
    height: 45px;
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Важно: чтобы padding не расширял поле */
}

.contact-form__textarea {
    height: auto;
    min-height: 100px;
    resize: none;
}

/* Фокус и плейсхолдеры */
.contact-form__input:focus, 
.contact-form__textarea:focus {
    border: 2px solid #ffcb0f;
    box-shadow: 0px 0px 5px 1px #ffcb0f;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    color: #adadad;
}

/* Кнопка */
.contact-form__footer {
    display: flex;
    justify-content: flex-end; /* Кнопка справа, как на макете */
}

.contact-form__submit {
    background: #73757e;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    height: 45px;
    width: 150px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form__submit:hover {
    background: #555;
}

/* Исправляем отступы внутри секции */
.feedback-section__wrapper {
    padding: 0 15px; /* Чтобы текст не прилипал к краям экрана */
}

/* Стилизуем блок уведомления (noteecho) */
.noteecho {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    font-size: 18px;
    color: #333; /* Можно заменить на #4CAF50 для зеленого цвета */
    min-height: 24px; /* Чтобы форма не прыгала при появлении текста */
}

/* Фикс для заголовка, если он кажется слишком мелким */
.feedback-section__title--big {
    line-height: 1.1;
    margin-bottom: 15px;
}



/* Адаптивность */
@media (max-width: 992px) {
    .contact-section__wrapper {
        justify-content: center;
        text-align: center;
    }
    .contact-form {
        max-width: 100%;
    }
    .contact-form__footer {
        justify-content: center;
    }
}

/* Убеждаемся, что кнопка и форма на мобильных центрируются идеально */
@media (max-width: 768px) {
    .feedback-section {
        padding: 30px 20px;
    }
    .feedback-section__title--big {
        font-size: 28px;
    }
}


@media (max-width: 500px) {
    .contact-form__row {
        flex-direction: column; /* Поля встают друг под друга на смартфонах */
    }
}



/* Footer */

footer {
    background: url(../images/footer_bg.jpg)no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 45px;
}

footer::before {
    background: rgba(255, 255, 255, 0.33) none repeat scroll 0 0;
    content: "";
    height: 45px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

footer::after {
    background: rgba(34, 37, 51, 0.9) none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.footer_top,
.footer_bottom {
    position: relative;
    z-index: 1;
    color: #fff;
}

.footer_item {
    display: flex;
    flex-direction: column;
    margin-top: 75px;
}

.footer_item>h4 {
    color: #fff;
    font-family: "futura_ltbook", sans-serif;
    font-size: 25px;
    margin-bottom: 34px;
    text-transform: inherit;
}

.footer_item .list-unstyled>li a {
    color: #fff;
}


/* Footer About */

.footer_item .logo {
    margin-bottom: 15px;
    width: 200px;
}

.list-inline.footer_social_icon {
    margin: 32px 0 0;
}

.footer_social_icon .fa {
    background: #ffcb0f none repeat scroll 0 0;
    border-radius: 100%;
    color: #222;
    font-size: 20px;
    height: 45px;
    padding: 12px;
    text-align: center;
    width: 45px;
}

.footer_item .footer_social_icon .fa:hover,
.footer_item .footer_social_icon .fa:focus {
    background: #d7a300 none repeat scroll 0 0;
}


/* Footer Explore */

.footer_menu .fa {
    font-size: 10px;
    margin-right: 18px;
}

.list-unstyled.footer_menu>li {
    padding: 4px 0;
}


/* Footer Post */

.list-unstyled.post,
.list-unstyled.footer_contact {
    margin-top: -14px;
}

.post .date {
    border: 2px solid #fff;
    border-radius: 100%;
    display: block;
    float: left;
    font-size: 20px;
    height: 50px;
    line-height: 12px;
    margin-right: 15px;
    padding: 10px;
    text-align: center;
    width: 50px;
}

.footer_item li a:hover .date,
.footer_item li a:focus .date {
    border: 2px solid #aaa;
}

.footer_item li a:hover,
.footer_item li a:focus {
    color: #aaa;
}

.post .date small {
    font-size: 12px;
}

.list-unstyled.post>li,
.list-unstyled.footer_contact>li {
    padding: 14px 0;
    overflow: hidden;
}


/* Footer Contact */

.footer_contact .fa {
    margin-right: 20px;
    text-align: center;
    width: 25px;
    float: left;
    font-size: 25px;
}

.list-unstyled.footer_contact p {
    overflow: hidden;
}

.footer_bottom {
    background: #1a1c27 none repeat scroll 0 0;
    padding: 28px 0 18px;
    margin-top: 55px;
}

.footer_bottom a {
    color: #ffcb0f;
}

.footer_bottom a:hover,
.footer_bottom a:focus {
    color: #d7a300;
}


/* ScrollUP */

#scrollUp {
    background: url(../images/top.png)no-repeat scroll 0 0;
    bottom: 20px;
    color: #000;
    height: 40px;
    right: 20px;
    width: 40px;
    opacity: 0.7;
}

#scrollUp:hover {
    background: url(../images/top.png)no-repeat scroll 0 -40px;
}


/* Responsive Styles for various devices */

a.adressdesc {
    text-align: right;
    font-size: 12px;
    color: white;
}

.adressdiv {
    display: flex;
}

span.fa.fa-map-marker {
    margin-right: 25px;
    margin-left: 6px;
}

section#about {
    background-image: url(../images/buildings.png);
    background-size: cover;
}

.about_content {
    color: white;
}

.col-lg-7 {
    width: 100%;
}

.col-lg-7.col-md-6 {
    text-align: left;
}

.abback {
    background-color: #000000ba;
    padding: 15px;
    border-radius: 15px;
}

.contenttextblockservice {
    border: 3px solid black;
    margin-left: 200px;
    margin-right: 200px;
    margin-top: 50px;
}

p.pbackground2 {
    background-color: #c1e2fe;
    padding: 10px;
}

.indexwrapper {
    display: flex;
    padding: 50px;
}

.red {
    width: 50%;
    height: 50vh;
    background-size: cover;
    background-position: center center;
    background-image: url(../images/house.jpeg);
    margin-right: 100px;
    border: 2px solid black;
}

.blue {
    width: 50%;
    height: 50vh;
    background-size: cover;
    background-position: center center;
    background-image: url(../images/consultancy.jpg);
    border: 2px solid black;
}

p.sampletext22 {
    line-height: 40px;
    height: 50vh;
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFEB3B;
    font-family: impact;
    font-size: 35px;
}

.red:hover {
    border: 2px solid red;
    background-size: cover;
    background-position: center center;
    cursor: pointer;
}

.blue:hover {
    border: 2px solid red;
    background-size: cover;
    background-position: center center;
    cursor: pointer;
}

p.sampletext22:hover {
    color: #FFEB3B;
}

a.sampletext22 {
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFEB3B;
    font-family: impact;
    font-size: 35px;
    text-decoration: none;
    background-color: black;
    width: 100%;
    height: 15%;
    color: white;
}

.headdesc {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    font-size: 40px;
}

.red2 {
    height: 85%;
}

.blue2 {
    height: 85%;
}

.lightbox {

   box-sizing: border-box;

   padding: 20px !important;

   position:fixed;

   top:0;

   bottom:0;

   left:0;

   right:0;

   background:rgba(0,0,0,.7);

   z-index:15000 !important;

}

.lightbox img {

   position:absolute;

   margin:auto;

   top:0;

   left:0;

   right:0;

   bottom:0;

   max-width:80%;

   max-height:80%;

}

.lightbox-title {

   display:block;

   position:absolute;

   overflow:hidden;

   text-overflow: ellipsis;

   height: 10%;

   left:10%;

   right:10%;

   bottom:0px;

   font-size: 14px;

   line-height: 1.4;

   color: white;

   text-align: center;

}

.lightbox-close {

   display:block;

   position:absolute;

   overflow:hidden;

   height:50px;

   width:50px;

   right:10px;

   top:10px;

   -webkit-transform:rotate(45deg);

   -moz-transform:rotate(45deg);

   -ms-transform:rotate(45deg);

   -o-transform:rotate(45deg);

   transform:rotate(45deg);

   outline: none !important;

}

.lightbox-close:before {

   content:'';

   display:block;

   position:absolute;

   height:36px;

   width:2px;

   left:24px;

   top:7px;

   background:white;

   border-radius:1px;

}

.lightbox-close:after {

   content:'';

   display:block;

   position:absolute;

   width:36px;

   height:2px;

   top:24px;

   left:7px;

   background:white;

   border-radius:1px;

}

.lightbox-prev, .lightbox-next {

   display:block;

   position:absolute;

   overflow:hidden;

   width:30%;

   top:70px;

   bottom:70px;

   outline: none !important;

}

.lightbox-prev.lightbox-inactive, .lightbox-next.lightbox-inactive {

   opacity: 0.2;

}

.lightbox-prev {

   left: 0px;

}

.lightbox-next {

   right: 0px;

}

.lightbox-prev:before,

.lightbox-prev:after,

.lightbox-next:before,

.lightbox-next:after {

   content:'';

   display:block;

   position:absolute;

   width:32px;

   height:2px;

   top:50%;

   background:white;

   border-radius:1px;

}

.lightbox-prev:before,

.lightbox-prev:after

{

   left: 16.6%;

   margin-left: -16px;

}

.lightbox-next:before,

.lightbox-next:after

{

   right: 16.6%;

   margin-right: -16px;

}

.lightbox-prev:before,

.lightbox-next:before

{

   -webkit-transform:rotate(-45deg);

   -moz-transform:rotate(-45deg);

   -ms-transform:rotate(-45deg);

   -o-transform:rotate(-45deg);

   transform:rotate(-45deg);

}

.lightbox-prev:after,

.lightbox-next:after

{

   -webkit-transform:rotate(45deg);

   -moz-transform:rotate(45deg);

   -ms-transform:rotate(45deg);

   -o-transform:rotate(45deg);

   transform:rotate(45deg);

}

.lightbox-prev:before,

.lightbox-next:after

{

   margin-top: -11px;

}

.lightbox-prev:after,

.lightbox-next:before

{

   margin-top: 11px;

}

.link {
    width: 300px;
    /* Ширина слоя */
    height: 200px;
    /* Высота слоя */
    background: #fc0;
    /* Цвет фона */
}

.link a {
    display: block;
    /* Ссылка как блочный элемент */
    text-align: center;
    /* Выравнивание по центру */
    height: 100%;
    /* Высота на весь слой */
    color: #666;
    /* Цвет ссылки */
}

a.sampletext22:hover {
    color: #FFEB3B;
}

.col-md-22 {
    background-image: url(../images/materials.jpg);
    background-size: cover;
    background-position: center center;
    height: 300px;
}

.contenttextblockservice {
    margin-bottom: 50px;
}

p.pbackground {
    padding: 10px;
}

img.housesrc {
    width: 40%;
    margin-left: 50px;
    margin-bottom: 50px;
}

.red2 a {
    display: block;
    text-align: center;
    height: 100%;
    color: #666;
}

.blue2 a {
    display: block;
    text-align: center;
    height: 100%;
    color: #666;
}

.backhead1 {
    color: #000;
    width: 1600px;
    height: 500px;
}

.overlay1 {
    background-image: url(../images/slider_img.jpg);
    background-size: cover;
    background-position: left bottom;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0;
}

.overlay2 {
    background-image: url(../images/slider_img2.jpg);
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0;
}

.overlay3 {
    background-image: url(../images/slider_img3.jpg);
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0;
}

h1.slidedesc {
    background-color: #000000b8;
    padding: 10px;
    border-color: 2px solid red;
    border-radius: 10px;
    border: 2px solid #ffcb0f;
}

h1.mb {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    line-height: 100px;
    border-bottom: 2px solid red;
}

article.item-page {
    padding: 70px;
}

.btn.know_btn2 {
    width: auto;
    background: #000000 none repeat scroll 0 0;
    border-radius: 10px;
    color: #fff;
    font-family: "futura_ltbold", sans-serif;
    font-size: 16px;
    padding: 10px 20px;
    text-transform: uppercase;
    border-top: 2px solid #03A9F4;
    border-bottom: 2px solid #2196F3;
    margin-bottom: 20px;
}

.uk-child-width-1-3\@m {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}


.prg2 {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.imageprepap {
    margin-right: 20px;
}

img {}

img.logosmall {
    width: 100px;
    border-radius: 50px;
    border: 5px dashed #ffffff;
    margin-right: 15px;
}

div#navbar-menu {
    margin-top: 5px;
    margin-bottom: 5px;
}

.navbar-header {
    margin-top: 10px;
    margin-bottom: 5px;
}

ul.nav.navbar-nav.menu {
    margin-top: 10px;
}

ul.nav.navbar-nav.menu {
    font-weight: bold;
    font-family: sans-serif;
    text-transform: uppercase;
}

.navbar-header {
    display: flex;
    align-items: center;
}

@media (min-width: 1600px) {
    .container {
        width: 1200px;
    }
    .carousel-inner>.item>a>img,
    .carousel-inner>.item>img {
        height: 740px;
    }
    .carousel-caption {
        left: 18%;
        right: 18%;
        top: 95px;
    }
    .about_content {
        margin-right: 50px;
    }
}

@media (max-width: 1199px) {
    h1 {
        font-size: 50px;
        line-height: 55px;
    }
    h2 {
        font-size: 25px;
    }
    .carousel-inner>.item>a>img,
    .carousel-inner>.item>img {
        height: 550px;
    }
    .carousel-caption {
        left: 3%;
        right: 3%;
        top: 40px;
    }
    .about_banner>img {
        width: 334px;
        display: block;
        margin: 0 auto;
    }
    .grid-item {
        height: 220px !important;
    }
    .grid-item--height2 {
        height: 440px !important;
    }
    .grid-item .portfolio_hover_area .fa {
        margin-top: 73px;
    }
    .grid-item--width2 .portfolio_hover_area .fa {
        margin-top: 183px;
    }
    #contact_form .second_heading {
        font-size: 30px;
    }
    #contact_form .form-inline .form-control {
        width: 202px;
    }
    #contact_form .form-inline textarea.form-control {
        width: 317px;
    }
    #contact_form .btn.submit_btn {
        width: 95px;
    }
}

@media (max-width: 1024px) {
    .headdesc {
        margin-top: 50px;
        display: flex;
        justify-content: center;
        font-size: 18px;
        text-align: center;
    }
    .contenttextblockservice {
        border: 3px solid black;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 50px;
    }
    .indexwrapper {
        display: flex;
        flex-direction: column;
    }
    .red {
        width: 100%;
        height: 50vh;
        margin-bottom: 50px;
    }
    .blue {
        width: 100%;
        height: 50vh;
    }
    .red:hover {
        width: 100%;
        height: 50vh;
    }
    .blue:hover {
        width: 100%;
        height: 50vh;
    }
    p.sampletext22 {
        height: 50vh;
        text-align: center;
    }
    p.sampletext22:hover {
        color: #FFEB3B;
        width: 100%;
        height: 50vh;
    }
    a.sampletext22 {
        line-height: 40px;
        margin: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-family: impact;
        font-size: 35px;
        text-decoration: none;
        text-align: center;
    }
}

@media (max-width: 991px) {
    
i.fa.fa-bars {
    margin-right: unset;
}

i.fa.fa-times {
    margin-right: unset;
}
    
    .list-inline.info>li {
        padding: 0 12px 0 0;
    }
    .list-inline.social_icon>li {
        padding: 0 2px;
    }
    nav.navbar.bootsnav .navbar-header {
        padding: 0;
    }
    nav.navbar.bootsnav .navbar-toggle {
        margin-top: 50px;
    }
    .attr-nav {
        right: 25px;
        top: 15px;
    }
    nav.navbar.bootsnav ul.nav>li>a {
        padding: 12px 0;
    }
    .container.about_bg {
        background-position: bottom 100px center;
    }
    .grid-item {
        height: 255px !important;
        width: 50%;
    }
    .grid-item--height2 {
        height: 500px !important;
        width: 100%;
    }
    .grid-item .portfolio_hover_area .fa {
        margin-top: 90px;
    }
    .grid-item--width2 .portfolio_hover_area .fa {
        margin-top: 217px;
    }
    #contact_form {
        text-align: center;
    }
    #contact_form form.form-inline {
        margin: 0 -8px;
        padding-right: 15px;
    }
    #contact_form .form-inline .form-control {
        width: 349px;
    }
    #contact_form .form-inline textarea.form-control {
        width: 538px;
    }
    #contact_form .btn.submit_btn {
        width: 168px;
    }
    .uk-child-width-1-3\@m {
    display: flex;
    flex-direction: column;
}

.imageprepap1 {
    width: unset;
    margin-bottom: 20px;
}

.imageprepap2 {
    width: unset;
    margin-left: unset;
    margin-bottom: 20px;
}

.imageprepap3 {
    width: unset;
}


.imageprepap {
    margin-right: unset;
}

.imageprepap img {
    margin-bottom: 50px;
}

    .uk-child-width-1-3\@m {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .prg2 {
        display: flex;
        flex-direction: column;
        align-items: unset;
    }

    .imageprepap2 {
    margin-right: unset;
    /* margin-bottom: 50px; */
    padding: 20px;
}

    nav.navbar.bootsnav .navbar-brand {
        display: unset;
    }

    img.logosmall {
    margin-right: unset;
    margin-bottom: 15px;
}

}

@media (max-width: 768px) {
    /* Скрываем первую и вторую картинки */
    .item-1, .item-2 {
        display: none;
    }

    .portfolio-collage {
        flex-direction: column;
    }
    
    .item-3 {
        width: 100%; /* Делаем картинку крупнее на мобильных */
        transform: none;
    }

    .social-links {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        justify-content: center;
    }
}


@media (max-width: 767px) {
    h1 {
        font-size: 32px;
        line-height: 35px;
    }
    .list-inline.info {
        width: 60%;
    }
    .list-inline.social_icon {
        width: 40%;
        text-align: right;
    }
    nav.navbar.bootsnav .navbar-toggle {
        margin-left: 15px;
    }
    .carousel-caption {
        top: 20px;
    }
    .carousel-inner>.item>a>img,
    .carousel-inner>.item>img {
        height: 450px;
    }
    .carousel-caption>h3 {
        font-size: 26px;
        margin-bottom: 10px;
    }
    .carousel-caption>p {
        font-size: 18px;
        line-height: 22px;
    }
    .carousel-caption .btn.know_btn {
        margin-top: 35px;
    }
    .carousel-caption .btn.know_btn:last-child {
        margin-left: 30px;
    }
    .about_content>h2 {
        font-size: 26px;
        margin-top: 70px;
    }
    .about_content>h3 {
        font-size: 26px;
    }
    .service_item .btn.know_btn {
        margin-bottom: 80px;
    }
    #contact_form h2 {
        margin-top: 10px;
    }
    #contact_form .second_heading {
        margin: 8px 0 20px;
    }
    #contact_form form.form-inline {
        margin: 0;
    }
    #contact_form .form-inline .form-control,
    #contact_form .form-inline textarea.form-control {
        margin: 0;
        width: 100%;
    }
    #contact_form .btn.submit_btn {
        float: left;
        margin: 0;
        width: 145px;
    }
    .row2 {
        flex-direction: column;
    }
    
}

@media (max-width: 479px) {
    h1 {
        font-size: 30px;
        line-height: 32px;
    }
    h3 {
        font-size: 17px;
    }
    .list-inline.info {
        margin-bottom: 10px;
        text-align: center;
        width: 100%;
    }
    .list-inline.info>li {
        padding: 0 8px;
    }
    .list-inline.social_icon {
        text-align: center;
        width: 100%;
        padding: 0 8px;
    }
    .carousel-inner>.item>a>img,
    .carousel-inner>.item>img {
        height: 420px;
    }
    .carousel-caption {
        top: 5px;
    }
    .carousel-caption h1.second_heading {
        margin-bottom: 10px;
    }
    .carousel-caption>h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .carousel-caption>p {
        font-size: 16px;
        line-height: 20px;
    }
    .btn.know_btn {
        font-size: 12px;
        padding: 8px 14px;
    }
    .carousel-caption .btn.know_btn {
        margin-top: 10px;
    }
    .carousel-caption .btn.know_btn:last-child {
        margin-left: 10px;
    }
    .about_content>h3 {
        font-size: 24px;
    }
    .about_banner>img {
        width: 100%;
    }
    #filters>button {
        font-size: 14px;
    }
    .grid-item {
        width: 100%;
    }
    .grid-item--height2 {
        height: 255px !important;
    }
    .grid-item--width2 .portfolio_hover_area .fa {
        margin-top: 90px;
    }
    .list-inline.footer_social_icon>li {
        padding: 8px 3px;
    }
}

.row2 {
    display: flex;
    justify-content: center;
}

.col-md-22 {
    background-size: cover;
    background-position: center center;
    height: 300px;
}

h3.h3desc {
    background-color: black;
    height: 40px;
    color: white;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

p.desch3 {
    width: 320px;
    margin-top: 22px;
    padding: 25px;
    background-color: #1d1919b8;
    color: white;
    border-radius: 9px;
    border-right: red solid;
}

p.servicedesc {
    margin-top: 20px;
}

img.bordercolor {
    border: 3px solid #2196F3;
    border-radius: 10px;
}

p.logohead {
    color: yellow;
    font-size: 30px;
}

a.navbar-brand {
    color: white;
}

.carousel-caption {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.carousel-inner {
    height: 500px;
}

.item {
    height: 500px;
}

.item.active {
    height: 500px;
}

i.fa.fa-bars {
    width: 50;
    width: 40px;
    padding: 10px;
}

i.fa.fa-times {
    width: 40px;
    padding: 10px;
}

@media (max-width: 414px) {
    a.navbar-brand {
        width: 250px;
    }
    nav.navbar.bootsnav .navbar-toggle {
        margin-top: 50px;
    }
    
    a.uk-inline {
    display: flex;
    justify-content: center;
}

    .imageprepap img {
        margin-bottom: 20px;
        width: 90%;
        height: 90%;
    }

}

@media (max-width: 375px) {
    a.sampletext22 {
        height: 35%;
    }
    .red2 {
        height: 65%;
    }
    .blue2 {
        height: 65%;
    }
}