@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    background: linear-gradient(180deg, #eef4fc 0%, #f8fbff 100%);
    color: #1f2937;
    line-height: 1.6;
}

#container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(4, 18, 56, 0.10);
    border-radius: 0;
    overflow: hidden;
}



a:hover,
.link:hover {
    border-bottom: none !important;
    margin-bottom: 0;
    cursor: pointer;
}

/* ===========================
   HEADER
=========================== */

#header {
    /*background: linear-gradient(135deg,#021B63 0%,#082C83 60%,#0A3A9C 100%) !important;*/
    height: 80px !important;
    min-height: 80px !important;
    padding: 0 40px !important;

    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row-reverse;
    border: none !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
    overflow: hidden;
}

#header:after {
    display: none !important;
}

/* Logo */

#logo {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

#logo img {
    height: 100px !important;
    width: auto !important;
    display: block;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .25));
    max-height:100px !important;
}

/* Right Side */

#header .pull-right {
    display: flex !important;
    /*align-items:center !important;*/
    justify-content: flex-end !important;
    gap: 18px;

    /*color:#fff;*/
    font-size: 16px;
    font-weight: 500;
    margin: 0 !important;
}

#header .pull-right p {
    margin: 0 !important;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding: 0px 12px;
}
#header p {
    width: 460px;
    margin: 0;
    padding: 10px 0 0;
}
#header .pull-right a {
    color: #6EA8FF !important;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}


#header .pull-right span {
    color: rgba(255, 255, 255, .45);
}

/* Remove default float */

#header .pull-left,
#header .pull-right {
    float: none !important;
}

#nav {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;

    padding: 45px 40px;
    border: none !important;
    /*border-bottom:1px solid #E6ECF5;*/
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

#nav li {
    list-style: none;
}

#nav li a {

    display: flex;
    align-items: center;
    gap: 10px;

    color: #0D2B74;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;

    padding: 20px 35px;
    border-bottom: 3px solid transparent;

    transition: .3s;
}

#nav li a:hover,
#nav li a.active {

    color: #1D5CFF;
    border-color: #1D5CFF;
}

#content {
    padding: 32px 34px 42px;
    background: #ffffff;

}

#content h1,
#content h2,
#content h3,
#content h4 {
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    color: #0a2f79;
    margin-bottom: 12px;
}

#content p,
#content li,
#content label,
#content input,
#content textarea,
#content select,
#content button,
#content .subtext,
#content .faded {
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

#content a {
    color: #0a3d9c;
    text-decoration: none;
}

#content a:hover {
    text-decoration: underline;
}

/* Center the heading and description */
#content h1,
#content>p {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Optional: Add spacing */
#content h1 {
    margin-bottom: 12px;
}

#content>p {
    margin-bottom: 30px;
    color: #666;
}

#ticketForm {
    display: block;
    margin: 20px 0 0;
    padding: 26px;
    background: #f8fbff;
    border: 1px solid #d8e6fa;
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(4, 18, 56, 0.07);
    width: 750px;
    margin: 0 auto;
}

#ticketForm table {
    /*width: 100%;*/
    border-collapse: separate;
    border-spacing: 0 8px;
}

#ticketForm table td {
    padding: 8px 0;
    vertical-align: top;
    color: #203a5b;
}

#ticketForm table td:first-child {
    width: 700px !important;
    font-weight: 600;
    color: #0a2f79;
    padding-right: 16px;
}
.filedrop .files .file > span {
     padding: 0px 0 0 0 !important; 
    display: block;
}
#ticketForm table td[colspan="2"] {
    width: 100%;
    padding-right: 0;
    display: flex;
    flex-direction: column;
}

#ticketForm td[colspan="2"] label,
#ticketForm td[colspan="2"]>label {
    display: block;
    width: 100%;
}

#ticketForm td[colspan="2"] label span,
#ticketForm td[colspan="2"]>label>span {
    display: inline-block;
    margin-bottom: 8px;
}

#ticketForm td[colspan="2"] label br,
#ticketForm td[colspan="2"]>label br {
    display: none;
}

#ticketForm .form-header,
#ticketForm .error,
#ticketForm .required,
#ticketForm .captchaRow td:first-child {
    color: #0a2f79;
    font-weight: 600;
}

#ticketForm select,
#ticketForm input[type="text"],
#ticketForm input[type="password"],
#ticketForm textarea {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    border: 1px solid #c9d8ef;
    border-radius: 12px;
    background: #ffffff;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    color: #1f2937;
    box-shadow: inset 0 1px 2px rgba(5, 23, 62, 0.04);
    display: block;
}

#ticketForm textarea {
    min-height: 140px;
    resize: vertical;
}

#ticketForm select {
    min-height: 44px;
}

#ticketForm input[type="submit"],
#ticketForm input[type="reset"],
#ticketForm input[type="button"] {
    padding: 11px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0a2d85 0%, #1b57c6 100%);
    color: #ffffff;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(10, 45, 133, 0.18);
}

#ticketForm input[type="reset"],
#ticketForm input[type="button"] {
    background: linear-gradient(135deg, #0f7a55 0%, #18a677 100%);
}

#ticketForm .buttons {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

#ticketForm .captchaRow td {
    padding-top: 12px;
}

#ticketForm .captchaRow .captcha {
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

#ticketForm .error {
    color: #c6334a;
    font-size: 12px;
}

#landing_page {
    display: flex !important;
    flex-direction: row-reverse;
    gap: 10px;
    align-items: flex-start;
}

