:root{

    --theme-content-text-color: rgba(103,103,103,1);
    --theme-link-text-color: rgba(103,103,103,1);

    /*--theme-base-color-rgb-r: 97;
    --theme-base-color-rgb-g: 131;
    --theme-base-color-rgb-b: 158;*/

    
    --theme-base-color-rgb-r: 0;
    --theme-base-color-rgb-g: 162;
    --theme-base-color-rgb-b: 186;

    --theme-base-color: rgba(var(--theme-base-color-rgb-r),var(--theme-base-color-rgb-g),var(--theme-base-color-rgb-b),1);
    --theme-base-color-dark:rgba(var(--theme-base-color-rgb-r),var(--theme-base-color-rgb-g),var(--theme-base-color-rgb-b),0.6);
    --theme-base-color-mid:rgba(var(--theme-base-color-rgb-r),var(--theme-base-color-rgb-g),var(--theme-base-color-rgb-b),0.3);
    --theme-base-color-light:rgba(var(--theme-base-color-rgb-r),var(--theme-base-color-rgb-g),var(--theme-base-color-rgb-b),0.1);
    --theme-base-color-very-light:rgba(var(--theme-base-color-rgb-r),var(--theme-base-color-rgb-g),var(--theme-base-color-rgb-b),0.05);



    --theme-grey-1-color-rgb-r: 238;
    --theme-grey-1-color-rgb-g: 242;
    --theme-grey-1-color-rgb-b: 239;

    --theme-grey-1-color: rgba(var(--theme-grey-1-color-rgb-r),var(--theme-grey-1-color-rgb-g),var(--theme-grey-1-color-rgb-b),1);

    --theme-grey-2-color-rgb-r: 188;
    --theme-grey-2-color-rgb-g: 185;
    --theme-grey-2-color-rgb-b: 175;

    --theme-grey-2-color: rgba(var(--theme-grey-2-color-rgb-r),var(--theme-grey-2-color-rgb-g),var(--theme-grey-2-color-rgb-b),1);

    --theme-grey-3-color-rgb-r: 156;
    --theme-grey-3-color-rgb-g: 152;
    --theme-grey-3-color-rgb-b: 141;

    --theme-grey-3-color: rgba(var(--theme-grey-3-color-rgb-r),var(--theme-grey-3-color-rgb-g),var(--theme-grey-3-color-rgb-b),1);


    --theme-grey-4-color-rgb-r: 103;
    --theme-grey-4-color-rgb-g: 103;
    --theme-grey-4-color-rgb-b: 103;

    --theme-grey-4-color: rgba(var(--theme-grey-4-color-rgb-r),var(--theme-grey-4-color-rgb-g),var(--theme-grey-4-color-rgb-b),1);

    --theme-purple-color-rgb-r: 207;
    --theme-purple-color-rgb-g: 165;
    --theme-purple-color-rgb-b: 255;

    --theme-purple-color: rgba(var(--theme-purple-color-rgb-r),var(--theme-purple-color-rgb-g),var(--theme-purple-color-rgb-b),1);


    --theme-highlight-color-rgb-r: 255;
    --theme-highlight-color-rgb-g: 255;
    --theme-highlight-color-rgb-b: 255;

    --theme-highlight-color: rgba(var(--theme-highlight-color-rgb-r),var(--theme-highlight-color-rgb-g),var(--theme-highlight-color-rgb-b),1);
    --theme-highlight-color-dark:rgba(var(--theme-highlight-color-rgb-r),var(--theme-highlight-color-rgb-g),var(--theme-highlight-color-rgb-b),0.6);
    --theme-highlight-color-mid:rgba(var(--theme-highlight-color-rgb-r),var(--theme-highlight-color-rgb-g),var(--theme-highlight-color-rgb-b),0.3);
    --theme-highlight-color-light:rgba(var(--theme-highlight-color-rgb-r),var(--theme-highlight-color-rgb-g),var(--theme-highlight-color-rgb-b),0.1);

    --theme-container-background-color-rgb-r: 255;
    --theme-container-background-color-rgb-g: 255;
    --theme-container-background-color-rgb-b: 255;

    --theme-container-background-color: rgba(var(--theme-container-background-color-rgb-r),var(--theme-container-background-color-rgb-g),var(--theme-container-background-color-rgb-b),0.85);
    --theme-container-background-color-dark: rgba(var(--theme-container-background-color-rgb-r),var(--theme-container-background-color-rgb-g),var(--theme-container-background-color-rgb-b),0.95);


    --theme-light-base-color-rgb-r: 228;
    --theme-light-base-color-rgb-g: 234;
    --theme-light-base-color-rgb-b: 240;

    --theme-light-base-color: rgba(var(--theme-light-base-color-rgb-r),var(--theme-light-base-color-rgb-g),var(--theme-light-base-color-rgb-b),1);

    --theme-tile-dark-backround-color: rgba(var(--theme-base-color-rgb-r),var(--theme-base-color-rgb-g),var(--theme-base-color-rgb-b),1);
    --theme-tile-light-backround-color: rgba(var(--theme-light-base-color-rgb-r),var(--theme-light-base-color-rgb-g),var(--theme-light-base-color-rgb-b),1);
    --theme-tile-white-backround-color: rgba(255,255,255,1);

    --theme-tooltip-background-color:rgba(255,255,255,1);

    --theme-hover-state-color-rgb-r: 190;
    --theme-hover-state-color-rgb-g: 32;
    --theme-hover-state-color-rgb-b: 47;
    
    --theme-hover-state-color: rgba(var(--theme-hover-state-color-rgb-r),var(--theme-hover-state-color-rgb-g),var(--theme-hover-state-color-rgb-b),1);
    --theme-system-icon-hover-state-color:rgba(var(--theme-hover-state-color-rgb-r),var(--theme-hover-state-color-rgb-g),var(--theme-hover-state-color-rgb-b),1);

    /*--theme-base-content-background-colour: rgba(255,255,255,1);*/
    --theme-base-content-background-colour:rgba(var(--theme-base-color-rgb-r),var(--theme-base-color-rgb-g),var(--theme-base-color-rgb-b),0.05);

    --theme-base-button-color-rgb-r: 255;
    --theme-base-button-color-rgb-g: 255;
    --theme-base-button-color-rgb-b: 255;
    --theme-base-button-color: rgba(var(--theme-base-button-color-rgb-r),var(--theme-base-button-color-rgb-g),var(--theme-base-button-color-rgb-b),1);

    --theme-base-button-background-color-rgb-r: 188;
    --theme-base-button-background-color-rgb-g: 185;
    --theme-base-button-background-color-rgb-b: 175;
    --theme-base-button-background-color: rgba(var(--theme-base-button-background-color-rgb-r),var(--theme-base-button-background-color-rgb-g),var(--theme-base-button-background-color-rgb-b),1);



    --theme-base-button-hover-color-rgb-r: 255;
    --theme-base-button-hover-color-rgb-g: 255;
    --theme-base-button-hover-color-rgb-b: 255;
    --theme-base-button-hover-color: rgba(var(--theme-base-button-hover-color-rgb-r),var(--theme-base-button-hover-color-rgb-g),var(--theme-base-button-hover-color-rgb-b),1);

    --theme-base-button-hover-background-color-rgb-r: 0;
    --theme-base-button-hover-background-color-rgb-g: 162;
    --theme-base-button-hover-background-color-rgb-b: 186;
    --theme-base-button-hover-background-color: rgba(var(--theme-base-button-hover-background-color-rgb-r),var(--theme-base-button-hover-background-color-rgb-g),var(--theme-base-button-hover-background-color-rgb-b),1);


    --assessment-unselected: var(--theme-base-content-background-colour);

    --assessment-red-rgb-r: 240;
    --assessment-red-rgb-g: 72;
    --assessment-red-rgb-b: 75;
    --assessment-red: rgba(var(--assessment-red-rgb-r),var(--assessment-red-rgb-g),var(--assessment-red-rgb-b), 1);
    --assessment-red-light: rgba(var(--assessment-red-rgb-r),var(--assessment-red-rgb-g),var(--assessment-red-rgb-b), 0.1);
    --assessment-red-mid: rgba(var(--assessment-red-rgb-r),var(--assessment-red-rgb-g),var(--assessment-red-rgb-b), 0.3);
    --assessment-red-dark: rgba(var(--assessment-red-rgb-r),var(--assessment-red-rgb-g),var(--assessment-red-rgb-b), 0.6);

    --assessment-orange-rgb-r: 255;
    --assessment-orange-rgb-g: 172;
    --assessment-orange-rgb-b: 48;
    
    --assessment-orange: rgba(var(--assessment-orange-rgb-r),var(--assessment-orange-rgb-g),var(--assessment-orange-rgb-b), 1);
    --assessment-orange-light: rgba(var(--assessment-orange-rgb-r),var(--assessment-orange-rgb-g),var(--assessment-orange-rgb-b), 0.1);
    --assessment-orange-mid: rgba(var(--assessment-orange-rgb-r),var(--assessment-orange-rgb-g),var(--assessment-orange-rgb-b), 0.3);
    --assessment-orange-dark: rgba(var(--assessment-orange-rgb-r),var(--assessment-orange-rgb-g),var(--assessment-orange-rgb-b), 0.6);

    --assessment-yellow-rgb-r: 255;
    --assessment-yellow-rgb-g: 231;
    --assessment-yellow-rgb-b: 90;
    --assessment-yellow: rgba(var(--assessment-yellow-rgb-r),var(--assessment-yellow-rgb-g),var(--assessment-yellow-rgb-b), 1);
    --assessment-yellow-light: rgba(var(--assessment-yellow-rgb-r),var(--assessment-yellow-rgb-g),var(--assessment-yellow-rgb-b), 0.1);
    --assessment-yellow-mid: rgba(var(--assessment-yellow-rgb-r),var(--assessment-yellow-rgb-g),var(--assessment-yellow-rgb-b), 0.3);
    --assessment-yellow-dark: rgba(var(--assessment-yellow-rgb-r),var(--assessment-yellow-rgb-g),var(--assessment-yellow-rgb-b), 0.6);

    --assessment-light-green-rgb-r: 137;
    --assessment-light-green-rgb-g: 233;
    --assessment-light-green-rgb-b: 118;
    --assessment-light-green: rgba(var(--assessment-light-green-rgb-r),var(--assessment-light-green-rgb-g),var(--assessment-light-green-rgb-b), 1);
    --assessment-light-green-light: rgba(var(--assessment-light-green-rgb-r),var(--assessment-light-green-rgb-g),var(--assessment-light-green-rgb-b), 0.1);
    --assessment-light-green-mid: rgba(var(--assessment-light-green-rgb-r),var(--assessment-light-green-rgb-g),var(--assessment-light-green-rgb-b), 0.3);
    --assessment-light-green-dark: rgba(var(--assessment-light-green-rgb-r),var(--assessment-light-green-rgb-g),var(--assessment-light-green-rgb-b), 0.6);

    --assessment-dark-green-rgb-r: 0;
    --assessment-dark-green-rgb-g: 159;
    --assessment-dark-green-rgb-b: 103;
    --assessment-dark-green: rgba(var(--assessment-dark-green-rgb-r),var(--assessment-dark-green-rgb-g),var(--assessment-dark-green-rgb-b), 1);
    --assessment-dark-green-light: rgba(var(--assessment-dark-green-rgb-r),var(--assessment-dark-green-rgb-g),var(--assessment-dark-green-rgb-b), 0.1);
    --assessment-dark-green-mid: rgba(var(--assessment-dark-green-rgb-r),var(--assessment-dark-green-rgb-g),var(--assessment-dark-green-rgb-b), 0.3);
    --assessment-dark-green-dark: rgba(var(--assessment-dark-green-rgb-r),var(--assessment-dark-green-rgb-g),var(--assessment-dark-green-rgb-b), 0.6);

     --assessment-none-rgb-r: 188;
    --assessment-none-rgb-g: 185;
    --assessment-none-rgb-b: 175;
    --assessment-none: rgba(var(--assessment-none-rgb-r),var(--assessment-none-rgb-g),var(--assessment-none-rgb-b), 1);
    --assessment-none-light: rgba(var(--assessment-none-rgb-r),var(--assessment-none-rgb-g),var(--assessment-none-rgb-b), 0.1);
    --assessment-none-mid: rgba(var(--assessment-none-rgb-r),var(--assessment-none-rgb-g),var(--assessment-none-rgb-b), 0.3);
    --assessment-none-dark: rgba(var(--assessment-none-rgb-r),var(--assessment-none-rgb-g),var(--assessment-none-rgb-b), 0.6);

    --theme-saving-rgb-r:244;
    --theme-saving-rgb-g:125;
    --theme-saving-rgb-b:50;
    --theme-saving-color: rgba(var(--theme-saving-rgb-r),var(--theme-saving-rgb-g),var(--theme-saving-rgb-b),1);

    --theme-saved-rgb-r:0;
    --theme-saved-rgb-g:156;
    --theme-saved-rgb-b:124;
    --theme-saved-color: rgba(var(--theme-saved-rgb-r),var(--theme-saved-rgb-g),var(--theme-saved-rgb-b),1);

    --theme-not-saved-rgb-r:190;
    --theme-not-saved-rgb-g:32;
    --theme-not-saved-rgb-b:47;
    --theme-not-saved-color: rgba(var(--theme-not-saved-rgb-r),var(--theme-not-saved-rgb-g),var(--theme-not-saved-rgb-b),1);

    --theme-input-border-color-rgb-r:75;
    --theme-input-border-color-rgb-g:103;
    --theme-input-border-color-rgb-b:135;
    --theme-input-border-color: rgba(var(--theme-input-border-color-rgb-r),var(--theme-input-border-color-rgb-g),var(--theme-input-border-color-rgb-b),1);
    --theme-input-border-color-light: rgba(var(--theme-input-border-color-rgb-r),var(--theme-input-border-color-rgb-g),var(--theme-input-border-color-rgb-b),0.5);
    --theme-input-border-color-very-light: rgba(var(--theme-input-border-color-rgb-r),var(--theme-input-border-color-rgb-g),var(--theme-input-border-color-rgb-b),0.25);

    --theme-error-status-color-rgb-r: 190;
    --theme-error-status-color-rgb-g: 32;
    --theme-error-status-color-rgb-b: 47;
    --theme-error-status-color: rgba(var(--theme-error-status-color-rgb-r),var(--theme-error-status-color-rgb-g),var(--theme-error-status-color-rgb-b), 1);
    --theme-error-status-color-light: rgba(var(--theme-error-status-color-rgb-r),var(--theme-error-status-color-rgb-g),var(--theme-error-status-color-rgb-b), 0.1);
    --theme-error-status-color-mid: rgba(var(--theme-error-status-color-rgb-r),var(--theme-error-status-color-rgb-g),var(--theme-error-status-color-rgb-b), 0.3);
    --theme-error-status-color-dark: rgba(var(--theme-error-status-color-rgb-r),var(--theme-error-status-color-rgb-g),var(--theme-error-status-color-rgb-b), 0.6);

    --theme-warning-status-color-rgb-r: 240;
    --theme-warning-status-color-rgb-g: 93;
    --theme-warning-status-color-rgb-b: 15;
    --theme-warning-status-color: rgba(var(--theme-warning-status-color-rgb-r),var(--theme-warning-status-color-rgb-g),var(--theme-warning-status-color-rgb-b), 1);
    --theme-warning-status-color-light: rgba(var(--theme-warning-status-color-rgb-r),var(--theme-warning-status-color-rgb-g),var(--theme-warning-status-color-rgb-b), 0.1);
    --theme-warning-status-color-mid: rgba(var(--theme-warning-status-color-rgb-r),var(--theme-warning-status-color-rgb-g),var(--theme-warning-status-color-rgb-b), 0.3);
    --theme-warning-status-color-dark: rgba(var(--theme-warning-status-color-rgb-r),var(--theme-warning-status-color-rgb-g),var(--theme-warning-status-color-rgb-b), 0.6);


    --theme-alert-active-rgb-r:190;
    --theme-alert-active-rgb-g: 32;
    --theme-alert-active-rgb-b: 47;
    --theme-alert-active: rgba(var(--theme-alert-active-rgb-r),var(--theme-alert-active-rgb-g),var(--theme-alert-active-rgb-b), 1);

    --theme-alert-inactive-rgb-r:0;
    --theme-alert-inactive-rgb-g: 0;
    --theme-alert-inactive-rgb-b: 0;
    --theme-alert-inactive: rgba(var(--theme-alert-inactive-rgb-r),var(--theme-alert-inactive-rgb-g),var(--theme-alert-inactive-rgb-b), 0.5);
   
    --theme-assessment-button-disabled-rgb-r: var(--theme-base-color-rgb-r);
    --theme-assessment-button-disabled-rgb-g: var(--theme-base-color-rgb-g);
    --theme-assessment-button-disabled-rgb-b: var(--theme-base-color-rgb-b);

    --theme-assessment-button-disabled: rgba(var(--theme-assessment-button-disabled-rgb-r),var(--theme-assessment-button-disabled-rgb-g),var(--theme-assessment-button-disabled-rgb-b), 0.25) !important;

    --theme-mandatory-field-color-rgb-r: 207;
    --theme-mandatory-field-color-rgb-g: 165;
    --theme-mandatory-field-color-rgb-b: 255;
    --theme-mandatory-field-color: rgba(var(--theme-mandatory-field-color-rgb-r), var(--theme-mandatory-field-color-rgb-g), var(--theme-mandatory-field-color-rgb-b), 1);
    --theme-mandatory-field-color-dark: rgba(var(--theme-mandatory-field-color-rgb-r), var(--theme-mandatory-field-color-rgb-g), var(--theme-mandatory-field-color-rgb-b), 0.8);
    --theme-mandatory-field-color-med: rgba(var(--theme-mandatory-field-color-rgb-r), var(--theme-mandatory-field-color-rgb-g), var(--theme-mandatory-field-color-rgb-b), 0.5);
    --theme-mandatory-field-color-light: rgba(var(--theme-mandatory-field-color-rgb-r), var(--theme-mandatory-field-color-rgb-g), var(--theme-mandatory-field-color-rgb-b), 0.25);

    --theme-optional-field-color-rgb-r: 75;
    --theme-optional-field-color-rgb-g: 103;
    --theme-optional-field-color-rgb-b: 135;
    --theme-optional-field-color: rgba(var(--theme-optional-field-color-rgb-r), var(--theme-optional-field-color-rgb-g), var(--theme-optional-field-color-rgb-b), 0.1);
    --theme-optional-field-color-dark: rgba(var(--theme-optional-field-color-rgb-r), var(--theme-optional-field-color-rgb-g), var(--theme-optional-field-color-rgb-b), 0.25);


    --theme-secondary-color-yellow-rgb-r:232;
    --theme-secondary-color-yellow-rgb-g:178;
    --theme-secondary-color-yellow-rgb-b:97;
    --theme-secondary-color-yellow: rgba(var(--theme-secondary-color-yellow-rgb-r),var(--theme-secondary-color-yellow-rgb-g),var(--theme-secondary-color-yellow-rgb-b),1);

    --theme-secondary-color-purple-rgb-r:178;
    --theme-secondary-color-purple-rgb-g:148;
    --theme-secondary-color-purple-rgb-b:213;
    --theme-secondary-color-purple: rgba(var(--theme-secondary-color-purple-rgb-r),var(--theme-secondary-color-purple-rgb-g),var(--theme-secondary-color-purple-rgb-b),1);

    --theme-secondary-color-pink-rgb-r:240;
    --theme-secondary-color-pink-rgb-g:143;
    --theme-secondary-color-pink-rgb-b:210;
    --theme-secondary-color-pink: rgba(var(--theme-secondary-color-pink-rgb-r),var(--theme-secondary-color-pink-rgb-g),var(--theme-secondary-color-pink-rgb-b),1);

     --theme-secondary-color-pink-light-rgb-r:240;
    --theme-secondary-color-pink-light-rgb-g:143;
    --theme-secondary-color-pink-light-rgb-b:210;
    --theme-secondary-color-pink-light: rgba(var(--theme-secondary-color-pink-light-rgb-r),var(--theme-secondary-color-pink-light-rgb-g),var(--theme-secondary-color-pink-light-rgb-b),0.25);

    --theme-secondary-color-red-rgb-r:224;
    --theme-secondary-color-red-rgb-g:111;
    --theme-secondary-color-red-rgb-b:85;
    --theme-secondary-color-red: rgba(var(--theme-secondary-color-red-rgb-r),var(--theme-secondary-color-red-rgb-g),var(--theme-secondary-color-red-rgb-b),1);

    --theme-secondary-color-blue-rgb-r:79;
    --theme-secondary-color-blue-rgb-g:139;
    --theme-secondary-color-blue-rgb-b:197;
    --theme-secondary-color-blue: rgba(var(--theme-secondary-color-blue-rgb-r),var(--theme-secondary-color-blue-rgb-g),var(--theme-secondary-color-blue-rgb-b),1);

     --theme-secondary-color-blue-light-rgb-r:79;
    --theme-secondary-color-blue-light-rgb-g:139;
    --theme-secondary-color-blue-light-rgb-b:197;
    --theme-secondary-color-blue-light: rgba(var(--theme-secondary-color-blue-light-rgb-r),var(--theme-secondary-color-blue-light-rgb-g),var(--theme-secondary-color-blue-light-rgb-b),0.25);

    --theme-secondary-color-olive-rgb-r:191;
    --theme-secondary-color-olive-rgb-g:193;
    --theme-secondary-color-olive-rgb-b:86;
    --theme-secondary-color-olive: rgba(var(--theme-secondary-color-olive-rgb-r),var(--theme-secondary-color-olive-rgb-g),var(--theme-secondary-color-olive-rgb-b),1);

    --theme-secondary-color-green-rgb-r:124;
    --theme-secondary-color-green-rgb-g:180;
    --theme-secondary-color-green-rgb-b:127;
    --theme-secondary-color-green: rgba(var(--theme-secondary-color-green-rgb-r),var(--theme-secondary-color-green-rgb-g),var(--theme-secondary-color-green-rgb-b),1);

    --theme-secondary-color-aqua-rgb-r:174;
    --theme-secondary-color-aqua-rgb-g:221;
    --theme-secondary-color-aqua-rgb-b:219;
    --theme-secondary-color-aqua: rgba(var(--theme-secondary-color-aqua-rgb-r),var(--theme-secondary-color-aqua-rgb-g),var(--theme-secondary-color-aqua-rgb-b),1);

    --theme-secondary-color-light-blue-rgb-r:230;
    --theme-secondary-color-light-blue-rgb-g:246;
    --theme-secondary-color-light-blue-rgb-b:248;
    --theme-secondary-color-light-blue: rgba(var(--theme-secondary-color-light-blue-rgb-r),var(--theme-secondary-color-light-blue-rgb-g),var(--theme-secondary-color-light-blue-rgb-b),1);

    --theme-secondary-color-grey-rgb-r:230;
    --theme-secondary-color-grey-rgb-g:246;
    --theme-secondary-color-grey-rgb-b:248;
    --theme-secondary-color-grey: rgba(var(--theme-secondary-color-grey-rgb-r),var(--theme-secondary-color-grey-rgb-g),var(--theme-secondary-color-grey-rgb-b),1);

    

    --theme-no-info-color-rgb-r:181;
    --theme-no-info-color-rgb-g:181;
    --theme-no-info-color-rgb-b:181;
    --theme-no-info-color: rgba(var(--theme-no-info-color-rgb-r),var(--theme-no-info-color-rgb-g),var(--theme-no-info-color-rgb-b),1);

    --chart-mask-rgb-r:100;
    --chart-mask-rgb-g:100;
    --chart-mask-rgb-b:100;
    --chart-mask:rgba(var(--chart-mask-rgb-r),var(--chart-mask-rgb-g),var(--chart-mask-rgb-b),0.08);



    --european: var(--theme-secondary-color-pink);
    --european_light: var(--theme-secondary-color-pink-light);
    --maori: var(--theme-secondary-color-blue);
    --maori_light: var(--theme-secondary-color-blue-light);
    --asian: var(--theme-secondary-color-red);
    --not_defined: var(--theme-no-info-color);
    --pacific_peoples: var(--theme-secondary-color-green);
    --other_ethnicity: var(--theme-secondary-color-grey);
    --middle_eastern_latin_american_african: var(--theme-secondary-color-aqua);

    --age_10_14: var(--theme-secondary-color-purple);
    --age_15_19: var(--theme-secondary-color-yellow);
    --age_20_24: var(--theme-secondary-color-red);

    --male: var(--theme-secondary-color-yellow);
    --female: var(--theme-secondary-color-purple);
    --gender_diverse: var(--theme-secondary-color-olive);

    --other: var(--theme-secondary-color-aqua);
    --intersex: var(--theme-secondary-color-green);

    --undecided: var(--theme-secondary-color-grey);
    --heterosexual: var(--theme-secondary-color-light-blue);
    --homosexual: var(--theme-secondary-color-pink);
    --pansexual: var(--theme-secondary-color-red);
    --bisexual: var(--theme-secondary-color-yellow);
    --questioning:  var(--theme-secondary-color-purple);
    --asexual: var(--theme-secondary-color-olive);

}



