body {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #fff;
  font-family: arial, verdana, sans-serif;
  font-size: 14px;
  margin:0; padding:0;

}
p {  margin : 6px 0; padding: 0; }

[type="file"] {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    white-space: nowrap;
    width: 1px;  
}

.read-only .adm { display: none; }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #556;
  -webkit-box-shadow: 0 0 0px 1000px #FFF inset;
  box-shadow: 0 0 0px 1000px #FFF inset;
}

.pth-input {
    cursor : pointer;
    height : 36px;
    min-width: 130px;
    border : solid 1px #ccc;
    line-height:36px;
    font-size: 16px;
}

label {
    display: inline-block;
    vertical-align: top;
}


label[data-field] {
    height:24px;
    width:70px;
    overflow-y: hidden;
    overflow-x: hidden;
    white-space: nowrap;
    border-bottom: solid 1px #aaa;
    padding-left: 5px;
    color:#124e9c;
}

.pth-lock label[data-field] { color:#5b6f74; }

label[data-format=checkbox] {
    background-image: url(img/checkboxOff.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-bottom: none;
    text-align: center;
    padding: 0;
    color: transparent;
}

label[data-format=checkbox][data-value="1"] {
    background-image: url(img/checkboxOn.png);
}

label[data-format=multiline] {
    border-left: solid 1px #ccc;
    padding-left: px;
    line-height: 20px;
    /* white-space: pre-line; */
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
}

label.pth-leftpad {
    padding-left:20px;
}

table.pth-lightborder {
    border-collapse: collapse;
    border : solid 1px #888;
}
table.pth-lightborder td, table.pth-lightborder th {
    border : solid 1px #aaa;
    padding :0 4px 0 4px;
    min-width:90px;
}

table.pth-lightborder td:first-child, table.pth-lightborder th:first-child {
    max-width: 130px;
    min-width: 130px;
}

.pth-app-panel {
     line-height:24px;
     font-family: arial, verdana, sans-serif;
     font-size: 14px;
     position : absolute;
     top:0; left :0; right:0; bottom:0;
     margin-bottom: 0px;
}
.pth-panel {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.pth-load, .pth-save {
    width: 50px;
    height: 28px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: top;
    border : none;
    margin: 0;
    padding: 0;
}

.pth-load { background-image : url(img/template.png);}
.pth-save { background-image : url(img/save.png);}

/*
[class^="pth-icon"] {
    width: 50px;
    height: 28px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: top;
    border : none;
    margin: 0;
    padding: 0;
}
*/

.pth-icon-SMS { 
    width: 30px;    
    height: 26px;
    background-color: transparent;    
    background-repeat: no-repeat;
    background-position: center;
    margin-left:10px;    
    background-image:url(img/sendSMS.png); 
    vertical-align: top;
    border : none;
}

.pth-form-lock, .pth-form-maillock, .pth-follow, .pth-initial, .pth-edition, .pth-editionclosed, .pth-form-delete {     
    width: 40px; height: 24px;    
    background-color: transparent;    
    background-repeat: no-repeat;
    background-position: left;
    border : none;
    position : absolute;
    top: -28px;
}
.pth-initial {right:-60px; padding-left:40px; width:60px; color:#fff; background-image: url(img/follow.png); }
.pth-initial[data-value="0"]{ color:transparent; background-image: url(img/initial.png);}

.pth-form-lock { right:-470px; }
.pth-lock .pth-form-lock { background-image: url(img/locked.png); }
.pth-unlock .pth-form-lock{ background-image: url(img/unlocked.png);}
.pth-form-delete { background-image: url(img/cancel.png); right:-430px;}
.pth-form-maillock[data-value="0"] { background-image: url(img/mail_lock.png) !important; right:-150px;}
.pth-form-maillock[data-value="1"] { background-image: url(img/mail_locked.png) !important; right:-150px;}
.pth-lock .pth-form-delete { 
    display: none;    
}


label[data-field=examen_closed][data-format=checkbox][data-value="0"]{ width:40px; background-image: url(img/edition.png); right:40px }
label[data-field=examen_closed][data-format=checkbox]{ width:40px; background-image: url(img/checked.png); right:40px; color: transparent;}

/*
.pth-params {
    cursor: pointer;
    position : absolute;
    right: 0;
    top:0;
    width: 30px;
    height: 30px;
    margin: 0 !important;
    background-image: url(img/paramW.png);
    border: none;
}
*/

.pth-close, .pth-info, .pth-params, .pth-death  {
    text-align: center;
    position : absolute;
    cursor: pointer;
    right: 0;
    top:0;
    width: 30px;
    height: 30px;
    margin: 0 !important;
    background-color: transparent;
    color : #fff  !important;
    border: none;
}
.pth-close:hover {
    background-color: red;    
}
.pth-params {
    background-image: url(img/paramW.png);
}
.pth-death {
    background-image: url(img/death.png);
}
.pth-red-alert {
    color: white;
    background-color: red;
}

/*

.pth-info {
    text-align: center;
    position : absolute;
    cursor: pointer;
    right: 0;
    top:0;
    width: 30px;    
    height: 30px;  
    margin: 0 !important;   
    background-color: transparent;
    color : #fff  !important;
    border: none;
}
*/

/** PANEL TABS **/ 
.pth-navigation-tabs {
    position : absolute;
    top:0;
    width :100%;
    height:35px;

}

.pth-navigation-tabs>ul {
    padding:0;
    margin:0;
    list-style-type:none;
    background-color: #e7e7e7; /*#bbae98;*/
    height: 100%;
}

.pth-navigation-tabs>ul>li {
    display : inline-block ;
    font-family: arial, verdana, sans-serif;
    font-size: 16px;
    line-height: 40px;
    height: 100%; 

    border: none;
    color:#0a3b40;
    padding-left:50px;
    padding-right:10px;
    cursor : pointer;
    background-position: 10px;
    background-repeat: no-repeat;
    position: relative;

}

.pth-tag {
    height: 14px;
    width: 14px;
    top:0;
    left: 32px;
    right:0;
    bottom:0;
    margin : auto;
    margin-right: 4px;
    border-radius: 7px;
    line-height: 15px;
    position: absolute;
    display: none;
    text-align: center;
    color: white;
}

.pth-tagged>.pth-tag {
    display: inline-block;
}


.pth-navigation-tabs>ul>li.pth-tab-selected {
    color:#fff; /*#0a3b40;*/
    background-color: #000; /* #04536F;*/
}


.pth-navigation-tabs>ul>li.pth-tab-unselected:hover {
    background-color:#517EA5;
    color:#FFF;
}

.pth-navigation-tabs.sub>ul>li {
    font-size: 12px;
    line-height: 35px;
    padding-left:5px;
    padding-right:22px;
}

.pth-navigation-tabs.sub>ul>li.pth-tab-selected {
    background-color:#04536F;
    border-bottom: none;
    color:#fff;
}


.pth-navigation-panel {
    overflow-y:auto;
    background-color:  #fff;
    position : absolute;
    top:45px;left:0;right:0;bottom:0;
}

.pth-navigation-panel.sub {
    border-radius : 0;
    top : 40px;
    margin:0px;
}

.pth-navigation-panel>div {
    position:absolute;
    top:0;left:0;right:0;bottom:4px;
}

.pth-select {
    background-color: #ffffff;
    border: solid 1px #aaa;
    box-shadow: 4px 4px 6px rgba(94, 80, 128,0.5);
}
.pth-select>* {
    padding: 0px 4px;
}
.pth-selected {
    background-color: #0a3b40;
    color: #ffffff;
}

/*  DATE PICKER  */

.pth-datepicker {
    position : relative;
    border-radius :2px; 
    background-color:#555; 
    color: #1F1C8C; 
    padding:2px;
}

.pth-datepicker>table {
    width: 210px; 
    line-height: 20px;
    text-align: center; 
    font-family : arial;
    font-size : 14px;
    border-radius :6px; 
    border-collapse: collapse;
}

/* color picker */

.pth-colorpicker {
    border : solid 2px #555;
    border-radius: 4px;
    box-shadow: 1px 1px 4px #111;
    padding : 1px ;
    background-color: #517EA5;
}

.pth-colorpicker>table {
    margin:1px; 
    border-spacing: 0px;
    
}.pth-colorpicker>table td {
    width:16px;
    height:16px;
    border: solid 1px #000
}

.pth-colorpicker>table td.pth-focus {
    border-color: #fff
}

/**  MENU */
.pth-command-bar {
    background-color: #e7e7e7;
    border-radius: 6px;
    color: black;
    line-height: 34px;
    height : 42px;
    padding-left: 15px;
}

div.pth-menu {
    position : absolute;
    background-color : #FFF;
    padding : 2px;
    border : solid 1px #666;
    font-size: 14px;
    width : 200px;
    z-index: 1000;
}
div.pth-menu>div {
    cursor:pointer;
    line-height: 20px;
    padding-left:10px;
    padding-right:10px;
    border-radius : 4px;

}
div.pth-menu>div:hover {
    background-color: #4e525b;
    color: #FFF;
}
/** SELCTORS LIST */
.pth-modal {
    background-color: #fff;
    padding: 2px;
    box-shadow: 0 0 30px #333;
    border-radius: 5px;
}

.pth-button  {
    line-height: inherit;
    margin: 0;
    border : none;
    border-radius: 4px;
    background-color: #caddef;
    color: #162a59;
    cursor: pointer;
    vertical-align: top;
    border: none;
    font-size: inherit;
    text-align: center;
    padding: 0 8px;
}

.pth-checkbutton {
    width: 70px;
    height: 40px;
    line-height: 36px;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: transparent;
    color : black;
    padding: 0px;
    border: none;
    padding-left: 10px;
    border: solid 1px #aaa;
    border-radius: 6px;
    margin: 4px;
    text-align: left;
 }

.pth-checkbutton.pth-selected {
    background-image: url(img/checked.png);
    color : rgb(105, 96, 233);
    background-color: #e2edf7;

}

.pth-see, .pth-open, .pth-arrowdown, .pth-pdf, .pth-consent, .pth-send {
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    height: 24px;
    width: 40px;
}


.pth-send { background-image: url(img/send.png);}
.pth-see { background-image: url(img/see.png);}
.pth-open { background-image: url(img/open.png);}
.pth-arrowdown { background-image: url(img/arrowdown.png);}
.pth-pdf { background-image: url(img/pdf.png);}
.pth-consent { background-image: url(img/consent.png);}


.pth-see-file {
    background-image: url(img/see-file.png);
    border:none;
    margin :2px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    height: 36px;
    width: 40px;
}
.pth-undo {
    background-image: url(img/undo36.png);
    border:none;
    margin :2px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    height: 36px;
    width: 40px;
}
/*
.pth-open-slide {
    border:none;
    margin :2px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(img/openslide.png);
    background-color: transparent;
    height: 36px;
    width: 40px;
}
*/
.pth-search-list {
    border:none;
    background-image: url(img/search36.png);
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    height: 30px;
    width: 40px;
    vertical-align: top;
}

.pth-cancel {
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    background-image: url(img/cancel.png);
    height: 24px;
    width: 30px !important;
    cursor: pointer;
}

.pth-invoice {
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    background-image: url(img/quote2invoice.png);
    height: 24px;
    width: 40px;
}

.pth-mail {
    background-position : center;
    background-repeat: no-repeat;
    background-color: transparent;
    background-image: url('img/mail.png');;
    width: 40px;
}

.pth-excel {
    background-image: url('img/excel.png');
    background-position : center;
    background-repeat: no-repeat;
    background-color: transparent;
    border : none;
    height: 32px;
    width: 40px;
    position: absolute;
    right: 25px;
    cursor: pointer;
    top: 0;
}


.pth-dialog-message {
    height:calc(100% - 80px);
    padding : 15px;
}

.pth-dialog-button {
    text-align : center;
    position : absolute;
    bottom:10px;
    left:0; right : 0;
}

.pth-dialog-button>button {
    border : solid 1px #162a59;
    margin:5px;
    background-color: #b4c9f5;
    font-size: 14px;
    font-weight: bold;
    line-height: 32px;
    height:36px;
    box-sizing: border-box;
    color: #162a59;   
    vertical-align: top;
}
.pth-dialog-button>button.pth-default {
    border-width   : 3px;
    background-color: #96b6fa;
}


.pth-right {
    position : absolute;
    right: 1px;
    top:1px;
    border-top-right-radius: inherit;
}
/*
.pth-button.pth-blue  {
    background-color : #299DB8;
}
.pth-button.pth-red  {
    background-color : #df3020;
    color: white;

}
.pth-button.pth-orange  {
    background-color : #c2612a;
}
.pth-button.pth-green  {
    background-color : #71c22a;
}
.pth-button.pth-black  {
    background-color : #1f2b2f;
    color: white;
}
.pth-button.pth-white  {
    background-color : #dbe7eb;
    color: #1f2b2f;
}
*/
.pth-button.pth-printer  {
    background-image: url('img/printer.png');
    background-color: whitesmoke;
    background-position : left;
    background-repeat: no-repeat;
    padding-left: 24px;
    border-radius:6px;
    width: 138px;
    margin:4px;
    line-height:36px;
}
.pth-button.pth-mail  {
    background-image: url('img/mail.png');;
    background-color: whitesmoke;
    background-position : left;
    background-repeat: no-repeat;
    padding-left: 24px;
    border-radius:6px;
    width: 138px;
    margin:4px;
    line-height:36px;
}



.pth-panel-title {
    position: relative;
    color:#fff;
    background-color: #17607d; /* #4d88c0;*/
    margin: 0;
    line-height: 28px;
    border-radius: 5px 5px 0 0;
    border-bottom: 1px solid #d6d7d9; /* #7fb1e1; */
    padding: 1px 20px;
}

.pth-panel-title label.pth-button {
    color: darkslategray;
    padding: 0 10px;
}

.pth-panel-title label {
    color: #ccc;
    margin: 0 5px;
}

.pth-panel-title input {
    width:100px;
}

.pth-panel-footer {
    position : absolute;
    width : 100%;
    bottom: 0;
    color:#fff;
    background-color: #4d88c0;
    margin: 0;
    height: 32px; 
    border-radius: 0 0 5px 5px;   
    border-top: 1px solid #7fb1e1;
}

.pth-panel-footer .pth-button {
    margin : 2px;
}

.pth-label-title {
    background-color: #c6cfef;
    padding-left: 20px;
}

.pth-label-title.pth-red-alert {
    color: white;
    background-color: red;
}

.pth-overlay {
    background-color: rgba(100, 100, 200, 0.2);
    position: absolute;
    top:0; left: 0;bottom: 0;right: 0;
    z-index: 2;
}

.pth-centered {
    position: absolute;
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    border-radius: 5px;
}

.pth-bottom {
    position: absolute; bottom: 0;right: 0; left:0;
}


.pth-hidden {
    display: none !important; 
}

.pth-search-input {
    background-image: url('img/search.png');
    background-repeat: no-repeat;
    background-position: 5px center;
    padding-left: 30px;
    border-radius: 5px;
    border: none;
    line-height: 24px;
    margin-left: 5px;
    margin-right: 15px;
    background-color: white;
    width: 140px;
}

select.pth-search-input {
    height: 26px;
    width: 140px;
}


.pth-thumb-container {
    width: 274px;
    height:200px;
    border: solid 1px #aaa;
    display: inline-block;
    vertical-align: top;
    margin:3px;
}

.pth-thumb-container>a{
    display: inline-block;
    width: 240px;
    text-align: center;
}


.pth-thumb {
    position:relative; 
    width:100%; 
    height : calc(100% - 24px);
}


.pth-thumb>img {
    position : absolute;
    top: 0; left: 0; right :0; bottom: 0px;
    margin : auto;

}
.pth-thumb-container>label {
    width:calc(100% - 35px);
}

.pth-button48 {
    background-repeat: no-repeat;
    background-position: 5px center;
    width : 48px;
    height : 48px;
    position:absolute; 

}
#close-image-viewer {
    background-image: url('img/close-48.png');
    right:20px; 
    top: 20px; 
    text-decoration: none
}

#load-image-URL {
    background-image: url('img/download-48.png');
    position:absolute; 
    right:20px; 
    bottom: 20px; 
    text-decoration: none
}

#previous-image {
    background-image: url('img/previous-48.png');
    top:calc(50% - 20px); 
    left:20px;
}
#next-image { 
    background-image: url('img/next-48.png');
    top:calc(50% - 20px); 
    right:20px;
}

