/* Overall styling */

html {
  font-size: 14px;
}

body {
  background-color: #f8f8ff;
}

form {
  /* Fixes user agent stylesheet adding margin giving always scrollable gap when used with full height.*/
  margin-bottom: 0;
}

/* Font ICONs generated*/

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?2n7nm9');
  src:  url('fonts/icomoon.eot?2n7nm9#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?2n7nm9') format('truetype'),
    url('fonts/icomoon.woff?2n7nm9') format('woff'),
    url('fonts/icomoon.svg?2n7nm9#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-rr-blue {
  background-color: #4078ef;
}

.icon-RR-icon_5:before {
  content: "\e917";
  color: #4078ef;
}
.icon-RR-icon_empty:before {
  content: "\e918";
}
.icon-RR-docs:before {
  content: "\e900";
  color: #4078ef;
}

.icon-RR-people:before {
  content: "\e901";
  color: #4078ef;
}

.icon-RR-people-colour:before {
  content: "\e901";
  color: #a4a1d9;
}

.icon-RR-percent:before {
  content: "\e902";
  color: #4078ef;
}

.icon-RR-first-aid:before {
  content: "\e903";
  color: #4078ef;
}

.icon-RR-import:before {
  content: "\e904";
  color: #4078ef;
}

.icon-RR-pointer:before {
  content: "\e905";
}

.icon-RR-stamp:before {
  content: "\e906";
  color: #4078ef;
}

.icon-RR-hash:before {
  content: "\e907";
  color: #4078ef;
}

.icon-RR-blueman:before {
  content: "\e908";
  color: #4078ef;
}

.icon-RR-qmark .path1:before {
  content: "\e909";
  color: rgb(64, 120, 239);
}

.icon-RR-qmark .path2:before {
  content: "\e90a";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}

.icon-RR-pencil .path1:before {
  content: "\e90b";
  color: rgb(64, 120, 239);
}

.icon-RR-pencil .path2:before {
  content: "\e90c";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}

/*.icon-RR-pencil .path1:before {*/
/*    content: "\e90b";*/
/*    color: rgb(64, 120, 239);*/
/*}*/
/*.icon-RR-pencil .path2:before {*/
/*    content: "\e90c";*/
/*    margin-left: -1em;*/
/*    color: rgb(255, 255, 255);*/
/*}*/

.icon-RR-down:before {
  content: "\e90d";
}

.icon-RR-chevron:before {
  content: "\e90e";
}

.icon-RR-todo:before {
  content: "\e90f";
  color: #bdbcbc;
}

.icon-RR-download:before {
  content: "\e910";
}

.icon-RR-email:before {
  content: "\e911";
}

.icon-RR-blackman:before {
  content: "\e912";
}

.icon-RR-empty:before {
  content: "\e913";
}

.icon-RR-chart:before {
  content: "\e914";
}

.icon-RR-graph:before {
  content: "\e915";
}
.icon-RR-icon_22:before {
  content: "\e919";
  color: #4078ef;
}
.icon-RR-done:before {
  content: "\e916";
  color: #4078ef;
}


/* Pure CSS popup from https://codepen.io/sahil4test/pen/xERYvX */
.overlay-help {
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 330ms;
  visibility: hidden;
  opacity: 0;
}

.overlay-help:target {
  visibility: visible;
  opacity: 1;
}

.popup-help {
  transition: all 330ms ease-in-out;
}

.popup-help h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}


#wrapper {
  width: 100px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border: 10px solid #aaa;
  border-radius: 15px;
  background-clip: padding-box;
  text-align: center;
}
.button-modal {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  padding: 5px 10px;
  border: 1px solid #aaa;
  background-color: #eee;
  background-image: linear-gradient(top, #fff, #f0f0f0);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  color: #666;
  text-decoration: none;
  text-shadow: 0 1px 0 #fff;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.button-modal:hover {
  border-color: #999;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.button-modal:active {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset;
}
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 200ms;
  visibility: hidden;
  opacity: 0;
}
.overlay.light {
  background: rgba(255, 255, 255, 0.5);
}
.overlay .cancel {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: default;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}
.popup {
  margin: 75px auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #666;
  max-width: 600px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  position: relative;
}
.light .popup {
  border-color: #aaa;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.popup h2 {
  margin-top: 0;
  color: #666;
  font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 20px;
  right: 20px;
  opacity: 0.8;
  transition: all 200ms;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #666;
}
.popup .close:hover {
  opacity: 1;
}
.popup .content {
  max-height: 400px;
  overflow: auto;
}
.popup p {
  margin: 0 0 1em;
}
.popup p:last-child {
  margin: 0;
}





