/* CIRAS theme styles */

@import url("./fonts-open-sans/fonts.css");

:root {
    --ciras-white: white;
    --ciras-blue: #004F9F;
    --blue-light: #A8C7E5;
    --blue-dark: #003264;
    --red-main: #CB0538;
    --red-dark: #B63446;
    --green-main: #78A987;
    --gray-main: #6E7881;
    --bs-body-font-family: "Open Sans", sans-serif;
    --headline1-font-size: 55px;
    --headline2-font-size: 35px;
    --headline3-font-size: 20px;
    --large-font-size: 18px;
    --main-font-size: 16px;
    --small-font-size: 14px;
    --main-font-weight: 400;
    --bold-font-weight: 700;
    --bs-border-color-translucent: var(--blue-light);
    --bs-border-radius: 10px;
    --bs-heading-color: var(--ciras-blue);
    --main-box-padding-x: 0.5em;
    --main-box-padding-y: 1em;
    --bs-box-shadow: 0px 4px 4px 0px rgb(0 0 0 / 25%);
    --input-border-width: 1px;
    --input-border-radius: 6px;
    --input-border-color: var(--ciras-blue);
    --input-padding-x: 1em;
    --input-padding-y: 0.5em;
    --tiny-border-radius: 4px;
}

html {

* a {
    text-underline-offset: 0.2rem;
}

a:focus, a:hover {
    color: var(--ciras-blue);
    text-decoration: underline;
}

body, #root {
    font-family: "Open Sans", sans-serif;
}

h3, .tw-text-lg {
    font-size: var(--large-font-size);
    text-transform: uppercase;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding-right: 5px;
    padding-left: 5px;
}


#content-header {
    padding-top: 0;
}

#portal-header {
    display: flex;
    align-items: flex-end;
    height: 134px;
    margin-bottom: 1em;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}

#portal-logo-wrapper {
    height: 134px;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0px;
    margin-top: 0px;
}

#portal-logo {
    height: 134px;
    display: flex;
    flex-direction: row-reverse;
    width: 250px;
}

#portal-logo-img {
    width: 120px;
}

#portal-logo-title {
    width: 129px;
    height: 134px;
    color: transparent;
    font-size: 1px;
    display: block;
    margin-left: 0;
    padding-right: 10px;
    background-image: url('./images/ciras_logo_.png');
    background-repeat: no-repeat;
    background-position: -4px 0px;
    border: none;
}

#mainnavigation {
    font-size: var(--nav-font-size);
}

.navbar-barceloneta {
    --bs-navbar-color: var(--ciras-blue);
    --bs-navbar-active-color: var(--ciras-blue);
    --bs-navbar-hover-color: var(--ciras-blue);
    --bs-navbar-background: transparent;
    --bs-navbar-active-background: transparent;
    --bs-navbar-hover-background: transparent;
    --bs-navbar-nav-link-padding-y: 0.5rem;
}

.navbar-nav li a:focus, .navbar-nav li a:hover {
    text-decoration: underline;
}

.navbar-nav li.login {
    margin-left: 1em;
}


.navbar-nav li.login a {
    background-color: var(--ciras-blue);
    border-radius: var(--bs-border-radius);
    color: white;
}

.navbar-nav li span {
    display: none !important;
}


.navbar {
    /* Show the hamburger button on the bottom of the header.
     * Also applies to the normal navigation, which is no flexbox, but does not
     * do harm.
     **/
    align-self: flex-end;
}

#mainnavigation-wrapper {
    display: flex;
    flex-direction: column-reverse;
    background-color: #32339C;
    background-image: url('./images/header-bg.webp');
    background-repeat: no-repeat;
    border: none;
}

#mainnavigation-wrapper .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 149px;
    background-color: transparent;
    margin-top: 0;
    margin-bottom: 0;
}

#mainnavigation-wrapper .container h1 {
    color: var(--ciras-white);
    font-size: var(--headline2-font-size);
    font-weight: var(--bold-font-weight);
    line-height: 1.5em;
    text-transform: uppercase;
    vertical-align: middle;
    padding-top: 0.5em;
}

#mainnavigation-wrapper #portal-breadcrumbs {
    background: white;
}

#mainnavigation-wrapper #portal-breadcrumbs .container {
    background: white;
    color: var(--bs-body-color);
    height: 50px;
    padding-top: 2em;
    padding-bottom: 2em;
}