input[type=text],
input[type=email],
input[type=number],
input[type=date],
input[type=time],
input.type_ahead,
select,
textarea{
   /* padding-left: 0px !important;*/
    border:none;
    width: -moz-available;
    width: -webkit-fill-available;
    /*font-family: Roboto_regular;*/
}

textarea{
    padding: 20px;
    background-color: var(--theme-grey-1-color);
}
input.text_field{      
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 20px !important;
    padding-right: 10px;
    line-height: 40px;
}
input.text_field:is(:hover,:focus){
    outline:none;
}
input.text_field::placeholder{
    color: var(--theme-grey-2-color) ;   
    font-family: Roboto_light_italic;
}

.button{
    background-color: var(--theme-base-button-background-color);
    color: var(--theme-base-button-color);
    border: 1px solid var(--theme-base-button-background-color);
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom:10px;
    border-radius: 0px;
    margin:0px;
    cursor: pointer;
}
.button span.las{
    font-size: 20px;
}
.button:is(:hover,:focus){
    background-color: var(--theme-base-button-hover-background-color);
    color: var(--theme-base-button-hover-color);
    border: 1px solid var(--theme-base-button-hover-background-color);
}
.rounded_corner_top_left{
    border-top-left-radius: 20px !important;
}
.rounded_corner_bottom_right{
    border-bottom-right-radius: 20px !important;
}

