html{
    overflow-y: scroll !important;
    height: 100%; /* WICHTIG!!! STRECKT ANZEIGENBEREICH AUF 100% */
} 
body { 
    background-color: #333333;
    margin: 0;
    padding: 0;
    height: 100%; /* WICHTIG!!! STRECKT ANZEIGENBEREICH AUF 100% */
    font-family: Arial,sans-serif;
    font-size:  small;
}

a{
    font-style:     normal;
    color:          blue;
    text-decoration: none;
}
.a_buttonlike{
    display: inline_block;
    background-color: transparent;
    border-style: outset;
    border-width: 2px;
    border-color: #DDD;
    height: 21px;
    width: 130px;
    color: black;
    padding: 1px;
    margin-left: 5px;
    margin-right: 5px;
}

input ,select {
    background-color: transparent;
    color: black;
}

select option {
    color: black;
}

input:disabled, isindex:disabled, textarea:disabled {
    background-color: #EBEBE4;
}

button {
    background-color: transparent;
    /*background-color: #ececec;*/
}
#blanket{
    position: fixed;    
    height: 100%;
    z-index: 9001;
    top:0px;
    left:0px;
    width:100%;
    background: transparent; /* Fall-back for browsers that don't support rgba */
    background-color:rgba(0,0,0,0.7);
}
#blanket .popup{    
    margin-left: auto;
    margin-right: auto;
    margin-top:100px;
    width: 450px;
    min-height: 150px;
    border: 2px solid #AB1D05;
    background-color: #ffffff;
    z-index: 9002;
}
.popup > img{
    display: inline;
    height: 60px;
    width: 60px;
    margin: 5px;
}
.popup > .alertMessage{
    display: inline-block;
    height: 50px;
    width: 320px;
    padding-top: 10px;
    margin: 5px;   
}
.popup .alertbuttons button{
    float: right;
    margin-right: 15px;
}
#questionOptionsPopupText{
    height: 20px;
    width: 100%;
    padding-left: 50px;
}
#questionOptionsPopup.popup {
    width: 554px;
}
#questionOptionsPopup > .alertbuttons {
    margin-top: 60px;
}
#questionOptionsPopupButtons button{
    float: left;    
    margin-top: 5px;
    margin-left: 15px;
    width: 120px;
}


/* general */
.center{ text-align: center; }

.full{width: 100%; height:100%;}
.fixedblock{ display: block; overflow: hidden; }
.fixed{ overflow-x: hidden; word-wrap: break-word;  }
.w10 { width: 10px;  max-width: 10px  !important;}
.w20 { width: 20px;  max-width: 20px  !important;}
.w30 { width: 30px;  max-width: 30px  !important;}
.w40 { width: 40px;  max-width: 40px  !important;}
.w50 { width: 50px;  max-width: 50px  !important;}
.w60 { width: 60px;  max-width: 60px  !important;}
.w80 { width: 80px;  max-width: 80px  !important;}
.w100{ width: 100px; max-width: 100px !important;}
.w120{ width: 120px; max-width: 120px !important;}
.w140{ width: 140px; max-width: 140px !important;}
.w150{ width: 150px; max-width: 150px !important;}
.w160{ width: 160px; max-width: 160px !important;}
.w180{ width: 180px; max-width: 180px !important;}
.w200{ width: 200px; max-width: 200px !important;}
.w220{ width: 220px; max-width: 220px !important;}
.w240{ width: 240px; max-width: 240px !important;}
.w260{ width: 260px; max-width: 260px !important;}
.w280{ width: 280px; max-width: 280px !important;}
.w300{ width: 300px; max-width: 300px !important;}
.w350{ width: 350px; max-width: 350px !important;}
.w400{ width: 400px; max-width: 400px !important;}
.w450{ width: 450px; max-width: 450px !important;}

.clickable {
  cursor: pointer;
}
.clickable:hover , .clickable_hover {
    border: 1px red solid;
    margin:-1px;
}

.hide{
    display: none;
}
.clear{
    clear: both;
}


/* ---------------------- default form ------------------------ */
.default-form-block{
    width: 360px;
}
.default-form-block label{
    display: inline-block;
    width: 150px;
}
.default-form-block input{
    width: 200px;
}
.long-form-block{
    width: 720px;
}
.long-form-block textarea{
    width: 680px;
}


/* ---------------------- login ------------------------ */
#success {
    background-color: green;
}
#error {
    background-color: red;
    font-weight: bold;
    color:white;
}
/* ---------------------- servicePlan ------------------------ */

#SERVICEPLAN {
    margin-left: 10px;
}

.cannot-schedule{
    color: #ff9e93;
}

.shift {
}

.serviceBillService, 
.servicePlanService {
    font-size: 1em;
    margin-bottom: 20px;
    margin-top: 20px;
    clear: both;
}
.serviceGlobalService{
    cursor:                 pointer;
    width:                  694px;
    min-height:             20px;
    color: #AB1D05;
    border:           1px solid #AB1D05;
    border-bottom-width:    0;
    margin: 1px;
    margin-bottom: 0;
    padding: 5px;
    
    font-size: 15px;
    font-weight: bold;
}
.serviceBillService .serviceTitle , 
.servicePlanService .serviceTitle {
    clear: both;
    min-height: 25px;
    width: 710px;
}
.serviceTitle{
    cursor: pointer;
}
.serviceBillService .serviceTitleElem , 
.servicePlanService .serviceTitleElem {
    font-weight: bold;
    background-color: #AB1D05;
    border: 1px solid #CCCCCC;
    border-collapse: collapse;
    color: white;
    float: left;
    height: 17px;
    padding-left: 5px;
    padding-top: 2px;
    width: 170px;
}
.serviceBillService .serviceTitleElem .serviceTitleStatus, 
.servicePlanService .serviceTitleElem .serviceTitleStatus{
    float:right;
    height: 15px;
    width: 42px;    
    margin-left: -42px;
    padding-right: 3px;
}
.serviceBillService .serviceTitleElem .serviceTitleStatus img,
.servicePlanService .serviceTitleElem .serviceTitleStatus img{
    height:15px;
}
.serviceBillService .serviceInfo,
.servicePlanService .serviceInfo {
    clear: both;
    width: 708px;
}
.servicePlanService .shift {
    margin-bottom: 3px;
    clear: both;
    width: 710px;
}
.servicePlanService .shiftTitleElem {
    border: 1px solid #CCCCCC;
    border-collapse: collapse;
    float: left;
    height: 20px;
    padding-left: 5px;
    width: 170px;
}

.servicePlanService .shiftSlots {
    background-color: #EEEEEE;
    clear: both;
}
.servicePlanService .shiftSlotElem {
    background-color: #EEEEEE;
    border: 1px solid #CCCCCC;
    border-collapse: collapse;
    float: left;
    font-size: 0.8em;
    height: 35px;
    width: 175px;
}
.servicePlanService .shiftSlotElemConstraint {
    background-color: #EEEEEE;
    border-bottom: 1px solid #CCCCCC;
    border-collapse: collapse;
    border-right: 1px solid #CCCCCC;
    float: left;
    height: 30px;
    padding-left: 5px;
    padding-top: 5px;
    width: 25px;
}
.servicePlanService .shiftSlotElemGroup {
    background-color: #EEEEEE;
    border-bottom: 1px solid #CCCCCC;
    border-collapse: collapse;
    border-right: 1px solid #CCCCCC;
    float: left;
    height: 30px;
    padding-left: 5px;
    padding-top: 5px;
    width: 25px;
}
.servicePlanService .shiftSlotElemPerson {
    float: left;
    height: 30px;
    overflow: hidden;
    padding-left: 5px;
    padding-top: 5px;
    width: 100px;
}

