@import url("gui_array.css");
@import url("icons.css");
@import url("admin.css");

/* global template style definitions */
.gui_generator_form
{
    font-size: 13px;
}
.gui_generator_form .gui_generator_edit
{
    overflow: auto;
    width: 100%;
    padding-bottom: 10px;
}
.gui_generator_form .gui_generator_config textarea
{
    width: 350px;
    height: 100px;
}
.gui_generator_radio_none,
.gui_generator_radio_true,
.gui_generator_radio_false
{
    margin-right: 10px;
}
.gui_generator_radio
{
    margin-left: 5px;
    margin-right: 5px;
    vertical-align: bottom;
}
.gui_generator_view table
{
    border: 1px solid #c0c0c0;
    -moz-border-radius: 4px;
}
.gui_generator_view  tr
{
    padding: 5px;
    margin: 0;
    background-color: #f3f3f3;
    background-image: url('td_bgd.png');
    background-repeat: repeat-x;
    color: #000;
    border-left: 1px solid #eee;
}
.gui_generator_view tr.gui_generator_odd_row
{
    background-color: #f0f0f0;
    background-image: url('td_bgd.png');
    background-repeat: repeat-x;
}
.gui_generator_view tr.gui_generator_even_row
{
    background-color: #f8f8f8;
    background-image: url('td_even_bgd.png');
    background-repeat: repeat-x;
}
.gui_generator_view_details tr:hover > *,
.gui_generator_view_seperated .gui_generator_thead:hover,
.gui_generator_view_seperated .gui_generator_tbody .gui_generator_tr:hover,
.gui_generator_view .gui_generator_view_list li:hover,
.gui_generator_edit tr:hover
{
    background-color: #F3F3F3;
}
.gui_generator_edit thead th:hover
{
    background-image: url('th_hover_bgd.gif');
}
.gui_generator_view_details .gui_generator_toolbar > *
{
    float: right;
    visibility: hidden;
}
.gui_generator_view_details:hover .gui_generator_toolbar > *
{
    visibility: visible;
}
.gui_generator_view_seperated
{
}
/* header / footer */
.gui_generator_footer
{
    font-size: 13px;
    margin: 10px;
    text-align: center;
}
.gui_generator_header
{
    font-weight: bold;
    font-size: 13px;
    padding: 2px;
    border: 1px solid #ccc;
    background: url(gui_generator_header.png) #f0f0f0;
    color: #4863A0;
}
/* template specific styles */
.gui_generator_view_details
{
    margin-bottom: 10px;
    margin-top: 10px;
}
.gui_generator_view_details table
{
    width: 100%;
}
.gui_generator_view_details td,
.gui_generator_toolbar td
{
    padding: 2px;
    background-color: #f3f3f3;
    background-image: url('td_bgd.png');
    background-repeat: repeat-x;
    max-width: 800px;
}
.gui_generator_view_details tr th
{
    width: 10%;
    padding: 2px;
    background-color: #e8e3de;
    background-image: url('th_v_bgd.png');
    background-repeat: repeat-y;
    border-right: 1px solid #777;
    border-bottom: 1px solid #888;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ccc;
    white-space: nowrap;
}
.gui_generator_view_details tr th:hover
{
    background-image: url('th_v_hover_bgd.gif');
}
/* reserve space after column label for filter and sort-controls */
.gui_generator_view_details tr th .gui_generator_description
{
    margin-right: 40px;
}
.gui_generator_edit .gui_generator_filter
{
    float: left;
}
.gui_generator_edit .gui_generator_sort,
.gui_generator_view_details .gui_generator_filter
{
    float: right;
}
.gui_generator_edit .gui_generator_description
{
    display: inline-block;
}
.gui_generator_view_details .gui_generator_readonly_textarea,
.gui_generator_view_details .gui_generator_array
{
    height: 100px;
    overflow: auto;
}
.gui_generator_array a
{
    white-space: nowrap;
}
/* work-around for IE box-model bug */
* html .gui_generator_view_details table
{
    width: 640px;
}
* html .gui_generator_view_details .gui_generator_readonly_textarea,
* html .gui_generator_view_details .gui_generator_array
{
    width: 100%;
    overflow: auto;
}
* html .gui_generator_view .gui_generator_readonly_textarea,
* html .gui_generator_view .gui_generator_array
{
    width: 200px;
    overflow: auto;
}
.gui_generator_view_seperated .gui_generator_table .gui_generator_thead .gui_generator_file_download
{
    width: auto;
    display: inline;
}
.gui_generator_edit th,
.gui_generator_view th
{
    color: #000000;
    border: 1px solid #d0d0d0;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 12px;
    padding: 2px;
}
.gui_generator_edit thead tr
{
    background-color: #d8d3ce;
    background-image: url('th_bgd.png');
    background-repeat: repeat-x;
}
.gui_generator_form table
{
    border: 1px solid #c0c0c0;
    -moz-border-radius: 4px;
    background: #e0e0e0;
    color: #000000;
    margin: auto;
}
.gui_generator_toolbar td
{
    border-bottom: 1px solid #888;
    padding-bottom: 1px; 
    padding-top: 1px;
    text-align: left;
}
.gui_generator_edit img
{
    margin: 0;
}

