.modal-window {
  position: fixed;
    display: flex;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  &:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  & > div {
    width: calc(100% - 300px);
    height: calc(100% - 300px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    background: white;
  }
  header {
    font-weight: bold;
  }
  h1 {
    font-size: 150%;
    margin: 0 0 15px;
  }
}

html, 
body {
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
}

@media print
{    
    .print-button
    {
        display: none !important;
    }
}

.main {
  display: block;
overflow: auto;
height: 100%;
}

.my-spec {
    margin-top: 0px;
    border: 0px;
    color: #FFF;
    text-align: center;
    padding: 10px;
    display: block;
font-size: 32px;
font-weight: 1200;
}

p {
  margin-bottom: 10px;
	font-size: 16px;
}

h1 {
    margin-top: 0px;
    margin-bottom: 15px;
    border: 0px;
    color: #000;
    text-align: left;
    padding: 0px;
    font-size: 32px;
}

h2 {
    margin-top: 0px;
    margin-bottom: 10px;
    border: 0px;
    font-size: 32px;
    color: #000;
    text-align: left;
    padding: 0px;
    font-size: 22px;
}

.note-editable {
    font-family: Arial;
    font-size: 16px!important;
}

.note-editable img {
    vertical-align: bottom;
}

.outstanding {
  color: red;
  font-weight: 700;
}

.username {
	color: #000000;
	font-size: 17px;
	font-weight: 700;
	display: block;	
}

.home-fla {
	color: #000000;
	font-size: 12px;
	font-weight: 400;
	display: block;	
}

.left-cont {
background-color: #2a2c66;
width: 250px;
height: 100%;
float: left;
border: 1px;
text-align: center;
position: absolute;
}

.left-cont-spec {
  background-color: #2a2c66;
  }

  .left-cont-tcc {
    background-color: #29265b;
    }

.right-cont {
background: #f5f5f5;
margin-left: 250px;
height: 100%;
}

.secondary-nav {
    height: 75px;
    background: #fff;
    border-bottom: 2px solid #dcdedd;
    padding: 25px;
    display: flex;
    align-items: flex-end;
}
.user-det {
   height: 100%;
   width: 100%;
   text-align: right;
   display: flex;
   align-items: flex-end;
   flex-direction: column;
}

.username {
  margin-top: auto;
}
.cust-logo {

}
.accicon:hover {
  cursor: pointer;
}
.button {
	
}

.main-cont{
	margin: 25px;
	padding: 25px;
	background: #fff;
	display: block;
	border: 2px solid #dcdedd;
  position: relative;
}
@media print {
  div {
      break-inside: avoid;
  }
}

.print-area{
	width: 1000px;
	padding: 25px;
	background: #fff;
	display: block;
	border: 2px solid #dcdedd;
  position: relative;
}

/*navigation*/
.main-icon {
    width: 100%;
}

.main-icon-container {
  width: 180px;
  margin-left: auto;
  margin-right: auto;
  max-height: 180px;
  margin-top: 25px;
}

.login-icon-container {
  width: 180px;
  margin: auto auto 0px auto;
  max-height: 180px;
}

.customer-icon-container {
  width: 75px;
  margin-left: 15px;
  max-height: 75px;
  margin-top: 25px;
}

.customer-icon {
  width: 100%;
}

.navbar {
  width: 100%;
  overflow: auto;
text-align: left;
}

.nav-spec {
    background-color: #2a2c66;
}

.nav-tcc {
    background-color: #29265b;
}

.navbar a {
  float: left;
  padding: 8px;
  color: white;
  text-decoration: none;
  font-size: 15px;
      float: none;
    display: block;
  padding-left: 35px;
}

.navbar a:hover {
  background-color: #0e0f23;
}

.navbar span {
  float: left;
  padding: 12px;
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
      float: none;
    display: block;
  margin-top: 8px;
}


.active {
  background-color: #ffd403;
}
.tcc-active {
  background-color: #18b4b6;
}

.login-form {
  width: 650px;
  height: fit-content;
  padding: 15px;
  background-color: #FFF;
  margin: 15px auto auto auto;
  display: block;
}

.login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.btn-default {
  display:inline-block;
padding:0.3em 1.2em;
margin:0 0.3em 0.3em 0;
border-radius: 5px;
box-sizing: border-box;
text-decoration:none;
font-family:Arial, Helvetica, sans-serif;
font-weight:300;
font-size: 16px;
color:#2a2c66;
background-color:#FFFFFF;
border-color: #2a2c66;
border-width: 2px;
text-align:center;
transition: all 0.5s;
}

.btn-default:hover{
  background-color:#2a2c66;
  color:#ffffff;
  cursor: pointer;
  }

  .navbut{
    display:inline-block;
    padding:0.3em 1.2em;
    margin:0px 0px 10px 0px;
    border-radius:2em;
    border-width: 2px;
    box-sizing: border-box;
    text-decoration:none;
    font-family:Arial, Helvetica, sans-serif;
    font-weight:300;
    color:#2a2c66;
    border-color:#2a2c66;
    border-style: solid;
    background-color: #ffffff;
    text-align:center;
    transition: all 0.5s;
    }
    .navbut:hover{
      background-color:#2a2c66;
      color: #ffffff
      }
.navbut2{
  display:inline-block;
  padding:0.3em 1.2em;
  margin:0px 0px 10px 0px;
  border-radius:2em;
  box-sizing: border-box;
  text-decoration:none;
  font-family:Arial, Helvetica, sans-serif;
  font-weight:300;
  color:#FFFFFF;
  background-color:#2a2c66;
  text-align:center;
  transition: all 0.5s;
  }
  .navbut2:hover{
    background-color:#000000;
    }
    .accbut{
      display:inline-block;
      padding:0.3em 1.2em;
      margin:0 0.3em 0.3em 0;
      border-radius:2em;
      border-style: solid;
      border-width: 2px;
      box-sizing: border-box;
      text-decoration:none;
      font-family:Arial, Helvetica, sans-serif;
      font-weight:300;
      color:#FFFFFF;
      background-color:red;
      text-align:center;
      transition: all 0.5s;
      }
      .accbut:hover{
      background-color:darkred;
      }
      .accnav{
      display:inline-block;
      padding:0.3em 1.2em;
      margin:0 0.3em 0.3em 0;
      border-radius:2em;
      border-style: solid;
      border-color: red;
      border-width: 2px;
      box-sizing: border-box;
      text-decoration:none;
      font-family:Arial, Helvetica, sans-serif;
      font-weight:300;
      color:red;
      background-color:#FFFFFF;
      text-align:center;
      transition: all 0.5s;
      }
      .accnav:hover{
      background-color:darkred;
      border-color: darkred;
      color: white;
      }
      .accnavinv{
      display:inline-block;
      padding:0.3em 1.2em;
      margin:0 0.3em 0.3em 0;
      border-radius:2em;
      border-style: solid;
      border-color: white;
      border-width: 2px;
      box-sizing: border-box;
      text-decoration:none;
      font-family:Arial, Helvetica, sans-serif;
      font-weight:300;
      color:white;
      background-color:#red;
      text-align:center;
      transition: all 0.5s;
      }
      .accnavinv:hover{
      background-color:white;
      color: red;
      }
@media all and (max-width:30em){
.navbut{
display:block;
margin:0.2em auto;
}
}

.preference {
    display: flex;
    justify-content: space-between;
    width: 	550px;
    margin: .5rem;
}

.actions {
  margin: .5rem;
}

.submit-form {
  margin: .5rem;
}

.visit-detail {
  display: inline-block;
  padding: 25px;
  background-color: rgba(247, 247, 247, 1);
  margin-bottom: 25px;
}
.visit-detail span {
  display: block;
}

.visit-summary {
  display: block;
  padding: 25px;
  background-color: rgba(247, 247, 247, 1);
}

.visit-container {
    display: block;
    margin: 50px 0px 50px 0px;
}

.visit-notes-container {
  display: flex;
}

.visit-left {
  width: 300px;
  max-width: 300px;
  margin-right: 20px;

}

.visit-right {
  display: flex;

  background: rgb(247, 247, 247)
  max-width: 100%;
  width: 100%;
}

.preference label {
text-align: right;
width: 150px;
margin-right: 15px;
}

.preference input {
width: 400px;
}

.preference span {
width: 400px;
}

.preference select {
width: 400px;
}

.preference textarea {
  min-height: 200px !important;
width: 400px;
overflow:y-scroll;
word-wrap: break-word;
}

.admin-nav {
background-color: red; padding: 10px;
display: flex;
}

.admin-left {
margin: auto auto auto 0px;
}

.admin-right {
margin: auto 0px auto auto;
text-align: right;
}


table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

th  {
  border-top: 1px solid #dddddd;
  border-bottom: 0px solid #dddddd;
  text-align: left;
  padding: 8px;
}

td {
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

th {
  background: rgb(247, 247, 247);
}

.fltrow td {
  background: rgb(247, 247, 247);
  border-top: 0px solid #dddddd !important;
  border-bottom: 3px solid #dddddd;
  padding: 8px;
}

.admin-nav form {
  display: inline-block;
  padding-left: 20px;
}

/* COSHH Training */

.training {
  padding: 50px 100px 50px 100px;
}

.training-nav {
  flex-direction: row-reverse;display: flex;
}

@media (max-width: 767px) {
  .training {
    padding: 15px 15px 15px 15px;
  }

  .training-logo {
    max-width: 40%;
  }

    .training h1 {
    font-size: 24px;
    padding-top: 20px;
  }

}

.tbt-container {
  display: flex;
  margin-top: 30px;
}

.tbt-left {
  padding-right: 15px;
}

.tbt-left img {
  object-fit: cover;
  width:150px;
  height:150px;
}
.tbt-right {
  display: block;
}
.tbt-right a {
}

.accordion {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
/* Accordion styles */
.tabs {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}
.tab {
  width: 100%;
  color: white;
  overflow: hidden;
}
.tab-label {
  display: flex;
  justify-content: space-between;
  padding: 1em;
  background: #2a2c66;
  font-weight: bold;
  cursor: pointer;
 /* Icon */
}
.tab-label:hover {
  background: #1b1c42;
}
.tab-label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}
.tab-content {
  max-height: 0;
  padding: 0 1em;
  color: #000;
  background: white;
  transition: all 0.35s;
}
.tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #2a2c66;
  cursor: pointer;
}

.tab-close:hover {
  background: #1b1c42;
}
input:checked + .tab-label {
  background: #1b1c42;
}
input:checked + .tab-label::after {
  transform: rotate(90deg);
}
input:checked ~ .tab-content {
  max-height: 1000vh;
  padding: 1em;
}

.tab-content p {
 margin: 0px;
}

input:checked ~ .tab-content p {
 margin: 16px;
}

input:checked + .tab-content {
 margin: 100px;
}
#slider {
 position: relative;
 overflow: hidden;
 margin: 20px auto 0 auto;
 border-radius: 4px;
}

