/* 
    Document   : iphone
    Created on : 26.08.2012, 19:07:48
    Author     : juerg
    Description:
        Purpose of the stylesheet follows.
*/
@media screen and (max-device-width: 480px){
    /* All iPhone only CSS goes here */
}
body {
    background-color: #ddd; /* Background color */
    color: #222;            /* Foreground color used for text */
    font-family: Helvetica; 
    font-size: 14px;
    margin: 0;              /* Amount of negative space around the outside of the body */
    padding-bottom: 50px;             /* Amount of negative space around the inside of the body */
}
#header {
    /*position: fixed;*/
    /*top: 0px;*/
    width: 100%;
    background-color: #ccc;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999));
    background-image: -moz-gradient(linear, left top, left bottom, from(#ccc), to(#999));
    border-bottom: 1px solid #666;
    color: #222;
    display: block;
    margin: 0px;
    padding: 0px 0;
    text-align: center;
    z-index: 5;
}
#header a{
    text-decoration: none;
}
#header h1{
    height: 20px;
    background-image: url('../images/logo.png');   
    background-repeat: no-repeat;
    background-position: 10px 5px;
    background-size: 60px 60px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0px 1px 0px #fff;  
    padding: 25px;
    margin: 0px;
}
#header div.leftButton {
    position: absolute;
    top: 7px;
    left: 6px;
    height: 30px;
    font-weight: bold;
    text-align: center;
    color: white;
    text-shadow: rgba(0,0,0,0.6) 0px -1px 0px;
    line-height: 28px;
    border-width: 0 8px 0 8px;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#099), to(#0cc));
    -webkit-border-radius: 8px;
    -webkit-border-image: url(images/button.png) 0 8 0 8;
    -moz-border-radius: 8px;
    -moz-border-image: url(images/button.png) 0 8 0 8;
}
#header div.pressed {
    background-image: gradient(linear, left top, left bottom, from(#009), to(#00c));
    -webkit-border-image: url(images/button_clicked.png) 0 8 0 8;
    -moz-border-image: url(images/button_clicked.png) 0 8 0 8;
}
#headerCmds{
    position: absolute;
/*    width: 100px;
    border: solid 1px;*/
    right: 0px;
    top: 0px;
    bottom: 0px;
}
#cmdOptions{
    position: absolute;
    right: 5px;
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
    background-image: url('../images/icon_options.png');    
    cursor: pointer;
}
#cmdSearch{
    position: absolute;
    right: 40px;
    display: inline;
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
    background-image: url('../images/icon_search.png');
    cursor: pointer;
}
#cmdNavigation{
    display: none;
    position: absolute;
    right: 75px;
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
    background-image: url('../images/icon_navigation.png');    
    cursor: pointer;
}

