
.rw-navbar-menu {
    align-content: center;
}
.rw-nav-link {
    background-color: #5e687a;
    border: 2px solid #5e687a;
    border-radius: 12px;
    color: white;
    height:32px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:130px;
    font-weight: 600;
    float: left;
    position: relative;
    display: inline-grid;
    margin: 5px;
}
.rw-nav-link:hover {
    color: black;
    text-decoration: none;
}
.rw-nav-link-alert {
    background-color: #f46a20;
    border: 2px solid #f46a20;
    border-radius: 12px;
    color: white;
    height:32px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:130px;
    font-weight: 600;
    float: left;
    position: relative;
    display: inline-grid;
    margin: 5px;
}
.rw-nav-link-alert:hover {
    color: black;
    text-decoration: none;
}
.rw-header-bar {
    background: #2d4675;
    color: white;
    padding-top: 4px;
    padding-left: 5px;
    border: 1px solid #2d4675;
    width: 100%;
    height: 45px;
    display: inline-block;
}

.rw-login-form {
    font-size: 14px;
    font-weight: 600;
}
.rw-login-btn {
    background-color: #5e687a;
    border: 2px solid #727e94;
    border-radius: 12px;
    height:32px;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
}

/* Homepage */
.rw-short-dropdown {
    height: 250px;
}

.rw-homepage-grid {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    background-color: #2d4675;
    padding: 10px;
    width: 100%;
}
.rw-grid-item {
  background-color: #d1d7de;
  border: 1px solid gray;
  padding: 10px;
  text-align: left;
}
.rw-home-filter-grid {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto auto auto;
  background-color: #2d4675;
  padding: 10px;
  width: 100%;
}
.rw-item1 {
    grid-column: 1 / span 2;
    border: 0px;
}
.rw-item2 {
    grid-column: 3 / span 2;
    text-align: right;
    border: 0px;
}
.rw-item3 {
    grid-column: 5 / span 4;
    text-align: right;
    border: 0px;
}
.rw-item4 {
    grid-column: 9 / span 1;
    border: 0px;
    text-align: center;
}
.rw-navbar {
    width: 100%;
}
.rw-navbar-logout {
    float: right;
}
.rw-info-grid-button {
    background-color: #5e687a;
    border: 2px solid #727e94;
    border-radius: 12px;
    color: white;
    height:32px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
    float: right;
    position: relative;
    display: inline-block;
    margin-left: 5px;
    margin-top: 2px;
    margin-bottom: 2px;
}
.rw-info-grid-button:hover {
    text-decoration: none;
    color: black;
}
.rw-a {
    padding-top: 3px;
}
.rw-a-button {
    padding-top: 1px;
}
.rw-council-filter {
    background-color: #5e687a;
    border: 2px solid #727e94;
    border-radius: 12px;
    height:32px;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:130px;
    display: inline-block;
    vertical-align: middle;
    horiz-align: center;
}
.rw-filter-button {
    background-color: #5e687a;
    border: 2px solid #727e94;
    border-radius: 8px;
    height:32px;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:50px;
    display: inline-block;
    vertical-align: middle;
    horiz-align: center;
}
.rw-council-filter:hover {
    color: black;
    text-decoration: none;
}
.rw-home-table {
    font-size: 15px;
    border: 1px solid #2d4675;
    width: 100%;
    border-collapse: collapse;
}
.rw-home-thead {
  border: 1px #2d4675;
  border-collapse: collapse;
  background-color: #2d4675;
  color: white;
  text-align: left;
}
.rw-home-th {
    vertical-align: middle;
}
.rw-home-tr {
    border-bottom: 1px solid lightgray;
}
.rw-home-tr:last-child {
    border-bottom: 1px solid #2d4675;
}
.rw-home-td {
    vertical-align: middle;
}
.rw-date-input {
    max-width: 100px;
}
.rw-cancelled {
    background-color: #d1d7de;
    color: #2d4675;
}
.rw-overdue {
    color: #d03434;
    font-weight: bold;
}
.rw-needs-date {
    border: 3px solid #2d4675;
}

