@import url(https://fonts.bunny.net/css?family=open-sans:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i);

/* Include CooperHewit font with different weights */
@font-face {
  font-family: "CooperHewitt";
  src: url("CooperHewitt-Light.otf") format("opentype");
  font-weight: 100;
  /* or 'light' */
  font-style: normal;
}

@font-face {
  font-family: "CooperHewitt";
  src: url("CooperHewitt-Book.otf") format("opentype");
  font-weight: 200;
  /* or 'light' */
  font-style: normal;
}

@font-face {
  font-family: "CooperHewitt";
  src: url("CooperHewitt-Medium.otf") format("opentype");
  font-weight: 300;
  /* or 'regular' */
  font-style: normal;
}

@font-face {
  font-family: "CooperHewitt";
  src: url("CooperHewitt-Semibold.otf") format("opentype");
  font-weight: 500;
  /* or 'bold' */
  font-style: normal;
}

@font-face {
  font-family: "CooperHewitt";
  src: url("CooperHewitt-Bold.otf") format("opentype");
  font-weight: 700;
  /* or 'bold' */
  font-style: normal;
}

* {
  font-family: "Open Sans", sans-serif;
  /* color: #000; */
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "CooperHewitt";
  font-weight: 500;
  text-transform: uppercase;
}

h1 {
  font-size: 2rem;
  margin: 0 !important;
  text-transform: uppercase;
}

h1 span {
  text-transform: none;
}

h2 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
}

/* UIKit Overrides */
@media (min-width: 960px) {
  .uk-container {
    padding-left: 100px;
    padding-right: 100px;
  }
}

@media (min-width: 640px) {
  .uk-container {
    padding-left: 100px;
    padding-right: 100px;
  }
}

.uk-table.summary td {
  font-weight: 500;
}

.uk-modal-dialog[role="alertdialog"] {
  text-align: center;
}

.uk-modal-dialog[role="alertdialog"] .uk-modal-footer.uk-text-right {
  text-align: center !important;
}

.uk-alert-danger {
  background: rgba(198, 0, 0, 0.1);
  color: #c60000;
}

.uk-text-danger {
  color: #c60000 !important;
}

.uk-text-success {
  color: #068901 !important;
}

.uk-text-primary {
  color: #256dc1 !important;
}

.portal-slidenav .uk-icon {
  color: #999999 !important;
}

.portal-slidenav a:hover .uk-icon {
  color: #fff !important;
}

.portal-slidenav ul.uk-nav-sub {
  padding: 5px 0 5px 50px;
}

.portal-slidenav ul li {
  font-weight: 300;
  color: #999;
}

.portal-slidenav a {
  color: #fff !important;
  font-weight: 600;
  font-size: 1rem;
}

.portal-slidenav sup {
  font-size: 50%;
}

.uk-search-default .uk-search-input,
.uk-input,
.uk-select,
.uk-textarea {
  border: 1px solid #666;
  color: #666;
}

.uk-tab>.uk-active>a {
  color: #333f48;
  border-color: #333f48;
}

.uk-tab>.uk-active>a.uk-text-danger {
  border-color: #c60000;
}

.uk-tab>*>a {
  border-bottom: 4px solid transparent;
  font-weight: 600;
  color: #666;
}

.uk-table th {
  color: #666;
  font-size: 0.75rem;
}

.uk-table tr td {
  color: #000;
}

.uk-table-striped tbody tr:nth-of-type(odd),
.uk-table-striped>tr:nth-of-type(odd) {
  background: #f8f8f8;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
}

.uk-card-title h3 {
  font-size: 1.375rem;
  font-weight: 500;
}

.uk-button-primary {
  border: #256dc1 2px solid !important;
  background-color: #256dc1;
  color: #fff;
  font-family: "CooperHewitt";
  font-weight: 500;
}

.uk-button-secondary,
.uk-button-default {
  border: #333f48 2px solid !important;
  background-color: #fff;
  color: #333f48;
  font-family: "CooperHewitt";
  font-weight: 500;
}

.uk-button-secondary:hover,
.uk-button-default:hover {
  background-color: #333f48 2px solid !important;
}

