/********************************************************************
Autor themeplate: Gureiv
********************************************************************/


/********************************************************************
[Layout]

01. Common styles
02. Typography
03. Elements
04. Menu
05. Header
06. About block
07. Products
08. Quote
09. Service
10. Reviews
11. Subscribe
12. Last blog
13. Footer

********************************************************************/


/*==========================
Common styles
==========================*/

* {
    color: #ef5109;
    margin: 0;
    padding: 0;
    transition: 0.5s;
}

html {
    overflow-x: hidden;
}

[class*="col"] {
    margin-bottom: 30px;
}

body {
    background-color: #242424;
    font-family: 'Poppins', sans-serif;
}


/*==========================
Typography
==========================*/

p,
a,
textaria {
    line-height: 1.25;
}

h1 {
    font-size: 48px;
    margin: 0;
    line-height: 1.25;
    font-weight: bold;
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}

h2.shadow {
    font-size: 150px;
    opacity: 0.1;
    position: absolute;
}

header h2.shadow {
    color: white;
    left: -50px;
    bottom: -60px;
    z-index: 0;
}

.products h2.shadow {
    transform: rotate(90deg);
    bottom: 250px;
    right: -350px;
    color: black;
}

h2.block-title {
    position: relative;
    font-size: 36px;
}

h2.block-title > u {
    position: absolute;
    bottom: -1px;
    font-size: 2em;
    line-height: 1em;
    text-decoration: none;
    font-style: italic;
    opacity: 0.05;
    font-weight: bolder;
}

h3 {
    font-size: 24px;
}

p {
    font-size: 18px;
    margin: 1em 0;
    line-height: 1.25;
}

p.mini {
    font-size: 15px;
}

.dark_bg p {
    color: #e1e1e5;
}

.light_bg p {
    color: #525252;
}

header p {
    margin: 30px 0;
}

a {
    text-decoration: none;
    color: #d24a43;
    transition: .1s;
}

a:hover {
    text-decoration: none;
    color: #d24a43;
}

h4.left-mark-title {
    font-size: 12px;
}

.left-mark-title::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: #e23b33;
    margin-right: 7px;
    margin-bottom: -1px;
}

section:hover h2.block-title > u {
    opacity: 0.25;
}

.left-mark {
    border-left: 5px solid #e23b33;
    padding-left: 15px;
    font-size: 24px;
}


/*==========================
Elemets
==========================*/

main > section {
    padding-top: 75px;
    padding-bottom: 45px;
}

@media (min-width: 756px) {
    main > section {
        padding-top: 150px;
        padding-bottom: 120px;
    }
}


/* Buttons */

button.button,
a.button,
input.button {
    display: block;
    background-color: #e23b33;
    border-radius: 2px;
    width: 140px;
    height: 40px;
    line-height: 38px;
    box-shadow: 0 10px 20px rgba(210, 74, 67, 0.1);
    color: white;
    font-size: 14px;
    text-align: center;
    font-weight: normal;
    letter-spacing: 0.025ex;
    transition: 0.3s;
}

button.button:hover,
a.button:hover,
input.button:hover {
    box-shadow: 0 10px 20px rgba(210, 74, 67, 0.2);
    text-decoration: none;
}


/* /Buttons */


/* Horizontal separator (no colors) */

div.horisontal-separator {
    position: relative;
    top: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    padding: 25px;
    margin: 0 auto;
    margin-bottom: -100px;
}

