:root{
    --background:#E9F8F9;
    --background-secondary:#E9F8F9;
    --primary:#537FE7;
    --secondary:#181823 ;
}

a{
    text-decoration: none;
}

.max-width-750{
    max-width: 750px;
}


body{
    color:var(--secondary) !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main{
    flex-grow: 1;
}

.text-primary{
    color:var(--primary) !important;
}

.text-secondary{
    color: var(--secondary) !important;
}

.bg-primary{
    background-color: var(--primary) !important;
}

.bg-secondary{
    background-color: var(--secondary) !important;
}

.bg-bg{
    background-color: var(--background) !important;
}

.bg-bg-secondary{
    background-color: var(--background-secondary) !important;
}

.text-bg{
    color: var(--background) !important;
}

/*hero*/

.home-hero{
    background: url('../images/main_bg.jpeg');
    width: 100%;
    height: calc(100vh - 88px);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/*header*/

#btn_menu {
    border: none;
}

#btn_menu:focus{
    border:none !important;
    box-shadow: none !important;
}

.navbar-nav li a {
    position: relative;
}

.menu-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
  }


.navbar-nav li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--primary);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.navbar-nav li a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

/*feedback*/

.feedback-text{
    height: 160px;
    overflow: hidden;
    min-height: calc(4.5em + 1px);
    max-height: calc(4.5em + 1px);
    -webkit-line-clamp: 4.5;
}


/*teasers*/

.teaser-item-img{
    width: 60px;
    height: 60px;
}

/*why*/

.why-img-container{
    max-width: 100%;
}

.why-img-container img{
    max-width: 100%;
    object-fit: cover;
}

/*services*/

.elepsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-img-container {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.news-img-container img {
    width: 100%;
    object-fit: cover;
    min-height: 100%;
    height: 100%;
    max-height: 100%;
}

.news-title {
    min-height: calc(1em + 1px);
    max-height: calc(1em + 1px);
    -webkit-line-clamp: 1;
    font-size: 18px;
}

.news-description {
    min-height: calc(3em + 1px);
    max-height: calc(3em + 1px);
    -webkit-line-clamp: 3;
    /* число строк, которые должны отображаться */
}

/*callback form*/

.form-img-container{
    max-width: 100%;
}

.form-img-container img{
    max-width: 100%;
    object-fit: cover;
}

.order-container{
    max-width: 400px;
}

/*footer*/

.footer-social-img{
    width: 35px;
    height: 35px;
}

/*services*/


.service-img{
    width: 100%;
    object-fit: cover;
    margin-right: 15px;
}


.service-title{
    color:var(--secondary);
}

.service-title:hover{
    color:var(--primary);
}

.service-subcategory{
    color:var(--primary);
}

.service-subcategory:hover{
    color:var(--secondary);
}

/*services item*/

.services-item-img{
    min-width: 300px;
    width:300px;
    height: 200px;
    object-fit: cover;
    margin-right: 13px;
}

.paralax-service-item{
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    justify-content: center;
}



/*media*/

@media (max-width:992px){
    .order-container{
        max-width: 100%;
    }
}