.text_field_with_button_wrapper{
    box-shadow: 2px 2px 10px #cdcdcd;
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    margin-right:10px;
    width:100%;
}
.text_field_wrapper{
    width: -moz-available;
    width: -webkit-fill-available;
}
.button_wrapper{

}
.container_with_background{
    background-color: var(--theme-container-background-color);
}
.container_with_background_dark{
    background-color: var(--theme-container-background-color-dark);
}
.container_with_background .section_heading{
    font-size: 24px;
    font-family: Roboto_medium;
    color: var(--theme-grey-4-color);
}
.container_with_background .section_sub_heading{
    color: var(--theme-base-color);
    display: grid;
    place-content: center;
}
select.select_control{
    border: 2px solid var(--theme-base-color);
    width: 100%;
    padding-top: 10px;
    padding-bottom:10px;
    padding-left:10px;
    background-color: #fff;
    color: var(--theme-grey-2-color);
    position: relative;
    font-style: italic;
    font-family: Roboto_regular;

}
select.select_control.has_selection{
    color: var(--theme-grey-4-color);
    font-style: normal;   
}
select.select_control optgroup{
font-style: normal;
}
select.select_control optgroup option, select.select_control  option{
font-style: normal;
color: var(--theme-grey-4-color);
}
select.select_control.active{
    /*font-weight: bold;*/
}
.select_control_wrapper{
    position: relative;
}
.select_control_wrapper:after{
    content: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 36 36'%3E%3Ctitle%3Echevron-down%3C/title%3E%3Cpath opacity='1' fill='%2300A2BA' d='M16 17.956l11.083-11.083c1.105-1.105 2.895-1.105 4 0s1.105 2.895 0 3.999l-15.083 15.083-15.083-15.083c-1.105-1.105-1.105-2.895 0-3.999s2.895-1.105 3.999 0l11.083 11.083z'%3E%3C/path%3E%3C/svg%3E%0A");
    position: absolute;
    right:3px;
    top:12px;
    
    width:26px;
    height:20px;
    z-index: 10;
    background-color: #fff;
    pointer-events: none;
}
@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */ 
    .tiny .select_control_wrapper:after{
        content: "";
        display: none;
    }
 }


select.select_control optgroup{
    
    color:var(--theme-base-color);
    
}

select.select_control option{
  /*  color: var(--theme-grey-4-color);*/
}
.dummy_select.select_control{
    border: 2px solid var(--theme-base-color);
    width: 100%;
    padding-top: 10px;
    padding-bottom:10px;
    position: relative;
    background-color: #fff;
    color: var(--theme-grey-2-color);
    font-style: italic;
    font-size: 14px;

}
.dummy_select.select_control:after, .panel_toggle_trigger:after{
    content: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 36 36'%3E%3Ctitle%3Echevron-down%3C/title%3E%3Cpath opacity='1' fill='%2300A2BA' d='M16 17.956l11.083-11.083c1.105-1.105 2.895-1.105 4 0s1.105 2.895 0 3.999l-15.083 15.083-15.083-15.083c-1.105-1.105-1.105-2.895 0-3.999s2.895-1.105 3.999 0l11.083 11.083z'%3E%3C/path%3E%3C/svg%3E%0A");
    position: absolute;
    right:3px;
    top:10px;
    
    width:20px;
    height:20px;
    z-index: 10;
    background-color: #fff;
    cursor: pointer;
}
dummy_select.select_control.has_selection{
    color: var(--theme-grey-4-color);
    font-style: normal;   
}
.panel_toggle_trigger:after{
    top:0px;
}
.panel_toggle_trigger.open:after{
    transform: rotate(180deg);
   
}
.dummy_select.select_control > div{
    padding-left:10px;
}
input.date_field{
    box-shadow: 2px 2px 10px #cdcdcd;
   
    padding-top: 10px;
    padding-bottom:10px;
    padding-left:10px;
    background-color: #fff;
    color: var(--theme-grey-2-color);
}

.button_group_wrapper{
    display: flex;
    flex-wrap: nowrap;
    justify-content: left;    
}
.tiny .button_group_wrapper, .small .button_group_wrapper{
    flex-wrap: wrap;
}
.button_group_wrapper.right{
    justify-content: right;
}
.button_group_wrapper .group_button{
    background-color: #fff;
    border: 2px solid var(--theme-base-color);
    color: var(--theme-base-color);
    white-space: nowrap;
    padding-left: 60px;
    padding-right: 60px;
    padding-top: 10px;
    padding-bottom:10px;
    border-radius: 0px;
    margin:0px;
    cursor: pointer;
}
.small .button_group_wrapper .group_button{
    padding-left: 10px;
    padding-right: 10px;
}
.tiny .button_group_wrapper .group_button{
    padding-left: 5px;
    padding-right: 5px;
}
.button_group_wrapper .group_button:is(:hover,:focus,.active){
    background-color: var(--theme-base-button-hover-background-color);
    color: var(--theme-base-button-hover-color);
}
.button_group_wrapper.white_version .group_button{
    border-color: #fff;
    color: #fff;
}
.button_group_wrapper.white_version .group_button:is(:hover,:focus,.active){
    background-color: #fff;
    color: var(--theme-base-color);
}


