/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */
/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/* * What follows is the result of much research on cross-browser styling. * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, * Kroc Camen, and the H5BP dev community and team. */
/* ========================================================================== Base styles: opinionated defaults ========================================================================== */
html {
    color: #575756;
    font-size: 1em;
    line-height: 1.4;
    scroll-behavior: smooth;
}

@font-face {
    font-family: SRHFONT_HEADLINE;
    src: url("SRHHeadline_W_Bd.woff2");
    font-display: swap;
}

@font-face {
    font-family: SRHFONT_BOLD;
    src: url("SRHText_W_Bd.woff2");
    font-display: swap;
}

/* * Remove text-shadow in selection highlight: * https://twitter.com/miketaylr/status/12228805301 * * Vendor-prefixed and regular ::selection selectors cannot be combined: * https://stackoverflow.com/a/16982510/7133471 * * Customize the background color to match your design. */
::-moz-selection {
    background: #95d0fc;
    text-shadow: none;
}
::selection {
    background: #95d0fc;
    text-shadow: none;
}
/* * A better looking default horizontal rule */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
/* * Remove the gap between audio, canvas, iframes, * images, videos and the bottom of their containers: * https://github.com/h5bp/html5-boilerplate/issues/440 */
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}
/* * Remove default fieldset styles. */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
/* * Allow only vertical resizing of textareas. */
textarea {
    resize: vertical;
}
/* ========================================================================== Author's custom styles ========================================================================== */
/* ========================================================================== Helper classes ========================================================================== */
/* * Hide visually and from screen readers */
.hidden,
[hidden] {
    display: none !important;
}
/* * Hide only visually, but have it available for screen readers: * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility * * 1. For long content, line feeds are not interpreted as spaces and small width * causes content to wrap 1 word per line: * https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe */
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
    /* 1 */
}
/* * Extends the .sr-only class to allow the element * to be focusable when navigated to via the keyboard: * https://www.drupal.org/node/897638 */
.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}
/* * Hide visually and from screen readers, but maintain layout */
.invisible {
    visibility: hidden;
}
/* * Clearfix: contain floats * * For modern browsers * 1. The space content is one way to avoid an Opera bug when the * `contenteditable` attribute is included anywhere else in the document. * Otherwise it causes space to appear at the top and bottom of elements * that receive the `clearfix` class. * 2. The use of `table` rather than `block` is only necessary if using * `:before` to contain the top-margins of child elements. */
.clearfix::before,
.clearfix::after {
    content: " ";
    display: table;
}
.clearfix::after {
    clear: both;
}
/* ========================================================================== EXAMPLE Media Queries for Responsive Design. These examples override the primary ('mobile first') styles. Modify as content requires. ========================================================================== */
@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}
@media print,
    (-webkit-min-device-pixel-ratio: 1.25),
    (min-resolution: 1.25dppx),
    (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}
/* ========================================================================== Print styles. Inlined to avoid the additional HTTP request: https://www.phpied.com/delay-loading-your-print-css/ ========================================================================== */
@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]::after {
        content: " (" attr(href) ")";
    }
    abbr[title]::after {
        content: " (" attr(title) ")";
    }
    /* * Don't show links that are fragment identifiers, * or use the `javascript:` pseudo protocol */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    /* * Printing Tables: * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables */
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}
html,
body {
    font-family: SRHFONT_BOLD, sans-serif;
  background:linear-gradient(
          rgba(0, 0, 0, 0.2), 
          rgba(0, 0, 0, 0.2)
        ), url(../img/srh_campus.jpg) no-repeat center center fixed;

    background-size: cover;
    height: 100vh;
  
 
}

#notification_bar {
    background: rgba(0, 0, 0, 0.6);

    display: flex;
    display: none;
    color: #fff;
    justify-content: center;
    animation-duration: 2s;
    animation-name: notification_bar;
    transition: max-height ease-out;
    animation-fill-mode: forwards;
    box-shadow: inset 0 -16px 16px -16px rgba(0, 0, 0, 0.4);
}
@keyframes notification_bar {
    from {
        max-height: 0;
    }
    to {
        max-height: 100px; /* your line height here */
    }
}

#notification_message {
    padding: 1em;
}

#notification_message a,
#notification_message a:active {
    color: #fff;
    font-size: 1em;
    vertical-align: baseline;
}

