.bg-jacorange {
  --bg-opacity: 1;
  background-color: #f08f10;
  background-color: rgba(240, 143, 16, var(--bg-opacity));
}

.text-jacorange {
  --text-opacity: 1;
  color: #f08f10;
  color: rgba(240, 143, 16, var(--text-opacity));
}

.border-jacorange {
  --border-opacity: 1;
  border-color: #f08f10;
  border-color: rgba(240, 143, 16, var(--border-opacity));
}

.checkbox-jacorange:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(164, 202, 254, 0.45);
  border-color: #a4cafe;
}

.checkbox-jacorange:checked:focus {
  border-color: transparent;
}

.checkbox-jacorange {
-webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-print-color-adjust: exact;
  color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;

  --tw-bg-opacity: 1;
  background-color: rgba(229, 231, 235, var(--tw-bg-opacity));

  border-width: 1px;
  border-color: rgba(159, 166, 178, var(--tw-bg-opacity));
}

.checkbox-jacorange:checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M5.707 7.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4a1 1 0 0 0-1.414-1.414L7 8.586 5.707 7.293z'/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: #f08f10;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

#navmain {
  display: grid;
  grid-template-columns: 6rem auto;
}

@media (max-width: 640px) {
  #navmain { grid-template-columns: 3rem auto; }
}

@media (min-width: 1280px) {
  #navmain { grid-template-columns: 12rem auto; }
}

.form-input {
  border-width: 1px;
}

.form-checkbox {
  border-width: 1px;
}

.pt-16 {
  padding-top: 4rem;
}

.top-full { top: 100%; }
.left-full { left: 100%; }

@media (min-width: 1200px) {
  .xl\:pin-none { left: auto; }
}

.group:hover .group-hover\:block {
  display: block;
}


/* The Modal (background) */
.modal {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 80px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: relative;
  top: -10px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.notificationcircle {
  --text-opacity: 1;
  background: #f98080;
  background: rgba(249, 128, 128, var(--text-opacity));
  display: none;
  border-radius: 50%;
  min-width: 20px;
  min-height: 20px;
  /* padding: 1px; */
  font-weight: bold;
  color: white;
  text-align: center;
  /* line-height: 1.25rem; */
  box-sizing: content-box;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .notificationcircle {
    display: inline-block;
  }
}

.sub_notificationcircle {
  float: left;
  display: block;
}

.notificationcircle:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  padding-top: 100%;
  height: 0;
}
.notificationcircle span {
  display: inline-block;
  vertical-align: middle;
}

.newscontent a {
  text-decoration: underline;
}

.newscontent ul {
  list-style: disc;
  padding: revert;
}

.newscontent ol {
  list-style: decimal;
  padding: revert;
}


.navicon {
  vertical-align: -4px;
  font-size: 20px !important;
  width: 20px;
}

a .material-symbols-outlined,
button .material-symbols-outlined {
  font-size: 17px !important;
}

.matfilled {
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' -25,
  'opsz' 20
}


#cooltoast-container {
  position: fixed;
  top: 0;
  right: 0;
  width: auto;
  z-index: 999;
  /*   font-family: 'Helvetica'; */
}

.cooltoast-toast {
  position: relative;
  padding: 8px 12px;
  margin: 16px;
  border-radius: 8px;
  background: #F5F5F5;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.19);
  animation-duration: .3s;
  animation-name: cooltoast;
  animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.cooltoast-fadeOut {
  animation-name: cooltoastFadeOut;
  animation-duration: .3s;
  animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  animation-fill-mode: forwards;
}

#cooltoast-container p,
#cooltoast-container h4 {
  margin: 3px 0 !important;
}

.cooltoast-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}

.cooltoast-text {
  font-size: 14px;
  color: #777;
}

.cooltoast-icon {
  position: absolute;
  top: 5px;
  left: -40px;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background: #FFF;
}

.cooltoast-toast a,
.cooltoast-toast a:hover {
  color: #549EDB !important;
  text-decoration: none !important;
}

/** toast types */
.cooltoast-success {
  border-bottom: 2px solid #51C625;
}

.cooltoast-warning {
  border-bottom: 2px solid #DB9215;
}