#mainnavigation-wrapper #portal-breadcrumbs .container ol.breadcrumb {
    background-image: url('./images/homepage-icon.png');
    background-repeat: no-repeat;
    background-position: 0px 8px;
    padding-left: 1.5em;
}

#portal-breadcrumbs .breadcrumb-item a,
#portal-breadcrumbs .breadcrumb-item a:hover,
#portal-breadcrumbs .breadcrumb-item a:link,
#portal-breadcrumbs .breadcrumb-item a:active,
#portal-breadcrumbs .breadcrumb-item.active {
    color: var(--bs-body-color);
}

#portal-breadcrumbs .breadcrumb-item a:hover {
    text-decoration: underline;
}

#portal-breadcrumbs .breadcrumb-item.active {
    font-weight: bold;
    text-decoration: underline;
}

#portal-footer-wrapper,
#footer-copyright {
    font-size: var(--nav-font-size);
    background-color: var(--ciras-blue);
    color: var(--ciras-white);
}

#portal-footer-wrapper h6 {
    color: var(--ciras-white);
    font-size: var(--nav-font-size);
    font-weight: var(--main-font-weight);
}

#portal-footer-wrapper a,
#portal-footer-wrapper a:hover,
#portal-footer-wrapper a:link,
#portal-footer-wrapper a:active {
    color: var(--ciras-white);
    text-decoration: none;
}

#portal-footer-wrapper a:hover {
    color: var(--blue-light);
    text-decoration: underline;
}


.footer-sections {
    dislpay: flex;
    flex-flow: row wrap;
    padding: 0.8em 0;
}

#portal-footer-wrapper .footer-about a {
    text-decoration: underline;
    font-weight: var(--bold-font-weight);
}

.footer-about {
    text-align: left;
    flex-grow: 0;
    padding-right: 5em;
}

.footer-links {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    padding: 0 0 1em 0;
    border-left: none;
}

.footer-links ul.list-footer-links,
.footer-social ul.list-social-media {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    margin-bottom: 0;
}

.footer-links ul.list-footer-links li {
    margin: 0;
    padding: 0 0 0 1.5em;
}

.footer-social {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    flex-grow: 1;
    height: 55px;
    padding: 1.5em 0;
    border-left: none;
    border-top: 1px solid var(--ciras-white);
}

.footer-social h6 {
    whitespace: nowrap;
    flex-grow: 2;
}

.list-social-media img {
    width: 30px;
    height: auto;
    display: none;
}

.list-social-media a {
    color: white;
    background-color: transparent;
    background-image: url('./images/youtube-icon.svg');
    background-repeat: no-repeat;
    background-position: 0px 0px;
    width: 30px;
    height: 30px;
    padding-left: 0.5em;
}

.list-social-media li:nth-of-type(1) a {
    background-image: url('./images/x-social-media-black-icon.svg');
}

.list-social-media li:nth-of-type(2) a {
    background-image: url('./images/facebook-round-color-icon.svg');
}

.list-social-media li:nth-of-type(3) a {
    background-image: url('./images/linkedin-square-icon.svg');
}

.list-social-media li:nth-of-type(4) a {
    background-image: url('./images/youtube-icon.svg');
}

/* content part */
#main-container {
    padding-top: 0;
    padding-bottom: 2em;
}

article#content {
    margin-top: 2em;
}

#content-core {
    margin-bottom: 0;
}

#content-core .container {
    padding-left: 0;
    padding-right: 0;
}

.ciras-box {
    margin: 0.5em 0;
    padding: 1.5em 0;
}

.ciras-box-hero {
    padding-left: 5px;
    padding-right: 5px;
}

.ciras-box h1 {
    width: 100%;
}

.ciras-box legend {
    font-size: var(--main-font-size);
    font-style: italic;
    text-align: right;
    margin-top: 1em;
}

.ciras-box .content-text a {
    text-decoration: underline;
}

.ciras-box .content-text {
    font-size: var(--main-font-size);
    margin-bottom: 2em;
}

.ciras-box-hero .content-img {
    width: 100%;
    height: 344px;
    overflow: hidden;
}

.ciras-box-hero img {
    position: absolute;
    width: 961px;
    height: 344px;
}

.ciras-box-hero .content-text {
    font-size: var(--large-font-size);
}

