/*@import "../media/icons/icons/bootstrap-icons.css";*/

* {
    font-family: Inter;
    box-sizing: border-box;
}

:root {

    --accent-colour: #768226;
    --secondary-accenct-colour: #F5F5F5;

    --primary-colour: #111111;
    --secondary-colour: #9A9A9A;

    --content-width: min(1000px, 100%);
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

body {
    margin: 0;
}

.content {
    width: var(--content-width);
    padding: 0 10px;
}

section > h2 {
    text-align: center;
}

input[type=button],
input[type=submit] {
    width: 100%;
    height: 50px;
    background: var(--accent-colour);
    border: #545c1b;
    border-radius: 5px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: .1s;
}

input[type=button]:hover {
    background: #545c1b;
}

h1 {
    font-size: 50px;
    font-family: "SplineSans", sans-serif;
    font-weight: normal;
    text-align: center;
    color: rgb(51, 47, 47);
    line-height: 60px;
}

h2 {
    font-size: 30px;
}

/*.rot30,*/
.rot30:before {
    transform: rotate(30deg);
}


section {
    /*margin: 100px 0;*/
}

.text-center {
    text-align: center;
}

.invisible {
    opacity: 0;
}

.flex-resize {
    flex: 1;
}

.rounded {
    border-radius: 10px;
}

.text-secondary {
    color: #7C7F83;
}

@media only screen and (max-width: 850px) {
    h1 {
        font-size: 34px;
    }
}


.sm-title {
    color: #768226;
    font-weight: 600;
    text-transform: uppercase;
}

#about-4-sec {
    height: 230px;
}

#about-4-sec > div:last-child {
    border-right: none;
}

#about-4-sec > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #464D17;
    height: 100%;
    width: 100%;

    .big {
        color: white;
        font-size: 50px;
    }

    p {
        color: #A3AD59;
        text-transform: uppercase;
    }
}

section.full-w {
    width: 100%;
    margin: 0;

    .content {
        margin: auto;
        padding: 100px 0;
    }
}

#why-us .item {
    width: 300px;
    padding: 30px;
    background: #fff;
    border: 1px solid #E7E7E1;
    border-radius: 9px;
    box-shadow: 0 0 20px 2px #efefe7;

    h3 {
        margin-bottom: 0;
    }

    p {
        color: #8B8D91;
    }

    .img {
        width: 40px;
        height: 40px;
        background: #E8ECCE;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;

        i {
            color: #768226;
        }
    }
}

input[type=button].btn {
    padding: 15px 30px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type=button].secondary {
    background: inherit;
    border: 1px solid #5F6536;
}

input[type=button].secondary:hover {
    background: #4E5521;
}


.team-item:hover {
    .img {
        border: 2px solid green;
        cursor: pointer;
    }
}


#view-team .members {
    max-height: 196px;
    overflow-y: hidden;
    transition: max-height 200ms ease;
}

#view-team.expanded .members {
    max-height: 2000px;
}

.team-item {
    height: 176px;
    margin: 20px 0;

    .img {
        width: 125px;
        height: 125px;
        border-radius: 50%;
        box-sizing: content-box;
        border: 2px solid transparent;

        img {
            /*box-sizing: border-box;*/
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            object-position: 0 20%;
        }

    }

    .name {
        font-weight: 600;
        margin: 10px 0 0 0;
        font-size: 1.1rem;
    }

    .text {
        color: #78842A;
        font-size: .76rem;
    }


}

#view-team {
    .sep {
        width: 100%;
        height: 2px;
        margin: 30px 0 35px 0;
        background: #ECECE6;
    }

    > a {
        text-align: center;
    }

}

a:has(input) {
    text-decoration: none !important;
}


.section-rule {

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    font-size: 14px;
    text-transform: uppercase;

    & span {
        display: flex;
        align-items: center;
        gap: 5px;
        font-weight: 600;
        color: #1B5EA1;
    }

    &:before,
    &:after {
        content: ' ';
        height: 1px;
        flex: 1;
        background: #E4E4DC;
    }

}


