/****h* widget/spinner
 * NAME
 *      spinner
 * FUNCTION
 *      css for spinner widget
 * COPYRIGHT
 *      copyright (c) 2010 by Harald Lapp
 * AUTHOR
 *      Harald Lapp <harald.lapp@gmail.com>
 ****
 */

.ltk_spinner {
    position:   absolute;
    visibility: hidden;
    top:        0px;
    left:       0px;
    background: url('/resources_ltk/widgets/spinner/white.gif') center center no-repeat;
}
.ltk_spinner_overlay {
    position:         absolute;
    visibility:       hidden;
    top:              0px;
    left:             0px;
    background-color: #fff;
    opacity:          0.5;
    filter:           alpha(opacity=50);
}

/****h* ltk/ltk
 * NAME
 *      ltk
 * FUNCTION
 *      default classes for LTK based apps
 * COPYRIGHT
 *      copyright (c) 2010 by Harald Lapp
 * AUTHOR
 *      Harald Lapp <harald.lapp@gmail.com>
 ****
 */

body {
/*    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size:   12px; */
}

.ltk_border {
    /* generic border of a widget */
    border: 5px solid #fff;

    -moz-border-radius:     5px; 
    -webkit-border-radius:  5px;
    -khtml-border-radius:   5px; 
    border-radius:          5px; 
    behavior:               url(/resources_ltk/ltk/htc/border-radius.htc);
}

.ltk_disabled {
    /* generic widget disabled */
    opacity: .5;
}
.ltk_enabled {
    /* generic widget enabled */
    opacity: 1;
}

.ltk_form_wrapper {
    /* wraps form elements to fix width problem */
    width:   100%;
    border:  0;
    margin:  0;
    padding: 0;
}

/****h* container/dialog
 * NAME
 *      dialog
 * FUNCTION
 *      css for dialog container
 * COPYRIGHT
 *      copyright (c) 2010 by Harald Lapp
 * AUTHOR
 *      Harald Lapp <harald.lapp@gmail.com>
 ****
 */