#slider ul {
 position: relative;
 margin: 0;
 padding: 0;
 height: 200px;
 list-style: none;
}

#slider ul li {
 position: relative;
 display: flex;
 flex-direction: column;
 float: left;
 margin: 0;
 padding: 0;
 width: 300px;
 height: 200px;
 margin: auto;
 background: #fff;
 text-align: center;
}

#slider img {
 margin: auto;
}

#slider span {
 margin: auto;
}

a.control_prev, a.control_next {
 position: absolute;
 top: 40%;
 z-index: 999;
 display: block;
 padding: 4% 3%;
 width: auto;
 height: auto;
 color: #2a2a2a;
 text-decoration: none;
 font-weight: 600;
 font-size: 18px;
 opacity: 0.8;
 cursor: pointer;
}

a.control_prev:hover, a.control_next:hover {
 opacity: 1;
 -webkit-transition: all 0.2s ease;
}

a.control_prev {
 border-radius: 0 2px 2px 0;
}

a.control_next {
 right: 0;
 border-radius: 2px 0 0 2px;
}

.slider_option {
 position: relative;
 margin: 10px auto;
 width: 160px;
 font-size: 18px;
}

/* Test */

.test-container {
  background-color: white;
  overflow: hidden;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-width: 1px;
  border: 1px solid  #dcdedd;
}