.button_group_wrapper :not(:first-child):not(:last-child){
    border-left-width: 0px;
}
 
.button_group_wrapper :last-child{
    border-bottom-right-radius: 20px !important;
    border-left-width: 0px;
}
.button_group_wrapper :first-child{
    border-top-left-radius: 20px !important;
    border-left-width: 2px;
}

.image_button{
    cursor:pointer
}
.button_group_wrapper .group_button.disabled{
	background-color: #7acbd5;
	color: var(--theme-base-color);
}


@font-face{
    font-family: 'Roboto_regular';
    src: url(/resources2/fonts/Roboto/Roboto-Regular.ttf);
}
@font-face{
    font-family: 'Roboto_regular_italic';
    src: url(/resources2/fonts/Roboto/Roboto-Italic.ttf);
}
@font-face{
    font-family: 'Roboto_medium';
    src: url(/resources2/fonts/Roboto/Roboto-Medium.ttf);
}
@font-face{
    font-family: 'Roboto_medium_italic';
    src: url(/resources2/fonts/Roboto/Roboto-MediumItalic.ttf);
}
@font-face{
    font-family: 'Roboto_light';
    src: url(/resources2/fonts/Roboto/Roboto-Light.ttf);
}
@font-face{
    font-family: 'Roboto_light_italic';
    src: url(/resources2/fonts/Roboto/Roboto-LightItalic.ttf);
}
@font-face{
    font-family: 'Roboto_bold';
    src: url(/resources2/fonts/Roboto/Roboto-Bold.ttf);
}
@font-face{
    font-family: 'Roboto_bold_italic';
    src: url(/resources2/fonts/Roboto/Roboto-BoldItalic.ttf);
}
@font-face{
    font-family: 'Roboto_thin';
    src: url(/resources2/fonts/Roboto/Roboto-Thin.ttf);
}
@font-face{
    font-family: 'Roboto_thin_italic';
    src: url(/resources2/fonts/Roboto/Roboto-ThinItalic.ttf);
}
body{
    font-family: 'Roboto_regular';
    font-size: 16px;
    color: var(--theme-content-text-color);
}
h1{
    font-family: 'Roboto_medium';
    font-size: 36px;
    
    margin-top: 10px;
    margin-bottom: 10px;
}
h2{
    font-family: 'Roboto_medium';
    font-size: 26px;
    margin: 0px;
}
h3{
    font-family: 'Roboto_medium';
    font-size: 26px;
    margin: 0px;
    
}
h4{
    font-family: 'Roboto_medium';
    font-size: 20px;
    margin: 0px;
    margin-bottom:20px;
}
h5{
    font-family: 'Roboto_regular';
    font-size: 16px;
    margin: 0px;
    margin-bottom:20px;
   font-weight: normal;
}
button{
    font-family: 'Roboto_regular';
    font-size: 16px;
}

a{
    color: var(--theme-link-text-color);
    text-decoration: none;
    
}

/*a:is(:visited){
    color: var(--theme-link-text-color);
}
a:is(:hover,:focus){
    color: var(--theme-hover-state-color);
    text-decoration: underline;
}*/
p{
    font-family: 'Roboto_regular';
    font-size: 16px;
}
input[type=text],
input[type=email],
input[type=number],
input[type=date],
textarea,
select{
    font-size: 14px;
    border: 1px solid var(--theme-base-color-light);
    font-family: 'Roboto_regular';
}







#header_wrapper{
    background-color: #fff;
    min-height: 40px;
    
}
#header_wrapper button.main_menu_trigger{
    color: var(--theme-base-color);
}
#header_wrapper button.logged_in_menu_trigger{
    color: var(--theme-grey-2-color);
    font-size:3rem;
}
#header_wrapper button.logged_in_menu_trigger::after{
    content: "\22EE";
}
#header_wrapper button.log_out_trigger{
    color: #000;
}
#header_wrapper button:is(:hover,:focus,.active){
    color: var(--theme-base-color);
}

.header_contents_wrapper{
    display: flex;
    justify-content: space-between;
}

.header_contents_wrapper .left_side_wrapper{
    width: 65vw;
    display: flex;
    flex-wrap: nowrap;
    justify-content: left;
}
.header_contents_wrapper .right_side_wrapper{
    display: grid;
    grid-template-columns: 50% 50%;
    width: 30vw;
    place-content: center;
}
.miro_logo_wrapper{
    width: 150px;
    padding:20px;
}
.standard .miro_logo_wrapper, .large .miro_logo_wrapper{
    padding-left: 80px;
}
.main_menu_wrapper{
    flex: 0 1 350px;
    padding:20px;
    position: relative;
}
.main_nav_wrapper{
    display: grid;
    place-items: center;
    margin-left: 4vw;
}
.main_nav_wrapper ul{
    list-style: none;
    
}
.main_nav_wrapper ul li{
    list-style-type: none;
    display: inline-block;
    padding: 5px;
    padding-right:60px;
}
.main_nav_wrapper ul li a{
    color: var(--theme-grey-2-color);
}
.main_nav_wrapper ul li a:is(:hover,:focus,.active){
    color: var(--theme-base-color);
}

.logged_in_actions_wrapper{
    display: none;
}
.logged_in .logged_in_actions_wrapper{
    
    display:grid;
    grid-template-columns: auto 10px auto;
    place-content: center;
    position: relative;
}
.logged_in_as{
    flex: 1 1 auto;
    font-size: 0.9rem;
    /*padding-top:5px;*/
    color: var(--theme-grey-2-color);
    display: flex;
    place-items: center;
}
.logged_in_menu_wrapper{
    flex: 0 0 50px;
    position:relative;
}
.logged_in_menu_trigger{
    font-size: var(--icon-size-med);
    padding-left:5px;
    padding-right: 5px;
   
}
.main_menu_trigger_wrapper{
    display: none;
}
.logged_in .main_menu_trigger_wrapper{
    display: grid;
    place-items: center;
    height: 35px;
}
.main_menu_list_wrapper{
    position: absolute;
    top:64px;
   z-index: 1000;
    background-color: #fff;
    border: 1px solid var(--theme-base-color);
    /*width: 400px;*/
    padding:10px;
    display:none;
    
}
.logged_in_menu_list_wrapper{
    position: absolute;
    z-index: 500;
    top:70px;
    left: 0px;
    background-color: #fff;
    /*border: 1px solid var(--theme-base-color);*/
    display: none;
    box-shadow: 3px 5px 8px 2px rgba(0, 0, 0, 0.25);
}
.main_menu_list_wrapper ul,
.logged_in_menu_list_wrapper ul{
    padding: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.main_menu_list_wrapper ul li,
.logged_in_menu_list_wrapper ul li{
    list-style-type: none;
    
    
    
}
/*.main_menu_list_wrapper ul li:is(:hover,:focus),
.logged_in_menu_list_wrapper ul li:is(:hover,:focus){
    background-color: var(--theme-base-color);
   
}*/
.main_menu_list_wrapper ul li a,
.logged_in_menu_list_wrapper ul li a,
.logged_in_menu_list_wrapper ul li button{
    line-height: 24px;
    color: var(--theme-base-color);
    display: block;
    /*width:100%;*/
    padding-top: 10px;
     padding-bottom: 10px;
    padding-left:20px;
    padding-right:80px;
}
.main_menu_list_wrapper ul li a:is(:hover,:focus),
.logged_in_menu_list_wrapper ul li a:is(:hover,:focus),
.logged_in_menu_list_wrapper ul li button:is(:hover,:focus){
    color:#fff;
    background-color: var(--theme-base-color);
 
}
#logo_wrapper{
    display: grid;
    place-items: center;
}
#logo_wrapper img{
    max-height: 50px;
}


/*new client focused pages navigation*/

.client_navigation_container{
    display: none;
  position: absolute;
  width: 100vw;
  /*left:0.15vw;*/
  background-color: var(--theme-container-background-color);
  border-top-left-radius: 40px;
  border-bottom-right-radius: 40px;
  z-index: 100;
  box-shadow: 0px 6px 9px rgba(154,154,154,0.5);
}
.client_navigation_container.sticky{
    position:fixed;
    top:0px;
}
.client_navigation_wrapper{
    display:grid;
    grid-template-rows:auto auto;
    position: relative;
}
.client_navigation_top_bar_wrapper{
    background-color: var(--theme-base-color);
    border-top-left-radius: 40px;
    box-shadow: 0px 6px 9px rgba(154,154,154,0.5);
    padding-left:40px;
    padding-right:40px;
}
.client_navigation_elements_container{
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    height:45px;
    overflow: hidden;
    gap:20px;
    
}
.client_navigation_elements_container.open{
    height:max-content;
    overflow: visible; 
}
.client_navigation_elements_container:is(:hover,:focus){
   /* height:max-content;
    overflow: visible;*/
   
}
.top_nav_bar_trigger{
    position: absolute;
    font-size: 2rem;
    color: #fff;
    right:30px;
    cursor:pointer;
    top:5px;
}

.demographics_element_wrapper{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex:0 1 75%;
    gap:10px;
}
.client_navigation_elements_wrapper{
    display: flex;
    justify-content: left;
    gap:20px;
    /*padding-left:40px;*/
    flex-wrap: wrap;
}
.small .client_navigation_elements_wrapper, .standard .client_navigation_elements_wrapper{
    gap:10px;
}
.client_navigation_element_wrapper{
    padding-top:15px;
    padding-bottom:15px;

}
.standard .client_navigation_element_wrapper{
   /* padding-top:5px;
    padding-bottom:5px;*/
}
.client_navigation_name_element .client_navigation_element_wrapper{
    padding-top:13px;
}
.small .client_navigation_element_wrapper, .tiny .client_navigation_element_wrapper{
    padding-top:5px;
    padding-bottom:5px;
}
.client_navigation_name_element{
    flex:0 1 max-content;
}
.client_nhi_wrapper,.client_dob_wrapper ,.client_satus_wrapper,.client_sex_wrapper,.client_gender_wrapper,.client_pronouns_wrapper,.client_last_assessed_wrapper,.client_ethnicity_wrapper  {
    display: grid;
   grid-template-columns: max-content max-content;
   gap:10px;
}

