/* =========================================================
   VARD & WOLFE
   osTicket Client Portal Branding
   ========================================================= */

:root {
    --vw-navy: #082f4f;
    --vw-navy-dark: #061f35;
    --vw-blue: #55b9e8;
    --vw-blue-light: #eaf7fc;
    --vw-text: #17364d;
    --vw-muted: #667b8c;
    --vw-border: #dce6ed;
    --vw-background: #f4f7f9;
}

/* PAGE */

html,
body {
    background: var(--vw-background);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    color: var(--vw-text);
}

#container {
    width: 1100px;
    max-width: calc(100% - 40px);
    margin: 30px auto;
    background: #fff;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(7, 39, 63, .10);
    overflow: hidden;
}


/* =========================================================
   HEADER
   ========================================================= */

#header {
    height: 105px;
    padding: 0 32px;
    background: #fff;
    border: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
}

#header #logo {
    display: flex;
    align-items: center;
    height: 100%;
    float: none !important;
}

#header #logo .valign-helper {
    display: none;
}

#header #logo img {
    display: block;
    max-width: 330px;
    max-height: 78px;
    width: auto;
    height: auto;
}


/* ACCOUNT LINKS */

#header .pull-right {
    margin-left: auto;
    float: none !important;
    text-align: right;
    color: var(--vw-muted);
    font-size: 13px;
}

#header .pull-right p {
    margin: 3px 0;
}

#header .pull-right a {
    color: #087eb7;
    text-decoration: none;
    font-weight: 600;
}

#header .pull-right a:hover {
    color: var(--vw-navy);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

#nav {
    float: none !important;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 54px;
    margin: 0 !important;
    padding: 0 25px !important;
    list-style: none;
    background: var(--vw-navy);
    border: 0 !important;
    box-shadow: none !important;
}

#nav li {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: none !important;
    border: 0 !important;
}

#nav li a {
    display: block;
    padding: 17px 20px !important;
    margin: 0 !important;

    color: #dceaf3 !important;
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none !important;
    text-shadow: none !important;

    box-shadow: none !important;
}

#nav li a:hover {
    color: #fff !important;
    background: rgba(85,185,232,.12) !important;
}

#nav li a.active {
    color: #fff !important;
    background: rgba(85,185,232,.18) !important;
    box-shadow: inset 0 -3px 0 var(--vw-blue) !important;
}


/* Kill legacy nav icon styling */

#nav li a:before {
    opacity: .85;
}


/* =========================================================
   CONTENT
   ========================================================= */

#content {
    border: 0 !important;
    background: #fff;
    min-height: 450px;
}


/* GENERAL LINKS */

#content a {
    color: #087eb7;
}

#content a:hover {
    color: var(--vw-navy);
}


/* =========================================================
   FORMS
   ========================================================= */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea,
select {
    border: 1px solid #cddbe4;
    border-radius: 5px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    border-color: var(--vw-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(85,185,232,.12);
}


/* BUTTONS */

button,
input[type="submit"],
.button {
    border-radius: 5px !important;
}


/* =========================================================
   ALERTS
   ========================================================= */

#msg_notice,
.notice_bar {
    border-radius: 5px;
}

#msg_error,
.error_bar {
    border-radius: 5px;
}

#msg_warning,
.warning_bar {
    border-radius: 5px;
}


/* =========================================================
   FOOTER
   ========================================================= */

#footer {
    border: 0 !important;
    background: transparent !important;
    color: #718493 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    #container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }

    #header {
        height: auto;
        min-height: 90px;
        padding: 15px 18px;
    }

    #header #logo img {
        max-width: 230px;
        max-height: 65px;
    }

    #header .pull-right {
        font-size: 12px;
    }

    #nav {
        overflow-x: auto;
        padding: 0 8px !important;
    }

    #nav li {
        flex: 0 0 auto;
    }

    #nav li a {
        padding: 15px 13px !important;
        white-space: nowrap;
    }
}