/* RFI edit page & prop rec page */
.rw-edit-page-text {
    font-size: 14px;
    padding: 5px;
}
.rw-completed-warning {
    background: #f46a20;
    color: black;
    padding-top: 6px;
    padding-left: 5px;
    border: 1px solid #2d4675;
    width: 100%;
    height: 45px;
    display: inline-block;
    vertical-align: center;
}
.rw-spec-instruction {
    background: #a62626;
    color: white;
    padding-top: 6px;
    padding-left: 5px;
    border: 1px solid #2d4675;
    width: 100%;
    height: 45px;
    display: inline-block;
    vertical-align: center;
}
.rw-remove-warning {
    background-color: #5e687a;
    border: 2px solid #727e94;
    border-radius: 12px;
    color: white;
    height: 32px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width: 140px;
    font-weight: 600;
    float: right;
    right: 10%;
    position: absolute;
    display: inline-block;
    vertical-align: middle;
}
.rw-grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  background-color: #2d4675;
  padding: 10px;
}
.rw-grid-button-box {
    background-color: #d1d7de;
    border: 1px solid gray;
    padding: 10px;
    text-align: right;
}
.rw-edit-header-grid {
    display: inline-grid;
    grid-template-columns: [first] 160px [line2] 150px [line3] auto;
    background-color: #2d4675;
    border: 1px solid #2d4675;
    color: white;
    padding: 5px;
    width: 100%;
    height: 45px;
}
.rw-info-grid-other-button {
    background-color: #f46a20;
    border: 2px solid #727e94;
    border-radius: 12px;
    color: black;
    height:32px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
    display: inline-block;
    float: right;
    position: relative;
    margin-left: 5px;
    margin-top: 2px;
    margin-bottom: 2px;
}
.rw-info-grid-other-button:hover {
    text-decoration: none;
    color: white;
}
.rw-bad-plan {
    color: red;
    font-weight: bold;
}
.rw-cancel-button {
    background-color: #9a9b9c;
    border: 2px solid #aeafb0;
    border-radius: 12px;
    height:32px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
    float: right;
    right: 10%;
    display: inline-block;
    vertical-align: middle;
}
.rw-save-item-button {
    background-color: #f46a20;
    border: 2px solid #aeafb0;
    border-radius: 12px;
    height:32px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
    float: right;
    right: 10%;
    display: inline-block;
    vertical-align: middle;
}
.rw-edit-item-button {
    background-color: #5e687a;
    border: 2px solid #727e94;
    border-radius: 8px;
    height:28px;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:50px;
    display: inline-block;
    vertical-align: middle;
    horiz-align: center;
}
.rw-edit-item-button:hover {
    text-decoration: none;
    color: black;
}
.rw-delete-button {
    float: right;
}
.rw-add-item-button {
    background-color: #f46a20;
    border: 2px solid #aeafb0;
    border-radius: 12px;
    height:32px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
    float: right;
    right: 3%;
    position: absolute;
    display: inline-block;
    vertical-align: middle;
    color: black;
}
.rw-add-item-button:hover {
    text-decoration: none;
    color: white;
}
.rw-breg-btn-group {
    position: absolute;
    right: 3%;
}
.rw-breg-btn-group button {
    float: right;
    background-color: #f46a20;
    border: 2px solid #aeafb0;
    border-radius: 12px;
    height:32px;
    text-align: center;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
    margin-left: 5px;
}
.rw-breg-btn-group button:hover {
    text-decoration: none;
    color: white;
}
.rw-sentence-case-button {
    display: inline-block;
    float: right;
    border-radius: 4px;
}
.rw-checkbox {
    text-align: center;
    vertical-align: middle;
    horiz-align: center;
    height: 20px;
    width: 20px;
}
.rw-table {
    font-size: 14px;
    border: 1px solid grey;
    width: 100%;
    border-collapse: collapse;
}
.rw-thead {
    border: 1px solid grey;
    border-collapse: collapse;
    background-color: #d1d7de;
    text-align: left;
}
.rw-th {
    padding-left: 5px;
    padding-right: 5px;
}
.rw-th-center {
    text-align: center;
}
.rw-th-checkbox {
    width: 22px;
    text-align: center;
}
.rw-tr {
  border-bottom: 1px solid lightgray;
  border-collapse: collapse;
}
.rw-tr:last-child {
    border-bottom: 1px solid grey;
}
.rw-td {
  padding-left: 5px;
  padding-right: 5px;
}
.rw-prow-save-btn {
    background-color: #f46a20;
    border: 2px solid #aeafb0;
    border-radius: 12px;
    color: black;
    height:32px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:130px;
    font-weight: 600;
    float: left;
    position: relative;
    margin: 5px;
}
.rw-prow-save-btn:hover {
    color: white;
}
.rw-complete-button {
    background-color: #f46a20;
    border: 2px solid #aeafb0;
    border-radius: 12px;
    height:32px;
    color: black;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 3px;
    padding-bottom: 5px;
    margin-top:-5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    min-width:160px;
    font-weight: 600;
    position: absolute;
    right: 35px;
}
.rw-complete-button:hover {
    color: white;
    text-decoration: none;
}
.rw-search-cancelled {
    background-color: #5e687a;
    border: 2px solid #727e94;
    border-radius: 12px;
    height:32px;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 3px;
    padding-bottom: 5px;
    margin-top:-5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
    position: absolute;
    right: 250px;
}


