/* compare-countries - page */
body.compare-countries main .site-header {
    margin-bottom: 0 !important;
}

@media only screen and (max-width: 640px) {
    .page-header h1 {
        font-size: 1.8rem;
        line-height: 1.9rem;
    }
}

#compare-regulations .section.surface-d ul li a {
    display: block;
    border-radius: 5px;
    border: 1px solid rgba(255,0,0,0);
}

#compare-regulations .section.surface-d ul li a:focus-visible {
    border: 1px solid white;
}


#compare-regulations .section.surface-d .button.icon-download {
    margin-top: 4rem;
}

/* Compare regulations - Page */
#compare-regulations .cell .cell:not(.regulation-country-select) {
    min-height: 350px;
}

#compare-regulations .regulation-description .teaser .card-section.content,
#compare-regulations .regulation-comments .teaser .card-section.content {
    margin-bottom: 0 !important;
    display: block;
}

#compare-regulations .regulation-description .teaser .card-section.content,
#compare-regulations .regulation-comments .teaser .card-section.content,
#compare-regulations .regulation-metadata .teaser .card-section.content {
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.938rem;
    letter-spacing: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #202020;
}

#compare-regulations .regulation-description .teaser .card-section.content a,
#compare-regulations .regulation-comments .teaser .card-section.content a,
#compare-regulations .regulation-metadata .teaser .card-section.content a {
    font-weight: normal;
}

#compare-regulations .regulation-description .teaser .card-section.content a:not(:hover),
#compare-regulations .regulation-comments .teaser .card-section.content a:not(:hover),
#compare-regulations .regulation-metadata .teaser .card-section.content a:not(:hover) {
    color: rgb(0 55 78);
}

#compare-regulations .regulation-description .teaser .card-section.content ul li,
#compare-regulations .regulation-comments .teaser .card-section.content ul li,
#compare-regulations .regulation-metadata .teaser .card-section.content  ul li {
    position: relative;
    padding-left: 105px;
}

#compare-regulations .regulation-description .teaser .card-section.content ul li:before,
#compare-regulations .regulation-comments .teaser .card-section.content ul li:before,
#compare-regulations .regulation-metadata .teaser .card-section.content  ul li:before {
    content: " ";
    border-radius: 50%;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 11px;
    left: 60px;
    background-color: rgb(26, 47, 85);
}

#compare-regulations .regulation-description .teaser .card-section:not(.content),
#compare-regulations .regulation-comments .teaser .card-section:not(.content) {
    margin-top: 0 !important;
}

#compare-regulations .regulation-description .teaser .card-section:not(.content) ul.actions,
#compare-regulations .regulation-comments .teaser .card-section:not(.content) ul.actions {
    margin-top: 0;
}

#compare-regulations .teaser .actions a.secondary {
    padding-top: 0.7rem;
    padding-left: 0;
    padding-right: 0;
    width: auto;
    background: #e8eaee;
    color: #067eb1;
    color: #066b96;
}

#compare-regulations .teaser .actions a.secondary:focus-visible {
    outline: 1px solid black;
}


#compare-regulations .regulation-description .teaser .card-section.collapsed {
    padding: 0;
    margin: 27px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    -webkit-box-orient: vertical;
}

#compare-regulations .regulation-comments .teaser .card-section.collapsed {
    padding: 0;
    margin: 27px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
}

#compare-regulations .teaser .card-section {
    padding: 0;
    margin: 27px;
}

#compare-regulations .teaser .card-section .actions {
	display: block;
}


/* Card */
.card .card-divider {
    align-items: center;
    padding-bottom: 1.4rem;
}

.card .card-divider img {
    margin-right: 0.625rem;
    margin-top: 0.25rem;
}

.card.teaser .card-section ul.actions li a.show-more:focus,
.card.teaser .card-section ul.actions li a.show-more:focus-visible {
    color: white;
}

/* surface-d */
.surface-d {
    background: #265C53;
    color: #ffffff;
}

/* Featured legal regulations */
.page-header .grid-x.grid-margin-x.medium-up-2.large-up-3 {
    margin-bottom: 3rem; 
}

@media only screen and (min-width: 640px) {
    .page-header .grid-x.grid-margin-x.medium-up-2.large-up-3 .cell article.teaser.surface-b.featured .content-wrapper .content .inner {
        /*border: 1px solid red;*/
        height: 422px;
        overflow: hidden;
        position: relative;
    }


    .page-header .grid-x.grid-margin-x.medium-up-2.large-up-3 .cell article.teaser.surface-b.featured .content-wrapper .content .inner:before {
        content: '';
        /*border: 1px solid red;*/
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 62px;
        /*background: red;*/
        background: rgb(244,246,246);
        background: linear-gradient(180deg, rgba(244,246,246,0) 0%, rgba(244,246,246,1) 78%, rgba(244,246,246,1) 100%);
    }
}

