/*
 * Copyright (C) 2000 - 2024 Silverpeas
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * As a special exception to the terms and conditions of version 3.0 of
 * the GPL, you may redistribute this Program in connection with Free/Libre
 * Open Source Software ("FLOSS") applications as described in Silverpeas's
 * FLOSS exception.  You should have received a copy of the text describing
 * the FLOSS exception, and it is also available here:
 * "http://www.silverpeas.org/docs/core/legal/floss_exception.html"
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

#datepicker {
	float:left;
	margin:0 1em 1em 0;
}

td.txtlibform {
	width:100px;
}

.selected_date, #selected_hour {
	float:left;
	background:#EAEAEA url(/silverpeas/util/icons/arrow/bg_selection.gif) 0px 10px no-repeat;
	width:auto;
	min-height:182px;
	padding:1em;
	margin:0 0 1em 1em;
}

#selected_hour {
	width:auto;
	margin:0 0 1em 0;
}

#selected_hour input {
	border:0;
	background-color:inherit;
}

.selected_date ul, .selected_date li {
	list-style-type:none;
	margin:0; padding:0;
}

.selected_date li , #selected_hour table td.day{
	border-bottom:1px solid #FFF;
	line-height:2em;
	position:relative;
	text-align:left;
}

#selected_hour table td{
	padding:0.25em;
	border-bottom:1px solid #FFF;
	border-right:1px solid #FFF;
	text-align:center;
}

#selected_hour thead td{
	font-weight:bold;
	padding:0.25em 0.5em;
}

.selected_date li a {
	position: absolute;
	top: calc( 50% - 8px );
	right: 0.5em;
}

.selected_date h3 {
	padding:0;
	margin:0 0 0.5em 0;
	font-size:var(--font-size-titre);
	font-weight: var(--font-weight-titre);
}

.buttonBar {
	clear:both;
}

.scheduleEvent p.txtnav {
	margin:1em 0;
	padding:0;
}

.questionResults td.day, .questionResults td.titreCouleur {
	background-color:#E4E4E4;
	border:1px solid #CCCCCC;
}

.questionResults td.hideDay,.questionResults td.hideTime {
	background-color:inherit;
	border:1px solid transparent;
}

#dateTable, #contributorsInfos {
	margin:1em 0;
	width:100%;
}

#contributorsInfos h3 {
	padding:0;
	margin:1em 0 0 0;
}

#contributorsInfos ul {
	list-style-type:none;
	margin:0;
	padding:0;
}

#contributorsInfos ul li {
	padding-left:100px;
	line-height:20px;
}
  
.btnAction {
	background:var(--bgColor-btn-secondaire);
	border:1px solid var(--border-color-btn-secondaire);
	border-radius:var(--radius-btn-secondaire);
	padding:0.25em 0.5em;
	color:var(--color-text-btn-secondaire);
	margin-top:4px;
	display:inline-block;
}
.btnAction[href*='setUsers']:before {
	content:'';
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	vertical-align: top;
	margin-right:0.5em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 14c1.381 0 2.631-.56 3.536-1.465C13.44 11.631 14 10.381 14 9s-.56-2.631-1.464-3.535C11.631 4.56 10.381 4 9 4s-2.631.56-3.536 1.465C4.56 6.369 4 7.619 4 9s.56 2.631 1.464 3.535A5 5 0 0 0 9 14m0 7c3.518 0 6-1 6-2c0-2-2.354-4-6-4c-3.75 0-6 2-6 4c0 1 2.25 2 6 2m12-9h-2v-2a1 1 0 1 0-2 0v2h-2a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2'/%3E%3C/svg%3E");
}
.btnAction:hover {
	background:var(--bgColor-btn-secondaire-hover);
}

.inactif {
	color:#999999;
}

#dateTable {
	background-color:var(--bgColor-bloc-fond-clair);
	padding:0.5em;
}

.questionResults th, .questionResults td, .questionResults tr {
	padding:0.5em 0;
}
.questionResults thead td.day, .questionResults thead td.titreCouleur {
	text-align:center;
}

.questionResults td.titreLigne, #contributorsInfos h3{
	font-size:1em;
	font-weight:700;
	width:128px;
}

.questionResults .questionResults-top th {
	background-color:#E4E4E4;
	border:1px solid #CCC ;
	width:150px;
}

.questionResults .questionResults-top .questionResults-vide, .questionResults tbody .questionResults-vide {
	background-color:#FFFFFF;
	border:none;
	padding:3px;
}

.questionResults .questionResults-Oui {
	background-color:var(--bgColor-color-im-ok);
	border:1px solid var(--border-color-im-ok);
	text-align:center;
	line-height: 2em;
}

.questionResults .questionResults-Non {
	background-color:var(--bgColor-color-im-nok);
	border:1px solid var(--border-color-im-nok);
	text-align:center;
	line-height: 2em;
}

.questionResults .displayUserName,
.questionResults .displayUserName a,
.questionResults .questionResults-NC,
.questionResults .questionResults-NC a {
	background-color: #E4E4E4;
    line-height: 2em;
    margin-right: 5px;
    padding-left: 10px;
	white-space:nowrap;
}

.questionResults .questionResults-NC {
	text-align: center;
}

.questionResults tr.userVote td {
	background-color:#D4D4D4;
}

.questionResults tr.userVote td.questionResults-Oui,
.questionResults tr.userVote td.questionResults-Non {
	border:none;
	line-height: 29px;
}

tr.resultVote td.participation {
	text-align:center;
}