/* Completion item toggle switch */
.rw-switch {
  position: relative;
  display: inline-block;
    width: 115px;
    height: 30px;
    vertical-align: middle;
}
.rw-switch input {display:none;}
.slider {
  position: absolute;
  cursor: pointer;
  overflow: hidden;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f2f2f2;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  z-index: 2;
  content: "";
  height: 27px;
  width: 27px;
  left: 2px;
  bottom: 2px;
  background-color: #9a9b9c;
      -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
  -webkit-transition: .4s;
  transition: all 0.4s ease-in-out;
}
.slider:after {
  position: absolute;
  left: 0;
  z-index: 1;
  content: "Complete";
    font-size: 14px;
    font-weight: 600;
    text-align: left !important;
    line-height: 30px;
  padding-left: 1px;
    width: 130px;
    color: black;
    height: 30px;
    border-radius: 30px;
    background-color: #fff;
    -webkit-transform: translateX(-110px);
    -ms-transform: translateX(-110px);
    transform: translateX(-110px);
    transition: all 0.4s ease-in-out;
}
input:checked + .slider:after {
  -webkit-transform: translateX(0px);
  -ms-transform: translateX(0px);
  transform: translateX(0px);
    padding-left: 5px;
}
/*slider button in progress*/
input:checked + .slider:before {
    background-color: #f46a20;
}
input:checked + .slider:before {
  -webkit-transform: translateX(84px);
  -ms-transform: translateX(84px);
  transform: translateX(84px);
}
/* Rounded sliders */
.slider.round {border-radius: 30px;}
.slider.round:before {border-radius: 50%;}
.inprogress {
	position: absolute;
	left: 0;
	color: black;
	text-align: right !important;
    font-size: 14px;
    font-weight: 600;
    width: calc(100% - 10px);
    height: 30px;
    line-height: 30px;
    cursor: pointer;
}

/* Completion screen */
.rw-error-container {
  background: #d1d7de;
  text-align: center;
}
.rw-final-go-back-button {
    background-color: #5e687a;
    border: 2px solid #727e94;
    border-radius: 12px;
    height:32px;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 3px;
    padding-bottom: 5px;
    margin-top:-5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
}
.rw-final-go-back-button:hover {
    color: black;
    text-decoration: none;
}
.rw-final-complete-button {
    background-color: #f46a20;
    border: 2px solid #aeafb0;
    border-radius: 12px;
    height:32px;
    color: black;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 3px;
    padding-bottom: 5px;
    margin-top:-5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
}
.rw-final-complete-button:hover {
    color: white;
    text-decoration: none;
}