#content {
    padding: 10px;
    margin: auto;
}
/* Dialoge: funktioniert nicht...*/
div.jsDialog{
    width: 80%;
    height: 80%;
}
ul.jsList {
    list-style: none;
    margin: 10px;
    padding: 0;
}
ul.jsList li{
    position: relative;
}
ul.jsList li a {
    background-color: #FFFFFF;
    border: 1px solid #999999;
    color: #222222;
    display: block;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: -1px;
    padding: 12px 10px;
    text-decoration: none;
}
ul.jsList li:first-child a {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
ul.jsList li:last-child a {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
ul.jsList li div.cmds {
    display: inline;
    position: absolute;
    right: 0px;
    top: 7px;
    bottom: 0px;
}
ul.jsList li div.cmds a{
    /*border: solid 1px #00c;*/
    display: inline;
    height: 100%;
    background-color: #099;
    font-size: 100%;
    margin-right: 5px;
    padding-top: 9px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 9px;
    cursor: pointer;
    border-radius: 4px;
}
ul.jsList li div.cmds a img{
    vertical-align: middle;
    height: 30px;
    width: 30px;
}
.click {
    cursor: pointer;
}
ul.jsList.hide {
    display: none;
}
ul.jsList .bubbleFlag{
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: red;
    color: white;
    font-size: small;
    border-radius: 100px;
    padding: 9px 14px 9px 14px;
}
.rj {
    text-align: right;
    margin-right: 1em;
}
#box2{
    width: 40px;
    height: 40px;
    border: #e33b06 thick solid;
    color: #e33b06;
    right: -70px;
    bottom: -50px;
    position: relative;
}
/*
 Styles for Form Classes:
*/
form.jsForm{
    background: #eeeeee;
    width:390px;
    margin:auto;
    font-style: italic;
    color: #09C;
    text-decoration: none;
    padding:10px;
}
form.jsForm label{
    clear: left;
    color: #888888;
    /*display: block;*/
    float: left;
    margin-bottom: 0.5em;
    padding-right: 10px;
    text-align: right;
}
td.jsFormField{
    padding-right: 10px;
    width: 300px;
}
form.jsForm input{
    width: 100%;
    /*display: block;*/
    /*position: relative;*/
    /*top: -5px;*/
    font-size: 20px;
    border: 1px solid #999;
    height: 20px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 3px;
    margin-top: 3px;
    padding-right: 10px;
}
td.jsFormField textarea{
    width: 100%;
    height: 100px;
}
form.jsFormField select{
    width: 100%;
}
td.DateRangeField input {
    width: 47%; 
}
td.NumRangeField input {
    width: 47%;
}
td.jsFormField input{
    width: 95%;
}
form.jsForm input.button {
    background: #bbbbbb;
    border-radius: 7px;
    font-size: 12px;
}
form.jsForm input.button:hover {
    background:#fff;
    color:#09C;
}
input.button {
    height: 30px !important;
}
form.jsForm input.button, a.jsButton {
    background: #bbbbbb;
    border-radius: 7px;
    border: 0px;
    text-decoration: none;
    padding: 5px;
    margin: 5px 5px 5px 0px;
    font-size: 16px;
}
a.jsButton {
    line-height: 2.5;
}

table.carCmds tr td {
    padding:10px 0px 10px 0px;
}
form.jsForm input.button:hover, a.jsButton:hover {
    background:#fff;
    color:#09C;
}
td.MultiSelectCheckboxField label{
    width: auto;
    float: none;
    margin: 0px;
    padding: 0px;
    color: #ffffff;    
}
td.MultiSelectCheckboxField input{
    width: auto;
    margin: 0px;
    padding: 0px;
}
td.MultiSelectCheckboxField div.CheckboxGroup {
    border: 2px solid;
    border-color: #0cc;
    background-color: #09C;
    border-radius: 10px;
    padding: 2px;
    margin: 2px;
    display: inline;
}
td.SearchField select {
    width: 20%;
}
td.SearchField input {
    width: 70%;
}
form.jsForm textarea.message {
    display:block;
}
.error{
    font-style: italic;
    font-size: 14;
    color: #e33b06;
}
.info{
    font-style: italic;
    font-size: 14;
    color: blue;
}
.Toolbar{
    width: 100%;
    background-color: #09C;
    padding: 5px 5px 5px 5px;
    margin: 20px 0px 20px 0px;
}
.Button{
    border: solid 1px #00c;
    background-color: #0cc;
    color: #009;
    padding: 10px 10px 10px 10px;
    margin: 10px 10px 10px 10px;
    border-radius: 15px;
}
.Button a:link{
    text-decoration: none;
}
.window{
    position: absolute;
    color: #FFFFFF;
    top: 20px;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    height: auto;
    border-right-style: solid;
    border-left-style: solid;
    border-bottom-style: solid;
    border-top-style: solid;
    background-color: #3a4f54;
    border-right-color: #339900;
    border-left-color: #339900;
    border-bottom-color: #339900;
    border-top-color: #339900;
    overflow: hidden;
    display: none;
    z-index: 10;        
}

.window h1{
    background-color: #ccc;
    border-bottom: 1px solid #666;
    width: 100%;
    vertical-align: middle;
    padding: 7px;
    height: 30px;
    margin: 0px;
    
}
.VerifyDialog{
    position: absolute;
    background: #999;
    border: solid 1px #222;
    border-radius: 15px;
    padding: 10px;
    top: 20px;
    right: 20px;
    width: auto;
    height: auto;
    overflow: hidden;
    z-index: 10;        
    
}
#footer{
    bottom: 0px;    
    position: fixed;
}
.toolbar{
    margin: 0;
    padding: 0;
    border-top: solid 1px #555;
    background: -moz-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    background: -webkit-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    text-align: center;
    width: 100%;
    /*height: 50px;*/
    display: table;
}
.toolbar div{
    position: relative;
    display: table-cell;
    text-align: center;
    font-size: 10px;

    /*background-color: #bbbbbb;*/
    /*border: solid 2px;*/
    height: 100%;
    width: 200px;
    bottom: 0;
    margin: 10px 10px 10px 10px;
    top: 0;
}
.toolbar div a{
    text-decoration: none;
    color: #CCCCCC;
}
.toolbar a{
    cursor: pointer;
}
.toolbar img{
    display: block;
    width: 30px;
    height: 30px;
    margin-left: auto;
    margin-right: auto;
/*    alignment-adjust: middle;
    alignment-baseline: middle;*/
}
.toolbar .desc{
    display: none;
}
.toolbar div:hover{
    background: -moz-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    background: -webkit-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    color: #ffffff;
    /*background-color: #eeeeee;*/ 
}
.toolbar div a.sel{
    background: -moz-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    background: -webkit-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    color: #444444;
}
.toolbarLong{
    position: fixed;
    right: 0px;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    background: -moz-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    background: -webkit-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    width: 50%;
}
.toolbarLong a{
    display: block;
    /*display: table-row;*/
    /*display: table-cell;*/
    /*text-align: center;*/
    text-align: left;
    vertical-align: middle;
    /*height: 100px;*/
    text-decoration: none;
    color: #CCCCCC;
    font-size: 14px;

    /*background-color: #bbbbbb;*/
    /*border: solid 2px;*/
    cursor: pointer;
}
.toolbarLong img{
    width: 30px;
    height: 30px;
    padding: 5px;
    vertical-align: middle;
/*    alignment-adjust: middle;
    alignment-baseline: middle;*/
}
.toolbarLong .desc{
    display: block;
    /*//padding: 0px 0px 0px 40px;*/
    margin: -10px 0px 0px 40px;
    font-size: 10px;
}
.toolbarLong a:hover{
    background: -moz-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    background: -webkit-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    color: #ffffff;
    /*background-color: #eeeeee;*/ 
}
div#help{
    color: #EEEEEE;
    position: fixed;
    z-index: 10;
    right: 0px;
    display: block;
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    background: -moz-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    background: -webkit-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    width: 90%;
}
div#help a{
    color: #CCCCCC;
    text-decoration: none;
}
.MenuItem_verify{
    position: absolute;
    top: 100px;
    left: 50px;
    width: 300px;
    height: 40px;
    padding: 10px;
    margin: 10px;
    color: #222;
    background-color: #CCCCCC;
    border-radius: 8px;
    z-index: 20;
}
.closeButton{
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
    background-image: url('../images/icon_close.png') ;
    background-repeat: no-repeat;
    cursor: pointer;
}
.cmd{
    background-repeat: no-repeat;    
}
#cmdAddToFavorites:before{
    display: block;
    content: url('/resources/images/icoAddFavorite.png');
}
#cmdEdit:before{
    display: block;
    content: url('/resources/images/icoEdit.png');
}
#cmdDelete:before{
    display: block;
    content: url('/resources/images/icoDelete.png');
}
#cmdMore:before{
    display: block;
    content: url('/resources/images/icoMore.png');
}
/*#home:before{
    display: block;
    content: url('/resources/images/icoHome.png');
}
#favorites:before{
    display: block;
    content: url('/resources/images/icoFavorites.png');
}
#schools:after{
    background-image: url('/resources/images/icoSchool.png');
    background-repeat: repeat-x, repeat-y;
    background-size: 30px 30px;
    content: " ";
    
    
}
#schools:before{
    display: block;
    content: <img src='/resources/images/icoSchool.png' width='30' height='30'/>;
    
    content: url('/resources/images/icoSchool.png') ;
    transform: scale(.5);
    background-size: 30px;
    content: " ";
    height: 30px;
    overflow: hidden;
}
#logoff:before{
    display: block;
    content: url('/resources/images/icoLogoff.png');
}*/