.gui_generator_edit tbody .gui_generator_details,
.gui_generator_edit tbody .gui_generator_delete,
.gui_generator_edit .icon_arrowup,
.gui_generator_edit .icon_arrowdown
{
    visibility: hidden;
}

.gui_generator_edit table:hover thead .gui_generator_details,
.gui_generator_edit table:hover thead .gui_generator_delete,
.gui_generator_edit table:hover .icon_filter,
.gui_generator_edit th:hover .icon_arrowup,
.gui_generator_edit th:hover .icon_arrowdown,
.gui_generator_edit tr:hover .gui_generator_details,
.gui_generator_edit tr:hover .gui_generator_delete,
.gui_generator_edit .gui_generator_table:hover .icon_filter
{
    visibility: visible;
}
.gui_generator_edit table tbody td,
.gui_generator_view table tbody td
{
    border-bottom: 1px solid #ddd;
    padding-bottom: 1px;
    padding-top: 1px;
}
.gui_generator_edit tr,
.gui_generator_view table tbody tr
{
    text-align: center;
    vertical-align: top;
}
.gui_generator_view table thead tr th
{
    white-space: nowrap;
    padding: 5px;
    font-size: 12px;
    text-align: center;
}
.gui_generator_view_seperated .gui_generator_table
{
    border: 1px solid #c0c0c0;
    -moz-border-radius: 4px;
    background: #e0e0e0;
    color: #000000;
    margin: 5px;
}
.gui_generator_view_seperated .gui_generator_thead
{
    background-color: #d8d3ce;
    background-image: url('th_bgd.png');
    background-repeat: repeat-x;
    color: #000000;
    border: 1px solid #eee;
    font-size: 12px;
    padding-left: 5px;
    /* white-space: nowrap; */
    /* height: 30px; */
    /* overflow: hidden; */
}
.gui_generator_view_seperated .gui_generator_thead .gui_generator_tr
{
    display: inline;
    border-right: 1px dashed gray;
    line-height: 200%;
}
.gui_generator_view_seperated .gui_generator_thead .gui_generator_tr:last-of-type
{
    border-right-width: 0;
}
.gui_generator_view_seperated .gui_generator_thead > a.buttonize
{
    visibility: hidden;
}
.gui_generator_view_seperated:hover .gui_generator_thead > a.buttonize
{
    visibility: visible;
}
.gui_generator_view_seperated .gui_generator_thead .gui_generator_tr_last
{
    display: inline;
    border-right: 0;
    line-height: 30px;
}
.gui_generator_view_seperated .gui_generator_thead .gui_generator_th
{
    font-weight: bold;
    padding: 0 5px 0 10px;
    display: inline;
}
.gui_generator_view_seperated .gui_generator_thead .gui_generator_td
{
    padding: 0 10px 0 5px;
    display: inline;
}
.gui_generator_view_seperated .gui_generator_tbody
{
    display: inline;
}
.gui_generator_view_seperated .gui_generator_tbody .gui_generator_tr
{
    padding: 5px;
    background-color: #f3f3f3;
    background-image: url('td_bgd.png');
    background-repeat: repeat-x;
    color: #000000;
    border: 1px solid #c0c0c0;
}
.gui_generator_edit .gui_generator_multi_entry .gui_generator_readonly_textarea
{
    height: 20px;
}
.gui_generator_view_details .gui_generator_readonly_textarea
{
    height: inherit;
}
.gui_generator_mandatory
{
    color: #aa0000;
    font-size: 12px;
}
span.gui_generator_mandatory
{
    font-weight: bold;
    margin-left: 2px;
    margin-right: 2px;
}
.gui_generator_readonly_textarea
{
    overflow: auto;
    height: 75px;
    width: 100%;
}
.gui_generator_readonly_textarea ul, .gui_generator_textarea ul
{
    overflow: auto;
    text-align: left;
}
table.gui_generator_smilies td
{
    text-align: center;
    vertical-align: middle;
}
table.gui_generator_smilies img
{
    border: 0;
    margin-left: 3px;
    margin-right: 3px;
}
.gui_generator_edit .gui_generator_file_download,
.gui_generator_edit .gui_generator_image
{
    white-space: nowrap;
    font-size: 10px;
}
.gui_generator_edit .gui_generator_image
{
    width: 250px;
    overflow: hidden;
}
.gui_generator_edit .gui_generator_file_download input,
.gui_generator_edit .gui_generator_image input
{
    font-size: 10px;
}
.gui_generator_edit .gui_generator_multi_entry .gui_generator_file_delete
{
    font-size: 0px;
    color: #fff;
}
.gui_generator_edit .gui_generator_multi_entry .gui_generator_filter a
{
    vertical-align: -2px;
    margin-right: 5px;
}
.gui_generator_file_delete
{
    font-weight: bold;
    color: #888;
    display: inline;
}
.gui_generator_file_delete input
{
    margin-left: 5px;
    margin-right: 5px;
    display: inline;
}
.gui_generator_file_download a, span.gui_generator_file_download a
{
    margin-left: 2px;
    margin-right: 2px;
    text-decoration: none;
}
.gui_generator_file_download a img, span.gui_generator_file_download a img
{
    border: 0 none;
    vertical-align: bottom;
}

