/* colours */
:root{
  --primary: #1cb682;
  --secondary: #407f50;
  --text: #000;
  --highlight: #f1f1f1;
  --title: #000;
  --subtitle: #5d5d5d;
  --titleLight: #fff;
  --labels: #7d7d7d;
  --icons: #3d3d3d;
  --dividers: #dadada;
  --tableHightlight: #dadada;
}

/* layout styles */

footer{
  text-align: center;
  color: var(--text) !important;
  background-color: #fff;
  z-index: 995 !important;
  height: 40px;
}

/* @media only screen and (max-width : 992px) {
  header, main, footer {
    padding-left: 0;
  }
} */

nav{
  background: #fff;
  /* border-bottom: 1px solid #000; */
  height: 32px;
  line-height: 32px;
}

nav i, nav i.material-icons {
  display: block;
  font-size: 24px;
  height: 32px;
  line-height: 32px;
}

nav a.menu_title{
  text-transform: uppercase;
  color: #000;
  font-weight: bold;
}

nav a span{
  font-weight: bold;
}

nav .sidenav-trigger{
  margin: 0;
}

.sidenav li>a {
  color: var(--text) !important;
  display: block !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  height: 45px !important;
  line-height: 48px !important;
  padding: 0 16px !important;
}

#side_menu{
  margin-bottom: 30px !important;
  width: 300px !important;
}

.col .row {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.org_user_info{
  text-align: center !important;
  line-height: 100px !important;
}

/* #menu_title{
  display: none !important;
} */

.menu_label{
  margin-bottom: 5px;
  background-color: var(--highlight);
}

#nav_title{
  display: inherit !important;
  color: var(--title) !important;
}

#menu_organisation{
 text-overflow: ellipsis !important;
 font-size: 13px !important;
 font-weight: 500 !important;
 color: #000 !important;
}

#category_menu{
  width: 300px !important;
}

.collection .collection-item {
  background-color: #fff;
  line-height: 1.5rem;
  /* padding: 10px 5px; */
  margin: 0;
  border-bottom: 1px solid #e0e0e0;
}

.collection .collection-item.active {
  background-color: var(--highlight);
  /* color: #eafaf9; */
}

.container {
  padding: 0px 10px;
  width: 100%;
  max-width: 100%;
}

.sidenav li {
  float: none;
  line-height: 30px;
}

.sidenav li .active{
  font-weight: 600;
  text-decoration: underline;
}

.edit_category_list li {
  float: none;
  line-height: 30px;
}

.tabs {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  height: 38px;
  width: 100%;
  background-color: #fff;
  margin: 0 auto;
  white-space: nowrap;
}

.tabs .tab {
  display: inline-block;
  text-align: center;
  line-height: 38px;
  height: 38px;
  padding: 0;
  margin: 0;
  text-transform:none;
  cursor: pointer;
}

@media only screen and (max-width: 992px)
{
  .tabs .tab {
    -webkit-box-flex: 0 !important;
    -webkit-flex-grow: 0 !important;
    -ms-flex-positive: 0 !important;
    flex-grow: 0 !important;
    display: inline-block;
    text-align: center;
    line-height: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    text-transform:none;
    cursor: pointer;
  }
}

.tabs .tab > a{
  color: var(--text) !important;
}

.tabs .tab.active > a{
  color: var(--secondary) !important;
  text-decoration: underline;
}

#_company_name{
  color: var(--text) !important;
  font-size: 14px !important;
  user-select: none !important;
}

#_client_name{
  user-select: none !important;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

body > nav > div > span > i{
  color: #000 !important;
}

main {
  flex: 1 0 auto;
}


.divider {
  height: 1px;
  overflow: hidden;
  background-color: #e0e0e0;
}

h1 {
  font-size: 4.2rem;
  line-height: 110%;
  margin: 1rem 0 1rem 0;
}

p {
  font-size: 13px !important;
  line-height: 15px !important;
}

a {
  color: var(--secondary) !important;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

input{
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}
.category_menu button{
  background: var(--title);
  box-shadow: 1px 1px 3px rgba(90,90,90,0.2);
}
form .input-field{
  margin-top: 30px;
}

button{
  color: var(--secondary) !important;
}

.row {
  width: 90%;
  margin-top: 25px;
  margin-left: auto;
  left: auto;
  right: auto;
  align-items: center !important;
}

.row .col {
  margin-left: auto;
}

select{
  display: block !important;
  height: fit-content !important;
}

#clients_select, #users_select{
	width:  125px;
	font-size: 17px;
  height: fit-content;
	background-color: var(--titleLight);
  margin-bottom: 5px;
  /* outline: none; */
  display:block !important;
}

@media only screen and (min-width: 601px){
  .row {
    width: 90%;
    margin-left: auto;
    left: auto;
    right: auto;
    align-items: center !important;
  }
}

