/**********************************
 *  deimos vsporten                 *
 *  styles used in cms interface  *
 **********************************/

/************************************************************
 * new classes or id references must be added at the end    *
 * of this file under "application specific styles"! *
 ************************************************************/


/* basic styles */

body {
    background-color: #fff;
    color: #000;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 11px;
    vertical-align: top;
    height: 100%;
}
td {
    vertical-align: top;
}

th {
    color: #666666;
    text-align: left;
    border-bottom: 2px solid #AAAAAA;
    vertical-align: top;
    font-weight: normal;
}

ol, ul {
    list-style-type: square;
    margin: 0 0 1em 0;
    padding-left: 1.5em;
}
#main-content {
    position: absolute;
    left: 20px;
    top: 15px;
}
#JT {
    font-size: 11px;
}
.clear {
    clear: both;
}
img {
    border: 0;
}


/* backgrounds */

.main-background-splitted {
    background-image: url(../pics/cms_background_splitted.png);
    background-repeat: repeat-y;
    background-position: 530px 0px; /* 20 + CmsFormWidth + CmsDistanceWidth */
}
.main-background-fullsize {
    background-image: url(../pics/cms_background_fullsize.png);
    background-repeat: repeat-y;
    background-position: 680px 0px; /* 20 + CmsFormWidth + CmsDistanceWidth + CmsActionWidth */
}
.main-background {
    background-color: #fff;
}
.system-background {
    background-color: #eee;
}
.stabilo {
    background-color: #ffff33;
}
.grid {
    background-image: url(../pics/grid_background.png);
}



/* general links */

a, a:active {
    color: #dd0000;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.clicked {
    text-decoration: underline;
    font-weight: bold;
}
.cmsicon {
    border: 0;
    margin-right: 3px;
}



/* top navi */

.tab {
    padding: 4px 10px 3px 10px;
    float: left;
    border-right: 1px solid #eee;
}
a.tab {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    display: block;
}
a.tab:hover {
    background-color: #aaa;
    color: #fff;
}
.tab-selected {
    background-color: #aaa;
    color: #fff;
}



/* sidebar navi */

.nav-item {
    padding: 2px 10px 2px 10px;
    border-bottom: 1px dotted #aaa;
    vertical-align: middle;
}
a.nav-item {
    text-decoration: none;
    display: block;
}
a.nav-item:hover {
    background-color: #fff;
    text-decoration: none;
}
.nav-item-selected {
    background-color: #fff;
}

/* inside-page tab navi */
.page-tab {
    background-color: #aaa;
    color: #ffffff;
    font-weight: bold;
    padding: 2px 4px 1px 6px;
    border: solid 1px #aaa;
}
.page-tab:hover {
    background-color: #fff;
    color: #dd0000;
}
td.page-tab a, a:hover, a.visited, a.active {
    color: #fff;
    text-decoration: none;
}
.page-tab:hover a {
    color: #dd0000;
}
.page-tab-selected {
    background-color: #fff;
    color: #dd0000;
    font-weight: bold;
    padding: 2px 4px 1px 6px;
    border: solid 1px #aaa;
    border-bottom: solid 1px #fff;
}
td.page-tab-selected a, a:hover, a.visited, a.active {
    color: #dd0000;
    text-decoration: none;
}
.page-tab-space {
    border-bottom: solid 1px #aaa;
}
.page-tab-winglets {
    border-left: solid 1px #aaa;
    border-right: solid 1px #aaa;
}


/* sortable */
.sortable-handle {
    cursor: n-resize;
    background-image: url(../pics/handle_background.png);
    background-color: #ddd;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
}
.sortable-placeholder {
    height: 50px;
}
.sortable-while-sorting {
    border: dotted 2px #aaa;
    background-color: #fff;
}
ul.sortable-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.ajax-report {
    display: none;
}


/* media depending styles */

/* not visible in print */
@media print {
    .noprint {
        display: none;
    }
}
/* not visibile on screen */
@media screen {
    .noscreen {
        display: none;
    }
}



/* forms */

form {
    margin: 0;
}
select, input, textarea {
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 11px;
    background-color: #f3f3f3;
}
input[type=radio], input[type=checkbox] {
    background-color: transparent;
}
.must {
    background-color: #fff;
}
.button {
    background-color: #dd0000;
    border: 1px solid #dd0000;
    color: #fff;
    cursor: pointer;
    font-family: verana, arial, helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding: 1px 5px 1px 5px;
    text-decoration: none;
    vertical-align: middle;
    text-align: center;
    width: auto;
    overflow: visible;
}
.lightbutton {
    border: 1px solid #aaa;
    background-color: #eee;
    color: #666;
}

.submit-disguise {
    width: 1px;
    height: 1px;
    border: none;
    background: transparent;
}
.label {
    font-weight: bold;
}


/* fonts */

