﻿#Portalrowgdpr {
    margin-top: 50px;
    background-color: #fff;
}

#gdprerrorout {
    padding: 20px;
}

#CM_W3_REG_RegistrationFormTemplate {
    margin-top: 5px;
}

.CM_W3_RelationManager #MainContainer, .CM_W3_RelationManager #MainContainer > .row > .k-content {
    background-color: transparent !important;
}

#cmrel-breadcrumb-container {
    display: none !important;
}

.cmrel-manageaccount-addressoverview-viewpart-address {
    width: 100% !important;
}


.navbar-inverse {
    background-color: #fff !important;
    background-image: none !important;
    border-color: transparent !important;
}
.panel-button .panel-body:hover, .panel-button .panel-body:active, .panel-button .panel-body:focus{
background-color:#8CBEAC;
}
/*for the active and focused blocks*/
.PortalBlock a:active,.PortalBlock a:focus {
    color: #000 !important;
}

#CM_W3_PersonDetailsData .form-group{min-height:6px;}

.pb-icon {

    color: #E23031;

}
.panel-button .panel-body:hover, .panel-button .panel-body:active, .panel-button .panel-body:focus {
    background-color: #E23031;
	color:#fff;
}
.panel-button .panel-body {
    border-bottom: 5px solid #E23031;
    transition: all 0.1s;
}

.body-content {
    margin-top: 50px;
}

.fa-4x {
    font-size: 50px !important;
}

a:hover {
    text-decoration: none;
}


@media (min-width: 980px) {
     .col-sm-3 {
 	        width: 40% !important;
     }
 }
 
 @media (min-width: 980px) {
   .col-sm-9 {
 	        width: 60% !important;
     }
 }
 
.collapse-header {
    cursor: pointer;
}

.collapse-icon {
    transition: transform 0.2s ease;
}

.collapse-header[aria-expanded="true"] .collapse-icon {
    transform: rotate(180deg);
}

/* My documents - inklapbaar blok */

.mydocs-collapse-header {
    cursor: pointer;
    user-select: none;
}

.mydocs-collapse-header:hover .h2block {
    color: #252f6f;
}

.mydocs-collapse-title {
    position: relative;
    margin: 0;
    padding-right: 35px;
}

.mydocs-collapse-icon {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    transform: translateY(-50%);
    font-size: 14px;
    color: #0f5e94;
    border-radius: 50%;
    transition: transform 0.25s ease, background-color 0.2s ease;
}

/* Pijltje draaien wanneer het blok openstaat */
.mydocs-collapse-header[aria-expanded="true"] .mydocs-collapse-icon {
    transform: translateY(-50%) rotate(180deg);
}

.mydocs-collapse-content {
    border-top: 1px solid #e5e5e5;
}

.mydocs-collapse-content .profile-card-body {
    padding-top: 20px;
}

.mydocs-list {
    margin-top: 15px;
}

.mydocs-row {
    padding-top: 11px;
    padding-bottom: 11px;
    border-bottom: 1px solid #eeeeee;
}

.mydocs-row:last-child {
    border-bottom: 0;
}

.mydocs-row a {
    display: inline-block;
    color: #252f6f;
    text-decoration: none;
    word-break: break-word;
}

.mydocs-row a:hover,
.mydocs-row a:focus {
    text-decoration: underline;
}

.mydocs-document-icon {
    margin-right: 8px;
}

.mydocs-date {
    color: #777777;
    font-size: 13px;
}

@media (max-width: 767px) {
    .mydocs-row {
        display: flex;
        align-items: flex-start;
    }

    .mydocs-date {
        padding-left: 5px;
        white-space: nowrap;
    }
}

.navbar-default {
    background-color: transparent !important;
    border-color: transparent !important;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    background-color: transparent !important;
}

/* =========================================================
   ESGO PORTAL HEADER
   ========================================================= */