/* Search database - block */
.page-header.surface-c.panel form.search-form .grid-margin-x div:nth-child(7) {
    width: calc(100% - 2.5rem);
}

/* Data insights - block  */
.page-header.panel .tabs-wrapper .tabs-content .tabs-panel .chart-box {
    margin-bottom: 3rem;
}

/*description & commentary*/
#description {
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.938rem;
    letter-spacing: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #202020;
}

#commentary {
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.938rem;
    letter-spacing: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #202020;
}


#description ul {
    list-style-type: none;
    font-weight: 300;
    font-size: calc(((16 / 16) * 1rem) + (20 - 16) * calc((var(--fluid-screen) - 360 / 16 * 1rem)/ (1920 - 360)));
    line-height: calc(((25 / 16) * 1rem) + (31 - 25) * calc((var(--fluid-screen) - 360 / 16 * 1rem)/ (1920 - 360)));
    letter-spacing: 0;
    margin-top: calc(((25 / 16) * 1rem) + (31 - 25) * calc((var(--fluid-screen) - 360 / 16 * 1rem)/ (1920 - 360)));
    margin-bottom: calc(((25 / 16) * 1rem) + (31 - 25) * calc((var(--fluid-screen) - 360 / 16 * 1rem)/ (1920 - 360)));
}

#commentary ul {
    list-style-type: none;
    font-weight: 300;
    font-size: calc(((16 / 16) * 1rem) + (20 - 16) * calc((var(--fluid-screen) - 360 / 16 * 1rem)/ (1920 - 360)));
    line-height: calc(((25 / 16) * 1rem) + (31 - 25) * calc((var(--fluid-screen) - 360 / 16 * 1rem)/ (1920 - 360)));
    letter-spacing: 0;
    margin-top: calc(((25 / 16) * 1rem) + (31 - 25) * calc((var(--fluid-screen) - 360 / 16 * 1rem)/ (1920 - 360)));
    margin-bottom: calc(((25 / 16) * 1rem) + (31 - 25) * calc((var(--fluid-screen) - 360 / 16 * 1rem)/ (1920 - 360)));
}

#description ul li,
#commentary ul li {
    padding-left: 6rem;
    position: relative;
}

#description ul li:before,
#commentary ul li:before {
    content: " ";
    top: var(--list-decor-top,calc(((8 / 16) * 1rem) + (11 - 8) * calc((var(--fluid-screen) - 360 / 16 * 1rem)/ (1920 - 360))));
    left: var(--list-decor-left,calc(((48 / 16) * 1rem) + (60 - 48) * calc((var(--fluid-screen) - 360 / 16 * 1rem)/ (1920 - 360))));
    width: var(--list-decor-size,calc(((10 / 16) * 1rem) + (12 - 10) * calc((var(--fluid-screen) - 360 / 16 * 1rem)/ (1920 - 360))));
    height: var(--list-decor-size,calc(((10 / 16) * 1rem) + (12 - 10) * calc((var(--fluid-screen) - 360 / 16 * 1rem)/ (1920 - 360))));
    border-radius: 50%;
    background-color: var(--list-decor-color);
    position: absolute;
    display: inline-block;
}


/* regulation-details */
#regulation-details.page-header.surface-c.panel .form {
    align-items: center;
    display: flex;
    margin-top: 1rem;
}

@media only screen and (min-width: 640px) {
    #regulation-details.page-header.surface-c.panel .form {
        -moz-transform: scale(1.4);
        -webkit-transform: scale(1.4);
        -o-transform: scale(1.4);
        -ms-transform: scale(1.4);
        transform: scale(1.4);
        width: calc(100% - 27%);
        margin: auto;
        margin-top: 1rem;
    }
}

#regulation-details.page-header.surface-c.panel .form img {
    width: 2rem;
}

@media only screen and (min-width: 640px) {
   #regulation-details.page-header.surface-c.panel .form img {
        width: 3.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    } 
}

#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown:not:focus-visible {
    outline: none;
}

#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown:focus-visible {
    outline: 1px solid white;
}

#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown {
    background: none;
    box-shadow: none;
    color: #B8BFCA;
    font-family: "Source Serif Pro",serif;
    font-weight: 700;
    font-size: 1.138rem;
    text-overflow: ellipsis;
    padding-right: 0.7rem;
    padding-left: 0.7rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    line-height: 2;
}

