/*
 **************************************************************************
 * iui.css (c) 2007 by iUI Project Members, see LICENSE.txt for license   *
 **************************************************************************
 */

body {
    margin:      0;
    font-family: Helvetica;
    background:  #FFFFFF;
    color:       #000000;
    overflow-x:  hidden;

    -webkit-user-select:      none;
    -webkit-text-size-adjust: none;
}

body > *:not(.toolbar) {
    display:    none;
    position:   absolute;
    margin:     0;
    padding:    0;
    left:       0;
    top:        45px;
    width:      100%;
    min-height: 372px;
}

body[orient="landscape"] > *:not(.toolbar) {
    min-height: 268px;
}

body > *[selected="true"] {
    display: block;
}

a[selected], a:active {
    background-color:    #194fdb !important;
    background-image:    url('images/listArrowSel.png'), 
                         url('images/selection.png') !important;
    background-repeat:   no-repeat, repeat-x;
    background-position: right center, left top;
    color:               #FFFFFF !important;
}

a[selected="progress"] {
    background-image: url('images/loading.gif'), 
                      url('images/selection.png') !important;
}

/**************************************************************************/

body > .toolbar {
    border-bottom: 1px solid #2d3642;
    border-top:    1px solid #6d84a2;
    padding:       10px;
    height:        45px;
    background:    #6d84a2 url('images/toolbar.png') repeat-x;

    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
}

.toolbar > h1 {
    position:      absolute;
    overflow:      hidden;
    left:          50%;
    margin:        1px 0 0 -75px;
    height:        45px;
    font-size:     20px;
    width:         150px;
    font-weight:   bold;
    text-shadow:   rgba(0, 0, 0, 0.4) 0px -1px 0;
    text-align:    center;
    text-overflow: ellipsis;
    white-space:   nowrap;
    color:         #FFFFFF;
}

body[orient="landscape"] > .toolbar > h1 {
    margin-left: -125px;
    width:       250px;
}

.button {
    position:        absolute;
    overflow:        hidden;
    top:             8px;
    right:           6px;
    margin:          0;
    border-width:    0 5px;
    padding:         0 3px;
    width:           auto;
    height:          30px;
    line-height:     30px;
    font-family:     inherit;
    font-size:       12px;
    font-weight:     bold;
    color:	     #FFFFFF;
    text-shadow:     rgba(0, 0, 0, 0.6) 0px -1px 0;
    text-overflow:   ellipsis;
    text-decoration: none;
    white-space:     nowrap;
    background:      none;
    -webkit-border-image: url('images/toolButton.png') 0 5 0 5;
}

.blueButton {
    border-width: 0 5px;
    -webkit-border-image: url('images/blueButton.png') 0 5 0 5;
}

.leftButton {
    left: 6px;
    /* right: auto; */
}

#backButton {
    display:      none;
    left:         6px;
    right:        auto;
    padding:      0;
    max-width:    55px;
    /* max-width:    105px; */
    border-width: 0 8px 0 14px;
    -webkit-border-image: url('images/backButton.png') 0 8 0 14;
}

.whiteButton,
.grayButton {
    margin-left:     2px;
    display:         block;
    border-width:    0 12px;
    padding:         10px;
    text-align:      center;
    font-size:       20px;
    font-weight:     bold;
    text-decoration: inherit;
    color:           inherit;
}

.whiteButton {
    background:  #FFFFFF;
    text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0;
    -webkit-border-image: url('images/whiteButton.png') 0 12 0 12;
}

.grayButton {
    color: #FFFFFF;
    -webkit-border-image: url('images/grayButton.png') 0 12 0 12;
}

.sm_whiteButton,
.sm_grayButton {
    max-width:       16px;
    float:           left;
    margin:          3px;
    font-size:       16px;
    padding:         6px;

    display:         block;
    border-width:    0 12px;
    text-align:      center;
    font-weight:     bold;
    text-decoration: inherit;
    color:           inherit;
}

.sm_whiteButton {
    text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0;
    -webkit-border-image: url('images/whiteButton.png') 0 12 0 12;
}

.sm_grayButton {
    color: #FFFFFF;
    -webkit-border-image: url('images/grayButton.png') 0 12 0 12;
}

/**************************************************************************/

body > ul > li {
    position:      relative;
    margin:        0;
    border-bottom: 1px solid #E0E0E0;
    padding:       8px 0 8px 10px;
    font-size:     20px;
    font-weight:   bold;
    list-style:    none;
}

body > ul > li.group {
    position:      relative;
    top:           -1px;
    margin-bottom: -2px;
    border-top:    1px solid #7d7d7d;
    border-bottom: 1px solid #999999;
    padding:       1px 10px;
    background:    url('images/listGroup.png') repeat-x;
    font-size:     17px;
    font-weight:   bold;
    text-shadow:   rgba(0, 0, 0, 0.4) 0 1px 0;
    color:         #FFFFFF;
}

body > ul > li.group:first-child {
    top:        0;
    border-top: none;
}

body > ul > li > a {
    display:         block;
    margin:          -8px 0 -8px -10px;
    padding:         8px 32px 8px 10px;
    text-decoration: none;
    color:           inherit;
    background:      url('images/listArrow.png') no-repeat right center;
}

a[target="_replace"] {
    padding-top:      25px;
    padding-bottom:   25px;
    font-size:        18px;
    color:            cornflowerblue;
    background-color: #FFFFFF;
    background-image: none;

    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
}

/**************************************************************************/
    
body > .dialog {
    top:        0;
    width:      100%;
    min-height: 417px;
    z-index:    2;
    background: rgba(0, 0, 0, 0.8);
    padding:    0;
    text-align: right;
}

