:root { --white: #fff;
  --text_grey: #1d1d1f;
  --test_box_outline: pink;
  --our_blue: #0068d9;
  --hover_blue: #0099cc;
  --deep_blue: #3e798d;
  --light_grey: #eaeaea;
  --warm_grey: #c6cbcc;
  --mid_grey: #8b8b8b;
  --dark_grey: #464b4c;
  --our_pop: #ffbb00;
  accent-color: #1d1d1f;
  /* inherited for things like checkboxes */
}

html { margin: 0;
  padding: 0;
}

/* include borders in box size calc. */
* { box-sizing: border-box;
}

div { width: 100%;
  padding: 0;
}

@font-face { font-family: "Arial";
  src: url("/fonts/ARIAL.woff") format(woff);
}

body,
textarea { line-height: 1.88889;
  color: var(--text_grey);
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
  font-size: 18px;
}

a { font-family: "Roboto", sans-serif;
  color: var(--our_blue);
  text-decoration: none;
}

a:hover { color: var(--hover_blue);
}

a:hover:visited { color: var(--hover_blue);
}

a:visited { color: var(--mid_grey);
}

.light_grey_background { background-color: var(--light_grey);
}

.grey_background { background-color: var(--warm_grey);
}

.white_background { background-color: white;
}

.blue_background { background-color: var(--our_blue);
  color: var(--white);
}

.white_text { color: var(--white);
}

h1,
h2,
h3,
h4 { font-family: "Roboto", sans-serif;
  font-weight: 700;
}

/* phone versions of headers */
h1 { font-size: 2rem;
}

h2 { font-size: 1.5rem;
}

h1.title,
h2.title { font-size: 2rem;
  line-height: 130%;
  margin-top: 64px;
}

p.title { font-size: 2rem;
  line-height: 130%;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
}

.low_impact_text { color: var(--dark_grey);
}

.high_impact_text { font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.8rem;
  /* background-color: var(--our_blue);
	color: var(--white);
	padding-left: 30px;
	border-radius: 10px; */
}

.match_high_impact { padding-left: 20px;
}

@media only screen and (min-width: 1201px) { h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h1.title,
  h2.title { font-size: 4rem;
    line-height: 130%;
    margin-top: 64px; }
  p.title { font-size: 4rem;
    line-height: 130%;
    font-weight: 700;
    font-family: "Roboto", sans-serif; }
  .low_impact_text { color: var(--dark_grey); }
  .high_impact_text { font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
    /* background-color: var(--our_blue);
	color: var(--white);
	padding-left: 30px;
	border-radius: 10px; */
  }

  .match_high_impact { padding-left: 20px; }
}


.row { display: flex;
  flex-wrap: wrap;
}

.justified_row { justify-content: space-around;
}

.justify_centre {justify-content: center;}

.justified_between {
  justify-content: space-between;
}

div .block {
    float: none;
    display: flex;}

.justify_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

div .vertical_flex { 
    display: flex;
    flex-direction: column; 
}

div .basis_30 {
    flex-basis: 30%;
}

div .basis_50 {
    flex-basis: 50%;
}



div .vertical_stretch { align-self: stretch; }

div .centre_align_row { align-items: center;
	display: flex;
    float: none;
}

.wrap {
  flex-wrap: wrap !important;
}

/* clearfix ensures that floating inside columns does not mean things lay over each other. */
.row::after {	content: "";
	clear: both;
	display: table;
}

div .sub_header { padding-top: 0;
}

/* column definitions */
/* general */
[class*="col-"] { float: left;
  padding: 5px;
  display: inline;
  vertical-align: middle;
  width: 100%;
  /* design for phone then change other boxes */
  /* border: 1px solid var(--test_box_outline);  /* testing layout points */
}

