html, body {
    padding: 0;
    margin: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 14px;
    color: #000;
    background-color: rgb(252 252 252);
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

h1, h2, h3 {
    margin-bottom: 40px;
}

p {
    margin-bottom: 10px;
    line-height: 22px;
}

.hidden_element{
    display: none;
}


.disable_page_cover{
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1000000;
}

/* TODO: this should be part of the real header */
.title-box {
    background-color: #d72027;
    font-style: normal;
    font-family: 'Arvo', serif;
    font-weight: 700;
    font-size: 24px;
    color: #ffffff;
    position: relative;
}

.title-box div{
    display: inline-block;
    vertical-align: middle;

}

.title-box div.logo{
    margin-right: 10px;
    height:50px;
    padding: 8px;
}


.title-box .slogan_container{
    font-size: 16px;
}


.title-box a {
    color: #fff;
    text-decoration: none;
}

.title-box a img{
    height: 100%;
    width: auto;
}

.page_header{
    width: 100%;
    z-index: 5;
}


.header {
    background-color: #222222;
    /*margin:20px 10px 0 10px;*/
    margin: 0;
    color: #c1c1c1;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    /*min-width: 800px;*/
}

.header_left_box {
    float: left;
}

.header_right_box {
    top: 0;
    float: right;
}

.header a {
    text-decoration: none;

}

.header li.active a,
.header li.active:hover a {
    color: #fff;
}

.header li:hover a {
    color: #fff;
    /*background-color: #1c2428;*/
}

#page_content_container{
    width: 100%;
    overflow-x: auto;
    padding-bottom: 70px;
}

.content {
    padding: 45px 35px;
    /*margin:0 10px;*/
    margin: 0;
    min-height: 250px;
}

.content a {
    text-decoration: underline;
    color: #545454;
}

.footer {
    width: 100%;
    background-color: #222222;
    color: #acadb1;
    font-size: 15px;
    font-weight: bold;
    padding: 10px;
    margin: 0;
    text-align: center;
    position: absolute;
    bottom: 0;
}

.web_stamp{
    text-align: center;
    font-size: 11px;
    display: inline-block;
    vertical-align: middle;
}


.web_stamp.company_logo img{
    height: 48px;
    width: auto;
}

h1,h2,h3,h4,h5,h6{
    color: #323232;
}

h1 {
    font-size: 40px;
    margin-top: 0;
}

h2 {
    font-size: 25px;
    margin-top: 0;
}


.feedback {
    font-size: 16px;
    width: 100%;
    display: block;
    overflow: hidden;
}

.feedback_container {
    width: 100%;
    color: black;
    z-index: 100;
}

.label_help{
    display: block;
    font-size: 14px;
    color: #999;
}

.feedback .deleteimage{
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
}

.feedback.message{
    display: inline-flex;
    align-items: center;
    padding: 0 0 0 10px !important;
    cursor: default;
    user-select: none;
    vertical-align: middle !important;
}

.feedback.error {
    white-space: nowrap;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px;
    margin-bottom: 0;
    color: white;
    background-color: #e01010;
}
.feedback.success {
    white-space: nowrap;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px;
    margin-bottom: 0;
    color: black;
    background-color: #a8e84a;
}

/*Initialize*/

.menu_item_container{
    padding: 15px;
}

.menu_sub_item_container{
    padding: 5px;
}


.menu_item_container .image,.menu_item_container .label{
    display: inline-block;
    vertical-align: middle;
}

.menu_item_container .image{
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.menu_item_container .label{

}

.menu_sub_item_container{
    padding: 10px;
    white-space: nowrap;
}

.menu_sub_item_container .image,.menu_sub_item_container .label{
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.menu_sub_item_container .image{
    display: inline-block;
    vertical-align: middle;
}

.menu_sub_item_container .image svg{
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.menu_sub_item_container .label{

}

ul#menu{
    padding:0;
    margin: 0;
    z-index: 999999;
}

ul#menu ul.sub-menu {
    padding: 0;
    margin: 19px 0 0 0;
    z-index: 999999;
}


ul#menu li, ul#menu ul.sub-menu li {
    list-style-type: none;
    display: inline-block;
}


@media only screen and (max-device-width: 980px) {
    .header_right_box{
        display: none;
    }
}

@media only screen and (max-device-width: 750px) {
    ul#menu li, ul#menu ul.sub-menu li {
        display: block;
        text-align: center;
    }

    .header_left_box {
        float: none;
    }

    .title-box .slogan_container{
        display: none;
    }

    .title-box .logo{
        margin: 0;
        display: block;
        width: 100%;
        text-align: center;
    }
}


ul#menu li {
    margin-left: -4px;
}
ul#menu li:first-of-type {
    margin-left: 0;
}

ul#menu ul.sub-menu {

}

ul#menu ul.sub-menu li {
    margin-left: 0;
    width: 100%;
    border-top: 1px solid black;
}

/*Link Appearance*/
ul#menu li a {
    color: #acadb1;
    text-decoration: none;
    font-weight: bolder;
}

ul#menu li a, ul#menu li ul.sub-menu li a {
    text-decoration: none;
    display:inline-block;
    white-space: nowrap;
}

ul#menu li a:hover {
    color: #ced01b;
}