.servicePlanService .shiftSlotElemPerson span.waiting {
    color: darkgrey;
}
.servicePlanService .shiftGuests {
    clear: both;
}
.servicePlanService .shiftGuestElem {
    background-color: #E9FFE5;
    border: 1px solid #CCCCCC;
    border-collapse: collapse;
    float: left;
    height: 20px;
    padding-top: 4px;
    padding-left: 5px;
    width: 170px;
}
.servicePlanService .shiftGuestElem span.waiting {
    background-color: darkgrey;
}
.servicePlanService .shiftResources {
    clear: both;
}
.servicePlanService .shiftResourceElem {
    background-color: #FFFCDD;
    border: 1px solid #CCCCCC;
    border-collapse: collapse;
    float: left;
    height: 20px;
    padding-top: 4px;
    padding-left: 5px;
    width: 170px;
}
.serviceBillService .bill {
    margin-bottom: 3px;
    clear: both;
    width: 710px;
}
.serviceBillService .serviceBillEntries {
    width: 710px;
    clear: both;
}
.servicePlanService .serviceBillPatients {
    width: 710px;
    clear: both;
}

.serviceBillService .serviceBillDrives {
    width: 710px;
    clear: both;
}
.serviceBillService .serviceBillEntryElem{
    background-color: #EEEEEE;
    border: 1px solid #CCCCCC;
    border-collapse: collapse;
    float: left;
    font-size: 0.8em;
    height: 35px;
    width: 175px;
}
.serviceBillService .serviceBillEntryAuth{
    border-collapse: collapse;
    border-right: 1px solid #CCCCCC;
    float: left;
    height: 30px;
    padding-left: 5px;
    padding-top: 5px;
    width: 25px;
}
.serviceBillService .serviceBillEntryPerson{
    float: left;
    height: 30px;
    overflow: hidden;
    padding-left: 5px;
    padding-top: 5px;
    width: 100px;
}
.serviceBillService .serviceBillEntryHours{
    float: right;
    text-align: right;
    height: 30px;
    overflow: hidden;
    border-left: 1px solid #CCCCCC;
    padding-right: 5px;
    padding-top: 5px;
    width: 25px;
}
.serviceBillService .serviceBillPatientElem {
    background-color: #E9FFE5;
    border: 1px solid #CCCCCC;
    border-collapse: collapse;
    float: left;
    font-size: 0.8em;
    height: 35px;
    width: 175px;
}
.serviceBillService .serviceBillDriveElem {
    background-color: #FFFCDD;
    border: 1px solid #CCCCCC;
    border-collapse: collapse;
    float: left;
    font-size: 0.8em;
    height: 35px;
    width: 175px;
}
.serviceBillService .serviceBillDriveVehicle{
    float: left;
    height: 30px;
    overflow: hidden;
    padding-left: 5px;
    padding-top: 5px;
    width: 100px;
}
.serviceBillService .serviceBillEntryKilometer{
    float: right;
    text-align: right;
    height: 30px;
    overflow: hidden;
    border-left: 1px solid #CCCCCC;
    padding-right: 5px;
    padding-top: 5px;
    width: 25px;
}
.service_shifts_patient_select{
    width: 230px;
    height: 22px;
}


/* ---------------------- serviceplantable ------------------------ */
.serviceplantable {}

#serviceplantable input{
    width:180px;
    height: 25px;
    border-right: 0;
}
#serviceplantable button{
    background: url("/images/btn_out.png") #fff; 
    font-weight: bold;
    height: 32px;
    width: 25px;
    border-left: 0;
}
.ac_input_mini{
    height:20px;
}
.date_th{
    width:50px;
    overflow:hidden;
}
.category_th{
    width:30px;
    overflow:hidden;
}
.function_th{
    width:60px;
    overflow:hidden;
}
.group_Th{
    width:50px;
    overflow:hidden;
}

.person_th{
    width:225px;
    overflow:hidden;
}
.service_th{
    width:180px;
    overflow:hidden;
}
/* ---------------------- specific ------------------------ */
#ALL {
    background-color: #FFFFFF;
    width: 1000px;
    margin: auto; /* Div soll zentriert werden */
    min-height: 100%; /* MindesthÃ¶he fÃ¼r moderne Browser */
    height:auto !important; /* Important Regel fÃ¼r moderne Browser */
    height:100%; /* MindesthÃ¶he fÃ¼r den IE */
    overflow: hidden !important; /* FF Scroll-leiste */
    
}
#bannerpic {
    margin-left: 2px;
   
}

#selectors{
    padding-top:        10px;
    background-color:   lavender;
    padding-bottom:     10px;
    
}

.division_label {
  padding-left: 30px;
}

#divisionselect select,
#filter_inservice select,
#deletedFilter select,
#deletedFilter,
#filter_category select,
#filter_year select,
#filter_deleted select,
#filter_auth select,
#filter_group select{
    padding-left:       20px;
    width:              100%;
    background-color: #e6e6fa;
    margin-top:         3px;
    margin-bottom:      3px;
}
#divisionselect select option,
#filter_inservice select option,
#deletedFilter select option,
#filter_category select option,
#filter_auth select option,
#filter_year select option,
#filter_group select option{
    padding-left:       20px;
}
#dateselect{
    padding-top:        10px;
    background-color:   #e6e6fa;
    padding-left:       10px;
    padding-right:      10px;
}
select[name=deletedFilter]{
    width:100%;
    padding-left: 20px;
    background-color: lavender;
}
select[name=endedFilter]{
    width:100%;
    padding-left: 20px;
    background-color: lavender;
}
div[name=deletedFilter] select{
    width:100%;
    padding-left: 20px;
    background-color: lavender;
}
div[name=endedFilter] select{
    width:100%;
    padding-left: 20px;
    background-color: lavender;
}
/* ---------------------- specific ------------------------ */



#CAL{
    background-color:   white;
}
#CAL td{
    text-align:         center;

}
#CAL td a{
    text-decoration:    none;
    color:              #222;
}
#CAL td a.calnotinmonth{
    color:              #888;
}
.caltoday{
    font-weight:        900;
    border:             1px solid red;

}

.calselected {
    background-color:   palegoldenrod;
}
.calkw{
    font-size:          0.6em;
    
}
#calhead2 {
    font-size:          0.8em;
    color:              darkblue;
}

#CAL a{
    text-decoration: none;
    color: #fff;
}

/* ---------------------- news ------------------------ */
.newsContainer{
    width:470px;
    float:left;
}
.currentContainer{
    width:270px;
    float:right;
}
.globalNews{}
.divisionNews{}
.groupNews{}
.inCharge{}
.yourNextServices{}

.currentServices{}
.personsWanted{}

.personsWanted ul,
.yourNextServices ul,
.currentServices ul{
    margin-top: 0;
    padding-left: 15px;
}

.personsWanted ul li,
.yourNextServices ul li,
.currentServices ul li {
    margin-bottom: 10px;
    border: solid #AB1D05 1px;
}
.personsWanted ul li div a,
.yourNextServices ul li div a,
.currentServices li div a{
    padding: 3px;
    display: inline-block;
    width: 230px;
    background-color: #AB1D05;
    color: #ffffff;
    
}
.personsWanted .portal_date,
.yourNextServices .portal_date,
.currentServices .portal_date{
    font-size: 0.9em;
}



/* ---------------------- specific ------------------------ */


/* ---------------------- specific ------------------------ */


/* ---------------------- combobox ------------------------ */
.ui-menu{
    background-color:#ffffff;
    width:193px;
    list-style-type: none;
    padding: 5px;
    margin: 0;
    border: 1px solid #666;
    position: absolute;
}
.ui-state-hover{
    background-color:#aaa;
    display: block;
    width:100%;
     
}
.ui-menu-item{
    display: block;
    margin-top: 2px;
    padding:1px;
}
.ui-menu-item a{
    color:#000000;
    
}
.ui-button-icon{
    background-image: url("/images/combo.png");
    background-position: right center ;
    background-repeat: no-repeat;
    border:0;
    background-color: transparent;
    width: 16px;
    padding: 2px;
    display: inline-block;
 
    
}
.ui-autocomplete-input{
    height:24px;
    width:200px;
    padding:0px;
    display: inline-block;
    margin:2px;

}
/* ---------------------- specific ------------------------ */
.error {
  color: white;
  background-color: #AD1D05;
}

.changed {
    background-color: #F9F09A;
}

.warning {
    background-color: #FF9912;
}


table.fieldtable td {
  padding-right: 15px;
  margin-bottom:10px;
}

.edit_error_class {
    display:            block;
    color:              #AD1D05;
}