/* Reallocation page */
.rw-filter-bar {
    background: #d1d7de;
    color: black;
    padding-top: 5px;
    padding-left: 5px;
    border: 1px solid #d1d7de;
    width: 100%;
    height: 45px;
    display: inline-block;
    vertical-align: middle;
    horiz-align: center;
}
.rw-select-council{
    height: 300px;
}
.rw-realloc-search-btn{
    color: white;
}
.rw-realloc-filter {
    background-color: #5e687a;
    border: 2px solid #727e94;
    border-radius: 12px;
    height:32px;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:130px;
    display: inline-block;
    vertical-align: middle;
    horiz-align: center;
    overflow: visible;
}
.rw-realloc {
     background-color: #5e687a;
}
.rw-realloc-grid {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  background-color: #2d4675;
  padding: 10px;
  width: 100%;
}
.rw-realloc-item1 {
    grid-column: 1 / span 4;
    border: 0px;
    color: white;
}
.rw-realloc-item2 {
    grid-column: 5 / span 2;
    text-align: right;
    border: 0px;
}
.rw-select-number {
    max-width: 60px;
}
.rw-form-errors {
    color: red;
}

/* Appointment change page */
.rw-select-reason {
    width: 300px;
    color: black;
}

/* Managers pages */
.rw-man-header {
    width: 100%;
    display: inline-grid;
    grid-template-columns: [first] auto [line2] 150px;
}
.rw-man-dropbtn {
    background-color: #f46a20;
    color: black;
    border: 2px solid #727e94;
    border-radius: 12px;
    height:32px;
    text-align: center;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
    vertical-align: middle;
}
.rw-man-dropdown {
    position: relative;
    display: inline-block;
}
.rw-man-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f46a20;
    min-width: 140px;
    border: 2px solid #727e94;
    border-radius: 12px;
}
.rw-man-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.rw-man-dropdown-content a:hover {
    color: white;
}
.rw-man-dropdown:hover .rw-man-dropdown-content {
    display: block;
    z-index: 1
}
.rw-man-dropdown:hover .rw-man-dropbtn {
    background-color: #5e687a;
    color: white
}
.rw-man-header-grid {
    display: inline-grid;
    grid-template-columns: [first] auto [line2] 800px;
    background-color: #2d4675;
    border: 1px solid #2d4675;
    color: white;
    padding: 5px;
    width: 100%;
    height: 45px;
}

/*Roadie details page*/
.rw-details-table {
    font-size: 14px;
    border: 1px solid grey;
    border-collapse: collapse;
}

/* Roadie work doc */

.rw-workdoc-body {
    width: 250mm;
    font-size: 20px;
}
.rw-workdoc-line {
    padding: 10px;
    border: 1px solid grey;
    text-align: left;
}
.rw-workdoc-grid {
  display: grid;
  grid-template-columns: auto auto auto;
}
.rw-workdoc-item {
  border: 1px solid gray;
  padding: 10px;
  text-align: left;
}