/* austria - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.austria {
    width: 6.3rem;
}

/* belgium - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.belgium {
    width: 7rem;
}

/* bulgaria - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.bulgaria {
    width: 7rem;
}

/* croatia - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.croatia {
    width: 6.5rem;
}

/* cyprus - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.cyprus {
    width: 6.2rem;
}

/* czechia - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.czechia {
    width: 6.4rem;
}

/* denmark - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.denmark {
    width: 7.4rem;
}

/* estonia - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.estonia {
    width: 6.4rem;
}

/* finland - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.finland {
    width: 6.4rem;
}

/* france - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.france {
    width: 6.2rem;
}

/* germany - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.germany {
    width: 7.2rem;
}

/* greece - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.greece {
    width: 6.1rem;
}

/* hungary - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.hungary {
    width: 7.1rem;
}

/* ireland - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.ireland {
    width: 6.2rem;
}

/* italy - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.italy {
    width: 5.2rem;
}

/* latvia - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.latvia {
    width: 5.7rem;
}

/* lithuania - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.lithuania {
    width: 7.7rem;
}

/* luxembourg - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.luxembourg {
    width: 8.9rem;
}

/* malta - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.malta {
    width: 5.7rem;
}

/* netherlands - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.netherlands {
    width: 8.8rem;
}

/* norway - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.norway {
    width: 6.5rem;
}

/* poland - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.poland {
    width: 6.1rem;
}

/* portugal - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.portugal {
    width: 7.1rem;
}

/* romania - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.romania {
    width: 7.1rem;
}

/* slovakia - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.slovakia {
    width: 7.1rem;
}

/* slovenia - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.slovenia {
    width: 7.1rem;
}

/* spain - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.spain {
    width: 5.4rem;
}

/* sweden - mobile */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.sweden {
    width: 6.4rem;
}

/* united-kingdom - desktop */
#regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.united-kingdom {
    width: 10.9rem;
}


@media only screen and (min-width: 640px) {
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown {
        font-size: 1.538rem;
    }

    /* austria - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.austria {
        width: 8rem;
    }

    /* belgium - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.belgium {
        width: 9rem;
    }

    /* bulgaria - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.bulgaria {
        width: 9rem;
    }

    /* croatia - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.croatia {
        width: 8rem;
    }

    /* cyprus - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.cyprus {
        width: 8.1rem;
    }

    /* czechia - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.czechia {
        width: 8.3rem;
    }

    /* denmark - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.denmark {
        width: 9.4rem;
    }

    /* estonia - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.estonia {
        width: 8.4rem;
    }

    /* finland - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.finland {
        width: 8.4rem;
    }

    /* france - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.france {
        width: 8.2rem;
    }

    /* germany - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.germany {
        width: 9.2rem;
    }

    /* greece - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.greece {
        width: 8.1rem;
    }

    /* hungary - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.hungary {
        width: 9.1rem;
    }

    /* ireland - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.ireland {
        width: 8.1rem;
    }

    /* italy - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.italy {
        width: 6.2rem;
    }

    /* latvia - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.latvia {
        width: 7.2rem;
    }

    /* lithuania - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.lithuania {
        width: 9.7rem;
    }

    /* luxembourg - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.luxembourg {
        width: 11.9rem;
    }

    /* malta - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.malta {
        width: 6.7rem;
    }

    /* netherlands - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.netherlands {
        width: 11.7rem;
    }

    /* norway - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.norway {
        width: 8.5rem;
    }

    /* poland - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.poland {
        width: 7.8rem;
    }

    /* portugal - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.portugal {
        width: 9.1rem;
    }

    /* romania - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.romania {
        width: 9.1rem;
    }

    /* slovakia - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.slovakia {
        width: 9.1rem;
    }

    /* slovenia - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.slovenia {
        width: 9.1rem;
    }

    /* spain - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.spain {
        width: 7.1rem;
    }

    /* sweden - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.sweden {
        width: 8.4rem;
    }

    /* united-kingdom - desktop */
    #regulation-details.page-header.surface-c.panel .form .field-type-select span.input select#country-dropdown.united-kingdom {
        width: 14.4rem;
    }


}

#regulation-details.page-header.surface-c.panel .form .field-type-select .input:after {
    color: #86CCBD;
    position: relative;
    right: 1.4rem;
}


@media only screen and (min-width: 640px) {
    #regulation-details.page-header.surface-c.panel .form .field-type-select .input:after {
        right: 1.8rem;
    }   
}


footer {
    background: #22574e;
}

footer .footer-top ul li a {
    background: #2e5c53;
    background: #2e5c53;
}