#progress-display {
   position: absolute;
   top:10px;
   left:10px;
   padding: 5px;
   background-color: white;
   border : solid 1px #000;
   
}

#main_menu>img {
    margin:4px;
}

.h-sep {
    margin: 5px;
    height: 11px;
}

#previewContainer p{
    margin: 0;
    padding: 0;
}



#connection-site {
    position : absolute; top:0; right:0px;  
    line-height: 40px; height: 40px; padding-left:5px ;
    margin-right:10px; text-align: left;
    white-space: nowrap;
    width:100px;
    color: #045372; 
    font-size: 16px;
    cursor: pointer;
}

#connection-status {
    position : absolute; top:0; right:140px;
    background-image: url(img/userID.png);   
    width:40px; height: 40px; 
    border : none;
    cursor: pointer;
}

#user-name-label{
    position : absolute;
    top:0;
    right:200px;
    line-height: 40px;
    height: 40px;
    padding-left:0px;
    text-align: right;
    color: #045372; 
    font-size: 16px;
    cursor: pointer;
    width: 120px;
}

@keyframes urgent {
    0%   {background-color: #000;}
    100%  {background-color: red;}
}

#cmd-chat {
    background-image: url(img/chat.png);
    position: absolute;
    right: 320px;
    height: 40px;
    width: 66px;
    top: 1px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
}