#landing_page .main-content {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

#landing_page .sidebar {
    float: none;
    width: 500px;
    display: flex !important;
    flex-direction: column;
    gap: 18px;
}

#landing_page .thread-body {
    background: linear-gradient(180deg, #f9fbff 0%, #edf4ff 100%);
    border: 1px solid #d8e6fa;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 16px 36px rgba(4, 18, 56, 0.07);
}

#landing_page .thread-body h1,
#landing_page .thread-body p {
    text-align: left;
}

#landing_page .search-form {
    margin-bottom: 20px;
}

#landing_page .search-form form {
    display: flex;
    gap: 12px;
    align-items: center;
}

#landing_page .search-form input.search {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #c9d8ef;
    border-radius: 12px;
    background: #fff;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

#landing_page .search-form button,
#landing_page .front-page-button a {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    text-decoration: none;
}

#landing_page .search-form button {
    background: linear-gradient(135deg, #0a2d85 0%, #1b57c6 100%);
    color: #fff;
}

#landing_page .front-page-button {
    margin-bottom: 0;
    margin-top: 20px;
    order: 2;
    /* text-align: center; */
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}

#landing_page .front-page-button p {
    margin: 0 0 12px;
}

#landing_page .front-page-button a.blue.button,
#landing_page .front-page-button a.green.button {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #0a2d85 0%, #1b57c6 100%);
    color: #fff;
    box-shadow: 0 12px 22px rgba(10, 45, 133, 0.16);
    font-size: 14px;
}

#landing_page .front-page-button a.green.button {
    background: linear-gradient(135deg, #0f7a55 0%, #18a677 100%);
}

#landing_page .sidebar .content {
    order: 1;
    padding: 18px;
    background: #f8fbff;
    border: 1px solid #d9e6f8;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(4, 18, 56, 0.05);
}

#landing_page .sidebar .content::before {
    content: "";
    display: block;
    width: 100%;
    height: 140px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: url('../assets/default/images/logo.png') center center no-repeat;
    background-size: contain;
    opacity: 0.9;
}

#landing_page .sidebar .content section {
    margin-bottom: 16px;
}

#landing_page .sidebar .content .header {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0a2f79;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

#landing_page .sidebar .content a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #24518b;
}

#landing_page .featured-category {
    width: 100%;
    display: block;
    margin: 18px 0 0;
    padding: 18px;
    background: #f8fbff;
    border: 1px solid #d9e6f8;
    border-radius: 18px;
}

#landing_page .category-name {
    font-size: 18px;
    font-weight: 700;
    color: #0a2f79;
    margin-bottom: 10px;
}

#landing_page .article-headline {
    margin-left: 0;
    padding: 10px 0;
    border-bottom: 1px solid #e4edf9;
}

#landing_page .article-title a {
    font-weight: 700;
    color: #0a3d9c;
}

#landing_page .article-teaser {
    height: auto;
    overflow: visible;
    color: #4b5f7a;
}

#clientLogin {
    display: block;
    margin: 24px 0 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    width: 750px;
    margin: 0 auto;
}

#clientLogin>div[style*="display:table-row"] {
    display: flex !important;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
    width: 100%;
}

#clientLogin .login-box {
    flex: 1 1 360px;
    max-width: 420px;
    padding: 22px;
    background: #f7faff;
    border: 1px solid #d8e5f7;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(4, 18, 56, 0.08);
}

#clientLogin .instructions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 260px;
    padding: 8px 0 8px 0;
    color: #38527a;
    font-size: 14px;
}

#clientLogin label {
    display: block;
    font-weight: 600;
    color: #1f3558;
    margin-bottom: 8px;
}

#clientLogin input[type="text"],
#clientLogin input[type="password"] {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid #c9d8ef;
    border-radius: 12px;
    background: #fff;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    color: #1f2937;
    box-shadow: inset 0 1px 2px rgba(5, 23, 62, 0.04);
}

#clientLogin input[type="submit"] {
    padding: 11px 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0a2d85 0%, #1b57c6 100%);
    color: #ffffff;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(10, 45, 133, 0.18);
}

#clientLogin input[type="submit"]:hover {
    background: linear-gradient(135deg, #031b63 0%, #0a2d85 100%);
}

#clientLogin strong {
    color: #d13f5b;
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
}

#clientLogin p {
    clear: both;
    margin: 0 0 10px;
}

#footer {
    padding: 22px 32px;
    /*background: linear-gradient(135deg, #031b63 0%, #0a2d85 100%);*/
    /*color: #eaf3ff;*/
    text-align: center;
    font-size: 14px;
}

#footer p {
    margin: 0 0 8px;
}

#footer a#poweredBy {
    color: #8cc8ff;
    text-decoration: none;
    font-weight: 600;
}

#footer a#poweredBy:hover {
    color: #ffffff;
}

#msg_error,
#msg_notice,
#msg_warning,
.warning-banner {
    margin-bottom: 16px;
    border-radius: 12px;
    padding: 12px 35px;
    font-weight: 500;
    min-height: 40px;
    line-height: 1.4;
}


#msg_error {
    background: #fff1f3;
    color: #8f1d3f;
    border: 1px solid #f6c4d2;
}

#msg_notice {
    background: #eff7ff;
    color: #0b4f8d;
    border: 1px solid #c9def8;
}

#msg_warning {
    background: #fff8e8;
    color: #945c02;
    border: 1px solid #eed49c;
}

#header,
#logo,
#logo img,
#footer,
#nav,
#content {
    background-clip: padding-box;
}

