.a_inside_drop_down {
  color: #fff;
  background-color: #00908E;
  padding: 3px 10px;
  display: inline-block;
}
.a_inside_drop_down:hover {
  text-decoration: none;
  color: #fff;
}
.req {
  color: #FF0000;
}
/* ALERTS */
.alert {
  border: none;
}
.alert-warning {
  background-color: rgba(245, 166, 35, 0.4);
}
/* NAV*/
#navbarSupportedContent li a {
  color: #fff;
  font-size: 16px;
}
#navbarSupportedContent li:hover {
  background-color: #0d539e !important;
  width: 100%;
}
#navbarSupportedContent li:hover > .dropdown-menu {
  display: block;
  position: absolute;
  left: auto;
}
#navbarSupportedContent .dropdown-menu {
  background-color: #0d539e;
  color: #fff !important;
  white-space: normal;
  border: none;
  padding-top: 0px;
  padding-bottom: 0px;
  width: 250px;
}
#navbarSupportedContent .dropdown-menu li {
  border-bottom: 1px solid #2b74c3;
}
#navbarSupportedContent .dropdown-menu li a {
  padding: 8px !important;
  white-space: normal;
}
#navbarSupportedContent .dropdown-menu li a:hover {
  background-color: #004289;
}
#navbarSupportedContent .dropdown-menu li a .fa-angle-right {
  position: absolute;
  top: 50%;
  left: 95%;
  transform: translateX(-50%) translateY(-50%);
}
#navbarSupportedContent .tertiary-menu {
  background-color: #004289;
}
#navbarSupportedContent .tertiary-menu li a:hover {
  background-color: #0d539e;
}
#navbarSupportedContent .dropdown-submenu {
  position: relative;
}
#navbarSupportedContent .dropdown-submenu > .dropdown-menu {
  top: -1px;
  left: 100% !important;
}
#navbarSupportedContent .dropdown-submenu:hover > .dropdown-menu {
  display: block;
}
/*TOOLTIPS*/
.tooltip_span {
  color: #00908E;
  cursor: pointer;
  font-size: 1.20em;
  position: relative;
}
.tooltip.top {
  -webkit-opacity: 0.90 !important;
  -moz-opacity: 0.90 !important;
  opacity: 0.90 !important;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=90) !important;
  filter: alpha(opacity=90) !important;
}
.tooltip.top .tooltip-inner {
  text-align: left;
  padding: 0.60em 0.80em;
  font-size: 1.0em;
  max-width: 12.50em;
  background-color: #00908E;
}
.tooltip-arrow {
  border-top-color: #00908E !important;
}
/* DATEPICKER*/
.datepicker {
  z-index: 1000 !important;
  position: relative;
  width: 100%;
}
.datepicker table td.day.active {
  background-color: #00908E;
}
.datepicker table td span.month.active {
  background-color: #00908E;
}
.datepicker table td span.year.active {
  background-color: #00908E;
}
/* LEFT & MAIN & RIGHT SIDES */
.leftside {
  margin-bottom: 1rem;
}
/* LISTS */
.list-group-item-success {
  color: #00908E !important;
  background-color: #fff !important;
}
.list-group-item-success:hover {
  background-color: #e9ecef !important;
  color: #495057 !important;
}
.list-group-item-success.active {
  background-color: #00908E !important;
  color: #fff !important;
}
.list-group-item-action.active {
  padding-left: 29px;
}
.list-group-item-danger {
  color: #495057 !important;
  background-color: #fff !important;
}
.list-group-item-danger:hover {
  background-color: #e9ecef !important;
}

.list-group-item-danger.active {
    background-color: #00908E !important;
    color: #fff !important;
}

