/*
 Theme Name:   	Vyriausybės ataskaita
 Theme URI: 	https://www.lrv-ataskaita.gov.lt
 Description:  	Lietuvos Respublikos Vyriausybės ataskaita
 Author:        Petras Pauliūnas
 Author URI:    http://www.pepa.lt
 Version:       1.0.0
 License:       GNU General Public License v2 or later
 License URI:   http://www.gnu.org/licenses/gpl-2.0.html
 Tags:          light, responsive-layout
 Text Domain:   lrv
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

@font-face {
    font-family: 'Consolas';
    src: url('./assets/fonts/Consolas.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Consolas';
    src: url('./assets/fonts/Consolas-Italic.woff2') format('woff2');
    font-style: italic;
    font-weight: normal;
}

@font-face {
    font-family: 'Consolas';
    src: url('./assets/fonts/Consolas-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Consolas';
    src: url('./assets/fonts/Consolas-BoldItalic.woff2') format('woff2');
    font-style: italic;
    font-weight: bold;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    border: none;
    outline: none;
    scroll-behavior: smooth;

}

:root {
    --animate-duration: 1s;
    --animate-delay: 1s;
    --animate-repeat: 1;
    --lrv-bg: #F3F6F9;
    --lrv-dark: #091A5A;
    --lrv-primary: #4c74f5;
    --lrv-primary-hover: #6290f8;
    --lrv-link-hover: #3c5fb1;
    --lrv-primary-font: 'Consolas', sans-serif;
    --lrv-secondary-font: 'Inter', sans-serif;
    --lrv-secondary: #98f4a0ff;
    --lrv-secondary-hover: #49784bff;
    --lrv-transition-1: cubic-bezier(.19, 1, .22, 1);
    --lrv-transition-2: cubic-bezier(0.16, 0.01, 0.77, 1);
    --lrv-primary-transition: .2s linear;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    border: 6px solid var(--lrv-secondary-hover);
    border-radius: 16px;
    background-color: var(--lrv-secondary-hover);
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
    display: block
}

body {
    font-family: var(--lrv-secondary-font);
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    text-align: left;
    background:var(--lrv-bg);
    opacity: 1;
    padding-top: 5rem;
    transition: top 0ms ease-in-out 0ms,
        opacity 500ms ease-in-out 0ms;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1;
    font-weight: 500;
    font-family: var(--lrv-primary-font);
    letter-spacing: -.1rem;
    margin-top: 0;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.75rem;
}

a {
    color: var(--lrv-secondary-hover);
    opacity: 1;
    display: inline-block;
    transform: translateZ(0);
    transition: all .3s var(--lrv-transition-2);
    -webkit-transition: all .3s var(--lrv-transition-2);
    -moz-transition: all .3s var(--lrv-transition-2);
    -ms-transition: all .3s var(--lrv-transition-2);
    -o-transition: all .3s var(--lrv-transition-2);
}


a:hover {
    opacity: 1;
    color: var(--lrv-link-hover);
}

a:hover::after {
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform-origin: left;
}

sup {
    color: #777;
    font-size: .9rem;
}
.logo-text{
    font-family: var(--lrv-primary-font);
    font-size:2rem;
    line-height: 1;
}
.return-link {
    display: inline-flex;
    padding-left: 1rem;
    border-radius: 0.5rem;
    padding: 0.25rem 1rem 0.25rem .5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.return-link:hover {
    color: #fff;
    background: var(--lrv-secondary-hover);
}

.return-link:before {
    content: '';
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2hldnJvbi1jb21wYWN0LWxlZnQiIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS4yMjQgMS41NTNhLjUuNSAwIDAgMSAuMjIzLjY3TDYuNTYgOGwyLjg4OCA1Ljc3NmEuNS41IDAgMSAxLS44OTQuNDQ4bC0zLTZhLjUuNSAwIDAgMSAwLS40NDhsMy02YS41LjUgMCAwIDEgLjY3LS4yMjMiLz4KPC9zdmc+");
    background-repeat: no-repeat;
    background-size: contain;
    width: 1rem;
    height: 1rem;
    display: block;
}

.return-link:hover:before {
    filter: invert(100%);
}

footer {
    background: var(--lrv-dark);
    padding: 9rem 0;
}

footer a {
    display: inline-flex;
    align-items: center;
}

footer a {
    color: #fff;
    padding: 1rem 2rem 1rem 1rem;
    border-radius: 1rem;
}

footer a:hover {
    background-color: var(--lrv-primary);
    color: #fff;


}

footer a::after {
    display: none;
}

footer svg {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
}

.page-wrapper {
    width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 2;
    margin-top: 3.57rem;
}

.container,
#main {
    position: relative;
    width: 100%;
    max-width: 991px;
    margin: 0 auto;
}

.intro,
.projects-list,
.npp-goals,
.goals-list,
.chart,
.content{
    padding: 3.75rem;
    background:#fff;
    margin: 3.75rem 0;

}

body.loaded .page-wrapper {
    opacity: 1;
}

.intro {
    display: grid;
    grid-template-columns: 129px 1fr;
    gap: 3.75rem;
    font-size: 1rem;
    /* font-size:.8125rem;
    max-width:60%; */
}