body,
#container,
#content,
#header,
#footer,
#nav {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.redactor-styles {
     display: none;
}
/* ==========================================
   STARTBIT - CREATE ACCOUNT PAGE
========================================== */

#create-account,
#account,
#accountForm,
form[action*="account.php"] {
    width: 750px;
    max-width: 100%;
    margin: 0 auto;
    padding: 28px;
    background: #f8fbff;
    border: 1px solid #d8e6fa;
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(4, 18, 56, .08);
}

/* Heading */

#create-account h2,
#account h2,
#content h1 {
    color: #0a2f79;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

/* Description */

#create-account p,
#account p {
    text-align: center;
    color: #6b7280;
    margin-bottom: 25px;
}

/* Table */

#create-account table,
#account table,
form[action*="account.php"] table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

/* Labels */

#create-account td:first-child,
#account td:first-child,
form[action*="account.php"] td:first-child {
    width: 200px;
    font-weight: 600;
    color: #0a2f79;

    vertical-align: top;
}

/* Inputs */

#create-account input[type="text"],
#create-account input[type="email"],
#create-account input[type="password"],
#create-account input[type="tel"],
#create-account textarea,
#create-account select,

#account input[type="text"],
#account input[type="email"],
#account input[type="password"],
#account input[type="tel"],
#account textarea,
#account select,

form[action*="account.php"] input[type="text"],
form[action*="account.php"] input[type="email"],
form[action*="account.php"] input[type="password"],
form[action*="account.php"] input[type="tel"],
form[action*="account.php"] textarea,
form[action*="account.php"] select {

    width: 100%;
    padding: 13px 16px;
    border: 1px solid #c9d8ef;
    border-radius: 12px;
    background: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    transition: .3s;
    box-sizing: border-box;
}

#create-account input:focus,
#create-account textarea:focus,
#create-account select:focus,

#account input:focus,
#account textarea:focus,
#account select:focus,

form[action*="account.php"] input:focus,
form[action*="account.php"] textarea:focus,
form[action*="account.php"] select:focus {

    outline: none;
    border-color: #1b57c6;
    box-shadow: 0 0 0 4px rgba(27, 87, 198, .12);
}

/* Buttons */

#create-account input[type="submit"],
#create-account button,

#account input[type="submit"],
#account button,

form[action*="account.php"] input[type="submit"],
form[action*="account.php"] button {

    background: linear-gradient(135deg, #0a2d85, #1b57c6);
    color: #fff !important;
    border: none;
    padding: 13px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    transition: .3s;
}

#create-account input[type="submit"]:hover,
#create-account button:hover,

#account input[type="submit"]:hover,
#account button:hover,

form[action*="account.php"] input[type="submit"]:hover,
form[action*="account.php"] button:hover {

    background: linear-gradient(135deg, #031b63, #0a2d85);
}

/* Required */

.required,
.error {
    color: #d32f2f;
    font-size: 13px;
}

/* Register & Cancel Buttons */
#content p input[type="submit"],
#content p input[type="button"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    height: 48px !important;
    min-width: 140px !important;
    padding: 0 28px !important;

    border-radius: 40px !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;

    cursor: pointer;
    transition: .3s;
}

/* Register */
#content p input[type="submit"] {
    background: linear-gradient(135deg, #0a2d85, #1b57c6) !important;
    color: #fff !important;
    border: none !important;
}

/* Cancel */
#content p input[type="button"] {
    background: #fff !important;
    color: #0a2d85 !important;
    border: 2px solid #0a2d85 !important;
}

#content p input[type="button"]:hover {
    background: #0a2d85 !important;
    color: #fff !important;
}


/* Client profile page */
#clientProfileForm {
    width: 750px;
    max-width: 100%;
    margin: 32px auto 0;
    padding: 32px;
    background: #f8fbff;
    border: 1px solid #d8e6fa;
    border-radius: 24px;
    box-shadow: 0 18px 38px rgba(4, 18, 56, 0.08);
    box-sizing: border-box;
}

#clientProfileForm table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 18px;
}

#clientProfileForm table.padded {
    border-spacing: 0 18px;
}

#clientProfileForm tr {
    display: table-row;
}

#clientProfileForm td,
#clientProfileForm th {
    display: table-cell;
    width: auto;
    padding: 10px 0;
    box-sizing: border-box;
    vertical-align: middle;
}

#clientProfileForm table.padded tr > td,
#clientProfileForm table.padded tr > th {
    height: auto !important;
    padding-bottom: 12px !important;
}

#clientProfileForm td:first-child {
    width: 200px;
    font-weight: 700;
    color: #0a2f79;
    padding: 10px 0 10px 0;
    vertical-align: top;
}

#clientProfileForm td[colspan="2"] {
    width: 100%;
    padding-bottom: 0;
}

#clientProfileForm td[colspan="2"] div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

#clientProfileForm td[colspan="2"] hr {
    flex: 1 1 100%;
    border: 0;
    border-top: 1px solid #d8e6fa;
    margin: 0;
}

#clientProfileForm td[colspan="2"] h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0a2f79;
}

#clientProfileForm input[type="text"],
#clientProfileForm input[type="email"],
#clientProfileForm input[type="password"],
#clientProfileForm input[type="tel"],
#clientProfileForm textarea,
#clientProfileForm select,
#clientProfileForm .select2-container,
#clientProfileForm .select2-container .select2-selection--single,
#clientProfileForm .select2-container--default .select2-selection--single {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    padding: 14px 16px;
    border: 1px solid #c9d8ef;
    border-radius: 14px;
    background: #ffffff;
    color: #1f2937;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    box-shadow: inset 0 1px 2px rgba(5, 23, 62, 0.04);
    box-sizing: border-box;
}