ul#menu li.active{
    background-color: rgb(50, 50, 50);
}

ul#menu li.active a:hover{
    color: #ced01b;
}


ul#menu li.active a {
    color: #fff;
}
ul#menu li.active ul a {
    color: #acadb1;
}


ul#menu li ul.sub-menu li a:hover {
    color: #ced01b;
}

ul#menu li {
    position: relative;
}
/*sub menu*/
ul#menu li > ul.sub-menu {
    display:none;
    position: absolute;
    background-color: #222222;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
}

ul#menu li ul.sub-menu {
    top: 44px;
    left: 0;
}

ul#menu li ul.sub-menu li > ul.sub-menu {
    left: 100%;
    top: -20px;
}

ul#menu li ul.sub-menu li div.image img {
    height: 24px;
    width: auto;
}

ul#menu .menu_item_container .image svg {
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

ul#menu li ul.sub-menu li div.image svg {
    height: 24px;
    width: 24px;
    vertical-align: middle;
}

.header .user-dropdown-menu li a svg {
    width: 20px;
    height: 20px;
}

/* SVG icon sizing for action buttons */
.fake_button_small .image svg,
.fake_button_large .image svg,
.inner_button .image svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

/* SVG icon sizing for feedback close buttons */
.feedback .deleteimage svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Table row actions dropdown menu */
.actions-wrap { position: relative; display: inline-block; width: 100%; text-align: center; }
.actions-btn {
    padding: 4px 8px; cursor: pointer; border: 1px solid #aaa;
    background: #f5f5f5; border-radius: 3px; font-size: 16px; line-height: 1;
}
.actions-btn:hover { background: #e8e8e8; }
.actions-menu {
    display: none; position: fixed; z-index: 1000;
    background: #fff; border: 1px solid #ccc; border-radius: 3px;
    padding: 4px 0; min-width: 160px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.actions-menu.open { display: block; }
.actions-menu a, .actions-menu button.menu-action {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px; font-size: 13px; text-decoration: none;
    color: #333; white-space: nowrap; cursor: pointer;
    background: none; border: none; width: 100%; text-align: left; font-family: inherit;
}
.actions-menu a svg, .actions-menu button.menu-action svg { flex: 0 0 auto; width: 16px; height: 16px; color: #666; }
.actions-menu a:hover, .actions-menu button.menu-action:hover { background: #f0f0f0; }
.actions-menu .success { color: #28a745; }
.actions-menu .success svg { color: #28a745; }
.actions-menu .success:hover { background: #e8f5e9; }
.actions-menu .primary { color: #0d6efd; }
.actions-menu .primary svg { color: #0d6efd; }
.actions-menu .primary:hover { background: #e3f2fd; }
.actions-menu .danger { color: #dc3545; }
.actions-menu .danger svg { color: #dc3545; }
.actions-menu .danger:hover { background: #fce8e8; }


ul#menu li.active ul.sub-menu li.active{
    background: #222222;
    border-top: 1px black solid;
}

ul#menu li ul.sub-menu li a {
    font-size: 12px;
}


ul#menu li:hover > ul.sub-menu {
    display: block !important;
}

.header .namebox {
    display: inline-block;

    background-color: #222222;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    height: 64px;
    padding: 23px 15px 0 15px;
    text-decoration: none;
    box-sizing: border-box;
}

.header .avatar {
    float: left;
    width: 64px;
    height: 64px;
    display: inline-block;
}

/* User account dropdown */
.header .user-account-dropdown {
    position: relative;
}
.header .user-account-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}
.header .user-account-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.header .user-dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.7;
}
.header .user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 64px;
    background-color: #222222;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    min-width: 180px;
    z-index: 999999;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header .user-dropdown-menu.open {
    display: block;
}
.header .user-dropdown-menu li {
    border-top: 1px solid #000;
}
.header .user-dropdown-menu li a,
.header .user-dropdown-menu li a:visited,
.header .user-dropdown-menu li a:link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #acadb1;
    text-decoration: none;
    font-size: 12px;
    font-weight: bolder;
    white-space: nowrap;
}
.header .user-dropdown-menu li a:hover {
    color: #ced01b;
}
.header .user-dropdown-menu li a img {
    width: 20px;
    height: 20px;
}

/* input boxes */
/* html5 reset. this is necessary to properly align input fields in html5 */
input, select, textarea {
    box-sizing: border-box;
}

label {
    display: block;
    margin-bottom: 5px;
    line-height: 20px;
}

input, select, textarea {
    display: inline-block;
    margin-bottom: 15px;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
}

table input{
    margin: 0;
}


td.highlighted{

}

label{
    font-weight: normal;
    font-size: 14px;
    color: #222222;
}

.input_container{

}

.input_container .input_sub_container{
    text-align: left;
    display: inline-block;
}


.input_help{
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #999;
}

.magic_legs{
    width: 0px;
    height: 0px;
    position: absolute;
    top: -99999px;
    left: -99999px;
}

input[type="file"]{
    padding: 10px 0 10px 0;
    display: inline-block;
}

input[type="checkbox"]{
    width: auto;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
select {
    border: 1px solid #888888;
    color: #222222;
    font-weight: bold;
    min-width: 200px;
}

input[type="text"].table_cell_input{
    height: 100%;
    width: 100%;
    display: block;
}

input[type="submit"], .fake_button, .fake_button_small, .fake_button_large{
    background-color: #0d6efd;
    color: #ffffff !important;
    font-weight: bold;
    padding: 12px 30px;
    margin: 5px 0 0 0;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    display: inline-block;
    text-decoration: none !important;
    border-radius: 5px;
    border: 1px solid #0d6efd;
    transition: background-color 0.15s, border-color 0.15s;
}

.fake_button_large{
    width: 100%;
    box-sizing: border-box;
}

input[type="submit"]:hover, .fake_button:hover, .fake_button_small:hover, .fake_button_large:hover{
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Bootstrap-style button color variants */
.btn-success, .fake_button_small.btn-success, .fake_button.btn-success {
    background-color: #28a745; border-color: #28a745;
}
.btn-success:hover, .fake_button_small.btn-success:hover, .fake_button.btn-success:hover {
    background-color: #218838; border-color: #1e7e34;
}
.btn-primary, .fake_button_small.btn-primary, .fake_button.btn-primary {
    background-color: #0d6efd; border-color: #0d6efd;
}
.btn-primary:hover, .fake_button_small.btn-primary:hover, .fake_button.btn-primary:hover {
    background-color: #0b5ed7; border-color: #0a58ca;
}
.btn-danger, .fake_button_small.btn-danger, .fake_button.btn-danger {
    background-color: #dc3545; border-color: #dc3545;
}
.btn-danger:hover, .fake_button_small.btn-danger:hover, .fake_button.btn-danger:hover {
    background-color: #bb2d3b; border-color: #b02a37;
}

.center{
    text-align: center;
}

.fake_button_small, .fake_button_large{
    padding: 5px 10px 5px 10px !important;
    margin: 0 !important;
}

.fake_button_small .image, .fake_button_large .image{
    margin-right: 10px;
}

.fake_button_small .image, .fake_button_small .label, .fake_button_large .image, .fake_button_large .label{
     vertical-align: middle;
     display: inline-flex;
     align-items: center;
 }

.fake_button_small .inner_button{
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.fake_button_small .inner_button div.image{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    min-width: 24px;
}


.remember-me-checkbox {
    float: left; min-width: 0; margin: 3px 10px 15px 0;
}
.remember-me-label {
    float:left; min-width: 0; font-size: 12px; color: #888;
}

.login_checkbox_container{
    display: block;
}

.login_link_container{
    width: 100%;
    min-width: 250px;
    margin-bottom: 20px;
}

.login_link_container .login_link, .login_link_container .login_link_separator{
    display: inline-block;
}

#login_form{
    text-align: center;
}

#login_form .inner_container{
    display: inline-block;
    padding: 25px;
    box-shadow: 0px 0px 26px 5px rgba(0,0,0,0.75);
    border-radius: 5px;
}

.login-submit-button {
    float: none; clear: both;
}

.login-form-password-pattern-reminder {
    display: block;
    /*width: 200px;*/
    color: #999;
    font-size: 11px;

}


.login-facebook-box{
    margin-left: 40px
}

.login-default-box,
.login-facebook-box {
    display: inline-block;
    vertical-align: top;
    text-align: left;
}

/*
<div class="facebook-button">
<a href="<?php echo $this->facebook_register_url; ?>">
<div class="facebook-login-button">
Register with Facebook
                        </div>
                                        </a>
                                          </div>
*/

.facebook_button{
    display: inline-block;
    margin-bottom: 40px;
}

.facebook_button a{
    text-decoration: none;
}

.facebook_button a:hover{
    background-color: #2f477a;
}

.facebook_button a:visited{
    color: #ffffff;
}

.facebook_button a .button_content{
    background-color: #3b5998;
    font-size: 16px;
    font-weight: bolder;
    padding: 15px 20px;
    border-radius: 4px;
    color: #ffffff;
}

.register-default-box,
.register-facebook-box {
    display: inline-block;
    width: 300px;
    vertical-align: top;
}

/* general */
.clear-both {
    clear: both;
}


/* overview pages */
table.overview-table tr.inactive {
    opacity: 0.3;
}

table.overview-table td {
    padding: 6px 10px;
    vertical-align: middle;
}
table.overview-table td.avatar {
    padding: 0 !important;
}

/* debug helper css*/
.debug-helper-box {
    position: fixed;
    bottom: 20px;
    right: 0;
    padding: 20px;
    color: #ffffff;
    background-color: red;
    font-weight: bold;
}


/* basic responsive stuff */
/*
@media only screen and (max-width:800px) {

    .header_left_box,
    .header .avatar {
        float: none;
    }

    .header_right_box {
        width: 100%;
        background-color: #1E2029;
    }

    ul#menu li {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }

    ul#menu li a {
        display: block;
    }

    ul#menu li ul.sub-menu {
        display: block;
        position: relative;
        top: 0;
    }

    ul#menu li ul.sub-menu li {
        font-size: 12px;
        background-color: #4a4c55;
    }
    ul#menu li.active ul.sub-menu li {
        background-color: #2C2F3B;
    }

    ul#menu ul.sub-menu {
        padding-bottom: 0;
    }

}*/

/* quick fix */
.avatar img {
    width: 44px;
    height: 44px;
}

/* Modal Form */

.modal_form{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    z-index: 1000;
    pointer-events:none;
}

.modal_form .form_background{
    z-index: 1000;
    background-color: rgba(23, 23, 23, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    pointer-events: auto;
}

.modal_form .hideMask{
    background-color: rgba(0,0,0,0) !important;
    pointer-events: none !important;
}

.form_header{
    cursor:move;
}


.modal_form .form_container {
    display: inline-block;
    text-align: left;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 25px 3px rgba(0,0,0,0.75);
    margin: 0;
    padding: 0 10px 10px 10px;
    border-radius: 5px;
    border: #000000 solid 1px;
    overflow: hidden;
    pointer-events: auto !important;
    max-width: 100%;
    max-height:100%;
    background-color: #333;
}

.modal_form .form_header{
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 8px 8px 8px 0;
    position: relative;
    font-size: 16px;
    font-weight: bold;
    color: white;

}

.modal_form .delete_button{
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    background-color: #e8e8e8;

    border-right: #000000 solid 1px;
    border-left: #000000 solid 1px;
    border-bottom: #000000 solid 1px;
    border-radius: 0 0 5px 5px;
    padding: 3px 15px 3px 15px;
    font-size: 14px;
    color: black;
    font-weight: bold;
}

.modal_form .delete_button:hover{
    background-color: #d92020;
    color: white;
}

.modal_form .inner_container{
    border: #000000 solid 1px;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    min-width: 400px;
}

.modal_form .form_body{
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    margin: 0;
    max-height: 600px;
    overflow: auto;
}

.modal_form .form_footer{
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 15px;
    text-align: center;
}

.clear{
    clear: both;
}

.left{
    float: left;
}

.right{
    float: right;
}

.timeout_warning{
    font-weight: bold;
}

.timeout_warning.even{
    color: #ff0000;
}

.timeout_warning.odd{
    color: #000000;
}

p.timeout_seconds{
    font-size: 20px;
    margin-top: 30px;
}

/*
.form_background{
    z-index: 1000;
    background-color: rgba(122,122,122,.8);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    vertical-align: middle;
}

.form_background .form_container {
    display: inline-block;
    opacity: 1;
    background-color: white;
    text-align: left;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 25px 3px rgba(0,0,0,0.75);
}
*/

#data_table_form_delete{
    display: none;
}

.form_controls{
    overflow-y: scroll;
    max-height: 500px;
    min-width: 400px;
    padding: 20px;
}

/* demo table css */

/*.demo_table thead th{*/
    /*background: rgb(125,126,125); *//* Old browsers */
    /*background: -moz-linear-gradient(top,  rgba(125,126,125,1) 0%, rgba(14,14,14,1) 100%); *//* FF3.6+ */
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(125,126,125,1)), color-stop(100%,rgba(14,14,14,1))); *//* Chrome,Safari4+ */
    /*background: -webkit-linear-gradient(top,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); *//* Chrome10+,Safari5.1+ */
    /*background: -o-linear-gradient(top,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); *//* Opera 11.10+ */
    /*background: -ms-linear-gradient(top,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); *//* IE10+ */
    /*background: linear-gradient(to bottom,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); *//* W3C */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=0 ); *//* IE6-9 */

    /*color: white;*/
    /*font-size: 18px;*/
    /*font-weight: 600;*/
    /*letter-spacing: 1px;*/
    /*padding: 10px;*/
    /*text-align: center;*/
/*}*/

/*.demo_table{*/
    /*margin-bottom: 10px;*/
    /*border-collapse: collapse;*/
/*}*/

/*.demo_table td{*/
    /*padding: 15px;*/
    /*border: 1px black solid;*/
    /*font-size: 14px;*/
/*}*/

/*.demo_table .even{*/
    /*background-color: #e1e1e1;*/
/*}*/

/*.demo_table .odd{*/
    /*background-color: #ffffff;*/
/*}*/

/*.demo_table .edit_row{*/
    /*text-align: center;*/
/*}*/


/* standard table css */

.standard_table thead tr.header{
    background: #333;
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px;
    text-align: center;
}

.standard_table thead tr.plain{
    background-color: rgba(125,126,125,1);
}



.standard_table{
    margin-bottom: 10px;
    border-collapse: collapse;
}

.standard_table td, .standard_table th{
    padding: 5px;
    border: 1px black solid;
}

.standard_table .even{
    background-color: #e1e1e1;
}

.standard_table .odd{
    background-color: #ffffff;
}

.standard_table .edit_row{
    text-align: center;
}

tr.selected_row{
    background:#ffff00 !important;
}

div.pager {
    text-align: center;
    margin: 1em 0;

}

div.pager span {
    display: inline-block;
    width: 1.8em;
    height: 1.8em;
    line-height: 1.8;
    text-align: center;
    cursor: pointer;
    background-color: #444;
    color: #fff;
    margin-right: 0.5em;
    border: 1px solid #545454;
    border-radius: 5px;
}

div.pager span.active {
    background: #c00;
}

.paginator {
    display: inline-block;
    border: 1px solid #CDCDCD;
    border-radius: 3px; }

.paginator a {
    display: block;
    float: left;
    width: 20px;
    height: 20px;
    outline: none;
    border-right: 1px solid #CDCDCD;
    border-left: 1px solid #CDCDCD;
    color: #555555;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    font-family: Times, 'Times New Roman', Georgia, Palatino;
    /* ATTN: need a better font stack */
    background-color: #e8e8e8; }
.paginator a:hover, .paginator a:focus, .paginator a:active {
    background-color: #d8d8d8; }
.paginator a.disabled, .paginator a.disabled:hover, .paginator a.disabled:focus, .paginator a.disabled:active {
    background-color: #e8e8e8;
    color: #A8A8A8;
    cursor: default; }

.paginator a:first-child {
    border: none;
    border-radius: 2px 0 0 2px; }

.paginator a:last-child {
    border: none;
    border-radius: 0 2px 2px 0; }

.paginator input {
    float: left;
    margin: 0;
    padding: 0;
    width: 120px;
    height: 20px;
    outline: none;
    border: none;
    vertical-align: middle;
    text-align: center; }

.paginator_container{
    text-align: center;
    margin-bottom: 10px;
}

.form_content{
    margin: 10px;
}

.popup_form{
    min-width: 400px;
}

.fake_button_disabled{
    border: 0;
    background-color: #cecece;
    color: #666666;
    font-weight: bold;
    padding: 12px 30px 12px 30px;
    margin: 5px 0 5px 0;
    cursor: not-allowed;
    vertical-align: middle;
    text-align: center;
    display: inline-block;
}

.no_content_container{
    margin: 0 0 5px 0;
}

.no_content{
    border: solid 1px #545454;
    display: inline-block;
}

.no_content_inner{
    display: table-cell;
    width: 400px;
    height: 300px;
    vertical-align: middle;
    text-align: center;
    background-color: #cecece
}

.input_cell{
    padding: 0;
}

/* Data Tables */

.content_container{
    overflow: hidden;
    background-color: #545454;
    min-height: 400px;
}

#table_info{
    padding: 10px 20px 10px 20px;
    background-color: #ffffff;
    border-bottom: 5px ridge #cecece;
}

#table_content_container{
    min-height: 400px;
}

#data_table_container{
    overflow: auto;
}

#data_table{
    background-color: #ffffff;
}

#data_table tr td {
    padding: 0;
    border: solid 1px #242424 !important;
}

#cell_r0c0{
    background-color: #bdbdbd;
}

.row_number, .column_number, .column_number_selected, .row_number_selected{
    padding: 5px 10px 5px 10px !important;
    text-align: center;
    vertical-align: middle;
}

.row_number, .column_number{
    background-color: #bdbdbd;
}

.column_number_selected, .row_number_selected{
    background-color: #ffff00;
}

.table_cell_input{
    margin: 0 !important;
    color: #242424 !important;
    height: 100%;
    width: 100%;
}

#data_table tr td .table_cell_input {
    background-color: #ffffff;
    text-align: left;
    font-size: 14px;
    font-weight: normal;
    border: solid 1px #ffffff !important;
}