/* =========================================================
   VARD & WOLFE HEADER/NAV OVERRIDES
   ========================================================= */

/* Header layout */
#header {
    display: block !important;
    position: relative !important;
    height: 120px !important;
    padding: 0 32px !important;
    background: #ffffff !important;
}

/* Logo — LEFT */
#header #logo {
    position: absolute !important;
    left: 32px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    display: block !important;
    float: none !important;

    width: auto !important;
    height: auto !important;
}

/* Actual logo image */
#header #logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 300px !important;
    max-height: 90px !important;
}

/* Account controls — RIGHT */
#header .pull-right {
    position: absolute !important;
    right: 32px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    float: none !important;
    margin: 0 !important;

    text-align: right !important;
    color: #617789 !important;
    font-size: 14px !important;
}

#header .pull-right p {
    margin: 0 !important;
}

#header .pull-right a {
    color: #087eb7 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

#nav {
    display: flex !important;
    align-items: stretch !important;

    float: none !important;

    width: auto !important;
    min-height: 56px !important;

    margin: 0 !important;
    padding: 0 25px !important;

    background: #082f4f !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

#nav li {
    display: block !important;
    float: none !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
}

#nav li a {
    display: flex !important;
    align-items: center !important;

    height: 56px !important;
    box-sizing: border-box !important;

    padding: 0 22px !important;
    margin: 0 !important;

    color: #dceaf3 !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    text-shadow: none !important;

    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Remove old osTicket nav icons */
#nav li a:before {
    display: none !important;
}

/* Hover */
#nav li a:hover {
    color: #ffffff !important;
    background: #0d4169 !important;
    background-image: none !important;
}

/* Current page */
#nav li a.active {
    color: #ffffff !important;

    background: #0d4169 !important;
    background-image: none !important;

    box-shadow:
        inset 0 -4px 0 #55b9e8 !important;
}


/* Remove old floats immediately following header */
#header + .clear {
    display: none !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    #header {
        height: 105px !important;
        padding: 0 15px !important;
    }

    #header #logo {
        left: 15px !important;
    }

    #header #logo img {
        max-width: 210px !important;
        max-height: 70px !important;
    }

    #header .pull-right {
        right: 15px !important;
        font-size: 12px !important;
    }

    #nav {
        overflow-x: auto !important;
        padding: 0 !important;
    }

    #nav li {
        flex: 0 0 auto !important;
    }

    #nav li a {
        height: 52px !important;
        padding: 0 15px !important;
        white-space: nowrap !important;
        font-size: 13px !important;
    }
}


/* Vard & Wolfe final sizing refinements */

#header {
    height: 105px !important;
}

#header #logo img {
    max-width: 275px !important;
    max-height: 78px !important;
}

#nav {
    min-height: 52px !important;
}

#nav li a {
    height: 52px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Slightly tighten home hero */
.vw-hero {
    padding-top: 60px !important;
    padding-bottom: 62px !important;
}


/* =========================================================
   VARD & WOLFE FOOTER
   ========================================================= */

#footer {
    width: auto !important;
    margin: 0 !important;
    padding: 28px 30px 30px !important;

    background: #071f35 !important;
    border: 0 !important;

    color: #a9bdca !important;
    text-align: center !important;
}

.vw-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;

    font-size: 13px;
    line-height: 1.5;
}

.vw-footer-brand {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.vw-footer-services {
    color: #a9bdca;
}

.vw-footer-services span {
    color: #55b9e8;
    padding: 0 8px;
}

.vw-footer-links a {
    color: #55b9e8 !important;
    text-decoration: none !important;
    font-weight: 600;
}

.vw-footer-links a:hover {
    color: #ffffff !important;
}

@media (max-width: 600px) {

    #footer {
        padding: 24px 18px !important;
    }

    .vw-footer-services span {
        padding: 0 4px;
    }
}