.img-fluid {
    width: 100%;
    height: auto;
}

p {
    margin: 0 0 16px;
}

.logo-wrapper {
    display: grid;
    align-items: center;
    grid-template-columns: max(50%) auto;
}

.logo {
    max-width: 8.0625rem;
    width: 100%;
    height: auto;
}

.alignright {
    float: right;
}

select#npp-filter,
select#uzdaviniai,
select#rodikliai {
    list-style-type: none;
    width: 100%;
    border: 1px solid var(--lrv-primary);
    padding: 1rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-family: var(--lrv-secondary-font);
}

.chart {
    margin: 3rem 0 0;
}

.bl {
    color: var(--lrv-primary)
}

.bl-d {
    margin-bottom: 1rem;
}

.bl-a {
    margin-top: 1rem;
}

.rl {
    font-weight: bold;
}

h1 span {
    background: rgb(209, 213, 219);
    display: inline-block;
    border-radius: 16px;
    padding: 0.1rem 0.6rem;
    margin-right: 0.5rem;
    position: relative;
    bottom: -1px;
    font-size: 3rem;
    text-align: center;
}

ul {
    list-style-type: none;
    padding-left: 0
}

ul li {
    margin-bottom: 12px;
}

ul.npp-list a {
    padding: 1.5rem 4rem;
    background: #98f4a0ff;
    border-radius: 1rem;
    color: #000;
    text-decoration: none;
    width: 100%;
    display: inline-block;
    font-family: var(--lrv-primary-font);
    -webkit-box-shadow: 0px 4px 0px #49784bff;
    -moz-box-shadow: 0px 4px 0px #49784bff;
    box-shadow: 0px 4px 0px #49784bff;
}
/* 
ul.npp-list a:after {
    display: none;
} */

ul.npp-list a:hover {
    background: rgb(123, 216, 131);
    -webkit-box-shadow: 0px 2px 0px #49784bff;
    -moz-box-shadow: 0px 2px 0px #49784bff;
    box-shadow: 0px 2px 0px #49784bff;
    transform: translate3d(2px, 2px, 2px);
}

ul.alpha-list {
    list-style: none;
    counter-reset: list-counter;
    padding-left: 0;
}

ul.alpha-list li {
    display: grid;
    grid-template-columns: 20px auto;
    counter-increment: list-counter;
    padding: 0.2rem;
    border-radius: 0.2rem;
    transition: all .3s var(--lrv-transition-2);
    -webkit-transition: all .3s var(--lrv-transition-2);
    -moz-transition: all .3s var(--lrv-transition-2);
    -ms-transition: all .3s var(--lrv-transition-2);
    -o-transition: all .3s var(--lrv-transition-2);
}