.client_last_assessed_wrapper .value{
    display: grid;
   grid-template-columns: max-content max-content;
   gap:10px;
}

.client_name_wrapper{
    font-size: 1.2rem;
    font-weight: bold;
    color:#fff;
   
}
.client_nhi_wrapper .value,.client_dob_wrapper .value ,.client_satus_wrapper .value, .client_sex_wrapper .value, .client_gender_wrapper .value, .client_pronouns_wrapper .value,.client_last_assessed_wrapper .value, .client_ethnicity_wrapper .value{
font-size: 1rem;
    font-weight: bold;
    color:#fff;
}
.client_nhi_wrapper .label,.client_dob_wrapper .label ,.client_satus_wrapper .label,.client_sex_wrapper .label,.client_gender_wrapper .label,.client_pronouns_wrapper .label,.client_last_assessed_wrapper .label,.client_ethnicity_wrapper .label{
   /* color: var(--theme-grey-2-color);*/
   color: #dedede;
}
.client_last_assessed_wrapper .indicator{
    width: 15px;
    height: 15px;
    border-radius: 20px;
    margin-top:3px;
    
}
.client_last_assessed_wrapper .indicator.seriously_at_risk{
    background-color: var(--assessment-red);
}
.client_last_assessed_wrapper .indicator.at_risk{
    background-color: var(--assessment-orange);
}
.client_last_assessed_wrapper .indicator.ok_some_challenges{
    background-color: var(--assessment-yellow);
}
.client_last_assessed_wrapper .indicator.good{
    background-color: var(--assessment-light-green);
}
.client_last_assessed_wrapper .indicator.thriving{
    background-color: var(--assessment-dark-green);
}
.client_last_assessed_wrapper .indicator.none, .client_tile_wrapper .none{
    background-color: var(--assessment-none);
   
}
.client_navigation_status_element{
    padding-right:60px;
}
.client_navigation_bottom_bar_wrapper{
    display: flex;
    justify-content: center;
    gap:40px;
}
.new_actions_wrapper{
   position: relative;
    
    width:250;
}
.new_actions_button{
    color:var(--theme-base-color);
    background-color: #fff;
    border:2px solid var(--theme-base-color);
    padding-top:8px;
    padding-bottom:8px;
     width:280px;
     text-align: center;
     cursor: pointer;
}
.new_actions_button:is(:focus,:hover){
    color:#fff;
    background-color: var(--theme-base-color);
}
.new_actions_button_list{
    
    position: absolute;
    width:284px;
    top:40px;
    left:0px;
    background-color: #fff;
    padding-top:20px;
    padding-bottom:20px;
    box-shadow: 2px 6px 9px var(--theme-grey-2-color);
}
.new_actions_items_wrapper{
    display: grid;
    grid-template-rows: 30px;
}
.new_actions_item_wrapper{
    color:var(--theme-base-color) !important;
    padding-top:5px;
    padding-bottom:5px;
    padding-left:20px;
    padding-right:20px;
    cursor: pointer;
}

.new_actions_item_wrapper:is(:focus,:hover){
    color:#fff !important;
    background-color: var(--theme-base-color);
}

/*hide exiting buttons etc*/
.client_details_header_buttons_wrapper{
    display: none;
}
.container_with_background {
   /* margin-top:100px;*/
}

/*copy thes to global styles*/
.button_group_wrapper .group_button{
    padding-left:50px;
    padding-right:50px;
    padding-top: 8px;
    padding-bottom:8px;
}

#stage_wrapper{
    background-size: cover;
    background-attachment: fixed;
    height: 100%;
    width:100vw;
    position: relative;
   /* padding-bottom:5vw;*/
    /*background-color: var(--theme-base-content-background-colour);*/
    
}



#stage_wrapper .stage_main_contents_wrapper{
  /*  display: grid;
    grid-template-columns: 5vw 90vw;*/
    position:relative;
    
}
#stage_wrapper .content_wrapper .stage_top_bar{
   
    background-color: var(--theme-light-base-color);
    min-height: 58px;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    
}
#stage_wrapper  .content_wrapper .stage_top_bar .sidebar_wrapper{

    flex-grow: 0;
    width:200px;
  
}
#stage_wrapper  .content_wrapper .stage_top_bar .main_content_wrapper{

    flex: 1 1 500px;
  
  
}
#stage_wrapper .sub_menu_wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 800px;
}
#stage_wrapper .sub_menu_wrapper .sub_menu{
    flex: 1 1;

    display:flex;
    flex-wrap: nowrap;
    justify-content: left;
}
#stage_wrapper .sub_menu_wrapper .sub_menu  div{
    flex: 0 0 max-content;
    
}
#stage_wrapper .sub_menu_wrapper .sub_menu  div span{
    display: block;
    padding: 10px;
}


.privacy_toggle_wrapper{
    position:fixed;
    bottom: 0px;
    right:0px;
    padding: 20px;
    z-index: 100;

}
.privacy_toggle_wrapper button{
    font-size: 3rem;
}



/*.client_details_link:hover:after{
    content: "View client details";
    margin-left: 0px;
    font-size: 0.9rem;
    position: absolute;
    font-weight: bold;
    padding: 5px;
    color: var(--theme-hover-state-color);
    background-color: var(--theme-tooltip-background-color);
    border:1px solid var(--theme-hover-state-color);
    border-radius: 10px;
    opacity: 1;
    z-index: 5;
    top: -15px;
    left: 0px;
}*/

/*.latest_assessment_link:hover:after{
    content: "View client's last assessment";
    margin-left: 0px;
    font-size: 0.9rem;
    position: absolute;
    font-weight: bold;
    padding: 5px;
    color: var(--theme-hover-state-color);
    background-color: var(--theme-tooltip-background-color);
    border:1px solid var(--theme-hover-state-color);
    border-radius: 10px;
    opacity: 1;
    z-index: 5;
    top: -15px;
    left: 0px;
}*/
/*.assessment_link:hover:after{
    content: "View assessment";
    margin-left: 0px;
    font-size: 0.9rem;
    position: absolute;
    font-weight: bold;
    padding: 5px;
    color: var(--theme-hover-state-color);
    background-color: var(--theme-tooltip-background-color);
    border:1px solid var(--theme-hover-state-color);
    border-radius: 10px;
    opacity: 1;
    z-index: 5;
    top: -15px;
    left: 0px;
}*/

/*.history_assessment_link:hover:after, .history_link:hover:after{
    content: "View client's assessment history";
    margin-left: 0px;
    font-size: 0.9rem;
    position: absolute;
    font-weight: bold;
    padding: 5px;
    color: var(--theme-hover-state-color);
    background-color: var(--theme-tooltip-background-color);
    border:1px solid var(--theme-hover-state-color);
    border-radius: 10px;
    opacity: 1;
    z-index: 5;
    top: -15px;
    left: 0px;
}*/
/*.progress_link:hover:after{
    content: "View client progress";
    margin-left: 0px;
    font-size: 0.9rem;
    position: absolute;
    font-weight: bold;
    padding: 5px;
    color: var(--theme-hover-state-color);
    background-color: var(--theme-tooltip-background-color);
    border:1px solid var(--theme-hover-state-color);
    border-radius: 10px;
    opacity: 1;
    z-index: 5;
    top: -15px;
    left: 0px;
}*/

/*.new_assessment_link:hover:after{
    content: "Create a new assessment";
    margin-left: 0px;
    font-size: 0.9rem;
    position: absolute;
    font-weight: bold;
    padding: 5px;
    color: var(--theme-hover-state-color);
    background-color: var(--theme-tooltip-background-color);
    border:1px solid var(--theme-hover-state-color);
    border-radius: 10px;
    opacity: 1;
    z-index: 5;
    top: -15px;
    left: 0px;
}*/

/*.back_to_assessment_link:hover:after{
    content: "Go back to the assessment";
    margin-left: 0px;
    font-size: 0.9rem;
    position: absolute;
    font-weight: bold;
    padding: 5px;
    color: var(--theme-hover-state-color);
    background-color: var(--theme-tooltip-background-color);
    border:1px solid var(--theme-hover-state-color);
    border-radius: 10px;
    opacity: 1;
    z-index: 5;
}*/

/*.assessment_meta_info_wrapper:hover:after{
    content: "Show/hide assessment details";
    margin-left: 0px;
    font-size: 0.9rem;
    font-weight: bold;
    position: absolute;
    color: var(--theme-hover-state-color);
    padding: 5px;
    background-color: var(--theme-tooltip-background-color);
    border:1px solid var(--theme-hover-state-color);
    border-radius: 10px;
    opacity: 1;
    z-index: 5;
}*/

/*loading*/
/*
.ring
{
 display: none;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:150px;
  height:150px;
  background:var( --theme-tooltip-background-color);
  border:3px solid #3c3c3c;
  border-radius:50%;
  text-align:center;
  line-height:150px;
  font-family:sans-serif;
  font-size:20px;
  color:var(--theme-base-color);
  letter-spacing:4px;
  text-transform:uppercase;
  text-shadow:0 0 10px var(--theme-base-color);
  box-shadow:0 0 20px rgba(0,0,0,.5);
}
.ring:before
{
  content:'';
  position:absolute;
  top:-3px;
  left:-3px;
  width:100%;
  height:100%;
  border:3px solid transparent;
  border-top:3px solid var(--theme-base-color);
  border-right:3px solid var(--theme-base-color);
  border-radius:50%;
  animation:animateC 2s linear infinite;
}
.ring span
{
  display:block;
  position:absolute;
  top:calc(50% - 2px);
  left:50%;
  width:50%;
  height:4px;
  background:transparent;
  transform-origin:left;
  animation:animate 2s linear infinite;
}
.ring span:before
{
  content:'';
  position:absolute;
  width:16px;
  height:16px;
  border-radius:50%;
  background:var(--theme-base-color);;
  top:-6px;
  right:-8px;
  box-shadow:0 0 20px var(--theme-base-color);;
}
@keyframes animateC
{
  0%
  {
    transform:rotate(0deg);
  }
  100%
  {
    transform:rotate(360deg);
  }
}
@keyframes animate
{
  0%
  {
    transform:rotate(45deg);
  }
  100%
  {
    transform:rotate(405deg);
  }
}
*/
.server_messages_wrapper{
    position: absolute;
    left:0;
    right:0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24vh;
    padding:10px;
    width: 30vw;
    border: 1px solid var(--theme-base-color);   
    background-color: var(--theme-light-base-color);
    color: var(--theme-base-color);
    display: none;
    z-index:100;
}
.server_messages_wrapper .message_title_wrapper{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 10px;
}
.close_message_trigger:is(:hover,:focus){
    color: var(--theme-base-button-hover-color);
}
.server_messages_wrapper.warning{
    border: 1px solid var(--theme-warning-status-color);   
    color: var(--theme-warning-status-color);
    background-color: var(--theme-light-base-color);
}
.server_messages_wrapper.error{
    border: 1px solid var(--theme-error-status-color);   
    color: var(--theme-error-status-color);
    background-color: var(--theme-light-base-color);
}

