/* ==========================================================================
   iframe.css
   Verion: 1_3
   Updated: 27.11.2025
   ========================================================================== */
   
   /* ==========================================================================
   Fonts & Variables
   ========================================================================== */
   
/* Import Inter (same as website) and font awesome for icons */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css');

:root {
  /* Fonts */
  --font-family-base: "Inter", sans-serif;

  /* Font sizes (relative units so they scale) */
  --font-size-root: 100%;
  --font-size-h1: 2.25rem;
  --font-size-h2: 1.4rem;
  --font-size-h3: 1.10rem;
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;

  /* Font weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-almost-bold: 600;
  --font-weight-bold: 700;

  /* Colours */
  /* #000080 council web navy, #fc0 council web yellow */
  --color-text: #000;
  --color-bg: #fff;
  --main-dark-color: #000080;
  /* council navy */
  --contrast-main-dark-color-hover: #fc0;
  /* council yellow */
  --light-background: #f9fafc;
  --accent-border-color: #e6b800;
  /* darker golden yellow */
  --muted: #555;
  --error: #c00;
  --error-background: #fff3f3;
  --lighter-blue: #6092da;
  --darker-off-white: #E7EBEF;
  --tab-hover: #E9D99B;
  /*vanilla*/
  --lightest-blue: #275af70d;
  /* Testing other colours*/
  --very-dark-navy: #070742;
  --beige-yellow: #DEC76A;
  --gold-yellow: #C9B460;
  --grey-blue: #7A8B9B;
  --off-white: #F3F5F7;
  --grey-blue: #DAE3E7;
  --pale-blue-grey: #E7EBEF; 
}

html {
  font-size: var(--font-size-root);
}

body {
  font-family: var(--font-family-base) !important;
  font-size: var(--font-size-body) !important;
  font-weight: var(--font-weight-normal) !important;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

h1 {
  font-size: var(--font-size-h1) !important;
  font-weight: var(--font-weight-bold) !important;
  color: var(--main-dark-color) !important;
  margin-bottom: 0.7em;
  line-height: 1.2;
}

h2 {
  font-size: var(--font-size-h2) !important;
  font-weight: var(--font-weight-almost-bold) !important;
  color: var(--main-dark-color);
  margin-bottom: 0.5em;
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.5px;
  margin-top: 2.5rem;
}

h3 {
  font-size: var(--font-size-h3) !important;
  font-weight: var(--font-weight-medium) !important;
  color: var(--main-dark-color);
  margin-bottom: 0.5em;
}

p,
li {
  font-size: var(--font-size-body) !important;
  line-height: 1.5;
}

/* ==========================================================================
 Override Granicus form green 
========================================================================== */
/* Override radio + checkbox styles with CnES colours */
.achieveforms-container .all-sections .field .fieldContent fieldset.fieldInput input[type=radio]+label:before,
.achieveforms-container .all-sections .field .fieldContent fieldset.fieldInput input[type=checkbox]+label:before {
  /* navy outline */
  /*  border: 1px solid var(--main-dark-color) !important;  */
  background-color: var(--color-bg);
  /* empty state */
  color: var(--main-dark-color) !important;
  /* added scale to make these input contols bigger */
  transform: scale(1.5);
  margin-right: 14px;
}

/* Checked state = navy border, yellow fill */
.achieveforms-container .all-sections .field .fieldContent fieldset.fieldInput input[type=radio]:checked+label:before,
.achieveforms-container .all-sections .field .fieldContent fieldset.fieldInput input[type=checkbox]:checked+label:before {
  border-color: var(--main-dark-color) !important;
  /* navy outline */
  background-color: var(--contrast-main-dark-color-hover) !important;
  /* yellow dot */
  /* removed as tick was same colour as background 
  color: var(--contrast-main-dark-color-hover) !important; */
}
/********************** Base tab styling *********************/
/* UL that holds the tabs */
/********************** Base tab styling *********************/

/* Tab strip: visuals + layout (wrap from the left, no odd jumps) */
.achieveforms-container .sectionsHead .sectionsHeadInner {
  /* visuals */
  background-color: var(--lightest-blue) !important;
  border-bottom: 1.5px solid var(--lighter-blue) !important;

  /* layout */
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  /* new lines start at the left */
  align-items: flex-end !important;
  column-gap: 1.25rem !important;
  /* tight horizontal spacing */
  row-gap: 0 !important;
  /* no vertical gap */
  text-align: left !important;

  /* strip should be flush left (no bullets/indent) */
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;

  position: relative;
  z-index: 0;
}

/* Stop Bootstrap floats/margins so flex controls spacing */
.achieveforms-container .sectionsHead .sectionsHeadInner>li {
  float: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}

/* Tab button */
.achieveforms-container .sectionsHead .sectionsHeadInner>li>.sectionNameTab {
  position: relative;
  /* underline + error slot live here */
  white-space: nowrap !important;
  /* wrap by whole tabs only */
  background: transparent;
  border: 0;
  /* Reserve permanent space for a right-side status icon (prevents reflow) */
  padding-right: 1.25em !important;
}

/* Hover (kept) */
.nav>li>button:focus,
.nav>li>button:hover {
  text-decoration: none;
  background-color: var(--tab-hover) !important;
}

/* Active tab - same look, but no layout shift */
.nav-tabs>li.active>button,
.nav-tabs>li.active>button:hover,
.nav-tabs>li.active>button:focus {
  background-color: var(--off-white) !important;
  color: var(--main-dark-color) !important;
  font-weight: var(--font-weight-medium) !important;
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
  /* no real border so height never changes */
  position: relative;
}

/* Active underline (drawn without affecting layout) */
.nav-tabs>li>button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 0;
  background: transparent;
}

