/* Base */

html {
    box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

a {
    color: #4D148C;
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    color: #4D148C;
    text-decoration: underline;
}

span.link {
    color: #4D148C;
    text-decoration: none;
    cursor: pointer;
}

span.link:hover,
span.link:active,
span.link:focus {
    color: #4D148C;
    text-decoration: underline;
}

img.link {
    cursor: pointer;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #DBDBDB;
    opacity: 1; /* Firefox */
}

/* Helpers */

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.bg-gray {
    background-color: #FAFAFA;
}

.bg-white {
    background-color: #FFFFFF;
}

.bg-purple {
    background-color: #4D148C;
}

.page-body {
    position: relative;
    min-height: 600px;
}

.nowrap {
    white-space: nowrap;
}

p.help-inline > img:hover {
    cursor: pointer;
}

/* Typography */

body {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    color: #4A4A4A;
}

p {
    font-family: RobotoLight, Helvetica, Arial, sans-serif;
    font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    margin: 0;
    font-weight: inherit;
}

h1 {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    color: #FFFFFF;
    font-size: 2rem;
}

h2 {
    font-family: RobotoLight, Helvetica, Arial, sans-serif;
    color: #4A4A4A;
    font-size: 1.5rem;
}

h2.normal {
    font-family: Roboto, Helvetica, Arial, sans-serif;
}

h3 {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    color: #4A4A4A;
    font-size: 1.3rem;
}

h4 {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    color: #4A4A4A;
    font-size: 1.2rem;
}

h4.light {
    font-family: RobotoLight, Helvetica, Arial, sans-serif;
}

h5 {
    color: #FFFFFF;
    font-size: 1rem;
}

h6 {
    color: #FFFFFF;
    font-size: 1.2rem;
}

h6 span {
    color: #FF6600;
}

.font-light {
    font-family: RobotoLight, Helvetica, Arial, sans-serif;
}

.font-normal {
    font-family: Roboto, Helvetica, Arial, sans-serif;
}

.font-bold {
    font-family: Roboto, Helvetica, Arial, sans-serif;
}

.underline {
    text-decoration: underline;
}

.font-color-primary {
    color: #4D148C;
}

.font-color-1 {
    color: #4A4A4A;
}

.font-color-2 {
    color: #4A4A4A;
}

.red {
    color: red;
}

/* Button */

.btn {
    border: 0;
    border-radius: 0;
    text-transform: uppercase;
    padding: 1rem;
}

.btn-custom {
    background-color: #FF6600;
    color: #FFFFFF;
    border: 1px solid #FF6600;
}

.btn-custom:hover {
    color: #FFFFFF;
    background: #cc5200;
}

.btn-custom:focus,
.btn-custom:hover,
.btn-custom:active,
.btn-custom:active:focus {
    outline: 0;
}

.btn.small {
    padding: .5rem;
}

.btn-alternate {
    background-color: #FFFFFF;
    color: #4D148C;
    border: 1px solid #4D148C;
}

.btn-alternate:hover {
    color: #4d148c;
    background: #e6e5e5;
}

.btn-action {
    border: 2px solid #007AB7;
    border-radius: 39px;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #007AB7;
    text-align: center;
    text-transform: uppercase;
    padding: 0.5rem 2rem;
    background-color: transparent;
}

.btn-text {
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font-family: inherit;
	cursor: pointer;
	outline: inherit;
}

.btn-text.accent-1 {
    color: #FF6600;
}

.btn-text.small {
    font-size: .75rem;
}

.btn.add-hover:hover {
    text-decoration: underline;
}

a.btn-action:hover,
a.btn-action:focus,
a.btn-action:active {
    color: #007AB7;
}

.btn.accent-2 {
    color: #007AB7;
}

/* Form */

.help-block {
    font-size: .75rem;
}

.errorValidation {
    color: red;
    margin-top: 2px;
    font-size: .75rem;
    line-height: normal;
    margin-bottom: 0;
}

.input-error p {
    font-size: .75rem;
    line-height: normal;
    margin-bottom: 0;
}

.custom-control-label::after {
    background: #C6C5C5;
}

.custom-control input[type=checkbox]:checked ~ label::after {
    background: #FF6600;
}

.input-inline {
    border-radius: 0;
    border: none;
    text-align: center;
}

.input-inline:focus,
.input-inline:active {
    box-shadow: none;
    border-bottom: 1px solid #4D148C;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number]::-ms-clear,
input[type=text]::-ms-clear {
    display: none;
}

/* Modal */

    .modal .modal-title {
        color: #FFFFFF;
    }
    .modal .modal-header {
        background: #4D148C;
        -webkit-border-top-left-radius: 0;
        -webkit-border-top-right-radius: 0;
        -moz-border-radius-topleft: 0;
        -moz-border-radius-topright: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom: none;
    }

    .modal .modal-header .close {
        color: #FFFFFF;
        opacity: 0.8;
    }

    .modal .modal-header .close:hover {
        color: #FFFFFF;
    }
    
    .modal .modal-content {
        font-size: 0.85rem;
        -webkit-border-bottom-left-radius: 0;
        -webkit-border-bottom-right-radius: 0;
        -moz-border-radius-bottomleft: 0;
        -moz-border-radius-bottomright: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .modal .modal-content p {
        font-size: 0.85rem;
    }

    .modal .modal-footer .checkbox {
        text-align: left;
    }

    .modal .modal-footer .checkbox label {
        font-size: .75rem;
    }

    .modal .modal-footer .terms-button {
        margin-top: 6px;
    }

.modal-backdrop.in {
    opacity: 0.9;
}

.modal-padded .modal-header .modal-title {
    padding: 0 20px;
}

.modal-padded .modal-body .row {
    padding: 0 20px;
}

.modal-footer.no-border-top {
    border-top: 0;
}

.modal-scroll .modal-body {
    max-height: 500px;
    overflow: auto;
}

/* Table */
.table {
    color: #212529;
}

.table-custom {
    width: 100%;
    max-width: 100%;
}

.table-custom tbody>tr>td,
.table-custom thead>tr>th,
.table-custom tfoot>tr>td {
      padding: 12px;
      text-align: center;
      border: 1px solid #C6C5C5;
      vertical-align: middle;
}
  
.table-custom.padded tbody>tr>td,
.table-custom.padded tfoot>tr>td {
        padding: 16px;
}
  
.table-custom thead>tr th {
        font-size: 1.1rem;
        text-align: center;
        color: #FFFFFF;
        border-width: 1px;
        font-weight: normal;
        vertical-align: bottom;
}

.table-custom thead>tr th.employee {
      background-color: #4D148C;
      border-color: #4D148C;
}

.table-custom thead>tr th.employer {
      background-color: #FF6600;
      border-color: #FF6600;
}

.table-custom thead>tr:nth-child(2)>th {
    font-size: 1rem;
    color: #4A4A4A;
}
  
.table-custom tfoot>tr {
      background-color: #4D148C;
      color: #FFFFFF;
      border-right: 1px solid #4D148C;
      border-left: 1px solid #4D148C;
}

.table-custom tfoot>tr td {
      border: none;
}

  .table-popover {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
  }

  .table-popover tbody>tr>td,
  .table-popover thead>tr>th,
  .table-popover tfoot>tr>td {
      padding: 10px;
      text-align: center;
      vertical-align: middle;
  }
  
.table-popover thead>tr th {
        text-align: center;
        color: #FFFFFF;
        border-width: 1px;
        font-weight: normal;
        vertical-align: bottom;
}

.table-popover thead>tr th:first-child {
    background-color: #4D148C;
    border-color: #4D148C;
}

.table-popover thead>tr th:nth-child(2) {
    background-color: #FF6600;
    border-color: #FF6600;
}

.table-popover thead>tr th:nth-child(2)>th {
    font-size: 1rem;
    color: #4A4A4A;
}


/* Tab */


.nav-custom .nav-tabs {
        padding: 0 20px;
}

.nav-custom .nav-tabs .nav-link {
        border: none;
        background-color: #4D148C;
        color: #FFFFFF;
        height: 100%;
}

.nav-custom .nav-tabs .nav-link h2 {
    margin-top: 1rem;
}

.nav-custom .nav-tabs .nav-link h2.group {
    margin-top: 0;
}

.nav-custom .nav-tabs .nav-link.active  {
    background-color: #007AB7;
    color: #000000;
}

.nav-custom .nav-tabs .nav-link.active h2 {    
    color: #000000;
}

.nav-custom .nav-tabs .nav-item {
    margin-right: 20px;
}

.nav-custom .nav-tabs .nav-item:last-child {
    margin-right: 0;
}

.nav-custom .nav-tabs {
        border-bottom: 4px solid #007AB7;
}

/* Dropdown */

.dropdown-custom .dropdown-toggle-split {
    color: #FFFFFF;
    background-color: #4A4A4A;
}

.dropdown-custom .btn-sm {
    font-size: .75rem;
    padding: .05rem .5rem
}

.dropdown-menu {
    font-size: .75rem;
    max-height: 200px;
    overflow-y: auto;
}

/* Tooltip */

.tooltip {
    font-size: .75rem;
    font-family: RobotoLight, Helvetica, Arial, sans-serif;
    line-height: normal;
    z-index: 1039 !important;
}

.tooltip p {
    font-size: .75rem;
    margin-bottom: 0;
}

.tooltip .tooltip-inner {
    background-color: #FFFFFF;
    color: #000000;
    text-align: start;
    border: 2px solid #FF6600;
    width: 15rem;
}

.tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before,
.tooltip.bs-tooltip-top .arrow::before {
    border-top-color: #FF6600;
}

.tooltip.bs-tooltip-auto[x-placement^=right] .arrow::before,
.tooltip.bs-tooltip-left .arrow::before {
    border-left-color: #FF6600;
}

.tooltip.bs-tooltip-auto[x-placement^=bottom] .arrow::before,
.tooltip.bs-tooltip-bottom .arrow::before {
    border-bottom-color: #FF6600;
}

.tooltip.show {
    opacity: 1;
}

/* Progress Bar */

.progress {
    border-radius: 0;
}

.progress .progress-bar {
    background-color: #FFFFFF;
    border: 1px solid #4D148C;
}

.progress .progress-bar.active {
    background-color: #4D148C;
}

/* Date Picker */

.datepicker-custom {
    margin: 0 auto;
    border-radius: 0 !important;
}

.datepicker-custom .datepicker-inline {
    border: 1px solid #dfdfdf;
    border-radius: 0 !important;
}

.datepicker-custom .datepicker-inline,
.datepicker-custom .datepicker table{
  box-sizing: border-box;
  width: 100%;
}

.datepicker-custom .prev.disabled {
    display: block;
}

.datepicker-custom .next.disabled {
    display: block;
}

.datepicker-custom th {

   border-radius: 0 !important;

}


/*
    .datepicker-custom .datepicker .prev {
        border-style: solid;
        border-width: .2em .2em 0 0;
        display: inline-block;
        width: .75em;
        height: .75em;
        margin-left: .25em;
        margin-right: .15em;
        -webkit-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }
*/


   .datepicker-custom thead {
        line-height: 2rem;
        height: 2rem;
        background-color: #4D148C !important;
        color: #FFFFFF;
        font-size: 1rem;
    }

    .datepicker-custom thead th.dow {
        line-height: 2rem;
        font-size: .875em;
        font-style: italic;
    }

    .datepicker-custom .bg-primary {
        background-color: #FF6600 !important;
    }

    .datepicker-custom .day {
        text-align: center;
        padding: 7px;
        border-radius: 0 !important;
        color: #212529;
    }

    .datepicker-custom .day.disabled{
        opacity: .5;
        filter: alpha(opacity=50);
        color: #6c757d !important;        
    }


    .datepicker-custom .datepicker table tr td.active.active {
        background-color: #FF6600 !important;
    }

/* Popover */

.popover-custom {
    position: absolute;    
    top: 0 !important;
    border: 1px solid #4D148C;
    border-radius: 0;        
    min-width: 276px;
}

.popover-custom .popover-body {
    padding: 0;
}

.popover-border {
    border: 1px solid #4D148C;
}

.bs-popover-auto[x-placement^=bottom] .arrow::after,
.bs-popover-bottom .arrow::after {
    border-bottom-color: #4D148C;
}

.bs-popover-auto[x-placement^=top] .arrow::after,
.bs-popover-top .arrow::after {
    border-top-color: #4D148C;
}

/* alert */

.alert-custom {
    color: red;
    font-size: 0.75rem;
}

/* Header */ 

.page-header {
    color: #FFFFFF;
    border-bottom: none;
    margin: 0;
    padding: 0;
}

.page-header .logo-row {
    min-height: 76px;
    line-height: 60px;
}

/* Footer */

.page-footer {
    height: 200px;
    background-color: #4D148C;
}

.page-footer a {
    color: #FFFFFF;
    font-size: .75rem;
    cursor: pointer;
}

.page-footer span {
    color: #FFFFFF;
    padding: 0 .75rem;
}

.page-footer span.copyrightText {
  color: #FFFFFF;
  font-size: .75rem;
  cursor: default;
}

/*==================================================
=            Bootstrap 4 Media Queries             =
==================================================*/

/*==================================================
=     Bootstrap 4 Media Queries: Mobile First      =
==================================================*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .resource-container .resource-text {
        min-height: 100px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}


/*==================================================
=   Bootstrap 4 Media Queries: Non-Mobile First    =
==================================================*/

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .banner-opacity {
        background-color: rgba(0, 0, 0, 0.4);
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {}

/* Print */

@media print {

    @page {
      size: auto;
    }
  
    a[href]:after {
      content: '';
    }
  
    table {
      page-break-after: auto;
      border-collapse: collapse;
    }
  
    tr {
      page-break-inside: avoid;
      page-break-after: auto;
    }
  
    td {
      page-break-inside: avoid;
      page-break-after: auto
    }
  
    thead {
      display: table-row-group
    }
  
    tfoot {
      display: table-row-group
    }
  
  }
  