#clientProfileForm .select2-container--default .select2-selection--single {
    min-height: 46px;
    height: auto;
    padding: 0;
}

#clientProfileForm .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 12px 14px;
}

#clientProfileForm .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    top: 0;
    right: 12px;
}

#clientProfileForm .action-button {
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
}

@media only screen and (max-width: 860px) {
    #clientProfileForm .action-button {
        width: 100%;
        margin-top: 10px;
    }
}

#clientProfileForm textarea {
    min-height: 140px;
    resize: vertical;
}

#clientProfileForm input:focus,
#clientProfileForm textarea:focus,
#clientProfileForm select:focus {
    outline: none;
    border-color: #1b57c6;
    box-shadow: 0 0 0 4px rgba(27, 87, 198, 0.12);
}

#clientProfileForm .error,
#clientProfileForm span.error {
    display: inline-block;
    margin-top: 6px;
    color: #d32f2f;
    font-size: 13px;
}

#clientProfileForm > p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
}

#clientProfileForm input[type="submit"],
#clientProfileForm input[type="reset"],
#clientProfileForm input[type="button"] {
    min-width: 150px;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

#clientProfileForm input[type="submit"] {
    background: linear-gradient(135deg, #0a2d85 0%, #1b57c6 100%);
    color: #ffffff;
}

#clientProfileForm input[type="reset"] {
    background: linear-gradient(135deg, #0f7a55 0%, #18a677 100%);
    color: #ffffff;
}

#clientProfileForm input[type="button"] {
    background: #ffffff;
    color: #0a2f79;
    border: 2px solid #0a2f79;
}

#clientProfileForm input[type="submit"]:hover,
#clientProfileForm input[type="reset"]:hover {
    filter: brightness(1.05);
}

#clientProfileForm input[type="button"]:hover {
    background: #0a2f79;
    color: #ffffff;
}

@media only screen and (max-width: 860px) {
    #clientProfileForm {
        padding: 24px;
    }

    #clientProfileForm tr {
        display: block;
    }

    #clientProfileForm td,
    #clientProfileForm th {
        display: block;
        width: 100%;
        padding: 8px 0;
    }

    #clientProfileForm td:first-child {
        width: 100%;
        margin-bottom: 8px;
    }

    #clientProfileForm td[colspan="2"] {
        padding-bottom: 0;
    }

    #clientProfileForm td[colspan="2"] div {
        flex-direction: column;
        align-items: stretch;
    }
}

@media only screen and (max-width: 520px) {
    #clientProfileForm {
        padding: 20px;
        margin: 20px auto 0;
    }

    #clientProfileForm input[type="submit"],
    #clientProfileForm input[type="reset"],
    #clientProfileForm input[type="button"] {
        width: 100%;
        min-width: auto;
    }
}
#ticketForm textarea{
      display: none !important;
}
/* Keep Redactor toolbar light in case source-view is accidentally toggled */
#ticketForm .redactor-source-view .redactor-toolbar {
    background: none !important;
}
#ticketForm .redactor-source-view .redactor-toolbar a {
    background: rgba(255,255,255,0.97) !important;
    color: rgba(0,0,0,0.85) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22) !important;
}


/* Hide the source (HTML) textarea for client ticket form to prevent double editor */
#ticketForm .redactor-source {
    display: none !important;
}

/* Ensure the rich text editor area is visible */
#ticketForm .redactor-in,
#ticketForm .redactor-editor {
    display: block !important;
}
/* Final responsive corrections */
#ticketForm input:not([type="submit"]):not([type="reset"]):not([type="button"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
#ticketForm select,
#ticketForm textarea,
#ticketForm .select2-container,
#ticketForm .select2-container .select2-choice,
#ticketForm .select2-container--default .select2-selection--single {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
    padding: 12px 14px !important;
    border: 1px solid #c9d8ef !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: #1f2937 !important;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    box-shadow: inset 0 1px 2px rgba(5, 23, 62, 0.04) !important;
    display: block !important;
    box-sizing: border-box !important;
}

#ticketForm input[type="checkbox"],
#ticketForm input[type="radio"] {
    width: auto !important;
    min-height: 0 !important;
    display: inline-block !important;
}

#ticketForm textarea {
    min-height: 140px !important;
}

#ticketForm td[colspan="2"]>label,
#ticketForm td[colspan="2"] label {
    display: block !important;
    width: 100% !important;
}

#landing_page {
    position: relative;
}



#landing_page .main-content,
#landing_page .sidebar {
    position: relative;
    z-index: 1;
}

.instructions a {
    display: block;
    margin: 8px 0;
    color: #0a3d9c;
    text-decoration: none;
    font-weight: 700;
}

.instructions a:hover {
    text-decoration: underline;
}

/* ==========================================
   STARTBIT - CLIENT TICKET LIST & DETAILS
========================================== */

.search.well {
    margin: 0 0 18px !important;
    padding: 18px 20px !important;
    background: #f8fbff !important;
    border: 1px solid #d8e6fa !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 26px rgba(4, 18, 56, 0.06);
}

.search.well .flush-left,
.search.well form {
    width: 100%;
}

#ticketSearchForm {
    display: flex !important;
    align-items: center;
    gap: 12px;
    float: none !important;
    padding: 0 !important;
}