#home_page_wrapper  {
    width:80vw;
    margin-left:auto;
    margin-right:auto;
}
.small #home_page_wrapper, .tiny #home_page_wrapper{
    width:95vw;
}
.large #home_page_wrapper{
    width:70vw;
    max-width: 1215px;
}
.appointments_wrapper{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit,minmax(150px, 250px));
}

.appointment_wrapper{
    
    background-color: #fff;
    padding:5px;
    padding-left:20px;
    display: grid;
    grid-template-columns: 1fr 30px;
    border-top: 10px solid #fff;
}
.appointment_wrapper.missed_appointment{
    border-top: 10px solid var(--theme-error-status-color);
}
.appointment_wrapper.Compulsory{
    background-color: var(--theme-mandatory-field-color);
}
.appointment_wrapper a, .appointment_wrapper a:is(:hover,:focus,:active,:visited){
    color: var(--theme-grey-4-color);
}
.appointment_header{
    font-size: 0.8rem;
    color: var(--theme-grey-4-color);
}
.appointment_date{
    font-size: 0.9rem;
    color: var(--theme-grey-4-color);
}
.appointment_body, .appointment_body a:is(:hover,:focus,:active,:visited){
    color: var(--theme-grey-4-color);
}
.calendar_popup_trigger{
    color: var(--theme-highlight-color);
    font-size:35px;
    cursor: pointer;
}
.calendar_popup_trigger:is(:hover,:focus,:active,:visited){
    color: var(--theme-hover-state-color);
}

.section_title_wrapper p{
    color: #fff;
    font-size: 18px;
    font-family: Roboto_medium_italic;
}

.section_title_wrapper h3{
    color: #fff;
    font-size: 14px;
    font-style: italic;

}
.my_young_people_section_actions_wrapper{
    display: flex;
    flex-wrap: wrap;
    gap:40px;
}
.my_young_people_section_actions_wrapper > div{
    flex:1 1 ;
}
.my_young_people_action_wrapper > div{
    width:100%;
    margin-bottom: 10px;;
}
.person_list_wrapper,.pinned_person_list_wrapper{
    
   
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

}
.person_list_results_wrapper{
    /*border-top: 2px solid var(--theme-base-color);
    margin-top: 20px;
    padding-top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;*/
    display: grid;
    grid-template-rows: 40px 1fr;
}
.person_wrapper{
    background-color: var(--theme-grey-1-color);
    display:grid;
    /*grid-template-rows: max-content minmax(80px, max-content) auto;*/
    grid-template-rows: max-content minmax(50px, max-content) minmax(80px, max-content) auto;
    position: relative;
    height: 100%;
    
}

.person_wrapper .pin_wrapper{
    
    width:24px;
    height:24px;
    display: block;
    z-index: 5;
    font-size: 24px;
}
.person_wrapper .pin_wrapper img{
    width:20px;
}
.person_wrapper .pin_wrapper.pinned{
    color: var(--theme-system-icon-hover-state-color);
}
.person_wrapper .pin_wrapper.pinned:is(:hover,:focus){
    color: var(--theme-base-color);
    cursor: pointer;
}
.person_wrapper .pin_wrapper.unpinned{
    color: var(--theme-base-color);
}
.person_wrapper .pin_wrapper.unpinned:is(:hover,:focus){
    color: var(--theme-system-icon-hover-state-color);
    cursor: pointer;
}
.person_details_wrapper{
    width: 100%;
    display: grid;
   grid-template-columns: 50% 50%;
    background-color: #fff;
}
.person_details_column{
    padding:15px;
    /*display: grid;
    grid-template-columns: 100%;*/
    
}
.person_name_column{
    display: grid;
    place-items: center left;
}
.person_details_column a, .person_details_column span{
    /*font-size: 0.85rem;
    font-family: Roboto_regular;
    color: var(--theme-grey-4-color);*/
}
.person_details_column:first-child span{
   /* font-family: Roboto_light;*/
}
.person_details_column .las{
    font-family: 'Line Awesome Free';
}
.person_details_column:last-of-type{
    padding-left: 6px;
}
.has_top_border{
    border-top: 2px solid var(--theme-base-color);
    padding-top:10px;
}


.person_body a{
    font-family: Roboto_medium;
    color: var(--theme-grey-4-color);
    font-size: 1.15rem;
}

.person_gender_details{
    font-size:15px;
    font-family: Roboto_medium;
}
.pronoun_details{
     font-size:15px;
    font-family: Roboto_regular;
}
.client_tile_section_wrapper{
    padding:15px;
    position: relative;
    min-height:57px;
}
.client_tile_section_title_wrapper{
    font-family: Roboto_medium;
    color: var(--theme-base-color);
    font-size: 14px;
}
.client_tile_section_body_wrapper.grid{
    display: grid;
    grid-template-columns: 51.25% 48%;
    width: 100%;
    max-height: 40px;
    overflow: hidden;
   /* overflow-y: auto;
    scrollbar-width: thin;*/
}
.assessment_links_wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}
.assessment_links_wrapper a{
    flex: 0 0 max-content;
    padding: 5px;
}

.client_tile_section_body_wrapper ul{
    list-style: none;
    padding: 5px;
    padding-left:0px;
    margin: 0px;
}
.client_tile_section_body_wrapper ul li{
    padding: 0px;
    font-size: 0.9rem;
    
    color: var(--theme-grey-4-color);
}
.disconnect_staff_member_trigger{
    display: inline-block;
    padding: 3px;
}
.disconnect_staff_member_trigger:is(:hover,:focus){
    cursor: pointer;
    color: var(--theme-hover-state-color);
}
.person_wrapper.seriously_at_risk{    
    border-top-color: var(--assessment-red);
}
.person_wrapper.at_risk{
    border-top-color: var(--assessment-orange);
}
.person_wrapper.ok_some_challenges{
    border-top-color: var(--assessment-yellow);

}
.person_wrapper.good{
    border-top-color: var(--assessment-light-green);
}
.person_wrapper.thriving{
    border-top-color: var(--assessment-dark-green);
}



.search_box_wrapper{
    position:relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap:20px;
}
.search_box_wrapper > div{
    flex: 0 1 48%;
}
/*.search_results_count, .my_young_people_count{
    font-size: 0.75rem;
    font-style: italic;
    width: max-content;
    padding:8px;
    padding-right:0px;
}*/
.search_form{
    flex: 0 0 48%;
}
.search_button.button{
    cursor: pointer;
    padding:8px;
    padding-left:12px;
    padding-right:10px;
}
.search_button img{
    height: 20px;
}

#client_search{
    width: -moz-available;
    width: -webkit-fill-available;
}


.search_layout_wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
   
}
.search_box_wrapper, .search_help_wrapper{
    flex: 1 1 100%;
    
}

.search_results_wrapper{
    border-top: 2px solid var(--theme-base-color);
    margin-top:40px;
    padding-top: 20px;
    width:100%;
    display:flex;
    justify-content: left;
    flex-wrap: wrap;
    gap:20px;
}
.search_results_wrapper > div, .pinned_person_list_wrapper > div, .person_list_wrapper > div{
    flex:1 1 48%;
    /*min-height: 300px;*/
    max-width:550px;
}
.small .search_results_wrapper > div, .tiny .search_results_wrapper > div,
.small .pinned_person_list_wrapper > div, .tiny  .pinned_person_list_wrapper > div,
.small .person_list_wrapper > div, .tiny .person_list_wrapper > div
{
    flex:1 1 100%;
    max-width:100%;
}

fieldset{
    padding:0px;
    margin-top:3px;
    border: 1px solid var(--theme-base-color);
    border-radius: 5px;
}
legend{
    font-size: 0.8em;
    font-style: italic;
    color: var(--theme-base-color);
}

.my_young_people_wrapper .action_wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.pinned_young_people_wrapper{
    display: none;
}
.latest_assessment_info{
    display: flex;
    justify-content: space-between;
    /*width:100%;*/
    min-height: 26px;
   flex-wrap: wrap;
   
}

latest_assessment_info_wrapper {
    border-bottom: 1px solid #fff;
}
.latest_assessment_info img{
    height: 15px;
   position: relative;
   top: -2px;
}
.latest_assessment_info.latest_assessment_info_wrapper{
    padding: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 0.9em;
    display: grid;
    grid-template-columns: 1fr 10px;
    place-items: center;
    gap: 20px;
    /*display: flex;
    justify-content: space-between;
    flex: 1 1 100%;*/
    font-family: Roboto_medium;
}
.latest_assessment_info.latest_assessment_info_wrapper a{
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: #fff;
}
.ok_some_challenges.latest_assessment_info_wrapper a{
    color: var(--theme-grey-4-color);
}
.thriving.latest_assessment_info_wrapper {
    color: var(--theme-highlight-color);
    background-color: var(--assessment-dark-green);
}
.good.latest_assessment_info_wrapper {
    color: var(--theme-highlight-color);
    background-color: var(--assessment-light-green);
}
.ok_some_challenges.latest_assessment_info_wrapper {
    color: var(--theme-grey-4-color);
    background-color: var(--assessment-yellow);
}
.at_risk.latest_assessment_info_wrapper {
    color: var(--theme-highlight-color);
    background-color: var(--assessment-orange);
}
.seriously_at_risk.latest_assessment_info_wrapper {
    color: var(--theme-highlight-color);
    background-color: var(--assessment-red);
}