.form_small{
  width: 360px;
  top: 50%;
  margin: 0 auto;
  padding: 30px;
  box-shadow: 1px 2px 3px rgba(0,0,0,0.1);
  border-radius: 10px;
  background: white;

  position: absolute;
  top: 50%;  
  left: 50%;  
  transform: translate(-50%, -50%);
}

.form_large{
  padding: 30px;
  box-shadow: 1px 2px 3px rgba(0,0,0,0.1);
  border-radius: 10px;
  background: white;
}

.page_title {
  width: 100%;
  line-height: 17px;
  letter-spacing: 0.05em;
  color: var(--title);
  font-weight: 600;
  font-size: 17px;
  text-align: left;
}

.page_subtitle{
  width: 100%;
  line-height: 17px;
  letter-spacing: 0.05em;
  color: var(--subtitle);
  font-weight: 500;
  font-size: 15px;
  text-align: left;
}

.section_title {
  width: 100%;
  line-height: 20px;
  margin-top: 0px;
  margin-bottom: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  letter-spacing: 0.05em;
  color: var(--title);
  font-weight: 600;
  font-size: 20px;
  text-align: left;
}

.section_sub_title{
  width: 100%;
  line-height: 16px;
  margin-top: 10px;
  margin-bottom: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  letter-spacing: 0.05em;
  color: var(--title);
  font-weight: normal;
  font-size: 15px;
  text-align: left;
}

.icon-container i {
  font-size: 3em !important;
  margin-bottom: 10px !important;
}

.category_title{
  margin: 10px 5px;
  padding: 5px 0px;
  font-size: 16px;
  font-weight: 500;
  word-wrap: break-word;
  text-decoration: underline;
}

.btn, .btn-small, .btn-large {
  /* margin: 0px 10px; */
  background-color: #fff !important;
  text-align: center !important;
}

.btn-small {
  font-size: 13px !important;
}

.btn-large {
  font-size: 14px !important;
}

#org_create_client_modal > div > div.modal-overlay{
  opacity: 0 !important;
}

#client_profile_modal > div > div > div.modal-overlay{
  opacity: 0 !important;
}

#preloader_modal{
  background-color: transparent !important;
  box-shadow: none !important;
  z-index: 99999999;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 50% !important;
}

.modal .datepicker-modal .open{
  top: 25% !important;
 }

 .datepicker-modal {
  max-width: 550px !important;
  min-width: 435px !important;
  max-height: none !important;
}

.modal-close-icon {
  background: none;
  border: none;
  padding: 0;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 16px;
  right: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}

.modal_title {
  line-height: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 10px;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: 18px;
  text-align: left;
}

.modal_subtitle {
  line-height: 15px;
  margin-top: 5px;
  margin-bottom: 15px;
  padding-top: 10px;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: 15px;
  text-align: left;
}

.datepicker-date-display .date-text {
  display: block;
  font-size: 1.5em !important;
  line-height: 37px !important;
  font-weight: 500;
}

.datepicker-table th {
  background-color: #f4f4f4;
}

label{
  font-size: 13px !important;
  color: var(--labels) !important;
  margin-bottom: 5px !important;
}

.label{
  font-size: 13px !important;
  line-height: normal !important;
  color: var(--labels) !important;
  /* margin-bottom: 5px !important; */
}

textarea {
  width: 100%;
  height: fit-content;
  background-color: transparent;
  margin-top: 5px !important;
}

#user_role {
  display:block !important;
}

.material-icons {
  color: var(--icons) !important;
  line-height: inherit !important;
  user-select: none !important;
}

.material-icons:hover {
  color: var(--secondary) !important;
  cursor: pointer;
}

#side_menu > li > a > i{
  margin: 0 10px !important;
}

.collapsible-header {
  position: relative;
  font-size: 14px;
  /* font-weight: 600; */
}

.question_section_answer_info {
  position: absolute;
  right: 0;
  margin: 0px 10px;
}

.publish_client_info {
  position: absolute;
  right: 0;
  margin: 0px 10px;
}

#reload_overview_icon {
  position: absolute;
  right: 0;
  margin: 0px 10px;
  line-height: normal;
}

.collapsible_section_header{
  margin-right: 40px;
}

#org_user_pagination > li.waves-effect > a{
  background-color: transparent !important;
  color: var(--text) !important;
}

#org_user_pagination > li.waves-effect.active > a{
  background-color: var(--primary) !important;
  color: var(--text) !important;
}


[type="checkbox"].filled-in:checked+span:not(.lever):after {
  top: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--secondary) !important;
  background-color: var(--secondary) !important;
  z-index: 0;
}

.collapsible-body {
  display: none;
  border-bottom: 1px solid #ddd;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 1rem !important;
}

table{
	width:  100% !important;
	margin: 5px auto;
}

table th{
	padding: 10px;
  text-align: left;
  color: black;
	background-color: white;
	border:  thin solid darkgray;
  font-size: 13px !important;
  font-weight: 500;
}