.dialog > fieldset {
    width:      100%;
    margin:     0;
    border:     none;
    border-top: 1px solid #6d84a2;
    padding:    10px 6px;
    background: #7288a5 url('images/toolbar.png') repeat-x;

    -moz-box-sizing:    border-box;
    -webkit-box-sizing: border-box;
}

.dialog > fieldset > h1 {
    margin:      0 10px 0 10px;
    padding:     0;
    font-size:   20px;
    font-weight: bold;
    color:       #FFFFFF;
    text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
    text-align:  center;
}

.dialog > fieldset > label {
    position:  absolute;
    margin:    16px 0 0 6px;
    font-size: 14px;
    color:     #999999;
}

input {
    width:       100%;
    margin:      8px 0 0 0;
    padding:     6px 6px 6px 44px;
    font-size:   16px;
    font-weight: normal;

    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/**************************************************************************/

body > .panel {
    padding:    10px;
    background: #c8c8c8 url('images/pinstripes.png');

    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.panel > fieldset {
    position:   relative;
    margin:     0 0 20px 0;
    padding:    0;
    background: #FFFFFF;
    border:     1px solid #999999;
    text-align: right;
    font-size:  16px;

    -webkit-border-radius: 10px;
}

.row  {
    position:      relative;
    /* min-height:    42px; */
    min-height:    150px;
    border-bottom: 1px solid #999999;
    text-align:    left;

    -webkit-border-radius: 0;
}

fieldset > .row:last-child {
    border-bottom: none !important;
}

.row > input {
    margin:     0;
    border:     none;
    padding:    12px 10px 0 110px;
    height:     42px;
    background: none;

    text-align: left;

    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.row > label {
    clear:       both;
    padding:     3px 3px 3px 14px;
    text-align:    left;

    /* position:    absolute; */
    /* margin:      0 0 0 14px; */
    /* line-height: 42px; */
    line-height: 32px;
    font-weight: bold;
}

/**************************************************************************/

.row > a {
    clear:  both;
}

.row > a > img {
    margin: 3px 20px 10px 14px;
    float:  left;
    border: 1px;
}

.row > p {
    margin:         0 0 0 14px;
    padding-bottom: 5px;
    line-height:    14px;
    font-weight:    normal;
    font-size:      12px;
}

.row > .pad {
    margin-bottom:  14px;
    padding-bottom: 5px;
}

/**************************************************************************/

.row > .toggle {
    position: absolute;
    top:      6px;
    right:    6px;
    width:    100px;
    height:   28px;
}

.toggle {
    border:      1px solid #888888;
    background:  #FFFFFF url('images/toggle.png') repeat-x;
    font-size:   19px;
    font-weight: bold;
    line-height: 30px;

    -webkit-border-radius: 6px;
}

.toggle[toggled="true"] {
    border:     1px solid #143fae;
    background: #194fdb url('images/toggleOn.png') repeat-x;
}

.toggleOn {
    display:     none;
    position:    absolute;
    width:       60px;
    text-align:  center;
    left:        0;
    top:         0;
    color:       #FFFFFF;
    text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0;
}

.toggleOff {
    position:   absolute;
    width:      60px;
    text-align: center;
    right:      0;
    top:        0;
    color:      #666666;
}

.toggle[toggled="true"] > .toggleOn {
    display: block;
}

.toggle[toggled="true"] > .toggleOff {
    display: none;
}

.thumb {
    position:   absolute;
    top:        -1px;
    left:       -1px;
    width:      40px;
    height:     28px;    
    border:     1px solid #888888;
    background: #ffffff url('images/thumb.png') repeat-x;

    -webkit-border-radius: 6px;
}

.toggle[toggled="true"] > .thumb {
    left:  auto;
    right: -1px;
}

.panel > h2 {
    margin:      0 0 8px 14px;
    font-size:   inherit;
    font-weight: normal;
    color:       #4d4d70;
    text-shadow: rgba(255, 255, 255, 0.75) 2px 2px 0;
}

/**************************************************************************
 *
 * ADDITIONS:
 *
 **************************************************************************/

.panel > h3 {
    margin:      12px 18px 12px 0px;
    font-size:   12px;
    color:       #4d4d70;
    text-shadow: rgba(255, 255, 255, 0.75) 2px 2px 0;
}

.appImage {
    margin:           5px 20px 5px 5px;
    float:            right;
    border:           1px;
    background-color: #ffffff; 
}

.pagenav {
   clear: both;
   left:  auto;
   right: auto;
}

/**************************************************************************/

.menu {
    position:      relative;
    top:           -11px;
    margin-left:   -10px;
    margin-right:   -10px;
    height:        24px;
    padding:	   3px;
    background:	   #3E66A1;
    color:	   #FFE06B;
    border:	   1px solid #000;
    text-shadow:   rgba(0, 0, 0, 0.4) 0 1px 0;
}
/*
    border-top:    1px solid #7d7d7d;
    border-bottom: 1px solid #999999;
    padding:       1px 10px;
    background:    url('images/listGroup.png') repeat-x;
    font-size:     17px;
    font-weight:   bold;
    color:         #FFFFFF;
*/

.menu ul { padding: 0; margin: 0; list-style-type: none; }
.menu li { float: left; width: 70px; position: relative; }

.menu a, .menu a:visited {
      text-decoration:	none;
      color:		#fff;
      padding:		3px;
      line-height:	24px;

      -webkit-box-sizing:   	border-box;
      -webkit-border-radius:	10px;
}

.menu a:hover { color: #FFF; background: #949E7C; }


/**************************************************************************/

#preloader {
    display:          none;
    background-image: url('images/loading.gif'), 
                      url('images/selection.png'),
                      url('images/blueButton.png'), 
                      url('images/listArrowSel.png'), 
                      url('images/listGroup.png');
}

/**************************************************************************/

