/* Fichier SVN :    $Id$ */

/**
 * @package         ACM
 * @filesource      $HeadURL$
 *
 * @version         $LastChangedRevision$
 * @lastrevision    $LastChangedDate$
 * @lastauthor      $LastChangedBy$
 *
 * @author          Christophe OLLIER <c.ollier@cariforef-mp.asso.fr>
 * @author          Agnès PICCO <a.picco@cariforef-mp.asso.fr>
 * @author          Thierry Thiers <t.thiers@cariforef-mp.asso.fr>
 * @copyright       © 2013 CARIFOREF Midi-Pyrénées - Tous droits réservés
 */


/**
 * Styles personnalisés pour les DataTables et le plugin TableTools
 */


/** Datatables ****************************************************************/

/** Eléments de controle et d'affichage d'informations */

.dataTables_wrapper input,
.dataTables_wrapper select {
    display: inline;
    margin: 5px 0 10px 0;
}
.dataTables_wrapper .dataTables_filter input {
    margin: 4px 0 11px 0;
    width: 256px;
}

/** La table */
table.dataTable {
    width: 100% !important;
	font-size: 0.90em;
}

table.dataTable thead th,
table.dataTable thead th.center {
	padding: 3px 18px 3px 18px;
    font-size: 0.90em;
	text-align: center;
}
table.dataTable thead th.left {
	padding: 3px 18px 3px 5px;
	text-align: left;
}
table.dataTable thead th.right {
	padding: 3px 18px 3px 5px;
	text-align: right;
}
table.dataTable th.sorting_asc,
table.dataTable th.sorting_desc {
	color: #fff;
}

table.dataTable .sorting_disabled:hover {
	cursor: default;
}

table.dataTable tbody tr {
	border-bottom: 1px solid #ffffff;
}

table.dataTable td {
    padding: 5px;
	border-style: none;
	vertical-align: top;
}

table.dataTable td span.small {
	font-size: 0.80em;
}

table.dataTable tr.survol_modulaire {
	cursor: pointer;
}

table.dataTable tr.survol_modulaire:hover td span.affiche_liste_modules {
	position: relative;
	display: block;
	margin: 5px auto;
	width: 14px;
	height: 14px;
	color: #ffffff;
	cursor: pointer;
}
table.dataTable tr.survol_modulaire td span.affiche_liste_modules:hover {
	color: #582111;
}
table.dataTable tr.survol_modulaire td span.affiche_liste_modules:before {
	position:absolute;
	top: 0;
	right: 0;
	font-family: FontAwesome;
	font-size: 14px;
	font-weight: normal;
	content: "\f150";
}
table.dataTable tr.liste_modules_ouverte td span.affiche_liste_modules:before {
	content: "\f151";
}
table.dataTable td.liste_modules {
	padding:0;
}
table.dataTable td.liste_modules div.liste_modules {
	display: none;
}
table.liste_modules {
	width: 100%;
	border: none;
}
table.liste_modules tr {
	border-bottom: 1px solid #ffffff;
}
table.liste_modules tr:last-child {
	border-bottom: none;
}
table.liste_modules td {
	vertical-align: top;
}
table.liste_modules td a {
	color: #fff !important;
}


/** Plugin TableTools (export XL, CSV et PDF) *********************************/

div.DTTT_container {
	margin: 4px 0 0 60px;
}

/** Icone chargement ajax affiché dans les onglets contenant les datatables ***/

span.ajax-loader {
	margin-left: 5px;
	font-size: 16px;
}


/** Tooltips entièrement en CSS utilisés dans les datatables ******************/

table.dataTable tr:hover td .datatable_tooltip {
    color: #fff;
}

table.dataTable .datatable_tooltip span {
    display: none;
	white-space:nowrap;
	cursor: pointer;
}
table.dataTable .datatable_tooltip:hover span {
    top: -0.1em;
    left: -1.1em;
	padding-top: 1.5em;
    display: inline-block;
    position: absolute;
    margin: 0;
	z-index: 99;

}

/** Icones utilisés dans les colonnes "Référence" des datatables **************/

table.dataTable tr td div.icones {
    margin-top: 2px;
	font-size: 22px;
	text-align: center;
}

table.dataTable tr:hover td div.icones a {
	color: #ffffff;
}

button.DTTT_button, div.DTTT_button, a.DTTT_button {
	color: #fff !important;
	border-color: #9F061E;
	background-color: #C41532 !important;
	background-image: none;
}

button.DTTT_button:hover,
div.DTTT_button:hover,
a.DTTT_button:hover {
	background-color: #9F061E !important;
	background-image: none;
}