.sidebar {
    float:              left;
    width:              190px;
    min-height:         100%;
    height:             auto !important;
    height:             100%;
}

.sidebar ul {
    margin:             0;
    padding:            0;
    padding-top:        20px;
    padding-bottom:     15px;
    border-bottom:      1px solid #ccc;
    border-right :      1px solid #ccc;
}
     

.sidebar ul li {
    margin:0;
    padding:0;
    list-style:none;
    border-bottom: 0.5px dotted #ddd;
    
}

.sidebar ul li a {
    display:block;
    padding:3px;
    text-indent:30px;
    text-decoration:none;
    
}

.sidebar ul li ul {
    border-right: none;
    border-bottom: none;
    padding-top: 10px;
    margin-bottom: 10px;
}

.sidebar ul li ul li a {
    text-indent:50px;
}

.sidebar ul li ul li span {
    text-indent:50px;
}

.sidebar ul li span {
    display:block;
    padding:3px;
    margin-right: -1px;
    text-indent:30px;
    text-decoration:none;
    border      : 1px solid #ccc;
    border-right: 1px solid #fff;
    
}

.sidebar ul li a:hover {
    background-color: #eee;
}

.content {
    float:          right;
    width:          760px !important;
    max-width:      760px;
    padding:        20px;
}
fieldset{
    border:         1px solid #AB1D05;
    padding-top:    10px;
    padding-bottom: 10px;
    margin-bottom:  10px;
}
.fsBorder{
    width : 739px;
    
}

fieldset .fsMain {
    float:          left;
    width:          320px;
    padding-left:   10px;
    padding-right:  10px;
    margin:         2px;
    height:         30px;
}
fieldset .fsMainLong {
    float:          left;
    width:          664px;
    padding-left:   10px;
    padding-right:  10px;
    margin:         2px;
    height:         30px;
}
fieldset div .fsLeft {
    float:          left;
    overflow:       hidden;
    padding-top:    8px;
    padding-left:   5px;
    padding-right:  20px;
    height:         26px;
}
fieldset div .fsCheckbox {
    float:          right;
    overflow:       hidden;
    padding-top:    8px;
    padding-left:   5px;
    padding-right:  20px;
    height:         26px;
}
.fsCheckbox input {
    margin-right:   40px;
}
fieldset div .fsRight {
    float:          right;
    border:         1px solid blue;
    width:          143px;
    height:         22px;
    margin:         2px;
    padding-top:    5px;
    padding-left:   5px;
    background-color: #eee;
}
fieldset div .fsRight input {
    margin-top:    -4px;
    width:          133px;
}
fieldset div .fsRight select {
    margin-top:    -4px;
    width:          133px;
}
fieldset div .fsLong {
    float:          right;
    border:         1px solid blue;
    width:          487px;
    height:         22px;
    margin:         2px;
    padding-top:    5px;
    padding-left:   5px;
    background-color: #eee;
}
fieldset div .fsLong input {
    margin-top:    -4px;
    width:          477px;
}
#person_view fieldset{
    max-width:712px;
}

#person_view table input{    
    max-width:150px ;
}
#person_view table td{    
    max-width:162px ;
}
#emails table{

}
#phones table td{    
    max-width:362px ;
}
#emails table td{    
    max-width:362px ;
}
#phones table input[type=text]{
    width:250px ;   
    max-width:250px ;
}
#emails table input[type=text]{
    width:250px ;   
    max-width:250px ;
}

.service_drives_comment_input{          width:380px;height:60px;}
.service_drives_person_select{          width:182px;height:22px;}

.service_billing_auth_select{           width:250px;height:28px;}
select.service_billing_person_select{   width:250px;height:28px;}
input.service_billing_person_select{    width:250px;height:22px;}
.service_billing_auth_select{           width:120px;}
.service_billing_hours_input{           width:100px;height:22px;text-align:right;padding-right: 5px;}
.service_billing_interventions_input{   width:100px;height:22px;text-align:right;padding-right: 5px;}

.service_training_type_select{          width:140px;height:28px;}
select.service_training_person_select{  width:230px;height:28px;}
input.service_training_person_select{   width:230px;height:22px;}
.service_training_hours_input{          width:120px;height:22px;text-align:right;padding-right: 5px;}

.service_shifts_from_input{             width:120px;text-align:right;padding-right: 10px;}
.service_shifts_to_input{               width:120px;text-align:right;padding-right: 10px;}

.serviceView_slots_header span {display: inline-block; margin-left:3px;}
.serviceView_slots_person_header {width:230px;height:22px;}
.serviceView_slots select.locked {width: 100%; background-color: lightgrey;height: 28px;}

.serviceView_patients select {width:250px;height:28px;}
#SERVICEVIEW div[name=patients] select {width:250px;height:22px;}

.service_shifts_auth_select{            width: 80px;height:28px;}
.service_shifts_group_select{           width:120px;height:28px;}
select.service_shifts_person_select{    width:230px;height:28px;}
input.service_shifts_person_select{     width:230px;height:22px;}
.service_shifts_signOnStart_input{      width: 50px;height:22px;text-align:right;padding-right: 5px;}
.service_shifts_signOnEnd_input{        width: 50px;height:22px;text-align:right;padding-right: 5px;}
.service_shifts_signOffEnd_input{       width: 50px;height:22px;text-align:right;padding-right: 5px;}

.service_shifts_vehicle_select{         width:140px;height:22px;}
.service_shifts_resource_select{        width:140px;height:22px;}
.service_shifts_guestType_select{       width:140px;height:22px;}
.service_shifts_training_select{        width:140px;height:22px;}
.tab_head{
    border-bottom:  2px solid #ccc;
}

.tab_button, .tab_button_selected{
    width:          100px;
    background-color: white;
    border:         2px solid #ccc;
    margin-left:    3px;
    margin-bottom: -2px;
    text-align: center;
}

.tab_button_selected{
    border-bottom:  2px solid #fff;
}


.tab_body{
    border-left:         2px solid #ccc;
    border-right:        2px solid #ccc;
    border-bottom:       2px solid #ccc;
    padding:        10px;
    padding-bottom: 30px;
}





.userHook {
    position :          relative;
    top:                -49px;
    left:               660px;
    margin-top:         -25px;
    height:             20px;
    width:              300px;
    overflow:           hidden;
    text-align:         right;
    padding-right:      10px;
    
    
}

.spinner {
    position :          relative;
    top:                -46px;
    left:               970px;
    margin-top:         -25px;
    height:             20px;
    min-height:         20px;
    width:              20px;
    min-width:          20px;
    overflow:           hidden;
    text-align:         right;
    padding-right:      10px;
    
}
.spinner img {
    height:             20px;
    min-height:         20px;
    width:              20px;
    min-width:          20px;
}


#overviewtablebody input[type=text]{
    width: 215px;
}

#service_overview table {
    border: 1px solid #AB1D05;
    border-collapse: collapse;
    width:740px;
    
}
#service_overview table td , #service_overview table th{
    border: 1px solid #AB1D05;
    border-collapse: collapse;
    padding: 2px;

}
#service_overview table th{
    background-color:       #AB1D05;
    color: white;
}

/* DataTables */

.dataTables_filter{
    float:left;
    width:330px;
    height:25px;
}
.dataTables_processing{
    background: url("/images/16x16_loader.gif") top left no-repeat;
    display: inline-block;
    float:left;
    padding-left: 25px;
    width: 0; //150px;
    height: 0; //25px;
}
.dataTables_length{
    float:right;
    width:250px;
    height:25px;
    padding-top: 0px;
    
}
.dataTables_info{
    display: inline-block;
    float:left;
    width:710px;
    height:20px;
}
.dataTables_paginate{
    display: inline-block;
    float:right;
    width:50px;
    height:20px;
    padding-top: 0px;
    
}
.paginate_button.previous.disabled{
    display: none;
    height:20px;width:20px;
}
.paginate_button.next.disabled{
    display: none;
    height:20px;width:20px;
}
.paginate_button.previous{
    display: inline-block;
    background: url("/images/left.png") #aaa center no-repeat ;
    height:20px;width:20px;
    border: 1px #888;
}
.paginate_button.next{
    display: inline-block;
    background: url("/images/right.png") #aaa center no-repeat;
    height:20px;width:20px;
    border: 1px #888;
}
span > a.paginate_button{
    display: none;
}