@media only screen and (max-width: 850px) {
    .about-title * {
        font-size: 54px;
        line-height: 58px;
    }

    .about-title h1 span {
        font-size: 70px !important;
    }

    .about-title .content {
        padding: 50px 0 !important;
    }

    section {
        padding: 0 20px;
    }

    h2 {
        font-size: 36px;
    }

    #about-4-sec {
        flex-wrap: wrap;
        height: auto;

        > div .big {
            font-size: 30px;
        }

        > div p {
            text-align: center;
            font-size: 15px;
        }

        > div {
            width: 50%;
            padding: 50px 0;
            height: unset;
        }

        > div:nth-child(1) {
            border-bottom: 1px solid #464D17;
        }

        > div:nth-child(2) {
            border-bottom: 1px solid #464D17;
            border-right: none;
        }
    }

    section:has(#about-4-sec),
    div.content:has(#about-4-sec) {
        padding: 0;
    }

    #why-us > div.item {
        width: 100%;
    }

    #view-team > div > div {
        width: 50%;
    }

    #view-team > .members {
        max-height: calc(196px * 2 + 30px);
    }

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

/* carousel.css */
section .carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    /*margin-left: -5%;*/
}

section .carousel ul {
    animation: scroll 200s linear infinite;
}

section .carousel:after {
    content: ' ';
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(90deg, rgba(255, 255, 255, 1) 5%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 1) 95%);*/
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

section .carousel ul {
    width: fit-content;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;

    display: flex;

    li {

        white-space: nowrap;
        height: 100%;

        margin: 0 20px;
        padding: 10px 0;


    }
}

.carousel#review li {
    /*display: inline-block;*/
    display: flex;
    flex-direction: column;

    max-height: 500px;
    width: 300px;

    .name * {
        font-weight: normal;
        /*color: var(--accent-colour);*/
        /*color: var(--accent-colour);*/
        margin: 0;
    }

    .data {
        display: flex;
        align-items: flex-end;
        flex-wrap: wrap;

        .value {
            font-size: 1.3rem;
            color: var(--accent-colour);
            margin-right: 20px;
        }

        .date {
            color: #717171;
        }
    }

    .description {
        margin-top: 30px;
        word-wrap: break-word;
        display: inline-block;
        font-family: "Inter";

        white-space: wrap;
    }
}


.carousel#partners {
    height: 70px;

    img {
        height: 100%;
        width: 90px;
        object-fit: contain;
        /*width: auto;*/
    }
}


/* footer.css */
footer.light {
    background: rgb(250 250 250);
}

footer .content {
    margin: 0 auto;
}

footer {
    padding: 56px 0 32px;
}

footer p {
    color: rgb(95 99 104);
    font-size: 12px;
}

footer h4 {
    color: rgb(44 44 44);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 12px;
}

footer ul {
    margin-left: 0;
    padding-left: 0;
}

footer ul li {
    list-style: none;
    margin-top: 10px;
    margin-left: 0;
    text-transform: capitalize;
}

footer ul a {
    color: rgb(95 99 104);
    font-size: 14px;
}

footer a:hover {
    text-decoration: none;
    color: rgb(118 130 38);
}

#footend {
    padding-top: 24px;
    font-size: 12px;
    color: rgb(95 99 104);
    border-top: 1px solid rgb(228 228 220);

    & p {
        margin: 0;
    }


    & a:hover {
        color: rgb(118 130 38);
        text-decoration: none;
    }

}

@media only screen and (max-width: 850px) {
    #footend {
        align-items: center;
        gap: 10px;
    }

}

nav {
    height: 70px;
}

#top-nav {
    background: var(--accent-colour);
    height: 50px;
}

#bottom-nav {
    /*background: tomato;*/
    z-index: 10;
    background: white;
    border-bottom: 1px solid rgb(228 228 220);
    display: flex;
    justify-content: center;

    .content {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .logo {
            height: 65%;
            width: auto;

            display: flex;
            align-items: center;

            & img {
                height: 100%;
                width: auto;
            }

        }
    }
}

#bottom-nav.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

#bottom-nav-sim.show {
    /*position: relative;*/
    top: 70px;
    width: 100%;
    height: 70px;
}

body {
    /*height: 30000px;*/
}

