/* Collapse content rows */
.js-enabled tr.js-hidden {
  display: none;
}

/* Header cell styling */
.js-enabled tr[data-collapsible] td {
  background-color: #B11519;
  color: white;
  border-radius: 18px;
  border-top: 3px solid white;
  padding: 10px 40px 10px 15px !important;
  position: relative;
  font-weight: bold;
  user-select: none;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
  display: table-cell !important;
transition: transform 0.2s ease;
}

.js-enabled tr[data-collapsible][data-expanded="true"] td {
border-radius: 18px 18px 0px 0px;
}

/* Chevron icon styling */
.js-enabled tr[data-collapsible] td .chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  fill: white;
  pointer-events: none;
  transform-origin: center;
  transition: transform 0.2s ease;
  transform: translateY(-50%) rotate(0deg); /* collapsed */
}

/* Chevron down when expanded */
.js-enabled tr[data-collapsible][data-expanded="true"] td .chevron {
  transform: translateY(-50%) rotate(180deg);
}

.header-label {padding-left: 15px; padding-top: 4px;}


input[type="radio"] + label {
            display: inline-block;
            background-color: #f5f5f5;
            border: 1px solid #000;
            border-radius: 50px;
            padding: 8px 12px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-right: 20px;
            margin-bottom: 5px;
            margin-left: -25px;
            padding-left: 30px;
}


input[type="radio"] + label:hover {
            background-color: #e8e8e8;
        }
        
        input[type="radio"]:checked + label {
            background-color: #D42B1E;
            color: white;
        }
        
        input[type="radio"] {
            margin-right: -2px;
            padding-left: 8px;
            position: relative;
            z-index: 1;
        }
        
        input[type='radio'] {
            accent-color: #000000;
}



.riTextBox {
    
    display: inline-block !important;
            background-color: #f5f5f5 !important;
            border: 1px solid #000 !important;
            border-radius: 50px !important;
            padding: 8px 12px !important;
            margin-top: 0px !important;
            margin-left: 10px !important;
            width: 100% !important;
            height: 100% !important;
		min-height: 43px;
}

td nobr:first-child {margin-left: 25px;}

tr[style*="display: none"] {
    transition: all 0.3s ease-in-out;
}

/* If JavaScript is disabled, ensure all table rows are visible */
noscript + table tr {
    display: table-row !important;
}

.questionPanel td, .questionPanelCompleted td {
    display: table-row;
    width: 100% !important;
    margin-left: 20px;
    word-break: break-all;
    word-wrap: break-word;
    column-span: all;
    }

.questionPanel tr {background-color: #FFFFFF !important;}

input[type="submit"], #ctl00_buttons_yes {
  background-color: #B11519;
  color: white;
  border-radius: 18px;
  border: 0px solid white;
  padding: 10px 30px !important;
  position: relative;
  font-weight: bold;
  user-select: none;
  cursor: pointer;
  box-sizing: border-box;
  min-height: 60px;
  text-align: center;
  display: inline-block;
}

#ctl00_buttons_yes {width: fit-content !important;}

.questionPanel {table-layout:fixed;}

.InventoryTitle {font-size: 16pt !important; text-decoration: underline; word-break: normal !important;
    word-wrap: normal !important;}

.buttonRight {margin-right: 10px; float: right;}
.buttonRightMain {margin-right: 10px; float: right;}

input[type="submit"]:hover, #ctl00_buttons_yes:hover {box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1);}

#ctl00_buttons_cancel {background-color: #616161;}

img.infoicon {width: 25px; height: 25px; margin-bottom: -4px;}

tr td a img {width: 25px; height: 25px; margin-bottom: -4px;}

.main-button, .fault-button {
    background-color: #B11519;
  color: white;
  border-radius: 18px;
  border: 0px solid white;
  padding: 18px 30px 5px 30px !important;
  position: relative;
  font-weight: bold;
  user-select: none;
  cursor: pointer;
  box-sizing: border-box;
  min-height: 60px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  margin-top: 15px;
}

.main-button {float: left;}

.fault-button {
float: right;
}

.main-button:hover, .fault-button:hover {box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.1);}

img[src*="/images/error.gif"] {
  width: 25px;
  height: 25px;
  margin-bottom: -4px;
}

.errorMessage {font-weight: bold;
  color: #FFFFFF;
  font-size: 18px;
  text=decoration: underline;
  background-color: #B11519;
  padding: 5px;
  margin-top: 25px;
  display: block;
  width: 100%;
  box-shadow: 0px 10px 8px #555656;}
  
  .questionPanel th {
  display: table-row;
    width: 100% !important;
    margin-left: 20px;
    word-break: break-all;
    word-wrap: break-word;
  }

@media (max-width: 500px) {

input[type="radio"] {margin-left: 20px;}
input[type="radio"]:first-child {margin-left: 20px;}
input[type="radio"] + label {width: 85vw;}
td nobr span {margin-left: 0px !important;}
td nobr:first-child {margin-left: 0px !important;}
.riTextBox {width: 85vw !important; margin-left: 5px !important;}
input[type="submit"] {margin-bottom: 25px;}
.main-button, .fault-button {width: 100%;}
.questionPanel {width: 95% !important;}
}