#data_table .header_row td .table_cell_input {
    background-color: #bdbdbd;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border: solid 1px #bdbdbd !important;
}

/* Landing page card grid (shared by home + admin index) */

.landing-page-title { text-align: center; }

.landing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 1024px) { .landing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .landing-grid { grid-template-columns: 1fr; } }

.landing-card {
    background: #fff;
    border: 1px solid rgb(50, 50, 50);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
}
.landing-card-header {
    font-size: 12px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 12px 18px;
    background-color: rgb(50, 50, 50);
    border-bottom: 1px solid rgb(50, 50, 50);
    margin: 0;
}
.landing-card-body { padding: 8px 0; }
.landing-link {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 18px; text-decoration: none; color: #333;
    transition: background 0.12s;
}
.landing-link:hover { background: #f5f5f5; }
.landing-link-icon {
    flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.landing-link-icon svg { width: 20px; height: 20px; }
.landing-link-label { font-size: 13px; font-weight: 600; color: #333; }

/* Legacy menu page styles (kept for backward compat) */

#admin_menu_page{
    text-align: center;
}

.menu_page_container{
    text-align: center;
}
.menu_page_row{
    margin: 0;
    padding: 0;
    display: block;
}

.menu_page_item{
    display: inline-block;
    margin: 5px;
    width: 250px;
    height: 250px;
    border-radius: 2px;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);

}

.menu_page_item img{
    margin-top: 20px;
}

.menu_page_item svg {
    width: 96px;
    height: 96px;
    margin-top: 20px;
    stroke: #fff;
}

.menu_page_item_outer_container{
    display: inline-block;
    margin: 15px;
    padding: 0;
}

.menu_page_item_link, .menu_page_item_link:visited, .menu_page_item_link:hover, .menu_page_item_link:active{
    text-decoration: none;
}

#menu_page_users, #menu_page_myaccount{
    background-color: #551a8b;
}