.headline h3,
#faq_button,
#back_button {
    font-family: SRHFONT_HEADLINE, sans-serif;
    font-size: 1.2em;
    float: left;
    margin-top: 0;
    margin-bottom: 16px;
}

.headline h3 > span {
    /* animation: 1s ease-out 0s 1 slideInFromLeft; */
}
/*
@keyframes slideInFromLeft {
  from { opacity: 0; }
    to   { opacity: 1; }
}
*/

.content_wrapper_homepage h3 {
    padding-right: 1em;
    font-size: 1em;
}
a,
a:active {
	color: #575756;
    font-size: 11px;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}

#faq_list a,
#faq_list a:active {
    font-size: 1em;
    vertical-align: baseline;
}

header a,
header a:active {
    font-size: 1em;
}

a.branding {
    display: none !important;
}
.content_wrapper,
.content_wrapper_homepage {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    align-items: center;
    min-height: 80px;
}

.product_img {
    object-fit: cover;
    height: 80px;
    margin-right: 24px;
    width: 80px;
}
.logo_img {
    position: absolute;
    top: -9999px;
    left: -9999px;
    right: -9999px;
    bottom: -9999px;
    margin: auto;
    max-width: 100%;
}
.img_wrapper {
}

.serial_number{
	font-size:10px;
	font-weight:100;
}

.logo_wrapper {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    margin-bottom: 16px;
}
#container {
}
#wrapper {
    padding: 16px;
    box-sizing: border-box;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    margin: auto;
    width: 90%;
    border: 1px solid #fff;

    max-width: 650px;
    background: rgba(255, 255, 255, 0.95);
    -webkit-border-bottom-right-radius: 0px;
    -webkit-border-bottom-left-radius: 0px;
    -moz-border-radius-bottomright: 0px;
    -moz-border-radius-bottomleft: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
#qr_code_image {
    width: 150px;
    height: auto;
}

#faq_button,
#back_button {
    float: right;
    font-size: 1.1em;
}

#faq_list dt {
    font-size: 1.1em;
    font-family: SRHFONT_HEADLINE, sans-serif;
}

#faq_list dd {
    margin-bottom: 1em;
    font-style: italic;
    font-size: 1em;
    color: #666666;
}
#faq_list dd:last-of-type {
    margin-bottom: 0;
}

.child {
    box-shadow: inset 0px 0px 9px -3px rgba(0, 0, 0, 0.67);
    min-height: 80px;
    margin-bottom: 16px;
    padding: 10px;
}



@media only screen and (max-width: 650px) {
    #wrapper {
        max-width: 100%;
        width: 100%;
    }
}

@media only screen and (max-width: 550px) {
    #wrapper {
        padding: 16px;
    }
}

@media only screen and (max-width: 500px) {
    .logo_wrapper {
        height: 130px;
    }

    #wrapper {
        padding: 16px;
    }
}

@media only screen and (max-width: 480px) {
    .logo_wrapper,
    .headline h3 {
        line-height: 1.2;
    }

    #wrapper {
        padding: 12px;
    }

    .child {
        margin-bottom: 12px;
    }

    .logo_wrapper {
        height: 125px;
    }
    .content_wrapper_homepage {
        width: 100%;
        height: 100%;
        align-items: center;
        min-height: 80px;
    }
    #qr_code_image {
        width: 100%;
        height: auto;
    }
    .content_wrapper_homepage h3 {
        padding-right: 0;
    }
}

@media only screen and (max-width: 380px) {
    .logo_wrapper {
        height: 110px;
    }
}

@media only screen and (max-width: 340px) {
    #status_badge {
        max-width: 250px !important;
    }

    #wrapper {
        padding: 12px;
    }

    .logo_wrapper {
        height: 100px;
    }
}

.child:last-of-type {
    margin-bottom: 0;
}
.alert-banner {
    position: relative !important;
    min-height: 0 !important;
}
.alert-nav {
    padding: 0 !important;
}
#status_badge {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 250px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    -webkit-border-bottom-right-radius: 08px;
    -webkit-border-bottom-left-radius: 08px;
    -moz-border-radius-bottomright: 08px;
    -moz-border-radius-bottomleft: 08px;
    border-bottom-right-radius: 08px;
    border-bottom-left-radius: 08px;
}
#status_badge_text {
    color: #333;
    display: block;
    text-shadow: 0 1px 0 rgb(255 255 255);
    font-weight: bold;
    font-size: 0.9em;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
}
#status_badge_text #heart {
    color: #d04807;
}


/*report a problem*/