#trace{
    background-color: #ffffff;
    margin: 10px;
    padding: 10px;
    border-radius: 8px;
    font-size: 8px;
    color: #00c; 
}
.disabled{
    cursor: not-allowed;
}

.ExerciseSelector{
    left: 0%;
    right: 0%;
    /*width: 100%;*/
    /*position: absolute;*/
    height: 300px;
    border: solid 1px black;
    overflow: hidden;
}
.ExerciseSelector.Extended{
    width: 100%;
    
}
.ExerciseSelector.Small{
    position: absolute;
    width: 300px;
}
.ExerciseSelector a{
    padding: 80px 0px 0px 0px;
    display: table-cell;
    float: left;
    text-align: center;
    /*margin-bottom: 150px;*/
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100px, 70px;
    text-decoration: none;
    cursor: pointer;
    
}
.ExerciseSelector.Extended a{
    position: relative;
    width: 15%;
}
.ExerciseSelector.Small a{
    position: absolute;
}
/*
.ExerciseSelector .Exercise{
    position: absolute;
    width: 100%; 
}
*/
.ExerciseSelector .ExerciseView{
    background-image: url(/resources/images/ExerciseView.png);
}
.ExerciseSelector .ExerciseCorrelation{
    background-image: url(/resources/images/ExerciseCorrelation.png);
}
.ExerciseSelector .ExerciseMultipleChoice{
    background-image: url(/resources/images/ExerciseMultipleChoice.png);
}
.ExerciseSelector .ExerciseVerbal{
    background-image: url(/resources/images/ExerciseVerbal.png);
}
.ExerciseSelector .ExerciseWritten{
    background-image: url(/resources/images/ExerciseWritten.png);
}
.ExerciseSelector .ExerciseMemory{
    background-image: url(/resources/images/ExerciseMemory.png);
}
 dl{
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
}
 dt{
    text-align: right;
    clear: left;
    margin: 0;
    padding: 0;
    float: left;
    width: 40%;
}
 dd{
    text-align: right;
    margin: 0;
    padding: 0;
    float: left;
    width: 60%;
}
/*
.ExerciseSelector .success{
    background-color: green;
}
.ExerciseSelector .fail{
    background-color: red;
}
*/