/* Modal v2*/
/* https://codepen.io/timothylong/pen/HhAer/ */
/* https://jsonformatter.org/scss-to-css */

/* Alternative JS https://www.w3schools.com/w3css/tryit.asp?filename=tryw3css_modal */

.modal-window {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.25);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.modal-window:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.modal-window > div {
  width: 400px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2em;
  background: #fff;
}
.modal-window header {
  font-weight: bold;
}
.modal-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}
.modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}
.modal-close:hover {
  color: black;
}


/* Modal (micromodal) with JS v3*/
/**************************\
  Basic Modal Styles
\**************************/

/* .modal {
  font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
} */

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__overlay_simple {
  position: absolute;
  float: right;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.6);
}

.modal__container {
  background-color: #fff;
  padding: 30px;
  /* 500px width originally*/
  max-width: 80vw;
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

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

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #00449e;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
}

.modal__header .modal__close:before { content: "\2715"; }

.modal__content {
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: rgba(0,0,0,.8);
}

.modal__btn {
  font-size: .875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background-color: #e6e6e6;
  color: rgba(0,0,0,.8);
  border-radius: .25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform .25s ease-out;
  transition: transform .25s ease-out;
  transition: transform .25s ease-out,-webkit-transform .25s ease-out;
}

.modal__btn:focus, .modal__btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.modal__btn-primary {
  background-color: #00449e;
  color: #fff;
}



/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mmfadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
  to { transform: translateY(0); }
}

@keyframes mmslideOut {
  from { transform: translateY(0); }
  to { transform: translateY(-10%); }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}


.micromodal-simple {
  display: none;
}

.micromodal-simple.is-open {
  display: block;
}

