﻿/*Couleur pour icons*/
.yellow {
    color: #FFE066;
}
.grey{
    color: dimgrey;
}
/* Correction CSS Historique */
#info-connexion {
    box-sizing: content-box;
    font-size: 12.8px;
}

/* CSS Document */
.cell-center{
    text-align:center;
}

.well {
    background-color: #fdfdfd !important;
    padding: 10px 20px 10px 20px !important;
    box-shadow: none !important;
}

legend {
    border-bottom: none !important;
    margin-bottom: 0px !important;
    width: auto !important;
    padding: 0 10px !important;
}

.test {
    display: inline-block;
    width: 100%;
}

.row {
    margin-bottom: 10px;
}
/* */
table.dataTable {
    width: 100%;
}

    table.dataTable tr.odd {
        background-color: #f0f0f0;
    }

    table.dataTable th {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    table.dataTable td {
        padding-top: 4px;
        padding-bottom: 4px;
    }

/* Correction pour angular ui-select2 avec bootstrap*/
.ui-select-bootstrap .ui-select-choices,
.ui-select-bootstrap .ui-select-no-choice {
    list-style: none;
    padding-left: 0;
}

.input-sm.ui-select-container {
    padding: 0;
}

    .input-sm.ui-select-container > .ui-select-match {
        height: 30px;
    }

        .input-sm.ui-select-container > .ui-select-match > .ui-select-toggle {
            height: 30px;
            padding-left: 10px;
            padding-right: 10px;
            padding-top: 5px;
            padding-bottom: 5px;
        }

.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

#menu-profil.dropdown-menu {
    max-height: none !important;
}

/* Correction pour jquery-datepicker qui est en dessous des modals */
#ui-datepicker-div {
    z-index: 9999999 !important;
}

/* mvc-navigation-menu*/
#mvc-navigation-menu {
    font-size: 12px;
}

/* Modification bootstrap pour personnaliser le thème*/
.form-group {
    margin-bottom: 10px !important;
}

/* Correction de la position du menu */
#mvc-menu-bar {
    padding-top: 150px;
}


/* Icone PPS */
.dcc-Chirurgie:before {
    content: "\f1ae";
}

.dcc-Chimiotherapie:before {
    content: "\f0c3";
}

.dcc-Hormonotherapie:before {
    content: "\f1fb";
}

.dcc-Curietherapie:before {
    content: "\f0e7";
}

.dcc-Surveillance:before {
    content: "\f06e";
}

/* Personnalisation des groupes pour ui-select pour la recherche de médecin */
.search-medecin .ui-select-choices-group-label {
    font-size: larger;
    font-weight: bold;
}

/* Taille par défaut pour les tableaux */
.table td {
    font-size: 12px;
}

/* Legend des fieldset */
fieldset.well > legend {
    font-weight: bold;
    font-size: 1.2em;
    color: #548dd4 !important;
}

/* ui-select : le texte peut déborder. On corrige cela */
.ui-select-match-text {
    text-overflow: ellipsis;
    overflow: hidden;
}

/* mise à jour de la taille animé */
textarea.autosize {
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    transition: height 0.3s;
    min-height: 60px;
}

/* input-group-addon */
.input-group-addon-blue {
    background-color: #548dd4 !important;
}

    .input-group-addon-blue > a {
        color: white !important;
    }

div.form-control {
    height: auto;
    white-space: pre-line;
}

    div.form-control.readonly {
        background-color: #eee;
    }

/* IFrame dans la gestion des erreurs */
iframe.error-trace {
    width: 100%;
    max-height: 500px;
    overflow-y: scroll;
    height: 500px;
}

/* Loading overlay */

#loading-overlay {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.5);
    overflow-x: hidden;
    color: white;
}

    #loading-overlay .overlay-content {
        position: relative;
        top: 25%;
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }

.overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.5);
    overflow-x: hidden;
    color: white;
}

    .overlay .overlay-content {
        position: relative;
        top: 25%;
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }

/* Nouvelle ligne dans un tableau */
tr.new-row {
    background-color: lightgreen !important;
}

/* Modal extra-large */
.modal-x-lg {
    width: 80%;
    max-width: 1080px;
}