.ciras-box-hero h1 {
    color: var(--ciras-blue);
    font-size: var(--headline1-font-size);
    font-weight: var(--bold-font-weight);
    line-height: 1.5em;
    text-transform: uppercase;
    margin-bottom: 1em;
}

.ciras-box-home-2 .col-60 {
    display: flex;
    flex-direction: column;
}


.ciras-box-home-2 .content-img {
    align-self: center;
}

.article-card {
    display: block;
    width: 100%;
    padding: 0;
}

.article-card a:hover:after {
    content: "";
}

.article-list li {
    width: 100%;
}

.article-card .article-link {
    display: flex;
    flex-direction: row;
    background: linear-gradient(90deg, var(--blue-dark) 0%, var(--ciras-blue) 100%);
    border-radius: var(--bs-border-radius);
    padding: 5px;
    width: 100%;
    min-width: 390px;
}

.article-card .article-image {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    height: 80px;
}

.article-card .article-data {
    background: transparent;
    background-image: url('./images/angle-circle-arrow-right-icon.png');
    background-repeat: no-repeat;
    background-position: center right;
    height: auto;
    width: 100%;
    padding: 0;
    margin-right: 10px;
}

.article-card a {
    animation: none;
}

.ciras-box-home-3 .col-100 {
    max-width: 60%;
}

.ciras-box-home-3 .bullet-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.ciras-box-home-3 .bullet-list li {
    background-image: url('./images/government-icon.png');
    background-repeat: no-repeat;
    background-position: top left;
    width: 48%;
    min-width: 390px;
    padding-left: 95px;
    padding-top: 15px;
    margin: 1em 0;
    height: 80px;
}

.ciras-box-home-3 .bullet-list li.image-list-authorities {
    background-image: url('./images/government-icon.png');
}

.ciras-box-home-3 .bullet-list li.image-list-services {
    background-image: url('./images/office-building-icon.png');
}

.ciras-box-home-3 .bullet-list li.image-list-tresholds {
    background-image: url('./images/write-content-icon.png');
}

.ciras-box-home-3 .bullet-list li.image-list-requirements {
    background-image: url('./images/secure-icon.png');
}


/* main field elements */

.fieldset,
.cards {
    border: none;
    border-top: 3px solid var(--red-main);
    margin: 0.5em 0;
    padding: var(--main-box-padding-y) var(--main-box-padding-x);
}

.fieldset::before {
    content: '';
    background-color: #ffffff;
    background-image: url('./images/angle-bottom-icon.png');
    background-repeat: no-repeat;
    background-position: 50% 0;
    position: absolute;
    top: -9px;
    left: 50%;
    width: 60px;
    height: 20px;
    margin-left: -30px;
    padding: 0px var(--main-box-padding-x);
}

.fieldset .fieldset-title {
    font-size: var(--headline2-font-size);
    font-weight: var(--bold-font-weight);
    color: var(--ciras-blue);
    text-transform: none;
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0.25em 0 0 0;

}

/* homepage specials */

body.portaltype-cirassectorpublic #content-header {
    box-shadow: var(--bs-box-shadow);
    width: 100%;
}

body.portaltype-cirassectorpublic #mainnavigation-wrapper {
    display: none;
}

/* Necessary to move the navigation relatively up into the blue bar */
#content-core {
    position: relative;
}

/* We never want to see the loggedinas item */
#ciras-navigation .navigation-right a:nth-of-type(2) {
    display: none;
}

/* Everywere, the navigation should move up into the header bar */
#ciras-navigation {
    /* width: 100%; */
    position: absolute;
    top: -150px;
    right: 0;
}

/* Conditional navigation - in some cases, we don't want certain items.
   this makes the difference between ciras v1 and ciras v2 */

/* If on ciras v1: */
body.portaltype-ciras-public #portal-globalnav .eu_dashboard.nav-item,
body.portaltype-ciras-public #portal-globalnav .incident_search.nav-item,
body.portaltype-ciras-public2 #portal-globalnav .eu_dashboard.nav-item,
body.portaltype-ciras-public2 #portal-globalnav .incident_search.nav-item,
body.portaltype-ciras-reporting #portal-globalnav .eu_dashboard.nav-item,
body.portaltype-ciras-reporting #portal-globalnav .incident_search.nav-item {
    display: none;
}

body.portaltype-ciras-public2 ul.article-list,
body.portaltype-ciras-reporting ul.article-list {
    width: 500px;
    margin: 1rem auto;
}