table.tablesorter {
    clear:both;
    background-color: #CDCDCD;
    font-size: 8pt;
    margin: 10px 0 15px;
    text-align: left;
    table-layout: fixed;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
    background-color:   #ae1c05;
    color:              #ffffff;
    border:             1px solid #FFFFFF;
    font-size:          8pt;
    padding:            4px;
}
table.tablesorter thead tr sorting {
    background: url("/images/sorter_adesc.png") no-repeat scroll 100% 10% ;
    cursor: pointer;
}
table.tablesorter tbody td {
    background-color: #FFFFFF;
    color: #3D3D3D;
    padding: 4px;
    vertical-align: top;
}
table.tablesorter tbody tr.odd td {
    background-color: #F0F0F6;
}

table.tablesorter thead tr .sorting_asc {
    background: url("/images/sorter_asc.png") no-repeat scroll 100% 10% #e69594;
}
table.tablesorter thead tr .sorting_desc {
    background: url("/images/sorter_desc.png") no-repeat scroll 100% 10% #e69594;
}

/* spec DataTables */
#personslisttable a{
    display: inline-block;
    width:  100%;
    height: 14px;
}
#personslisttable .even,
#personslisttable .odd{
    height: 35px !important;
}

#servicelisttable a{
    display: inline-block;
    width:  100%;
    height: 26px;
    
}
#serviceplantable a{
    display: inline-block;
    width:  100%;
    height: 32px;
    
}
.serviceListStatus{
    width:60px;
    margin-left:  5px;
    margin-right: 10px;
}

#service_list table {
    border-collapse:    collapse;
}

#service_list table td, #service_list table th {
    border:             1px solid #eeeeee;
    padding:            2px;
    border-collapse:    collapse;
}

#service_list table{
    border: 1px solid #AB1D05;
    border-collapse: collapse;
    width:720px;
}
#service_list table td , #service_list table th{
    border: 1px solid #AB1D05;
    border-collapse: collapse;
    padding: 2px;

}
#service_list table th{
    background-color:       #AB1D05;
    color: white;
}

#person_list td a{
    color: black;
    text-decoration: none;
}
#person_list th a{
    color: white;
    text-decoration: none;
}

#person_list table{
    border: 1px solid #AB1D05;
    border-collapse: collapse;
    width:720px;
}
#person_list tr:hover {
    background-color: #eee;
}
#person_list table td , #service_list table th{
    border: 1px solid #AB1D05;
    border-collapse: collapse;
    padding: 2px;

}
#person_list table th{
    background-color:       #AB1D05;
    color: white;
}
/**/
.service_view_title  h2{
    margin: 0;
    margin-bottom: 10px;
    display: inline-block;
    width:600px;
    
}
.service_view_title  div{
    
    height: 52px;
    display: inline-block;
    width:150px;    
}
.service_view_title  .serviceViewStatus{
    height: 52px;
    display: inline-block;
    width:140px;
}
.serviceView_overview{
    width: 680px;
}
.serviceView_overview textarea{
    width: 550px;
    color: black;
}
.serviceView_overview select{
    color: black;
    width: 275px;
}
.serviceView_duration {
    width: 300px;
}
.serviceView_duration input{
    width:180px;
}
.serviceView_resetBill{
    float: right;
}
.serviceView_delete,
.serviceView_restore{
    float: right;
}

#service_trainings table{
    width:600px;
}
#service_drives table{
    width:600px;
    table-layout:fixed;
}

fieldset[name=distributor] select{      width: 160px;}
fieldset[name=group] select{            width: 160px;}
fieldset[name=auth] select{             width: 160px;}

#exportform label{
    display: inline-block;
    width: 80px;
    
}
#exportform input[type=text]{
    text-align: right;
    width: 100px;
    margin-right:20px;
}

img[name=trainingHoursStatus],
img[name=serviceHoursStatus]{
    width:25px;
    height:25px;    
}

/* <TOOLTIP> */

#tooltip {
    position: absolute;
    z-index: 3000;
    border: 1px solid #111;
    background-color: #eee;
    padding: 5px;

}
#tooltip h3, #tooltip div { margin: 0; }


#tooltip.error {
    background-color: #AD1D05;
    color: white;
    
}
#tooltip.error h3 {
    font-size: 9pt;
}
#tooltip.error div {
    
}


#tooltip.warning {
    background-color: #FF9912;
    color: white;
}
#tooltip.warning h3 {
    font-size: 9pt;
}
#tooltip.warning div {
    
}


#tooltip.pretty {
    border: none;
    width: 210px;
    padding:20px;
    height: 135px;
    
    background: url('/images/shadow.png');
}
#tooltip.pretty h3 {
    margin-bottom: 0.75em;
    font-size: 12pt;
    width: 220px;
    text-align: center;
}
#tooltip.pretty div { width: 220px; text-align: left; }

/* </TOOLTIP> */


#CREATEPERSON select{
    width: 152px;
    border: solid 1px grey;
}
#CREATEPERSON input{
    width: 140px;
}
fieldset[name='seriesOptions'] input[name='isseries']{
    margin-right: 100px;
}
fieldset[name='seriesOptions'] input[name='interval']{
    width:60px;
    margin-right: 100px;
}
fieldset[name='seriesOptions'] input[name='enddate']{
    width:120px;
}
#SERVICEVIEW input[name='startDate'],
#SERVICEVIEW input[name='endDate']{
    width:120px;
    margin-left: 20px;
    margin-right: 50px;
}
#SERVICEVIEW input[name='interval']{
    width:60px;
    margin-left: 20px;
    
}
.news_date{
    width: 80px;
}
.news_author{
    width: 80px;
}
.news_msg{
    width: 400px;
}
.news_show{
    width: 40px;
}
.newsletter_info{
    width: 100px;
}
.newsletter_msg{
    width: 550px;
}
.newsletter_show{
    width: 40px;
}


.person_info_picture {
    float:left;
}

.person_info_title {
    float:left;
    width:          600px;
    margin-top: 0px;
    margin-bottom: 4px;
    padding-left: 15px;

    font-size: 1.4em;
    font-weight: bold;
}

.person_info_main {
    float:          left;
    width:          290px;
    padding-left:   10px;
    padding-right:  10px;
    margin:         2px;
    margin-bottom:  4px;
    height:         20px;
}
.person_info_key {
    float:          left;
    padding-top:    8px;
    padding-left:   5px;
    padding-right:  20px;
    height:         20px;
}
.person_info_val {
    float:          right;
    width:          143px;
    height:         20px;
    margin:         2px;
    padding-top:    5px;
    padding-left:   5px;
    /*
    background-color: #eee;
    border:         1px solid blue;
    */
    font-weight: bold;
}

.person_info_contact {
    font-weight: bold;
    float:          left;
    padding-top:    12px;
    padding-left:   5px;
    padding-right:  20px;
    height:         20px;
}

#patientInfoWidget.unconsented{
    background: #AB1D05;
}

.patient_info_picture {
    float:left;
}

.patient_info_title {
    float:left;
    width:          600px;
    margin-top: 0px;
    margin-bottom: 4px;
    padding-left: 15px;

    font-size: 1.4em;
    font-weight: bold;
}

.patient_info_main {
    float:          left;
    width:          290px;
    padding-left:   10px;
    padding-right:  10px;
    margin:         2px;
    margin-bottom:  4px;
    height:         20px;
}
.patient_info_main_long {
    width:          600px;
}
.patient_info_key {
    float:          left;
    padding-top:    8px;
    padding-left:   5px;
    padding-right:  20px;
    height:         20px;
}
.patient_info_val {
    float:          right;
    width:          143px;
    height:         20px;
    margin:         2px;
    padding-top:    5px;
    padding-left:   5px;
    /*
    background-color: #eee;
    border:         1px solid blue;
    */
    font-weight: bold;
}
.patient-button-delete{
    float: right;
}

