/*******************************
 *  STYLES FOR ZEBRA_FORM
 *******************************/

.Zebra_Form,
.Zebra_Form * {
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    padding: 0;
    outline: none;
    /*color: #222*/
}

.Zebra_Form div.hidden .text {
    display: none /* hide the honey pot */
}

.Zebra_Form .zfrow label,
.Zebra_Form .zfrow input.button,
.Zebra_Form .zfrow input.reset,
.Zebra_Form .zfrow input.password,
.Zebra_Form .zfrow input.text,
.Zebra_Form .zfrow select,
.Zebra_Form .zfrow textarea {
    display: block
}

.Zebra_Form input.button,
.Zebra_Form input.reset,
.Zebra_Form input.submit,
.Zebra_Form label {
    font-weight: bold
}

.Zebra_Form label {
    color: #222;
    cursor: pointer
}

/* labels for checkboxes and radio buttons are not bold */
.Zebra_Form label.option {
    font-weight: normal
}

.Zebra_Form .zfrow input.button,
.Zebra_Form .zfrow input.reset,
.Zebra_Form .zfrow input.password,
.Zebra_Form .zfrow input.text,
.Zebra_Form .zfrow select,
.Zebra_Form .zfrow textarea { 
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.Zebra_Form input.button,
.Zebra_Form input.password,
.Zebra_Form input.reset,
.Zebra_Form input.text,
.Zebra_Form input.submit,
.Zebra_Form select,
.Zebra_Form textarea {
    border: 1px solid #999
}

.Zebra_Form input.password,
.Zebra_Form input.text,
.Zebra_Form select,
.Zebra_Form textarea {
    padding: 3px
}

.Zebra_Form .zfrow label {
    margin-bottom: 5px
}

.Zebra_Form .cell label {
    margin-bottom: 0
}

/*.Zebra_Form select {
    background: #FFF
}*/

.Zebra_Form select option {
    padding: 0 3px /* same as the select box's horizontal padding or weird behaviour in Firefox */
} 

.Zebra_Form select option.dummy {
    font-size: 0em /* used when creating nested selects */
} 

.Zebra_Form select.time {
    float: left;
    margin-right: 5px
}

.Zebra_Form input.password,
.Zebra_Form input.text,
.Zebra_Form textarea {
    background: #FFF url('textbox-background.gif') repeat-x top
}

.Zebra_Form input.password,.Zebra_Form select,
.Zebra_Form input.text {
    /*width: 200px*/
}

.Zebra_Form input.date {
    width: 95px;
    float: left;
}

.Zebra_Form textarea {
    /*width: 400px*/
}

.Zebra_Form input.radio,
.Zebra_Form input.checkbox {
    *position: relative;
    *top: -1px;
	margin-right: 4px;
    margin-top: 4px;
}

/* only for IE 8 and below */
.Zebra_Form input.file {
    border:1px solid #999\9;
    background: #FFF url('textbox-background.gif') repeat-x top\9;
    padding: 4px\9;
    width: 293px\9
}

.Zebra_Form input.button,
.Zebra_Form input.reset,
.Zebra_Form input.submit {
    height: 29px;
    background: url('button-background.gif') repeat-x top;
    padding: 2px 10px 3px;
    cursor: pointer;
    width: 1px; /* thanks to http://jehiah.cz/archive/button-width-in-ie */
    overflow: visible;
    padding: 0 10px\9;
    *padding: 1px 5px 0;
    *height: 30px;
    width: auto;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-box-shadow: 0 0 2px #AAA;
    -webkit-box-shadow: 0 0 2px #AAA;
    box-shadow: 0 0 2px #AAA;
}

.Zebra_Form input.button:hover,
.Zebra_Form input.reset:hover,
.Zebra_Form input.submit:hover,
.Zebra_Form input.submit-hover {
    background: #303740 none;
    color: #FFF
}

.Zebra_Form .zfrow {
    background: #FFF;
    padding: 10px;
    margin-bottom: 1px;
    border-bottom: 1px solid #DEDEDE;
    line-height: 1.4rem;
    /*
    line height is there to space things nicely but also to avoid the peek-a-boo bug in IE6
    read more at http://www.dracos.co.uk/code/ie6-css-bug/
    */
}

.Zebra_Form table {
    border-collapse: collapse
}

.Zebra_Form td {
    padding: 4px;
    background-color: unset
}

.Zebra_Form .cell {
    float: left; margin-right: 5px
}

.Zebra_Form .inline {
    display: inline /* for when we show the "required" sign after controls that have the labels as tips */
} 

.Zebra_Form .even {
    background: #F6F6F6
}

.Zebra_Form .highlight {
    background: #E9F6F9
}

.Zebra_Form .last {
    border-bottom: inherit;
}

.Zebra_Form .zfrow input.other {
    margin-top: 5px
}

.Zebra_Form .zfrow .cell input.other {
    margin: 0 0 0 5px
}

.Zebra_Form input.other-invisible,
.Zebra_Form .zfrow input.other-invisible {
    display: none
}

.Zebra_Form .note {
    font-size: 80%;
    color: #666;
    padding-left: 15px;
    background: url('note.gif') no-repeat left 2px;
    line-height: 1.2rem;
    *background-position: left 1px
}

.Zebra_Form .zfrow .note {
    margin-top: 5px;
    color: var(--bs-blue);
}

.Zebra_Form .cell .note {
    margin: 4px 0 0 5px
}

.Zebra_Form .placeholder {
    color: #9C9CA2
}

.Zebra_Form span.required {
    color: #C40000;
    margin-left: 5px;
    font-size: 110%;
    font-weight: bold
}

.Zebra_Form_filename {
    position: absolute;
    font-weight: normal;
    color:#888;
    overflow: hidden
}

.Zebra_Form_filename a {
    font-weight: bold;
    color: #C40000;
    text-decoration: none;
    margin-left: 5px
}

.Zebra_Form_error_message {
    position: absolute;
    z-index: 10003;
    overflow: hidden;
    background: transparent;
}

.Zebra_Form_error_message .message {
    background: #000;
    padding: 10px 18px 10px 10px;
    color: #FFF;
    line-height: 1rem;
    font-size: 11px;
    font-weight: normal;
    margin-right: 6px;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    -moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    box-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    *margin-right: 0;
    max-width: 250px;
    _width:expression(document.body.clientWidth > 250 ? '250px': 'auto'); /* max-width for IE6 */
}

.Zebra_Form_error_message .noclose { padding: 10px }

.Zebra_Form_error_message .close {
    position: absolute;
    color: #FFF;
    right: 5px;
    top: 4px;
    display: block;
    width: 10px;
    height: 10px;
    background: url('close.png');
    text-indent: -9000px;
    overflow: hidden;
    *right: 3px;
    *top: 3px;
}

.Zebra_Form_error_message .close-ie6 {
    position: absolute;
    color: #FFF;
    right: 4px;
    top: 2px;
    text-decoration: none;
    font-family: arial, sans;
    font-weight: bold;
    font-size: 11px;
}

.Zebra_Form_error_message .arrow {
    position:relative;
    border-color: #000 transparent transparent transparent;
    border-style: solid;
    border-width: 10px;
    height:0;
    width:0;
    left: 0;
    bottom: 0;
    z-index: 3;
    float: left;
    _border-left-color: pink;
    _border-bottom-color: pink;
    _border-right-color: pink;
    _filter: chroma(color=pink);
    _margin-bottom: -6px
}

.Zebra_Form div.error {
    background: #444 url('ico-warning.png') no-repeat 8px 15px;
    position: relative;
    overflow: hidden;
    _background-image: url('ico-warning.gif')
}

.Zebra_Form div.error div.container {
    padding: 15px 65px 15px 35px;
    border: 2px solid #000;
    position: relative;
    overflow: hidden
}

.Zebra_Form div.error div.container span {
    color: #FFF;
    font-weight: bold;
    font-size: 90%;
    display: block
}

.Zebra_Form div.error div.container div.close {
    position: absolute;
    right: 0;
    top: 0;
    background: #333;
    height: 100%;
    width: 50px;
    padding: 15px 0;
    _top: 2px;
    _right: 2px;
    _background: #444
}

.Zebra_Form div.error div.container div.close a {
    display: block;
    width: 16px;
    height: 16px;
    background: url('ico-close.png') no-repeat;
    text-indent: -9000px;
    margin-left: 17px;
    _background-image: url('ico-close.gif')
}

.Zebra_Form a.calendar-icon {
    background: url('calendar_icon.gif') no-repeat top left;
    width: 23px;
    height: 23px;
    margin-left: 5px;
    display: block;
    float: left;
}

/* accesskeys */
.Zebra_Form span.underline {
    text-decoration: underline;
    color: #666;
}

.Zebra_Form .fieldset {
    background: #666;
    color: #FFF;
    padding: 4px
}

.Zebra_Form div.clear {
    clear: both
}

.Zebra_Form_spinner {
    position: absolute;
    width: 24px;
    height: 24px;
    background: url('spinner.gif')
}

.Zebra_Form input.disabled,
.Zebra_Form select.disabled {
    color: #BBB
}

.Zebra_Form input.disabled:hover {
    background: #DEDEDE;
    color: #BBB
}

.Zebra_Form label.disabled {
    color: #DEDEDE
}

/*******************************
 *  STYLES FOR ZEBRA_DATEPICKER
 *******************************/

.Zebra_DatePicker *                          { margin: 0; padding: 0; color: #000 }
.Zebra_DatePicker                            { position: absolute; background: #666; border: 3px solid #666; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; display: none; z-index: 100000; font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 13px }

/* = GLOBALS
----------------------------------------------------------------------------------------------------------------------*/
.Zebra_DatePicker table                      { border-collapse: collapse; border-spacing: 0 }

.Zebra_DatePicker td,
.Zebra_DatePicker th                         { text-align: center; padding: 5px 0 }

.Zebra_DatePicker td                         { cursor: pointer }

.Zebra_DatePicker .dp_daypicker,
.Zebra_DatePicker .dp_monthpicker,
.Zebra_DatePicker .dp_yearpicker             { margin-top: 3px }

.Zebra_DatePicker .dp_daypicker td,
.Zebra_DatePicker .dp_daypicker th,
.Zebra_DatePicker .dp_monthpicker td,
.Zebra_DatePicker .dp_yearpicker td         { background: #E8E8E8; width: 30px; border: 1px solid #7BACD2 }

/* = HEADER
----------------------------------------------------------------------------------------------------------------------*/
.Zebra_DatePicker .dp_header td             { color: #FFF }

.Zebra_DatePicker .dp_header .dp_previous,
.Zebra_DatePicker .dp_header .dp_next       { width: 30px }

.Zebra_DatePicker .dp_header .dp_caption    { font-weight: bold }
.Zebra_DatePicker .dp_header .dp_hover      { background: #222; color: #FFF; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px }
.Zebra_DatePicker .dp_header .dp_blocked    { color: #888; cursor: default }

/* = DATEPICKER
----------------------------------------------------------------------------------------------------------------------*/
.Zebra_DatePicker .dp_daypicker th          { background: #FFCC33 }
.Zebra_DatePicker td.dp_not_in_month        { background: #F3F3F3; color: #CDCDCD; cursor: default }
.Zebra_DatePicker td.dp_weekend             { background: #D8D8D8 }
.Zebra_DatePicker td.dp_weekend_disabled    { color: #CCC; cursor: default }
.Zebra_DatePicker td.dp_selected            { background: #5A4B4B; color: #FFF }
.Zebra_DatePicker td.dp_week_number         { background: #FFCC33; color: #555; cursor: text; font-style: italic }

/* = MONTHPICKER
----------------------------------------------------------------------------------------------------------------------*/
.Zebra_DatePicker .dp_monthpicker td        { width: 33% }

/* = YEARPICKER
----------------------------------------------------------------------------------------------------------------------*/
.Zebra_DatePicker .dp_yearpicker td         { width: 33% }

/* = SOME MORE GLOBALS (MUST BE LAST IN ORDER TO OVERWRITE PRESIOUS PROPERTIES)
----------------------------------------------------------------------------------------------------------------------*/
.Zebra_DatePicker td.dp_current             { color: #C40000 }
.Zebra_DatePicker td.dp_disabled            { background: #F3F3F3; color: #CDCDCD; cursor: default }
.Zebra_DatePicker td.dp_hover               { background: #482424; color: #FFF }

/* = ICON
----------------------------------------------------------------------------------------------------------------------*/
button.Zebra_DatePicker_Icon                { width: 16px; height: 16px; background: url('calendar.png') no-repeat left top; text-indent: -9000px; border: none; margin: 0 0 0 5px; cursor: pointer; vertical-align: middle;}

/*******************************
 *  STYLES FOR ZEBRA_TRANSFORM
 *******************************/

.Zebra_TransForm_Checkbox,
.Zebra_TransForm_Checkbox_Focus,
.Zebra_TransForm_Checkbox_Tick,
.Zebra_TransForm_Checkbox_Disabled,
.Zebra_TransForm_Radio,
.Zebra_TransForm_Radio_Focus,
.Zebra_TransForm_Radio_Dot,
.Zebra_TransForm_Radio_Disabled,
.Zebra_TransForm_Arrow {
    background-image: url('sprites.png');
    _background-image: url('sprites-ie6.gif');
    background-repeat: no-repeat;
}

.Zebra_TransForm_Checkbox,
.Zebra_TransForm_Radio {
    position: absolute;
    width: 19px;
    height: 19px;
    cursor: pointer;
}

.Zebra_TransForm_Checkbox {
    background-position: left top;
}

.Zebra_TransForm_Radio {
    background-position: left -19px;
}

/*  CHECK BOXES */

.Zebra_TransForm_Checkbox_Focus {
    background-position: -19px top;
}

.Zebra_TransForm_Checkbox_Tick {
    width: 11px;
    height: 11px;
    margin: 4px 0 0 4px;
    background-position: -57px -76px; /* outside the boundries as we don't want to show anything */
}

.Zebra_TransForm_Checkbox_Checked .Zebra_TransForm_Checkbox_Tick {
    background-position: -3px -42px;
}

.Zebra_TransForm_Checkbox_Disabled,
.Zebra_TransForm_Checkbox_Checked_Disabled {
    background-position: -38px top;
    cursor: auto;
}

.Zebra_TransForm_Checkbox_Checked_Disabled .Zebra_TransForm_Checkbox_Tick {
    background-position: -22px -42px;
}

/*  RADIO BUTTONS */

.Zebra_TransForm_Radio_Focus {
    background-position: -19px -19px;
}

.Zebra_TransForm_Radio_Dot {
    width: 7px;
    height: 7px;
    margin: 6px 0 0 6px;
    background-position: -57px -76px; /* outside the boundries as we don't want to show anything */
}

.Zebra_TransForm_Radio_Checked .Zebra_TransForm_Radio_Dot {
    background-position: -6px -63px;
}

.Zebra_TransForm_Radio_Disabled,
.Zebra_TransForm_Radio_Checked_Disabled {
    background-position: -38px -19px;
    cursor: auto;
}

.Zebra_TransForm_Radio_Checked_Disabled .Zebra_TransForm_Radio_Dot {
    background-position: -24px -63px;
}

/*  SELECT BOXES */

.Zebra_TransForm_Select {
    position: absolute;
    border: 1px solid #CCC;
    cursor: default;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    z-index: 19;
}

.Zebra_TransForm_Select_Focus {
    *background-color: #F6F6F6;
    -moz-box-shadow: 0 0 3px #CCC;
    -webkit-box-shadow: 0 0 3px #CCC;
    box-shadow: 0 0 3px #CCC;

}

.Zebra_TransForm_Select_Disabled {
    border: 1px solid #DEDEDE;
}

.Zebra_TransForm_Select .Zebra_TransForm_Arrow {
    position: absolute;
    right: 0;
    top: 0;
    width: 17px;
    height: 18px;
    background-color: #FFF;
    background-position: -58px top;
    z-index: 19;
}

.Zebra_TransForm_Select_Focus .Zebra_TransForm_Arrow {
    background-color: #EEE;
    background-position: -58px -19px;
}

.Zebra_TransForm_Select_Disabled .Zebra_TransForm_Arrow {
    background-position: -58px -38px;
}

.Zebra_TransForm_Select .Zebra_TransForm_Text {
    position: absolute;
    color: #222;
    cursor: default;
    z-index: 18;
}

/* LABELS FOR DISABLED CONTROLS */

.Zebra_TransForm_Label_Disabled,
.Zebra_TransForm_Select_Disabled .Zebra_TransForm_Text {
    color: #DEDEDE;
}

/*  LISTS */
.Zebra_TransForm_List {
    border: 1px solid #DEDEDE;
}

.Zebra_Form tr.zfrow td:nth-child(2) *:not([type=checkbox], [type=radio], *:button)  {
    width: 100%;
}

@media screen and (max-width: 576px) {
    .Zebra_Form tr.zfrow > td {
        display: flex;
        border-bottom: none;
    }
    .Zebra_Form tr.zfrow > th {
        display: flex;
        border-bottom: none;
    }

    .Zebra_Form tr.zfrow td:nth-child(1) > * {
        margin-top: 1rem;
    }

    .Zebra_Form tr.zfrow td:nth-child(2)  {
        width: auto;
    }
    .Zebra_Form tr.zfrow td:nth-child(2) > * {
        margin-bottom: 1rem;
    }

}

.table tr {vertical-align: middle  }
