html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* Differentiation Tracker ********************** */
/* ********************** */
body {
    background-color: #EEF0F2;
}

.header-area {
    padding: 70px 0;
    background: #16324F url(https://ecfr.eu/images/web/dt-dots.svg);
    background-repeat: no-repeat;
    background-size: 100%;
}

.header-area__menu {
    margin: 2rem 0;
}

.topline {
    display: flex;
    justify-content: space-between;
}

.titleitself {
    font-family: vag-rundschrift-d, sans-serif;
    font-weight: 400;
    font-size: 58px;
    line-height: 51px;
    display: flex;
    flex-direction: column;
    max-width: 70%;
}

.content-wrapper {
    margin: 1rem;
}

#titlea {
    color: #fff;
}

#titleb {
    color: #3DBBA5;
}

#advocacy_mapping #titleb {
    color: #fc5004
}

#logoarea {
    max-height: 40px;
}

#logo {
    height: 100px;
}

.top-nav {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    font-family: vag-rundschrift-d, sans-serif;
    font-weight: 300;
}

.top-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-nav li a,
.top-nav li button {
    background: none !important;
    border: none;
    font-family: inherit;
    cursor: pointer;

    color: white;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    padding: .5rem 0;
}

.top-nav li a:hover,
.top-nav li button:hover {
    color: #3DBBA5;
}

.top-nav li a:after,
.top-nav li button:after {
    content: "";
    display: block;
    background: url("https://ecfr.eu/archive/images/web/dt-arrow-right.svg") no-repeat;
    width: 16px;
    height: 12px;
    margin: 10px 0 0 10px;
    display: inline-block;
    margin-left: .5rem;
}

.top-nav li a:hover:after,
.top-nav li button:hover:after {
    background: url("https://ecfr.eu/archive/images/web/dt-arrow-right-white.svg") no-repeat;
    /* margin: 10px 0 0 10px; */
}

.map object {
    width: 100%;
    margin: 0 0 10%;
}

/* Buttons */
.btn:hover,
.btn:active,
.btn:focus,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #16324F;
    border-color: #16324F;
}

.country-selector {
    border-radius: 5px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.1);
    margin-top: -40px;
    margin-bottom: 1rem;
}

.country-selector-area ul {
    padding: 1rem;
    margin-left: 0;
}

.country-selector-area li {
    display: inline-block;
    padding: 1rem;
    list-style-type: none;
    width: 49%;
    font-family: vag-rundschrift-d, sans-serif;
    font-weight: 300;
    border-bottom: 1px solid #E5E9F2;
}

.country-selector-area li a {
    text-decoration: none;
    color: #273444;
}

.country-selector-area img {
    max-width: 24px;
    height: 17px;
    margin-right: .5rem;
    margin-top: .2rem;
}

/* Large and up */
@media screen and (min-width: 64em) {
    .header-area {
        padding: 70px 0;
    }

    .content-wrapper {
        width: 920px;
        margin: 0 auto;
    }

    .top-nav {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        width: 100%;
    }

    .top-nav ul {
        display: flex;
        justify-content: left;
        font-size: 18px;
    }

    .top-nav li a {
        padding: .5rem 0;
        border-bottom: 0;
    }

    .top-nav li+li {
        margin-left: 2rem;
    }

    .map object {
        width: 80%;
        margin: 0 10%;
    }

    .country-selector-area li {
        padding: 1rem .5rem;
        width: 174px;
        border-bottom: 0;
        margin-right: 0;
    }
}

/* end Large and up */

/* ********************** */
/* ********************** */

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

#whiteline {
    width: 100%;
    border-bottom: 1px solid #fff;
}

.intropara {
    font-family: 'Georgia', serif;
    font-size: 18px;
    line-height: 25px;
    color: #fff;
}

.socialline .fab {
    color: #fff;
    font-size: 1.5em;
    padding-right: 5px;
    padding-bottom: 50px;
}

.map {
    max-width: 540px;
    margin: auto;
    height: auto;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: none;
}

/* SHARE */
#share {
    margin: auto;
    width: auto;
    /* background: rgba(0,0,0,0.6); */
    padding: 10px;
    margin-bottom: 20px;
    color: #222;
    border-radius: 3px;
    position: relative;
    border: grey solid 1px;
    display: none;
}

#share ul {
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    padding: 10px 50px;
}

#share ul li {
    display: inline;
}