.patient_info_contact {
    font-weight: bold;
    float:          left;
    padding-top:    12px;
    padding-left:   5px;
    padding-right:  20px;
    height:         20px;
    overflow: hidden;
}
#patientAddress  th{
    text-align: left;
}
#patientAddress  th.contact_addresstype{
    width: 150px;
}
#patientAddress  th.contact_street{
    width: 200px;
}
#patientAddress  th.contact_zip{
    width: 80px;
}
#patientAddress  th.contact_city{
    width: 150px;
}
#patientAddress  th.contact_comment{
    width: 200px;
}
#patientAddress  th.contact_ispri{
    width: 30px;
}
#patientAddress  td input{
    width: 90%
}
#patientEmail  th{
    text-align: left;
}
#patientEmail  th.email_address{
    width: 300px;
}
#patientEmail  th.email_comment{
    width: 200px;
}
#patientEmail  td input{
    width: 90%
}
#patientPhone  th{
    text-align: left;
}
#patientPhone  th.phone_number{
    width: 300px;
}
#patientPhone  th.phone_comment{
    width: 200px;
}
#patientPhone  td input{
    width: 90%
}





.pelegrin_info_contact {
    font-weight: bold;
    float:          left;
    padding-top:    12px;
    padding-left:   5px;
    padding-right:  20px;
    height:         20px;
}

.pelegrin_info_picture {
    float:left;
}

.pelegrin_info_title {
    float:left;
    width:          600px;
    margin-top: 0px;
    margin-bottom: 4px;
    padding-left: 15px;

    font-size: 1.4em;
    font-weight: bold;
}
.pelegrin_info_main {
    float:          left;
    width:          290px;
    padding-left:   10px;
    padding-right:  10px;
    margin:         2px;
    margin-bottom:  4px;
    height:         20px;
}
.pelegrin_info_main_long {
    width:          600px;
}
.pelegrin_info_key {
    float:          left;
    padding-top:    8px;
    padding-left:   5px;
    padding-right:  20px;
    height:         20px;
}
.pelegrin_info_val {
    float:          right;
    width:          143px;
    height:         20px;
    margin:         2px;
    padding-top:    5px;
    padding-left:   5px;
    /*
    background-color: #eee;
    border:         1px solid blue;
    */
    font-weight: bold;
}
.pelegrin-button-delete{
    float: right;
}

.pelegrin_info_contact {
    font-weight: bold;
    float:          left;
    padding-top:    12px;
    padding-left:   5px;
    padding-right:  20px;
    height:         20px;
    overflow: hidden;
}
#pelegrinAddress  th{
    text-align: left;
}
#pelegrinAddress  th.contact_addresstype{
    width: 150px;
}
#pelegrinAddress  th.contact_street{
    width: 200px;
}
#pelegrinAddress  th.contact_zip{
    width: 80px;
}
#pelegrinAddress  th.contact_city{
    width: 150px;
}
#pelegrinAddress  th.contact_comment{
    width: 200px;
}
#pelegrinAddress  th.contact_ispri{
    width: 30px;
}
#pelegrinAddress  td input{
    width: 90%
}
#pelegrinEmail  th{
    text-align: left;
}
#pelegrinEmail  th.email_address{
    width: 300px;
}
#pelegrinEmail  th.email_comment{
    width: 200px;
}
#pelegrinEmail  td input{
    width: 90%
}
#pelegrinPhone  th{
    text-align: left;
}
#pelegrinPhone  th.phone_number{
    width: 300px;
}
#pelegrinPhone  th.phone_comment{
    width: 200px;
}
#pelegrinPhone  td input{
    width: 90%
}



fieldset.confidential{
    background: #ffaaaa;
}

.recertStatus{
    display: inline-block;
    width: 75%;
    
}
.recertStatus img{
    margin-right: 5px;
}
.recertStatus label{
    display: inline-block;
    width: 50px;
}
.recertHours{
    display: inline-block;
    text-align: right;
    width: 15%;
}
.recertHourslabel{
    display: inline-block;
    width: 50px;
}

#recertView .drop{
    float: right;
    margin-right: 8px;
}
#authView .drop{
    float: right;
    margin-right: 8px;
}
div[name=extendRecertForm] label{
    display: inline-block;
    width: 118px;
    margin-bottom: 2px;
}
div[name=extendRecertForm] input{
    margin-bottom: 2px;
}
/* functions and rights */
#rights span select {
    width:120px;
}
#rights span select[name=rightSelect] {
    width:240px;
}
#persons li[name=personRow] select{
    width: 240px;
}

.service_shifts_vehicle_select{
    width: 250px;
}


/* globalservices */


div[name=diagnosisTab] select,
div[name=diagnosisTab] input{
    width: 260px;
}


div[name=diagnosisTab] textarea {
    width: 550px;
    min-height: 60px;
}


/* persons tabs */
.mhdaComments{
 
}

.service_status_overview th{
    width:160px;
    text-align: left;
}

/* rights*/
.rights-block .specific-right{
    border: 1px solid #eee;
    margin-bottom: 10px;
}
.rights-block .specific-right .right-name{
    padding: 3px;
    font-size: 1.4em;
    background: #AB1D05;
    border: 1px solid #ccc;
    color: white;
}
.rights-block .specific-right .right-name label{
    display: inline-block;
    padding: 1px;
    width:620px;
}

.rights-block .specific-right .right-filters  {
    margin-bottom: 5px;
    
}
.rights-block .specific-right .right-filters .right-filter {
    
    width:730px;    
    background-color: #fee;
    border: 1px solid #f99;
    margin-bottom: 5px;
}
.rights-block .specific-right .right-filter .right-filter-name{
    font-size: 1.1em;
    padding: 1px;
    background-color: white;
    border-bottom: 1px solid #f99;
}
.rights-block .specific-right .right-filter .right-filter-option{
    display: inline-block;
    width:240px;
}
.rights-block .specific-right .right-filter .right-filter-option label{
    display: inline-block;
    padding: 1px;
    width:205px;
}

#personslisttable .nologin {
    color: #ae1c05;
    font-weight: bold;
}

#RESOURCETYPES input,
#SERVICETYPES input,
#SERVICETYPES input{
    width: 90%;
}
fieldset div .fsRight .division-select {
    width: 50px;
}
fieldset div .fsRight .group-select {
    width: 80px;
}
#groupSubSelector{
    display: inline;
}
.group-selection-block{
    display: inline;   
}

fieldset[name=distributors] div[name=name]{
    display: inline-block;
    width: 300px;
}
fieldset[name=interests] div[name=name]{
    width: 300px;
    display: inline-block;
}
fieldset[name=interests] div[name=abbr]{
    display: inline-block;
    width: 100px;
}
fieldset[name=interests] div[name=interestComments] > textarea{
    width: 700px;
    height: 100px;
}
#personInChargeTable {
    width: 100%;
}
#personInChargeTable tr{
    border-bottom: 1px solid #AB1D05;
}
#personInChargeTable .form-block{
    height: 24px;
}
#personInChargeTable label{
    display: inline-block;
    width: 135px;   
}
#personInChargeTable input{
    margin-right: 10px;
}
#personInChargeTable .address_street {
    width: 209px;
}
#personInChargeTable .address_zip {
    width: 60px;
    margin-left: 20px;
    margin-right: 10px;
}
#personInChargeTable .comment {
    width: 493px;    
}
fieldset[name=mhdaForm] input{
    margin-right: 10px;
}

fieldset[name=mhdaForm] label{
    display: inline-block;
    width: 135px;      

}



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

.popup-message{
    position:           absolute;
    top:                0px;
    left:               0px;
    z-index:            101;
    width:              100%;
    min-height:         100%;
    background:         rgba(0, 0, 0, 0.5);
}

.popup-message .message-content{
    padding:            4px;
    margin-top:         250px;
    margin-left:        auto;
    margin-right:       auto;
    width:              450px;
    min-height:         100px;
    border-style:       solid;
    border-width:       2px;
    border-radius:      10px;
    z-index:            102;
    font-size:          13px;
}

.popup-message .message-content.msg{
    background-color:   #FFFFFF;
    border-color:       #415C9B;
    color:              #333333;
}

.popup-message .message-content.alert{
    background-color:   #FFFFFF;
    border-color:       #AE1C05;
    color:              #333333;
}

