﻿

#ArticlesLayout {
    position: relative;
}

#articles {
    /*border-bottom: 2px solid #FFFFFF;*/
    background: linear-gradient(#fff, #fff) bottom / 100% 2px no-repeat;
}

@keyframes roll-down-curtain {
    0% {
        height: 0px;
        overflow: hidden;
    }

    50% {
        overflow: initial;
    }

    100% {
        height: 150px;
        overflow: initial;
    }
}

@keyframes show-article {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.row-1 {
    min-height: 150px;
    width: 100%;
    background-color: #19ACFF;
    animation-name: roll-down-curtain;
    animation-duration: 0.3s;
    position: relative;
    padding: 0 60px;
    display: flex;
    flex-direction: row;
}

    .row-1::after {
        content: "";
        width: 100%;
        background-image: url('/Content/Images/Union 1-1-blue.png');
        background-repeat: repeat-x;
        height: 20px;
        background-color: #FFFFFF;
        left: 0;
        position: absolute;
        bottom: 0;
    }

    .row-1 .page-header {
        font-family: "Assistant-SemiBold";
        font-size: 50px;
        color: #fff;
        padding: 10px 65px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        width: 50%;
    }

.list-of-articles {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: auto;
    max-width: 1380px;
}

    .list-of-articles .one-article {
        width: 400px;
        height: 200px;
        font-size: 30px;
        font-family: "Assistant-SemiBold";
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 30px;
        background-position: center;
        background-size: 100% 100%;
        color: var(--unnamed-color-ffffff);
        position: relative;
        border-radius: 8px;
        border: none;
        transition: background-size ease-in-out 0.5s;
        padding: 0 50px;
    }

        .list-of-articles .one-article:hover {
            background-size: 110% 110%;
            cursor: pointer;
        }

        .list-of-articles .one-article .blue-glass {
            position: absolute;
            width: 400px;
            height: 200px;
            left: 0;
            top: 0;
            background-color: rgba(25,172,255,0.7);
            z-index: 1;
            border-radius: 8px;
            border: none;
        }

        .list-of-articles .one-article span {
            z-index: 1;
            text-align: center;
        }


.header-and-image {
    height: 540px;
    position: relative;
}

.popup-selected-article {
}

    .popup-selected-article .row-1 .page-header {
        width: 100%;
    }

        .popup-selected-article .row-1 .page-header img {
            width: 27px;
            height: 24px;
            transform: scaleX(-1);
            margin: 0 0 0 20px;
        }


    .popup-selected-article .page-header .row-header {
        height: 150px;
        width: 100%;
        background-color: #19ACFF;
        /*position: absolute;*/
        z-index: 1;
        padding: 0 60px;
        display: flex;
        flex-direction: row;
        color: #FFFFFF;
        font-size: 50px;
    }

    .popup-selected-article .row-1 {
        z-index: 1;
        position: absolute;
        /*height: 130px;*/
    }

        .popup-selected-article .row-1::after {
            content: "";
            width: 100%;
            background-image: url('/Content/Images/Union 1-1-blue.png');
            background-repeat: repeat-x;
            height: 20px;
            background-color: transparent;
            left: 0;
            position: absolute;
            bottom: -20px;
        }

    .popup-selected-article .page-header .row-header::after {
        content: "";
        position: absolute;
        background-color: transparent;
        z-index: 1;
    }

    .popup-selected-article .article-image {
        background-image: url(/Content/Images/articles-big/lot-color-gloss-manicure-hand-has-different-blotches-light.png);
        height: 529px;
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        margin-top: 0px;
        /* position: absolute;*/
        top: 20px;
        z-index: 0;
    }

    .popup-selected-article .sub-header {
        font-family: "Assistant-SemiBold";
        /*font-size: 30px;*/
        color: #fff;
        padding: 10px 0px
    }
    /*****************/
    .popup-selected-article .sub-header {
        font-family: "Assistant-SemiBold";
        /*font-size: 30px;*/
        color: #fff;
        padding: 10px;
    }


    .popup-selected-article .article-data {
        position: relative;
        color: #000;
        background-color: #fff;
        max-width: 1330px;
        margin: auto;
    }

        .popup-selected-article .article-data .sub-header {
            color: #000;
            font-family: "Assistant-Bold";
        }

        .popup-selected-article .article-data .article-data-text {
            padding:10px;
        }

            .popup-selected-article .article-data .article-data-text h2 {
                font-family: "Assistant-Bold";
                font-size: 20px;
                margin: 15px 0px;
            }

            .popup-selected-article .article-data .article-data-text p {
                font-family: "Assistant-Regular";
                font-size: 20px;
            }

            .popup-selected-article .article-data .article-data-text a {
                font-family: "Assistant-Regular";
                font-size: 20px;
                color: var(--unnamed-color-19acff)
            }

            .popup-selected-article .article-data .article-data-text ul {
                list-style: none; /* Remove default bullets */
                font-family: "Assistant-Regular";
            }

                .popup-selected-article .article-data .article-data-text ul li:before {
                    content: "\2022"; /* Add content: \2022 is the CSS Code/unicode for a bullet */
                    color: var(--unnamed-color-19acff); /* Change the color */
                    font-weight: bold; /* If you want it to be bold */
                    display: inline-block; /* Needed to add space between the bullet and the text */
                    width: 1em; /* Also needed for space (tweak if needed) */
                    margin: 0 0em; /* Also needed for space (tweak if needed) */
                }

            .popup-selected-article .article-data .article-data-text ol {
                list-style: none; /* Remove default bullets */
                counter-reset: li
            }

                .popup-selected-article .article-data .article-data-text ol li {
                    counter-increment: li;
                    font-family: "Assistant-Regular";
                }

                    .popup-selected-article .article-data .article-data-text ol li:before {
                        content: counter(li); /* Add content: \2022 is the CSS Code/unicode for a bullet */
                        color: var(--unnamed-color-19acff); /* Change the color */
                        font-weight: bold; /* If you want it to be bold */
                        display: inline-block; /* Needed to add space between the bullet and the text */
                        width: 1em; /* Also needed for space (tweak if needed) */
                        margin: 0 0em; /* Also needed for space (tweak if needed) */
                    }

                .popup-selected-article .article-data .article-data-text ol li {
                    font-family: "Assistant-Regular";
                }


                    .popup-selected-article .article-data .article-data-text ol li p,
                    .popup-selected-article .article-data .article-data-text ul li p {
                        display: inline;
                    }

@media only screen and (max-width: 500px) {

    @keyframes roll-down-curtain {
        0% {
            height: 15px;
            overflow:hidden;
        }

        100% {
            height: 100px;
            overflow: visible;
        }
    }

    @keyframes roll-down-curtain-2 {
        0% {
            height: 15px;
            overflow: hidden;
        }

        100% {
            height: 150px;
            overflow: visible;
        }
    }

    .row-1 {
        background: none;
        min-width: 100%;
        min-height: 100px;
        height: 100px;
        grid-template-columns: 1fr;
        padding: 0 0px 0 0;
        background-size: cover;
        background: #fff;
        position: relative;
        z-index: 1;
        padding: 0;
        flex-direction: column;
        justify-content: flex-start;
    }
        .popup-selected-article .row-1::after,
        .row-1:after {
            content: "";
            background: url('/Content/Images/webp/Union 1.webp');
            background-position: bottom;
            background-repeat: no-repeat;
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 0;
            animation-name: roll-down-curtain-2;
            animation-duration: 0.3s;
            overflow: hidden;
            height: 100px;
        }
    .popup-selected-article .row-1::after {
        height: 150px
    }
    .popup-selected-article .row-1 .page-header,
    .row-1 .page-header {
        padding: 5px;
        font-size: 30px;
        z-index: 1;
        width: 100%;
    }

    .list-of-articles .one-article {
        width: calc(100vw - 20px);
        height: 180px;
        padding: 0 10px;
        margin: 10px auto;
    }

        .list-of-articles .one-article .blue-glass {
            width: 100%;
            height: 180px;
            background-color: rgba(25,172,255,0.5);
        }

    h2 {
        font-size: 20px !important;
    }
    .popup-selected-article .article-data .article-data-text p {
        font-size: 16px;
    }

    .header-and-image {
        height: 240px;
    }


    .popup-selected-article .article-image {
        height: 360px;
        width: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        margin-top: 0px;
        /* position: absolute; */
        top: 20px;
        z-index: 0;
    }
}