#ticketSearchForm input[type="text"],
#ticketSearchForm select {
    min-height: 42px;
    padding: 10px 13px;
    border: 1px solid #c9d8ef;
    border-radius: 12px;
    background: #fff;
    color: #1f2937;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

#ticketSearchForm input[type="text"] {
    width: min(320px, 100%);
}

 #reply input[type="reset"]{
       min-height: 48px !important;
 }
#ticketSearchForm input[type="submit"],
#reply input[type="submit"],
#reply input[type="reset"],
#reply input[type="button"],
.action-button {
    min-height: 38px;
    padding: 9px 17px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #0a2d85 0%, #1b57c6 100%) !important;
    color: #ffffff !important;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(10, 45, 133, 0.16);
}

#ticketSearchForm .pull-right {
    margin-left: auto;
    float: none !important;
    color: #203a5b;
    font-weight: 500;
}

#content>h1:has(.states),
#ticketInfo h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 8px 0 18px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid #dbe7f6 !important;
    color: #0a2f79 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    text-align: center;
}

#content>h1:has(.states)>a,
#ticketInfo h1>a {
    color: #0a2f79 !important;
    text-decoration: none !important;
}

#content>h1 .states,
#ticketInfo h1 .pull-right {
    margin-left: auto;
    float: none !important;
}

.states small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f1f7ff;
    border: 1px solid #d8e6fa;
    border-radius: 999px;
    font-size: 13px !important;
}

.states .state {
    color: #24518b !important;
    font-weight: 600;
}

.states .state.active {
    color: #0a2d85 !important;
}

#ticketTable,
#ticketInfo,
.infoTable,
table.custom-data {
    width: 100% !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
}

#ticketTable {
    background: #ffffff;
    border: 1px solid #d8e6fa !important;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(4, 18, 56, 0.07);
}

#ticketTable caption {
    padding: 13px 16px !important;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%) !important;
    border: 0 !important;
    color: #0a2f79 !important;
    font-weight: 700 !important;
    text-align: left !important;
}

#ticketTable th {
    height: auto !important;
    padding: 12px 14px !important;
    background: #eaf3ff !important;
    border: 0 !important;
    border-top: 1px solid #d8e6fa !important;
    color: #0a2f79 !important;
    font-size: 13px;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

#ticketTable th a {
    color: #0a2f79 !important;
}

#ticketTable td {
    padding: 13px 14px !important;
    border: 0 !important;
    border-top: 1px solid #e4edf9 !important;
    color: #29415f;
    font-size: 14px;
    vertical-align: middle;
}

#ticketTable tbody tr:hover td {
    background: #f8fbff;
}

#ticketTable .link,
#ticketTable a {
    color: #0a3d9c !important;
    font-weight: 500;
}

#ticketInfo {
    margin-bottom: 18px;
}

#ticketInfo>tbody>tr>td {
    padding: 8px;
}

#ticketInfo>tbody>tr:nth-child(2) {
    display: flex;
    gap: 18px;
}

#ticketInfo>tbody>tr:nth-child(2)>td {
    flex: 1 1 0;
    width: auto !important;
    padding: 0;
}

#ticketInfo h1 {
    justify-content: flex-start;
    text-align: left;
}

#ticketInfo h1 b {
    color: #0a2f79;
    font-size: 24px;
}

#ticketInfo h1 small {
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef6ff;
    color: #24518b;
    font-size: 13px;
    font-weight: 700;
}

#ticketInfo h1 .pull-right {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.infoTable,
table.custom-data {
    margin: 0 0 18px !important;
    background: #f8fbff !important;
    border: 1px solid #d8e6fa !important;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(4, 18, 56, 0.06);
}

.infoTable .headline,
table.custom-data .headline,
table .headline {
    padding: 13px 16px !important;
    background: #eaf3ff !important;
    border: 0 !important;
    color: #0a2f79;
    font-weight: 700;
}

.infoTable th,
table.custom-data th {
    width: 34%;
    padding: 12px 16px !important;
    background: transparent !important;
    border-top: 1px solid #e4edf9;
    color: #0a2f79;
    font-weight: 600;
}

.infoTable td,
table.custom-data td {
    padding: 12px 16px !important;
    border-top: 1px solid #e4edf9;
    color: #29415f;
}

#ticketThread {
    margin: 10px 0 20px;
    border: 0 !important;
}
.thread-event {
    padding: 0px 2px 15px;
     margin-left: 10px; 
}
#ticketThread::before,
.thread-entry::before,
.thread-entry::after,
.thread-entry.avatar .header::before,
.thread-entry.avatar .header::after {
    display: none !important;
}

.thread-entry,
.thread-entry.avatar,
.thread-entry.response.avatar {
    margin: 0 0 16px !important;
}

.thread-entry>.avatar {
    display: none !important;
}

.thread-entry .header {
    padding: 13px 16px !important;
    background: #eaf3ff !important;
    border: 1px solid #d8e6fa !important;
    border-bottom: 0 !important;
    border-radius: 18px 18px 0 0 !important;
    color: #0a2f79;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    font-weight: 600;
}

.thread-entry.response .header {
    background: #eef8f4 !important;
    color: #0f6b50;
}

.thread-entry .header .title {
    max-width: 100%;
    margin-left: 8px;
}

.thread-entry .thread-body {
    padding: 18px !important;
    background: #ffffff !important;
    border: 1px solid #d8e6fa !important;
    border-top: 0 !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 12px 26px rgba(4, 18, 56, 0.06) !important;
    color: #29415f;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif !important;
}