table tr{
	background-color: white;
}


table td{
	padding: 5px 10px;
	border:  thin solid darkgrey;
	text-align: left;
  font-size: 13px !important;
}

table select{
	padding: 5px;
	width:  70px;
	font-size: 13px;
  border: none !important;
	background-color: transparent;
  outline: none;
  display:block !important;
}

table td#question{
	font-weight: 500;
}

table a{
	text-decoration: none;
	color: var(--secondary);
	cursor: pointer;
	/* padding: 10px 15px; */
}
table a:active{
	background-color: var(--tableHightlight);
	color:  var(--secondary);
}


table textarea:focus{
	outline: none;
}

table img{
	width:  60%;
}

/*Tasks Table*/

.task_category_row{
  background-color: rgb(210, 210, 210);
}

.task_subcategory_row{
  background-color: rgb(220, 220, 220);
}

.task_requirement_type_row{
  background-color:  rgb(230, 230, 230);
}

.task_requirement_row{
  background-color:  rgb(240, 240, 240);
}

.task_data_row{
  background-color: rgb(255, 255, 255);
}

.task_spacer_row{
  background-color:  rgb(240, 240, 240);
}

/*Responsive HTML*/
@media screen and (max-width: 600px) {

  #nav_title{
    display: none !important;
  }  

  #menu_title{
    display: block !important;
  }

  #side_menu{
    margin-top: 0px !important;
    width: 250px !important;
  }

  #category_menu {
    width: 70% !important;
  }

  body {
    overflow-x: hidden;
    }

  .edit_category_list li {
    float: none;
    line-height: 35px;
  }

  .row .col.s3 {
      width: 50%;
  }

  .row .col.s4 {
    width: 50%;
  }

  .modal_title {
    font-size: 16px;
  }
  
  .modal_subtitle {
    font-size: 14px;
  }

  .section_title {
    line-height: 17px;
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 5px;
    font-size: 17px;
    text-align: left;
  }

  .section_sub_title{
    line-height: 15px;
    margin-left: 10px;
    letter-spacing: 0.05em;
    font-weight: normal;
    font-size: 15px;
    text-align: left;
  }

  .collection .collection-item {
    line-height: 1rem !important;
    /* padding: 5px 10px !important; */
  }

  .btn, .btn-large, .btn-small {
    /* margin-right: 15px; */
    text-align: center !important;
    /* padding-left: 15px; */
    margin: 10px 10px;
    font-size: smaller;
  }

  .imgcenter {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 50% !important;
  }

  .material-icons{
    margin: 0 10px !important;
  }

  i.medium {
    font-size: 3rem;
  }

  table {width:100% !important;}
  thead {display: none !important;}
  tr:nth-of-type(2n) {background-color: inherit !important;}
  tr td:first-child {background: #f0f0f0 !important; font-weight:bold !important; font-size:1em !important;}
  tbody td {display: block !important;}
  tbody td:before { 
      content: attr(data-th) !important;
      display: block !important;
  }

  .datepicker-modal {
    max-width: 340px !important;
    min-width: 280px !important;
    max-height: none !important;
  }
}

ol {
  counter-reset: ordered_list;
  font-size: 13px !important;
}

ol li {
  counter-increment: ordered_list;
  font-weight: bold;
}

ol li::marker {
  content: counters(ordered_list, '.') '. ';
  font-weight: bold;
}

::marker {
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  text-transform: none;
  text-align: start !important;
  text-align-last: start !important;
}


.page-container {
  width: 210mm;
  min-height: 297mm;
  padding: 0mm;
  margin: 10mm auto;
  border: 1px #d3d3d3 solid;
  border-radius: 5px;
  background: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.page-inner {
  height: 297mm;
  /* padding: 0px; */
  padding: 10mm;
}

.page-inner-content {
  height: fit-content;
  /* padding: 0px; */
  padding: 10mm;
}

.cover_page{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-inner table,
.page-inner td,
.page-inner th {
  padding: 2mm;
  border-collapse: collapse;
  border: 1px solid #414142;
}

@page {
  size: A4;
  /* margin: 0; */
  margin: 0.6in 0.8in 0.7in 0.8in;
  mso-header-margin: 0.1in;
  mso-footer-margin: 0.1in;
  mso-paper-source: 0;
}

@media print {
  html,
  body {
    width: 210mm;
    height: 297mm;
  }
  .page-container {
    margin: 0;
    border: initial;
    border-radius: initial;
    width: initial;
    min-height: initial;
    box-shadow: initial;
    background: initial;
    page-break-after: avoid;
  }
}
/* , #report_content_temp */
@media print {
  header, footer, #org_tabs, #org_template_tabs, .section_title, .section_sub_title, .preview_info_head, .preview_info_body, #client_tabs, #client_report_tabs{
    display: none !important;
  }
}