ul.alpha-list li::before {
    content: counter(list-counter, lower-alpha) ". ";
    margin-right: 5px;
}
ul.alpha-list li a:hover{
    color: #000;
}
ul.alpha-list li a:hover span {
    color: #000;
    background: var(--lrv-secondary);
    border-radius: 6px;
    padding: 0 6px;
}

a.project {
    color: #000;
    font-size: 1rem;
    position: relative;
    display: inline-block;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all ease-in-out 0.3s;
    padding: 1rem 2rem 1rem 2rem;
    background: var(--lrv-secondary);
    -webkit-box-shadow: 0px 4px 0px #49784bff;
    -moz-box-shadow: 0px 4px 0px #49784bff;
    box-shadow: 0px 4px 0px #49784bff;
    border-radius: 1rem;
}

.ge {
    margin: 0.5rem 0;
    color: #1a3721;
}

a.project>span.text {
    z-index: 1;
    position: relative;
}

a.project>span.dot {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 8px;
    height: 8px;
    background: #000;
    transition: all ease-in-out 0.3s;
    border-radius: 1rem;
    display: block;
}

a.project:hover {
    background: rgb(123, 216, 131);
    -webkit-box-shadow: 0px 2px 0px #49784bff;
    -moz-box-shadow: 0px 2px 0px #49784bff;
    box-shadow: 0px 2px 0px #49784bff;
    transform: translate3d(2px, 2px, 2px);
}

.alpha-list a {
    color: #000
}

.alpha-list a:hover {
    color: var(--lrv-primary);
}

.d-flex {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.npp-goals .npp-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.4rem 0;
    margin: 0;
}

.npp-goals .npp-list li {
    margin: 0;
}

.npp-goals .npp-list a {
    text-align: center;
    padding: 1rem 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.fw-700 {
    font-weight: 700;
}
.reading-progress {
    height: 5px;
    width: 100%;
    z-index: 1000;
    position: fixed;
    top: 0;
    bottom: auto;
    left: 0;
}

.progress {
    background: #49784bff;
    position: fixed;
    top: 0;
    bottom: auto;
    left: 0;
    width: 0%;
    height: 5px;
    z-index: 1000;
}

.project-title {
    margin-top: 2rem;
    display: flex;
    flex-direction: column-reverse;
}

.project-title div {
    font-size: 1.75rem;
    line-height: 1;
}

/* Style the tab links */
.tabs {
    margin: 3.75rem 0;
}

.tab-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: -1px;
}

.tab-links li {
    display: inline-block;
}

.tab-links a {
    text-decoration: none;
    padding: .3125rem .625rem;
    border-radius: .1875rem;
    font-size: 3rem;
    color: var(--lrv-primary);
    text-align: center;
}

.tab-links a:after {
    display: none;
}

.tab-links a span {
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 3.75rem;
    border: 1px solid var(--lrv-primary);
    background-color: #fff;
    border-bottom-right-radius: .9375rem;
    border-bottom-left-radius: .9375rem;
}

.tabs .tab-content:first-of-type,
.tabs .active {
    display: block;
}

.tab-links a.active {
    background-color: #fff;
    border: 1px solid var(--lrv-primary);
    border-radius: .9375rem .9375rem 0 0;
    border-bottom-color: #fff;
}

.tab-links a:not(.active) {
    color: var(--lrv-primary-hover);

}

.rlt {
    list-style-type: none;
    padding-left: 0;
}

ul.rlt li {
    margin-bottom: .375rem;
    display: flex;
    gap: .375rem;
    transition: all 0.3s ease;
}

ul.rlt li:hover {
    color: var(--lrv-primary);
}

.image-container {
    position: relative;
    width: fit-content;
    border-radius: 16px;
    display: block;
    overflow: hidden;
    margin: 2rem 0;
}

.image-container img {
    opacity: .4;
    width: 100%;
    height: auto;
    display: block;
}

.image-container figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #000;
    padding: 1rem 2rem;
    text-align: left;
    font-size: 1.75rem;
    line-height: 1;
    max-width: 60%;
    background: var(--lrv-secondary);
}