.tile_action_section_container{
    position: relative;
}
.tile_action_section_toggle_wrapper{
    position: absolute;
    right: 0px;
    top: -31px;
    z-index: 100;
    display: grid;
    grid-template-columns: 21px 60px;
    border: 2px solid var(--theme-base-color);
    border-top-left-radius: 20px;
    padding: 5px;
    background-color: var(--theme-grey-1-color);
}
.tile_action_section_toggle_wrapper:is(:hover,:focus,.active){
    background-color: var(--theme-base-color);
    color: #fff;
}
.tile_action_section_toggle_wrapper > div{
    color: var(--theme-base-color);
    cursor: pointer;
}
.tile_action_section_toggle_wrapper:is(:hover,:focus,.active) > div{
    background-color: var(--theme-base-color);
    color: #fff;
}
.tile_action_section_wrapper{
    border-top: 2px solid var(--theme-base-color);
    
}
.tile_toggle_indicator{
    padding-top: 2px;
}
.tile_action_section{
    padding-top: 10px;
    padding-bottom: 10px;
}
.tile_action_section.hidden{
    display: none;
   
}

.tile_action_section_wrapper .client_tile_section_wrapper{
    display: grid;
    grid-template-columns: 100px 1fr;
    place-items: center left;
    padding-top: 0px;
    padding-bottom: 0px;
}
.unsquish_trigger_wrapper, .squish_trigger_wrapper{
    display: grid;
    grid-template-columns: 40px 1fr;
    place-items: center left;
    color: var(--theme-base-color);
    cursor: pointer;
}

.person_age_details{
    font-size:15px;
    font-family: Roboto_medium;
    padding-bottom:5px;
}
.home_page_tile_more_trigger{
    position: absolute;
    right:20px;
    top:46px;
    color: var(--theme-base-color);
    cursor: pointer;
    font-size: 14px;
    font-family: Roboto_medium;
}

#footer_wrapper{
    display: flex;
    justify-content: center;
    height:10px;
 }
 
 
 #footer_wrapper .content_wrapper{
     display: none;
     font-size: 0.75rem;
     opacity:0.5;
 }
 
 
 .tabbed_panel_container{
    width: 100%;
}
.tab_row{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(100px, 1fr));
}
.tab_trigger{
    border: 1px solid black;
}
.tab_trigger div{
    padding: 5px;
}
.tab_panels{
    width: 100%;
   
}
.tab_panel{
    width: 100%;
    border: 1px solid green;
    display: none;
}
.tab_panel div{
    padding: 5px;
}
.tab_panel:first-of-type{
    display: block;
}


.mobile_version{
    display: none;
}
.desktop_version{
    display: flex;
}
@media screen and (max-width: 600px){
    .mobile_version{
        display: block;
    }
    .desktop_version{
        display: none;
    }
    .main_menu_wrapper{
        flex-basis: 56px;
    }
    #stage_wrapper .stage_main_contents_wrapper{
        display: block;
    }
    /* screen with flipped containers - on moblie right hand column goes on top*/
    .client_details_screen_wrapper{
        /*flex-direction: column-reverse;*/
    }
    
    .padding{
        padding:10px !important;
    }
    .horizontal_padding{
        padding-left:10px !important;
        padding-right:10px !important;
    }
}
@media screen and (max-width: 1224px){
    #sub_domains_wrapper,
    #assessment_history_sub_domains_wrapper{
        /*width: 99vw;*/
    }
    #sub_domains_wrapper .section_heading_wrapper, 
    #assessment_history_sub_domains_wrapper .section_heading_wrapper{
        flex-direction: column-reverse;
        flex-wrap: nowrap;
        
    }
    .assessment_history_wrapper{
        flex-direction: column-reverse;
        flex-wrap: nowrap;
    }

    .section_heading_wrapper .assessment_links_wrapper{
        flex: 0 1 30px !important;
        width: 100%;
     
    }
    .sub_domains_section_title_wrapper{
        flex: 0 1 50px !important;
        width: 100%;
    }
    .assessment_body_wrapper {
        flex-direction: column-reverse;
        flex-wrap: nowrap;
    }
    .assessment_body_sub_domains_wrapper{
        flex: 0 1 auto;
        width: 100%;
    }
    .floating_side_panel{
        flex: 0 1 auto;
        width: 100%;
    }

}


:root{
    --default-section-padding: 20px;
    --default-border-radius: 1rem;
    --z-index-dialogs: 10;
    --z-index-menus: 5;
    --z-index-glass: 100;

    --icon-size-small: 1rem;
    --icon-size-med: 1.75rem;
    --icon-size-large: 3rem;


}
body{
    padding: 0;
    margin:0;
    overflow-x: hidden;
    background-image: url(/resources2/images/ui/background-all.jpg);
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    -webkit-background-size: 100% 100%; 
    background-size: cover;
    background-attachment: fixed;
   
}

main{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
button{
    background:none;
    border:none;
    padding:0px;
    margin:0px;
}
textarea{
    min-height: 80px;
}
nav ul{
    
    padding: 0px;
    margin: 0px;
}
nav ul li{
    list-style-type:none;
}
#application_wrapper{
    display: grid;
    grid-template-rows: auto 1fr auto;
   
    /*background-color:white;*/
    min-height: 100vh;
   /* width: 100vw;*/
} 
a:is(:visited){
    color: var(--theme-grey-4-color);
}
a.white_text{
    color: #fff  !important;
}
.application_section_wrapper{
    height: auto;
}
.practice_notes_wrapper p a{color:var(--theme-base-color);}
.screen_wrapper{
    display: none;
}
.padding{
    padding:var(--default-section-padding);
}
.horizontal_padding{
    padding: 0px;
    padding-left: var(--default-section-padding);
    padding-right: var(--default-section-padding);
}
.horizontal_half_padding{
    padding: 0px;
    padding-left: 10px;
    padding-right: 10px;
}
.vertical_padding{
    padding: 0px;
    padding-top: var(--default-section-padding);
    padding-bottom: var(--default-section-padding);
}
.padding_top{
    padding-top: var(--default-section-padding);
}
.elements_wrapper, .columns_wrapper, .screen_wrapper{
    height:100%;
}