/* Roadie float pages */
.rw-add-float-button {
    background-color: #9a9b9c;
    border: 2px solid #aeafb0;
    border-radius: 12px;
    height:32px;
    text-align: center;
    text-decoration: none;
    color: black;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
}
.rw-submit-float-btn {
    background-color: #f46a20;
    border: 2px solid #aeafb0;
    border-radius: 12px;
    height:32px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
    float: right;
    right: 3%;
    position: absolute;
    display: inline-block;
    vertical-align: middle;
    color: black;
}
.rw-submit-float-btn:hover {
    text-decoration: none;
    color: white;
}
.rw-delete-float-btn {
    float: right;
    background-color: #5e687a;
    border: 2px solid #727e94;
    color: white;
    border-radius: 12px;
    height:32px;
    text-align: center;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
    margin-left: 5px;
    right: 3%;
}
.rw-delete-float-btn:hover {
    text-decoration: none;
    color: black;
}
.rw-float-rfis-btn {
    background-color: #5e687a;
    border: 2px solid #727e94;
    border-radius: 12px;
    height:32px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:140px;
    font-weight: 600;
    float: right;
    right: 3%;
    position: absolute;
    display: inline-block;
    vertical-align: middle;
    color: white;
}
.rw-float-rfis-btn:hover {
    text-decoration: none;
    color: black;
}
.rw-float-input {
    max-width: 70px;
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance: textfield;
}
.rw-appr-rej-btn {
    background-color: #5e687a;
    border: 2px solid #727e94;
    color: white;
    border-radius: 12px;
    height:32px;
    text-align: center;
    font-size: 14px;
    min-width:100px;
    font-weight: 600;
    margin-top: 2px;
}
.rw-appr-rej-btn:hover {
    text-decoration: none;
    color: black;
}
.rw-auto-width {
    width: auto;
}
.rw-float-returned {
    background-color: #f8d7da;
}
.rw-float-approved {
    background-color: #d4edda;
}
.rw-header-float-right {
    float: right;
}
.rw-float-header-grid {
    display: inline-grid;
    grid-template-columns: [first] 160px [line2] auto;
    background-color: #2d4675;
    border: 1px solid #2d4675;
    color: white;
    padding: 5px;
    width: 100%;
}
.rw-float-actions {
    max-width: 120px;
}
.rw-link {
    text-decoration: none;
    color: black;
}
.rw-link:hover {
    text-decoration: none;
    color: black;
}
.rw-choose-days-grey-button {
    background-color: #5e687a;
    border: 2px solid #727e94;
    border-radius: 10px;
    height:30px;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:70px;
    display: inline-block;
    vertical-align: middle;
    horiz-align: center;
}
.rw-choose-days-grey-button:hover {
    text-decoration: none;
    color: black;
}
.rw-choose-days-orange-button {
    background-color: #f46a20;
    border: 2px solid #727e94;
    border-radius: 10px;
    height: 30px;
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    min-width:70px;
    display: inline-block;
    vertical-align: middle;
    horiz-align: center;
}
.rw-choose-days-orange-button:hover {
    text-decoration: none;
    color: white;
}

/* Table sorting */
table.homepage-council th:nth-child(3) {
    width: 118px;
}
table.homepage-council th:nth-child(5) {
    width: 85px;
}
table.homepage-council th:nth-child(7) {
    width: 110px;
}
table.homepage-council th:nth-child(8) {
    width: 62px;
}
table.realloc-council th:nth-child(3) {
    width: 105px;
}
table.realloc-council th:nth-child(5) {
    width: 79px;
}
table.realloc-council th:nth-child(8) {
    width: 76px;
}
table.sortable th {
    position: relative;
    font-size: 100%;
    font-weight: bold;
    border: none;
    text-align: left;
    outline: none;
    padding-right: 15px;
}
table.sortable button {
    height: min-content;
    font-weight: bold;
    background: transparent;
    border: none;
    display: inline;
    text-align: left;
    outline: none;
    cursor: pointer;
    width: 100%;
    padding-right: 10px;
}
table.homepage-council button {
    color: white;
}
table.homepage-water button {
    color: white;
}
table.realloc-council button {
    color: white;
}
table.realloc-water button {
    color: white;
}
table.sortable th[aria-sort="descending"] span::after {
    content: "▲";
    color: currentColor;
    font-size: 100%;
    position: absolute;
}
table.sortable th[aria-sort="ascending"] span::after {
    content: "▼";
    color: currentColor;
    font-size: 100%;
    position: absolute;
}
table.show-unsorted-icon th:not([aria-sort]) button span::after {
    content: "♢";
    color: currentColor;
    font-size: 100%;
    position: absolute;
}