.popup-message .message-content .message-title-div{
    border-style:       solid;
    border-width:       1px;
    border-radius:      6px;
    margin-bottom:      4px;
    font-weight:        bold;
    padding:            3px;
    height:             20px;
    font-size:          16px;
}

.popup-message .message-content.msg .message-title-div{
    background:         #415C9B;
    border-color:       #999999;
    color:              #FFFFFF;
}

.popup-message .message-content.alert .message-title-div{
    background:         #AE1C05;
    border-color:       #999999;
    color:              #FFFFFF;
}

.popup-message .message-content .message-text-div{
    color:              #333333;
    margin:             4px;
    font-weight:        bold;
    padding:            0px;
    font-size:          14px;
}

.popup-message .message-content .message-button{
    border-style:       solid;
    border-width:       1px;
    border-radius:      3px;
    margin:             4px;
}

.popup-message .message-content.msg .message-button{
    color:              #333333;
    border-color:       #999999;
    background:         #ABC6DD;
}

.popup-message .message-content.alert .message-button{
    color:              #333333;
    border-color:       #999999;
    background:         #E69594;
}

.div-shown{
    display:            block;
}

.div-hidden{
    display:            none;
}

.icon-button{
    width:              23px;
    color:              #333333;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-radius:      3px;
}

/* //////////////////////////////////////////////// */
/* STYLE FOR pharma : to be moved in pharma/res/css */
/* //////////////////////////////////////////////// */

#pharma .overview-div{
    display:            block;
    border-width:       1px;
    border-style:       solid;
    border-color:       #CCCCCC;
    width:              300px;
    margin:             3px;
    padding:            3px;
    margin-bottom:      6px;
    float:              left;
}

#pharma .overview-title-div{
    background:         #AE1C05;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    color:              #FFFFFF;
    margin-bottom:      4px;
    font-weight:        bold;
    padding:            3px;
    height:             20px;
    font-size:          16px;
}

#pharma .overview-hr{
    border-width:       1px;
    border-style:       solid;
    border-color:       #CCCCCC;
}

#pharma .overview-table{
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-spacing:     0px;
}

#pharma .overview-table tr{
    font-weight:        bold;
    color:              #333333;
    height:             20px;
}

#pharma .overview-table .odd{
    background:         #F0F0F6;
}

#pharma .overview-table .even{
    background:         #FFFFFF;
}

#pharma .a-list{
    color: #333333;
    text-decoration: underline;
    font-weight: bold;
}

/* 1st level tabs */

#pharma .tab_head1{
    border-bottom:      1px solid #999999;
}

#pharma .tab_button1, 
#pharma .tab_button_selected1{
    width:              120px;
    background-color:   #E69594;
    border:             1px solid #999999;
    margin-left:        0px;
    margin-bottom:      -1px;
    text-align:         center;
    color:              #FFFFFF;
    font-weight:        bold;
}

#pharma .tab_button_selected1{
    color:              #666666;
    background-color:   #FFFFFF;
    border-bottom:      1px solid #fff;
}


#pharma .tab_body1{
    border:             1px solid;
    border-color:       #999999;
    padding:            10px;
    padding-bottom:     30px;
}

#pharma .tab_body1.with-tabs{
    border-top:         0px solid #999;
}

/* 2nd level tabs */

#pharma .tab_head2{
    border-bottom:      1px solid #999999;
}

#pharma .tab_button2, 
#pharma .tab_button_selected2{
    width:              150px;
    background-color:   #E69594;
    border:             1px solid #999999;
    margin-left:        0px;
    margin-bottom:      -1px;
    text-align:         center;
    font-weight:        bold;
    color:              #FFFFFF;
}

#pharma .tab_button_selected2{
    color:              #666666;
    background-color:   #FFFFFF;
    border-bottom:      1px solid #fff;
}


#pharma .tab_body2{
    border:             1px solid #999999;
    padding:            10px;
    padding-bottom:     30px;
}

#pharma .tab_body2.with-tabs{
    border-top:         0px solid #999;
}

#pharma .overlay{
    /*position:           absolute;
    top:                0px;
    left:               0px;*/
    z-index:            101;
    width:              100%;
    min-height:         100%;
    background:         rgba(0, 0, 0, 0.5);
}

#pharma .overlay-content{
    /*position:         absolute;*/
    padding:            4px;
    /*margin-top:         0px;
    margin-left:        auto;
    margin-right:       auto;
    width:              600px;
    min-height:         150px;*/
    background-color:   #FFFFFF;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    z-index:            102;
    color:              #333333;
    font-size:          13px;
}

#pharma .overlay-title-div{
    background:         #AE1C05;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    color:              #FFFFFF;
    margin-bottom:      4px;
    font-weight:        bold;
    padding:            3px;
    height:             20px;
    font-size:          16px;
}

#pharma .overlay-table{
    width:              100%;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-spacing:     0px;
}

#pharma .overlay-table tr{
    font-weight:        bold;
    color:              #333333;
    height:             30px;
}

#pharma .overlay-table .odd{
    background:         #F0F0F6;
}

#pharma .overlay-table .even{
    background:         #FFFFFF;
}

#pharma .icon-button.edit.btn-enabled{
    background:         #E9FFE5 url('../images/php/pencilgreen_16.png') no-repeat center center;
}

#pharma .icon-button.edit.btn-disabled{
    visibility:         hidden;
    background:         #EAEAEA;
}

#pharma .icon-button.image.btn-enabled{
    background:         #E9FFE5 url('../images/php/foto_16.png') no-repeat center center;
}

#pharma .icon-button.image.btn-disabled{
    visibility:         hidden;
    background:         #EAEAEA;
}

#pharma .icon-button.buy.btn-enabled{
    background:         #E9FFE5 url('../images/php/add_16.png') no-repeat center center;
}

#pharma .icon-button.buy.btn-disabled{
    visibility:         hidden;
    background:         #EAEAEA;
}

#pharma .icon-button.plus.btn-enabled{
    background:         #E9FFE5 url('../images/php/add_16.png') no-repeat center center;
}

#pharma .icon-button.plus.btn-disabled{
    visibility:         hidden;
    background:         #EAEAEA;
}

#pharma .icon-button.minus.btn-enabled{
    background:         #E9FFE5 url('../images/php/minus_16.png') no-repeat center center;
}

#pharma .icon-button.minus.btn-disabled{
    visibility:         hidden;
    background:         #EAEAEA;
}



#pharma .icon-button.remove.btn-enabled{
    background:         #E9FFE5 url('../images/php/aright_16.png') no-repeat center center;
}

#pharma .icon-button.remove.btn-disabled{
    background:         #EAEAEA;
    visibility:         hidden;
}

#pharma .icon-button.move.btn-enabled{
    background:         #E9FFE5 url('../images/php/update_16.png') no-repeat center center;
}

#pharma .icon-button.move.btn-disabled{
    background:         #EAEAEA;
    visibility:         hidden;
}

#pharma .text-1{
    color:              #333333;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-radius:      3px;
    margin:             4px;
    background:         #FFFFFF;
}

#pharma .select-1{
    color:              #333333;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-radius:      3px;
    margin:             4px;
    background:         #FFFFFF;
}

#pharma .button-1{
    color:              #333333;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-radius:      3px;
    margin:             4px;
    background:         #EAEAEA;
}

/* DataTables */

#pharma .dataTables_filter{
    float:              left;
    width:              330px;
    height:             25px;
}

#pharma .dataTables_processing{
    background:         url("/images/16x16_loader.gif") top left no-repeat;
    display:            inline-block;
    float:              left;
    padding-left:       25px;
    width:              0px;
    height:             0px;
}

#pharma .dataTables_length{
    float:              right;
    width:              250px;
    height:             25px;
    padding-top:        0px;
    
}

#pharma .dataTables_info{
    display:            inline-block;
    float:              left;
    width:              710px;
    height:             20px;
}

#pharma .dataTables_paginate{
    display:            inline-block;
    float:              right;
    width:              50px;
    height:             20px;
    padding-top:        0px;
}

#pharma .paginate_button.previous.disabled{
    display:            none;
    height:             20px;
    width:              20px;
}

#pharma .paginate_button.next.disabled{
    display:            none;
    height:             20px;
    width:              20px;
}