body.portaltype-ciras-public2 ul.article-list li,
body.portaltype-ciras-reporting ul.article-list li {
    margin: 0.5rem 0;
}

/* If on ciras v2: */
body.portaltype-cirassectorpublic #ciras-navigation .navigation-sections a,
body.portaltype-ciras-sector_reporting #ciras-navigation .navigation-sections a {
    display: none;
}

body.portaltype-ciras-sector_reporting #ciras-navigation .navigation-right a {
    color: white;
}

body.portaltype-cirassectorpublic #ciras-navigation .navigation-right a {
    color: rgb(0, 79, 159);
}

body.portaltype-cirassectorpublic #ciras-navigation .navigation-right a:hover,
body.portaltype-ciras-sector_reporting #ciras-navigation .navigation-right a:hover {
    text-decoration: underline;
}

body.portaltype-cirassectorpublic .ciras-icon-gear,
body.portaltype-ciras-sector_reporting .ciras-icon-gear {
    background-color: rgb(0, 79, 159);
    -webkit-mask-image: url(../../++resource++ciras.reporting.static/icons/icon-gear.svg);
    mask-image: url(../../++resource++ciras.reporting.static/icons/icon-gear.svg);
}

/* Never show the tracker anymore */
#portal-globalnav .issue-tracker.nav-item {
    display: none;
}


#portal-top {
    display: none !important;
}

/* incident search */

body.template-search .cards .field-with-padding,
body.template-search .selectr-container .selectr-placeholder,
body.template-search .selectr-container textarea::placeholder {
    padding: 0;
}

.button-bar {
    text-align: right;
}

#downloadXLSX,
a.download-btn,
a.download-btn:hover,
a.download-btn:visited,
a.download-btn:active {
    color: var(--ciras-white);
    font-size: var(--main-font-size);
    font-weight: var(--bold-font-weight);
    text-decoration: none;
    background-color: var(--red-dark);
    background-image: url('./images/download-file-round-icon.svg');
    background-repeat: no-repeat;
    background-position: 95% center;
    padding-right: 2.5em !important;
}

.filter-keywords {
    margin-top: 30px;
}

.filter-keywords label,
.filter-title {
    display: none;
}

.filters-header {
    font-size: var(--headline3-font-size);
    font-weight: var(--bold-font-weight);
    color: var(--ciras-blue);
    background-image: url('./images/filters-icon.svg');
    background-repeat: no-repeat;
    background-position: left center;
    height: 28px;
    padding-left: 40px;
}

.filter-body {
    position: relative;
    top: -10px;
    padding: 0;
    background: transparent;
    margin-top: -10px;
}

.filter-body-text {
    font-size: var(--main-font-size);
    font-weight: var(--bold-font-weight);
    color: var(--ciras-blue);
    position: relative;
    top: 33px;
    left: 1em;
    z-index: 2;
}

.selectr-placeholder {
    color: white;
}

input:not([type=checkbox]):not([type=radio]),
.selectr-input {
    border-width: var(--input-border-width);
    border-color: var(--input-border-color);
    border-radius: var(--input-border-radius);
    padding: var(--input-padding-y) var(--input-padding-x);
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: 0px;
}

input::placeholder {
    font-style: italic;
    opacity: 0.5;
}

.selectr-selected {
    border-width: var(--input-border-width);
    border-color: var(--input-border-color);
    border-radius: var(--input-border-radius);
    padding: var(--input-padding-y) var(--input-padding-x);
}

.selectr-selected::before,
.selectr-container.native-open .selectr-selected::before,
.selectr-container.open .selectr-selected::before {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 17px;
    height: 17px;
    content: '';
    padding: 0;
    margin: -6px 0 0 0;
    background-color: white;
    background-image: url('./images/angle-bottom-blue-icon.svg');
    background-repeat: no-repeat;
    background-position: 0px 0px;
    border: none;
    transform: none;
}

.selectr-container.native-open .selectr-selected::before,
.selectr-container.open .selectr-selected::before {
    transform: rotate(0.5turn);
}

.selectr-container.has-selected .selectr-selected {
    z-index: 3;
}

.selectr-options-container {
    border-color: var(--input-border-color);
    border-radius: var(--input-border-radius);
}

.selectr-container.open .selectr-selected {
    border-color: var(--input-border-color);
    border-radius: var(--input-border-radius);
}

