/* custom css */

/*** fix menu content distance ***/
.section.section-default{
    padding-top: 0px;
}

@media screen and (min-width: 641px) {
    .section.section-default{
        padding-top: 87px;
    }
    .section.section-default.subpage{
        padding-top: 140px;
    }
}
.verytopmenu{color:#000000;cursor:pointer;text-decoration:none;}
.verytopmenu:hover{color:#666666;text-decoration:none;}

/*** animate menu when scrolling ***/
:root {
    --menu-speed: 1000ms;
  }
.navbar-fixed-top.navbar-transition #logo_normal {
    transform-origin: center top;
    animation: scale var(--menu-speed) ease-in-out forwards;
}
.navbar-fixed-top.navbar-transition  #header_underline{
    margin-top:-30px !important;
    transition: margin-top var(--menu-speed) ease-in-out 0ms;
}

.navbar-fixed-top.navbar-transition .row > *{
    padding-top:0 !important;
    margin-top:0px !important;   
    transition: margin-top var(--menu-speed) ease-in-out 0ms, padding-top var(--menu-speed) ease-in-out 0ms;
}
.navbar-fixed-top.navbar-transition #verytopmenu table{
    height:50%
}

.navbar-fixed-top.navbar-transition  #ngdbreadcrumbdiv >div{
padding:0px !important;
transition: padding var(--menu-speed) ease-in-out 0ms;
}

@keyframes scale {
to {
    transform: scale(0.5);
}
}

/*** fix title from old hero element ***/

h1 span {
    display:block;
}

/*** emulate old "hero" element with carusel ***/
.frame-type-carousel_fullscreen .frame-container {
    padding-right: 0;
    padding-left: 0;
}
.section.section-default .frame-type-carousel_fullscreen .frame-container .carousel-item-type-header .carousel-text-inner{
    width:100%;
}
.section.section-default .frame-type-carousel_fullscreen .frame-container .carousel-header,
.section.section-default .frame-type-carousel_fullscreen .frame-container .carousel-subheader{
    /*** TODO: this element should maybe be more specific? ***/
    font-family: "Arial Black"; 
    font-size: 70px; 
    font-weight: 800;

    /*** faux font outline to help with background seperation, remove line to disable ***/
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; 
}

.section.section-default .frame-type-carousel_fullscreen .frame-container .carousel-subheader{
    font-size:100px;
}

/*** 1st level content 100% by default ***/

.section.section-default .frame-container {
    max-width: 100%;
}

/*** LTS14: BP16 wraps every frame in .frame-container (gutter padding);
     live (BP 10.4-era layout) has none on nested elements ***/
.frame .frame-container {
    padding-left: 0;
    padding-right: 0;
}

/*** fixed headder styling ***/

.navbar-fixed-top {
    position: fixed;
    width: 100vw;
    z-index: 50;
    background: #fff;
}


/*** footer styling ***/
.copyright {
    font-size: 12px;
    padding: 11px 0 7px;
    background: #3e4753;
    border-top: solid 1px #777;
    color: #adadad;
}

.footer a, .copyright a, .footer a:hover, .copyright a:hover {
    color: #84afd9;
}

footer {
    color: #dadada;
    background: #585f69;
    max-width: 100vw !important;
}

footer > div{
    /* width: 80vw; */
    margin: 0 auto;
}

footer .frame {
    padding: 1.2rem 0 1.2rem 0;
}

/* Override row and no-gutter from old Bootstrap */
.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
  position: relative;
  /*width: 100%;*/
  padding-right: 15px;
  padding-left: 15px;
}




/*** NGD27
.frame-container {
    max-width: 100vw !important;
    padding: 0 0;
}

/*NGD27 undoing boostrap_package spacebefore/spaceafter css: 
.frame{  padding-top: 0.5rem;  padding-bottom: 0.5rem; }
.frame-collapsible, .frame-background-none.frame-space-after-none:not(.frame-ruler-after):not(.frame-has-backgroundimage)+.frame-background-none.frame-space-before-none:not(.frame-ruler-before):not(.frame-has-backgroundimage), .frame-background-primary.frame-space-after-none:not(.frame-ruler-after):not(.frame-has-backgroundimage)+.frame-background-primary.frame-space-before-none:not(.frame-ruler-before):not(.frame-has-backgroundimage), .frame-background-secondary.frame-space-after-none:not(.frame-ruler-after):not(.frame-has-backgroundimage)+.frame-background-secondary.frame-space-before-none:not(.frame-ruler-before):not(.frame-has-backgroundimage), .frame-background-light.frame-space-after-none:not(.frame-ruler-after):not(.frame-has-backgroundimage)+.frame-background-light.frame-space-before-none:not(.frame-ruler-before):not(.frame-has-backgroundimage), .frame-background-dark.frame-space-after-none:not(.frame-ruler-after):not(.frame-has-backgroundimage)+.frame-background-dark.frame-space-before-none:not(.frame-ruler-before):not(.frame-has-backgroundimage) {  margin-top: initial; }

/*** Image fix *** - temoprarily disabled as bootstrap_package once again handles this for us

.gallery-item.gallery-item-size-1 img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/***/

/*** BS 5 fixes 
***/

/*** override .row>*{max-width:100%} ***/
@media (min-width: 576px) {
    .container,.container-sm {
        max-width:540px
    }
}

@media (min-width: 768px) {
    .container,.container-sm,.container-md {
        max-width:720px
    }
}

@media (min-width: 992px) {
    .container,.container-sm,.container-md,.container-lg {
        max-width:960px
    }
}

@media (min-width: 1200px) {
    .container,.container-sm,.container-md,.container-lg,.container-xl {
        max-width:1140px
    }
}

/*
@media (min-width: 1400px) {
    .container,.container-sm,.container-md,.container-lg,.container-xl,.container-xxl {
        max-width:1320px
    }
}
*/

.topheader a {text-decoration: none;}




/* BS4 -> BS5 (LTS 14, 2026-10-05): restore the old site's behaviour */
/* .btn-block was removed in Bootstrap 5; DCE templates and the in-house scripts still use it */
.btn-block { display: block; width: 100%; }
/* BS4 gave every .col-* width:100% below its breakpoint; BS5 only does that inside .row.
   The product grids use .row-eq-height, so restore it there. :where() keeps the specificity
   at 0, so BS5's own .col-* widths still win from their breakpoint up. */
:where(.row-eq-height > [class*="col-"]) { width: 100%; }
/* links were never underlined on the old site, not even on hover */
a, a:hover { text-decoration: none; }