@media only screen and (min-width: 601px) and (max-width: 1080px) { /* For (portrait) tablets: */
  .col-t-half { width: 4.165%; }
  .col-t-1 { width: 8.33%; }
  .col-t-2 { width: 16.66%; }
  .col-t-3 { width: 25%; }
  .col-t-4 { width: 33.33%; }
  .col-t-5 { width: 41.66%; }
  .col-t-5_5 { width: 45.835%;}
  .col-t-6 { width: 50%; }
  .col-t-7 { width: 58.33%; }
  .col-t-8 { width: 66.66%; }
  .col-t-9 { width: 75%; }
  .col-t-10 { width: 83.33%; }
  .col-t-11 { width: 91.66%; }
  .col-t-12 { width: 100%; }
  .col-t-45pc { width: 45%; }
}

@media only screen and (min-width: 1081px) and (max-width: 1280px) { /* For small desktop: */
  .col-s-half { width: 4.165%; }
  .col-s-1 { width: 8.33%; }
  .col-s-2 { width: 16.66%; }
  .col-s-3 { width: 25%; }
  .col-s-4 { width: 33.33%; }
  .col-s-5 { width: 41.66%; }
  .col-s-5_5 { width: 45.835%;}
  .col-s-6 { width: 50%; }
  .col-s-7 { width: 58.33%; }
  .col-s-8 { width: 66.66%; }
  .col-s-9 { width: 75%; }
  .col-s-10 { width: 83.33%; }
  .col-s-11 { width: 91.66%; }
  .col-s-12 { width: 100%; }
  .col-s-45pc { width: 45%; }
}

@media only screen and (min-width: 1281px) { /* For large desktop: */
  .col-l-half { width: 4.165%; }
  .col-l-1 { width: 8.33%; }
  .col-l-2 { width: 16.66%; }
  .col-l-3 { width: 25%; }
  .col-l-4 { width: 33.33%; }
  .col-l-5 { width: 41.66%; }
  .col-l-5_5 { width: 45.835%;}
  .col-l-6 { width: 50%; }
  .col-l-7 { width: 58.33%; }
  .col-l-8 { width: 66.66%; }
  .col-l-9 { width: 75%; }
  .col-l-10 { width: 83.33%; }
  .col-l-11 { width: 91.66%; }
  .col-l-12 { width: 100%; }
  .col-l-45pc { width: 45%; }
}

@media only screen and (max-width: 600px) {
  div.hide_small { display: none; }
}

@media only screen and (min-width: 601px) { div.hide_large { display: none; }
}


.margin_20_top { margin-top: 20px;
}
  
.expand_20_bottom { padding-bottom: 20px;
}
  
.margin_left_1lvw {
  margin-left: 1lvw;
}

.expand_10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.expand_20 { padding-top: 20px;
	padding-bottom: 20px;
  }

  .expand_50 { padding-top: 50px;
	padding-bottom: 50px;
  }
  
  .expand_50_bottom { padding-bottom: 50px;
  }
  
  .expand_75 { padding-top: 75px;
	padding-bottom: 75px;
  }
  
  .expand_100 { padding-top: 100px;
	padding-bottom: 100px;
  }
  
  .expand_100_bottom { padding-bottom: 100px;
  }
  
.expand_200_bottom { margin-bottom: 200px;
}

.expand_50_top { padding-top: 50px;
  }

.box_margin_40_bottom { margin-bottom: 40px;
}

.image_padded { padding: 0px;
}

.image_faded { opacity: 0.8;
}
image_faded:hover { opacity: 1;
}

.multilevel_image_holder { padding: 0;
  display: inline-block;
  background-image: url("/abstract-user-flat-3_hover_blue.svg");
  background-size: cover;
  width: 30px;
  height: 30px;
}
.multicolour_image:hover { opacity: 0%;
}

.buttoned_image { text-align: center;
  position: relative;
  height: 100%;
}

.vertical_justified { display: flex;
  justify-content: right;
  align-items: center;
}

.text_overlay_image { position: relative;
}

.image_overlay { position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
}