#menu_page_dealers{
    background-color: #f1da36;

}

#menu_page_pricelist{
    background-color: #61c419;
}

#menu_page_datatables{
    background-color: #29b8e5;




}

#menu_page_forms{
    background-color: #5e5e5e;
}

#menu_page_templates{
    background-color: #61c419;
}








#menu_page_admin{
    background-color: #cc0000;

}

#menu_page_modelstandards{
    background-color: #2a2a2a;


}
#menu_page_modelstandards{
    color: #ffffff;
}

#menu_page_modelstandards:hover{
    color: #ced01b;
}

.menu_page{
    text-align: center;
}

.menu_page_item_label{
    font-weight: bold;
    font-size: 24px;
    margin-top: 40px;
    color: #222222
}

.menu_page_item_outer_container:hover .menu_page_item_label{
    text-shadow: 0 0 8px rgba(0, 0, 0, 1);
    color: #FFFFFF;
}

#menu_page_modelstandards .menu_page_item_label{
    color: #fbf6ff
}

.bold{
    font-weight:bold;
}

.italic{
    font-style: italic;
}

.underline{
    text-decoration: underline;
}



#edit_model_form{
    display: inline-block;
}


#model_attributes{

}

#model_attributes .inner_container{
    display: inline-block;
    margin-right: 20px;
}