.test-container hr {
  margin: 25px 0px 25px 0px;
  border-top: 1px solid  #dcdedd;
}


.test-container label {
  display:inline-block;
  max-width: 80%;
  vertical-align:top;
  margin-top: 5px;
  }

  .test-container input {
  margin-top: 7px !important;
  }

/* CSS For Modal */
.modal-container {
 display: inline;
 margin-left: 0px;
 padding-top: 0px;
 position: relative;
 width: 150px;
}
.modal-container button {
display: inline;
margin: 0px;
border: 1px;
padding: 5px 10px 5px 10px;
width: 150px;
color: #ffffff;
background: #2a2c66;
font-size: 16px;
border: 0;
border-radius: 5px;
box-shadow: 0 5px 5px -5px #000;
transition: background 0.3s ease-in;}

.modal-container .modal-backdrop {
 height: 0;
 width: 0;
 opacity: 0;
 overflow: hidden;
 transition: opacity 0.2s ease-in;
}

.modal-container #modal-toggle {
 position: absolute;
 left: 0;
 top: 0;
 height: 100%;
 width: 100%;
 margin: 0;
 opacity: 0;
 cursor: pointer;
}

.modal-container #modal-toggle:hover ~ button { background: #29265b; }

.modal-container #modal-toggle:checked {
 width: 100vw;
 height: 100vh;
 position: fixed;
 left: 0;
 top: 0;
 z-index: 1000;
 opacity: 0;
}