.image_centred_overlay { position: absolute;
  top: 80%;
  transform: translate(0, -40%);
  z-index: 99;
  width: 100%;
}

.image_centred_overlay_small { position: absolute;
  top: 80%;
  transform: translate(0, -50%);
  z-index: 99;
}

.image_centred_overlay button { min-width: 33%; }

.image_centred_overlay_small button { min-width: 33%;
}

button { background-color: var(--our_blue);
  color: var(--white);
  padding: 1rem;
  border-radius: 2rem;
  border: 0;
  font-size: larger;
  cursor: pointer;
}

.squared_button { background-color: var(--our_blue);
  color: var(--white);
  padding-left: 0.75rem;
  padding-right: 0.9rem;
  padding-top: 0.5rem;
  padding-bottom: 0.6rem;
  border-radius: 0.5rem;
  border: 0;
  font-size: larger;
  cursor: pointer;
}

.squared_button_small_corners { background-color: var(--our_blue);
  color: var(--white);
  padding-left: 0.8rem;
  padding-right: 0.95rem;
  padding-top: 0.5rem;
  padding-bottom: 0.6rem;
  border-radius: 0.25rem;
  border: 0;
  font-size: larger;
  min-width: 8vh;
  cursor: pointer;
}

button:disabled{background-color: var(--warm_grey)}
button:disabled:hover{background-color: var(--warm_grey)}

.button_reverse { background-color: var(--white);
  color: var(--our_blue);
  border: 2px solid var(--our_blue);
  cursor: pointer;
}

.button_reverse:hover { background-color: var(--hover_blue);
  color: var(--white);
}

input[type="button"],
[type="submit"],
[type="reset"] { background-color: var(--our_blue);
  color: var(--white);
    cursor: pointer;
  border: 0;
  font-size: larger;
}

button { padding: 1rem;
  border-radius: 2rem;
  cursor: pointer;
}

label { padding-top: 1rem;
}

input[type="text"],
input[type="password"],
input[type="email"] { font-size: 1rem;
  padding: 0.75rem;
}

.input_message { font-size: 1rem;
  padding: 0.75rem;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #1d1d1f;
}

.image_link { cursor: pointer;
}

button.reverse { background-color: var(--white);
  color: var(--our_blue);
  padding: 1rem;
  border-radius: 2rem;
  border: 2px solid var(--our_blue);
  font-size: larger;
}

button:hover { background-color: var(--hover_blue);
}

button.reverse:hover { background-color: var(--light_grey);
}


/* hiding and unhiding classes */
.start_hidden { display: none !important;
}


/* menu definitions */

.menu { background-color: var(--white);
    color: var(--text_grey);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding-top: 16px;
    padding-bottom: 16px;
  }



  @media only screen and (max-width: 600px) { /* Phones only */
    .survey_menu { background-color: none !important;
      }
  }

.menu_spacer { height: 95px;
}


.menu ul { list-style-type: none;
    margin: 0;
    padding: 0;
    display: table;
    width: 100%;
    background-color: var(--white);
  }


.menu .push_right,
.footer .push_right,
div .push_right { text-align: right;
}

.float_left { float: left;
}

.menu .burger_menu ul { text-align: left;
  transition: all 2s linear;
}

.menu .burger_icon { padding: 8px;
  margin-bottom: 1px;
  float: right;
}

.relative { position: relative; }

.absolute { position: absolute; }

.pos_0_0 {
    top: 0;
    left: 0;
}

.pos_0__5 {
    top: 0;
    left: 0.5%;
}

.pos_1_1 {
    top: 1%;
    left: 1%;
}

.push_down { margin-top: auto;}

.full_height { height: 100%; }

.full_width { width: 100%; }

.contain {
    object-fit: contain;
}

.menu .burger_icon img { position: absolute;
  top: 0%;
  transform: translate(-100%, 25%);
}

.burger_menu img { position: absolute;
  top: 0%;
  transform: translate(0, 25%);
}