#error_page_container{
    text-align: center;
}

#error_page_container .error_page_message h1{
    color: red;
}

.content_page_container{
    text-align: center;
}

.content_page_container .content_page_sub_container{
    display: inline-block;
    text-align: left;
}

.form_with_shadow{
    display: inline-block;
    padding: 25px;
    box-shadow: 0px 0px 26px 5px rgba(0,0,0,0.75);
    border-radius: 5px;
    background-color: #fff;
}


/* user switch back */

#user_switch_back{
    float: right;
    display: inline-block;
}

#user_switch_back a{
    text-decoration: none;
}

#user_switch_back a .inner_container{
    color: white;
    background-color: red;
    padding: 10px;
    text-align: center;
    position: fixed;
    z-index: 999999;
    top: 0;
    right: 0;
}

/*
<td class="account_type_container">
<div class="account_type_image">
<img src="<?php echo URL.IMAGES_PATH.$user_images[$user->get_AccountType()]; ?>"/>
</div>
  <div class="account_type_label"><?php echo $user->get_AccountDescription(); ?></div>
                                                                                  </td>
*/

.account_type_container{
}

.account_type_container .account_type_image{
    display: inline-block;
    vertical-align: middle;

}

.account_type_container .account_type_label{
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 0 10px;
}


/* Selection Container */