.micromodal-simple[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-simple[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-simple[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-simple[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-simple .modal__container,
.micromodal-simple .modal__overlay {
  will-change: transform;
}





.input-with-icon {
  position: relative;

  /*width: 10rem;*/
  /*width: 100%;*/
  width: 320px;
  height: 3.2rem;
  box-sizing: border-box;
}

.input-with-icon .form-control {
  /*height: 100%;*/
  /* Percentage is taken differently in all browser for size !!!*/
  width: 280px;
}

.input-with-icon .icon {
  position: absolute;

  color: rgb(74, 85, 104);
  top: -0.2rem;

  right: 32%;
}

.iconArray-container {
  padding: 3px 0px 3px 0px;

  display: grid;
  /*grid-template-columns: auto auto auto auto auto auto auto auto auto auto;*/

  /* ENABLE ONE OF BELOW. TOP IF 25 per row, lower is 10 per row*/
  /*grid-template-columns: repeat(25, 1fr);*/
  grid-template-columns: repeat(10, 1fr);

  grid-gap: 5px 0px;
  /*grid-gap: 15px 15px;*/
  /*grid-gap: 20px 20px;*/

  /*Height messes up SVG scaling. Use width*/
  min-height: 200px;

  /* TODO: This may need to change with future depending on layout.*/
  /*max-width: 600px;*/

  /* Temp */
  /*background: #ffe1eb;*/
}

.iconArray-container-1000 {
  padding: 0px 0px 0px 0px;

  display: grid;
  /*grid-template-columns: auto auto auto auto auto auto auto auto auto auto;*/

  /* ENABLE ONE OF BELOW. TOP IF 25 per row, lower is 10 per row*/
  grid-template-columns: repeat(25, 1fr);
  /*grid-template-columns: repeat(10, 1fr);*/

  grid-gap: 0px 2px;
  /*Height messes up SVG scaling. Use width*/
  /*min-height: 200px;*/
}

/* RADIO REPLACING WITH IMG*/
.radio-toolbar input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
  cursor: pointer;
}

/*.radio-toolbar label {*/
/*  display: inline-block;*/
/*  background-color: #ddd;*/
/*  padding: 10px 20px;*/
/*  font-family: sans-serif, Arial;*/
/*  font-size: 16px;*/
/*  border: 2px solid #444;*/
/*  border-radius: 4px;*/
/*}*/

.radio-toolbar .cus_label {
  /*display: inline-block;*/
  background-color: #ffffff;
  padding: 10px 10px;
  border: 2px solid #444;
  border-radius: 4px;
  width: 30px;
  height: 30px;
}

.radio-toolbar input[type="radio"]:checked + .cus_label {
  background-color:#4078ef;
  border-color: #223f84;
  /*background-image:url(http://csscheckbox.com/checkboxes/lite-x-red.png);*/
  /*background-position: 0 -15px;*/
}

.radio-toolbar input[type="radio"]:focus + .cus_label {
  /*border: 2px dashed #444;*/
}

.radio-toolbar .cus_label:hover {
  background-color: #a3beef;
}


@media only screen and (max-width: 640px) {
  .input-with-icon .icon {
      top: 0.6rem;
      right: 35%;
  }

  .iconArray-container {
    padding: 15px;
    grid-template-columns: repeat(10, 1fr);
    min-height: 150px;
    grid-gap: 5px 0px;
    /*max-height: 200px;*/
    width: 400px;
  }
}


/* Page 9 content edit ()*/

.riskWithIntervention-Btn-img {
  /*height: 1.5rem;*/
}

.riskWithIntervention-Btn-img:hover {
  /*height: 1.8rem;*/
}

.edit-content-enabled {
  background-color: rgb(129, 145, 160);
  ;border: 1px solid #1a202c;
  border-radius: 5px;
  padding: 15px 15px;
  color: #f8f8ff;
}


/* Loader */

#loader {
  background-color: #f8f8ff;
}
.sk-folding-cube {
  margin: 20px auto;
  width: 40px;
  height: 40px;
  position: relative;
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}
.sk-folding-cube .sk-cube {
  float: left;
  width: 50%;
  height: 50%;
  position: relative;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
.sk-folding-cube .sk-cube:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(64, 120, 239);
  -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
  animation: sk-foldCubeAngle 2.4s infinite linear both;
  -webkit-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}
.sk-folding-cube .sk-cube2 {
  -webkit-transform: scale(1.1) rotateZ(90deg);
  transform: scale(1.1) rotateZ(90deg);
}
.sk-folding-cube .sk-cube3 {
  -webkit-transform: scale(1.1) rotateZ(180deg);
  transform: scale(1.1) rotateZ(180deg);
}
.sk-folding-cube .sk-cube4 {
  -webkit-transform: scale(1.1) rotateZ(270deg);
  transform: scale(1.1) rotateZ(270deg);
}
.sk-folding-cube .sk-cube2:before {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}
.sk-folding-cube .sk-cube3:before {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.sk-folding-cube .sk-cube4:before {
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
}
@-webkit-keyframes sk-foldCubeAngle {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  } 25%, 75% {
      -webkit-transform: perspective(140px) rotateX(0deg);
      transform: perspective(140px) rotateX(0deg);
      opacity: 1;
    } 90%, 100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
      }
}

@keyframes sk-foldCubeAngle {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  } 25%, 75% {
      -webkit-transform: perspective(140px) rotateX(0deg);
      transform: perspective(140px) rotateX(0deg);
      opacity: 1;
    } 90%, 100% {
        -webkit-transform: perspective(140px) rotateY(180deg);
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
      }
}


.twirl-section {
  overflow: hidden;
  transition: max-height 0.3s ease;
  height: auto;
  max-height: 900px;
}

.twirl-section-collapsed {
  max-height: 0;
}

.rotate-word {
  position: absolute;
  /*top: 0;*/
  /*left: 0;*/
  transform-origin: 0.8em 0.8em;
  transform: rotate(90deg);
}


.dropdown:hover .dropdown-menu {
  display: block;
}

/* Measure of change value box */
.moc-input {
  width: -moz-available;
  width: -webkit-fill-available;
  /*width: stretch;*/
}

input:invalid:required {
  border: 2px solid red;
}

input.moc-input:invalid:out-of-range {
  border: 2px solid red;
}

.in-ci {
  background-color: #ffc466AA;
}