.xrg-wrapper {
    width: 96%;
    margin: 0 auto;
}
.xrg-table-container {
    margin-top: 20px;
}
.xrg-table-container table {
    width: 100%;
    border-collapse:separate;
    border-spacing: 0px;
    font-size: 12px;
    border: none;
    text-align: center;
}
.xrg-table-container th, .xrg-table-container td {
    border: 1px solid #000;
    padding: 5px;
    text-align: center;
}
.xrg-table-container .empty-row {
    height: 40px;
}
.xrg-table-container .empty-row td {
    border: none !important;
}
.xrg-table-container .weekly-heading th {
    font-weight: bold;
    font-size: 14px;
}
.xrg-table-container .header-bg, .xrg-table-container .total-bg{
    background: #d9d9d9;
    font-weight: bold;
}
.xrg-table-container .weekly-budget {
    background: #d9d9d9;
}
.xrg-table-container .weekly-content td {
    border: 1px dotted #000;
}
.xrg-table-container .weekly-content td:first-child {
    border-left: 1px solid #000;
}
.xrg-table-container .weekly-content td:last-child {
    border-right: 1px solid #000;
}
.xrg-table-container .color-red {
    color: #c00000;
}

table.main-table-wrapper td.table-containers {
    padding: 0;
    border: none;
}

table.main-table-wrapper .table-divider {
    background-color: #ddd;
    width: 3%;
}
table.main-table-wrapper .kpi-table, table.main-table-wrapper .labor-table {
    width: 40%;
    vertical-align: top;
}

.control-sheet-grand-total {
    margin-top: 30px;
}
.control-sheet-grand-total .gt-first-heading {
    text-align: center;
    font-size: 18px;
    background-color: #ddebf7;
    border: 2px solid #000;
}
.control-sheet-grand-total .gt-second-heading {
    text-align: center;
    font-size: 18px;
    color: #c00000;
    border: 2px solid #000;
}

.border-none { 
    border: none !important;
}
.align-right {
    text-align: right;
}
#add_new_record {
    padding: 15px 25px;
    margin: 10px 0;
    background: #12627B;
    display: inline-block;
    cursor: pointer;
    color: #fff !important;
    line-height: 1.7;
    border: none;
}
#add_new_record:hover {
    background: #B9500B;
}
input.btn, .btn-transfer, .span-btn {
    padding: 10px 30px;
    margin: 10px 0px;
    background: #B9500B;
    display: inline-block;
    cursor: pointer;
    width: auto;
    color: #fff;
    border: none;
    line-height: 1.8;
}
.btn-transfer {
    background: #fff;
    color: #12627B;
    border: 1px solid #12627B;
    font-size: 12px;
    padding: 5px;
    margin: 0;
}
input.btn:hover, .btn-transfer:hover, .span-btn:hover {
    background: #12627B;
    color: #fff;
}

#host_reconcile {
    padding: 14px;
    margin: 10px 0;
    cursor: pointer;
}

.notification {
    font-style: italic;
    color: #c00000;
    font-size: 15px;
}
.reconcile-btn {
    text-decoration: none;
    border: 2px solid #12627B;
    padding: 15px 25px;
}
.reconcile-btn:hover {
    background: #12627B;
    color: #fff;
}
.flex-button-body {
    display: flex;
    align-items: center;
}
.flex-button-body .flex-col-form {
    flex-grow: 1;
}
.has-padding {
    padding: 0 15px;
}
.overlay {
    position: fixed;
    top: 100px;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 999;
  }
  .overlay:target {
    visibility: visible;
    opacity: 1;
  }
  
  .popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;
  }
  
  .popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
  }
  .popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
  }
  .popup .close:hover {
    color: #12627B;
  }
  .popup .content {
    max-height: 30%;
    overflow: auto;
  }
  
  input.blue-bg-btn {
      background: #12627B;
  }
  input.blue-bg-btn:hover {
      background: #B9500B;
  }

  @media screen and (max-width: 700px){
    .box{
      width: 70%;
    }
    .popup{
      width: 70%;
    }
  }

#old_sheet_ids {
    margin-bottom: 20px;
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

.mw-70 {
    max-width: 150px;
}
.mw-100 {
    max-width: 180px;
}

@media screen and (max-width:1080px) {
    .mw-70 {
        max-width: 70px;
    }
    .mw-100 {
        max-width: 100px;
    }
}
.xrg-wrapper {
    width: 95%;
    margin: 0 auto;
}

.xrg-kpi-data .flex-head .flex-col-form-head, .xrg-kpi-data .flex-body .flex-col-form {
    font-size: 12px;
}

/*  TABS  */
.btn-container {
    text-align: right;
    margin-top: 20px;
    margin-bottom: 20px;
}
.tabs-btn-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
}
.periods-tab {
    background-color: #12627B;
    color: #fff !important;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 16px;
    flex: auto 0 1;
    margin-right: 5px;
}