.modal-container #modal-toggle:checked ~ .modal-backdrop {
 background-color: rgba(0, 0, 0, 0.6);
 width: 100vw;
 height: 100vh;
 position: fixed;
 left: 0;
 top: 0;
 z-index: 1000;
 pointer-events: none;
 opacity: 1;
}

.modal-container #modal-toggle:checked ~ .modal-backdrop .modal-content {
 background-color: #fff;
 max-width: 750px;
 width: 100%;
 height: 200px;
 padding: 10px 30px;
 position: absolute;
 left: calc(50% - 250px);
 top: 12%;
 border-radius: 4px;
 z-index: 1000;
 pointer-events: auto;
 cursor: auto;
 box-shadow: 0 3px 7px rgba(0, 0, 0, 0.6);
}
@media (max-width: 767px) {

.modal-container #modal-toggle:checked ~ .modal-backdrop .modal-content {
  max-width: 95%; 
  left: 2.5%;
  height: 80%;
  top: 10%;
}
}

.modal-container #modal-toggle:checked ~ .modal-backdrop .modal-content .modal-close {
 color: #666;
 position: absolute;
 right: 2px;
 top: 0;
 padding-top: 7px;
 background: #fff;
 font-size: 16px;
 width: 25px;
 height: 28px;
 font-weight: bold;
 text-align: center;
 cursor: pointer;
}

.modal-container #modal-toggle:checked ~ .modal-backdrop .modal-content .modal-close.button {
 top: initial;
 bottom: 20px;
 right: 20px;
 background: #4CAF50;
 color: #fff;
 width: 50px;
 border-radius: 2px;
 font-size: 14px;
 font-weight: normal;
}

.modal-container #modal-toggle:checked ~ .modal-backdrop .modal-content .modal-close.button:hover {
 color: #fff;
 background: #1E824C;
}

.modal-container #modal-toggle:checked ~ .modal-backdrop .modal-content .modal-close:hover { color: #333; }

.cat-extend {
   width: 100%;
   height: 100%;
   overflow: auto;
   padding: 5px !important;
}
.cat-extend form {
  margin-top: 40px;
}
}
@media (min-width: 767px) {
.cat-extend {
   padding: 15px !important;
}
}

.premium {position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(247, 247, 247, 0.9) ;display: flex; verticle-align: middle;align-items:center;
        justify-content:center; flex-direction: column;}

.prod-docs-tab img {
  height: 20px;
  width: 15px;
  max-height: 20px;
  }

.tooltip {
  position: relative;
  display: inline-block;
  border: 0px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 240px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -120px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}