@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;0,900;1,400&display=swap');

/*   
Theme Name: BS 4 Theme
Theme URI: https://itband.pl/
Description: A Base Theme for WordPress with Bootstrap for styling.
Author: Itband.pl
Author URI: https://itband.pl/
Version: 1.0
*/

:root {
    --primary: #000000;
    --secondary: #f9b036;
    --white: #fff;
}

body {
    font-family: 'Open-Sans', sans-serif;
    overflow-x: hidden;
    color: var(--primary);
    background: #191e22;
}

body.admin-bar header#masthead {
    top: 32px;
}

a , a::before , a::after , img , button , .my-btn , header#masthead {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

body a {
    color: var(--secondary);
}

p {
    margin-top: 0;
    margin-bottom: 2rem;
    line-height: 2rem;
}

strong {
    font-weight: 700;
}

.text-xs {
    font-size: .9rem;
}

.gap-0 {
    gap: 0;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

.gap-3 {
    gap: 3rem;
}

.gap-4 {
    gap: 4rem;
}

.gap-5 {
    gap: 5rem;
}

.lh-1 {
    line-height: 1.2em;
}

.lh-1-5 {
    line-height: 1.5em;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
}

.h2, h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.wp-block-button__link, .my-btn, .wp-block-button .wp-block-button__link.is-style-outline, .wp-block-button.is-style-outline>.wp-block-button__link {
    color: var(--primary);
    background-color: transparent;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 1.75rem;
    font-size: .875rem;
    line-height: 1em;
    border-radius: 1rem;
    border: 3px solid var(--secondary);
    text-transform: uppercase;
}

a.wp-block-button__link:hover , .my-btn:hover {
    color: var(--white)!important;
    text-decoration: none!important;
    box-shadow: 0px 7px 25px -5px var(--secondary)!important;
    background-color: var(--secondary)!important;
    transform: scale(1.05)!important;
}

a.uagb-infobox-cta-link.wp-block-button__link {
    padding: 0.8rem 2.2rem 0.9rem;
    font-size: 18px;
}

header#masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.smart-top header#masthead {
    background: rgb(235 234 240 / 60%);
    backdrop-filter: blur(10px);
    box-shadow: 0px 0px 15px -12px #000;
}

header#masthead > nav#navbar {
    background: transparent!important;
}

