html,body{
    height:100%;
    width:100%;
    margin:0;
    padding: 0;
    background-color:#fff;
    background-size:cover;
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    line-height: 1.5em;
}


#top{
    padding: 20px 0 0 0;
    background-color: #fff;
}
#top_menu{
    width: 90%;
    margin: 0 auto;
    text-align: right;
    font-size: 16px;
    position: relative;
}
#top_menu img{
    width: 400px;
    position: absolute;
    top: 0;
    left:  0;
}

a.btn_link{
    margin: 0 10px;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    font-size: inherit;
    border: 0;
    line-height: 1;
    background: none;
    padding: 7px 20px;
    --clr: #999;
    --outline: 1px solid var(--clr);
    color: var(--clr);
    outline: var(--outline);
    border: var(--outline);
    outline-offset: -1px;
    transition: outline-offset 200ms ease;
    color: #555;
}

a.btn_link:hover,
a.btn_link:focus {
    outline: var(--outline);
    outline-offset: 2px;
}

a.btn_link.active {
    outline: var(--outline);
    outline-offset: 2px;
    background-color: #f7f7f7;
}



#slogan{
    margin: 40px 0;
    font-size: 32px;
    text-align: center;
    line-height: 36px;
    letter-spacing: 3px;
    word-spacing: 10px;
    color: #777;
}





#layerslider{
        height: 680px;
        display: block;
    }

#mobile_layerslider{
    display: none;
}


#about{
    width: 70%;
    padding: 30px 0;
    margin: 100px auto;
    display: flex;
    align-items: stretch;
    flex-direction: row;
}
#about_img{
    width: 40%;
}
#about_img img{
    width: 100%;
    flex-grow: 1;
}
#about_text{
    width: 60%;
    flex-grow: 1;
    padding-left: 70px;
}



#index_projects {
    text-align: center;
}
h3{
    font-weight: normal;
    text-align: center;
}
#index_projects .project {
    display: inline-block;
    width: 20%;
    margin: 10px;
    position: relative;
}
#all_projects{
    text-align: center;
    margin: 30px 0;
}



#projects{
    text-align: center;
    line-height: 1em;
}

#projects .project {
    display: inline-block;
    width: 30%;
    margin: 10px;
    position: relative;
}
.project img{
    width: 100%;
}
.project a{
    color: #000;
}
.project .project_title{
    opacity: 0;
    transition:1s;
    position: absolute;
    text-align: center;
    bottom: 0;
    left: 0;
    width: 100%;
    background: url('/images/background_white_75.png');
    padding: 20px 0;
}
.project:hover .project_title{
    opacity: 1;
    transition:1s;
}



#submenu{
    text-align: center;
    padding: 40px 0;
}




#view_project{
    width: 80%;
    margin: 0 auto;
    text-align: center;
}
#view_project p{
    width: 100%;
    margin: 0 0 30px 0;
    text-align: left;
}
#view_project img{
    width: 100%;
    margin: 10px 0;
    border: 1px solid #eee;
}
#view_project h3{
    font-weight: bold;
    margin-bottom: 10px;
}
#view_project h4{
    font-weight: normal;
    margin-top: 10px;
}
#view_project .two{
    display: flex;
    justify-content: space-between;
}
#view_project .two img{
    width: 49%;
}

#view_project video{
    height: 900px;
}


#view_project .video{
    margin: 30px auto;

    display: flex;
    flex-direction: row;
    justify-content: space-around;
}


.touchcarousel{
    height: 480px;
}
.touchcarousel a{
    position: relative;
}
.touchcarousel-item a .caption{
    opacity: 0;
    transition:1s;
    position: absolute;
    text-align: center;
    bottom: 0;
    left: 0;
    width: 100%;
    background: url('/images/background_white_80.png');
    padding: 20px 0;
    color: #000;
}
.touchcarousel-item a:hover .caption{
    opacity: 1;
    transition:1s;
}

.touchcarousel-item {
    width: 510px;
}
.touchcarousel-item img{
    width: 480px;
    height: 480px;
}







#another_projects{
    text-align: center;
    font-size: 24px;
    margin: 150px 0 70px 0;
    color: #333;
    background: url('/images/line.svg') 0 12px repeat-x;
}
#another_projects span{
    background-color: #fff;
    padding: 0 10px;
}














#uslugi{
    width: 90%;
    margin: 100px auto;
    text-align: center;
}
#uslugi h5{
    margin: 100px 0 80px 0;
    color: #555;
    font-size: 36px;
    font-weight: bold;
}

#uslugi .usluga {
    display: inline-block;
    height: 450px;
    width: 25%;
    margin: 20px;
    padding: 20px;
    position: relative;
    background-color: #eee;
    vertical-align: top;
    text-align: left;
}