.uk-button-danger:disabled,
.uk-button-default:disabled,
.uk-button-primary:disabled,
.uk-button-secondary:disabled {
  color: #999;
  border-color: #999 !important;
}

.uk-icon-button.uk-button-secondary {
  color: #fff !important;
  background-color: #333f48;
  border: none !important;
  width: 24px;
  height: 24px;
}

.uk-icon-button.uk-button-secondary:hover {
  color: #fff !important;
  background-color: #256dc1;
  border: none !important;
}

.uk-tooltip {
  background-color: #256dc1;
  color: white;
  border-radius: 7px;
  /* font-weight: bold; */
  /* text-transform: capitalize; */
  padding: 10px;
  text-align: center;
  width: fit-content;
}

.uk-icon:hover {
  color: #256dc1;
}

.uk-link {
  color: #256dc1 !important;
}

.uk-checkbox:checked,
.uk-checkbox:indeterminate,
.uk-radio:checked {
  background-color: #256dc1;
}

.uk-card-default.uk-card-hover:hover {
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
}

.uk-offcanvas-bar {
  background-color: #333f48 !important;
}

.uk-modal.warning .uk-modal-dialog[role="alertdialog"] .uk-modal-body::before {
  content: url("/application/themes/mcguikit/images/exclamation.png");
  display: block;
}

.uk-modal.success .uk-modal-dialog[role="alertdialog"] .uk-modal-body::before {
  content: url("/application/themes/mcguikit/images/checkmark.png");
  display: block;
}

.uk-modal .uk-modal-dialog[role="alertdialog"] .uk-modal-footer button:first-of-type {
  margin-right: 10px;
}

/* End: UIKit Overrides */

.site-name {
  font-family: "CooperHewitt";
  font-weight: 200;
  font-size: 1.75rem;
  color: #333f48;
  margin: 1px 0 0 16px;
}

.hamburger-menu {
  font-size: 0.6rem;
  line-height: 0.6rem;
  margin: 0 0 0 0px;
}

.uk-checkbox {
  background-color: #fff;
}

.overdue td.status {
  color: #c60000;
}

.item-footer {
  z-index: 99;
  background-color: #fff;
  position: absolute;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.35);
}

table.sortable th {
  cursor: pointer;
  font-size: 0.75rem;
  color: #666;
}

table.sortable td {
  font-size: 1rem;
}

table.sortable th.sort-desc span::after {
  content: " ▼ ";
  color: #1a1717;
  font-size: 10px;
  top: 0;
  /* float: right; */
}

table.sortable th.sort-asc span::after {
  content: " ▲ ";
  color: #ccc;
  font-size: 10px;
  top: 0;
  /* float: right; */
}

table.sortable tbody tr {
  cursor: pointer;
}

.uk-accordion>li>a {
  padding: 10px;
  background-color: #eee !important;
}

.uk-accordion>li:hover>a {
  background-color: #ccc !important;
  color: #000;
}

.uk-accordion-content,
.uk-accordion>li {
  background-color: #fff;
}

.uk-accordion-content {
  padding: 0;
}

.uk-subnav-pill>*>a:hover {
  background-color: #ccc !important;
  color: #000;
}

.uk-accordion>li:hover>a {
  background-color: #ccc !important;
  color: #000;
}

.uk-subnav-pill>.uk-active>a {
  background-color: #000 !important;
  color: #fff !important;
}

.uk-subnav-pill>*>a {
  background-color: #eee !important;
  color: #000 !important;
}

#offcanvas-nav a {
  display: inline-flex !important;
}

#offcanvas-nav a:hover {
  color: #ccc !important;
}

.stats td.stat {
  font-size: 1.75rem;
  font-weight: 500;
  padding-right: 16px;
}

.tutorial-card::before {
  content: "";
  position: absolute;
  height: 0px;
  width: 0px;
  top: -29px;
  left: 20px;
  /* 1px buffer for zooming problems while rendering*/
  border-width: 15px;
  border-color: transparent transparent #222 transparent;
  border-style: solid;
}

#payment-form .uk-icon-image {
  /* width: 20px; */
  height: 40px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  /* object-fit: scale-down; */
  max-width: none;
}

#payment-form .uk-form-icon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #999;
}