nav .navigation {
    display: flex;
    align-items: center;

    & a:hover {
        text-decoration: none;
        color: var(--accent-colour);
    }

    & ul {
        display: flex;
        align-items: center;
        list-style: none;
        gap: 25px;

        & li {
            /*font-size: 1.1rem;*/
        }
    }
}


#top-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 10px;

    font-size: .9rem;

    & i {
        font-size: 1.4rem;
        margin-left: 20px;
    }

    .phones {
        display: flex;
        flex-direction: column;
    }
}

#top-nav-mobi.active {
    .normal-view {
        background: white;
        border-bottom: 1px solid #768226;

    }
}

#top-nav-mobi.active + #contact-btn {
    display: none;
}

#top-nav-mobi {
    display: none;

    .normal-view {
        background: #768226;
        min-height: 50px;


        & input {
            background: white;
            color: #768226;
            height: 100%;
        }
    }


    .expanded-view {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .expanded-view a {
        padding: 8px 20px;
        background: #697528;
        color: white;
        border-radius: 8px;
    }

    .cross {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }

    .cross > div {
        position: absolute;
        width: 100%;
        height: 3px;
        border-radius: 99999px;
        background: #697528;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .cross > div:first-child {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

}

#bottom-nav .burger {
    display: none;
}

.mobi-navigation {
    display: none;
}

@media only screen and (max-width: 850px) {
    #top-nav {
        display: none;

        /*background: white;*/
    }

    #top-nav-mobi {
        display: block;
        position: relative;
        top: 0;
        width: 100vw;
        background: pink;
        height: auto;
        z-index: 3;


    }

    #bottom-nav .burger {
        display: block;
        font-size: 2.5rem;

    }

    #bottom-nav {
        position: relative;

        .navigation {
            display: none;
        }


    }

    .mobi-navigation.undu {
        top: 0;
    }

    .mobi-navigation {
        /*display: none;*/
        z-index: 4;
        display: block;
        position: absolute;
        width: 90%;
        height: auto;
        left: 50%;
        transform: translateX(-50%);
        top: -500px;

        background: #6A7428;

        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;

        & ul {
            width: 100%;
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            color: white;
            gap: 0;

            & li {
                border-bottom: 1px solid #FFD900;
                padding: 10px 0;
                list-style: none;
            }
        }
    }

    .mobi-navigation.hide {
        animation-name: mobiNavHide;
        animation-duration: .2s;
        /*top: -100%;*/
        transform: translateY(-100%);
    }

    .mobi-navigation.show:not(.undu) {
        top: 70px;

    }

    .mobi-navigation.show {
        animation-name: mobiNav;
        animation-duration: .2s;


        top: 70px;


    }

    #filter {
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .4);
        top: 0;
        position: fixed;
        z-index: 3;
    }

}

@keyframes mobiNav {
    from {
        transform: translateY(-100%) translateX(-50%);
    }
    to {
        transform: translateY(0) translateX(-50%);
    }
}

@keyframes mobiNavHide {


    from {
        transform: translateY(0) translateX(-50%);
    }
    to {
        transform: translateY(-100%) translateX(-50%);
    }
}

.list {
    display: flex;
    gap: 100px;
}

.list > div {
    /*width: 50%;*/
    flex: 1;
    min-width: 0;
}

.list .titles ul {
    list-style: none;
    margin: 0;
    padding: 0;

    li {
        height: 60px;
        padding-top: 10px;
        /*font-size: 1.4rem;*/
        border-bottom: 1px solid gray;
        display: flex;
        /*justify-content: center;*/
        align-items: center;

        color: var(--secondary-colour);
        cursor: pointer;
        transition: .2s;
    }

    li.active,
    li:hover {
        color: black;
        border-bottom-color: #393939;
        font-weight: bold;
    }
}

.info {
    position: relative;
}

.info .description {
    /*position: relative;*/
    min-height: 200px;
}

.info .description p {
    opacity: 0;
    position: absolute;
}

.info .description p.show {
    opacity: 1;
}

.list .info .title {
    position: relative;
    width: max-content;
}

.list .info .title:before {
    content: ' ';
    /*width: 30%;*/
    width: 67px;
    height: 3px;
    background: var(--accent-colour);
    position: absolute;
    bottom: -10px;
}