.selection_container{
    position: absolute;
    top: 25px;
    left: 40px;
    z-index: 20;
    border: 2px solid #128000;
    display: none;
    pointer-events: none;
    cursor: move;
}

.selection_container div.inner_container{
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 1px solid #ffffff;
    box-sizing: border-box;
    background-color: rgba(23, 23, 23, 0.3);
    cursor: cell;
}

.selection_container div.selected_cell{
    background-color: white;
    position: absolute;
    max-height: 100%;
    max-width: 100%;
    cursor: cell;
    overflow: hidden;
}

.selection_container div.selection_adjustment{
    bottom: -3px;
    right: -3px;
    height: 5px;
    width: 5px;
    border-left: 1px solid white;
    border-top: 1px solid white;
    background-color: #128000;
    position: absolute;
    cursor: crosshair;
}

.selected_cell_input{
    transform: translate(-100%, -100%);
    background-color: inherit !important;
    border: none !important;
    z-index: 30;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    outline: none !important;
    font-weight: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
}

#print_frame {
    height: 11in;
    width: 8.5in;
    position: fixed;
    bottom: -1000px;
    right: -1000px
}
#scaled_container{
    display: inline-block;
    height: 0;
    width: 0;
}

ul.file_share_nav ul.sub-menu{
    padding-left: 50px;
    display: none;
}

ul.file_share_nav li.active > ul.sub-menu{
    display: block;
}