/* Volledige header iets compacter houden */
.portal-accountbar,
.portal-navbar {
    font-family: Arial, Helvetica, sans-serif;
}

/* ---------------------------------------------------------
   BOVENSTE ACCOUNTBALK
   --------------------------------------------------------- */

.portal-accountbar {
    min-height: 28px;
    background: #ffffff;
    border-bottom: 0;
    font-size: 13px;
    line-height: 1;
}

.portal-accountbar .container {
    height: 100%;
}

.portal-accountbar-inner {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portal-accountbar-spacer {
    flex: 1;
}

.portal-accountbar-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 28px;
    color: #555555;
    white-space: nowrap;
}

/* Links die uit _LoginPartial komen */
.portal-accountbar-content a {
    color: #ce1535;
    text-decoration: none;
    margin-left: 15px;
    font-size: 13px;
    font-weight: 400;
}

.portal-accountbar-content a:hover,
.portal-accountbar-content a:focus {
    color: #9f1028;
    text-decoration: none;
}

/* ---------------------------------------------------------
   HOOFDNAVIGATIE
   --------------------------------------------------------- */

.portal-navbar.navbar {
    min-height: 97px;
    margin-bottom: 0;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* The relation manager injects an inline "Kendo + Bootstrap compatibility"
   reset (*, ::before, ::after { box-sizing: content-box }) after all portal
   CSS. That flips the whole document's box model and e.g. grows the navbar
   brand from 112px to 154px. These class-based selectors out-rank the
   zero-specificity * reset, keeping the shell on border-box everywhere. */
.portal-header,
.portal-header *,
.portal-header *::before,
.portal-header *::after,
.portal-footer,
.portal-footer *,
.portal-footer *::before,
.portal-footer *::after {
    box-sizing: border-box;
}

.portal-navbar > .container {
    min-height: 97px;
}

.portal-navbar-inner {
    position: relative;
    min-height: 97px;
}

.portal-navbar .navbar-header {
    min-height: 97px;
}

/* ---------------------------------------------------------
   ESGO LOGO LINKS
   --------------------------------------------------------- */

.portal-navbar .navbar-brand {
    height: 97px;
    padding: 4px 15px 7px 0;
    display: flex;
    align-items: center;
}

.portal-navbar .navbar-brand img {
    display: block;
    /* width: 125px;
    max-width: 125px; */
    height: auto;
    max-height: 65px;
    z-index: 10;
}

/* ---------------------------------------------------------
   NAVIGATIEMENU
   --------------------------------------------------------- */

.portal-navbar .navbar-collapse {
    min-height: 97px;
    padding-left: 0;
    padding-right: 0;
}

.portal-main-navigation {
    margin-left: 32px;
    min-height: 97px;
    display: flex;
    align-items: center;
}

.portal-navbar .navbar-nav > li {
    float: none;
}

.portal-navbar .navbar-nav > li > a {
    position: relative;
    padding: 38px 17px 35px;
    color: #565656;
    background: transparent;
    font-size: 19px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}

.portal-navbar .navbar-nav > li > a:hover,
.portal-navbar .navbar-nav > li > a:focus {
    color: #d41438;
    background: transparent;
}

.portal-navbar .navbar-nav > .active > a,
.portal-navbar .navbar-nav > .active > a:hover,
.portal-navbar .navbar-nav > .active > a:focus {
    color: #d41438;
    background: transparent;
}

/* Grijs driehoekje achter Explore, Attend, enz. */
.portal-menu-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 6px solid #b5b5b5;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.portal-navbar .navbar-nav > li > a:hover .portal-menu-arrow {
    border-top-color: #d41438;
}

/* Back to portal mag iets meer als actie opvallen */
.portal-navbar .navbar-nav > li.portal-back-link > a {
    color: #ce1535;
    font-size: 15px;
    font-weight: 500;
}

.portal-navbar .navbar-nav > li.portal-back-link > a:hover {
    color: #9f1028;
}