.list .info .description {
    margin-top: 40px;
    line-height: 20px;
    text-align: justify;
}

.list .info form {
    margin-top: 40px;
}

.list .info form h4 {
    text-align: center;
}

.list .info form .row {
    margin: 20px 0;
}


.fieldset {
    position: relative;
    color: #999;
    /*background: #FAFBFC;*/
    background: #fff;
    border-radius: 5px;
    border: 1px solid #DEE2E5;
    height: 50px;
    font-size: 14px;
    padding: 0;
    margin: 0;
}

.fieldset.vertical {
    label {
        position: static;
    }
}

.fieldset.text {
    height: auto;


    textarea {
        margin-top: 10px;
        width: 100%;
        min-height: 100px;
        resize: vertical;
        border: none;
        padding: 0 10px;
        color: #999;
        border-radius: 5px;
    }

    textarea:focus {
        outline: none;
    }
}

.fieldset.vertical {
    /*border-color: transparent;*/
    height: auto;
    padding-bottom: 10px;

    label {
        width: max-content;
        margin-left: 11px;
    }

    .sm-row,
    .ch-row {
        display: flex;
        align-items: center;
        height: 30px;

        input {
            margin-top: -4px;
            margin-left: 30px;
        }

        * {
            transform: unset;
        }
    }

    .ch-row {
        input {
            margin-top: 0;
        }
    }
}


.fieldset label {
    position: absolute;
    display: block;
    user-select: none;
    cursor: text;
}

.fieldset input[type=text],
.fieldset input[type=tel],
.fieldset select {
    outline: none;
    height: 100%;
    margin: 0 13px;
    border: none;
    background: transparent;
    width: calc(100% - 13px * 2);
}

.fieldset label {
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    transition: .2s ease-out;
    /*background: #FAFBFC;*/
    background: #fff;
    padding: 0 5px;
}

.fieldset:has(input:focus),
.fieldset:has(input:not(:placeholder-shown)),
.fieldset.text,
.fieldset.always-active,
.fieldset.danger {
    label {
        top: 0;
        left: 11px;
    }
}

.fieldset:has(input[type=text]:focus),
.fieldset:has(input[type=tel]:focus),
.fieldset:has(textarea:focus) {
    border: 1px solid #0095FF;
}

.fieldset.danger {
    border: 1px solid #c60000;
}

.fieldset.danger label {
    color: #c60000;
}

.fieldset.danger::after {
    content: 'Šis lauks ir obligāts';
    color: #c60000;
    position: absolute;
    font-size: 12px;
    bottom: 0;
    left: 5px;
    transform: translateY(calc(100% + 2px));
}

.fieldset.danger input {
    margin-bottom: 2px;
}


/* ANIMATION */
.fade {
    transition: opacity 200ms ease;
}

.fade.out {
    opacity: 0;
}

#mobi-services {
    display: none;
}

select {
    width: 100%;
    height: 50px;
    /*background: var(--accent-colour);*/
    background: #F5F5F5;
    color: #999999;
    border: 1px solid #EAEAEA;
    border-radius: 5px;
    /*font-size: 1.1rem;*/
    cursor: pointer;
    transition: .1s;
    padding: 0 20px;
    font-size: 14px;
}

select:valid {
    color: black;
}

@media only screen and (max-width: 850px) {
    #mobi-services {
        display: block;

        #mobi-title {

        }

    }

    #desk-services {
        display: none;
    }

}

input[type="radio"]:checked + label {
    color: black;
}

#location .sm-row label {
    width: 100%;
    cursor: pointer;
}

/* infoHorizontal.css */
/*.horizontal-info {*/
/*    display: flex;*/
/*    gap: 50px;*/
/*}*/

/*.horizontal-info > div {*/
/*    flex: 1;*/
/*}*/