#uslugi .usluga h4{
    margin: 0;
    padding: 0px;
    color: #555;
    font-size: 22px;
}

#uslugi .price{
    position: absolute;
    bottom: 120px;
    left: 20px;
    font-weight: bold;
    font-size: 24px;
    color: #555;
}
#uslugi a.options{
    position: absolute;
    bottom: 80px;
    left: 20px;
    color: #555;
    font-size: 16px;
}
#uslugi a.primer{
    position: absolute;
    bottom: 40px;
    left: 20px;
    color: #777;
    font-size: 16px;
    font-weight: bold;
}
.goverlay {
    background-color: rgba(0, 0, 0, 0.6); /* Adjust opacity or color here */
}


.gslide-inline .ginlined-content {
    padding: 50px;
}

.inline h4{
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #555;
}









#contacts{
    padding: 150px 0;
    text-align: center;
}
#contacts .line{
    padding: 70px 0;
    line-height: 2em;
}
#contacts .line img{
    width: 25px;
    margin: 0 0 0 20px;
}
#contacts a{
    color:  #333;
}
#contacts .line a{
    text-decoration: none;
    font-size: 24px;
}




#bottom{
    border-top: 1px solid #ccc;
    margin-top: 100px;
    padding: 30px 0 30px 0;
    text-align: center;
    background-color: #eee;
}
#bottom .line{
    padding: 30px 0;
    line-height: 2em;
}
#bottom .line img{
    width: 25px;
    margin: 0 0 0 20px;
}
#bottom a{
    color:  #333;
}
#bottom .line a{
    text-decoration: none;
    font-size: 24px;
}




.btn-up {
  position: fixed;              /* фиксированное позиционирование */
  background-color: #777;       /* цвет фона */
  right: 20px;                  /* расстояние от правого края окна браузера */
  bottom: 0;                    /* расстояние от нижнего края окна браузера */
  border-top-left-radius: 8px;  /* скругление верхнего левого угла */
  border-top-right-radius: 8px; /* скругление верхнего правого угла */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;                  /* ширина элемента */
  height: 50px;                 /* высота элемента */
}

.btn-up::before {
  content: "";
  width: 40px;
  height: 40px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}

.btn-up_hide {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background-color: #555; /* цвет заднего фона при наведении */
  }
}






@media (max-width: 960px) {


    #top{
        padding-top: 10px;
    }

    #top_menu{
    width: 100%;
    text-align: center;
    margin:0 auto 0px auto;
    padding: 0;
    }
    #top_menu img{
        display: block;
        width: 350px;
        margin: 0px auto 20px auto;
        position: relative;
    }
    a.btn_link{
        margin: 0 5px;
        padding: 7px 7px;
        color: #000;
    }

    a#main{
        display: none;
    }

    #submenu{
        padding: 20px 0;
    }
    #submenu a{
        width: 300px;
        margin: 0 0 10px 0;
    }



    #slogan{
        line-height: 1em;
        font-size: 20px;
        line-height: 1em;
        letter-spacing: 0px;
        word-spacing: 0px;
    }
    #slogan img {
        width: 350px;
    }







    #about{
        width: 90%;
        padding: 20px 0;
        margin: 20px auto;
        flex-direction: column;
        justify-content: center;
    }
    #about_img{
        width: 60%;
        margin: 0 auto;
    }
    #about_img img{
        width: 100%;
        flex-grow: 1;
    }
    #about_text{
        width: 100%;
        flex-grow: 1;
        padding-left: 0px;
    }

    #index_projects .project {
        width: 40%;
    }


    #projects .project {
        width: 40%;
    }

    #view_project{
        width: 95%;
    }
    #view_project .two{
        flex-direction: column;
    }
    #view_project .two img{
        width: 100%;
    }

    #view_project video{
        width: 350px;
    }
    #view_project .video{
        flex-direction: column;
    }






.btn-up {
  right: 5px;                  /* расстояние от правого края окна браузера */
}


.touchcarousel-item {
    width: 320px;
}
.touchcarousel-item img{
    width: 300px;
    height: 300px;
}





#uslugi{
    width: 100%;
    margin: 50px auto;
}
#uslugi h5{
    margin: 0px 0 30px 0;
    font-size: 36px;
}

#uslugi .usluga {
    width: 80%;
}



    #contacts{
        padding: 50px 0;
        text-align: center;
    }




}





@media (max-width: 450px) {

    #layerslider{
        display: none;
    }

    #mobile_layerslider{
        display: block;
        height: 450px;
    }





    #index_projects .project {
        width: 90%;
    }


    #projects .project {
        width: 90%;
    }

}