div.horisontal-separator > a {
    text-align: center;
    width: 50px;
    height: 50px;
    display: block;
    line-height: 50px;
    border-radius: 25px;
    padding-top: 2px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

div.horisontal-separator > a:hover {
    padding-top: 5px;
}

div.horisontal-separator > a > svg {
    font-size: 20px;
    line-height: 50px;
}

div.horisontal-separator > a * {
    color: #e23b33;
    margin: 0 auto;
    text-align: center;
}


/* /Horizontal separator */


/*==========================
Menu
==========================*/

nav.navbar {
    padding: 0;
    margin: 0;
    height: 70px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
    align-items: baseline;
}

.nav-link {
    color: #ff0000;
}

.navbar-brand {
    line-height: 70px;
    padding: 0;
    margin: 0;
    height: 70px;
    margin-left: 50px;
    font-weight: bold;
    color: white;
}

.navbar-toggler {
    box-shadow: none;
    border-radius: 0;
    background: none;
    padding: 0;
    line-height: 70px;
    height: 70px;
}

.navbar-collapse {
    margin-bottom: 0;
    margin-top: -1px;
}

.navbar-nav {
    margin: 0 0 0 auto;
    text-align: right;
    margin-right: 50px;
}

nav.navbar .navbar-nav .nav-link {
    padding: 0;
    margin-left: 30px;
    line-height: 2.2;
}

@media (max-width: 767px) {
    .navbar-brand {
        color: #1f1f1f;
    }
    nav.navbar {
        z-index: 10;
    }
    .navbar-nav {
        margin-right: 25px;
    }
    .navbar-brand {
        margin-left: 25px;
    }
    .navbar-toggler {
        margin-right: 25px;
    }
    .navbar-toggler * {
        color: #1f1f1f;
    }
}


/*==========================
Header
==========================*/

header {
    width: 100%;
    height: 100vh;
    background-color: #1f1f1f;
    position: relative;
}

header .carousel {
    height: 100vh;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

header .discription {
    text-align: center;
    display: flex;
    align-items: center;
    text-align: left;
    overflow: hidden;
}

header .discription > .container {
    z-index: 1;
}

@media (max-width: 767px) {
    header {
        height: auto;
    }
    header .carousel {
        width: 100%;
        float: none;
        height: 100vh;
    }
    header .discription {
        width: 100%;
        height: auto;
        float: none;
    }
    header .discription h1 {
        font-size: 36px;
    }
}

@media (min-width: 768px) {
    header .discription > div {
        padding: 0 50px;
    }
}


/* Carousel */

.carousel {
    overflow: hidden;
    position: relative;
}

.carousel-inner {
    height: 100%;
}

.vertical .carousel-item-next.carousel-item-left,
.vertical .carousel-item-prev.carousel-item-right {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.vertical .carousel-item-next,
.vertical .active.carousel-item-right {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100% 0);
}

.vertical .carousel-item-prev,
.vertical .active.carousel-item-left {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
}

.carousel-item {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

.carousel-item:nth-child(1) {
    background-image: url(../images/header_img_1.jpg);
}

.carousel-item:nth-child(2) {
    background-image: url(../images/header_img_2.jpg);
}

.carousel-item:nth-child(3) {
    background-image: url(../images/header_img_3.jpg);
}

.carousel-control {
    display: block;
    height: 70px;
    width: 70px;
    background-color: #1f1f1f;
    position: absolute;
    bottom: 50px;
    left: auto;
    top: auto;
    opacity: 1;
    line-height: 70px;
}

.carousel-control svg {
    font-size: 25px;
    top: .1em;
    position: relative;
}

.carousel-control-next {
    right: 50px;
}

.carousel-control-prev {
    right: 120px;
    opacity: .7;
}

@media (max-width: 768px) {
    .carousel-control {
        height: 50px;
        width: 50px;
        bottom: 25px;
        line-height: 50px;
    }
    .carousel-control svg {
        font-size: 25px;
        top: .2em;
        position: relative;
    }
    .carousel-control-next {
        right: 25px;
    }
    .carousel-control-prev {
        right: 75px;
        opacity: .7;
    }
}


/* /Carousel */


/*==========================
About block
==========================*/

.about-block {
    background-color: #19354b;
}

.block-about-time {
    margin-bottom: 30px;
}

.block-about-time > h3 {
    color: #ef5109;
}


/* Horizontal separator color */

#about--separator--products {
    background-color: #242424;
}

#about--separator--products > a {
    background-color: #f8f8fd;
}


/* /Horizontal separator color */


/*==========================
Products
==========================*/

.products {
    background-color: #f8f8fd;
}

.products .container {
    position: relative;
}

.products section {
    position: relative;
    margin-bottom: 30px;
    /* You products*/
}

@media (min-width: 768px) {
    .products section::before {
        content: "";
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        border: 1px solid #dcdcdc;
        background-color: #f8f8fd;
    }
    .products section {
        margin-bottom: -1px;
    }
}

.products section > * {
    margin-bottom: 0;
}

.product__image {
    min-height: 300px !important;
}

.product__desctiption + .product__image {
    /* Docking for perfectionists (docking images) */
    position: relative;
    left: 1px;
}


/* Title */

.horisontal-line {
    height: 5px;
    background-color: #404040;
    margin-top: 25px;
}

.products h2.block-title {
    margin-bottom: 50px;
    text-shadow: 0 0 30px #f8f8fd;
}

.products h2.block-title,
.products h2.block-title > u {
    color: #404040;
}


/* /Title */


/* You products */

.products section .product__desctiption {
    padding: 50px 0;
}

.products section .product__desctiption h3 {
    color: #404040;
}

.products section .product__desctiption h3::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 18px;
    background-color: #e23b33;
    margin-right: 7px;
}