.horizontal-info {
    * {
        font-family: "Inter";
    }

    table {
        width: 100%;
        margin-top: 80px;

        tr.icons {
            td {
                text-align: center;
                font-size: 60px;

                i {
                    color: var(--accent-colour);
                }
            }
        }

        tr.titles {
            td {
                text-align: center;
                vertical-align: top;
                text-wrap: balance;
            }
        }

        tr.descriptions {
            td {
                text-align: center;
                vertical-align: top;
                text-wrap: balance;
            }
        }

        td:nth-child(1) {
            padding-right: 50px;
        }

        td:nth-child(2) {
            padding: 0 25px;
        }

        td:nth-child(3) {
            padding-left: 50px;
        }
    }
}

/*.horizontal-info > div {*/
/*}*/

/*.display-highlights .icons > div {*/
/*    font-size: 60px;*/
/*    color: var(--accent-colour);*/
/*}*/

.tri-display {
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 1rem;
}

.tri-display .icon {
    font-size: 60px;
    color: var(--accent-colour);
}

@media only screen and (max-width: 850px) {

    .tri-display {
        display: block;

        div {
            padding: 0;
        }
    }

    .tri-display > div:nth-child(3),
    .tri-display > div:nth-child(6) {
        margin-bottom: 50px;
    }
}

/* hero.css */
section.hero {
    width: 100%;
    height: 743px;
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    .content {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        /*flex: 1;*/
        z-index: 2;
        /*margin: auto;*/
        color: white;

        /*.lefty {*/
        /*    flex: 1;*/
        /*}*/

        i {
            color: var(--accent-colour);
            font-size: 1.8rem;
            margin-right: 15px;
        }

        .lefty {
            width: 400px;
            margin-bottom: 40px;
        }

        .lefty .row {
            font-size: 1.2rem;
            display: flex;
            align-items: center;
        }

        .title * {
            color: white;

        }
    }

    .bg {
        width: 100%;
        height: 743px;
        position: absolute;
        z-index: 1;
    }

    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: relative;
    }

    .bg:after {
        content: ' ';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.3);
    }

    form {
        border-radius: 15px;
        padding: 25px;
        width: 360px;
        background: white;
        color: black;

        h4 {
            margin-top: 0;
            text-align: center;
        }

        .row:last-child {
            margin-bottom: 0;
        }
    }

}

@media only screen and (max-width: 850px) {
    section.hero {
        height: 100%;
        position: relative;

        .bg {
            top: 0;
            height: 100%;

            video {
                /*height: 100%;*/
            }
        }

        .content {
            flex-direction: column;
            margin: 100px 0;
        }

        .description {
            text-align: center;
            text-wrap: balance;
        }

        .lefty > div:first-child {
            justify-content: center;
        }
    }

}

/* cards.css */


.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
    gap: 30px;

    .card {
        position: relative;
        min-height: 350px;
        min-width: 220px;
        /*aspect-ratio: 1;*/
        /*height: auto;*/
        /*aspect-ratio: 1;*/
        /*margin: 50px 0;*/

        display: flex;
        flex-direction: column;
        /*align-items: flex-start;*/
        /*align-items: center;*/
        gap: 20px;

        .image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center 20%;
                border-radius: 15px;
            }
        }

        .text {
            position: absolute;
            bottom: 0;
            left: 0;
            width: calc(100% - 10px);
            margin: 5px;
            min-height: 50px;
            border-radius: calc(15px - 5px);
            background: rgba(245, 245, 245, 0.88);
            z-index: 2;
            padding: 10px 5px;
            transition: .2s;

            .name {
                /*color: var(--accent-colour);*/
                text-align: center;

                * {
                    font-size: 1.1rem;
                    font-weight: bold;
                    margin: 0;
                }
            }

            ul {
                margin: 0;
                list-style: none;
                text-align: center;
                padding: 0;
            }

        }

        .text:hover {
            cursor: pointer;
            background: #fff;
        }

        /**/

        /**/

        .data {
            display: flex;
            flex-wrap: wrap;
            /*justify-content: center;*/
            gap: 10px;
            /*margin-top: auto;*/
            /**/

            .tag {
                padding: 5px 10px;
                /*background: #FFD900;*/
                background: #aa9312;
                /*background: var(--accent-colour);*/
                color: white;
                border-radius: 5px;
            }
        }

        /**/

        .additional {
            margin-top: auto;
        }

        /**/

        .apply {
            width: 100%;
            margin: 0 auto;
        }

    }
}