.navbar-brand {
    background: url(img/logo.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    width: 460px;
    height: 72px;
    display: block;
}

header .navbar .navbar-brand {
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

header .navbar .navbar-nav .nav-link, .footer-menu-list .nav-link {
    color: var(--primary);
    font-size: 1rem;
    position: relative;
    background: none;
    font-weight: 700;
    padding-left: 0;
    padding-right: 0;
    padding-top: 1rem;
    padding-bottom: 0.25rem;
}

header .navbar .navbar-nav .nav-link:hover , .footer-menu-list .nav-link:hover {
    color: var(--secondary);
}

header .navbar .navbar-nav li.nav-item:not(.pll-parent-menu-item) > .nav-link::after , .footer-menu-list li.nav-item:not(.pll-parent-menu-item) > .nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    display: block;
    background: var(--secondary);

}

header .navbar .navbar-nav li.nav-item:not(li.pll-parent-menu-item) > .nav-link:hover::after , 
header .navbar .navbar-nav li.nav-item:not(li.pll-parent-menu-item) > .nav-link.active::after , 
header .navbar .navbar-nav .current-menu-item:not(li.pll-parent-menu-item) > .nav-link::after ,
header .navbar .navbar-nav .active:not(li.pll-parent-menu-item) > .nav-link::after ,
.footer-menu-list .nav-link:hover::after ,
.footer-menu-list .current-menu-item > .nav-link::after , 
.footer-menu-list .active > .nav-link::after {
    width: 100%;
}

.nav-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.before-menu-widgets {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.before-menu-widgets p {
    margin-bottom: 0;
}

.before-menu-widgets a {
    color: var(--primary);
    font-weight: 700;
}

.before-menu-widgets a.wp-block-button__link.wp-element-button {
    border-width: 2px;
}

.menu-social-media-container .menu a[href*="facebook.com"], .menu-social-media-container .menu a[href*="instagram.com"] {
    position: relative;
    font-size: 0;
    width: 28px;
    display: block;
    height: 28px;
}

.menu-social-media-container .menu a[href*="facebook.com"]::before, .menu-social-media-container .menu a[href*="instagram.com"]::before {
    content: "";
    background: url(img/cut.png);
    background-position: -59px -14px;
    background-repeat: no-repeat;
    width: 28px;
    height: 28px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.before-menu-widgets a:hover::before, .menu-social-media-container .menu a:hover::before {
    border-radius: 300px;
    transform: scale(1.05) rotate(360deg)!important;
}

.menu-social-media-container .menu a[href*="instagram.com"]::before {
    background-position: -112px -14px;
}

.before-menu-widgets a[href*="tel:"] {
    position: relative;
    display: block;
    padding-left: 3rem;
    line-height: 2em;
}

.before-menu-widgets a[href*="tel:"]:hover {
    color: var(--secondary);
}

.before-menu-widgets a[href*="tel:"]::before {
    content: "";
    background: url(img/cut.png);
    background-position: -7px -12px;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.menu-social-media-container .menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

ul#menu-main-menu {
    gap: 5.5rem;
}

.alignfull {
    margin-left: calc( -99.15vw / 2 + 100% / 2 );
    margin-right: calc( -99.15vw / 2 + 100% / 2 );
    max-width: 100vw;
    width: auto;
}

.home .uagb-infobox__content-wrap {
    max-width: 550px;
    margin-left: 0;
    margin-right: auto;
}

.uagb-ifb-title {
    font-size: 65px;
    font-weight: 700;
    line-height: 1em;
}

.uagb-ifb-title > em {
    font-size: 44px;
    font-weight: 700;
    font-style: normal;
    line-height: 1em;
}

.uagb-ifb-title > strong {
    font-weight: 900;
    font-size: 65px;
    color: var(--secondary);
}

p.uagb-ifb-desc {
    font-size: 20px;
    line-height: 35px;
}

.wp-block-uagb-info-box .uagb-ifb-desc {
    margin-top: 1.5rem;
    margin-bottom: 2rem!important;
}

.wp-block-columns.home-services:not(.is-not-stacked-on-mobile)>.wp-block-column {
    max-width: 321px;
}

.site-content {
    min-height: 62.15vh;
}

header.my-header {
    min-height: 338px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.header-bg {
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.h1-wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 15px;
}

.h1-wrapper h1 {
    font-weight: 700;
    font-size: 51px;
    text-transform: uppercase;
}

a.back-btn {
    position: relative;
    padding-left: 3.75rem;
    color: #000;
    font-weight: 700;
}

a.back-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 20px;
    display: block;
    background: url(img/cut.png);
    background-repeat: no-repeat;
    background-position: -10px -60px;
}

a.back-btn:hover::before {
    background-position: -15px -60px;
}

a.back-btn:hover {
    text-decoration: none;
    color: var(--secondary);
}

.page-content {
    display: block;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.mw-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-content.container p {
    line-height: 1.65em;
    margin-bottom: 1.5rem;
}

.wp-block-image.bg-yellow figure {
    background: var(--secondary);
    padding: 30px;
    padding-bottom: 5rem;
    position: relative;
    border-radius: 1.5rem;
}

.page-content h2 {
    font-weight: 700;
    font-size: 2.25rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.wp-block-image.bg-yellow figure > figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    font-size: 24px;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1em;
    font-weight: 700;
    color: #fff;
}

.box-left > figure {
    margin-left: 0!important;
}

.box-right > figure {
    margin-right: 0!important;
}

body:not(.home) .wp-block-group.alignfull:first-of-type {
    padding-bottom: 1rem;
}

.page-id-9 .page-content.container {
    padding-top: 0;
    padding-bottom: 0;
}

body:not(.home) .wp-block-group.alignfull {
    padding-bottom: 2rem;
}

.wp-block-group.alignfull .wp-block-columns.container {
    margin-bottom: 0; 
}

.page-content ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 2rem;
}

.page-content ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.page-content ul li::before {
    content: "";
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 300px;
    top: 8px;
    left: 0;
}

button.go-top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 0;
    box-shadow: 0px 9px 19px -7px #000;
}

footer {
    background: #191e22;
    color: var(--white);
}

footer a , footer h1 , footer h2 , footer h3 , footer h4 , footer h5 , footer h6 {
    color: var(--white);
}

.grecaptcha-badge {
    bottom: 80px!important;
}

span.icon-bar {
    width: 30px;
    height: 3px;
    display: block;
    background: var(--secondary);
    margin: 7px 0;
    border-radius: 15px;
}

.footer-menu-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer-menu-list a.nav-link {
    color: var(--white);
}

.footer-menu-list a.nav-link:hover {
    color: var(--secondary);
    background: transparent;
}

.footer-menu-container {
    border-bottom: 1px solid #272725;
    margin-bottom: 2rem;
}

.footer-widgets-2 {
    display: flex;
    gap: 5rem;
    align-items: center;
    justify-content: flex-end;
}

.footer-widgets-2 p {
    margin-bottom: 0;
}

.footer-widgets-2 a[href*="tel:"] {
    position: relative;
    display: block;
    padding-left: 3rem;
    line-height: 1em;
    font-size: 20px;
    min-width: 200px;
    text-decoration: none!important;
}

.footer-widgets-2 a[href*="tel:"]::first-line {
    font-size: 16px;
    color: var(--white)!important;
}

.footer-widgets-2 a[href*="tel:"]:hover {
    color: var(--secondary);
}

.footer-widgets-2 a[href*="tel:"]::before {
    content: "";
    background: url(img/cut.png);
    background-position: -7px -12px;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    display: block;
    position: absolute;
    top: 7px;
    left: 0;
}

.footer-menu-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end!important;
    gap: 5rem;
}

.footer-menu-list a.nav-link {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 2rem;
    padding-top: 0;
}

.credits-content {
    flex-wrap: wrap;
}

.credits-content hr {
    display: block;
    width: 100%;
    overflow: hidden;
    flex: 0 0 100%;
    margin-bottom: 0;
}

.iko.iko-down {
    width: 40px;
    height: 90px;
    background-position: -75px -75px;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-name: bounce;
}
.iko {
    background: url(img/cut.png) 0 0 no-repeat;
    display: inline-block;
    border: none;
}

.iko > em {
    display: none;
}

.two-cols {
    column-count: 2;
    column-gap: 5rem 
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
       max-width: 1200px;
    }

    .home-services {
        gap: 6.5em;
    }
}

