/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/*.uslugi-button {
    background: url(/wp-content/themes/generatepress-chaild/images/button-border-pink.png) 50%!important;
}*/

*{
    box-sizing: border-box;
}

.page-header{
    min-height: 300px !important;
}

.no-sidebar .entry-content .alignfull{
    margin-left: 0;
    margin-right: 0;
}

.container{
    width: 1280px;
    margin: auto;
}

.inside-header{
    padding: 10px 0;
}

.home-banner{
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url(/wp-content/themes/generatepress-child/images/main-image.jpg);
    height: 700px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.title-underline{
    background: url(/wp-content/themes/generatepress-child/images/title-underline.png) 50% 100%;
    background-repeat: no-repeat;
    padding-bottom: 10px;
}

.button-style a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    color: #fff;
    background: linear-gradient(45deg, #da1c4b 50%, #fb2056 50%);
    background-position: 100%;
    background-size: 300%;
    transition: 0.4s ease-in-out;
    text-decoration: none;
    font-weight: bold;
    margin: auto;
    padding: 10px;
    border-radius: 15px;
}

.button-style a:hover{
    background-position: 0;
}

.site-main .wp-block-group__inner-container{
    padding: 0 !important;
}

.home-services{
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    justify-content: center;
}

.home-services > div{
    background: linear-gradient(45deg, #fb2056 50%, #fff 50%);
    background-position: 100%;
    background-size: 300%;
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.home-services > div a{
    text-decoration: none;
    color: #333;
}

.wpcf7-list-item{
    margin: 0;
}


/*.home-services > div:hover{
    background-position: 0;
    transform: scale(1.1);
    cursor: pointer;
    border: 1px solid #fb2056;
    color: #fff;
}*/

.home-about-us{
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(/wp-content/themes/generatepress-child/images/home-about-us.jpg);
    height: 350px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*.home-services > div .text-move{
    position: relative;
    transition: 0.3s;
}

.home-services > div:hover .text-move{
    top: -50px;
}*/

.custom-list{
    list-style-type: none;
    margin: 0;
}

.custom-list li{
    background: url(/wp-content/themes/generatepress-child/images/list-check.png) 0 35%;
    background-repeat: no-repeat;
    background-size: 27px;
    padding-left: 40px;
    margin: 15px 0;
}

#menu-footer-menu a{
    text-decoration: none;
    color: #333;
}

#menu-footer-menu a:hover{
    color: #fb2056;
}

/* Padding */

.p-s{
    padding: 10px;
}

.p-m{
    padding: 20px;
}

.p-l{
    padding: 30px;
}

.px-s{
    padding: 0 10px;
}

.px-m{
    padding: 0 20px;
}

.px-l{
    padding: 0 30px;
}

.py-s{
    padding: 10px 0;
}

.py-m{
    padding: 20px 0;
}

.py-l{
    padding: 30px 0;
}

/* Margin */

.mx-s{
    margin: 0 10px;
}

.mx-m{
    margin: 0 20px;
}

.mx-l{
    margin: 0 30px;
}

.my-s{
    margin: 10px 0;
}

.my-m{
    margin: 20px 0;
}

.my-l{
    margin: 30px 0;
}

.mb-0{
    margin-bottom: 0;
}

.mb-s{
    margin-bottom: 10px;
}

.mb-m{
    margin-bottom: 20px;
}

.mb-l{
    margin-bottom: 30px;
}

@media only screen and (max-width: 1279px) {
    .container{
        width: 100%;
    }
}

@media only screen and (max-width: 1000px) {
    .home-services{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 580px) {
    .home-services{
        padding: 0 20px;
    }
    .custom-list{
        padding: 0 20px;
    }

    .home-services{
        grid-template-columns: repeat(1, 1fr);
    }

    .home-about-us{
        padding: 30px 20px;
        height: 550px;
    }
}