.nav-tabs>li.active>button::after {
  height: 3px;
  background: var(--main-dark-color);
}

/* Error icon: paint only when invalid, using the reserved slot */
.achieveforms-container .sectionsHead .sectionsHeadInner .sectionNameWrapper.invalid>.sectionNameTab::before {
  content: "\f06a";
  /* exclamation-circle */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  /* FA solid */
  color: var(--error);
  position: absolute;
  right: 0.1em;
  /* inside the reserved padding */
  top: 50%;
  transform: translateY(-50%);
  width: 1.1em;
  text-align: center;
  line-height: 1;
  pointer-events: none;
}

/* Hide any real <i class="fa-exclamation-circle"> the theme injects to avoid duplicates */
.achieveforms-container .sectionsHead .sectionNameTab i.fa-exclamation-circle {
  display: none !important;
}

.achieveforms-container .sectionsHead .sectionsHeadInner .sectionNameWrapper.valid {
  color: var(--color-text) !important;
}

.achieveforms-container .sectionsHead .sectionsHeadInner .sectionNameWrapper .sectionNameTab {
  color: var(--very-dark-navy) !important;
}

/* Remove any default border on active wrapper (theme) */
.achieveforms-container .sectionsHead .sectionsHeadInner .sectionNameWrapper.active .sectionNameTab {
  border: none;
}


/* default - text inherits colour*/
.achieveforms-container .sectionsHead .sectionsHeadInner .sectionNameWrapper .sectionNameTab {
  color: var(--very-dark-navy) !important;
}

/*Form fields 
default: color: #03c;*/
.achieveforms-container .all-sections .field .fieldContent .fieldName,
.achieveforms-container .all-sections .field .fieldContent .subform-summary {
  color: var(--very-dark-navy) !important;
  font-size: var(--font-size-h3) !important;
}

/*Button default styling usually grey
    color: #333 !important;
    border-color: #ccc !important;
    background-color: #fff !important;
    */
.btn-default {
  color: var(--main-dark-color) !important;
  border-color: var(--main-dark-color) !important;
  background-color: var(--lightest-blue) !important;

}