#paybar .instrux {
  font-size: 1.4rem;
  line-height: 1.5rem;
}

#paybar .digits {
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
}

.pulse {
  -webkit-animation: pulse 1s infinite alternate;
  -moz-animation: pulse 1s infinite alternate;
  -ms-animation: pulse 1s infinite alternate;
  -o-animation: pulse 1s infinite alternate;
  animation: pulse 1s infinite alternate;
}

@-webkit-keyframes pulse {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-moz-keyframes pulse {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-ms-keyframes pulse {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-o-keyframes pulse {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pulse {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.notification-container a {
  color: #333f48 !important;
}

.notification-container a:hover {
  /* color: #333f48 !important; */
}

.bell-notification,
.bell-notification span {
  /* color: #fff; */
  position: relative;
  cursor: pointer;
  width: 50px;
}

.bell-notification #HW_badge_cont {
  width: 100%;
  height: 100%;
}

.bell-notification span:hover {
  /* color: #ffffff; */
}

.HW_badge_cont.HW_visible {
  visibility: visible;
  pointer-events: auto;
  position: absolute;
  top: -15px;
  right: -16px;
}

.notification-main-title {
  font-family: "CooperHewitt";
  background-color: #333f48;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #ddd;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.notification-dropdown {
  padding: 0;
  padding-left: 0 !important;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  padding: 15px;
  gap: 15px;
}

.notification-item:hover {
  background-color: #eee;
  cursor: pointer;
}

.notification-media {
  flex: 0 0 80px;
  margin-right: 10px;
}

.notification-media img,
.notification-media video {
  max-width: 100%;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.notification-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.notification-content.no-media {
  flex: 1;
  max-width: 100%;
}

.notification-title {
  font-family: "Open Sans";
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
  font-weight: bold;
  color: #333f48;
  margin: 0;
  overflow-wrap: break-word;
  white-space: normal;
}

.notification-date {
  font-size: 12px;
  color: #777;
}

.notification-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 12px;
}

.notification-attributes div {
  background-color: #333f48;
  border-radius: 4px;
  padding: 2px 6px;
  color: #e9ecef;
  font-size: 12px;
}

.notification-description {
  font-size: 14px;
  line-height: 1.5;
  color: #333f48;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  margin-bottom: 10px !important;
}

.notification-link {
  margin: 0;
  font-weight: bold;
  display: inline-block;
}

.notification-container {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  padding: 10px;
  color: #333f48;
  transition: 0.1s;
  min-width: 300px;
}

.notification-dropdown {
  max-height: 360px;
  overflow-y: scroll;
}

#all-notifications-link {
  position: sticky !important;
  background: #ffffff;
  border-top: 1px solid #eeeeee;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

#all-notifications-link a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  font-weight: bold;
  font-size: 14px;
  color: #333f48;
}

#all-notifications-link a:hover {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.notification-dropdown::-webkit-scrollbar {
  width: 8px;
  border-radius: 8px;
}

.notification-dropdown::-webkit-scrollbar-track {
  background: #e9ecef;
  border-radius: 8px;
}

.notification-dropdown::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 8px;
  border: 2px solid #e9ecef;
}

.notification-dropdown::-webkit-scrollbar-thumb:hover {
  background: #333;
}

.notification-dropdown::-webkit-scrollbar-button {
  display: none;
}

.notification-dropdown::-webkit-scrollbar-track {
  background: #eaebec;
  position: relative;
  border-radius: 12px;
  width: 12px;
}

.notification-dropdown::-webkit-scrollbar-thumb {
  background: #333f48;
  border-radius: 12px;
}

.notification-dropdown::-webkit-scrollbar-thumb:hover {
  background: #888;
}

.red-bubble {
  min-width: 15px;
  height: 15px;
  background: red !important;
  color: #fff !important;
  font-size: 0.65rem;
  right: 19px;
  top: -5px;
  z-index: 1;
  font-weight: 700;
  position: absolute !important;
  width: unset !important;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: #333f48;
  z-index: 1000;
}

.close-button:hover {
  color: #555;
}

.uk-badge.fully-paid,
.uk-badge.overpaid {
  background: #068901;
}

.uk-badge.no-payment {
  background: #c60000;
}