/* reviews.cdd */
#leave-review {
    width: 100%;
    margin: auto;
}

#leave-review h2 {
    text-align: center;
    font-weight: normal;
}

.row {
    margin-bottom: 20px;

}

.row.c3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.flexible {
    flex: 1;
}

.row.c3 > * {
    /*width: 33%;*/
    width: auto;
}

.fieldset:has(.stars) input {
    position: relative;
}

.stars {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    font-size: 1.3rem;
    display: flex;
    gap: 10px;

}

.anonimity .no-anonimity {

    pointer-events: none;

    label {
        text-decoration: line-through;
        text-decoration-thickness: 2px;

        cursor: not-allowed;
        pointer-events: none;
    }
}

.stars > i {
    cursor: pointer;
    color: var(--accent-colour);
}

#leave-review textarea {
    color: black;
}

#leave-review .ch-row label {
    cursor: pointer;
}


/* home.css */
#article-overview > .button {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #768226;
    border-radius: 50%;
    user-select: none;

    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    right: 0;

    transform: translate(50%, -50%);
    cursor: pointer;
    transition: .2s;

    img {
        transform: scale(1.5);

    }
}

#article-overview > .button-left {
    left: 0;
    transform: translate(-50%, -50%) rotate(180deg);
}

#article-overview > .button.active {
    width: 52px;
    height: 52px;

}


#article-overview {
    position: relative;

    .visible-area {
        overflow-x: hidden;
        position: relative;
        width: 100%;

    }

    .item {
        position: relative;
        border-radius: 10px;
        height: 450px;
        width: calc(100% / 3 - 7px);
        flex-wrap: nowrap;
        overflow-x: hidden;
        flex: 0 0 auto;

        img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
            top: 0;
            left: 0;
            z-index: -1;
        }

        .filter {
            position: absolute;
            bottom: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.6);
            height: 35%;
            color: white;
            /*padding: 17px 20px;*/


            .text {
                padding: 15px 20px;
                margin: 0;
                letter-spacing: .1rem;
            }

            input {
                border-top-left-radius: 0;
                border-top-right-radius: 0;
            }
        }

    }

}

@media only screen and (max-width: 850px) {

    #article-overview {
        .item {
            width: calc(100%);
        }

        .button-left {
            left: 0;
            transform: translateY(-50%) rotate(180deg);
        }

        .button-right {
            right: 0;
            transform: translateY(-50%);
        }
    }

}

/* toast.css */
#toast-container {
    z-index: 20;
    position: fixed;
    top: 5%;
    right: 10%;
    width: min(100%, 500px);


    .toast {
        width: 100%;
        border-radius: 3px;
        padding: 5px 10px;
    }

    .bg-success-subtle {
        background: #EDFBF2;
        color: #195735;
        border: 1px solid #77c877;
    }

    .bg-danger-subtle {
        background: #FDF0F5;
        color: #CD1F4B;
    }
}

/* general.css */

:root {
    --variable-1: 5px;
    --variable-2: 10px;
    --variable-3: 20px;
    --variable-4: 40px;
    --variable-5: 80px;

}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

.d-flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.justify-start {
    justify-content: start;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-end {
    justify-content: end;
}

.align-end {
    align-items: end;
}

.align-center {
    align-items: center;
}

.flex-vertical {
    flex-direction: column;
}

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

.flex-1 {
    flex: 1;
}

.flex-3 > *:first-child,
.flex-3 > *:last-child {
    flex: 1;
}

.flex-evenly > * {
    flex: 1;
}

.flex-3 > *:nth-child(2) {
    flex: 0 0 auto;
    text-align: center;
}

.flex-3 > *:last-child {
    display: flex;
    justify-content: flex-end;
}

.gap-1 {
    gap: var(--variable-1);
}

.gap-2 {
    gap: var(--variable-2);
}

.gap-3 {
    gap: var(--variable-3);
}

.gap-4 {
    gap: var(--variable-4);
}

.gap-5 {
    gap: var(--variable-5);
}

.fit {
    width: 100%;
    height: 100%;
}

.fit-x {
    width: 100%;
}

.fit-y {
    height: 100%;
}

.max-fit {
    max-width: 100%;
    max-height: 100%;
}

.min-fit {
    min-width: 100%;
    min-height: 100%;
}

.pt-0 {
    padding-top: 0;
}

.pt-1 {
    padding-top: var(--variable-1);
}

.pt-2 {
    padding-top: var(--variable-2);
}

.pt-3 {
    padding-top: var(--variable-3);
}

.pt-4 {
    padding-top: var(--variable-4);
}

.pt-5 {
    padding-top: var(--variable-5);
}

.pb-0 {
    padding-bottom: 0;
}

.pb-1 {
    padding-bottom: var(--variable-1);
}

.pb-2 {
    padding-bottom: var(--variable-2);
}

.pb-3 {
    padding-bottom: var(--variable-3);
}

.pb-4 {
    padding-bottom: var(--variable-4);
}

.pb-5 {
    padding-bottom: var(--variable-5);
}

.m-0 {
    margin: 0;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--variable-1);
}