#share h3 {
    text-align: center;
}

.close-button {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 1rem;
    cursor: pointer;
}

/* MENU */
.menuarea {
    padding: 50px 0;
    display: flex;
    justify-content: center;
    background-color: #000;
    width: 100%;
}

.menuarea a {
    color: #fff;
}

.menuarea a:hover,
.menuarea li:hover,
.menuarea a:focus,
.menuarea li:focus {
    color: #33FFBA;
}

.menucontent {
    width: 920px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    color: #fff;
    text-transform: uppercase;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.blacktitles {
    font-family: 'Oswald', sans-serif;
    font-size: 27px;
    line-height: 34px;
}

span.activetitle a,
li.activetitle {
    color: #33FFBA;
}

.menudetails {
    padding: 30px 0;
}

.subtitles {
    font-family: 'Oswald', sans-serif;
    font-size: 27px;
    padding-right: 15px;
    text-transform: uppercase;
}

.whitearea {
    padding: 50px 0;
    display: flex;
    justify-content: center;
    background-color: #fff;
    width: 100%;
}

.whitecontent {
    width: 920px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}

.bigtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 58px;
    padding-right: 15px;
    color: #000;
    text-transform: uppercase;
}

.card {
    margin: 30px 0;
    padding: 3px 5px;
    color: #fff;
    display: flex;
    align-self: flex-start;
}

.wildcard {
    background-color: #B5B5FF;
    /* #33FFB9  #FF5A2C */
}

.pro {
    background-color: #33FFB9;
}

.anti {
    background-color: #FF5A2C;
}

#blackline {
    width: 100%;
    border-bottom: 1px solid #000;
}

.iconsline {
    display: flex;
    padding-top: 15px;
    padding-bottom: 50px;
}

.theicons {
    padding-right: 15px;
}

.theicons a {
    color: #222;
}

.theicons a:hover {
    color: #1e6b6f;
}

.theicons .fas {
    color: #6e6e6e;
}

.theicons>span {
    font-family: sans-serif;
}

.authorarea {
    padding-bottom: 30px;
    font-family: 'Georgia', serif;
    font-weight: bold;
    display: flex;
    flex-direction: column;
}

.textarea p {
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    line-height: 1.8rem;
}

.mobile-only {
    display: none;
}

/* SPECIFIC PUBLICATION */
.author {
    margin: 15px 0px;
    font-weight: bold;
}

.author a {
    color: white;
}

#arrow-up {
    position: fixed;
    bottom: 0px;
    right: 3px;
    width: 60px;
}

.layer-black {
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ACCORDIONS */
.accordion-area ul {
    list-style: none;
    padding: 0;
}

.accordion-area ul .inner {
    padding: 0 1rem;
    overflow: hidden;
    display: none;
    background-color: #ffffff;
    border-radius: 0px 0px 3px 3px;
}

.accordion-area ul li {
    margin: 0.6rem 0;
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.1);
}

/* Level 1 */

h2,
h3 {
    font-family: vag-rundschrift-d, sans-serif;
    font-weight: 300;
}

.accordion-area ul li h2.toggle {
    width: 100%;
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 3px;
    transition: background 0.3s ease;
    color: #379392;
    font-size: 21px;
    background-color: #ffffff;
}

/* Level 2 */
.accordion-area ul li ul li {
    box-shadow: none;
    margin: 0;
}

.accordion-area ul li ul .inner {
    margin: 0px;
    padding: 0px;
}

.accordion-area ul li ul {
    margin: 0px;
    padding: 0px;
}

.accordion-area ul li ul li h3.toggle {
    transition: background 0.3s ease;
    color: #0353A4;
    font-size: 18px;
    margin: 0;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #E5E9F2;
    border-radius: 0px;
}

.accordion-area ul li ul li h3.toggle:hover {
    background: #F7F7F7;
}

.accordion-area ul li ul li h3.toggle:before {
    content: '';
    background: url("https://ecfr.eu/archive/images/web/dt-square-button.svg") no-repeat;
    width: 24px;
    height: 16px;
    float: left;
    margin: 5px 0 0 0;
}

/* arrow */
.toggler:before {
    content: '';
    background: url("https://ecfr.eu/archive/images/web/dt-chevron-green.svg") no-repeat;
    width: 20px;
    height: 10px;
    float: right;
    margin: 10px 0 0 0;
}