.ltk_dialog {
    background-color:   #ddd;
    border:             1px solid #eee;
    overflow:           hidden;
}
.ltk_dialog.ltk_dialog_floating {
    /* floating dialog */
    position: absolute;
}
.ltk_dialog.ltk_dialog_rounded {
    /* dialog rounded corners */
    -moz-border-radius:     5px; 
    -webkit-border-radius:  5px;
    -khtml-border-radius:   5px; 
    border-radius:          5px; 
    behavior:               url(/resources_ltk/ltk/htc/border-radius.htc);
}
.ltk_dialog.ltk_dialog_shadow {
    /* dialog shadow */
    box-shadow:         2px 2px 5px #818181;
    -webkit-box-shadow: 2px 2px 5px #818181;
    -moz-box-shadow:    2px 2px 5px #818181;
    filter:             progid:DXImageTransform.Microsoft.dropShadow(color=#818181, offX=2, offY=2, positive=true);
}
.ltk_dialog label.ltk_dialog_label {
    /* dialog label */
    margin:             5px 5px 0 5px;
    background-color:   #ccc;
    border:             1px solid #ccc;
    display:            block;
    font-weight:        bold;
}
.ltk_dialog div.ltk_dialog_container {
    /* dialog content container */
    height: auto;
    margin: 5px;
    border: 1px solid transparent;
/*    width:  100%; */
}

*html .ltk_dialog div.ltk_dialog_container {
    /* IE6 hack for emulating transparent borders */
    border-color: #000001;
    width: 100%;
    filter:progid:DXImageTransform.Microsoft.Chroma(color=#000001);
}

/****h* widget/selectbox
 * NAME
 *      select
 * FUNCTION
 *      css for selectbox widget
 * COPYRIGHT
 *      copyright (c) 2010 by Daniel Garding
 * AUTHOR
 *      Daniel Garding <d.garding@clipdealer.de>
 ****
 */

.ltk_selectbox {
    width:     100%;
}
.ltk_selectbox_outbox {
    font-size: 10px;
    border: 1px solid #B6B6B6;
    display: block;
    position: absolute;
}
.ltk_selectbox_content {
    overflow:auto;
    background-color: #FFF;
}
.ltk_selectbox_list{
    margin: 0px;
    padding: 0px;
}
.ltk_selectbox_buttonbar {
    background-color: #DDDDDD;
    height: 25px;
    padding: 5px 0px 0px 5px;
    text-align: right;
}
.ltk_selectbox_selectAll{
    cursor: pointer;
    display: block;
    float: left;
    padding: 2px;
    text-decoration: underline;
}
.ltk_selectbox_content ul li {
    padding: 2px;
    background-color:#FFFFFF;
    border-bottom:1px solid #dcd9d9;
    margin:0;
    list-style-type: none;
}
.ltk_selectbox_content ul li.odd {
    background-color: #edecea;
}
.ltk_selectbox_content ul li.odd:hover {
    background-color:#d05423;
    color: #FFF;
}
.ltk_selectbox_content ul li:hover {
    background-color:#d05423;
    color: #FFF;
}
.clear {
    clear: both;
}
/****h* widget/overlay
 * NAME
 *      overlay
 * FUNCTION
 *      css for overlay widget
 * COPYRIGHT
 *      copyright (c) 2010 by Harald Lapp
 * AUTHOR
 *      Harald Lapp <harald.lapp@gmail.com>
 ****
 */

.ltk_overlay {
    visibility:       hidden;
    top:              0px;
    left:             0px;
    height:           100%;
    width:            100%;
    background-color: #fff;
    opacity:          0.5;
    filter:           alpha(opacity=50);
    /*position:         fixed;*/
}

.tt-content {
    -webkit-border-radius:4px 4px 4px 4px;
    -moz-border-radius:4px 4px 4px 4px;
    border: 3px double lightgrey;
    background:none repeat scroll 0 0 #102232;
    color:#FFFFFF;
    display:block;
    margin-left:0px;
    margin-top:10px;
    padding:10px;
    position:absolute;
    width:190px;
    z-index:9999;
}
/****h* container/modal
 * NAME
 *      modal
 * FUNCTION
 *      css for modal window container
 * COPYRIGHT
 *      copyright (c) 2010 by Harald Lapp
 * AUTHOR
 *      Harald Lapp <harald.lapp@gmail.com>
 ****
 */

.ltk_modal {
    position:   fixed;
    border:     1px solid #aaa;
    visibility: hidden;
    z-index:    1000;
}
.ltk_modal.ltk_modal_rounded {
    /* rounded corners */
    border-bottom-right-radius:         5px;
    border-bottom-left-radius:          5px;
    -moz-border-radius-bottomright:     5px;
    -moz-border-radius-bottomleft:      5px;
    -webkit-border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius:  5px;
    behavior:                           url(/resources_ltk/ltk/htc/border-radius.htc);
}
.ltk_modal_background {
    /* modal background */
    visibility:       hidden;
    top:              0px;
    left:             0px;
    height:           100%;
    width:            100%;
    background-color: #fff;
    opacity:          0.5;
    filter:           alpha(opacity=50);
    position:         fixed;
    z-index:          999;
}


/****h* container/window
 * NAME
 *      window
 * FUNCTION
 *      css for window container
 * COPYRIGHT
 *      copyright (c) 2010 by Harald Lapp
 * AUTHOR
 *      Harald Lapp <harald.lapp@gmail.com>
 ****
 */

.ltk_window {
    position: absolute;
    border:   1px solid #aaa;
}
.ltk_window label.ltk_draggable {
    /* draggable window */
    cursor: move;
}
.ltk_window div.ltk_resizable {
    /* resizable window */
    position: absolute;
    text-align: right;
    height:     14px;
    bottom:     0px;
    right:      0px;
}


/****h* container/grid
 * NAME
 *      grid
 * FUNCTION
 *      css for grid layout
 * COPYRIGHT
 *      copyright (c) 2010 by Harald Lapp
 * AUTHOR
 *      Harald Lapp <harald.lapp@gmail.com>
 ****
 */

table.ltk_grid {
    border-collapse: collapse;
    width:           100%;
}

/****h* widget/image
 * NAME
 *      image
 * FUNCTION
 *      css for image widget
 * COPYRIGHT
 *      copyright (c) 2010 by Harald Lapp
 * AUTHOR
 *      Harald Lapp <harald.lapp@gmail.com>
 ****
 */

*html img.ltk_image {
    /* IE6 hack for emulating transparent borders */
    border-color: #000001;
    filter:progid:DXImageTransform.Microsoft.Chroma(color=#000001);
}
/****h* widget/select
 * NAME
 *      select
 * FUNCTION
 *      css for select widget
 * COPYRIGHT
 *      copyright (c) 2010 by Harald Lapp
 * AUTHOR
 *      Harald Lapp <harald.lapp@gmail.com>
 ****
 */

.ltk_select {
    width:     100%;
    font-size: 12px;
}


/****h* widget/slider
 * NAME
 *      slider
 * FUNCTION
 *      css for slider widget
 * COPYRIGHT
 *      copyright (c) 2010 by Harald Lapp
 * AUTHOR
 *      Harald Lapp <harald.lapp@gmail.com>
 ****
 */

.ltk_slider {
    position: relative;
    width:    100%;
    height:   15px;
}
.ltk_slider div.ltk_slider_track {
    /* slider track */
    float:  right;
    width:  100%;
    margin: 6px 0;
    height: 3px;
}
.ltk_slider div.ltk_slider_track div.ltk_slider_track_background {
    /* slider track background */
    border:           1px inset #555;
    margin:           0 15px;
    height:           1px;
    background-color: #aaa;
}
.ltk_slider img.ltk_draggable {
    /* draggable slider */
    background-image:   url(/resources_ltk/images/slider.gif);
    position:           absolute;
    cursor:             move;
    width:              31px;
    height:             15px;
}

/****h* widget/textline
 * NAME
 *      textline
 * FUNCTION
 *      css for textline widget
 * COPYRIGHT
 *      copyright (c) 2010 by Harald Lapp
 * AUTHOR
 *      Harald Lapp <harald.lapp@gmail.com>
 ****
 */

input.ltk_textline {
    box-sizing:         border-box;
    -moz-box-sizing:    border-box;
    -ms-box-sizing:     border-box;
    -webkit-box-sizing: border-box;
    -khtml-box-sizing:  border-box;    
    width:              100%;
    display:            block;
    
    font-size:          12px;
    line-height:        15px;
    
    border-width:       1px;
}