.selectr-options-container {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    margin-top: -5px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.selectr-option.active {
    color: #fff;
    background-color: var(--ciras-blue);
}

.selectr-tag {
    background: var(--ciras-blue);
}


.search-area {
    margin-bottom: 2em;
}

.search-area #result-stats {
    text-align: right;
    font-size: var(--large-font-size);
    text-transform: uppercase;

}

.search-area #result-stats p {
    margin-bottom: 0.5em;
}

.filters fieldset {
    padding: 20px 0;

}

.filters fieldset legend {
    font-size: var(--large-font-size);
    font-weight: var(--bold-font-weight);
    color: var(--ciras-blue);
    background-image: url('./images/goal-icon.svg');
    background-repeat: no-repeat;
    background-position: left center;
    height: 28px;
    padding-left: 35px;
}

.filters fieldset legend.sector {
    background-image: url('./images/goal-icon.svg');
}

.filters fieldset legend.technology {
    background-image: url('./images/desktop-application-app-icon.svg');
}

.filters fieldset legend.risks {
    background-image: url('./images/secure-icon.svg');
}

.cards {
    display: flex;
    flex-direction: column;
    background: transparent;
    border-top-color: var(--green-main);
    margin: 0;
    padding-right: 2px;
    padding-left: 2px;
}

.cards::before {
    content: '';
    background-color: #ffffff;
    background-image: url('./images/angle-bottom-green-icon.png');
    background-repeat: no-repeat;
    background-position: 50% 0;
    position: relative;
    top: -24px;
    left: 50%;
    width: 60px !important;
    height: 20px;
    margin-left: -30px;
    padding: 0px var(--main-box-padding-x);
}

.card {
    box-shadow: var(--bs-box-shadow);
    background: transparent;
    padding: 1em;
    width: auto;
}

a.incident-id {
    font-size: var(--headline3-font-size);
    font-weight: var(--bold-font-weight);
    text-transform: uppercase;
    margin-bottom: 1em;
}

a.incident-id span.has_notification {
    font-size: var(--main-font-size);
    font-weight: var(--main-font-weight);
    color: var(--red-main);
}

.card .state-info {
    color: var(--blue-dark);
    font-size: var(--main-font-size);
    text-transform: uppercase;
    margin: 0.5em 0 0.2em 1em;
    padding: 0 0.5em;
    background-color: var(--green-main);
    border-radius: var(--input-border-radius);
}

.card .state-info.active {
    color: var(--blue-dark);
    background-color: var(--green-main);
}

.card .state-info.resolved {
    color: var(--ciras-white);
    background-color: var(--ciras-blue);
}

.card .country-info {
    color: var(--blue-dark);
    font-size: var(--main-font-size);
    text-transform: none;
    margin: 0.5em 0 0.2em 1em;
    padding: 0 0.5em;
    width: auto;
    display: block;
    float: right;
    background-color: var(--ciras-white);
    border: 1px solid var(--green-main);
    border-radius: var(--input-border-radius);
}

.card .date-info {
    color: var(--bs-body-color);
    font-size: var(--main-font-size);
    padding: 0.2em 0 0.2em 35px;
    background-color: #ffffff;
    background-image: url('./images/calendar-blank-icon.svg');
    background-repeat: no-repeat;
    background-position: 0 0;
    margin: 0 0 1em 0;
}

.tabs {
    margin-top: 2em;
}

details.tab {
    border-bottom: 1px solid var(--bs-border-color-translucent);
    margin-bottom: -1px;
}

/* Details marker on form tabs. Hide it. */
details.tab summary::-webkit-details-marker,
details.tab summary::marker {
    content: "";
    opacity: 0;
    display: none;
}

details.tab summary {
    padding: 0.5em 1.5em 0.5em 1em;
    margin-bottom: -1px;
}

details.tab[open] summary {
    border-bottom: 4px solid var(--ciras-blue);
}

.tab1[open] ~ .tab__content--tab1,
.tab2[open] ~ .tab__content--tab2,
.tab3[open] ~ .tab__content--tab3,
.tab4[open] ~ .tab__content--tab4 {
    display: block;
}

details.tab h3 {
    background-image: url('./images/goal-icon.svg');
    background-repeat: no-repeat;
    background-position: left center;
    line-height: 28px;
    margin-bottom: 0;
    height: 28px;
    padding-left: 35px;
    white-space: nowrap;
}