.mt-2 {
    margin-top: var(--variable-2);
}

.mt-3 {
    margin-top: var(--variable-3);
}

.mt-4 {
    margin-top: var(--variable-4);
}

.mt-5 {
    margin-top: 100px;
}

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

.mb-1 {
    margin-bottom: var(--variable-1);
}

.mb-2 {
    margin-bottom: var(--variable-2);
}

.mb-3 {
    margin-bottom: var(--variable-3);
}

.mb-4 {
    margin-bottom: var(--variable-4);
}

.mb-5 {
    margin-bottom: var(--variable-5);
}

.mr-0 {
    margin-right: 0;
}

.mr-1 {
    margin-right: var(--variable-1);
}

.mr-2 {
    margin-right: var(--variable-2);
}

.mr-3 {
    margin-right: var(--variable-3);
}

.mr-4 {
    margin-right: var(--variable-4);
}

.mr-5 {
    margin-right: var(--variable-5);
}


.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: var(--variable-1);
}

.p-2 {
    padding: var(--variable-2);
}

.p-3 {
    padding: var(--variable-3);
}

.p-4 {
    padding: var(--variable-4);
}

.p-5 {
    padding: var(--variable-5);
}


.pl-2 {
    padding-left: var(--variable-2);
}

.pr-2 {
    padding-right: var(--variable-2);
}

.pl-3 {
    padding-left: var(--variable-3);
}

.pr-3 {
    padding-right: var(--variable-3);
}

.pl-4 {
    padding-left: var(--variable-4);
}

.pr-4 {
    padding-right: var(--variable-4);
}

.pl-5 {
    padding-left: var(--variable-5);
}

.pr-5 {
    padding-right: var(--variable-5);
}

.radi {
    border-radius: 12px;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.border-top {
    border-top: 1px solid #F4EFEB;
}

.hidden {
    display: none !important;
}

.text-balance {
    text-wrap: balance;
}

.text-justify {
    text-align: justify;
}

.h-100 {
    height: 100%;
}

.w-100 {
    width: 100%;
}

.w-75 {
    width: 75%;
}

.w-60 {
    width: 60%;
}

.w-50 {
    width: 50%;
}

.w-40 {
    width: 40%;
}

.w-25 {
    width: 25%;
}

.list-style-none {
    list-style: none;
}

.object-cover {
    object-fit: cover;
}

.outline-none {
    outline: none;
}

.abs-top-mid {
    top: 50%;
    transform: translateY(-50%);
}

@media only screen and (max-width: 850px) {
    .ph-flex-vertical {
        flex-direction: column;
    }

    .ph-flex-reverse {
        flex-direction: column-reverse;
    }
}


/* article.css */
#article.content {
    section {
        img {
            border-radius: 20px;
            max-width: 100%;
            object-fit: cover;
        }

        font-family: "SplineSans", sans-serif;
        font-size: 16px;
        font-style: normal;
        letter-spacing: .011em;
        line-height: 1.6em;

        p {
            margin: 20px 0;
            text-align: justify;
        }

        h2 {
            text-align: start;
            font-weight: normal;
            font-size: 40px;
            line-height: 48px;
        }

        a {
            color: #0099FF;
        }
    }
}