.toggler.active:before {
    content: '';
    background: url("https://ecfr.eu/archive/images/web/dt-chevron-green-up.svg") no-repeat;
    background: url("https://ecfr.eu/archive/images/web/dt-chevron-green.svg") no-repeat;
}

/* TABLES */
table {
    border: none;
    width: 100%;
    overflow-x: auto;
    font-family: vag-rundschrift-d, sans-serif;
    font-weight: 300;
    margin-bottom: 0;
}

table a {
    color: #0353A4 !important;
    text-decoration: underline;
}

table a:hover {
    color: #4ba5a3 !important;
    text-decoration: underline;
}

table th,
table td,
table p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    color: #333333;
    font-family: sans-serif;
    vertical-align: top;
}

table th {
    font-family: vag-rundschrift-d, sans-serif;
    font-weight: 400;
    color: white;
    background-color: #4ba5a3;
    padding-top: 12px;
    padding-bottom: 12px;
    vertical-align: bottom;
}

@media only screen and (max-width: 40.063em) {
    .no-mobile {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .whitecontent {
        width: 100%;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
    }

    .titleitself {
        padding-bottom: 20px;
    }

    .header-area {
        padding: 5px 0;
    }

    #logoarea {
        max-height: 60px;
        padding-bottom: 20px;
        width: 115px;
    }

    #logo {
        height: 60px;
    }

    .titleitself {
        font-size: 30px;
        line-height: 100%;
    }

    .intropara {
        font-family: 'Georgia', serif;
        font-size: 16px;
        line-height: 140%;
        color: #fff;
    }

    .bigtitle {
        font-size: 42px;
        word-wrap: break-word;
    }

    .blacktitles,
    .subtitles a {
        font-family: 'Oswald', sans-serif;
        font-size: 21px;
        line-height: 150%;
    }

    .accordion-area ul li ul li h3.toggle {
        padding: 0.6rem 1rem 0.6rem 0;
    }
}

/* modal */
dialog,
.reveal {
    padding: 2.5rem;
}

h2.modalTitle {
    margin-bottom: 2rem;
    font-family: vag-rundschrift-d, sans-serif;
    font-weight: 300;
    color: #379392;
    font-size: 2rem;
    font-weight: bold;
}

.reveal p {
    column-count: 1;
}

.reveal a {
    color: #379392;
    text-decoration: underline;
}

.reveal a.close-button {
    text-decoration: none;
    font-size: 2rem;
}

#read h3 a,
#read h4 a {
    text-decoration: none;
}

#read .post {
    padding: 15px 0 5px 0;
    margin: 0;
    border-bottom: 1px solid #e8e8e8;
    min-height: auto;
    clear: both;
    position: relative;
    width: 100%;
    float: left;
}

#read .list-img {
    float: left;
    margin-bottom: 5px;
    margin-right: 0px;
    height: auto;
    width: 30%;
    margin-top: 8px;
}

#read .list-img-pub img {
    float: left;
    margin-right: 20px;
    height: auto;
    width: 70%;
    margin-top: 8px;
    border: 1px solid #e8e8e8;
    padding: 4px;
}

#read .list-content {
    float: left;
    margin-bottom: 20px;
    margin-right: 0px;
    height: auto;
    width: 70%;
    margin-top: 8px;
}

#read h3 {
    font-size: 21px;
}

@media print {
    a {
        width: 100%;
        display: block;
        padding: 0.6rem 1rem;
        border-radius: 3px;
        transition: background 0.3s ease;
        font-family: vag-rundschrift-d, sans-serif;
    font-weight: 300;
        color: #379392;
        font-size: 1px;
        background-color: #ffffff;
    }
}

/* July 2019 */
.country-selector .flag-icon {
    margin-right: .5rem;
}

/* Search bar */
/* https://stackoverflow.com/questions/46883381/fontawesome-in-search-bar */
.search-bar {
    position: relative;
}

.search-bar .icon {
    cursor: pointer;
    position: absolute;
    top: 47%;
    transform: translateY(-50%);
    padding: 12px 16px;
}

.search-bar .icon-search {
    left: 0;
}

.search-bar .icon-clear {
    display: none;
    right: 0;
}

.search-bar .input-text {
    padding: 8px 6px 8px 42px;
}

.option-bar {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: auto auto 1fr;
}

/* Icons for UNSCR 2334 compliance */
.contains-no p,
.contains-yes p,
.contains-partially p {
    display: inline;
}