#reply {
    margin-top: 20px !important;
    padding: 24px !important;
    background: #f8fbff !important;
    border: 1px solid #d8e6fa !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 30px rgba(4, 18, 56, 0.07);
}

#reply h2 {
    margin: 0 0 12px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid #dbe7f6 !important;
    color: #0a2f79 !important;
    font-size: 22px !important;
    font-weight: 700;
}

#reply p {
    color: #4b5f7a;
}

#reply textarea,
#reply input[type="text"] {
    width: 100% !important;
    max-width: 100%;
    min-height: 160px;
    padding: 14px 16px;
    border: 1px solid #c9d8ef !important;
    border-radius: 14px;
    background: #ffffff !important;
    color: #1f2937;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    box-shadow: inset 0 1px 2px rgba(5, 23, 62, 0.04);
}

#reply input[type="reset"],
#reply input[type="button"] {
    background: #ffffff !important;
    color: #0a2d85 !important;
    border: 2px solid #0a2d85 !important;
    box-shadow: none;
}

#reply .filedrop .dropzone {
    border-color: #c9d8ef;
    border-radius: 14px;
    background: #ffffff;
}
/*==================================================
  RESPONSIVE DESIGN
===================================================*/

/* Tablet */
@media only screen and (max-width:1130px) {

    #container {
        width: 100%;
        border-radius: 0;
    }

    #header {
        padding: 15px 20px !important;
        height: auto !important;
        min-height: auto !important;
        flex-direction: row-reverse !important;
        gap: 15px;
        align-items: center !important;
    }

    #header .pull-right {
        width: 100%;
        justify-content: center !important;
        text-align: center;
    }

    #nav {
        gap: 20px;
        padding: 20px;
        flex-wrap: wrap;
    }

    #nav li a {
        padding: 18px 27px;
        font-size: 15px;
    }

    #header .pull-right {
        display: flex !important;
        align-items: flex-end;
        justify-content: flex-end !important;
        flex-direction: column;
    }

    #landing_page {
        flex-direction: column-reverse !important;
    }

    #landing_page .sidebar {
        width: 100%;
    }

    #landing_page .main-content {
        width: 100%;
    }

    #landing_page .front-page-button {
        /* margin-bottom: 0; */
        margin-top: 20px;
        order: 2;
        /* text-align: center; */
        align-items: center;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
}