.gui_generator_image a
{
    display: block;
}

.gui_generator_time .gui_generator_radio_true
{
    display: block;
}

.gui_generator_time
{
    white-space: nowrap;
}
.gui_generator_bool
{
    margin: 5px 0px 0px 0px;
}
.gui_generator_set
{
    margin-left: 5px;
    margin-right: 5px;
    font-size: 12px;
}
select.gui_generator_set
{
    margin-left: 0px;
    margin-right: 0px;
}
.gui_generator_set input
{
    margin-right: 5px;
}
.gui_generator_view_list
{
    background-color: #f3f3f3;
    background-image: url('td_bgd.png');
    background-repeat: repeat-x;
    border: 1px solid #c0c0c0;
    text-align: left;
    padding-left: 5px;
}
.gui_generator_view_list li
{
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-right: 20px;
    list-style-image: url('array_list_item.gif');
    list-style-position: inside;
}
.gui_generator_view_list li img
{
    border: 0px none;
}
.gui_generator_list_title
{
    font-weight: bold;
}
.gui_generator_list_value
{
    font-style: italic;
}
.gui_generator_view_list .gui_generator_details,
.gui_generator_view_list .gui_generator_delete
{
    visibility: hidden;
}
.gui_generator_view_list :hover .gui_generator_details,
.gui_generator_view_list :hover .gui_generator_delete
{
    visibility: visible;
}
a.gui_generator_int_link
{
    text-decoration: none;
    margin-right: 5px;
    margin-left: 2px;
    float: left;
    white-space: nowrap;
}
.gui_generator_view_seperated a.gui_generator_int_link
{
    float: none;
}
a.gui_generator_ext_link
{
    text-decoration: none;
    white-space: nowrap;
}
a.gui_generator_int_link img
{
    border: 0px none;
}
a.gui_generator_ext_link img
{
    border: 0px none;
}
.gui_generator_layout .gui_generator_layout_preview
{
    display: none;
    border: 1px solid #888;
}
.gui_generator_layout a.gui_generator_layout_select:hover .gui_generator_layout_preview
{
    display: inline;
    position: absolute;
}
.gui_generator_calendar
{
    padding-left: 5px;
    padding-right: 2px;
    cursor: pointer;
}
/* Top Frame */
.gui_generator_frame_top_right
{
    background: url('index_box_right_top_transparent.gif') no-repeat top right;
    height: 15px;
    margin: 0;
    overflow: hidden;
    padding-right: 15px;
}
.gui_generator_frame_top_left
{
    background: url('index_box_left_top_transparent.gif') no-repeat top left;
    height: 15px;
    overflow: hidden;
    padding-left: 15px;
}
.gui_generator_frame_top
{
    background: url('index_box_top.gif');
    height: 15px;
}
/* Bottom Frame */
.gui_generator_frame_bottom_right
{
    background: url('index_box_right_bottom_transparent.gif') no-repeat bottom right;
    height: 15px;
    overflow: hidden;
    padding-right: 15px;
}
.gui_generator_frame_bottom_left
{
    background: url('index_box_left_bottom_transparent.gif') no-repeat bottom left;
    height: 15px;
    overflow: hidden;
    padding-left: 15px;
}
.gui_generator_frame_bottom
{
    background: url('index_box_bottom.gif');
    height: 15px;
}
/* Bottom Center */
.gui_generator_frame_left
{
    background: url('index_box_left.gif') repeat-y left;
    padding-left: 15px;
    height: 100%;
}
.gui_generator_frame_right
{
    background: url('index_box_right.gif') repeat-y right;
    padding-right: 15px;
    height: 100%;
}
.gui_generator_frame_center
{
    background: #282828 url('highlight2.jpg') repeat-x;
    color: #f0f0f0;
    height: 100%;
    text-align: center;
}
.gui_generator_frame_image
{
    display: block;
    padding: 20px;
}
.gui_generator_frame_close
{
    background: url('icon_close.gif') no-repeat right;
    cursor: pointer;
    margin-bottom: 5px;
}