.scroller{
    width: 100%;
    height:100%;
    overflow: scroll;
}
.loading{
    position: absolute;
    z-index:1000;
    display: grid;
    place-items: center;
    width: 100%;
    height:100%;
    top:0px;
    left:0px;
    
}
.loading img{
    width:15vw;
    max-width: 100px;
    min-width: 50px;

}
.system_icon:hover{
    color: var(--theme-system-icon-hover-state-color);
}
.system_icon.small{
    font-size: var(--icon-size-small);
}
.system_icon.med{
    font-size: var(--icon-size-med);
}
.system_icon.large{
    font-size: var(--icon-size-large);
}
.selection_disabled{
    user-select: none; /* supported by Chrome and Opera */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none;
}
.system_button{
    color: var(--theme-base-color);
    background-color: var(--theme-base-color-very-light);
    border-color: var(--theme-base-color-light);
}
.system_button:hover{    
    background-color: var(--theme-base-color-light);
}
.system_button.selected{
    background-color: var(--theme-base-color);
    color: var(--theme-highlight-color);
}
.privacy_toggle_trigger{
    cursor: pointer;
    font-size: var(--icon-size-med);
    width: 40px;
    height:40px;
    background: url('/resources2/images/ui/eye-showdetails.svg');
    background-repeat: no-repeat;
    background-position: center;
}
.privacy_toggle_trigger.on{
    background: url('/resources2/images/ui/eye-hidedetails.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.add_notes_trigger{
    cursor: pointer;
   
}
.add_notes_trigger:is(:hover,:focus,:active){
    color: var(--theme-hover-state-color);
}
.sort_alphabetically_trigger{
    cursor: pointer;
    font-size:var(--icon-size-med);
}
.sort_alphabetically_trigger:is(:hover,:focus,:active){
    color: var(--theme-hover-state-color);
}
.sort_risk_trigger{
    cursor: pointer;
    font-size: var(--icon-size-med);
}
.sort_risk_trigger:is(:hover,:focus,:active){
    color: var(--theme-hover-state-color);
}
.sensitive_data{
    filter:blur(0);
}
.sensitive_data.covered{
    filter:blur(4px);
}
.section_wrapper{
    margin-bottom: 10px;
}
.section_heading_wrapper{
    display: flex;
    flex-wrap: nowrap;
    justify-content: left;
}
.section_title_wrapper{
    flex: 1 1;
}
.section_actions_wrapper{
    flex: 0 1 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
}
.action_wrapper{
    flex: 0 0 50px;
}
.saving_notice_saving:after{
    content:"Saving...";
    left: 0px;
    top: -12px;
    font-size: 0.7rem;
    position: absolute;
    font-weight: normal;
    padding: 2px;
    color: var(--theme-saving-color);
    background-color: var(--theme-base-content-background-colour);
    opacity: 1;
    z-index: 5;
}
.saving_notice_saved:after{
    content:"Saved";
    left: 0px;
    top: -12px;
    font-size: 0.7rem;
    position: absolute;
    font-weight: normal;
    padding: 2px;
    color: var(--theme-saved-color);
    background-color: var(--theme-base-content-background-colour);
    opacity: 1;
    z-index: 5;
}
.saving_notice_not_saved:after{
    content:"Error! Changes not saved!";
    left: 0px;
    top: -12px;
    font-size: 0.7rem;
    position: absolute;
    font-weight: normal;
    padding: 2px;
    color: var(--theme-not-saved-color);
    background-color: var(--theme-base-content-background-colour);
    opacity: 1;
    z-index: 5;
}

.uppercased{
    text-transform: uppercase;
}

select.multiple{
    height: 200px;
}
.option_group_item{
    
}


select, input.type_ahead{
    scrollbar-width: thin;
}
.new_assessment_link{
    font-weight: bold;
}
.field_input_legend ul{
    padding:0px;
    
}
.field_input_legend ul li{
    display: inline-block;
    list-style-type: none;
    font-size: 0.75rem;
    font-style: italic;
    
}
.field_input_legend ul li span{
    margin-right:10px;
}
.field_input_legend{
    display: flex;
    justify-content: right;
    height:50px;
}

.field_indicator.mandatory{
    border: 2px solid var(--theme-mandatory-field-color);
}
.field_indicator.optional{
    background-color: var(--theme-optional-field-color);
}

input:is(.mandatory), select:is(.mandatory),textarea:is(.mandatory){
    border-left: 4px solid var(--theme-mandatory-field-color) !important;
}

.floating_side_panel  .side_panel_section_wrapper.mandatory,
.client_details_fieldset_wrapper.mandatory{
    border-color: var(--theme-mandatory-field-color);
}
.floating_side_panel  .side_panel_section_wrapper.optional,
.client_details_fieldset_wrapper.optional{
    border-color: var(--theme-optional-field-color-dark);
}


.hidden{
    display: none !important;
}
.button.hidden{
    display: none;
}
.button.primary{
    background-color: var(--theme-base-color-dark);
    color: var(--theme-highlight-color);
}
.button.primary:is(:hover,:focus){
    background-color: var(--theme-base-button-hover-background-color);
    color: var(--theme-base-button-hover-color);
}

.button.secondary{
    background-color: var(--theme-base-button-hover-background-color);
    color: var(--theme-base-button-hover-color);
}
.button.secondary:is(:hover,:focus){
    background-color: var(--theme-base-color-dark);
    color: var(--theme-highlight-color);
}

.button_clicked_notice{
   
    top: 10px;
    display: block;
    font-size: 0.85rem;
    font-style: italic;
    padding: 10px;
    border: 1px solid var(--theme-mandatory-field-color);
    background-color: var(--theme-mandatory-field-color-dark);
    color: var(--theme-highlight-color);
}
.absolutely_centered{
    display: grid;
    place-content: center;
}
.right_aligned{
    text-align: right;
}
.table{
    display: table;
}
.table_row{
    display: table-row;
}
.table_cell{
    display: table-cell;
}

.default_content_page{
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.standard .default_content_page{
    width: 90vw;
}
.tiny .default_content_page, .small .default_content_page{
    width: 95vw;
}
.default_content_page_links_wrapper{
    padding-top: 20px;
    padding-bottom: 20px;
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
}
.tiny .default_content_page_links_wrapper, .small .default_content_page_links_wrapper{
    width: 95vw;
}
#no_access_panel_wrapper, #missing_record_panel_wrapper, #four_0_four_panel_wrapper{
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

.date_field.filled{
    font-family: Roboto_medium;
    color: var(--theme-grey-4-color);
}

dialog{
    border: 2px solid var(--theme-base-color);
    width:max-content;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
}
::backdrop {
    background-color: rgba(150, 150, 150,0.5);
}
.dialog_title{
    font-size: 1.25rem;
    font-weight: bold;
    padding:20px;
    padding-top:0px;
    color: var(--theme-base-color);
}
.dialog_message{
    padding:20px;
}

dialog .client_details_save_changes_trigger,dialog .assessment_save_changes_trigger{
    background-color: var(--theme-base-color);
}
dialog .client_details_yes_trigger, dialog .assessment_yes_trigger{
    background-color: #FF9691;
}

/*select controls*/

   .simulated_select_control_container{
    width:100%;
    position: relative;
    background-color: #fff;
    }
    .simulated_select_control_container.read_only, .simulated_select_control_container.assessor_read_only, .simulated_select_option_wrapper.assessor_read_only{        
        cursor:not-allowed;
        opacity: 0.5;
    }
    .simulated_select_control_container.read_only div{
       /* opacity: 0.5;*/
    }
    .simulated_select_control_container.read_only div:after{
      /*  opacity: 0.5;*/
    }
    .simulated_select_control_wrapper{
        width:100%;
        
    }
    .simulated_select_control_container.mandatory .simulated_select_control_input_container{
        border-left: 4px solid var(--theme-mandatory-field-color) !important;
    }
    .simulated_select_control_input_container{
        display: grid;
        grid-template-columns: 1fr 25px;
        width:-moz-available;
        border: 2px solid var(--theme-base-color);
    }
    .simulated_select_control_input_container.read_only, .simulated_select_control_input_container.assessor_read_only, .simulated_select_option_wrapper.assessor_read_only{
        pointer-events: none;
    }
    .simulated_select_control_input_items_wrapper{
        display: flex;
        flex-wrap: wrap;
        justify-content: left;
        gap:10px;
        padding:5px;
    }
    .simulated_select_control_input_item_wrapper{
        flex:0 0 max-content;
        min-height:30px;
    }
    .simulated_select_control_input_item_wrapper input{
        line-height:24px;
        padding-top:3px;
        padding-bottom:3px;
        padding-left:10px;
        padding-right:10px;
    }
    .simulated_select_control_input{
        width: -moz-avaiable;
        min-width:80px;
        cursor: pointer;
    }
    .simulated_select_control_container.single_select .simulated_select_control_input{
        opacity:0;
        position: absolute;
    }
    .simulated_select_control_container.multi_select .simulated_select_control_input{
       /* display: none;*/
    }
    .simulated_select_control_container.open.multi_select .simulated_select_control_input{
        display: block;
        cursor: text;
        pointer-events: all;
    }
    .simulated_select_control_container.open.multi_select .simulated_select_control_input:is(:focus){
        outline:none;
    }
    .simulated_select_control_toggle_wrapper{
        position: relative;
    }
    .simulated_select_control_toggle_wrapper::after{
        content: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 36 36'%3E%3Ctitle%3Echevron-down%3C/title%3E%3Cpath opacity='1' fill='%2300A2BA' d='M16 17.956l11.083-11.083c1.105-1.105 2.895-1.105 4 0s1.105 2.895 0 3.999l-15.083 15.083-15.083-15.083c-1.105-1.105-1.105-2.895 0-3.999s2.895-1.105 3.999 0l11.083 11.083z'%3E%3C/path%3E%3C/svg%3E%0A");
        position: absolute;
        right: 3px;
        top: 14px;
        width: 26px;
        height: 20px;
        z-index: 10;
        /*background-color: #fff;*/
        pointer-events: none;
    }
    .simulated_select_control_selected_option_wrapper{
        width:max-content;
        display: grid;
        grid-template-columns: 1fr;
        gap:5px;
        cursor: pointer;
        background-color:#fff;
    }
    .multi_select .simulated_select_control_selected_option_wrapper{
        border:2px solid var(--theme-base-color);
        border-radius: 5px;
        grid-template-columns: 20px 1fr;
        font-family: Roboto_medium;
        cursor: pointer;
    }
    .simulated_select_control_selected_option_label{
        padding-top:5px;
        padding-bottom:5px;
        padding-left:10px;
        padding-right:10px;
    }
    .simulated_select_control_selected_option_remove_trigger{
        display: grid;
        place-content: center;
        cursor: pointer;
        padding-bottom:2px;
    }
    .simulated_select_control_options_container{
        display: none;
    }
    .simulated_select_control_container.open .simulated_select_control_options_container{
        position: absolute;
        z-index:1000;
        border: 1px solid var(--theme-grey-3-color);
        box-shadow: 2px 2px 10px #cdcdcd;
        width:100%;
        background-color: #fff;
        display: flex;

        max-height:50vh;
        overflow-y: auto;
        scrollbar-width: thin;

    }
    .simulated_select_control_options_wrapper{
        display: flex;
        flex-wrap: wrap;
        width:100%;
    }
    .simulated_select_option_wrapper{
        flex:0 0 100%;
        display: grid;
        grid-template-columns: max-content 1fr;
        cursor: pointer;
    }
    .simulated_select_option_wrapper:is(:hover,:focus){
        background-color: var(--theme-grey-1-color);
    }
    .simulated_select_option_control_wrapper input{
        display: none;
    }
    .simulated_select_option_control_indicator{
        display: grid;
        width:24px;
        height:24px;
        place-content: center;
        padding-top:5px;
        padding-bottom:5px;
        padding-left:10px;
        padding-right:0px;
    }
    .simulated_select_option_wrapper.selected .simulated_select_option_control_wrapper .simulated_select_option_control_indicator::after{
        content: "\2713";
        color: var(--theme-base-color);
        font-weight: bold;
        font-size: 18px;
        line-height: 18px;
    }
    .simulated_select_option_wrapper.read_only,.simulated_select_option_wrapper.disabled{
        background-color: var(--theme-grey-2-color);
        cursor:not-allowed;
        color: var(--theme-grey-1-color);
    }
    .simulated_select_option_label_wrapper{

    }
    .simulated_select_option_label{
        padding-top:5px;
        padding-bottom:5px;
        padding-left:0px;
        padding-right:10px;
        line-height: 24px;
    }
    .single_select .simulated_select_control_selected_option_label{
        font-style: italic;
        color: var(--theme-grey-2-color);
    }
    .single_select .simulated_select_control_selected_option_label.selected{
        font-style: normal;
        color: var(--theme-content-text-color);
    }
    .single_select .default_selection_option{
        font-style: italic;
        color: var(--theme-grey-2-color);
    }
    .simulated_select_option_group_wrapper{
        padding-top:10px;
        padding-bottom:10px;
        display: flex;
        flex-wrap: wrap;
        width:100%;
    }
    .simulated_select_option_group_title_wrapper{
        flex: 0 0 100%;
        margin-bottom: 10px;
        display: flex;
        flex-wrap: nowrap;
        justify-content: left;
        position: relative;
    }
    .simulated_select_option_group_title{
        color: var(--theme-base-color);
        font-family: Roboto_medium;
        padding-left:20px;
        padding-right:10px;
    }
    .simulated_select_option_group_title_wrapper .option_group_toggle{
        cursor:pointer;
        position: relative;
    }
    .simulated_select_option_group_title_wrapper .option_group_toggle::after{
        content: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 36 36'%3E%3Ctitle%3Echevron-down%3C/title%3E%3Cpath opacity='1' fill='%2300A2BA' d='M16 17.956l11.083-11.083c1.105-1.105 2.895-1.105 4 0s1.105 2.895 0 3.999l-15.083 15.083-15.083-15.083c-1.105-1.105-1.105-2.895 0-3.999s2.895-1.105 3.999 0l11.083 11.083z'%3E%3C/path%3E%3C/svg%3E%0A");
        position: relative;
        left:0px;
        top: 0px;
        width: 26px;
        height: 20px;
        z-index: 10;
        background-color: #fff;
        pointer-events: none;
    }
    .simulated_select_option_group_title_wrapper .option_group_toggle.open{
        transform: rotate(180deg);
        top: -6px;
    }
    .simulated_select_option_group_wrapper .simulated_select_option_wrapper{
       
    }
/* end of select control settings*/

/* changes for march 2024*/
.simulated_checkbox{
    
    width:15px;
    height:15px;
    border:2px solid var(--theme-base-color);
    border-top: 2px solid var(--theme-base-color) !important;
    position: relative;
    margin-top:0px !important;
    cursor: pointer;
}
.simulated_checkbox:is(:hover,:focus)::after{
    content: "\2713";
    color:var(--theme-base-color);
    font-weight:bold;
    font-size: 20px;
    line-height:18px;
}
.simulated_checkbox.checked{
    border:none !important;
}
.simulated_checkbox.checked::after{
    content: "\2713";
    color:var(--theme-base-color);
    font-weight:bold;
    font-size: 20px;
    line-height:18px;

}