/* ==========================================================================
   Services Grid (big button tiles)
   ========================================================================== */
.service-groups ul.menu {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  grid-auto-rows: auto !important;
  /* auto-height rows */
  gap: 1.5rem !important;
  margin: 2rem 0 !important;
  padding: 0 !important;
}

.service-groups ul.menu>li {
  width: 100% !important;
  min-height: 120px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Tile styling */
.service-groups a.fsservice-pretty-link {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;

  background: var(--main-dark-color) !important;
  color: var(--contrast-main-dark-color-hover) !important;

  font-weight: 600 !important;
  border-radius: 12px !important;
  border: 2px solid transparent !important;

  min-height: 120px !important;
  padding: 1.25rem !important;

  transition: transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}


/* Tile headings */
.service-groups a.fsservice-pretty-link h2 {
  font-size: var(--font-size-h3) !important;
  font-weight: 600 !important;
  color: inherit !important;
  text-align: center !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  white-space: normal !important;
  word-break: break-word !important;
}


/* Hide tile subheadings (not needed) */
.service-groups a.fsservice-pretty-link p,
.service-groups a.fsservice-pretty-link div {
  display: none !important;
}

/* Hover + active states */
.service-groups a.fsservice-pretty-link:hover,
.service-groups a.fsservice-pretty-link:focus {
  background: var(--contrast-main-dark-color-hover) !important;
  color: var(--main-dark-color) !important;
  transform: translateY(-3px);
  outline: none !important;
}

.service-groups a.fsservice-pretty-link:hover,
.service-groups a.fsservice-pretty-link:focus {
  background: var(--contrast-main-dark-color-hover) !important;
  color: var(--main-dark-color) !important;

  border-color: var(--accent-border-color) !important;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  outline: none !important;
}

.service-groups a.fsservice-pretty-link.active {
  background: var(--contrast-main-dark-color-hover) !important;
  color: var(--main-dark-color) !important;
  border-color: var(--accent-border-color) !important;
}

/*Green validation
Default border-color: #468847*/
._AF .postfix-wrapper.valid .postfix,
._AF .prefix-wrapper.valid .prefix,
._AF input.valid,
._AF select.valid,
._AF textarea.valid,
.achieveforms-container .postfix-wrapper.valid .postfix,
.achieveforms-container .prefix-wrapper.valid .prefix,
.achieveforms-container input.valid,
.achieveforms-container select.valid,
.achieveforms-container textarea.valid {
  border-color: var(--main-dark-color) !important;
}

/* defult  color: #060;*/
.achieveforms-container .all-sections .field .icon-valid {
  color: var(--main-dark-color) !important;
}

/* ==========================================================================
   Responsive Fallbacks
   ========================================================================== */
@media (max-width: 992px) {
  .service-groups ul.menu {
    grid-template-columns: repeat(2, 1fr) !important;
    /* 2 per row tablet */
    grid-auto-rows: auto !important;
    /* row height auto */
  }
}
@media (max-width: 600px) {
  .service-groups ul.menu {
    grid-template-columns: 1fr !important;
    /* 1 per row mobile */
    grid-auto-rows: auto !important;
  }
  ._AF .select2-container.select2-container-multi .select2-choices,
  .achieveforms-container .select2-container.select2-container-multi .select2-choices {
    height: auto !important;
  }
}

/* ==========================================================================
   A-Z Service List (text links)
   ========================================================================== */
h3.serviceColumnLetter {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--main-dark-color);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

ul.services {
  margin: 0 0 1.5rem 0;
  padding: 0;
  list-style: none;
}

ul.services li {
  margin-bottom: 0.75rem;
}

ul.services li a {
  display: inline-block;
  color: var(--main-dark-color) !important;
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  text-decoration: underline;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

/* Hover / focus on A-Z links */
ul.services li a:hover,
ul.services li a:focus {
  color: var(--main-dark-color) !important;
  font-weight: var(--font-weight-bold);
  text-decoration: underline solid 2px;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Buttons (global)
   ========================================================================== */
.btn-primary {
  background-color: var(--main-dark-color) !important;
  border-color: var(--main-dark-color) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: var(--contrast-main-dark-color-hover) !important;
  border-color: var(--contrast-main-dark-color-hover) !important;
  color: var(--color-text) !important;
}

/* ============================================
   Secondary Save button (light blue / navy)
   ============================================ */
button.btn.btn-af.savebutton {
  background-color: var(--pale-blue-grey);          /* pale blue-grey panel tone */
  color: var(--main-dark-color);                    /* council navy text */
  border: 2px solid var(--lighter-blue);            /* lighter blue border */
  border-radius: 4px;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

/* Hover: slightly darker background, navy outline */
button.btn.btn-af.savebutton:hover {
  background-color: var(--lightest-blue);           /* transparent navy tint */
  border-color: var(--main-dark-color);             /* navy border instead of bright blue */
  color: var(--color-text);                         /* black text for contrast */
}

/* Focus-visible: strong yellow outline (accessibility) */
button.btn.btn-af.savebutton:focus-visible {
  outline: 3px solid var(--contrast-main-dark-color-hover); /* council yellow focus ring */
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #0000001a;
}

/* Active: pressed state – slightly darker */
button.btn.btn-af.savebutton:active {
  background-color: var(--light-background);
  border-color: var(--main-dark-color);
  color: var(--main-dark-color);
}

/* Disabled / aria-disabled */
button.btn.btn-af.savebutton:disabled,
button.btn.btn-af.savebutton[aria-disabled="true"] {
  background-color: var(--off-white);
  color: var(--muted);
  border-color: var(--darker-off-white);
  cursor: not-allowed;
  box-shadow: none;
}

/* Icon spacing & inherit colour */
button.btn.btn-af.savebutton i.fa-save {
  margin-right: 0.45rem;
  color: inherit;
}

/* Accessibility: reduced motion + high contrast prefs */
@media (prefers-reduced-motion: reduce) {
  button.btn.btn-af.savebutton { transition: none; }
}
@media (prefers-contrast: more) {
  button.btn.btn-af.savebutton { border-color: var(--main-dark-color); }
  button.btn.btn-af.savebutton:focus-visible { outline-width: 4px; }
}


/* ==========================================================================
   Info Boxes
We can add <i class="fa-solid fa-circle-info info-icon"></i> when creating 
   ========================================================================== */
/* initially tested with background-color: var(--beige-yellow) !important; */
.BG-info-box,
.info-box {
  border: 1px solid var(--main-dark-color) !important;
  background-color: var(--lightest-blue) !important;
  color: var(--main-dark-color) !important;
  padding: 5px 7px !important;
  border-radius: 5px !important;
  display: flex !important;
  align-items: center !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  border-radius: 4px !important;
  border-left: solid 5px var(--main-dark-color) !important;
}
.BG-info-icon,
.info-icon {
  font-size: 1.2rem !important;
  color: var(--main-dark-color) !important;
  margin-right: 12px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.info-box p,
.todo-box p {
  padding-top: 1em;
  margin-bottom: 0em;
}
.radio-label {
  margin-top: .5em;
}


/* ==========================================================================
   How to save Info Boxes
We can add <i class="fa-solid fa-circle-info info-icon"></i> when creating 
   ========================================================================== */
/* initially tested with background-color: var(--beige-yellow) !important; */
	.Save-info-box {
        border: 1px solid var(--main-dark-color) !important; 
        background-color: var(--pale-blue-grey) !important;
        color: var(--main-dark-color) !important;
        padding: 5px 7px  !important;
        border-radius: 5px  !important;
        display: flex  !important;
        align-items: center  !important;
        font-size: 0.95rem  !important;
        line-height: 1.4  !important;
        margin-bottom: 1rem  !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05)  !important;
        border-radius: 4px !important;
		border-left: solid 5px var(--main-dark-color) !important;
    }
	.Save-info-icon {
        font-size: 1.6rem  !important;
        color: var(--main-dark-color) !important;
        margin-right: 12px !important;
        flex-shrink: 0 !important;
		line-height: 1  !important;
    }
    
    .Save-info-box p {
        padding-top:1em;
        margin-bottom:0em;
    }

/* ==========================================================================
   For accessibility
   ========================================================================== */


/* For users with high contrast mode or dark mode */
@media (forced-colors: active) {
  * {
    outline: 2px solid Highlight !important;
    background: Canvas !important;
    color: CanvasText !important;
  }
}

/* For users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   Existing CSS
   Have changed some lines to new variables 
   ========================================================================== */



html._AF body {
  height: 100vh;
  background-color: transparent;
}
body,
body._AF,
div._AF,
html._AF {
  /*  font-size: 19px; */
  background-color: transparent;
}

body {
  height: 100vh;
  background-color: transparent;
}

ul,
ol {
  margin-bottom: 1.25em;
}

/* Commented out as in updated CSS above
.btn-primary {
    background-color: #000080;
    border-color: #000080;
}
*/

/* Commented out as in updated CSS above
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open, .dropdown-toggle.btn-primary {
    background-color: #FFCC00;
    border-color: #FFCC00;
    color: #000000;
}
*/

.btn.active .caret {
  /*     color: #FFCC00;
    border-top-color: #FFCC00;
    border-bottom-color: #FFCC00; */
  color: var(--contrast-main-dark-color-hover);
  border-bottom-color: var(--contrast-main-dark-color-hover);
  border-top-color: var(--contrast-main-dark-color-hover);
}

.bgwhite {
  background-color: white;
  padding: 1em;
}

.fa-caret-right:before {
  content: "\f061";
  font-size: large;
}

.fa-caret-down:before {
  content: "\f063";
  font-size: large;
}

.form-link-color {
  /*  color: #000080; */
  color: var(--main-dark-color);
}

.achieveforms-container .sectionsHead .sectionsHeadInner .sectionNameWrapper.active {
  /*  color: #000080; */
  color: var(--main-dark-color);
}

.modal-body .achieveforms-container .fillinButtons-wrapper .fillinButtons {
  margin: 10em auto .5em;
}

.achieveforms-container .fillinButtons .btn {
  /*  background-color: #000080; */
  background-color: var(--main-dark-color);
  /* color: #ffffff; */
  color: var(--color-bg);
  font-size: var(--font-size-h3);
}

.achieveforms-container .fillinButtons .btn:hover {
  background-color: #212186;
}

.achieveforms-container .fillinButtons .btn.cancelbutton.pull-right,
.achieveforms-container .fillinButtons .btn.nextbutton,
.achieveforms-container .fillinButtons .btn.submitbutton {
  /* background-color: #FFCC00; 
    border-color: #FFCC00;
    color: #000000; */
  background-color: var(--contrast-main-dark-color-hover);
  border-color: var(--contrast-main-dark-color-hover);
  color: var(--main-dark-color);
}

.achieveforms-container .fillinButtons .btn.cancelbutton.pull-right:hover,
.achieveforms-container .fillinButtons .btn.nextbutton:hover,
.achieveforms-container .fillinButtons .btn.submitbutton:hover {
  /* background-color: #be9901;
    border-color: #be9901;*/
  background-color: var(--accent-border-color);
  border-color: var(--accent-border-color);
}

.achieveforms-container .all-sections .field .fieldContent .fieldInput.content,
.achieveforms-container .all-sections .field .fieldContent .fieldInput.upload,
.achieveforms-container .all-sections .field .fieldContent .prefix-suffix-mode.content,
.achieveforms-container .all-sections .field .fieldContent .prefix-suffix-mode.upload {
  margin-bottom: 0;
}

.modal-subform {
  margin-top: -10em;
}

#app-content {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.footnote {
  font-size: 80%;
}

.collapsable {
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  /*  background-color: #f3f3f3; */
  background-color: var(--grey-blue);
}

.collapsable-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.collapsable-head {
  display: block;
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #E0E0E0;
  margin: 0;

  border-bottom: 1px solid #ddd;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;

  &:after {
    content: "+";
    width: 20px;
    text-align: center;
  }
}

.collapsable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  border-bottom: 1px solid #ddd;
  margin-top: -1px;

  >div {
    padding: 10px 15px;
  }
}

.collapsable+.collapsable .collapsable-head {
  border-top: 0;
}

.collapsable-input:checked+.collapsable-head:after {
  content: "âˆ’";
}

.collapsable-input:checked+.collapsable-head+.collapsable-content {
  max-height: 500px;
}

.product_self .achieveforms-container .all-sections .field .fieldContent fieldset.fieldInput .checkbox-wrapper label,
.product_self .achieveforms-container .all-sections .field .fieldContent fieldset.fieldInput .radio-wrapper label,
.product_service .achieveforms-container .all-sections .field .fieldContent fieldset.fieldInput .checkbox-wrapper label,
.product_service .achieveforms-container .all-sections .field .fieldContent fieldset.fieldInput .radio-wrapper label,
.achieveforms-container .all-sections .field .fieldContent .fieldName,
.nav>li>button,
.achieveforms-container .all-sections .field .fieldContent .fieldInput,
.achieveforms-container .all-sections .field .fieldContent .prefix-suffix-mode,
p,
.achieveforms-container .all-sections .field .fieldContent .fieldInput.content,
.achieveforms-container .all-sections .field .fieldContent .fieldInput.upload,
.achieveforms-container .all-sections .field .fieldContent .prefix-suffix-mode.content,
.achieveforms-container .all-sections .field .fieldContent .prefix-suffix-mode.upload {
  font-size: 1rem;
}
@media only print,
only screen and (max-width: 767px) {
  body._AF,
  div._AF,
  html._AF {
    font-size: 19px;
  }
}
.repeat-subform-btn {
  /*  background-color: #2ea44f !important; */
  background-color: var(--main-dark-color);
  border: 1px solid rgba(27, 31, 35, .15);
  border-radius: 6px;
  box-sizing: border-box;
  color: #fff !important;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding: 6px 16px;
  position: relative;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
}
.fieldName {
  font-weight: bold !important;
}

.forceSmallTrailingSpace {
  margin-bottom: 15rem !important;
}
.forceLargeTrailingSpace {
  margin-bottom: 25rem !important;
}
/*******************************************************************
Styles for divs for CnES info, warning, tip and danger info boxes
********************************************************************/
.cnes_box {
  background: #eee;
  color: #333;
}

div.cnes_box,
div.cnes_danger,
div.cnes_warning,
div.cnes_caution,
div.cnes_notice,
div.cnes_safety {
  padding: 1em 1em .5em;
  margin-bottom: 1.5em;
  overflow: hidden;
}

span.cnes_box,
span.cnes_danger,
span.cnes_warning,
span.cnes_caution,
span.cnes_notice,
span.cnes_safety {
  padding: 0 .3em;
}

/* general styles for all note divs */
div.cnes_info,
div.cnes_important,
div.cnes_alert,
div.cnes_tip,
div.cnes_help,
div.cnes_todo,
div.cnes_download {
  padding: 70px 1em .5em 1em;
  margin-bottom: 1.5em;
  min-height: 100px;
  background-position: 50% 10px;
  background-repeat: no-repeat;
  color: inherit;
  overflow: hidden;
}

/* general styles for all span elements */
span.cnes_info,
span.cnes_important,
span.cnes_alert,
span.cnes_tip,
span.cnes_help,
span.cnes_todo,
span.cnes_download {
  padding: 0 2px 0 20px;
  min-height: 20px;
  background-position: 2px 50%;
  background-repeat: no-repeat;
  color: inherit;
}

/*____________ info ____________*/
.cnes_info {
  background-color: #d1d7df;
}
.cnes__dark.cnes_info {
  background-color: #343e4a;
  color: var(--color-bg)
}
div.cnes_info {
  background-image: url(images/icons/48/info.png);
}
span.cnes_info {
  background-image: url(images/icons/16/info.png);
}

/*____________ important ____________*/
.cnes_important {
  background-color: #ffd39f;
}
.cnes__dark.cnes_important {
  background-color: #6c3b00;
  color: var(--color-bg)
}
div.cnes_important {
  background-image: url(images/icons/48/important.png);
}
span.cnes_important {
  background-image: url(images/icons/16/important.png);
}

/*____________ alert ____________*/
.cnes_alert {
  background-color: #ffbcaf;
}
.cnes__dark.cnes_alert {
  background-color: #6b1100;
  color: var(--color-bg)
}
div.cnes_alert {
  background-image: url(images/icons/48/alert.png);
}
span.cnes_alert {
  background-image: url(images/icons/16/alert.png);
}

/*____________ tip ____________*/
.cnes_tip {
  background-color: #fff79f;
}
.cnes__dark.cnes_tip {
  background-color: #4a4400;
  color: var(--color-bg)
}
div.cnes_tip {
  background-image: url(images/icons/48/tip.png);
}
span.cnes_tip {
  background-image: url(images/icons/16/tip.png);
}

/*____________ help ____________*/
.cnes_help {
  background-color: #dcc2ef;
}
.cnes__dark.cnes_help {
  background-color: #3c1757;
  color: var(--color-bg)
}

div.cnes_help {
  background-image: url(images/icons/48/help.png);
}

span.cnes_help {
  background-image: url(images/icons/16/help.png);
}

/*____________ todo ____________*/
.cnes_todo {
  background-color: #c2efdd;
}

.cnes__dark.cnes_todo {
  background-color: #17573e;
  color: var(--color-bg)
}

div.cnes_todo {
  background-image: url(images/icons/48/todo.png);
}

span.cnes_todo {
  background-image: url(images/icons/16/todo.png);
}

/*____________ download ____________*/
.cnes_download {
  background-color: #d6efc2;
}

.cnes__dark.cnes_download {
  background-color: #345717;
  color: var(--color-bg)
}

div.cnes_download {
  background-image: url(images/icons/48/download.png);
}

span.cnes_download {
  background-image: url(images/icons/16/download.png);
}

/*____________ safety notes ____________*/
.cnes_danger {
  background-color: #c00;
  color: var(--color-bg)
}

.cnes_warning {
  background-color: #f60;
  color: #000;
}

.cnes_caution {
  background-color: #ff0;
  color: #000;
}

.cnes_notice {
  background-color: #06f;
  color: var(--color-bg)
}
.cnes_safety {
  background-color: #090;
  color: var(--color-bg)
}

.cnes_danger *,
.cnes_warning *,
.cnes_caution *,
.cnes_notice *,
.cnes_safety * {
  color: inherit !important;
}


/* yellow text highlighter */
.cnes_hi {
  background-color: #ff9;
  overflow: hidden;
}
.cnes__dark.cnes_hi {
  background-color: #4e4e0d;
  color: var(--color-bg)
}

@media only print,
only screen and (max-width: 767px) {
  body._AF,
  div._AF,
  html._AF {
    font-size: 19px;
  }
}
@media (min-width:48em) {
  div.cnes_info,
  div.cnes_important,
  div.cnes_alert,
  div.cnes_tip,
  div.cnes_help,
  div.cnes_todo,
  div.cnes_download {
    padding: 1em 1em .5em 70px;
    min-height: 100px;
    background-position: 10px 50%;
    min-height: 68px;
  }
}