
img {
    max-width: 100%;
}
input,
select,
textarea {
    font-size: 100%;
    /*margin: 0;*/
    margin: 5px 0;
    border: 1px solid #bbb;
    padding: 7px 10px;
}
/* Typography */
a, .link {
    color: #1EB3C0;
}
a:hover, .link:hover {
    border-bottom: unset;
}
h1 {
    color: #1EB3C0;
}

#pagination li a:hover {
    color: #E72631;
}

#msg_error {
    border: 1px solid #E72631;
}
.warning strong {
    color: #E72631;
}
.error {
    color: #E72631;
}
.error input {
    border: 1px solid #E72631;
}
/* Make blue buttons (links) High Rocks teal*/
.blue.button,
.blue.button:visited {
    background-color: #1EB3C0;
}
.blue.button:hover {
    background-color: #165A67;
}
/* Fill screen width, with max 1280px */
#container {
    /*width: 840px;*/
    width: 100%;
    max-width: 1280px;
}
/* Allow header to be taller */
#header {
    /*height: 71px;*/
    height: unset;
    & #logo img {
        /* Make logo image a little bigger */
        /*max-height: 65px;*/
        /*max-width: 380px;*/
        max-height: 100px;
        max-width: unset;
    }
}
/* Center logo and add bottom padding */
#logo {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    padding-bottom: 20px;
}

/* Navigation bar: background color, spacing, colors, and active/hover */
#nav {
    margin: 0;
    padding: 2px 10px;
    height: unset;
    box-shadow: unset;
    background: #165A67;
    border-top: 0;
    overflow: hidden; /* Ensures that the floated elements are contained within the navbar */
    & li {
        /*padding: 0;*/
        padding: unset;
        /*list-style: none;*/
        /*display: inline;*/
        display: inline-block;
        & a {
            color: #ddd;
            padding: 15px 10px 15px 32px;
            &.active, &:hover {
                background-color: unset;
                /*color: #000;*/
                color: #ef444e;
            }
        }
    }
}

.main-content {
    /*width: 565px;*/
    width: 100%;
}

/* LoginContent is a custom div added to login.inv.php. Center login page box */
#loginContent {
    margin: 50px auto;
    max-width: 400px;
}

/* ClientLogin is used on client login, open, and check ticket status */
#clientLogin {
    /*box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);*/
    box-shadow: unset;
    /*background: url('../images/lock.png?1319655200') 95% 50% no-repeat #f6f6f6;*/
    background: #f6f6f6;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    & > div[style="display:table-row" ] {
        /* Force change layout of client check ticket status form from tabular (two columns) to one column */
        display: block !important;
    }
    & div input, & div textarea {
        /* make button and fields pull width of form */
        /*width: auto;*/
        width: 100%;
        box-sizing: border-box;
    }
    & .login-box {
        /*width:40%;*/
        width: unset;
        /*display:table-cell;*/
        display: unset;
        /*box-shadow: 12px 0 15px -15px rgba(0,0,0,0.4);*/
        box-shadow: unset;

        text-align: center;
        margin: 0 auto;
        max-width: 350px;
    }
    & .instructions {
        /*display:table-cell;*/
        padding-left: 2em;
        /*padding-right:90px;*/
        padding-right: 2em;
    }
    & .external-auth {
        max-width: 350px;
        margin: 0 auto;
        & .external-auth-box {
            max-width: 350px;
            text-align: center;
            margin: 0 auto;
        }
    }
}


/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    #nav {
        text-align: center; /* Center-align links when in hamburger menu */
    }
    #nav li {
        display: block; /* Make list items stack vertically */
        margin: 0;
    }
    #nav li a {
        border-radius: 0; /* Remove border-radius for small screens */
        margin: 0;
    }

    #nav.responsive ul {
        display: block;
        width: 100%;
        text-align: left; /* Align text to left when in hamburger menu */
    }

    .sidebar {
        margin-left: 0;
        width: 100%; /* Occupy full width */
    }

    .main-content {
        width: 100%;
        margin-right: 0; /* Remove margin for better alignment */
    }
}




