/*
 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
*/


.main-navigation .main-nav ul li a{
    background: inherit;
    margin-right: 5px;
}


.inside-article{
    padding: 0 !important;
}
.inside-article .entry-header,
.sidebar .widget{
    background: var(--navigation-background) !important;
    
    color: #F2F3F3;
    padding: 40px;
    text-align: center;
}


.mb0{
    margin-bottom: 0;
}

.nwm-item-center{
    display: flex;
    align-items: center !important;
}
.advantages{
    background-color: transparent;
    background-image: linear-gradient(180deg, #33396B 0%, #090D33 75%);
}
.advantages2{
    background-color: transparent;
    background-image: linear-gradient(180deg, #090D33 25%, #33396B 100%);
}
.advantages3{
        background-color: transparent;
    background-image: linear-gradient(180deg, #33396B 0%, #090D33 100%);
}

.wp-block-button__link{
    -webkit-transition: all .3s ease 0s;
    -moz-transition: all .3s ease 0s;
    -ms-transition: all .3s ease 0s;
    -o-transition: all .3s ease 0s;
    transition: all .3s ease 0s;
}
ol, ul {
    margin: 0px 0px 1.5em 1em;
}
/*==================================================
>>>       HEADER     
==================================================*/
.inside-header{
    padding: 10px 40px;
}
.main-navigation .main-nav ul li a{
    line-height: 50px;
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li[class*="current-menu-"] > a{
    background-color: var(--button-background);
    color: #fff;
    -webkit-transition: all .3s ease 0s;
       -moz-transition: all .3s ease 0s;
        -ms-transition: all .3s ease 0s;
         -o-transition: all .3s ease 0s;
            transition: all .3s ease 0s;
}
.header-widget .wp-block-buttons .wp-block-button__link{
    font-weight: 500;
    fill: #FFFFFF;
    color: #FFFFFF;
/*    background-color: rgba(2, 1, 1, 0);*/
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: var(--button-background);
    font-size: 15px;
    padding: 10px 30px;
    text-transform: uppercase;
}
/*==================================================
>>>       FOOTER     
==================================================*/
footer.site-info .inside-site-info{
    padding: 10px;
}
.wp-block-tag-cloud a{
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 5px;
    text-decoration: none;
}
.wp-block-tag-cloud a:hover{
    background-color: var(--button-background);
}

.nwm-hidden-mobile{
    max-width: 1140px;
    position: fixed;
    bottom: 10px;
    left: 0;
    margin: auto;
    right: 0;
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -ms-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    transition: all 1s ease 0s;
    transform: translateY(190px);
    z-index: 999;
}
.nwm-close{
    position: absolute;
    right: 3px;
    top: 0;
}
.nwm-close svg{
    fill: #fff;
    width: 24px;
}
.nwm-close svg path{
    fill: #fff;
}
.nwm-hidden-mobile.active{
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -ms-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    transition: all 1s ease 0s;
    transform: translateY(0);
}
.nwm-hidden-mobile .wrap{
    display: flex;
    background-color: var(--header-background);
    border-radius: 10px;
    padding: 20px;
    border: 2px groove var(--navigation-background);
    height: 110px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.nwm-hidden-mobile h2{
    margin: 0;
}
.nwm-hidden-mobile .img img{
    max-width: 270px;
}
.nwm-hidden-mobile .btn a{
    background-color:var(--button-background);
    font-size: 18px;
    font-weight: bold;
    fill: #FFFFFF;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 3px;
    display: block;
    line-height: 1;
    text-decoration: none;
    width: max-content;

}
/*==================================================
>>>       HOMEPAGE     
==================================================*/
.top-section{
    background-image: url(img/section-bg_04.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position : relative ;
}
.top-section:after{
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-color: transparent;
    background-image: linear-gradient(180deg, #000000 0%, #4b74c9 100%);
    opacity: 0.5;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    z-index: 1;
}
.top-section > div{
    position : relative ;
    z-index: 2;
}

.steps .wp-block-column{
    display: grid;
    grid-template-columns: 80px auto;
    gap: 10px;
}
.steps .wp-block-column h2{
    grid-row: 1 / 3;
    font-weight: 900;
    margin-bottom: 0;
    text-align: center;
}
.steps .wp-block-column p{
    margin-bottom: 0 !important;
    line-height: 1;
    display: flex;
    align-items: center;
}
.steps .wp-block-column p:first-child{
    line-height: 1;
}

/*==================================================
>>>       PAGE     
==================================================*/
body.home .featured-image{
    display: none;
}
.featured-image{
    max-width: 100%;
    margin: 0 !important;
    overflow: hidden;
    position : relative ;
    height: 500px;
}
.featured-image:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--header-background);
    opacity: .5;
}
.featured-image img{    
    width: 100vmax;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,0);
    pointer-events: none
}
body.featured-image-active .inside-article .entry-header{
    margin-top: -80px;
    position: relative;
}


/*-----------------------*\
    RESPONSIVE
\*-----------------------*/

/* Large desktops and laptops */
@media (min-width: 1200px) {

}

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {

}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {    
    .main-navigation .menu-toggle{
        line-height: 3;
        text-align: right;
    }

    .footer-widget-1 .wp-block-columns{
        gap: 0;
    }
    .footer-widget-1 .wp-block-column{
        flex:0 0 33.33%;
        max-width: 33.33%;
        width: 33.33%;
        padding: 20px;
    }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
	body.page-template-default:not(.home) .site-content{
		padding:0 20px;
	}
    .main-navigation .menu-toggle{
        line-height: 3;
        text-align: right;
    }
    .footer-widget-1 .wp-block-columns{
        gap: 0;
    }
    .footer-widget-1 .wp-block-column{
        flex:0 0 50%;
        max-width: 50%;
        width: 50%;
        padding: 20px;
    }

    .featured-image{
        height: 300px;
    }

    .site-main .wp-block-group__inner-container{
        padding: 20px;
    }

    h1{
        font-size: 32px;
    }
    h2{
        font-size: 28px !important;
    }
    h3{
        font-size: 24px;
    }
    h4{
        font-size: 20px;
    }
    h5{
        font-size: 18px;
    }
    p,ul{
        font-size: 15px !important;
    }

    .site-header{
        position: sticky;
        top: 0;
        z-index: 9999;
    }
    .inside-header.grid-container{
        flex-direction: row;
        justify-content: space-between;
    }
    .site-header .header-widget{
        margin: 0;
    }
    .header-widget .wp-block-buttons .wp-block-button__link{
        padding: 5px 20px;
    }

    .nwm-hidden-mobile .wrap{
        padding: 10px;
        height: 80px;
    }
    .nwm-hidden-mobile .img img{
        max-width: 150px;
    }
    .nwm-hidden-mobile h2{
        font-size: 22px !important;
    }
    .nwm-hidden-mobile .btn a{
        font-size: 14px;
    }
    .nwm-close{
        top: -15px;
    }
}
@media (max-width: 576px) {
    .nwm-hidden-mobile h2{
        font-size: 20px !important;
    }
    .nwm-hidden-mobile .btn a{
        padding: 12px 15px;
    }
    .inside-header.grid-container{
        padding: 10px;
    }
}
/* Landscape phones and smaller */
@media (max-width: 480px) {
    .featured-image{
        height: 200px;
    }
    .inside-header.grid-container{
        padding: 10px;
    }
    .site-header .header-image{
        max-width: 130px;
        height: 50px;
        object-fit: contain;
    }
    .header-widget .wp-block-buttons .wp-block-button__link{
        padding: 5px 10px;
        font-size: 10px !important;
    }
    .nwm-hidden-mobile .wrap{
        height: 70px;
    }
    .nwm-hidden-mobile .img img{
        max-width: 100px;
        position: relative;
        left: -10px;
    }
    .nwm-hidden-mobile h2{
        font-size: 18px !important;
    }
    .nwm-hidden-mobile .btn a{
        font-size: 12px;
        padding: 10px;
    }
}
@media (max-width: 320px) {
	.inside-header.grid-container{
        padding: 5px;
    }
	.header-widget .wp-block-buttons .wp-block-button__link{
        font-size: 8px !important;
    }
}