#pharma .paginate_button.previous{
    display:            inline-block;
    background:         url("/images/left.png") #aaa center no-repeat ;
    height:             20px;
    width:              20px;
    border:             1px #888;
}

#pharma .paginate_button.next{
    display:            inline-block;
    background:         url("/images/right.png") #aaa center no-repeat;
    height:             20px;
    width:              20px;
    border:             1px #888;
}

#pharma span > #pharma a.paginate_button{
    display:            none;
}

#pharma table.tablesorter {
    clear:              both;
    background-color:   #CDCDCD;
    font-size:          8pt;
    margin:             10px 0 15px;
    text-align:         left;
    table-layout:       fixed;
    border-spacing:     0px;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
}

#pharma table.tablesorter thead tr th, 
#pharma table.tablesorter tfoot tr th {
    background-color:   #E69594;
    color:              #ffffff;
    border:             0px solid #FFFFFF;
    font-size:          8pt;
    padding:            4px;
}

#pharma table.tablesorter thead tr sorting {
    background:         url("/images/sorter_adesc.png") no-repeat scroll 100% 10% ;
    cursor:             pointer;
}

#pharma table.tablesorter tbody tr {
    height:             30px;
}

#pharma table.tablesorter tbody td {
    background-color:   #FFFFFF;
    color:              #3D3D3D;
    padding:            2px;
    vertical-align:     top;
}

#pharma table.tablesorter tbody tr.odd td {
    background-color:   #EAEAEA;
}

#pharma table.tablesorter tbody tr.even td {
    background-color:   #FFFFFF;
}

#pharma table.tablesorter thead tr .sorting_asc {
    background:         url("/images/sorter_asc.png") no-repeat scroll 100% 10% #AE1C05;
}

#pharma table.tablesorter thead tr .sorting_desc {
    background:         url("/images/sorter_desc.png") no-repeat scroll 100% 10% #AE1C05;
}

#pharma .dataTables_wrapper input, 
#pharma .dataTables_wrapper select{
    color:              #333333;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-radius:      3px;
    margin:             0px;
    background:         #FFFFFF;
}

/* ////////////////////////////////////////////////// */
/* STYLE FOR pilgrim : to be moved in pilgrim/res/css */
/* ////////////////////////////////////////////////// */


#pilgrim .overview-div{
    display:            block;
    border-width:       1px;
    border-style:       solid;
    border-color:       #CCCCCC;
    width:              98%;
    margin:             3px;
    padding:            3px;
    margin-bottom:      6px;
    float:              left;
}

#pilgrim .overview-title-div{
    background:         #AE1C05;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    color:              #FFFFFF;
    margin-bottom:      4px;
    font-weight:        bold;
    padding:            3px;
    height:             20px;
    font-size:          16px;
}

#pilgrim .overview-hr{
    border-width:       1px;
    border-style:       solid;
    border-color:       #CCCCCC;
}

#pilgrim .overview-table{
    width:              100%;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-spacing:     0px;
}

#pilgrim .overview-table tr{
    font-weight:        bold;
    color:              #333333;
    height:             20px;
}

#pilgrim .overview-table .odd{
    background:         #F0F0F6;
}

#pilgrim .overview-table .even{
    background:         #FFFFFF;
}


#pilgrim .persons-div{
    display:            block;
    border-width:       1px;
    border-style:       solid;
    border-color:       #CCCCCC;
    width:              98%;
    margin:             3px;
    padding:            3px;
    margin-bottom:      6px;
    float:              left;
}

#pilgrim .persons-title-div{
    background:         #AE1C05;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    color:              #FFFFFF;
    margin-bottom:      4px;
    font-weight:        bold;
    padding:            3px;
    height:             20px;
    font-size:          16px;
}

#pilgrim .persons-hr{
    border-width:       1px;
    border-style:       solid;
    border-color:       #CCCCCC;
}

#pilgrim .persons-table{
    width:              100%;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-spacing:     0px;
}

#pilgrim .persons-table tr{
    color:              #333333;
    height:             20px;
}

#pilgrim .persons-table .odd{
    background:         #F0F0F6;
}

#pilgrim .persons-table .even{
    background:         #FFFFFF;
}


#pilgrim .a-list{
    color: #333333;
    text-decoration: underline;
    font-weight: bold;
}

#pilgrim .a-document{
    color: #333333;
    text-decoration: underline;
    font-weight: bold;
}

/* 1st level tabs */

#pilgrim .tab_head1{
    border-bottom:      1px solid #999999;
}

#pilgrim .tab_button1, 
#pilgrim .tab_button_selected1{
    width:              120px;
    background-color:   #E69594;
    border:             1px solid #999999;
    margin-left:        0px;
    margin-bottom:      -1px;
    text-align:         center;
    color:              #FFFFFF;
    font-weight:        bold;
}

#pilgrim .tab_button_selected1{
    color:              #666666;
    background-color:   #FFFFFF;
    border-bottom:      1px solid #fff;
}


#pilgrim .tab_body1{
    border:             1px solid;
    border-color:       #999999;
    padding:            10px;
    padding-bottom:     30px;
    min-height:         600px;
}

#pilgrim .tab_body1.with-tabs{
    border-top:         0px solid #999;
}

/* 2nd level tabs */

#pilgrim .tab_head2{
    border-bottom:      1px solid #999999;
}

#pilgrim .tab_button2, 
#pilgrim .tab_button_selected2{
    width:              150px;
    background-color:   #E69594;
    border:             1px solid #999999;
    margin-left:        0px;
    margin-bottom:      -1px;
    text-align:         center;
    font-weight:        bold;
    color:              #FFFFFF;
}

#pilgrim .tab_button_selected2{
    color:              #666666;
    background-color:   #FFFFFF;
    border-bottom:      1px solid #fff;
}


#pilgrim .tab_body2{
    border:             1px solid #999999;
    padding:            10px;
    padding-bottom:     30px;
}

#pilgrim .tab_body2.with-tabs{
    border-top:         0px solid #999;
}

#pilgrim .overlay{
    /*position:           absolute;
    top:                0px;
    left:               0px;*/
    z-index:            101;
    width:              100%;
    min-height:         100%;
    background:         rgba(0, 0, 0, 0.5);
}

#pilgrim .overlay-content{
    /*position:         absolute;*/
    padding:            4px;
    /*margin-top:         0px;
    margin-left:        auto;
    margin-right:       auto;
    width:              600px;
    min-height:         150px;*/
    background-color:   #FFFFFF;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    z-index:            102;
    color:              #333333;
    font-size:          13px;
}

#pilgrim .overlay-title-div{
    background:         #AE1C05;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    color:              #FFFFFF;
    margin-bottom:      4px;
    font-weight:        bold;
    padding:            3px;
    height:             20px;
    font-size:          16px;
}

#pilgrim .overlay-table{
    width:              100%;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-spacing:     0px;
}

#pilgrim .overlay-table tr{
    color:              #333333;
    height:             30px;
}

#pilgrim .overlay-table .odd{
    background:         #F0F0F6;
}

#pilgrim .overlay-table .even{
    background:         #FFFFFF;
}

#pilgrim .icon-button.edit.btn-enabled{
    background:         #E9FFE5 url('../images/php/pencilgreen_16.png') no-repeat center center;
}

#pilgrim .icon-button.edit.btn-disabled{
    visibility:         hidden;
    background:         #EAEAEA;
}

#pilgrim .icon-button.image.btn-enabled{
    background:         #E9FFE5 url('../images/php/foto_16.png') no-repeat center center;
}

#pilgrim .icon-button.image.btn-disabled{
    visibility:         hidden;
    background:         #EAEAEA;
}

#pilgrim .icon-button.buy.btn-enabled{
    background:         #E9FFE5 url('../images/php/add_16.png') no-repeat center center;
}

#pilgrim .icon-button.buy.btn-disabled{
    visibility:         hidden;
    background:         #EAEAEA;
}

#pilgrim .icon-button.plus.btn-enabled{
    background:         #E9FFE5 url('../images/php/add_16.png') no-repeat center center;
}

#pilgrim .icon-button.plus.btn-disabled{
    visibility:         hidden;
    background:         #EAEAEA;
}

