/* =========================================================
   EULiST osTicket Client Theme
   ========================================================= */

:root {
    --eulist-blue: #003DA5;
    --eulist-dark-blue: #151F6D;
    --eulist-orange: #FF7439;
    --eulist-green: #008540;
    --eulist-light-blue: #69A3E8;
    --eulist-beige: #F5EFEB;
    --eulist-purple: #DEA8E8;

    --eulist-text: #30261E;
    --eulist-border: #e5e5e5;
    --eulist-light-bg: #f7f8fa;

    --eulist-radius: 12px;
}


/* ---------------------------------------------------------
   General
   --------------------------------------------------------- */

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #fff;
    color: var(--eulist-text);
    font-family: "Outfit", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

a {
    color: var(--eulist-blue);
    text-decoration: none;
}

a:hover {
    color: var(--eulist-dark-blue);
}

a.eulist-logo:hover {
    border-bottom:0;
    margin-bottom:1px;
}


#container {
    width: 100%;
    max-width: none;
    margin: 0;
    background: #fff;
}


/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

#header.eulist-header {
    height: auto;
    padding: 24px 40px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid var(--eulist-border);
    box-sizing: border-box;
}

.eulist-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

#logo.eulist-logo {
    display: block;
    float: none;
    width: auto;
    height: auto;
}

#logo.eulist-logo img {
    width: 170px;
    max-height: none;
    display: block;
}

.eulist-title {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 30px;
    border-left: 1px solid var(--eulist-border);
}

.eulist-title-main {
    color: var(--eulist-dark-blue);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
}

.eulist-title-sub {
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

.eulist-user-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.eulist-user-name {
    font-weight: 600;
    color: var(--eulist-dark-blue);
}

.eulist-user-nav a {
    white-space: nowrap;
}

.eulist-languages {
    max-width: 1320px;
    margin: 10px auto 0;
    text-align: right;
}


/* ---------------------------------------------------------
   Main Navigation
   --------------------------------------------------------- */

#nav {
    float: none;
    width: auto;
    max-width: 1320px;
    height: auto;
    margin: 0 auto !important;
    padding: 0 40px !important;

    display: flex;

    list-style: none;

    background: var(--eulist-dark-blue);

    box-sizing: content-box;
}

#nav li {
    margin: 0;
    padding: 0;
}

#nav li a {
    background-image:none!important;
    display: block;

    padding: 17px 24px;

    color: #fff;

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

    text-decoration: none;

    border: 0;

    border-radius: 0;

}

#nav li a:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
}

#nav li a.active {
    background: var(--eulist-orange);
    color: #fff;
}


/* Make blue background span full width */
#header + .clear + #nav {
    max-width: none;
    padding-left: calc((100% - 1320px) / 2 + 40px) !important;
    padding-right: calc((100% - 1320px) / 2 + 40px) !important;
}


/* ---------------------------------------------------------
   Content
   --------------------------------------------------------- */

#content {
    width: auto;
    max-width: 1240px;

    min-height: 500px;

    margin: 0 auto;
    padding: 50px 40px 70px;

    box-sizing: border-box;
}

h1,
h2,
h3,
h4 {
    font-family: "Outfit", Arial, sans-serif;
    color: var(--eulist-dark-blue);
}

h1 {
    font-size: 38px;
    line-height: 1.15;
}

h2 {
    font-size: 28px;
}

.thread-body, .thread-body * {
    font-family: "Outfit", Arial, sans-serif!important;
}

.thread-body div, .thread-body p, .thread-body ul, .thread-body ol, .thread-body table, .thread-body dl, .thread-body blockquote, .thread-body pre {
font-size:16px;
}

/* ---------------------------------------------------------
   Forms
   --------------------------------------------------------- */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="reset"],
select,
textarea {
    border: 1px solid #ccc;
    border-radius: 7px;

    padding: 10px 12px;

    font-family: inherit;
    font-size: 15px!important;

    background: #fff;

    box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--eulist-blue);
    outline: 2px solid rgba(0, 61, 165, .12);
}


/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */

button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.button,
.action-button {
    border: 0 !important;
    border-radius: 999px !important;

    padding: 11px 24px !important;

    background: var(--eulist-blue) !important;
    color: #fff !important;

    font-family: inherit !important;
    font-weight: 600;

    cursor: pointer;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.button:hover,
.action-button:hover {
    background: var(--eulist-dark-blue) !important;
}


/* ---------------------------------------------------------
   Messages
   --------------------------------------------------------- */

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

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

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


/* ---------------------------------------------------------
   Tables / Tickets
   --------------------------------------------------------- */

table {
    border-collapse: collapse;
}

table.list {
    border: 1px solid var(--eulist-border);
    border-radius: var(--eulist-radius);
    overflow: hidden;
}

table.list th {
    background: var(--eulist-dark-blue);
    color: #fff;
}

table.list tr:hover td {
    background: #f7f9fc;
}


/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

#footer.eulist-footer {
    width: 100%;
    height: auto;

    margin: 0;
    padding: 40px;

    background: var(--eulist-dark-blue);
    color: #fff;

    box-sizing: border-box;
}

.eulist-footer-inner {
    max-width: 1240px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.eulist-footer-brand img {
    width: 140px;
    height: auto;
}

.eulist-footer-brand p {
    margin: 12px 0 0;
    font-size: 13px;
}

.eulist-footer-info {
    text-align: right;
}

.eulist-footer-info p {
    margin: 3px 0;
    color: #fff;
}

.eulist-footer-powered {
    font-size: 12px;
    opacity: .75;
}

.eulist-footer a {
    color: #fff!important;
    text-decoration: underline;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 768px) {

    #header.eulist-header {
        padding: 20px;
    }

    .eulist-header-inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    #logo.eulist-logo img {
        width: 140px;
    }

    .eulist-title {
        border-left: 0;
        padding-left: 0;
        flex-basis: 100%;
    }

    .eulist-title-main {
        font-size: 21px;
    }

    .eulist-user-nav {
        flex-wrap: wrap;
    }

    #nav {
        display: block;

        padding: 0 !important;

        background: var(--eulist-dark-blue);
    }

    #nav li {
        display: block;
    }

    #nav li a {
        padding: 14px 20px;
    }

    #header + .clear + #nav {
        padding: 0 !important;
    }

    #content {
        padding: 30px 20px 50px;
    }

    .eulist-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .eulist-footer-info {
        text-align: left;
    }

}