.template-incident details.tab1 h3 {
    background-image: url('./images/goal-icon.svg');
}

.template-incident details.tab2 h3 {
    background-image: url('./images/desktop-application-app-icon.svg');
}

.template-incident details.tab3 h3 {
    background-image: url('./images/secure-icon.svg');
}

.template-eu-status details.tab h3 {
    background-image: url('./images/year-icon.svg');
    background-size: 40px 40px;
    line-height: 40px;
    height: 40px;
    padding-left: 50px;
}

.template-eu-status details.tab1 h3 {
    background-image: url('./images/year-icon.svg');
}

.template-eu-status details.tab2 h3 {
    background-image: url('./images/year-icon-1.svg');
}

.template-eu-status details.tab3 h3 {
    background-image: url('./images/goal-icon.svg');
}

.template-eu-status details.tab4 h3 {
    background-image: url('./images/workflow-icon.svg');
}

.template-eu-status .tab__content {
    padding-top: 1em;
}

details.tab .number {
    color: var (--bs-body-color);
    font-size: var(--small-font-size);
    background: var(--bs-border-color-translucent);
    border-radius: var(--tiny-border-radius);
    line-height: 20px;
    height: 20px;
    width: 23px;
    xpadding: 0 0.5em;
    text-align: center;
    margin: 0.2em 0 0 1em;
}

.tab__content {
    border-top: 1px solid var(--bs-border-color-translucent);
}


.blue-fields,
.field-with-padding {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
}

.field-label-card,
.field-title {
    color: var(--blue-dark);
    font-size: var(--main-font-size);
    text-transform: uppercase;
    margin: 0.3em 0;
    padding: 0;
}

.blue-fields ul,
.gray-fields ul,
.field-sectors ul {
    display: flex;
    flex-flow: row wrap;
    list-style: none;
    margin: 0 -1px 0 0;
    padding: 0;
    overflow: hidden;
}

.field-view ul li:before {
    display: none;
}

.field-sectors ul {
    margin-right: 0;
}

.blue-fields ul li,
.gray-fields ul li {
    margin: 0.3em 0 0.3em 1em;
    padding: 0 1em 0 0;
    border-right: 1px solid var(--red-main);
    position: relative;
    left: 1px;
}

.field-sectors .field-body {
    padding: 0;
}

.field-sectors ul li {
    margin: 0em 0 0.2em 1em;
    padding: 0 0.5em;
    border: 1px solid var(--green-main);
    border-radius: var(--input-border-radius);
    position: relative;
    left: 0px;
}

.incident-intro .field-view {
    padding: 0.5em 0;
}

.incident-section-body {
    padding-left: 0em;
}

.template-incident .incident-section-title {
    display: none;
}

.field-view-impact_scale {
    border-top: none;
}

.field-view .field-body {
    margin: 0.3em 0 0.3em 0em;
    padding: 0 1em 0 0;
}

.country-year-cards .page-numbers {
    flex-flow: row wrap;
}

.page-numbers {
    display: flex;
    flex-flow: column wrap;
    self-align: center;
}

/* incident view */
#content-core h2 {
    font-size: var(--headline2-font-size);
    color: var(--ciras-blue);
}


.incident-impact-scale {
    width: 488px;
}

.incident-impact-scale-title {
    font-size: var(--main-font-size);
    text-transform: uppercase;
    color: var(--blue-dark);
}

.incident-impact-graph {
    color: var(--bs-body-color);
    position: relative;
    width: 520px;
    margin-left: -50px;
    margin-top: 1em;
}

.incident-graph-bar {
    background-color: var(--gray-main);
    height: 5px;
    width: 75%;
    top: 9px;
    left: 12.5%;
    position: absolute;
    z-index: 1;
}

.incident-graph-bar.active {
    background-color: var(--red-main);
    width: 25%;
    z-index: 2;
}

.impact-scale {
    font-size: var(--small-font-size);
    color: var(--gray-main);
    white-space: nowrap;
    width: 50px;
    text-align: center;
    background-color: transparent;
    background-image: url('./images/circle-gray-bg.svg');
    background-repeat: no-repeat;
    background-position: 50% 0;
    top: 0;
    left: 50%;
    height: auto;
    padding-top: 30px;
    z-index: 3;
}

.impact-scale.active {
    color: var(--bs-body-color);
    background-image: url('./images/circle-red-bg.svg');
}

/* eu dashboard */