/* ---------------------------------------------------------
   RECHTER LOGO / SLOGAN
   --------------------------------------------------------- */

.portal-navbar-right-logo {
    position: absolute;
    top: 0;
    right: 0;
    height: 97px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.portal-navbar-right-logo img {
    display: block;
    width: auto;
    max-width: 310px;
    max-height: 90px;
    object-fit: contain;
}

.portal-right-logo-text {
    max-width: 245px;
    margin-right: 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-style: italic;
    line-height: 17px;
    text-align: right;
    color: #df7900;
}

.portal-right-logo-symbol {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 70px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 66px;
    font-weight: 400;
    line-height: 1;
    color: #d41438;
    transform: rotate(-8deg);
}

/* Oranje boogje boven het symbool */
.portal-right-logo-symbol::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 2px;
    width: 32px;
    height: 52px;
    border-top: 3px solid #df7900;
    border-right: 3px solid #df7900;
    border-radius: 50%;
    transform: rotate(-18deg);
}

/* ---------------------------------------------------------
   HAMBURGER
   --------------------------------------------------------- */

.portal-navbar .navbar-toggle {
    margin-top: 30px;
    margin-right: 0;
    border-color: #dddddd;
}

.portal-navbar .navbar-toggle:hover,
.portal-navbar .navbar-toggle:focus {
    background: #f5f5f5;
}

.portal-navbar .navbar-toggle .icon-bar {
    background: #555555;
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1199px) {

    .portal-navbar-right-logo {
        width: 255px;
    }

    .portal-right-logo-text {
        max-width: 190px;
        font-size: 11px;
    }

    .portal-main-navigation {
        margin-left: 15px;
    }

    .portal-navbar .navbar-nav > li > a {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 17px;
    }
}

/* Bootstrap 3 klapt standaard pas onder 768 px dicht */
@media (max-width: 991px) {

    .portal-navbar-right-logo {
        display: none;
    }

    .portal-main-navigation {
        margin-left: 15px;
    }
}

/* ---------------------------------------------------------
   MOBIEL
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .portal-accountbar {
        min-height: 32px;
    }

    .portal-accountbar-inner {
        min-height: 32px;
    }

    .portal-accountbar-spacer {
        display: none;
    }

    .portal-accountbar-content {
        width: 100%;
        justify-content: flex-end;
        white-space: normal;
    }

    .portal-accountbar-content a {
        margin-left: 10px;
        font-size: 12px;
    }

    .portal-navbar.navbar,
    .portal-navbar > .container,
    .portal-navbar-inner,
    .portal-navbar .navbar-header {
        min-height: 78px;
    }

    .portal-navbar .navbar-brand {
        height: 78px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .portal-navbar .navbar-brand img {
        /* width: 110px;
        max-width: 110px; */
        max-height: 65px;
    }

    .portal-navbar .navbar-collapse {
        min-height: 0;
        padding-left: 15px;
        padding-right: 15px;
        border-top: 1px solid #eeeeee;
        box-shadow: none;
        background: #ffffff;
    }

    .portal-main-navigation {
        display: block;
        min-height: 0;
        margin: 0;
        padding: 8px 0 15px;
    }

    .portal-navbar .navbar-nav > li > a {
        padding: 11px 5px;
        font-size: 16px;
        line-height: 22px;
    }

    .portal-navbar .navbar-toggle {
        margin-top: 21px;
    }
}

.portal-hero{
    height:420px;
    background-image:url('https://www.esgo.org/media/2026/03/Untitled-design-7.png');
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;

    position:relative;
}

.portal-hero::before{

    content:"";
    position:absolute;
    inset:0;

    background:rgba(18,33,92,.18);
}

.portal-hero .container{

    position:relative;
    z-index:2;
    height:100%;
}

.portal-hero-content{

    height:100%;

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    color:#fff;
}

.portal-hero h2{

    font-size:40px;
    font-weight:700;
    margin-bottom:25px;
}