.image-container figcaption:before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #000;
    position: absolute;
    left: 1rem;
    top: 1rem;
}

.image-container figcaption p {
    margin: 1rem 0 1rem;
}

.npp-goals-wrap {
    display: flex;
    justify-content: space-between;
}

select#npp-filter {
    display: inline-block;
    width: auto;
}

.chart:not(:empty) .canvas-wrap {
    width: 100%;
    height: 17.5rem;
}

.content ol {
    counter-reset: item;
    list-style-type: none;
    padding-left: 0;
}

.content ol ol {
    padding-left: 12px
}

.content li {
    display: block;
    margin: 1rem 0
}

.content li:before {
    counter-increment: item;
    content: counters(item, ".") ". ";
}

.content ol>li:before {
    font-weight: bold;
}

.a-1 {
    transform: translate3d(0px, 0rem, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(4deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
    transform-origin: top left;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.a-1.animate {
    transform: translate3d(0px, 0rem, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    opacity: 1;
}

.animate {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: var(--animate-duration);
    animation-duration: var(--animate-duration);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}



.animate__fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp
}

.animate__fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn
}

.bar {
    position: relative;
    height: 4px;
    background: var(--lrv-secondary-hover);
    width: 0%;
    top: 0px;
    border-radius: 0.09rem;
    left: 18px;
    margin-top: 5px;
    box-shadow: 0 0 3px var(--lrv-secondary);
    animation: fill 5s infinite alternate, colors 5s infinite alternate;
}

.bar.fill1 {
    animation: fill-1 5s infinite alternate, colors 5s infinite alternate;
}

.bar.fill2 {
    animation: fill-2 5s infinite alternate, colors 5s infinite alternate;
}


.bar.fill3 {
    animation: fill-3 5s infinite alternate, colors 5s infinite alternate;
}


.bar.fill4 {
    animation: fill-4 5s infinite alternate, colors 5s infinite alternate;
}

.bar.fill5 {
    animation: fill-5 5s infinite alternate, colors 5s infinite alternate;
}

.bar.fill6 {
    animation: fill-6 5s infinite alternate, colors 5s infinite alternate;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip-content {
    visibility: hidden;
    width: 250px;
    background-color: #f0f0f0;
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -125px;
    opacity: 0;
    transition: opacity 0.3s;

}

.tooltip-content p {
    font-family: var(--lrv-secondary-font);
    letter-spacing: initial;
}

.tooltip-content p:empty {
    display: none;
}

.tooltip-content h3 {
    font-family: var(--lrv-secondary-font);
    letter-spacing: initial;
    margin: 0;
    font-size: .85rem;
}

.tooltip-container:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

.tooltip-content::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #f0f0f0 transparent transparent transparent;
}

.pis {
    display: flex;
    flex-direction: column;
    width: 128px;
}

.xd:after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 4em;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.5s;
    box-shadow: 0 0 10px 40px var(--lrv-secondary);
}
.xd:active:after {
    -webkit-appearance: none;
    -webkit-box-shadow: 0 0 0 0 var(--lrv-secondary);
    box-shadow: 0 0 0 0 var(--lrv-secondary);
    position: absolute;
    border-radius: 4em;
    left: 0;
    top:0;
    opacity: 1;
    transition: 0s;
}
header{
    height: 5.2625rem;
    background: #fff;
    transition: height var(--lrv-primary-transition);
    box-shadow: 0 4px 30px rgba(9,26,90,.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    align-items: center;
    display: flex;
}
.intro .content{
    margin:0;
    padding:0;
}
header .container{
    padding:0 1.25rem;
}
header.sticky{
    height:4rem;
}
header .logo-wrapper{
    transition: all var(--lrv-primary-transition);
    -webkit-transform-origin: center left;
    transform-origin: center left;
}
header.sticky .logo-wrapper{
    -webkit-transform: scale(.625);
    transform: scale(.625);
}
@media(max-width:991px) {
    .npp-title,
    .project-title,
    .tabs,
    .image-container,
    .intro,
    .projects-list,
    .npp-goals,
    .goals-list,
    .chart,
    .content{
        margin: 1.5rem .9375rem;
    }
    .return-link{
        margin: 0 0.5rem 1.75rem;
    }
    body{
        padding-top: 4rem;
    }
    header{
        height:4rem;
    }
    header .logo-wrapper{
        -webkit-transform: scale(.625);
        transform: scale(.625);
        grid-template-columns: 24rem auto;
    }
    .logo-text{
        font-size: 1.5rem;
        font-weight: 700;
    }
    .intro { 
        max-width: 100%;
    }

    .image-container figcaption {
        max-width: 80%;
    }
}

@media(max-width:768px) {
    .project-title div {
        font-size: 1.35rem;
    }

    ul.links a {
        padding: 1.2rem;
        padding-left: 2rem;
    }

    .tab-links a {
        font-size: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h1 span {
        font-size: 2rem;
        width: 60px;
        margin-bottom: 6px;
    }

    h1 {
        display: flex;
        flex-direction: column;
    }

    .npp-goals .links {
        grid-template-columns: repeat(4, 1fr);
    }

    ul.rlt li {
        margin-bottom: 1rem;
    }

    .npp-goals-wrap {
        flex-wrap: wrap;
    }

    .npp-goals-wrap select {
        text-align: left;
        max-width: 100%;
    }
}

@media(max-width:525px) {
    .npp-goals{
        overflow-x: hidden;
    }
    .image-container figcaption {
        max-width: 100%;
    }
    header .logo-wrapper{
        grid-template-columns: 20rem auto;
    }
    .logo-wrapper {
        padding: 3.25rem 0;
    }

    .intro {
        grid-template-columns: 1fr;
    }

    .tab-links a {
        font-size: 1.3rem;
        padding: 0.2125rem 0.125rem;
    }

    .npp-goals .links {
        grid-template-columns: repeat(3, 1fr);
    }
    .tab-content,.intro, .projects-list, .npp-goals, .goals-list, .chart, .content{
        padding: 1.75rem;
    }
    .intro{
        gap:1.75rem;
    }
    .tabs {
        margin: 1.75rem 0;
    }
    .page-wrapper{
        margin-top:1.75rem;
    }
    .return-link{
        margin: 0 0.5rem 1.75rem;
    }
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }

    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0)
    }

    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

@keyframes fill {
    0% {
        width: 0;
    }

    33% {
        width: 30px;
    }

    66% {
        width: 10px;
    }

    100% {
        width: 105px;
    }
}

@keyframes fill-1 {
    0% {
        width: 0;
    }

    33% {
        width: 50px;
    }

    66% {
        width: 20px;
    }

    100% {
        width: 130px;
    }
}

@keyframes fill-2 {
    0% {
        width: 0;
    }

    33% {
        width: 90px;
    }

    66% {
        width: 70px;
    }

    100% {
        width: 136px;
    }
}

@keyframes fill-3 {
    0% {
        width: 0;
    }

    33% {
        width: 50px;
    }

    66% {
        width: 24px;
    }

    100% {
        width: 109px;
    }
}

@keyframes fill-4 {
    0% {
        width: 0;
    }

    33% {
        width: 98px;
    }

    66% {
        width: 34px;
    }

    100% {
        width: 99px;
    }
}

@keyframes fill-5 {
    0% {
        width: 0;
    }

    33% {
        width: 30px;
    }

    66% {
        width: 10px;
    }

    100% {
        width: 148px;
    }
}


@keyframes fill-6 {
    0% {
        width: 0;
    }

    33% {
        width: 48px;
    }

    66% {
        width: 22px;
    }

    100% {
        width: 140px;
    }
}

@keyframes colors {
    0% {
        background-color: var(--lrv-secondary-hover);
    }

    50% {
        background-color: var(--lrv-secondary);
    }

    100% {
        background-color: var(--lrv-secondary);
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}