.template-eu-status .tab__content article header {
    padding: 1em;
    border-bottom: 2px solid var(--red-dark);
}

.template-eu-status .tab__content article header h3,
.template-eu-status .tab__content article header a,
.template-eu-status .tab__content article header a:active,
.template-eu-status .tab__content article header a:hover,
.template-eu-status .tab__content article header a:visited {
    font-size: var(--main-font-size);
    color: var(--red-dark);
    text-transform: none;
    xmargin-right: 2em;
}

.template-eu-status .tab__content article header a:hover {
    text-decoration: none;
}

.template-eu-status .tab__content article header a {
    background-color: transparent;
    background-image: url('./images/download-file-round-icon-red.svg');
    background-repeat: no-repeat;
    background-position: center right;
    padding-right: 28px;
}


footer.btns small {
    font-size: var(--small-font-size);
    font-style: italic;
}

/* Products.Poi (Plone issue tracker) styles */

.poi-actions {
    display: flex;
}

.poi-actions .trackerAction {
    display: inline-flex;
}

.poi-actions button.context,
.poi-actions a.context,
.poi-actions button.context a {
    background-color: white;
    color: #1d1d1b;
    background-color: white;
}

.poi-actions a.standalone {
    border: 1px solid black;
}

.poi-actions button.context a:hover,
.poi-actions a.context:hover,
.poi-actions button.context:hover {
    background-color: #e9e9e9;
    text-decoration: none;
}

.poi-actions .issue-search-link {
    color: #fab133; /* enisa-color-orange */
}

.trackerAction {
    float: none !important;
}

.trackerAction .standalone,
.trackerAction .context {
    text-shadow: none;
}

.h1-tracker-backlink,
.h1-tracker-backlink:hover,
.h1-tracker-backlink:active,
.h1-tracker-backlink:visited {
    color: white;
    text-decoration: none;
    border-bottom: none;
}

.panel .panel-heading,
.poi-issue-heading .description {
    min-height: 3rem;
}

.poi-issue-title-actions {
    margin-bottom: 1rem;
}

.issue-panel {
    border: 1px solid #e5e5e5;
    background-color: #f6f6f6;
    padding: 0.5rem;
}

.issue-info-box,
.issue-info-box tr,
.issue-info-box tr td,
.issue-info-box tr th {
    border: none;
    background: none;
}

.issue-info-box tr td {
    width: auto;
}

/* mobile styles */

@media (max-width: 1199.98px) {
    .footer-about {
        display: block;
        margin-left: 0;
        margin-right: auto;
        max-width: 100%;
    }

    .footer-links,
    .footer-social {
        justify-content: center
    }

    .
    .footer-links ul.list-footer-links li,
    .list-social-media li {
        margin: 0;
        padding: 0 1em;
    }

    .ciras-box-hero .content-img {
        width: 100%;
        height: auto;
    }

    .ciras-box-hero img {
        position: relative;
        height: auto;
    }

    .incident-impact-scale {
        width: 100%;
    }

    .incident-impact-graph {
        width: 100%;
        margin-left: -10px;
    }
}

@media (min-width: 576px) {
    #portal-header,
    #mainnavigation-wrapper .container,
    #portal-footer-wrapper .container,
    .outer-wrapper div.container, .container-sm {
        max-width: 540px !important;
    }
}

@media (min-width: 768px) {
    #portal-header,
    #mainnavigation-wrapper .container,
    #portal-footer-wrapper .container,
    .outer-wrapper div.container, .container-md, .container-sm {
        max-width: 720px !important;
    }
}

@media (min-width: 992px) {
    #portal-header,
    #mainnavigation-wrapper .container,
    #portal-footer-wrapper .container,
    .outer-wrapper div.container, .container-lg, .container-md, .container-sm {
        max-width: 960px !important;
    }
}

@media (min-width: 1200px) {
    #portal-header,
    #mainnavigation-wrapper .container,
    #portal-footer-wrapper .container,
    .outer-wrapper div.container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1140px !important;
    }
}

@media (min-width: 1400px) {
    #portal-header,
    #mainnavigation-wrapper .container,
    #portal-footer-wrapper .container,
    .outer-wrapper div.container,
    .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px !important;
    }
}

.incident-template-select .field-body .field-label-description {
    /* quick fix: don't show the template help text as it succeeds the
     * available length of the template select button. */
    display: none;
}

}