.portal-hero h1{

    line-height:1.15;
    font-weight:700;

    margin-bottom:35px;
}

.portal-hero h3{

    font-size:42px;
    font-weight:700;

    margin-bottom:25px;
}

.portal-hero h4{

    font-size:44px;
    font-weight:700;
}

/* =========================================================
    ESGO MASTER LAYOUT THEME
   This section intentionally comes last: this customer file
   loads after the shared portal styles on the live website.
   ========================================================= */

:root {
    --esgo-red: #c3173c;
    --esgo-red-dark: #98102f;
    --esgo-orange: #df7900;
    --esgo-ink: #25242a;
    --esgo-surface: #f5f3f6;
    --esgo-focus: #212f73;
    --esgo-footer: #C10A25;
    --esgo-gradient: linear-gradient(90deg, #df7900 0%, #c3173c 46%, #b80f3d 68%, #df7900 100%);
    --esgo-shadow: 0 8px 24px rgba(55, 25, 42, .07);
}

html {
    min-height: 100%;
    background: var(--esgo-surface);
}

body {
    min-height: 100%;
    padding-top: 0 !important;
    background: var(--esgo-surface) !important;
}

.portal-accountbar,
.portal-navbar,
.portal-footer {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.portal-skip-link:focus-visible,
.portal-accountbar a:focus-visible,
.portal-navbar a:focus-visible,
.portal-navbar button:focus-visible,
.portal-footer a:focus-visible {
    outline: 3px solid var(--esgo-focus) !important;
    outline-offset: 3px;
}

.portal-skip-link {
    position: fixed;
    z-index: 1200;
    top: 12px;
    left: 16px;
    padding: 10px 16px;
    border-radius: 4px;
    color: var(--esgo-red-dark);
    background: #ffffff;
    box-shadow: var(--esgo-shadow);
    transform: translateY(-160%);
}

.portal-skip-link:focus {
    color: var(--esgo-red-dark);
    transform: translateY(0);
}

.portal-accountbar .container,
.portal-navbar .container,
.portal-main > .container,
.portal-footer .container {
    width: auto;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

/* Header */

.portal-header {
    position: relative;
    width: calc(100% - 48px);
    min-height: 112px;
    margin: 24px auto 0;
    border-radius: 14px;
    overflow: visible;
    background-color: var(--esgo-red);
    background-image: url("/cmPortal/Content/cmportal/GEN00/images/GradientESGO1080.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.portal-accountbar,
.portal-navbar.navbar {
    color: #ffffff;
    background: transparent !important;
}

.portal-accountbar {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;
    min-height: 34px;
    border: 0;
    font-family: inherit;
}

.portal-accountbar-inner,
.portal-accountbar-content {
    min-height: 34px;
}

.portal-header-actions {
    position: absolute;
    z-index: 4;
    top: 50%;
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    transform: translateY(-50%);
}

.portal-header-actions form {
    margin: 0;
}

.portal-header-actions .navbar-nav {
    display: flex;
    align-items: center;
    float: none;
    min-height: 46px;
    margin: 0;
}

.portal-header-actions .navbar-nav > li {
    display: flex;
    align-items: center;
    float: none;
}

.portal-header-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    margin: 2px 0;
    padding: 6px 12px;
    border: 1px solid #ffffff;
    border-radius: 5px;
    color: var(--esgo-red-dark) !important;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(85, 9, 42, .13);
}

.portal-header-back-link:hover,
.portal-header-back-link:focus {
    border-color: #fff4f7;
    color: var(--esgo-red-dark) !important;
    background: #fff4f7;
    text-decoration: none;
}

.portal-header-actions .navbar-nav > li > a {
    margin: 0;
    padding: 7px 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    opacity: .92;
}

.portal-header-actions .navbar-nav > li:first-child > a {
    pointer-events: none;
}

.portal-header-actions .navbar-nav > li + li {
    margin-left: 4px;
}

.portal-header-actions .navbar-nav > li:last-child > a {
    margin: 3px 0 3px 8px;
    padding: 5px 13px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 4px;
    color: #ffffff;
    background: transparent;
    line-height: 18px;
}

.portal-header-actions .navbar-nav > li > a:hover,
.portal-header-actions .navbar-nav > li > a:focus,
.portal-header-actions .navbar-nav > li:last-child > a:hover,
.portal-header-actions .navbar-nav > li:last-child > a:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, .13);
    opacity: 1;
    text-decoration: none;
}

.portal-navbar.navbar,
.portal-navbar > .container,
.portal-navbar-inner,
.portal-navbar .navbar-header,
.portal-navbar .navbar-collapse {
    min-height: 112px;
}

.portal-navbar.navbar {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.portal-navbar .navbar-collapse {
    position: relative;
    padding-right: 340px;
}

.portal-navbar .navbar-brand {
    display: flex;
    align-items: center;
    height: 112px;
    padding: 24px 34px 18px 0;
}

.portal-navbar .navbar-brand img {
    width: 103px;
    max-width: 103px;
    height: 63px;
    max-height: 63px;
}

.portal-main-navigation {
    display: flex;
    align-items: center;
    min-height: 112px;
    margin: 0;
}

.portal-navbar .navbar-nav > li > a {
    padding: 51px 18px 37px;
    color: #ffffff !important;
    background: transparent !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    opacity: .92;
}

.portal-navbar .navbar-nav > li > a::after {
    position: absolute;
    right: 17px;
    bottom: 30px;
    left: 17px;
    height: 2px;
    content: "";
    background: #ffffff;
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .18s ease, transform .18s ease;
}

.portal-navbar .navbar-nav > li > a:hover,
.portal-navbar .navbar-nav > li > a:focus,
.portal-navbar .navbar-nav > .active > a {
    color: #ffffff !important;
    opacity: 1;
    text-decoration: none;
}

.portal-navbar .navbar-nav > li > a:hover::after,
.portal-navbar .navbar-nav > li > a:focus::after,
.portal-navbar .navbar-nav > .active > a::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Main content */

.portal-main {
    display: block;
    min-height: 52vh;
    padding: 48px 0 64px;
    background: var(--esgo-surface);
}

.portal-main,
.portal-main *:not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.glyphicon):not(.k-icon):not(.icon):not([class^="icon-"]):not([class*=" icon-"]) {
    font-family: Verdana, Geneva, sans-serif !important;
}

.portal-main .body-content {
    margin-top: 0;
}

/* Footer */

.portal-footer {
    position: relative;
    width: calc(100% - 48px);
    max-width: none;
    margin: 32px auto;
    padding: 36px 0 22px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: var(--esgo-footer);
    font-size: 13px;
    overflow: hidden;
}

.portal-footer-pattern {
    display: none;
}

.portal-footer h4 {
    margin: 0 0 16px;
    color: #ffffff;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
}

.portal-footer p {
    max-width: 440px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .84);
    line-height: 1.65;
}

.portal-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, .8fr) minmax(180px, .8fr);
    gap: 36px 56px;
    /* !important: the relation manager injects its own Bootstrap copy after this
       sheet, which would restore the .row clearfix pseudo-elements and negative
       margins — the revived ::before becomes an anonymous grid item and shifts
       every footer column one cell over. */
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.portal-footer-main::before,
.portal-footer-main::after {
    display: none !important;
    content: none !important;
}

