banner, .form .item textarea { 
    font-family: Verdana;
    font-size: 9pt; }

/*Common attributes*/
.no-wrap { white-space: nowrap; }
.hidden { display: none; }
.invisible { visibility: hidden; }
.rightside { float: right; }
.leftside { float: left; }
.leftSpace { margin-left: 20px; }
.short-number-box { width: 60px !important; margin-top: -2px; }
input[type="submit"] { cursor: pointer; }
input[type="checkbox"] + label { cursor: pointer; }

p { text-align: justify; margin-bottom: 10px; }
b, strong { font-weight: bold; }
i { font-style: italic; }
ul, ol { margin: 10px 60px 0; }
    ul li { display: list-item; list-style: disc outside; }
    ol li { display: list-item; list-style: decimal outside; }

sub { vertical-align: sub; }
sup { vertical-align: super; }

.inline { display: inline-block; vertical-align: top; }
.floatfix { clear: both; }


/* Standard Grid */
.grid { width: 100%; border: 1px solid #a7a9ac; color: #232; background: #fff; }
    .grid th a { text-decoration: none; color: #000; font-weight: bold; }
    .grid td { padding: 5px 10px; vertical-align: middle; color: #00395f; text-align: center; }
.left-td { text-align: left !important; }
.grid th { background: #e6f0f6; padding: 5px 10px; text-align: center; color: #000; font-weight: bold; }
.grid .alt { background: #fbfbfb }
.grid .no-wrap { white-space: nowrap; }
.grid tr.selected { background: yellow; }
.grid .footer td { background: #E1E4E4; padding: 5px 10px; color: #076cbc; font-weight: bold; border: 1px solid #a7a9ac; }

/*.grid sort*/
.grid .header-row a.sorted-ascending { background: url(images/ascending.bullet.png) no-repeat right; padding-right: 15px; }
.grid .header-row a.sorted-descending { background: url(images/descending.bullet.png) no-repeat right; padding-right: 15px; }

.buttons { margin-top: 10px; text-align: right; display: block; }

/* Search box */
div.search { padding: 10px; margin: 15px 0; overflow: auto; clear: right; }
    div.search h4 { font-size: 13px; color: #444; margin: 0 0 10px 0; }
    div.search .item { width: 100%; margin-bottom: 2px; }
        div.search .item .label { float: left; width: 120px;}
        div.search .item input[type="text"], div.search .item select { width: 200px; border: 1px solid gray; vertical-align: middle; }
    div.search .buttons { float: right; margin: 0px; vertical-align: middle; }
    div.search input[type="image"] { margin: 0px; vertical-align: middle; }

/* view-body */
.view-body { }
    .view-body .item { margin-bottom: 5px; }
        .view-body .item .label { float: left; width: 160px; color: #666; }
            .view-body .item .label + .value { margin-left: 160px; }

/* Forms */
.form { }
    .form div { padding-left: 3px; padding-right: 3px; }
    .form .buttons { margin-top: 20px; text-align: right; margin-bottom: 5px; }
    .form .item { margin-bottom: 5px; }
        .form .item .label {
            float: left;
            width: auto;
        }
            .form .item .label + .input { margin-left: 350px; }
            .form .item .label.whole { float: none; }
                .form .item .label.whole + .input { margin-left: auto; }
        .form .item .currency-symbol { float: right; }

    .form .help { display: inline; }
    .form .item select { height: 20px; padding: 0px; }
    .form .item select, .form .item input[type="password"], .form .item input[type="text"], .form .item textarea {
        border: 1px solid #ccc;
        width: 200px;
        background-color: #fff;
    }
    .form fieldset { width: 550px; }
        .form fieldset .item { margin-left: 10px; }
        .form fieldset legend { font-weight: bold; margin-bottom: 10px; margin: 10px; color: #668b5c; }
    .form .ajax__tab_xp { margin-top: 10px; }

    .form .detailsGrid { width: 100%; }
        .form .detailsGrid, .form .detailsGrid tr, .form .detailsGrid th, .form .detailsGrid td { border: none; border: 0px; }

    .form .item .input .calendar-icon { vertical-align: text-top; cursor: pointer; }
    .form .item .input input.date-box { width: 100px; }
input[type=checkbox] + label, input[type=radio] + label { vertical-align: text-top; }

/* Grid Hover */
.gridRowHover { position: absolute; height: auto; padding: 10px; background: #fff; border: 1px solid #a0a0a0; display: none; width: 300px; }
.button-hover-box { position: absolute; padding: 7px; background: #ffe; border: 1px solid #a0a0a0; display: none; text-align: left; margin-top: -30px; }

/* Modal */
.modal-cover { position: absolute; width: 100%; height: 100%; background: #000; z-index: 80000; left: 0px; top: 0; opacity: .6; filter: alpha(opacity=60); -moz-opacity: .6; display: none; }
.defaultModal { z-index: 100000; position: absolute; width: 100%; height: 100%; }
    .defaultModal iframe { width: 663px; height: 500px; border: solid 10px #333; border-radius: 10px; vertical-align: middle; position: absolute; }

/* Select columns */
div.select-columns { background: #fff; border: 1px outset #aaa; width: 200px; height: 250px; position: absolute; display: none; font-size: 10px; }
    div.select-columns table { width: 100%; height: 90%; overflow: auto; margin-bottom: 10px; }
        div.select-columns table td { padding: 3px 8px; }
    div.select-columns button { width: 45%; margin-left: 5px; font-size: 100%; }
.columns-filter .label { float: left; width: 120px; }
.columns-filter a.select-columns { float: left; cursor: pointer; }

/*box-with-left-icon*/
.box-with-left-icon { padding: 10px; }
    .box-with-left-icon h3 { display: none; }
    .box-with-left-icon .icon-cell { padding-left: 5px; }
    .box-with-left-icon table { width: 100%; }

/* Standard-view */
.standard-view { width: 760px; margin-bottom: 20px; }
    .standard-view .item { width: auto; min-height: 15px; padding: 4px 5px; color: #666; margin: 0 0 5px 0; }
    .standard-view .large { min-height: 30px; }
    .standard-view .item .label { width: 270px; float: left; font-weight: bold; margin-right: 10px; }
    .standard-view .item .value { min-width: 470px; display: block; }

/* Auto complete*/
.AutoComplete .panel { background: #fff; border: 1px solid #5e89af; max-height: 150px; overflow-y: auto; }
    .AutoComplete .panel div { cursor: pointer; padding: 0 3px; margin-top: 5px; min-height: 10px; display: block; width: auto; }
        .AutoComplete .panel div:hover { background: #444; color: #fff; }
.AutoComplete .highlighted { background: #ccdeed; }
.AutoComplete .highlight { font-weight: bold; }
.AutoComplete .textbox.loading { background: white url(/images/icons/loading.gif) right center no-repeat; }

/* Calendar */
.date-box { max-width: 200px; }

/*ajax__calendar_body*/
.ajax__calendar_body { height: 130px; }
.ajax__calendar_container { background: #fff; border: 2px outset gray; z-index: 1000; }
.ajax__calendar_header { height: 25px; }
.ajax__calendar_today, .ajax__calendar_dayname { color: #08b; }
.ajax__calendar_container div div div:hover { background: #def; }
div.ajax__calendar_day { color: #555; text-align: center; }
td.ajax__calendar_active div { color: #b33; font-weight: bold; }
td.ajax__calendar_other div { color: #aaa; }

/*view-body*/
.view-body .item { width: auto; margin: 0 0 5px 5px; clear: both; }
    .view-body .item .label { float: left; width: 180px; color: #888; }

/* ============= SLIDER ==================*/
.slider .slider-container { margin: 0 10px; }
.slider .slider-before { padding-bottom: 5px; }
.slider .slider-after { font-size: 80%; margin: 0 2px; }

.hidden { display: none; }
.bold { font-weight: bold; }

.waterMark { color: Gray; }

.pay-date-warning { color: red; }

/* Jquery Custom
----------------------------------*/
.ui-dialog { min-width: 400px !important; }
.ui-widget-header { border: 1px solid #6EBC3E; background: #6EBC3E url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; }
/* Component containers
----------------------------------*/
.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
    .ui-widget .ui-widget { font-size: 1em; }
    .ui-widget input,
    .ui-widget select,
    .ui-widget textarea,
    .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
    .ui-widget-content a { color: #333333; }
.ui-widget-header {
    border: 1px solid #295C59;
    background: #295C59 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x;
    color: #ffffff;
    font-weight: bold;
}
    .ui-widget-header a { color: #ffffff; }
    /* Interaction states
----------------------------------*/
    .ui-state-default,
    .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }
        .ui-state-default a,
        .ui-state-default a:link,
        .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }
    .ui-state-hover,
    .ui-widget-content .ui-state-hover,
    .ui-widget-header .ui-state-hover,
    .ui-state-focus,
    .ui-widget-content .ui-state-focus,
    .ui-widget-header .ui-state-focus { border: 1px solid #6EBC3E; background: #6EBC3E url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #fff; }
        .ui-state-hover a,
        .ui-state-hover a:hover { color: #fff; text-decoration: none; }
    .ui-state-active,
    .ui-widget-content .ui-state-active,
    .ui-widget-header .ui-state-active { border: 1px solid #6EBC3E; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #6EBC3E; }
        .ui-state-active a,
        .ui-state-active a:link,
        .ui-state-active a:visited { color: #6EBC3E; text-decoration: none; }

@media screen and (max-width: 480px) {
    .ui-dialog {
        min-width: 95% !important;
        width: 95% !important;
        max-width: 95% !important;
    }
}

/* ========================================
   Floating Language Selector
   ======================================== */
.language-selector-float {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;

    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: #fff;
}

.language-selector-float-border {
    border: solid .0625rem #295C59;
}

.language-icon {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
}

@media (max-width: 768px) {
    .language-selector-float {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
    }

    .language-label-text {
        display: none;
    }

    .language-dropdown {
        min-width: 100px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .language-selector-float {
        top: 5px;
        right: 5px;
        padding: 6px 10px;
    }

    .language-icon {
        font-size: 16px;
    }

    .language-dropdown {
        min-width: 80px;
        font-size: 12px;
        padding: 5px 8px;
    }
}

@media print {
    .language-selector-float {
        display: none;
    }
}