#pilgrim .icon-button.minus.btn-enabled{
    background:         #E9FFE5 url('../images/php/minus_16.png') no-repeat center center;
}

#pilgrim .icon-button.minus.btn-disabled{
    visibility:         hidden;
    background:         #EAEAEA;
}


#pilgrim .icon-button.remove.btn-enabled{
    background:         #E9FFE5 url('../images/php/aright_16.png') no-repeat center center;
}

#pilgrim .icon-button.remove.btn-disabled{
    background:         #EAEAEA;
    visibility:         hidden;
}

#pilgrim .icon-button.sync.btn-enabled{
    background:         #E9FFE5 url('../images/php/update_16.png') no-repeat center center;
}

#pilgrim .icon-button.sync.btn-disabled{
    background:         #EAEAEA;
    visibility:         hidden;
}

#pilgrim .text-1{
    color:              #333333;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-radius:      3px;
    margin:             4px;
    background:         #FFFFFF;
}

#pilgrim .text-1.readonly{
    color:              #666666;
    background:         #EAEAEA;
}

#pilgrim .select-1{
    color:              #333333;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-radius:      3px;
    margin:             4px;
    background:         #FFFFFF;
}

#pilgrim .select-1.readonly{
    color:              #666666;
    background:         #EAEAEA;
}

#pilgrim .button-1{
    color:              #333333;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-radius:      3px;
    margin:             4px;
    background:         #EAEAEA;
}

#pilgrim .textarea-1{
    resize:             none;
    width:              85%;
    height:             60px;
    margin:             3px;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-radius:      3px;
}

#pilgrim .textarea-1.readonly{
    color:              #666666;
    background:         #EAEAEA;
}

/* DataTables */

#pilgrim .dataTables_filter{
    float:              left;
    width:              330px;
    height:             25px;
}

#pilgrim .dataTables_processing{
    background:         url("/images/16x16_loader.gif") top left no-repeat;
    display:            inline-block;
    float:              left;
    padding-left:       25px;
    width:              0px;
    height:             0px;
}

#pilgrim .dataTables_length{
    float:              right;
    width:              250px;
    height:             25px;
    padding-top:        0px;
    
}

#pilgrim .dataTables_info{
    display:            inline-block;
    float:              left;
    width:              710px;
    height:             20px;
}

#pilgrim .dataTables_paginate{
    display:            inline-block;
    float:              right;
    width:              50px;
    height:             20px;
    padding-top:        0px;
}

#pilgrim .paginate_button.previous.disabled{
    display:            none;
    height:             20px;
    width:              20px;
}

#pilgrim .paginate_button.next.disabled{
    display:            none;
    height:             20px;
    width:              20px;
}

#pilgrim .paginate_button.previous{
    display:            inline-block;
    background:         url("/images/left.png") #aaa center no-repeat ;
    height:             20px;
    width:              20px;
    border:             1px #888;
}

#pilgrim .paginate_button.next{
    display:            inline-block;
    background:         url("/images/right.png") #aaa center no-repeat;
    height:             20px;
    width:              20px;
    border:             1px #888;
}

#pilgrim span > #pilgrim a.paginate_button{
    display:            none;
}

#pilgrim table.tablesorter {
    clear:              both;
    background-color:   #CDCDCD;
    font-size:          8pt;
    margin:             10px 0 15px;
    text-align:         left;
    table-layout:       fixed;
    border-spacing:     0px;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
}

#pilgrim table.tablesorter thead tr th, 
#pilgrim table.tablesorter tfoot tr th {
    background-color:   #E69594;
    color:              #ffffff;
    border:             0px solid #FFFFFF;
    font-size:          8pt;
    padding:            4px;
}

#pilgrim table.tablesorter thead tr sorting {
    background:         url("/images/sorter_adesc.png") no-repeat scroll 100% 10% ;
    cursor:             pointer;
}

#pilgrim table.tablesorter tbody tr {
    height:             30px;
}

#pilgrim table.tablesorter tbody td {
    background-color:   #FFFFFF;
    color:              #3D3D3D;
    padding:            2px;
    vertical-align:     top;
}

#pilgrim table.tablesorter tbody tr.odd td {
    background-color:   #EAEAEA;
}

#pilgrim table.tablesorter tbody tr.even td {
    background-color:   #FFFFFF;
}

#pilgrim table.tablesorter thead tr .sorting_asc {
    background:         url("/images/sorter_asc.png") no-repeat scroll 100% 10% #AE1C05;
}

#pilgrim table.tablesorter thead tr .sorting_desc {
    background:         url("/images/sorter_desc.png") no-repeat scroll 100% 10% #AE1C05;
}

#pilgrim table.tablesorter thead input, 
#pilgrim table.tablesorter thead select{
    font-size:          12px;
    width:              88%;
}

#pilgrim .dataTables_wrapper input, 
#pilgrim .dataTables_wrapper select{
    color:              #333333;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-radius:      3px;
    margin:             0px;
    background:         #FFFFFF;
}

#pilgrim .overview-div1{
    display:            block;
    border-width:       1px;
    border-style:       solid;
    border-color:       #CCCCCC;
    width:              230px;
    margin:             3px;
    padding:            3px;
    margin-bottom:      6px;
    float:              left;
}

#pilgrim .overview-title-div1{
    background:         #AE1C05;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    color:              #FFFFFF;
    margin-bottom:      4px;
    font-weight:        bold;
    padding:            3px;
    height:             16px;
    font-size:          14px;
}

#pilgrim .overview-hr1{
    border-width:       1px;
    border-style:       solid;
    border-color:       #CCCCCC;
}

#pilgrim .overview-table1{
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-spacing:     0px;
    width:              100%;
}

#pilgrim .overview-table1 tr{
    font-weight:        bold;
    color:              #333333;
    height:             20px;
}

#pilgrim .overview-table1 .head{
    background:         #FFFFFF;
    font-weight:        normal;
    font-style:         italic;
}

#pilgrim .overview-table1 .odd{
    background:         #F0F0F6;
}

#pilgrim .overview-table1 .even{
    background:         #FFFFFF;
}

#pilgrim .adminDynamic-div1{
    display:            block;
    border-width:       1px;
    border-style:       solid;
    border-color:       #CCCCCC;
    margin:             3px;
    padding:            3px;
    margin-bottom:      6px;
    float:              left;
}

#pilgrim .adminDynamic-title-div1{
    background:         #AE1C05;
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    color:              #FFFFFF;
    margin-bottom:      4px;
    font-weight:        bold;
    padding:            3px;
    height:             16px;
    font-size:          14px;
}

#pilgrim .adminDynamic-table1{
    border-style:       solid;
    border-color:       #999999;
    border-width:       1px;
    border-spacing:     0px;
    width:              100%;
}

#pilgrim .adminDynamic-table1 tr{
    color:              #333333;
    height:             20px;
}

#pilgrim .adminDynamic-table1 .head{
    background:         #FFFFFF;
    font-weight:        bold;
    font-style:         italic;
}

#pilgrim .adminDynamic-table1 .odd{
    background:         #F0F0F6;
}

#pilgrim .adminDynamic-table1 .even{
    background:         #FFFFFF;
}

#pilgrim .adminDynamic-table1 .bord{
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #999999;
}

#pilgrim .icon-button.drop.btn-enabled{
    background:         #E9FFE5 url('../images/php/drop_16.png') no-repeat center center;
}

#pilgrim .icon-button.drop.btn-disabled{
    background:         #EAEAEA;
    visibility:         hidden;
}

#personsTab label {
    width: 120px;
    display: inline-block;
}
#personsTab input[type=text] {
    margin: 4px;
    width: 200px;
}

tr[name=person-row] > td[name=person]{
    width: 230px;
}

.function-name {
    width: 130px;
}
.function-person {
    vertical-align: top;
    width: 420px;   
    padding-top: 0;
}
.function-contact {
    vertical-align: top;
    width: 180px;
}
.function-contact a{
    vertical-align: top;
}
.function-diensthabender {
    margin-left: 6px;
}
.function-person table {
    margin-top: -2;
    padding-top: 0;
}
.function-person table tbody td{
    margin-top: 0;
    padding-top: 0;
}