@media only screen and (max-width: 600px) { /* Phones only */

    .survey_menu ul { background-color: none !important;
    }
}

@media only screen and (max-width: 600px) { /* Phones only */

    .survey_menu ul li { background-color: none !important;
    }
}

.menu ul li { display: inline-block;
  float: none;
  background-color: var(--white);
}
  

@media only screen and (min-width: 601px) and (max-width: 1600px) { /* For desktop: */

  .menu .hide_small ul li { padding-left: 15px;
    padding-right: 15px; }
}

@media only screen and (min-width: 1601px) { /* For desktop: */

  .menu .hide_small ul li { padding-left: 30px;
    padding-right: 30px; }
}

.menu ul li a:active { box-shadow: 0 2px var(--our_blue);
}

.active_link { /* class is picked up by active_link tag. name is arbitrary. */
  box-shadow: 0 2px var(--our_blue);
}

.override_existence { display: none;
}

.menu ul li a:hover { box-shadow: 0 2px var(--warm_grey);
}

.menu ul li a.no_underline:hover { box-shadow: none;
}

.menubox{ 
margin-top: 15px;
padding-bottom: 50px;}

/* Hidden dropdown for small screens,  */
/* and for second-layer large screens */
.menubox ul li { /* display: block; */
  width: 100%;
}

.menu li { padding: 8px 8px;
  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); */
}

.seethrough_menu li { padding: 8px 8px;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); */
  }

.menu #menu_logo { padding-left: 5px;
  padding-top: 5px;
  padding-right: 10px;
}

.menu li a { color: var(--text_grey);
  text-decoration: none;
}

.menu ul a { /* Text in SenseBuilding */
  color: var(--text_grey);
  text-decoration: none;
}

.menubox ul li { background-color: var(--white);
}

.menu ul .menu_level_2 { display: none;
}

.menu .menu_solutions:hover .menu_level_2 { display: block;
}

.menu .menu_solutions .menu_level_2.active_block { display: block;
}

.menu_success_stories:hover .menu_level_2 { display: block;
}

.menu_success_stories .menu_level_2.active_block { display: block;
}

#inclusify { display: block;
  position: absolute;
  background-color: var(--light_grey);
  border-bottom: 2px solid #0068d9;
  padding: 6px 16px;
}

#motionspot { display: inline;
  position: absolute;
  background-color: var(--light_grey);
  transform: translateX(-100%);
  padding: 6px 16px;
}

#motionspot.active_link { box-shadow: 0 1px solid #0068d9;
}

#cambridge_enterprise { display: inline;
  position: absolute;
  background-color: var(--light_grey);
  transform: translateX(34%);
  padding: 6px 16px;
}

#cambridge_enterprise.active_link { box-shadow: 0 1px solid #0068d9;
}

#ukri { display: inline;
  position: absolute;
  background-color: var(--light_grey);
  padding: 6px 16px;
}

#ukri.active_link { box-shadow: 0 1px solid #0068d9;
}

.linkclass { display: inline-block;
  width: 100%;
  height: 100%;
}

.dropdown { position: relative;
  display: inline-block;
  width: auto;
  z-index: 999;
}

.dropdown_content { display: none;
  position: absolute;
  transform: translate(0px, 8px);
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 990;
  background-color: var(--our_blue);
}

.dropdown_content li { z-index: 950s;
  min-width: 150px;
  background-color: var(--our_blue);
}

.dropdown_content ul { z-index: 900;
  min-width: 150px;
}