/* ─── Table Filters & Column Toggle (shared) ─────────────────── */
.tf-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; position: relative; }
.inv-af-add-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border: 1px solid #bbb; border-radius: 4px;
    background: #fff; color: #333; font-size: 13px; cursor: pointer;
}
.inv-af-add-btn:hover { background: #f5f5f5; border-color: #999; }
.inv-af-add-btn svg { width: 16px; height: 16px; }
.inv-af-picker {
    position: absolute; top: 100%; left: 0; z-index: 101;
    background: #fff; border: 1px solid #ccc; border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15); width: 260px; margin-top: 4px;
}
.inv-af-picker-search { padding: 8px; border-bottom: 1px solid #eee; }
.inv-af-picker-search input {
    width: 100%; box-sizing: border-box; padding: 5px 8px;
    border: 1px solid #ccc; border-radius: 3px; font-size: 13px; margin: 0 !important;
}
.inv-af-picker-list { max-height: 240px; overflow-y: auto; padding: 4px 0; }
.inv-af-picker-item {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 12px; cursor: pointer; font-size: 13px; margin: 0 !important;
}
.inv-af-picker-item:hover { background: #f5f5f5; }
.inv-af-picker-item input[type="checkbox"] { width: auto !important; max-width: none !important; margin: 0 !important; }
.inv-af-rows { display: flex; flex-direction: column; gap: 0; }
.inv-af-row {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 0; border-bottom: 1px solid #eee;
}
.inv-af-row-label { font-size: 13px; font-weight: 600; color: #333; min-width: 110px; white-space: nowrap; }
.inv-af-not-toggle {
    padding: 2px 8px; border: 1px solid #ccc; border-radius: 10px;
    background: #fff; color: #888; font-size: 11px; font-weight: 600;
    cursor: pointer; text-transform: uppercase; letter-spacing: 0.3px;
}
.inv-af-not-toggle.active { background: #e53935; color: #fff; border-color: #e53935; }
.inv-af-row select { width: auto !important; max-width: none !important; margin: 0 !important; padding: 4px 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 13px; background: #fff; }
.inv-af-row input[type="text"], .inv-af-row input[type="number"], .inv-af-row input[type="date"] {
    width: 140px !important; max-width: none !important; margin: 0 !important;
    padding: 4px 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 13px;
}
.inv-af-remove { border: none; background: none; color: #999; font-size: 18px; cursor: pointer; padding: 0 4px; line-height: 1; }
.inv-af-remove:hover { color: #c44; }
.inv-af-between-sep { font-size: 12px; color: #888; }
.inv-af-msel { position: relative; display: inline-block; }
.inv-af-msel-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    min-width: 160px; padding: 4px 8px; border: 1px solid #ccc; border-radius: 4px;
    background: #fff; font-size: 13px; cursor: pointer; text-align: left;
    margin: 0 !important; width: auto !important; max-width: none !important;
}
.inv-af-msel-toggle:hover { border-color: #999; }
.inv-af-msel-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; color: #555; }
.inv-af-msel-arrow { color: #999; font-size: 10px; flex-shrink: 0; }
.inv-af-msel-dropdown {
    position: absolute; top: 100%; left: 0; z-index: 102;
    background: #fff; border: 1px solid #ccc; border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15); min-width: 240px; margin-top: 2px;
}
.inv-af-msel-search { padding: 6px 8px; border-bottom: 1px solid #eee; }
.inv-af-msel-search input {
    width: 100%; box-sizing: border-box; padding: 4px 8px;
    border: 1px solid #ccc; border-radius: 3px; font-size: 12px; margin: 0 !important;
}
.inv-af-msel-actions { display: flex; gap: 12px; padding: 4px 10px; border-bottom: 1px solid #eee; font-size: 11px; }
.inv-af-msel-actions a { color: #1976d2; text-decoration: none; }
.inv-af-msel-actions a:hover { text-decoration: underline; }
.inv-af-msel-list { max-height: 180px; overflow-y: auto; padding: 2px 0; }
.inv-af-msel-item {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 10px; cursor: pointer; font-size: 13px; margin: 0 !important;
}
.inv-af-msel-item:hover { background: #f5f5f5; }
.inv-af-msel-item .not-btn {
    margin-left: auto; padding: 1px 5px; border: 1px solid #ccc; border-radius: 8px;
    background: #fff; color: #aaa; font-size: 10px; font-weight: 600; cursor: pointer;
    text-transform: uppercase; letter-spacing: 0.3px; display: none; line-height: 1.4;
}
.inv-af-msel-item .not-btn.visible { display: inline-block; }
.inv-af-msel-item .not-btn.active { background: #e53935; color: #fff; border-color: #e53935; }
.inv-af-msel-item input[type="checkbox"] { width: auto !important; max-width: none !important; margin: 0 !important; }

/* Saved filters dropdown */
.tf-saved-dropdown {
    position: absolute; top: 100%; left: 0; z-index: 101;
    background: #fff; border: 1px solid #ccc; border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15); min-width: 220px; margin-top: 4px;
}
.sf-save-row { padding: 8px 12px; border-bottom: 1px solid #eee; }
.sf-save-row a { color: #1976d2; text-decoration: none; font-size: 13px; font-weight: 600; }
.sf-save-row a:hover { text-decoration: underline; }
.sf-list { max-height: 240px; overflow-y: auto; }
.sf-item { display: flex; align-items: center; padding: 6px 12px; border-bottom: 1px solid #f0f0f0; }
.sf-item:last-child { border-bottom: none; }
.sf-item .sf-load { flex: 1; color: #333; text-decoration: none; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-item .sf-load:hover { color: #1976d2; }
.sf-item .sf-notify-toggle { display: inline-flex; align-items: center; cursor: pointer; margin-left: 4px; flex-shrink: 0; color: #999; }
.sf-item .sf-notify-toggle:hover { color: #1976d2; }
.sf-item .sf-notify-cb:checked + svg { color: #1976d2; }
.sf-item .sf-delete { border: none; background: none; color: #999; font-size: 16px; cursor: pointer; padding: 0 4px; line-height: 1; flex-shrink: 0; }
.sf-item .sf-delete:hover { color: #c44; }
.sf-empty { padding: 12px; text-align: center; color: #999; font-size: 13px; }

/* Column toggle dropdown */
.tf-col-toggle-menu {
    display: none; position: absolute; top: 100%; left: 0; z-index: 100;
    background: #fff; border: 1px solid #ccc; border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.15); padding: 8px;
    max-height: 400px; overflow-y: auto; min-width: 200px;
}
.tf-col-toggle-menu label {
    display: block; padding: 2px 4px; cursor: pointer; white-space: nowrap; font-size: 12px;
}
.tf-col-toggle-menu input[type="checkbox"] { width: auto; margin: 0 6px 0 0; }

/* Status filter widget sections (Active / Inactive grouping) */
.status-sections {
    display: flex; flex-direction: row; gap: 12px; margin-bottom: 16px;
    align-items: flex-start; flex-wrap: nowrap;
    overflow-x: auto;
}
.status-section { min-width: 0; flex-basis: 0; flex-grow: 1; flex-shrink: 0; }
.status-section-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px; padding-bottom: 4px; border-bottom: 1px solid #eee;
}
.status-section-title {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
    font-weight: 700; color: #666;
}
.status-section .status-widgets { margin-bottom: 0; }

/* Status filter widgets (shared by trailers + opportunities) */
.status-widgets { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.status-widget {
    flex: 1 1 90px; min-width: 85px;
    text-align: center; padding: 14px 8px 12px 8px;
    border: 1px solid #ddd; border-top: 3px solid #ccc; border-radius: 4px;
    background: #fafafa;
    text-decoration: none; color: #333;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.status-widget:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    transform: translateY(-1px);
}
.status-widget.active {
    background: #fff;
    box-shadow: 0 0 0 2px currentColor inset;
}
.status-widget.widget-excluded {
    background: #fff;
    box-shadow: 0 0 0 2px #e53935 inset;
    opacity: 0.6;
    text-decoration: line-through;
}
.status-widget .count {
    font-size: 26px; font-weight: 700; line-height: 1;
    color: inherit;
}
.status-widget .label {
    font-size: 11px; text-transform: uppercase; color: #666;
    margin-top: 6px; letter-spacing: 0.5px; font-weight: 600;
}

/* Chevron-shaped flow widgets — used for the active workflow section */
.status-widgets-flow {
    display: flex; gap: 4px; flex-wrap: nowrap;
    margin-bottom: 0;
}
.status-widgets-flow > .status-widget { flex: 1 1 0; min-width: 90px; }
.status-widget-divider {
    flex: 0 0 auto;
    width: 3px;
    background: #ccc;
    align-self: stretch;
    margin: 4px 4px;
}
.status-widget.flow-widget {
    flex: 1 1 0;
    min-width: 95px;
    padding: 14px 18px 12px 26px;
    border: 1px solid #ddd;
    border-top: 4px solid #ccc;
    border-radius: 0;
    background: #f0f3f7;
    color: #333;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.10));
    transition: background 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}
.status-widget.flow-widget.flow-start {
    padding-left: 12px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}
.status-widget.flow-widget:hover {
    background: #e6ebf2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.14));
    transform: translateY(-1px);
    box-shadow: none;
}
.status-widget.flow-widget.active {
    background: #d6e8f5; /* fallback */
    background: color-mix(in srgb, currentColor 18%, white);
    box-shadow: none;
    transform: none;
}
.status-widget.flow-widget .count {
    font-size: 22px;
    line-height: 1;
    color: inherit;
}
.status-widget.flow-widget .label {
    color: #666;
    font-size: 10px;
    margin-top: 4px;
    line-height: 1.15;
    letter-spacing: 0.4px;
    white-space: normal;
}

/* Custom tooltip for status widgets — appended to body to bypass clip-path */
.status-tooltip {
    position: fixed; z-index: 9999;
    max-width: 300px;
    background: #2c3e50;
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,.28), 0 1px 3px rgba(0,0,0,.18);
    font-size: 12.5px;
    line-height: 1.45;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px) scale(0.97);
    transform-origin: 50% 100%;
    transition: opacity 0.12s ease, transform 0.12s ease;
}
.status-tooltip.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.status-tooltip.below { transform-origin: 50% 0%; }
.status-tooltip-title {
    font-weight: 700;
    font-size: 13px;
    padding: 8px 14px 6px;
    border-bottom: 2px solid #1976d2;
    color: #fff;
    letter-spacing: 0.3px;
}
.status-tooltip-body {
    padding: 8px 14px 10px;
    color: rgba(255,255,255,0.92);
}
.status-tooltip-arrow {
    position: absolute;
    width: 0; height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}
.status-tooltip:not(.below) .status-tooltip-arrow {
    bottom: -7px;
    border-top: 7px solid #2c3e50;
}
.status-tooltip.below .status-tooltip-arrow {
    top: -7px;
    border-bottom: 7px solid #2c3e50;
}

/* "Show all" link inside a status section header (also a .status-widget so JS works) */
.status-widget.status-section-link {
    flex: 0 0 auto; min-width: 0;
    padding: 3px 10px;
    border: none; border-top: none; border-radius: 4px;
    background: transparent;
    font-size: 12px; font-weight: 600;
    transition: background 0.15s ease;
}
.status-widget.status-section-link:hover {
    background: rgba(0,0,0,0.04);
    box-shadow: none; transform: none;
}
.status-widget.status-section-link.active {
    background: var(--section-accent, #1976d2);
    color: #fff !important;
    box-shadow: none;
}
.status-widget.status-section-link .count {
    font-size: 12px; font-weight: 700; line-height: 1;
    color: inherit; display: inline; margin: 0 0 0 2px;
}