﻿/*
    Styles CSS de base, média imprimable.
*/

/* Ajustement global des styles */
* { white-space: normal;}
a, a:link, a:visited {text-decoration:none; color:#404040;}
input[type=text],
select
{
	padding:2px 4px;
}


/* Réduction des polices de cractères our l'impression*/
h1 { font-size: 14px; }
h2 { font-size: 12px; }
h3 { font-size: 11px; }

input, 
select, 
table, 
span, 
label, 
.sectionLabel, 
.fieldLabel,
#Profile table
{ font-size: 9px; }

#csCompanyTitle { font-size:12px;}
.sectionHeader, .subSectionHeader, .sectionHeader label, .subSectionHeader label {font-size:11px;}



.sectionError { font-size: 12px; color:#404040; font-weight:normal; }

.sectionError table {
	padding: 10px;
	font-size:12px;	
    border:1px solid #888;
    box-shadow: none;
}


/* Révision du positionnement des sections  */
body, .main-form { 
    overflow: visible; 
    position: inherit; 
}

#Identification, #Identification #Profile,
#divApplicationContent,
#Footer, #Footer .CopyrightSection {
    position: inherit;
    top: 0px;
    float: none;
    clear: both;
    overflow: hidden;
    background: #fff;
    min-width: 0px;
}

.csp-page-margin,
/* Ajustement des tables (bordure simple)*/
.defaultTable {
    border: 1px solid #ddd;
    border-collapse: collapse;
    border-radius: 0px;
    box-shadow: none;
}


.defaultTable th, .defaultTable td 
{  
    padding: 5px 4px;    
    border: 1px solid #ddd;
}


.defaultTable tr.navHeader th {
	height:auto;
	padding-top:10px;
    font-size: 11px;
	font-weight: bold;
}


/* Éléments ne devant pas être affichés lors de l'impression */
#Header,
#Navigation,
#CompanyDialog,
#Profile a,
#infoKeyboard,
#activator,
#imgfirst, #imgprevious, #imgnext, #imglast,
#FilterAndSortInfoBulle,
#PrintOptionInfoBulle,
#div__CONTENT__MessageAlert__0,
.PromoSection, /* TODO dead code. */
.PrintDisplayNone,
.Icon,
.imgCtrlWithList,
.buttonPopupList,
.ActionLink,
button,
a.fieldLabel,
img[src*="calendar.gif"],
input[src*="RemoveItem.png"],
#hamb,
#iconMenu,
.side-menu {
    display: none;
}


/* Ajustement pour l'impression du calendrier d'assiduité */
/* Afin d'éviter de forcer l'impression du Background, les couleurs de fonds sont remplacés
    par un carcatère qui s'imprimera quelque soit le fureteur. 
    Les carcatères choisies sont différents des ceux déjà utilisés dans la fonction */
.weekEnd, .invalidDate {color:#666;}
.weekEnd:after { content: '--';}
.invalidDate:after { content: 'X';}


/* Autres ajustements */
.textAreaPrint { display:block; }
@page { margin: 1cm; } 


/*******************************************************************************************/
/* Ajustements spécifiques à l'accueil et tableau de bord */
/* 
    Les éléments suivants de l'accueil ne sont pas requis lors de l'impression
    Il a été convenu que toute la section de notifications ne doit pas être imprimée
    */
#communicationSection
, .csp-home-paycal
{ display:none;}

/* on ajoute un séparateur entre les différents indices afin de mieux regrouper ceux-ci */
#divMetricContainer > div {
    border-top: 1px solid #666666;
}

#tblGroupAttendance th:last-child, #tblGroupAttendance td:last-child {
    border-right:1px solid #ddd;
}
#FOOTER__1 {
    display: none;
}