#cmd-chat.urgent {
    animation: urgent 0.5s infinite alternate; 
}


@media only screen and (max-device-width:760px) {
    #main-navigation.pth-navigation-tabs>ul>li {
        max-width: 0px; min-width: 0px; color :transparent;
    }
    #main-navigation.pth-navigation-tabs>ul>li.pth-tab-selected {
        color :transparent;
    }
    
    #connection-status {
        right: 0px;
        line-height: 20px;
        height: 20px;
        background-size: contain;
        width :80px;
        text-align:left;
    }
    #connection-site {
        right: 0px;
        line-height: 20px;
        height: 20px;
        background-size: contain;
        top:20px;
        width:130px;
        margin:0
    }
}



/************* SPECIAL REPORT *********************/

.pth-reportfooter { 
    padding-left: 8px; line-height: 24px; background-color: #edeff1; color: #fff; border-top : solid 1px #aaa;
    border-bottom : solid 1px #aaa; margin-bottom:30px; width: 860px;
}
.pth-reportheader-title, .pth-reportfooter-title {  padding-left: 8px; line-height: 26px; background-color: #94c2dc; font-size: 16px; width: 860px;}
.pth-reportrow { padding-left: 8px; line-height: 24px; margin:0; background-color: #fff; width: 860px; }
.pth-reportrow:nth-child(odd) { background-color: #f1eded; }
.pth-reportfooter label { width:70px; color: #636ac8; }
.pth-reportfooter label[report-field], .pth-reportfooter label[report-compute] { width:80px; margin-right:10px; color: #803f47; }
.pth-reportlabels  { background-color: #add8e6; line-height: 24px; padding-left: 8px; width: 860px;}
.pth-reportlabels label { color : #353561; }






/************  SPECIALS gridview  **************/
label.invoice {
    background-image: url(img/outcome.png);
    background-position: center;
    background-repeat: no-repeat
    
}
label.deposit {
    background-image: url(img/income.png);
    background-position: center;
    background-repeat: no-repeat

}
/* ?? */
.pth-field.vet {
    background-color: #666;
    background-position: center;
    background-repeat: no-repeat
}

.site-filter {
    display: inline-block;
    color:#fff;
    margin-left: 10px;
    width:150px;
}
.site-filter input[type=checkbox] {
    width:40px; height:20px; vertical-align: middle;
}

/*  MENU ICONE */
#main_menu button {
    width:40px;
    height:40px;
    background : transparent;
    background-position: center;
    background-repeat: no-repeat;
    border : none;
    margin:5px;
    cursor: pointer;
}

#main_menu>#cmdAddClient { background-image : url(img/BTaddfile.png); }
#main_menu>#cmdAddPatient  { background-image : url(img/BTaddpatient.png); }
#main_menu>#cmdAddExamen { background-image : url(img/BTaddexam.png); }
#main_menu>#cmdSearch { background-image : url(img/BTsearch.png); }
#main_menu>#cmdTelediag { background-image : url(img/BTtelediag.png); }
#main_menu>#cmdThesaurus { background-image : url(img/BTthesaurus.png); }
#main_menu>#cmdPrintExamen { background-image : url(img/BTprinter.png); }
#main_menu>#cmdPrintExamen.pth-printed { background-image : url(img/BTprinted.png); }
#main_menu>#cmdPrintImages { background-image : url(img/BTfilm.png); }
#main_menu>#cmdSendMail { background-image : url(img/BTmail.png); }
#main_menu>#cmdSendMail.pth-sended { background-image : url(img/BTmailed.png); }
#main_menu>#cmdSendMailClient { background-image : url(img/BTmail_cli.png); }
#main_menu>#cmdSendMailClient.pth-sended { background-image : url(img/BTmailed_cli.png); }
#main_menu>#cmdGoogleReview { background-image : url(img/googleReview.png); }
#main_menu>#cmdGoogleReview.pth-sended { background-image : url(img/googleReviewSended.png); }
#main_menu>#cmdAddRDV { background-image : url(img/BTagenda.png); }
#main_menu>#cmdReferrer { background-image : url(img/BTreferrer.png); }

.confirm48 {
    background-image : url(img/confirm48.png);
    width :48px; height :48px;
    border : none;
    background-color: Transparent;
} 
.eraser48 {
    background-image : url(img/eraser48.png);
    width :48px;
    height :48px;
    border : none;
    background-color: Transparent;
} 
.cancel48 {
    background-image : url(img/cancel48.png);
    width :48px; height :48px;
    border : none;
    background-color: Transparent;
} 


.CRwarning[data-field][data-format=select] {
    background-image : url(img/hospital.png);
    width :0px; height :0px;
    padding:20px;
    border : none;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    color : transparent;
} 

.CRwarning[data-field][data-format=select][data-value="0"] {
    background-image : url(img/hospital_.png);
}
.pth-load { background-image : url(img/template.png);}
.pth-save { background-image : url(img/save.png);}


/* special PRINT  */
.grid-invoice .pth-invoice-gridlabels {
    background-color: #00b3e3;
    line-height: 30px;
}

.grid-invoice .pth-invoice-gridlabels .pth-field{
    color: white;
    border-color: white;
    font-weight: bold;
    letter-spacing: 1px;
}
.grid-invoice .pth-invoice-gridrow {
    background-color: white;
    line-height: 30px;
    border-bottom: solid 0.5px #777;
    margin-bottom: 1px;
}

.grid-invoice .pth-invoice-gridrow .pth-field{
    border-color: white;
    color: white;
    color:#666;
}

