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


/* rubik-700 - latin_latin-ext - Headings only */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 700;
  src: url('https://hausita.lt/wp-content/themes/generatepress_child/fonts/rubik-v28-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin_latin-ext - Body text */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('https://hausita.lt/wp-content/themes/generatepress_child/fonts/open-sans-v40-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


#et-main-area {
    overflow: hidden!important;
} 

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container.grid-container {
    width: 100%;
}
.site-footer {
    margin-top: auto;
}

@media (min-width: 769px) {
    .main-navigation .menu > .menu-item > a::after {
        content: "";
        position: absolute;
        right: 0;
        left: 50%;
        bottom: 15px;
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%,0,0);

        display: block;
        width: 0;
        height: 2px;

        background-color: #ffffff !important;
        transition: 0.3s width ease;
    }
    .main-navigation .menu > .menu-item.current-menu-item > a::after,
    .main-navigation .menu > .menu-item.current-menu-ancestor > a::after,
    .main-navigation .menu > .menu-item > a:hover::after {
        width: 50%;
    }

}

@media (min-width: 769px) {
    .site-footer a.gb-button:not(.facebook) {
        position: relative;
        display: inline-block; /* Ensures proper positioning of the pseudo-element */
    }

    .site-footer a.gb-button:not(.facebook)::after {
        content: "";
        position: absolute;
        right: 0;
        left: 50%;
        bottom: 2px; /* Adjust as needed */
        transform: translate3d(-50%,0,0);

        display: block;
        width: 0;
        height: 2px;

        background-color: currentColor;
        transition: width 0.3s ease;
    }

    .site-footer a.gb-button:not(.facebook):hover::after {
        width: 100%;
    }
}

.page-numbers {
	color:#490000;
}