@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    #container {
        width: 100%;
    }

    #content {
        padding: 20px 15px;
    }

    /* Header */

    #header {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 15px !important;
    }

    #logo img {
        max-width: 180px;
        height: auto !important;
    }

    #header .pull-right {
        width: 100%;
        justify-content: center !important;
        text-align: center;
        font-size: 14px;
    }

    #header .pull-right p {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Navigation */

    #nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 15px;
    }

    #nav li {
        width: 100%;
    }

    #nav li a {
        justify-content: center;
        padding: 14px;
        font-size: 15px;
    }

    /* Landing page */

    #landing_page {
        flex-direction: column !important;
    }

    #landing_page .sidebar,
    #landing_page .main-content {
        width: 100%;
    }

    /* Search */

    #landing_page .search-form form {
        flex-direction: column;
    }

    #landing_page .search-form input.search,
    #landing_page .search-form button {
        width: 100%;
    }

    /* Login */

    #clientLogin>div[style*="display:table-row"] {
        flex-direction: column;
    }

    #clientLogin .login-box,
    #clientLogin .instructions {
        width: 100%;
        max-width: 100%;
    }

    /* Ticket Form */

    #ticketForm {
        padding: 18px;
    }

    .search.well {
        padding: 14px !important;
        border-radius: 16px !important;
    }

    #ticketSearchForm {
        flex-direction: column;
        align-items: stretch;
    }

    #ticketSearchForm input[type="text"],
    #ticketSearchForm input[type="submit"],
    #ticketSearchForm select,
    #ticketSearchForm .pull-right {
        width: 100% !important;
        margin-left: 0 !important;
    }

    #content>h1:has(.states),
    #ticketInfo h1 {
        justify-content: center;
        text-align: center;
        font-size: 22px !important;
    }

    #content>h1 .states,
    #ticketInfo h1 .pull-right {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    #ticketTable {
        display: block;
        overflow-x: auto;
        border-radius: 16px;
        -webkit-overflow-scrolling: touch;
    }

    #ticketTable th,
    #ticketTable td {
        min-width: 110px;
        white-space: nowrap;
    }

    #ticketTable th:nth-child(4),
    #ticketTable td:nth-child(4) {
        min-width: 220px;
        white-space: normal;
    }

    #ticketInfo>tbody>tr:nth-child(2) {
        display: block;
    }

    #ticketInfo>tbody>tr:nth-child(2)>td,
    #ticketInfo>tbody>tr>td {
        display: block;
        width: 100% !important;
        padding: 0 !important;
    }

    .infoTable,
    table.custom-data {
        border-radius: 16px;
    }

    .infoTable th,
    .infoTable td,
    table.custom-data th,
    table.custom-data td {
        display: block;
        width: 100% !important;
    }

    .infoTable td,
    table.custom-data td {
        padding-top: 4px !important;
    }

    .thread-entry .header,
    .thread-entry .thread-body,
    #reply {
        border-radius: 16px !important;
    }

    .thread-entry .header {
        border-bottom: 1px solid #d8e6fa !important;
    }

    #ticketForm table,
    #ticketForm tbody,
    #ticketForm tr,
    #ticketForm td {
        display: block;
        width: 100%;
    }

    #ticketForm td:first-child {
        width: 100%;
        padding: 0 0 8px;
    }

    #ticketForm input,
    #ticketForm select,
    #ticketForm textarea {
        width: 100%;
    }

    #content {

        width: 100% !important;
        margin: 0 auto;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .buttons input {
        width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    #content p input[type="button"] {

        margin-top: 10px !important;
    }

    #header {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
    }

    #header .pull-right {
        width: 100%;
        text-align: left;
        margin-left: 0;
    }

    #logo img {
        max-height: 62px;
    }

    #nav {
        padding: 12px 16px;
    }

    #content {
        padding: 24px 18px 30px;
    }

    #footer {
        padding: 18px 16px;
    }

    #container {
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    #header {
        height: auto !important;
        min-height: 0 !important;
        padding: 10px 14px !important;
        flex-direction: row-reverse !important;
        align-items: center !important;
        gap: 8px !important;
        overflow: visible !important;
    }

    #header .pull-right {

        flex-direction: column !important;
    }


    #logo img {
        width: auto !important;
        max-width: 260px !important;
        max-height: 78px !important;
        height: auto !important;
    }

    #header .pull-right,
    #header .pull-right p {
        width: 100% !important;
        justify-content: flex-end !important;
        text-align: center !important;
        gap: 8px !important;
    }

    #nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        padding: 10px 14px 14px !important;
        clear: both !important;
        overflow: visible !important;
    }

    #nav li {
        float: none !important;
        width: 100% !important;
        display: block !important;
        position: static !important;
    }



    #content {
        clear: both !important;
        padding: 22px 14px 30px !important;
    }

    #content h1 {
        margin: 0 0 8px !important;
        font-size: 24px !important;
        line-height: 1.15 !important;
    }

    #content>p {
        margin-bottom: 16px !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    #ticketForm {
        width: 100% !important;
        margin-top: 16px !important;
        padding: 16px !important;
        border-radius: 18px !important;
        overflow: visible !important;
    }

    #ticketForm table,
    #ticketForm tbody,
    #ticketForm tr,
    #ticketForm td,
    #ticketForm table td:first-child,
    #ticketForm table td[colspan="2"] {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    #ticketForm table {
        border-spacing: 0 !important;
    }

    #ticketForm table td {
        padding-top: 6px !important;
        padding-bottom: 8px !important;
    }

    #ticketForm table td:first-child {
        padding-bottom: 4px !important;
    }

    #ticketForm .form-header {
        margin-top: 8px !important;
    }

    #ticketForm input[type="submit"],
    #ticketForm input[type="reset"],
    #ticketForm input[type="button"] {
        width: 100% !important;
        min-height: 44px !important;
    }

    #landing_page .sidebar {
        margin: 0px !important;
    }

    #landing_page .thread-body {

        padding: 15px;

    }

    #landing_page {
        flex-direction: column-reverse !important;
        gap: 0px !important;
    }


    #landing_page .main-content,
    #landing_page .sidebar {
        width: 100% !important;
    }

    ul#nav.flush-left,
    #nav.flush-left,
    #nav {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        display: block !important;
        padding: 8px 12px 12px !important;
        margin: 0 !important;
        overflow: visible !important;
        white-space: normal !important;
        box-sizing: border-box !important;
        clear: both !important;
    }

    ul#nav.flush-left li,
    #nav.flush-left li,
    #nav li {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        float: none !important;
        clear: both !important;
        padding: 0 !important;
        margin: 0 0 8px !important;
        position: static !important;
        box-sizing: border-box !important;
    }

    ul#nav.flush-left li:last-child,
    #nav.flush-left li:last-child,
    #nav li:last-child {
        margin-bottom: 0 !important;
    }

    ul#nav.flush-left li a,
    #nav.flush-left li a,
    #nav li a {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 38px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 8px 12px !important;
        margin: 0 !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        border: 1px solid #cfe0f6 !important;
        border-radius: 999px !important;

        color: #002a82 !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        text-indent: 0 !important;
        white-space: normal !important;
        overflow: visible !important;
        box-shadow: 0 6px 16px rgba(4, 18, 56, 0.06) !important;
        box-sizing: border-box !important;
    }



    ul#nav.flush-left li a img,
    #nav.flush-left li a img,
    #nav li a img {
        width: 15px !important;
        height: 15px !important;
        max-width: 15px !important;
        flex: 0 0 15px !important;
        object-fit: contain !important;
    }

    /* Form container */
    #accountForm,
    form[action*="account.php"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px !important;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Table layout */
    #accountForm table,
    #accountForm tbody,
    #accountForm tr,
    #accountForm td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    #accountForm td:first-child {
        padding-bottom: 6px;
        font-weight: 600;
    }

    /* All inputs */
    #accountForm input,
    #accountForm textarea,
    #accountForm select {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Select2 Timezone */
    .select2-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .select2-selection,
    .select2-choice {
        width: 100% !important;
        min-height: 46px !important;
        box-sizing: border-box;
        margin-bottom: 10px;
    }

    /* Auto Detect button */
    .timezone-link,
    .timezone-link button,
    .timezone-link input {
        width: 100% !important;
        margin-top: 10px;
    }

    /* Buttons row */
    #accountForm .buttons,
    form[action*="account.php"] .buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px;
        width: 100%;
    }

    /* Register + Cancel */
    #accountForm input[type=submit],
    #accountForm input[type=button],
    #accountForm input[type=reset],
    #accountForm button,

    form[action*="account.php"] input[type=submit],
    form[action*="account.php"] input[type=button],
    form[action*="account.php"] input[type=reset],
    form[action*="account.php"] button {

        width: 100% !important;
        height: 48px;
        margin: 0 !important;
    }

    /* Cancel link if it's an <a> */
    .cancel,
    a.cancel {
        display: block !important;
        width: 100% !important;
        text-align: center;
        padding: 12px;
        border-radius: 30px;
        margin: 0 !important;
    }
}