.title {
    color: #666;
    font-size: 14px;
    font-weight: bold;
}
.subtitle {
    color: #666;
    font-weight: normal;
}
.systemfont {
    font-family: verana, arial, helvetica, sans-serif;
}
.system {
    color: #666;
    font-family: verdana, arial, helvetica, sans-serif;
}
.contentfont {
    font-family: verdana, arial, helvetica, sans-serif;
}
.content {
    color: #000;
    font-family: verdana, arial, helvetica, sans-serif;
}
.mailfont {
    font-size: 13px;
    font-family: "new courier" , "times new roman" , serif;
}
.todo {
    color: #666;
    border-left: 7px solid orange;
    background-color: lightblue;
    padding: 0px 8px 0px 4px;
}



/* areas */

.search-area {
    border: 1px dotted #aaa;
    padding: 5px;
}
.message-area {
    color: #666;
    background-color: #ffff33;
    padding: 2px;
    border: 1px dotted #aaa;
    margin-top: 5px;
    margin-bottom: 10px;
}

select.message-area, textarea.message-area, input.message-area {
    background: #FFFFFF;
    border: 1px solid black;
}

.message-area-error {
    color: #000; 
    background-color: #f4afaf;
    padding: 2px;
    border: 1px solid #ff0000;
    margin-bottom: 10px;
}

.no-margin {
    margin: 0;
}

.action-area {
    border-bottom: 1px dotted #aaa;
    vertical-align: bottom;
}
.inactive-area {
    background-color: #eee;
    color: #666;
}



/* borders, lines */

/* solid single lines */
.solid-box {
    border: 1px solid #aaa;
}
.solid-top {
    border-top: 1px solid #aaa;
}
.solid-right {
    border-right: 1px solid #aaa;
}
.solid-bottom {
    border-bottom: 1px solid #aaa;
}
.solid-left {
    border-left: 1px solid #aaa;
}

/* dotted single lines */
.dotted-box {
    border: 1px dotted #aaa;
}
.dotted-top {
    border-top: 1px dotted #aaa;
}
.dotted-right {
    border-right: 1px dotted #aaa;
}
.dotted-bottom {
    border-bottom: 1px dotted #aaa;
}
.dotted-left {
    border-left: 1px dotted #aaa;
}

/* solid double lines */
.double-bottom {
    border-bottom: 2px solid #aaa;
}

.double-top {
    border-top: 2px solid #aaa;
}



/* standard margins */
.margin-right-medium {
    margin-right: 5px;
}


/* standard paddings */
.padding-right-medium {
    padding-right: 5px;
}


/* message layers */

.status-message {
    background-color: #eee;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
    color: #666;
    padding-bottom: 17px;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 99;
}
.help-message {
    background-color: #fff;
    border: 1px solid #aaa;
    padding-bottom: 17px;
    color: #666;
    position: absolute;
    width: 240px; /* CmsActionWidth + 100 */
    display: none;
    z-index: 98;
}
.help-button {
    position: absolute;
    background-color: #fff;
    border: 1px dotted #aaa;
    padding: 1px 10px 1px 10px;
    width: 40px;
    text-align: right;
    z-index: 97;
}
.error-message {
    border: none;
    color: #666;
    background-color: #ffff33;
    scrollbar-face-color: #ffff33;
    scrollbar-highlight-color: #ffff33;
    scrollbar-3dlight-color: #ffff33;
    scrollbar-arrow-color: #ffff33;
    scrollbar-darkshadow-color: #ffff33;
    scrollbar-base-color: #ffff33;
    font-family: verdana, arial, helvetica, sans-serif;
}


/* application specific styles  */

.nobr {
    white-space: nowrap;
}

.single-filter {
    float: left;
    margin-top: 5px;
    margin-right: 10px;
    margin-bottom: 5px;
}

.button-grey {
    background-color: #AAAAAA;
    border: 1px solid #AAAAAA;
    color: #fff;
    cursor: pointer;
    font-family: verana, arial, helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding: 1px 5px 1px 5px;
    text-decoration: none;
    vertical-align: middle;
    text-align: center;
    width: auto;
    overflow: visible;
    margin-right: 10px;
    float: left;
    width: 110px;
}

.button-grey:hover {
    background-color: #CCCCCC;
}

.button-searchfilter {
    width: 110px;
    float: left;
    margin-right: 10px;
}

.button-searchfilter:hover {
    background-color: #FF6666;
    color: #FFFFFF;
}

th {
    text-align: left;
}
.search-area-width {
    width: 750px;
}
#rendered-table td {
    padding: 1px 10px 1px 1px;
} 


/* edit in place */

.inplace_field {
    border: 1px solid red;
    width: 100%;
}

/* custom in place*/

/* Spalten in anderen Zeilen welche von den Änderungen betroffen sind.*/
.inplace-other-affected-fields {
    background-color: yellow;    
}

.inplace-hover {
    background-color: #FFFFCC;   
}