.cooltoast-error {
  border-bottom: 2px solid #DB2B1D;
}

.cooltoast-info {
  border-bottom: 2px solid #27ABDB;
}

@keyframes cooltoast {
  from {
    transform: translate3d(400px, 0, 0);
    ;
    opacity: 0;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes cooltoastFadeOut {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  to {
    transform: translate3d(400px, 0, 0);
    opacity: 0;
  }
}


.progress {
  height: 50px;
  line-height: 50px;
}

.jacsocial_medium {
  width: 50px;
}

.jaclogo_small {
  width: 117px;
}

.jaclogo_medium {
  width: 224px;
}

.jaclogo_big {
  width: 448px;
}

.dashboard_box_max-h-40vh {
  max-height: 40vh;
}

.max-h-80vh {
  max-height: 80vh;
}


/* ####################################################################################################### */
/* ####################################################################################################### */
/* ####################################################################################################### */
/* ####################################################################################################### */
/* ####################################################################################################### */
/* ####################################################################################################### */
/* ####################################################################################################### */
/* ####################################################################################################### */
/* ####################################################################################################### */
/* ####################################################################################################### */
/* ####################################################################################################### */


:root {
  --lines: #999;
}


/* Department/ section colors */
.nodecontent.dep-1 {
  background: #7b9fe0;
}
.nodecontent.dep-2 {
  background: #8dccad;
}
.nodecontent.dep-3 {
  background: #FFD600;
}
.nodecontent.dep-4 {
  background: #73e548;
}
.nodecontent.dep-5 {
  background: #f27c8d;
}
.nodecontent.dep-6 {
  background: #24c68b;
}
.nodecontent.dep-7 {
  background: #AAD4E7;
}
.nodecontent.dep-8 {
  background: #20ff84;
}
.nodecontent.dep-9 {
  background: #a6d7a8;
}
.nodecontent.dep-10 {
  background: #c9fe74;
}
.nodecontent.dep-11 {
  background: #ada392;
}
.nodecontent.dep-12 {
  background: #55bbca;
}
.nodecontent.dep-13 {
  background: #def55d;
}

.dep-staff {
  background: #54b9b8;
}


/* .orgchart {
  width: 100%;
  background: #FF0000;
} */

.centered_node {
  display: inline-block !important;
}

/*vertical nodes*/
.orgchart li.vertical>ul {
  flex-direction: column;
  align-items: flex-start;
  margin: 0 5px;
  position: relative;
}

.orgchart li.vertical>ul>li>.nodecontent {
  margin: 10px 0 0 10px;
}

/*vertical connectors*/
.orgchart li.vertical>ul::before {
  box-sizing: border-box;
  content: '';
  position: absolute;
  top: -2px;
  left: 10px;
  height: 10px;
  width: calc(50% - 19px);
  border-top: 2px solid #808080;
}

.orgchart li.vertical>.nodecontent::after {
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 7px;
  width: 10px;
  left: auto;
  right: calc(50% - 1px);
}

.orgchart li.vertical>ul>li::before {
  border-width: 0 0 0 2px;
  left: 0px;
  height: 100%;
  width: 10px;
  border-radius: 0;
}

.orgchart li.vertical>ul>li:first-child::before {
  top: -2px;
  height: calc(100% + 2px);
  border-top-width: 2px;
  border-top-left-radius: 7px;
}

.orgchart li.vertical>ul>li:last-child::before {
  height: calc(50% + 6px);
  border-bottom-width: 2px;
  border-bottom-left-radius: 7px;
}

.orgchart li.vertical>ul>li>.nodecontent::before {
  height: 2px;
  width: 8px;
  top: calc(50% - 1px);
  left: -8px;
  border-width: 2px 0 0 0;
}

.orgchart li.vertical>ul>li:last-child>.nodecontent::before {
  display: none;
}

.centered {
  text-align: center;
}

.nodecontent {
  display: inline-block;
  background-color: DarkTurquoise;
  padding: 10px;
  border-radius: 10px;
  color: black;
  width: 175px;
  -webkit-transition: height 3s ease;
  -moz-transition: height 3s ease;
  -o-transition: height 3s ease;
  -ms-transition: height 3s ease;
  transition: height 3s ease;
}

.nodecontent:hover {
  background-color: #FFA500;
  max-width: 175px;
}

.management_node,
.management_node:hover {
  background-color: #e5e7eb;
  min-width: 700px;
  /* max-width: 900px; */
}


.staff_node,
.staff_node:hover {
  background-color: #e5e7eb;
  width: fit-content !important;
  max-width: fit-content !important;
  /* left: calc(307px) !important; */
  left: 27.2px !important;
  transform: translatex(50%) !important;
}

.staff_node::before,
.staff_node::after,
.staff_node li:not(:first-child)::before
{
  border: none !important;
}

.staff_node li {
  margin: 0 10px 0 0 !important;
}


.staff_node>ul>li:first-child::before {
  height: 2px !important;
  width: 27px !important;
  top: calc(50% - 1px) !important;
  left: -37px !important;
  border-width: 2px 0 0 0 !important;
}


.staff_node>ul::before {
  box-sizing: border-box;
  content: '';
  position: absolute;
  top: -20px;
  left: -28px;
  height: calc(100% + 40px);
  border-left: 2px solid #808080;
}


.nodecontent .collapse {
  position: absolute;
  bottom: -15px;
  left: calc(50% - 6px);
  color: #808080;
  background-color: #808080;
  border-radius: 6px;
  height: 12px;
  width: 12px;
  font-size: 12px;
  text-align: center;
}

/*chart nodes*/
.orgchart {
  display: inline-block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.orgchart,
.orgchart ul {
  padding: 0;
  margin: 0;
}

/*align children horizontally using CSS flex*/
.orgchart ul {
  display: flex;
}

/*align nodecontent and children list vertically*/
.orgchart li {
  display: flex;
  flex-direction: column;
  position: relative;
}

/*arrange the nodecontent centered above the children list*/
.orgchart .nodecontent {
  align-self: center;
  position: relative;
  margin: 20px 5px;
}

.orgchart .collapsed>ul {
  display: none;
}

/*connections*/
.orgchart li::before,
.orgchart .nodecontent::after,
.orgchart .nodecontent::before {
  box-sizing: border-box;
  content: '';
  position: absolute;
  /* z-index: -1; */
  border: 0px solid #808080;
}

.orgchart li:not(:only-child)::before {
  border-top-width: 2px;
  width: 100%;
  height: 20px;
  top: 0px;
}

.orgchart li:first-child::before {
  width: calc(50% + 1px);
  right: 0;
  border-left-width: 2px;
  border-top-left-radius: 7px;
}

.orgchart li:last-child::before {
  width: calc(50% + 1px);
  border-right-width: 2px;
  border-top-right-radius: 7px;
}

.orgchart .nodecontent::after,
.orgchart .nodecontent::before {
  border-left-width: 2px;
  width: 2px;
  height: 20px;
  left: calc(50% - 1px);
}

.orgchart .nodecontent::before {
  top: -20px;
}

.orgchart .nodecontent::after {
  bottom: -20px;
}

.orgchart li:first-child:not(:only-child)>.nodecontent::before,
.orgchart li:last-child:not(:only-child)>.nodecontent::before {
  border-left-width: 0px;
}

.orgchart .leaf>.nodecontent::after,
.orgchart .root>.nodecontent::before,
.orgchart .collapsed>.nodecontent::after {
  display: none;
}




.name {
  font-size: 14px;
  margin: 20px 0 0;
  font-weight: bold;
}

.role,
.PhoneNumber,
.EmailAddress,
.JobDescription {
  font-weight: 300;
  margin-bottom: 0px;
  margin-top: 5px;
  font-size: 12px;
}

.role {
  font-weight: bold
}

.nodecontent:hover .content-hover {
  display: block;

}

.content-hover {
  padding-top: 10px;
  display: none;
}

/*
.PhoneNumber {
  padding-left: 10px;
}

.Button {
  background: #A9a9a9;
  border-style: solid 5px #fff;
  border-radius: 3px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.EmailAddress {
  padding-left: 10px;
}
*/





/* Highlights subordinate team members on hover
.orgchart li a:hover, .orgchart li a:hover+ul li a {
  background: #cccccc; color: #fff; border: 1px solid #cccccc; border-radius: 6px;
}
*/