.dropdown_content a { padding: 6px 12px;
  text-decoration: none;
  display: block;
  z-index: 999;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown_content { display: block;
}

.centred { text-align: center;
}

.margin-auto {margin-left: auto;
margin-right:auto;
padding: auto;
width: 1000px;
}

.rounded { border-radius: 30px;
}

.question { background-color: var(--light_grey);
  padding-left: 20px;
  padding-right: 20px;
}

.question_holder { min-height: 65vh;
  padding-bottom: 5vh;
}

/* header blue text */
.highlight { color: var(--our_blue);
}

.two_line_header { padding-top: 80px;
}

.mini_icon { width: 40px;
}

/* 1-5 rating */
.rating { display: flex;
}

.rating label { position: absolute;
  left: -100vw;
}

.rating label { width: 24px;
  height: 24px;
  padding: 24px 0 0;
  overflow: hidden;
  background: url("/static/circles.svg") no-repeat top left;
}

/* https://iamkate.com/code/star-rating-widget/
  is rather clever */
.rating:not(:hover) input:indeterminate + label,
.rating:not(:hover) input:checked ~ input + label,
.rating input:hover ~ input + label { background-position: -24px 0;
}

.rating:not(:hover) input:focus-visible + label { background-position: -48px 0;
}

/* log-in page */
div.low_pad { padding: 2px;
  /* used for the log-in page email boxes */
}

.no_margin { margin: 0;
}

.input_long { width: 100%;
}

.NOT.slender { padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 1em;
  padding-right: 1em;
  font-size: 100%;
}

.link { cursor: pointer;
}

#people-free-text{ width: 80%;
  height: 200px;
}
#places-free-text { width: 80%;
  height: 200px;
}

input { border-radius: 5px;
  border: 1px solid #1d1d1f;
}

.bar { fill: var(--our_blue);
  /* changes the background */
  height: 21px;
  transition: fill 0.3s ease;
  cursor: pointer;
  font-family: Helvetica, sans-serif;
}

.bar text { color: var(--text_grey);
}

.bar:hover,
.bar:focus { fill: var(--hover_blue);
}

.bar:hover text,
.bar:focus text { fill: var(--hover_blue);
}

.footer { background-color: var(--our_blue);
  color: var(--white);
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.row.footer { flex-wrap: nowrap;
}

.footer div { background-color: var(--our_blue);
}

.footer ul { background-color: var(--our_blue);
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: table;
  color: var(--white);
  width: 100%;
}

.footer ul li { float: none;
  color: var(--white);
}

.footer li a { color: var(--white);
  text-decoration: none;
}

#logo_link li { display: inline-block;
  padding-left: 18px;
}

.footerbox ul li { color: var(--white);
}

.footer ul li a:active { box-shadow: 0 2px var(--our_blue);
}

.footer .pad_8 { padding: 8px;
}

.footer .active_link { /* class is picked up by active_link tag. name arbitrary. */
  box-shadow: 0 2px var(--warm_grey);
}

.footer ul li a:hover { box-shadow: 0 2px var(--warm_grey);
}

.footer ul li a.no_underline:hover { box-shadow: none;
}

.footer li { padding: 8px;
}

input[type="submit"]:hover { background: var(--hover_blue);
}

input[type="checkbox"] { height: 1.8em;
  width: 1.8em;
  accent-color: var(--our_blue);
  padding-top: 16px;
}

.rotate180 { transform: rotate(180deg);
}

.pad_sides {
	padding-left: 10px;
	padding-right: 10px;
}

.hidden { display: none !important;
}

#questions_top {
    scroll-margin-top: 150px;
}

.high_impact_text_as_title {
  margin-top: 36px;
  margin-bottom: 6px;
}

.form_validation {
    padding: 10px !important;
    font-size: 1rem;
    border: 2px solid var(--our_pop);
    border-radius: 5px;
    position: relative; 
    display: inline-block;
    box-shadow: 1px 1px 1px var(--deep_blue);
    margin-top: 10px;
    margin-bottom: 10px;
    width: auto%;
  }

  .form_validation:before{
    content: '';  
    width: 0;  
    height: 0;  
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--our_pop);
    position: absolute;  
    top: -10px; 
  }

  .form_error input, .form_error select, .form_error .form_choice_option{ 
    background: #fff0f4; 
    color: var(--our_pop);
  }