#report-form {
    width: 100%;
   
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, margin 0.4s ease-in-out;
    margin: 0;
}

#report-form.show {
    max-height: 500px; /* Adjust this value based on your form's maximum height */
    opacity: 1;
   
}

#report-form textarea,
#report-form input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0);
    border:1px solid #fff;
    outline: none;

    box-shadow: inset 0px 0px 9px -3px rgba(0, 0, 0, 0.67);
}

#report-form input[type="email"] {
margin-bottom:1em;
}

#report-form textarea {
   
   height:100px;
    
}





/* Styles for the status container */

.textarea-container {
    position: relative; /* Position relative to contain absolutely positioned children */
    margin-top:1em;
}

#report-status {
    position: relative;
    left: .5em;
   margin-bottom:.8em;
   font-size:.9em;
    color:#E04707;
    
   
}

/* Base button styles for both report button and form buttons */
.form_buttons
{
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    box-sizing: border-box;

    /* Text styles */
    color: #fff;
    text-align: center;

    /* Border styles */
    
    border-radius: 0;
    outline: none;

    /* Background styles */
    background-color: rgba(0, 105, 154, 0.9);
    background-size: 10px 10px;
border:none;
    /* Effects */
    cursor: pointer;
    position: relative;
    top: 0; /* Enable smooth transition from default to active state */
    box-shadow: 0 2px 6px rgba(100, 100, 100, 0.6);
    transition: all 0.3s ease; /* Changed to all for smoother transitions */

}

.form_buttons.no_margin {

   margin-bottom: 0; 

}

#faq_link
{
  
    color: #fff;
text-decoration: none;  
font-size:1em;
display:block;

}

/* Active state - modified to maintain shadow */
.form_buttons:active {

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9); /* Adjust shadow on active/focus */
    transform: translateY(1px); /* Add slight movement */
}

/* Specific styles for report button */
#report-button,
#faq-button
{
    text-align: left;
   
}



/* Hover states */
.form_buttons:hover {
    background-color: rgba(0, 105, 154, 1);
    box-shadow: 0 2px 6px rgba(100, 100, 100, 0.4);
}





/* Toggle indicator styles */
.toggle-indicator {
    float: right;
    font-weight: bold;
    margin-left: 10px;
    transition: transform 0.3s ease;
}



/* CSS to create a flashing effect */
@keyframes flashing {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.flashing {
    animation: flashing 1s infinite;
}




@media (prefers-color-scheme: dark) {

    /*


    html, body {
        color: #d4d4d4;
        background: linear-gradient(
            rgba(0, 0, 0, 0.6), 
            rgba(0, 0, 0, 0.6)
        ), url(../img/srh_campus.jpg) no-repeat center center fixed;
        background-size: cover;
        height: 100vh;
    }

    #wrapper {
        background: rgba(30, 30, 30, 0.95);
        border:none;
        box-shadow:0 0 10px 1px rgba(93, 93, 93, 0.8);
    }

    a,
    a:active {
        color: #d4d4d4;
    }

    a:hover {
        color: #white;
    }

    .headline h3,
    #faq_button,
    #back_button {
        color: #d4d4d4;
    }



    .child {
        box-shadow: inset 0px 0px 14px -3px rgba(255, 255, 255, 0.3),    inset 0px 0px 1px 1px  #333;
        background-color: rgba(0, 0, 0, 0);
    }

    #notification_bar {
        background: rgba(50, 50, 50, 0.8);
    }

    #status_badge {
        background: rgba(30, 30, 30, 1);
        box-shadow: inset 0px 5px 8px -5px  #111; 

    }

    #status_badge_text {
        color: #d4d4d4;
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
    }

    #status_badge_text #heart {
        color: #ff6b6b;
    }




    #report-form textarea,
    #report-form input[type="email"] {
       
        border: none;
        box-shadow: inset 0px 0px 14px -3px rgba(255, 255, 255, 0.3),   inset 0px 0px 1px 1px  #333;
        background-color: rgba(0, 0, 0, 0);
        color: #d4d4d4;
    }

    #report-status {
        color: #ff6b6b;
    }

    .form_buttons {
        background-color: rgba(0, 105, 154, 0.7);
        color: #d4d4d4;
    }

    .form_buttons:hover {
        background-color: rgba(0, 105, 154, 0.9);
    }

    hr {
        border-top: 1px solid #444;
    }


    img{

        f
        ilter: brightness(0.9);
    }


    */
}