@media (max-width: 991px) { 
    header#masthead {
        padding: 1rem;
    }

    header .navbar .navbar-brand {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        background-size: contain;
        width: 100%;
        max-width: 220px;
        height: 51px;
        display: block;
    }

    .before-menu-widgets {
        display: none;
    }

    header .navbar .navbar-brand {
        color: var(--primary);
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .uagb-ifb-title {
        font-size: 36px;
    }

    .uagb-ifb-title > strong {
        font-size: 36px;
    }

    .uagb-ifb-title em {
        font-size: 24px;
    }

    .uagb-slider-container .swiper-wrapper , .wp-block-uagb-container {
        min-height: 85vh!important;
    }

    .footer-menu-list {
        justify-content: flex-start!important;
        gap: 1rem;
    }

    .footer-widgets-2 {
        gap: 2rem;
        justify-content: flex-start;
    }

    .my-top-navbar.navbar-collapse {
        width: 100%;
        background: rgb(235 234 240 / 95%);
        padding: 1rem;
        border-radius: 0.5rem;
        text-align: center;
        backdrop-filter: blur(10px);
    }

    ul#menu-main-menu {
        gap: 0.5rem;
    }

    .wp-block-column:not(.order-first-mobile) {
        -ms-flex-order: -1;
        order: -1;
    }

    .wp-block-column.order-first-mobile h2 {
        text-align: center;
    }

    .page-id-9 .wp-block-column:not(.order-first-mobile) figure {
        margin-top: 3rem;
        margin-bottom: -2rem;
    }
}

@keyframes my-header-bg {
    0% {
        filter: saturate(1) contrast(1);
        transform: scale(1.00);
        -webkit-transform: scale(1.00);
    }
    100% {
        filter: saturate(0.5) contrast(1.25);
        transform: scale(1.01);
        -webkit-transform: scale(1.01);
    }
}

@media (min-width: 992px) {
.animation-element.in-view .from-left {
    animation: bounceInLeft 3s;
    -webkit-animation: bounceInLeft 3s;
}

.animation-element.in-view .from-right {
    animation: bounceInRight 3s;
    -webkit-animation: bounceInRight 3s;
}

.animation-element.in-view .from-top {
    animation: bounceInBottom 3s;
    -webkit-animation: bounceInBottom 3s;
}

.animation-element.in-view .from-bottom {
    animation: bounceInTop 3s;
    -webkit-animation: bounceInTop 3s;
}

}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounceInLeft {
    0% {
        opacity: 0;
        transform: translateX(-2000px);
    }
    60% {
        opacity: 1;
        transform: translateX(30px);
    }
    80% {
        transform: translateX(-10px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes bounceInRight {
    0% {
        opacity: 0;
        transform: translateX(2000px);
    }
    60% {
        opacity: 1;
        transform: translateX(-30px);
    }
    80% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes bounceInTop {
    0% {
        opacity: 0;
        transform: translateY(-2000px);
    }
    60% {
        opacity: 1;
        transform: translateY(30px);
    }
    80% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes bounceInBottom {
    0% {
        opacity: 0;
        transform: translateY(2000px);
    }
    60% {
        opacity: 1;
        transform: translateY(-30px);
    }
    80% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0; 
        transform: scale(1);   
    }
    60% {
        opacity: .7;
        transform: scale(.98);   
    }
    80% {
        opacity: .9;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInn {
    0% {
        opacity: 0; 
        transform: scale(0);   
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}