.list-group-item-danger.list-group-item-dark {
  color: #495057 !important;
  background-color: #c6c8ca !important;
}
.registerpartsapplicant ol {
  padding-left: 15px;
}
/* WELL */
.well h3 {
  margin-top: 8px;
  font-family: inherit;
}
.paragraphinsidetext h5 {
  font-family: inherit;
  font-weight: 700;
}
/* ADDNOTE BUTTON */
.addnote.btn.btn-default {
  color: #fff;
  background-color: #00908E;
  border-color: #00908E;
  float: none;
}
.addnote.btn.btn-default:hover {
  color: #fff;
  background-color: #003939;
  border-color: #001110;
}
@media (min-width: 576px) {
  .note-actions .col-sm-3 {
    flex: 1;
    max-width: 100%;
  }
  .note-actions .col-sm-9 {
    flex: 2;
    max-width: 100%;
  }
}
/* MODAL */
#alertModal .modal-content .modal-header {
  background-color: #00908E;
  color: #fff;
}
#alertModal .modal-content .modal-body p {
  margin-bottom: 0px;
}
#alertModal .modal-content .modal-footer {
  padding-top: 1em;
  padding-bottom: 1em;
}
.modal-dialog .modal-footer button {
  margin-bottom: 0.3rem !important;
}
/* MODAL - SCROLLING ON MOBILES */
body.modal-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100%;
  /* iPhone */
}
body.modal-open .modal {
  overflow: scroll !important;
}
@media only screen and (max-width: 767px) {
  body.modal-open .modal .modal-dialog {
    overflow: scroll !important;
    -webkit-overflow-scrolling: touch;
  }
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
  body.modal-open .modal .modal-dialog {
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
  }
}
/* CARD */
.card h5 {
  margin-top: 0;
}
/* TABLE */
#tablelist_wrapper .top {
  margin-left: 2rem;
  float: right !important;
}
.table {
  overflow: auto;
}
.table .open,
.table .show {
  display: table-row !important;
}
.table .open ul,
.table .show ul {
  padding: 0 !important;
}
.table .open ul li a,
.table .show ul li a {
  padding: 5px 10px !important;
}
.table thead tr th,
.table thead tr td {
  font-weight: 400;
  vertical-align: middle;
  color: #00908E;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.table thead tr td {
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}
.table thead tr td label {
  font-weight: 400;
}
.table thead .sorting:after,
.table thead .sorting_asc:after,
.table thead .sorting_desc:after,
.table thead .sorting:before,
.table thead .sorting_asc:before,
.table thead .sorting_desc:before {
  display: none !important;
}
.table tbody tr {
  /* BUTTON & DROP DOWN - INSIDE TABLE*/
}
.table tbody tr:hover {
  background-color: #f8f9fa !important;
}
.table tbody tr th {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.table tbody tr .editLinks a {
  color: #fff;
  background-color: #00908E;
  padding: 3px 10px;
  display: inline-block;
}
.table tbody tr .editLinks a:hover {
  text-decoration: none;
  color: #fff;
}
.table tbody tr .checkbox .selectedQualification {
  margin-left: auto !important;
}
.table tbody tr .btn-xs {
  padding: 0 .25rem;
}
/* BUTTON & DROP DOWN - OUTSIDE TABLE*/
.focus.btn-default,
.btn-default:focus {
  color: #fff !important;
}
.btn-xs {
  padding: 0 .25rem;
  font-size: 14px;
}
.btn-xs .fa-chevron-circle-down,
.btn-xs .fa-chevron-circle-up,
.btn-xs .fa-caret-down,
.btn-xs .fa-caret-up {
  line-height: 1.8em !important;
}
/* DATATABLE_INFO & PAGINATE */
.bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
#updateDiv {
  padding-bottom: 24px;
}
/* FOOTER ON iOS - to be done*/
#pageFooter .bs4 .col-6 {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
}
/* NARROW DESKTOPS & TABLETS */
@media only screen and (max-width: 1200px) {
  /* LEFT & MAIN & RIGHT SIDES */
  #applicationGrid {
    justify-content: space-between;
  }
  #applicationGrid .leftside {
    order: 1;
    margin-bottom: 1rem;
  }
  #applicationGrid .rightside {
    order: 2;
    margin-bottom: 1rem;
  }
  #applicationGrid .main {
    order: 3;
  }
}
/* NARROW DEVICES - TABLETS */
@media only screen and (max-width: 1040px) and (min-width: 767px) {
  .bs4 .modal-lg {
    width: 700px !important;
  }
  .container {
    width: 100%;
  }
  /* NAV ON TABLETS*/
  #navbarSupportedContent li a {
    font-size: 13px;
  }
  .bs4 .navbar-expand-md .navbar-nav .nav-link {
    padding-right: .3rem;
    padding-left: .3rem;
  }
  /* DASHBOARD TILES*/
  .div-child .card a .card-img-overlay .text-bottom {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }
  .div-child .card a .card-img-overlay .text-bottom .card-title {
    font-size: 0.8rem;
  }
  .div-child .card a .card-img-overlay .text-bottom .card-text {
    font-size: 0.7rem;
  }
}
/* NARROW DEVICES - MOBILES */
@media only screen and (max-width: 767px) {
  .container {
    width: 100%;
  }
  /* NAV*/
  .navbar {
    padding-left: 0px !important;
    padding-right: 0px !important;
    /*# Hamburger menu*/
  }
  .navbar #primaryNavbarToggler {
    margin: 0 1rem 1rem 0;
  }
  .navbar #navbarSupportedContent {
    display: block;
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-left: 0px;
    margin-right: 0px;
  }
  .navbar #navbarSupportedContent .navbar-nav li:hover > .dropdown-menu {
    display: none;
  }
  .navbar #navbarSupportedContent .navbar-nav li a {
    padding-left: 8px;
    padding-right: 8px;
  }
  .navbar #myssscNavbarItem li a {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .navbar .navbar-nav.d-md-none li a {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  /* SECONDARY NAVIGATION*/
  .row.justify-content-left {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
  .row.justify-content-left .col-12 {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
  }
  nav[aria-label=breadcrumb] {
    display: none;
  }
  .breadcrumb {
    display: none;
  }
  #secondaryNavigation {
    z-index: 10;
  }
  #secondaryNavigation .indicator {
    margin-left: 15px;
    line-height: 1.8;
  }
  div + h1 {
    padding-top: 40px;
  }
  .display-1 {
    margin-top: 30px;
  }
  .bg-indigo {
    margin-top: 35px;
  }
  .divcheckbox {
    width: auto;
  }
  #searchPannel {
    top: 75px;
  }
  /* TABLE */
  .table tbody tr {
    width: auto !important;
  }
  .table tbody tr:hover {
    background-color: #f8f9fa !important;
  }
  .table tbody tr td:not(.pdf-td) {
    word-break: normal;
    padding-left: 9rem !important;
    width: auto !important;
  }
  .table tbody tr td:not(.pdf-td):before {
    font-weight: 400 !important;
    vertical-align: middle;
    color: #00908E;
    width: 8rem;
    margin-left: -8rem;
  }
  .table tbody tr td:not(.pdf-td).dataTables_empty {
    padding-left: 0 !important;
  }
  table[data-name="SAVEREFERENCES"] {
    display: none !important;
  }
  /* LEFT & MAIN & RIGHT SIDES */
  .leftside {
    order: 1;
    margin-bottom: 1rem;
  }
  .rightside {
    order: 2;
    margin-bottom: 1rem;
  }
  .main {
    order: 3;
  }
  /* DASHBOARD TILES*/
  .div-child .card {
    width: 100%;
    height: 100%;
  }
  .div-child .card a {
    min-width: 100%;
    min-height: auto;
  }
  .div-child .card a img {
    top: 0 !important;
    height: 100% !important;
    width: auto !important;
  }
  .div-child .card a .card-img-overlay {
    min-width: 100%;
    min-height: 100%;
  }
  .div-child .card a .card-img-overlay .card-title {
    font-size: 0.85rem;
  }
  .div-child .card a .card-img-overlay .card-text {
    font-size: 0.8rem;
  }
  .div-child .bg-indigo {
    margin-top: 0 !important;
  }
  /*DATEPICKER*/
  .bootstrap-datetimepicker-widget {
    width: 290px !important;
  }
}
@media only screen and (max-width: 650px) {
  /* DASHBOARD TILES*/
  .div-child .card a .card-img-overlay .card-title {
    font-size: 0.7rem;
  }
  .div-child .card a .card-img-overlay .card-text {
    font-size: 0.7rem;
  }
}
/* EXTRA NARROW DEVICES */
@media only screen and (max-width: 576px) {
  /* DASHBOARD TILES*/
  .div-child {
    min-height: 6rem;
  }
  .div-child .card a .card-img-overlay {
    padding: 0.5rem 0.3rem;
  }
}
@media only screen and (max-width: 576px) and (min-width: 460px) {
  /* DASHBOARD TILES*/
  .div-child .card a img {
    width: 100% !important;
  }
}
@media only screen and (max-width: 460px) {
  .modal-body .entitylist-search {
    width: auto;
  }
}
@media only screen and (max-width: 350px) {
  /* DASHBOARD TILES on iPhone SE*/
  .div-child .card a .card-img-overlay .card-title {
    font-size: 0.6rem;
  }
  .div-child .card a .card-img-overlay .card-text {
    font-size: 0.65rem;
  }
}