/* Change background color of buttons on hover */
.periods-tab:hover {
    background-color: #ddd;
    color: #12627B !important;
}
  
/* Set default styles for tab content */
.period-tab-content {
    color: #fff;
    display: none;
    padding: 20px;
    text-align: center;
    border: 2px solid #000;
}

.flex-container-form .period-tab-content {
    color: #000;
    text-align: left;
    background-color: #fff;
}
.active-tab {
    background-color: #fff;
    color: #12627B !important;
    position: relative;
    border: 2px solid #000;
    border-top: none;
    top: -2px;
}

/* STAFFING PARS  */
.location-staffing-container {
    padding: 5px;
    border: 2px solid #12627B;
    margin-bottom: 30px;
}
.location-staffing-container input.location-name {
    border: none !important;
    font-size: 18px;
    font-weight: bold;
}
.location-staffing-container .staffing-type-row {
    margin-left: 40px;
    margin-bottom: 7px;
}
.flex-container-form .flex-body-left {
    display: flex;
    flex-grow: 1 !important;
    flex-basis: 56px !important;
    align-items: center;
    border: 1px solid #12627B;
}
.flex-container-form .flex-body-left .flex-col-form {
    border: none !important;
}
.flex-container-form .flex-body-right {
    flex-grow: 11 !important;
}
.flex-container-form .flex-body-right .flex-body-right-content {
    display: flex;
}
.flex-container-form .flex-body-left .staffing-par-head {
    font-weight: bold;
    font-size: 16px
}
.flex-body-right input {
    line-height: 12px;
    padding: 0;
}
.flex-container-form .flex-body-right > *, .flex-container-form .flex-body-right-content > * {
    flex: 1 1 40px;
}
.flex-body-right-content .par-type-total-label {
    font-weight: bold;
}

.xrg-table-container .pars-total-table {
    width: 32%;
    vertical-align: top;
}
.xrg-table-container .pars-total-table table, .xrg-table-container .staffing-table table {
    border-collapse: collapse !important;
}
.xrg-table-container .pars-total-table table tr.weekly-heading th {
    height: 36px;
}
.xrg-table-container .pars-total-table table tr td {
    border: 1px dotted #000 !important;
}
.xrg-table-container .pars-total-table tr th {
    background-color: #ffff00;
}
.xrg-table-container .pars-total-table tr th:first-child {
    background-color: #fff;
}
.xrg-table-container .pars-total-table tr td {
    background-color: #ffc107;
}
.xrg-table-container .pars-total-table tr td.empty-row {
    background-color: #fff;
}
.xrg-table-container td.bg-color-yellow {
    background-color: #ffff00 !important;
}

.xrg-table-container .staffing-table tr td.staff-type-bg {
    background-color: #8ef2ff;
}

.xrg-table-container .staffing-table {
    width: 60%;
    vertical-align: top;
}
/*  File Upload Section  */
.xrg-file-data {
    width: 50%;
    margin: 0 auto;
}
.xrg-file-data .flex-col-form {
    padding: 30px;
}
span.full-width.input-description {
    width: 100%;
    font-size: 12px;
    color: #333;
}

/*  XRG REGIONS LIST PAGE  */
.xrg-action-link {
    width: 32px;
}
.xrg-action-link svg path {
    fill: #12627B !important;
}
.xrg-action-link:hover > svg path {
    fill: #B9500B !important;
}

/* Loader Section  */
.xrg-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    top: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 111;
    display: none;
}
.xrg-overlay .loader_container {
    display: flex;
    color: #12627B;
    width: 100%;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.xrg-overlay .loader_container span {
    background: #fff;
    padding: 0px 10px;
}
.xrg-overlay .loader_container svg {
    background: rgb(254, 254, 254, 0.5) !important;
    display: inline-block !important;
}

/* Regional Mail Form CSS */
.regional-wrapper {
    padding:0px;
}
.regionnal-mail-form {
    border: 1px solid;
    padding:20px;
}
.regionnal-mail-form .row{
    display: flex;
}
.regionnal-mail-form .column {
    flex:50%;
    padding: 0 10px;
}
#regionmail-location {
    margin-top:0px;
}
.f-border-regionalform {
 border:1px solid #000;   
}

.regionnal-mail-form .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
.regionnal-mail-form .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
.regionnal-mail-form .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
.regionnal-mail-form .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .regionnal-mail-form input:checked + .slider {
    background-color: #2196F3;
  }
  
  .regionnal-mail-form input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  .regionnal-mail-form input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .regionnal-mail-form .slider.round {
    border-radius: 34px;
  }
  
.regionnal-mail-form .slider.round:before {
    border-radius: 50%;
  }
.header-portal {
    text-align:center;
}
.remove-margin {
    margin-top: 0px;
}
.rg-submitform {
    cursor: pointer;
    cursor: pointer;
    background: #12627B;
    color: #fff;
}

.regionnal-mail-form.fade-active input {
    padding-left: 10px;
}
.regionnal-mail-form .row img {
    padding: 20px;
}