/* Overlay */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1000;
    -webkit-transform: translate3d(0,0,0);
}

#loading {
    border:1px solid #2a67ac;
    padding: 10px 10px 10px 60px;
    width: 300px;
    height: 100px;
    background: rgb( 255, 255, 255) url('../images/FhHRx-Spinner.gif') 10px 50% no-repeat;
    position: fixed;
    display: none;
    z-index: 3000;
}

#loading h4 { margin: 3px 0 0 0; padding: 0; color: #d80; }

.pull-right {
    float: right;
}

.non-local-image {
    display: inline-block;
    border: 3px dashed #eee;
    border-radius: 5px;
}

.non-local-image:after {
    background: url(../logo.php) center center no-repeat;
    background-size: cover;
    content: "";
    z-index: -1;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.3;
}

div.section-break {
    margin-top: 1em;
    margin-bottom: 0.5em;
    padding-top: 0.8em !important;
    border-top: 1px solid #ccc;
}

input.dp {
    width: 10em;
}

/* Custom css for datepicker */
.ui-datepicker-trigger {
    display:inline-block;
    border:0;
    padding:0;
    margin-left:2px;
    position:relative;
    top:-2px;
    width:16px;
    height:16px;
    background:inherit;
}

.draft-saved {
    background-color: black;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px 6px;
    border-radius: 3px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    line-height: 14px;
    position: absolute;
    top: 3em;
    right: 0.5em;
}

.delete-draft:hover {
    background-color: #fc9f41 !important;
}

/*Custome START*/
/* === Full-width portal layout (drop-in) === */

/* Make the main container stretch full width but center content with a max-width */
#container,
.container,
.wrapper,
.main {
    width: 100% !important;
    max-width: 1400px;         /* change this to your preferred max width */
    margin: 0 auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
}

/* Stretch header and footer backgrounds edge-to-edge */
#header, .header, #masthead, #footer, .footer {
    width: 100% !important;
    left: 0;
    right: 0;
    box-sizing: border-box;
}

/* Make the white portal card wider and remove fixed width */
#content, .content, .portal, .page {
    width: auto !important;
    max-width: none !important;
    margin: 0 auto;
    padding: 36px 20px;
}

/* If osTicket uses a centered inner panel/card, expand it */
.panel, .panel-body, .ticket-form, .support-card {
    width: 100% !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-radius: 6px;
}

/* Optional: keep narrow text readable on very large screens */
#container .content p, .support-card p {
    max-width: 100ch;
}

/* Make top navigation fill the width and keep tabs aligned */
#header .tabs, .top-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Small screens: keep responsive */
@media (max-width: 900px) {
    #container, .container, .wrapper, .main {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    #loading { left: 10px !important; right: 10px !important; width: auto; }
}

/*Custome END*/


.notice_bar { margin: 0; padding: 5px 10px 5px 36px; height: 16px; line-height: 16px; border: 1px solid #0a0; background: url('../assets/default/images/icons/ok.png') 10px 50% no-repeat #e0ffe0; }

.warning_bar { margin: 0; padding: 5px 10px 5px 36px; height: 16px; line-height: 16px; border: 1px solid #f26522; background: url('../assets/default/images/icons/alert.png') 10px 50% no-repeat #ffffdd; }

.error_bar { margin: 0; padding: 5px 10px 5px 36px; height: 16px; line-height: 16px; border: 1px solid #a00; background: url('../assets/default/images/icons/error.png') 10px 50% no-repeat #fff0f0; }