.portal-footer-main > [class*="col-"] {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
}

.portal-footer-support h4:nth-of-type(2) {
    margin-top: 28px;
}

.portal-footer .footer-links li {
    margin-bottom: 10px;
}

.portal-footer a,
.portal-footer .footer-links a,
.portal-footer .text-right a {
    color: #ffffff;
    text-decoration: none;
}

.portal-footer a:hover,
.portal-footer a:focus,
.portal-footer .footer-links a:hover,
.portal-footer .footer-links a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.portal-footer-socials {
    gap: 8px;
}

.portal-footer-socials a {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: 1px solid #ffffff;
    border-radius: 10px;
    color: var(--esgo-footer);
    background: #ffffff;
}

.portal-footer-socials a:hover,
.portal-footer-socials a:focus {
    color: var(--esgo-red-dark);
    background: #fff3f6;
    text-decoration: none;
}

.portal-footer-support .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 10px;
    color: var(--esgo-footer);
    background: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.portal-footer-support .footer-links a:hover,
.portal-footer-support .footer-links a:focus {
    color: var(--esgo-red-dark);
    background: #fff3f6;
    text-decoration: none;
}

.portal-footer hr {
    margin: 34px 0 18px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.portal-footer-legal {
    margin-right: 0;
    margin-left: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
}

.portal-footer-legal > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

/* Responsive shell */

@media (max-width: 1231px) {
    .portal-accountbar .container,
    .portal-navbar .container,
    .portal-main > .container,
    .portal-footer .container {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 991px) {
    .portal-navbar .navbar-brand {
        padding-right: 14px;
    }

    .portal-navbar .navbar-brand img {
        width: 88px;
        max-width: 88px;
        height: auto;
    }

    .portal-navbar .navbar-nav > li > a {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 14px;
    }

    .portal-header-actions {
        gap: 6px;
    }

    .portal-header-back-link,
    .portal-header-actions .navbar-nav > li > a {
        font-size: 11px;
    }

}

@media (max-width: 767px) {
    .portal-accountbar {
        display: none;
    }

    .portal-header {
        width: calc(100% - 32px);
        min-height: 72px;
        margin: 16px auto 0;
        border-radius: 14px;
        background-position: center center;
    }

    .portal-navbar.navbar {
        min-height: 72px;
        margin-top: 0;
    }

    .portal-navbar > .container,
    .portal-navbar-inner,
    .portal-navbar .navbar-header {
        min-height: 72px;
    }

    .portal-navbar .navbar-brand {
        left: 0;
        height: 72px;
        padding: 7px 0;
    }

    .portal-navbar .navbar-brand img {
        width: auto;
        max-width: 92px;
        height: 56px;
        max-height: 56px;
    }

    .portal-navbar .navbar-toggle {
        width: 44px;
        height: 44px;
        margin: 14px 0 0;
        border-color: rgba(255, 255, 255, .72);
        background: transparent;
    }

    .portal-navbar .navbar-toggle:hover,
    .portal-navbar .navbar-toggle:focus {
        background: rgba(255, 255, 255, .12);
    }

    .portal-navbar .navbar-toggle .icon-bar {
        background: #ffffff;
    }

    .portal-navbar .navbar-collapse {
        position: fixed;
        z-index: 1052;
        top: 0;
        right: 0;
        left: auto;
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        visibility: visible !important;
        width: min(320px, 86vw);
        height: 100vh !important;
        min-height: 0;
        max-height: none;
        margin: 0;
        padding: 78px 24px 28px;
        overflow-x: hidden;
        overflow-y: auto;
        border: 0;
        background: #ffffff !important;
        box-shadow: -12px 0 32px rgba(49, 19, 37, .2);
        transform: translateX(105%);
        transition: transform .16s ease-out;
    }

    body.portal-nav-open .portal-navbar .navbar-collapse,
    .portal-navbar .navbar-collapse.in {
        transform: translateX(0);
    }

    .portal-navbar .navbar-collapse.collapsing {
        height: 100vh !important;
        transform: translateX(105%);
        transition: transform .16s ease-out;
    }

    .portal-header-actions {
        display: contents;
    }

    .portal-header-actions form {
        order: 1;
        width: 100%;
        margin: 0 0 18px;
        padding: 0 0 18px;
        border-bottom: 1px solid #dfe3e8;
    }

    .portal-header-actions .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        width: 100%;
    }

    .portal-header-actions .navbar-nav > li {
        display: block;
        width: 100%;
        border-bottom: 0;
    }

    .portal-header-actions .navbar-nav > li + li {
        margin-left: 0;
    }

    .portal-main-navigation {
        order: 2;
        display: block;
        min-height: 0;
        padding: 0;
    }

    .portal-navbar .navbar-nav > li > a {
        padding: 15px 4px;
        color: var(--esgo-ink) !important;
        font-size: 15px;
    }

    .portal-navbar .navbar-nav > li > a::after {
        display: none;
    }

    .portal-navbar .navbar-nav > li > a:hover,
    .portal-navbar .navbar-nav > li > a:focus {
        color: var(--esgo-red) !important;
    }

    .portal-header-actions .portal-header-back-link {
        order: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        margin: 18px 0 0;
        padding: 11px 16px;
        border: 0;
        border-radius: 6px;
        color: #ffffff !important;
        background-color: var(--esgo-red) !important;
        background-image: url("/cmPortal/Content/cmportal/GEN00/images/GradientESGO1080.jpg") !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: cover !important;
        box-shadow: 0 6px 18px rgba(152, 16, 47, .18);
        opacity: 1;
        text-decoration: none;
    }

    .portal-header-actions .portal-header-back-link:hover,
    .portal-header-actions .portal-header-back-link:focus {
        color: #ffffff !important;
        background-color: var(--esgo-red-dark) !important;
        background-image: linear-gradient(rgba(93, 5, 35, .14), rgba(93, 5, 35, .14)), url("/cmPortal/Content/cmportal/GEN00/images/GradientESGO1080.jpg") !important;
        text-decoration: none;
    }

    .portal-header-actions .navbar-nav > li > a,
    .portal-header-actions .navbar-nav > li:first-child > a {
        color: var(--esgo-ink) !important;
    }

    .portal-header-actions .navbar-nav > li:last-child > a {
        border-color: var(--esgo-red);
        color: var(--esgo-red) !important;
        background: #ffffff;
    }

    .portal-nav-close {
        color: var(--esgo-ink);
    }

    .portal-nav-close:hover,
    .portal-nav-close:focus {
        color: var(--esgo-red);
        background: var(--esgo-surface);
    }

    .portal-nav-backdrop {
        z-index: 1050;
        background: rgba(32, 32, 32, .5);
    }

    .portal-main {
        padding: 28px 0 44px;
    }

    .portal-accountbar .container,
    .portal-navbar .container,
    .portal-main > .container,
    .portal-footer .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .portal-footer {
        width: calc(100% - 32px);
        margin: 24px auto;
        padding-top: 28px;
        padding-bottom: 18px;
        border-radius: 14px;
        text-align: left;
    }

    .portal-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }

    .portal-footer-intro {
        grid-column: 1 / -1;
    }

    .portal-footer .row > [class*="col-"] {
        margin-bottom: 0;
    }

    .portal-footer h4 {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .portal-footer p {
        max-width: none;
        font-size: 12px;
    }

    .portal-footer-support h4:nth-of-type(2) {
        margin-top: 24px;
    }

    .portal-footer .text-right {
        margin-top: 10px;
        text-align: left;
    }

    .portal-footer-socials {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .portal-footer hr {
        margin-top: 28px;
    }

    .portal-footer-legal > [class*="col-"] {
        width: 100%;
        float: none;
    }
}

@media (max-width: 359px) {
    .portal-footer-main {
        grid-template-columns: 1fr;
    }

    .portal-footer-intro {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-skip-link,
    .portal-navbar *,
    .portal-nav-backdrop,
    .portal-footer * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Adobe Owners Text across the layout and all rendered view content. */
/* Typography mirrors the new ESGO website (Figma): Inter for body/UI text,
   Owners only for display headings — and those always in uppercase, where
   the capital-I / lowercase-l ambiguity of Owners cannot occur. */
html body.portal-owners-text,
html body.portal-owners-text *:not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.glyphicon):not(.k-icon):not(.icon):not([class^="icon-"]):not([class*=" icon-"]):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.h2block):not(.panel-heading):not(.panel-heading *):not(.portal-main-navigation a) {
    font-family: "Inter", Verdana, Geneva, sans-serif !important;
}

html body.portal-owners-text h1,
html body.portal-owners-text h2,
html body.portal-owners-text h3,
html body.portal-owners-text h4,
html body.portal-owners-text h5,
html body.portal-owners-text h6,
html body.portal-owners-text .h2block,
html body.portal-owners-text .panel-heading,
html body.portal-owners-text .panel-heading *:not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.glyphicon):not(.k-icon):not(.icon):not([class^="icon-"]):not([class*=" icon-"]),
html body.portal-owners-text .portal-main-navigation a {
    font-family: "owners-text", Verdana, Geneva, sans-serif !important;
}

html body.portal-owners-text h1,
html body.portal-owners-text h2,
html body.portal-owners-text .h2block,
html body.portal-owners-text .panel-heading {
    text-transform: uppercase;
    letter-spacing: .01em;
}

/* Buttons and menu chips inside panel headings keep mixed case (like the
   Figma buttons) and the body font. */
html body.portal-owners-text .panel-heading :is(.k-button, button, .k-menu .k-link):not(.icon):not([class^="icon-"]):not([class*=" icon-"]) {
    font-family: "Inter", Verdana, Geneva, sans-serif !important;
    text-transform: none;
    letter-spacing: normal;
}

/* =========================================================
   DESKTOP NAVBAR OVERLAP FIX
   The actions group (back link / welcome / log off) used to be absolutely
   positioned over the nav, so extra nav items could slide underneath it.
   From 768px up, nav and actions now share the row as flex children; if
   space runs out they wrap gracefully instead of overlapping.
   ========================================================= */
@media (min-width: 768px) {
    /* .collapse in the selector out-specifies the relation manager's own
       Bootstrap copy (.navbar-collapse.collapse { display:block !important })
       which loads after this file on embedded pages. */
    .portal-navbar .navbar-collapse,
    .portal-navbar .navbar-collapse.collapse,
    .portal-navbar .navbar-collapse.collapse.in {
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        padding-right: 0;
    }

    .portal-header-actions {
        position: static;
        top: auto;
        right: auto;
        transform: none;
        flex: 0 0 auto;
        order: 2;
        margin-left: auto;
    }

    .portal-main-navigation {
        flex: 0 1 auto;
        flex-wrap: wrap;
        min-width: 0;
        order: 1;
    }
}

/* Medium screens (768-1199px): the account controls become a deliberate
   utility bar - a slim full-width strip under the logo + nav row, inside
   the gradient header, separated by a translucent hairline. Wide screens
   (>=1200px) keep the single-row layout. */
@media (min-width: 768px) and (max-width: 1199px) {
    .portal-navbar .portal-main-navigation > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }

    .portal-header-actions {
        flex: 1 0 100%;
        justify-content: flex-end;
        min-height: 0;
        margin-top: 2px;
        padding: 10px 0 14px;
        border-top: 1px solid rgba(255, 255, 255, .28);
    }

    .portal-navbar .navbar-collapse,
    .portal-navbar .navbar-collapse.collapse,
    .portal-navbar .navbar-collapse.collapse.in {
        row-gap: 0;
    }
}


#CM_loading {
    padding: 24px 0;
    color: #646b76;
}

#CM_loading img {
    margin-top: 14px;
}

/* The loader img has no cache-buster in its markup; `content` swaps the
   source for a versioned URL so browsers fetch the new branded gif instead
   of their cached copy. Bump ?v= here whenever the gif changes. */
#CM_loading img {
    content: url("/cmPortal/Content/cmPortal/gen00/images/load.gif?v=2");
}
