.gform_wrapper li.gfield.gfield_error {
     overflow-x:auto;
}
.ginput_matrix_table {
     width: 100%;
}
.ginput_matrix_table td {
     border: 1px #ddd solid;
     margin: 0;
     padding: 10px;
}
 .ginput_matrix_table th {
     margin: 0;
     padding: 10px;
     background-color: #eeeeee;
     border: 1px #ddd solid;
     font-weight: normal;
}
.ginput_matrix_table .th_section_head {
     background-color: transparent;
     font-weight: bold;
     border: none;
}
 .ginput_matrix_table .th_first {
     margin: 0;
     padding: 10px;
     background-color: transparent;
     border: none;
}
 .ginput_matrix_table {
     border-collapse: collapse;
}
 .ginput_matrix_table .hover {
     background-color: #F5FF5D;
}
 .ginput_matrix_table tbody th {
     min-width: 150px;
}
 .ginput_matrix_table td {
     padding: 10px;
}
 .ginput_matrix_table td > input {
     border: none;
     border: none;
}



/* custom table styles */

.tmcolorize table tbody{
	border-radius:16px;overflow:hidden;
	background:#bbed71;
	background:-webkit-linear-gradient(-68deg,#f17086,#bbed71);
	background:-o-linear-gradient(-68deg,#f17086,#bbed71);
	background:-moz-linear-gradient(-68deg,#f17086,#bbed71);
	background:linear-gradient(-68deg,#f17086,#bbed71)
}

.tmcolorize table {background-color:transparent}
.tmcolorize table tr th{background-color:#eee;}
.tmcolorize table td{font-size:14px;line-height:1.4}
.tmcolorize table th{font-size:12px;line-height:1.4;text-transform:uppercase;background-color:rgba(255,255,255,.32)}

.tmcolorize table tr td:hover{
	background-color:rgba(255,255,255,.2);
}

.tmcolorize table tr td:hover:has(input[type=checkbox]:disabled), .tmcolorize table tr td:hover:has(input[type=radio]:disabled) {
	background-color:transparent;
}

.tmcolorize table input[type=checkbox] {
-webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: #333;
  width: 1.8em;
  height: 1.8em !important;
  border: 0.1em solid #eee;
  border-radius: 0.05em;
  transform: translateY(-0.075em);
  display: inline-grid;
  margin-right: 10px;
  /* margin-bottom: 2px; */
  place-content: center;
}

.tmcolorize table input[type=checkbox]::before {
  content: "";
  width: 1em;
  height: 1em;
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #6dbead;
  background-color: #fff;
}

.tmcolorize table input[type=checkbox]:checked::before {
  transform: scale(1);
}

.tmcolorize table input[type=radio] {
-webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: #333;
  width: 1.8em;
  height: 1.8em;
  border: 0.1em solid #eee;
  border-radius: 50%;
  transform: translateY(-0.075em);
  display: inline-grid;
  margin-right: 10px;
  place-content: center;
}

.tmcolorize table input[type=radio]::before {
  content: "";
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #6dbead;
  background-color: #fff;
}

.tmcolorize table input[type=radio]:checked::before {
  transform: scale(1);
}

.tmcolorize table input[type=checkbox]:disabled, .tmcolorize table input[type=radio]:disabled {
  background-color: #d4d4d4;
  cursor: not-allowed;
}

.tmcolorize table input[type=checkbox]:disabled + label, .tmcolorize table input[type=radio]:disabled + label {
  color: #787878;
}



/* custom table colorizing for re-med */

.tmrm table tr:nth-child(1) > td:nth-child(2)
    {
        background-color: rgba(0, 255, 0, 1);   /* green */
    }
.tmrm table tr:nth-child(2) > td:nth-child(2)
    {
        background-color: rgba(0, 255, 0, 1);   /* green */
    }
.tmrm table tr:nth-child(3) > td:nth-child(2)
    {
        background-color: rgba(0, 255, 0, 1);   /* green */
    }
.tmrm table tr:nth-child(4) > td:nth-child(2)
    {
        background-color: rgba(0, 255, 0, 1);   /* green */
    }
.tmrm table tr:nth-child(5) > td:nth-child(2)
    {
        background-color: rgba(0, 255, 0, 1);   /* green */
    }

.tmrm table tr:nth-child(1) > td:nth-child(3)
    {
        background-color: rgba(255, 140, 0, 1); /* orange */
    }
.tmrm table tr:nth-child(2) > td:nth-child(3)
    {
        background-color: rgba(255, 255, 0, 1); /* yellow */
    }
.tmrm table tr:nth-child(3) > td:nth-child(3)
    {
        background-color: rgba(255, 255, 0, 1); /* yellow */
    }
.tmrm table tr:nth-child(4) > td:nth-child(3)
    {
        background-color: rgba(0, 255, 0, 1);   /* green */
    }
.tmrm table tr:nth-child(5) > td:nth-child(3)
    {
        background-color: rgba(0, 255, 0, 1);   /* green */
    }

.tmrm table tr:nth-child(1) > td:nth-child(4)
    {
        background-color: rgba(255, 0, 0, 1);   /* red */
    }
.tmrm table tr:nth-child(2) > td:nth-child(4)
    {
        background-color: rgba(255, 140, 0, 1); /* orange */
    }
.tmrm table tr:nth-child(3) > td:nth-child(4)
    {
        background-color: rgba(255, 255, 0, 1); /* yellow */
    }
.tmrm table tr:nth-child(4) > td:nth-child(4)
    {
        background-color: rgba(255, 255, 0, 1); /* yellow */
    }
.tmrm table tr:nth-child(5) > td:nth-child(4)
    {
        background-color: rgba(0, 255, 0, 1);   /* green */
    }

.tmrm table tr:nth-child(1) > td:nth-child(5)
    {
        background-color: rgba(255, 0, 0, 1);   /* red */
    }
.tmrm table tr:nth-child(2) > td:nth-child(5)
    {
        background-color: rgba(255, 0, 0, 1);   /* red */
    }
.tmrm table tr:nth-child(3) > td:nth-child(5)
    {
        background-color: rgba(255, 140, 0, 1); /* orange */
    }
.tmrm table tr:nth-child(4) > td:nth-child(5)
    {
        background-color: rgba(255, 255, 0, 1); /* yellow */
    }
.tmrm table tr:nth-child(5) > td:nth-child(5)
    {
        background-color: rgba(255, 255, 0, 1); /* yellow */
    }
	
.tmrm table tr:nth-child(1) > td:nth-child(6)
    {
        background-color: rgba(255, 0, 0, 1);   /* red */
    }
.tmrm table tr:nth-child(2) > td:nth-child(6)
    {
        background-color: rgba(255, 0, 0, 1);   /* red */
    }
.tmrm table tr:nth-child(3) > td:nth-child(6)
    {
        background-color: rgba(255, 0, 0, 1);   /* red */
    }
.tmrm table tr:nth-child(4) > td:nth-child(6)
    {
        background-color: rgba(255, 140, 0, 1); /* orange */
    }
.tmrm table tr:nth-child(5) > td:nth-child(6)
    {
        background-color: rgba(255, 255, 0, 1); /* yellow */
    }