table.jsTable tr:hover td{
    background-color: #aff;
}
table.jsTable {
    border-collapse: collapse;
}
img.thumbnail {
    width: 100px;
    height: 100px;
}
table.jsTable, table.jsTable th, table.jsTable td {
    border: 1px solid black;
    padding: 5px 15px 5px 15px;
}
table.jsTable  th{
    background-color: #00c;
    color: #ffffff;
}
table.jsTable td{
    background-color: #EEEEEE;
    color: #000;
}
table.jsTable th ul.menu{
    display: none;
}
table.jsTable th:hover ul.menu{
    display: block;
    text-decoration: none;
    list-style: none;
    background-color: #0066cc;
    position: absolute;
    right: 0px;
    left: 0px;
    width: 100%;
    top: 5px;
    z-index: 100;
    cursor: pointer;
    opacity: .9;
}
table.jsTable ul.menu li:hover{
    background-color: #09C;
}
table.jsTable th div.buttons{
    display: none;
    position: absolute;
    float: right;
    right: 0px;
    background-color: #222222;
    width: 100px;
    height: 25px;
    right: -15px;
    top: -5px;
    bottom: 5px;
    opacity: .7;
}
table.jsTable th div.buttons span{
    display: inline;
    float: right;
    margin: 2px 2px 2px 2px;
    
}
table.jsTable th:hover div.buttons{
    display: inline;
}
table.jsTable th:howver div.buttons span{
    display: inline;
}
.cell{
    width: 100%;
    position: relative;
}
.specialChars {
    cursor: pointer;
}
.moveBox{
    display: block;
    background-color: #444444;
    border: #222 solid 2px;
    border-radius: 6px;
    margin: 2px 2px 2px 2px;
    color: #ffffff;
    vertical-align: central;
    cursor: move;
}
.moveBox:hover{
    background-color: #777777;
}
ul#selectModeMenu{
    position: absolute; 
    top: 32px;
    float: top;
    width: max-content;
    height: auto;
    background-color: black;
    z-index: 900;
    padding: 10px 10px 10px 10px;
    /*margin: 10px 10px 10px 10px;*/
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    list-style: none;
}
ul#selectModeMenu li:hover{
    background: -moz-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    background: -webkit-linear-gradient(-90deg,rgba(89,89,89,0.92) 1px,rgba(131,131,131,0.82) 1px,rgba(56,56,56,0.75) 50%,rgba(0,0,0,0.7) 50%,rgba(0,0,0,0.7));
    color: #ffffff;
    /*background-color: #eeeeee;*/ 
}
.center{
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
div.sortable div div.ui-icon{
    display: inline-block;
}
.button-icon{
    background-color: #aaa;
    background-repeat: no-repeat;
    border: #555 solid 1px;
    border-radius: 3px;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin: 3px 3px 3px 3px;
    float: next;
    cursor: pointer;
    background-position: 2px 2px;
}
.button-icon:hover{
    background-color: #ccc;
}
.icon-arrow-ns{
    background-image: url('../images/icon-arrow-ns.png'); 
}
.icon-arrow-n{
    background-image: url('../images/icon-arrow-n.png');   
}
.icon-arrow-s{
    background-image: url('../images/icon-arrow-s.png');   
}
.icon-info{
    background-image: url('../images/icon-info.png');   
}
.icon-close{
    background-image: url('../images/icon-close.png');   
}
.icon-filter{
    background-image: url('../images/icon-filter.png');   
}
.icon-list{
    background-image: url('../images/icon-list.png');   
}
.icon-search{
    background-image: url('../images/icon-search.png');   
}
