/*
* Notes:      Core changes on top of foundation, to phase out after updates
*/

select {
  line-height: normal;
}

.ccp-portal {
  padding: 20px 0;
}

#popupLayer .ccp-body-popup {
  margin:0;
}

.ccp-body-inline .ccp-portal {
  padding: 0;
  margin: 0;
}

#dynamic-panel_mask {
  z-index: 103 !important;
}
#dynamic-wait_c {
  z-index: 102 !important;
  background:none !important;
  border:none !important;
}
#dynamic-wait {
  border: none;
  background-color: transparent;
}
#dynamic-wait .bd {
  border: none;
  background-color: transparent;
}
#dynamic-wait_c .underlay {
  background-color: transparent;
}
#dynamic-panel_c {
  z-index: 104 !important;
}
.ccp-body-popup .ccp-portal {
  background: none;
}
.ccp-body-popup .ccp-portal > .row > .columns {
  padding:0;
}

img.no-resize {
  max-width: none;
}

.no-gap,
input.no-gap,
textarea.no-gap,
select.no-gap {
  margin-bottom: 0 !important;
}

.orbit-progress {
  left: -10000px;
  top: auto;
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.orbit-container .orbit-slides-container li ul li {
  list-style-type: disc;
}

.panel .panel {
  border:none !important;
  padding: 8px 0 0 0;
  background-color:transparent;
}

.ccp-eventlist-simple {
  margin-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.ccp-eventlist-simple > li {
  list-style: none;
}
.ccp-eventlist-date {
  font-weight: bold;
}

.file-table {
  border: none;
}
.file-table td {
  padding: 15px 15px 0 15px;
}

.calendarContainer, .calendar, .calendar table {
  border:none;
}

.label.warning {
  background-color: #f08a24;
  color: white;
}

.label.counter {
  padding:3px 4px;
  background-color: rgba(0, 0, 0, .2);
  color: white;
}

.alert-box h1, .alert-box h2, .alert-box h3, .alert-box h4, .alert-box h5, .alert-box h6 {
  color: #fff;
}

.ccp-opacity-90 {
  opacity: 0.9;
}
.ccp-opacity-80 {
  opacity: 0.8;
}
.ccp-opacity-70 {
  opacity: 0.7;
}
.ccp-opacity-60 {
  opacity: 0.6;
}
.ccp-opacity-50 {
  opacity: 0.5;
}
.ccp-opacity-40 {
  opacity: 0.4;
}
.ccp-opacity-30 {
  opacity: 0.3;
}
.ccp-opacity-20 {
  opacity: 0.2;
}
.ccp-opacity-10 {
  opacity: 0.1;
}

a:focus {
  outline: none;
}

.portletConfigure .button {
  margin-bottom:0;
}

.ccp-body-popup {
  padding:12px;
}
.ccp-body-popup .ccp-portal {
  padding:0;
}

pre, code {
  border-left:5px #ddd solid;
  margin:15px;
  display:block;
  line-height:inherit !important;
  overflow:auto;
  padding:1em;
  background:#f9f9f9;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.editsection .button {
  margin-bottom: 0;
}

#popupCalendar table {
  border:none;
}

#popupLayer .ccp-body-popup::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 16px;
}

#popupLayer .ccp-body-popup::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .1);
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

ol ul, ul ol, ul ul, ol ol {
  margin-bottom: 0;
}

.side-nav {
  display: block;
  list-style-position: outside;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.side-nav li {
  margin: 0;
  padding: 0;
}
.side-nav li a:not(.button) {
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 -20px;
}
.side-nav li.active > a:first-child {
  font-weight: bold !important;
  color: #008CBA !important;
  background: rgba(0, 64, 84, 0.05);
}
.side-nav li:hover > a:first-child {
  color: #008CBA;
  background: rgba(0, 64, 84, 0.03);
}
.sub-nav-no-label {
  margin-bottom: 0;
}
.sub-nav-no-label dd {
  margin-left: 0;
}

/* Home top bar */
.top-bar {
  height: 2.8125rem;
}
@media only screen and (min-width: 40.063em) {
  .top-bar {
    height: auto;
  }
}
/* Radio button tabs */
input[data-toggle] {
  display: none;
}
input[data-toggle]:checked + label,
input[data-toggle]:checked + label:active {
  background-color: salmon;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
}
.button-group.toggle li:not(first-child) {
  margin: 0 -1.2rem 0.9rem -1.2rem;
}

/* GDA-R001 — AI Error contrast (Foundation label.alert) */
.label.alert,
span.label.alert,
a.label.alert {
  color: #ffffff !important;
}
.label.alert.ai-gov-control,
a.label.alert.ai-gov-control,
span.label.alert.ai-gov-control,
.label.radius.alert.ai-gov-control {
  color: #ffffff !important;
  background-color: #c60f13 !important;
}