/* Small Phones */

@media only screen and (max-width:480px) {

    #logo img {
        max-width: 150px;
    }

    #content {
        padding: 15px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }
        body #container #header {
      
        flex-direction: column-reverse !important;
        display: flex !important;
    }
#header .pull-right, #header .pull-right p {
        width: 100% !important;
         justify-content: center !important; 
        text-align: center !important;
        gap: 8px !important;
    }
    #nav li a {
        font-size: 14px;
        padding: 12px;
    }

    #ticketForm {
        padding: 15px;
    }

    input,
    select,
    textarea,
    button {
        font-size: 14px;
    }

    #landing_page .front-page-button a {

        padding: 10px 10px;
        font-size: 12px !important;

    }

    #logo img {
        max-width: 150px !important;
    }

    #nav li a {
        font-size: 13px !important;
        min-height: 40px !important;
        padding: 9px 10px !important;
    }

    #content {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    #ticketForm {
        padding: 14px !important;
    }

}

@media only screen and (max-width: 360px) {

    ul#nav.flush-left,
    #nav.flush-left,
    #nav {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    ul#nav.flush-left li a,
    #nav.flush-left li a,
    #nav li a {
        min-height: 36px !important;
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
}

/* Standard mobile client header */
@media only screen and (max-width: 768px) {
#clientLogin {
 
     width: auto !important; 

}
    body #container #header {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 16px 14px !important;
        /*display: block !important;*/
        text-align: center !important;
        overflow: visible !important;
        box-shadow: 0 8px 22px rgba(4, 18, 56, 0.10) !important;
    }

    body #container #header #logo {
        width: 100% !important;
        height: auto !important;
        margin: 0 0 12px !important;
        padding: 0 !important;
        display: block !important;
        text-align: center !important;
        float: none !important;
    }

    body #container #header #logo .valign-helper {
        display: none !important;
    }

    body #container #header #logo img {
        width: auto !important;
        max-width: 190px !important;
        max-height: 58px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }

    body #container #header .pull-right {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        float: none !important;
        text-align: center !important;
    }

    body #container #header .pull-right p:first-child {
        display: none !important;
    }

    body #container #header .client-account-nav {
        width: 100% !important;
        margin: 0 auto !important;
        padding: 10px 10px 9px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        background: #f8fbff !important;
        border: 1px solid #d8e6fa !important;
        border-radius: 14px !important;
        color: #14213d !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
        box-shadow: 0 8px 18px rgba(4, 18, 56, 0.06) !important;
        box-sizing: border-box !important;
    }

    body #container #header .client-account-nav .client-name {
        flex: 0 0 100% !important;
        color: #0a2f79 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-align: center !important;
        overflow-wrap: anywhere !important;
    }

    body #container #header .client-account-nav .nav-separator {
        display: none !important;
    }

    body #container #header .client-account-nav a {
        margin: 0 !important;
        padding: 6px 9px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 32px !important;
        color: #1d5cff !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        border: 1px solid #d8e6fa !important;
        border-radius: 999px !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
    }

    body #container #header .client-account-nav a:hover {
        border-color: #1d5cff !important;
        text-decoration: none !important;
    }

    body #container #nav {
        margin-top: 0 !important;
        border-top: 1px solid #e4edf9 !important;
    }
}

@media only screen and (max-width: 360px) {

    body #container #header {
        padding: 14px 10px !important;
    }

    body #container #header #logo img {
        max-width: 168px !important;
    }

    body #container #header .client-account-nav {
        gap: 6px !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    body #container #header .client-account-nav a {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: 12px !important;
    }
}



/* Hide Extension input */
#ticketForm input:not([type="submit"]):not([type="reset"]):not([type="button"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"])[name$="-ext"], #clientProfileForm input:not([type="submit"]):not([type="reset"]):not([type="button"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"])[name$="-ext"]{
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

/* Hide the "Ext:" text */
#ticketForm tbody label:has(input[name$="-ext"]) , #clientProfileForm tbody label:has(input[name$="-ext"]){
    font-size: 0 !important;
}

/* Keep Phone Number label visible */
#ticketForm tbody label:has(input[name$="-ext"]) span , #clientProfileForm tbody label:has(input[name$="-ext"]) span{
    font-size: 15px !important;
}

/* Keep Phone Number input visible */
#ticketForm tbody label:has(input[name$="-ext"]) input[type="tel"], #clientProfileForm tbody label:has(input[name$="-ext"]) input[type="tel"] {
    font-size: 15px !important;
    display: block !important;
}




/* ==========================================
   FOOTER / PAGE HEIGHT FIX
========================================== */

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#container {
    flex: 1 0 auto;
}

#footer {
    flex-shrink: 0;
    margin-top: 0 !important;
    padding: 10px 20px !important;
}

#footer p {
    margin: 0 !important;
}


.redactor-styles{
    display:block !important;
    min-height:150px !important;
    height:150px !important;
    visibility:visible !important;
    opacity:1 !important;
}



