
body.modal-open {
    height: 100vh;
    overflow-y: hidden;
}
.section {
  margin: 4px;
  float: left;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
}
.section_right {
  margin: 5px;
  float: right;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
}
h2 {
  margin-top: 5px;
  margin-bottom: 5px;
}
h3 {
  margin-top: 5px;
  margin-bottom: 5px;
}
p {
  margin: 2px;
}
a {
  color: #337cb7;
  margin: 5px;
}
thead {
  background-color: #d8ebff;
}
th {
    font-size: 17px;
    font-weight: 400;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}
td {
  padding: 2px;
  cursor: pointer;
}
.row_header {
  text-align: right;
}
.row_total {
  background-color: #ffffe8;
}
.noselect {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -user-select: none;
}
li {
  cursor: pointer;
}
#status_bar{
    border-bottom: 1px solid grey;
}

#error_container {
  margin: 5px;
}
#error_container div {
  padding: 1px;
  margin: 1px;
}
textarea {
    height: 5em;
}
li.alternate_row_color:nth-child(even) {
    background-color: #f1f1f1;
}
input::-webkit-input-placeholder {
    color: #757575;
    opacity: 1;
}
input:-moz-placeholder { /* Firefox 18- */
    color: #757575;
    opacity: 1;
}
input::-moz-placeholder { /* Firefox 19+ */
    color: #757575;
    opacity: 1;
}
input:-ms-input-placeholder {
    color: #757575;
    opacity: 1;
}
select {
    color: #757575 !important;
}
hr.line_separator{
    border-top: 1px solid #bfbfbf;
    margin-top:12px;
    margin-bottom:12px;
}
.iframe-container {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
}
.iframe-container iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
/* 4x3 Aspect Ratio */
.iframe-container-4x3 {
    padding-top: 75%;
}

.meeting_conf_card{
    min-height: 400px;
}

.w3-btn, .w3-btn-block, .w3-btn-small, .w3-btn-block-small {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -user-select: none;
}

.w3-btn:active, .w3-btn-block:active, .w3-btn-small:active, .w3-btn-block-small:active, .clickable:active {
    transform: scale(1.01);
    /* Lowering the shadow */
    box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24);
}

/* New sticky header styles */
/* Sticky header container */
#sticky_header_container {
    position: relative;
    z-index: 2;
}

/* When status bar is sticky */
#status_bar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

/* When content_top is sticky */
#content_top.sticky {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1;
    padding-left:0;
    padding-right: 0;
}
#content_top.sticky > * {
    border-radius: 0 !important;
}


/* Spacers to prevent content jump */
.status-bar-spacer,
.content-top-spacer {
    display: none;
}

/* Only show spacers when elements are sticky */
.status-bar-spacer.active,
.content-top-spacer.active {
    display: block;
}

/* Ensure smooth transitions */
#status_bar,
#content_top {
    transition: padding 0.3s ease;
}
#content_top > * {
    transition: border-radius 0.3s ease;
}

@media only screen and (max-width: 600px) {
    #status_bar.sticky,
    #content_top.sticky {
        position: relative !important;
        top: auto !important;
    }
    .status-bar-spacer,
    .content-top-spacer {
        display: none !important;
    }
}

.stickable_header.sticky {
    position: fixed;
    top: 0;
    z-index: 1;
    background-color: inherit;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table-header-spacer {
    display: none;
}

.table-header-spacer.active {
    display: block;
}

/* base sticky table header container */
.sticky-table-header {
    transition: padding 160ms ease, border-radius 160ms ease, left 160ms ease, width 160ms ease, box-shadow 160ms ease;
    border-radius: 8px; /* will animate to 0 when expanded */
    background-color: inherit; /* matches current theme */
}

/* when sticky/expanded to full width */
.sticky-table-header.expanded {
    border-radius: 0; /* match the content_top "enlarged" look */
}

/* Fix for sidenav dropdown content to push down elements instead of overlay */
.w3-sidenav .w3-dropdown-content {
    position: static !important;
    display: none;
    width: 100%;
    box-shadow: none !important;
    border: none !important;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Show dropdown content with smooth transition */
.w3-sidenav .w3-dropdown-content.w3-show {
    display: block;
    animation: slideDown 0.15s ease-out;
}

.w3-sidenav .w3-dropdown-click a {
    margin:0;
    padding: 7px 10px;
}

/* Smooth slide down animation for dropdown content */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
    }
    to {
        opacity: 1;
        max-height: 300px;
        overflow: visible;
    }
}

/* Style the dropdown links to be slightly indented */
.w3-sidenav .w3-dropdown-content a {
    padding-left: 32px !important;
    border-left: 3px solid #e0e0e0;
    background-color: transparent;
}

/* Hover effect for dropdown links */
.w3-sidenav .w3-dropdown-content a:hover {
    background-color: #e9ecef !important;
    border-left-color: #607d8b;
}

/* Override opening animation duration to match closing */
.sidenav_element.w3-animate-left {
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
}

/* Sidenav closing animation */
.sidenav-closing {
    -webkit-animation: animateLeftClose 0.3s ease-out;
    animation: animateLeftClose 0.3s ease-out;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@-webkit-keyframes animateLeftClose {
    from {
        left: 0;
        opacity: 1;
    }
    to {
        left: -300px;
        opacity: 0;
    }
}

@keyframes animateLeftClose {
    from {
        left: 0;
        opacity: 1;
    }
    to {
        left: -300px;
        opacity: 0;
    }
}

@keyframes eq-blink-background {
    0%, 50%, 100% { background-color: var(--eq-blink-from); }
    30%, 80% { background-color: #fc9; }
}
.eq-blink-background {
    animation: eq-blink-background 1s linear 300ms 1;
}