.contains-no::before,
.contains-yes::before,
.contains-partially::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: .3rem;
}

.contains-no::before {
    content: "\f00d";
    color: red;
}

.contains-yes::before {
    content: "\f00c";
    color: green;
}

.contains-partially::before {
    content: "\f111";
    color: orange;
}

li.country-selector-item>a {
    display: grid;
    grid-template-columns: 21.328px 1fr;
    grid-gap: .5rem;
    justify-content: start;
}

li.country-selector-item>a .flag-icon {
    background-position: inherit;
    margin-top: 3px
}

select#cat-select,
input.input-text.live-search-box {
    font-family: vag-rundschrift-d, sans-serif;
    font-weight: 300;
}

.summary {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.summary p {
    font-family: vag-rundschrift-d, sans-serif;
    font-weight: 300;
    color: white;
    font-size: 1.2rem;
    line-height: 1.4;
}

select,
select:hover {
    background-color: white;
}

.tracker-accordion td strong {
    font-weight: normal;
}

.new-tag,
.tracker-accordion td strong::before {
    padding: 1px 4px;
    display: inline-block;
    font-size: .8rem;
    background-color: #16324F;
    color: white;
    border-radius: 2px;
    font-weight: bold;
}

.tracker-accordion td strong::before {
    content: 'New';
    margin-right: 4px;
}

svg .disabled {
    fill: #415D7B !important;
}

/* Hide Russia and Turkey */
svg #shape-ru,
svg #shape-tr {
    display: none;
}

svg #shape-mt {
    stroke-width: 1 !important;
    stroke: rgb(61, 187, 165) !important;
}

.section-agreements td:nth-child(4),
.section-agreements th:nth-child(4) {
    min-width: 96px;
}

/* Improve tables */
table tr.even,
table tr.alt,
table tr:nth-of-type(even) {
    background: inherit;
}

table {
    border-spacing: 0px;
}

td {
    border-bottom: 1px solid #E5E9F2;
}

tr:last-child td {
    border-bottom: none;
}

table>tr:first-child td,
table>tr:first-child th,
table tbody tr:first-child td,
table tbody tr:first-child th,
table thead tr:last-child td,
table thead tr:last-child th {
    border-bottom: 2px solid #E5E9F2;
}

.section-inner {
    padding-bottom: 12px
}

.credits {
    font-family: vag-rundschrift-d, sans-serif;
    font-weight: 300;
    margin-top: 3rem;
}

.credits p {
    margin: .5rem 0;
}

.credits span {
    font-weight: 400;
}

@media (min-width: 920px) {
    .credits {
        text-align: center;
    }

    .credits p {
        margin: 0;
        display: inline;
        margin-right: 1rem
    }
}

@media (max-width: 40.063em) {
    .tracker-accordion table {
        overflow-y: scroll;
        display: block;
        padding-right: 1rem;
        min-width: 150vw;
    }

    .tracker-accordion .section-inner {
        overflow-x: scroll;
        margin-right: -1rem;
    }

    th,
    td {
        width: auto;
    }

    .section-agreements table {
        width: 200vw;
        table-layout: fixed;
    }

    .section-agreements th:first-of-type,
    .section-agreements td:first-of-type {
        width: 40vw;
    }

    th:last-of-type,
    td:last-of-type {
        width: 80vw;
    }

    #logo {
        height: 50px !important;
        float: right;
    }

    .country-selector-area li {
        padding: .4rem;
        font-size: .85rem
    }

    .summary p {
        font-size: 1rem;
    }

    .option-bar {
        display: block;
    }
}

.option-bar label {
    display: inline;
    margin-left: 1rem;
    font-family: vag-rundschrift-d, sans-serif;
    font-weight: 300;
}

.reveal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1005;
    display: none;
    background-color: rgba(10, 10, 10, 0.45);
    overflow-y: auto;
}

.reveal {
    z-index: 1006;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: none;
    padding: 2rem;
    border-radius: 0;
    background-color: #fefefe;
    position: relative;
    top: 100px;
    margin-right: auto;
    margin-left: auto;
    overflow-y: auto;
    max-width: 720px;
}

th,
td {
    padding: .5rem;
}

th > * + *,
td > * + * {
    margin-top: .5rem;
}

.accordion-area table,
.accordion-area th,
.accordion-area tr,
.accordion-area td {
    width: auto !important;
    height: auto !important;
}