/* new content */

.gui_generator_footer
{
    margin-bottom: 20px;
    vertical-align: bottom;
}

.gui_generator_footer .gui_generator_mandatory
{
    color: #a55;
}

.gui_generator_view textarea
{
    width: 99%;
}

/* Layout 1 */

.gui_generator_multi_entry *
{
    vertical-align: middle;
}

/* textarea hover effect */
.gui_generator_multi_entry textarea
{
    height: 18px;
    overflow: hidden;
    width: 200px;
    padding-top: 0px;
    padding-bottom: 0px;
}
/* Layout 4 */
.gui_generator_config
{
    color: #000;
}
.gui_generator_config .optionbody
{
    font-size: 13px;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-weight: bold;
}
.gui_generator_config .optionbody
{
    padding-bottom: 10px;
}
.gui_generator_config .optionitem
{
    display: block;
    padding: 5px;
    text-align: left;
}
.gui_generator_config .optionitem .label
{
    display: block;
    width: 250px;
    float: left;
    text-align: right;
    padding-right: 10px;
}
.gui_accordion .header
{
    font-size: 16px;
    color: #f0f0f0;
    background: url('highlight2.jpg') repeat-x;
    background-color: #414649;
    font-weight: bold;
    padding: 3px;
}
/* fieldset */
fieldset > .gui_generator_toolbar
{
    padding-right: 2px;
    margin-top: -8px;
}
/* IE 7 (fieldset border bug) */
* + html fieldset > .gui_generator_toolbar
{
    margin-top: 0px;
}
.gui_generator_toolbar
{
    text-align: right;
}

.gui_generator_toolbar > div,
.gui_generator_toolbar > form
{
    /* CSS 2.1 for IE8 */
    background-color: #f0f0f0;
    /* CSS 3 for Firefox, Chrome, Opera and others */
    background-color: rgba(255, 255, 255, 0.5);
    padding: 5px;
    margin-left: 40%;
    border: 1px solid #aaa;
    /* Firefox and Seamonkey */
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-bottomleft: 4px;
    /* Safari and Chrome */
    -webkit-border-radius-topleft: 4px;
    -webkit-border-radius-bottomleft: 4px;
    /* IE9 and Opera */
    border-radius-topleft: 4px;
    border-radius-bottomleft: 4px;
}

/* preview images for layout selector */
.gui_generator_toolbar .gui_select_layout img.gui_layout
{
    border: 1px solid #3C6DA5;
    height: 18px;
    width: 25px;
    opacity: 0.5;
    vertical-align: bottom;
}

.gui_generator_toolbar .gui_select_layout img.gui_layout_preview
{
    border: 2px solid #eee;
    position: absolute;
    margin-top: 20px;
    margin-left: -80px;
    display: none;
    z-index: 1;
}

.gui_generator_toolbar .gui_select_layout a:hover img.gui_layout_preview
{
    display: inline;
}

.gui_generator_toolbar > a
{
    display: inline-block;
    padding: 5px;
    padding-top: 0px;
    opacity: 0.8;
    background: #282828;
    border: 1px solid #282828;
    -moz-border-radius-bottomleft: 4px;
    -moz-border-radius-bottomright: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.gui_generator_toolbar > a:hover
{
    opacity: 1;
    background: url('highlight2.jpg') repeat-x;
    border-color: #888;
}

fieldset > .gui_generator_toolbar > a
{
    visibility: hidden;
    outline: 0;
}

fieldset:hover > .gui_generator_toolbar > a
{
    visibility: visible;
}

/* search and sub-forms */
.gui_generator_new,
.gui_generator_search
{
    /* CSS 2.1 for IE8 */
    background-color: #f0f0f0;
    /* CSS 3 for Firefox, Chrome, Opera and others */
    background-color: rgba(255, 255, 255, 0.5);
}