/* --Image of you products */

.products section .product__image {
    background-size: cover;
    background-position: center;
}

.product--bedroom .product__image {
    background-image: url(../images/products/bedroom.jpg);
}

.product--living_room .product__image {
    background-image: url(../images/products/living_room.jpg);
}

.product--bathroom .product__image {
    background-image: url(../images/products/bathroom.jpg);
}


/* --/Image of you products */


/* /You products */


/* Horizontal separator color */

#products--separator--guarantees {
    background-color: #f8f8fd;
}

#products--separator--guarantees > a {
    background-color: #242424;
}


/* /Horizontal separator color */


/*==========================
Quote
==========================*/

.guarantees {
    background-color: #242424;
}

.guarantees .bg-img {
    background-image: url(../images/portfolio-2.jpg);
    background-size: cover;
    margin-bottom: -100px;
}

.quote {
    position: relative;
    margin-top: 25px;
}

.quote p {
    padding: 40px 30px;
    background-color: #272727;
    box-sizing: border-box;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.quote svg {
    position: absolute;
    font-size: 40px;
}

.quote svg * {
    color: #ef5109;
}

.quote .opening-quotation {
    top: 0.05em;
    left: 0.05em;
}

.quote .closing-quotation {
    bottom: -0.05em;
    right: -0.05em;
}

@media (min-width: 576px) {
    .quote p {
        padding: 80px 50px;
        font-size: 20px;
    }
    .quote svg {
        position: absolute;
        font-size: 70px;
    }
    .quote .opening-quotation {
        top: -0.10em;
        left: -0.10em;
    }
    .quote .closing-quotation {
        bottom: -0.10em;
        right: -0.10em;
    }
}

@media (min-width: 768px) {
    .guarantees .bg-img {
        padding-bottom: 300px;
    }
    .guarantees .bg-img {
        background-image: url(../images/businessman.jpg);
        padding-bottom: 0;
        margin-bottom: -200px;
    }
    .quote p {
        padding: 110px 80px;
        font-size: 24px;
    }
    .quote svg {
        position: absolute;
        font-size: 150px;
    }
}


/* Horizontal separator color */

#guarantees--separator--service {
    background-color: #242424;
}

#guarantees--separator--service > a {
    background-color: #292929;
}


/* /Horizontal separator color */


/*==========================
Service
==========================*/

.service {
    background-color: #292929;
}

.service .block-title {
    margin-bottom: 50px;
}


/*  Block  */

.service section > div {
    background-color: #1f1f1f;
    padding: 30px 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service section > div:hover,
.service section > div:focus {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.icon--service {
    height: 70px;
    margin-bottom: 15px;
    color: #e23b33;
    font-size: 60px;
    line-height: 70px;
    display: block;
}


/*  /Block  */


/* Horizontal separator color */

#service--separator--reviews {
    background-color: #292929;
}

#service--separator--reviews > a {
    background-color: #1f1f1f;
}


/* /Horizontal separator color */


/*==========================
Reviews
==========================*/

.reviews {
    background-color: #1f1f1f;
    overflow: hidden;
}

.reviews .container {
    overflow: hidden;
}