/* Tronque un texte */
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tableau à l'aide de DIV - utile pour faire des tableaux dynamiquements sans être embêter par le navigateur retirant les td, tr en dehors d'un table (ou en insérant à cause de la présence de custom element */
div.table {
    display: table;
    width: 100%;
}

    div.table > div.row {
        display: table-row;
    }

div.table-stripped > div.row:nth-child(2n) {
}

div.table-stripped > div.row:nth-child(2n+1) {
    background-color: #F9F9F9;
}

div.table div.row:hover {
    background-color: #F5F5F5;
}

div.row > div.cell {
    display: table-cell;
    padding: 5px;
    margin-bottom: 2px;
}

div.row > div.cell-head {
    text-align: left;
    font-weight: bold;
}

.dataTables_wrapper {
    margin-bottom: 5px;
}

/* permettre au contenu d'un bouton block d'être sur plusieurs lignes */
.btn-block.btn-wrap {
    white-space: normal !important;
    word-wrap: break-word;
}

/* Personnalisation des menus */

.navbar-inverse {
    margin-top: 15px;
    background-color: #337AB7 !important;
    border-color: #080808 !important;
    color: #fff !important;
}

    .navbar-inverse a {
        color: #fff !important;
    }

        .navbar-inverse a:hover {
            color: #fff !important;
            background-color: #369 !important;
        }

    .navbar-inverse .active a {
        background-color: #369 !important;
        color: #fff !important;
        font-weight: bold;
    }

.navbar-text {
    color: #fff !important;
}

.navbar .dropdown-menu {
    background-color: #337AB7 !important;
}

.navbar-inverse .dropdown.open .dropdown-toggle {
    background-color: #369 !important;
}

.navbar-brand {
    background-color: #369;
    border-right: thin solid #080808;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    box-sizing: border-box;
    position: relative;
    background: white;
    margin: 0;
    padding: 0;
    padding-bottom: 40px;
    color: #696969;
    overflow-y: scroll;
}



#pied-de-page {
    clear: both;
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: black;
}



.pointer {
    cursor: pointer;
}

/* Gestion des cycles pour les traitements et modèles de traitement */
.cycle .jour {
    border: 1px solid #ddd;
    margin: 2px;
    text-align: center;
}

.cycle .col-jour {
    padding-left: 2px;
    padding-right: 2px;
    width: 14.28%;
    float: left;
}

.cycle .jour-actif > .jour {
    background-color: lightgreen;
}


.array-item + .array-item::before {
    content: ', ';
}

/* gestion des tumeurs bénignes */
.tumeur-benigne td:nth-child(5) {
    background-color: lightsalmon !important;
}

/* Fiche Préparée / vue en RCP */
.vue-en-rcp {
    background-color: #ccffcc !important;
}

.fiche-preparee:not(.vue-en-rcp) td:not(:last-child) {
    background-color: #fadaba !important;
}

.vue-en-rcp.fiche-preparee {
    background-color: #ccffcc !important;
}

/* Gestion des réunions en retard */
.reunion-en-retard {
    background-color: #ffb6c1 !important;
}

.cell-subtitle{
    font-size: 0.8em;
    color: grey;
}

/* Désactiviver par défaut le bouton d'effacement généré par IE */
input[type=text]::-ms-clear {
    display: none;
}

/* Tableau de stat*/
table.stat {
	font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
	font-size: 12px;
	text-align: center;
	border-collapse: collapse;
	margin-top: 20px;
}

table.stat th {
	font-size: 13px;
	font-weight: bold;
	background: #337AB7;
	border-top: 2px solid #147;
	border-bottom: 1px solid #fff;
	color: #fff;
	padding: 8px;
}

table.stat td {
	background: #adf;
	border-bottom: 1px solid #fff;
	color: #147;
	border-top: 1px solid transparent;
	padding: 8px;
}

	table.stat tr:nth-child(even) td {
		background: lightgrey;
	}

table.stat tr:hover td {
	background: #eff;
	color: #339;
}

table.stat tr td:first-child, .entete {
	background-color: #337AB7 !important;
	color: #fff !important;
	font-weight: bold !important;
}

table.stat:not(.stat-no-total-column) tr td:last-child {
	background-color: #337AB7;
	color: #fff;
}

table.stat:not(.stat-no-total-column) tr:last-child {
    border-bottom: 2px solid #147;
}

/* Arrière plan des panels */
.panel-background-warning {
    color: white;
    background-color: #fe8638 !important;
}

/* Mode plein écran */
body.fullscreen-mode .fullscreen-hide {
    display: none !important;
}

body.fullscreen-mode .fullscreen-all-width {
    width: 100% !important;
}

/* Animation du menu en cas de notification */
@keyframes menu-notification {
    0% {
        background-color: #ec971f;
        border-color: #985f0d; 
    }
    50% {
        background-color: #c9302c;
        border-color: #dc3545;
    }
    100% {
        background-color: #ec971f;
        border-color: #985f0d;
    }
}

.menu-pending-notification {
    animation-name: menu-notification;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

/* TinyMCE */
.mce-item-table td, 
.mce-item-table th {
    min-width: 15px;
    background-color: red;
}

.mce-toolbar-grp {
    position: sticky !important;
    top: 0;
}

/* ui-select disable s'affiche comme readonly */
.ui-select-container .btn-default[disabled] {
    color: #555;
    opacity: 1;
}

.ui-select-multiple.form-control {
    min-height: 30px;
}

.ui-select-multiple.form-control {
    padding-top: 3px;
    padding-left: 9px;
}

.ui-select-multiple.form-control > div > input.ui-select-search {
    display: block;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    border-radius: 4px;
}

.select-medecin-info {
    font-size: 0.7em;
}