.owl-stage > .owl-item {
    background-color: rgba(41, 41, 41, 1);
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: 2s;
    margin-top: 50px;
    transition: .5s;
}

@media (max-width: 768px) {
    .owl-stage > .owl-item {
        background-color: rgba(41, 41, 41, 0);
        padding: 50px 30px;
    }
}

.owl-stage > .owl-item * {
    text-align: center;
}

.reviews h4 {
    color: #e23b33;
    font-size: 16px;
    margin-top: 40px;
}

.owl-item img {
    width: 100px !important;
    height: 100px;
    border-radius: 50px;
    padding: 5px;
    background-color: rgba(52, 51, 56, 0);
    margin: 0 auto;
    margin-top: -90px;
    margin-bottom: 40px;
}

.owl-item.active img {
    background-color: rgba(52, 51, 56, 1);
}


/* Horizontal separator color */

#reviews--separator--subscribe {
    background-color: #1f1f1f;
    z-index: 10;
}

#reviews--separator--subscribe > a {
    background-image: url(../images/header-background-1.jpg);
    position: relative;
    z-index: 1;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

#reviews--separator--subscribe > a::after {
    position: absolute;
    z-index: -1;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(226, 59, 51, 0.95);
    border-radius: 25px;
}

#reviews--separator--subscribe > a * {
    color: white;
}


/* /Horizontal separator color */


/*==========================
Subscribe
==========================*/

.subscribe {
    background-image: url(../images/header-background-1.jpg);
    position: relative;
    z-index: 1;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

.subscribe::after {
    position: absolute;
    z-index: -1;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(226, 59, 51, 0.95);
}

.subscribe h2 {
    text-align: center;
    margin-bottom: 1.5em;
}

.subscribe input,
.subscribe button {
    height: 50px;
    line-height: 46px;
    border: 2px solid white;
    display: block;
    float: left;
}

.subscribe input {
    background: none;
    border-radius: 3px 0 0 3px;
    padding-bottom: 2px;
}

.subscribe button {
    background-color: white;
    font-size: 14px;
    color: #e23b33;
    border-radius: 0;
    border-radius: 0 3px 3px 0;
}

@media (max-width: 575px) {
    .subscribe button {
        font-size: 12px;
        padding: 0;
    }
}


/* Horizontal separator color */

#subscribe--separator--latest-posts {
    z-index: 10;
    background-image: url(../images/background_img.jpg);
    position: relative;
    z-index: 1;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

#subscribe--separator--latest-posts::after {
    position: absolute;
    z-index: -1;
    content: '';
    top: -0.5px;
    left: -0.5px;
    right: -0.5px;
    bottom: -0.5px;
    background-color: rgba(226, 59, 51, 0.95);
    border-radius: 50px;
}

#subscribe--separator--latest-posts > a {
    background-color: #f8f8fd;
}


/* /Horizontal separator color */


/*==========================
Last blog
==========================*/

.latest-posts h2.block-title,
.latest-posts h2.block-title > u {
    color: #404040;
}

.latest-posts h2.block-title {
    margin-bottom: 50px;
}

.latest-posts {
    background-color: #f8f8fd;
}

.post--preview > * {
    background-color: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.latest-posts a.img {
    border-radius: 5px 5px 0 0;
}

.latest-posts a.img:hover img {
    transform: scale(1.1);
}

.latest-posts .description {
    padding: 30px 20px;
    border-radius: 0 0 5px 5px;
}

.latest-posts .description h3 > a {
    color: #404040;
    margin-bottom: 0.25em;
}

.latest-posts .description h4,
.latest-posts .description h4 * {
    font-weight: 300;
    color: #525252;
    opacity: 0.8;
    font-size: 12px;
}

.latest-posts .description p {
    color: #525252;
    margin-bottom: 0.1em;
}


/*==========================
Footer
==========================*/

footer {
    background-color: #242424;
    padding: 50px 0;
}

footer * {
    text-align: center;
}

footer h2 {
    font-size: 24px;
    margin-bottom: 1em;
}

footer adress,
footer p {
    font-size: 14px;
    display: block;
    margin-bottom: 0;
}

footer p a {
    margin: 0 15px;
}
