html
{
	font-size: 14px;
}
input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="week"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="color"], textarea
{
	margin: 0 0 0.5rem 0;
}
input[type="file"], input[type="checkbox"], input[type="radio"], select
{
	margin: 0 0 0.5rem 0;
}
li
{
	padding: 0px;
}
textarea 
{
	resize: none;
}
table td
{
    word-break: normal;
}
.nodisplay
{
	display: none !important;
}
.nomargin
{
	margin: 0px;
}
.nopadding
{
	padding: 0px;
}
.nospaceinput
{
	margin-top: -12px;
}
.text-center
{
	text-align: center;
}
.img-center
{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
.text-decoration-line-through
{
	text-decoration: line-through;
}
button:hover, button:focus, .button:hover, .button:focus
{
	background-color: #888888;
}
.form button:hover, .form button:focus
{
	background: #888888;
	box-shadow: none;
}
button
{
	background: #666666;
	outline: none;
	padding:  8px 10px;
	margin: 0;
}
.button
{
	background: #666666;
	/*font-size: 13px;*/
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	padding:  8px 10px;
	margin: 0;
}
.selected
{
	background-color: green;
}
.ui-widget-content a
{
	color: #1798A5;
}
.button_rightmargin
{
	margin-right: 2rem !important;
}
select, input[type="text"]
{
	height: 2rem;
}


/*--------------------- les menus ----------------------*/
.top-bar.expanded .title-area
{
	background: #666666;
	color: white;
	padding: 0;
}
.title-cont
{
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	height: 2.8125rem;
	padding-top: 2px;
}
.title-row
{
	display: flex;
	flex-direction: column;
	white-space: nowrap;
    overflow-x: clip;
	padding-left: 3px;
	min-width: 0;
}
.version
{
	font-size: 8px;
	color: #dddddd;
}
.title-loggedcount
{
	padding: 0 8px 0 8px;
	cursor: pointer
}
.top-bar.expanded, .top-bar, .top-bar-section ul li, .top-bar-section li:not(.has-form) a:not(.button)
{
	background: #e0e0e0;
	color: black;
}
.top-bar.expanded .title-area-dev
{
	background: #BB2222;
	color: white;
}
.top-bar-dev.expanded, .top-bar-dev.expanded .top-bar-section li:not(.has-form) a:not(.button)
{
	background: #ff7777;
}
.top-bar-section li:not(.has-form) a:not(.button):hover
{
	background: #555555;

}
.cake-debug-output, .cake-error
{
	position: relative;
    z-index: 1000;
    left: 0;
    right: 0;
    border: 1px solid #000000;
}
/*---------------------- page de login ----------------------*/
.welcometext
{
	font-size: 18px;
	margin-top: 30px;
}
.correctionstext
{
	font-size: 14px;
	margin-top: 20px;
	font-weight: bold;
}
.login
{
	padding-top: 30px;
}
/*---------------------- flash ----------------------*/
@media only screen and (min-width: 40.0625em)
{
	.messages
	{
		position: fixed;
		top: 2.8125rem;
		right: 0;
		z-index: 1000;
	}
	div.message
	{
	}
}

.table-header
{
	width: 1%;
	white-space: nowrap;
	/*padding: 0;*/
}
.table-min
{
	width: 1%;
	white-space: nowrap;
	/*padding: 0 2px 0 2px;*/
}
.table-view
{
	display: block;
	width: 100%;
}
.table-view th
{
	width: 1%;
	white-space: nowrap;
	padding: 2px 3px 2px 0;
}
.table-view td
{
	text-align: left;
	padding: 5px 0;
}
.subbutton
{
	padding: 0.4rem 0.7rem 0.4rem 0.7rem;
	margin: 0 4px 0.5rem 0;
	font-size: 0.8rem;
}
.table2 th
{
	border-color: #606060;
}
.link
{
	color: #1798A5;
	cursor: pointer;
	font-size: 1.1rem;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	padding: 0 2px;
}
.isdragdrop
{
	border: 1px solid lightgray;
	background-color: lightgray;
}
#vallib
{
	display: inline;
	width: 200px;
	height: 2rem;
}
#but_addshowinterok
{
	padding: 0.2rem 0.5rem;
}
.related th
{
	color: #606060;
}
.related_title
{
	color: #1798A5;
	font-size: 1.1rem;
	margin-bottom: 10px;
}
.imageplayer
{
	max-height: 250px;
}

/****************** Form *************/
.contshortwidth input
{
    max-width: 350px;
}
.contshortwidth select
{
    max-width: 350px;
}
.shortwidth
{
    max-width: 350px;
}
.normalizeparam
{
	max-width: 100px;
	margin-left: 10px !important;
	display: inline-block !important;
}

.link_href_tr
{
	cursor: pointer;
}
.link_href_tr:hover
{
	background-color: #eeeeee;
}

/* FORCED CSS JQUERY */
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
	border: 1px solid #1798A5;
	background: #1798A5;
	font-weight: normal;
	color: #fff;
}

#actions-sidebar
{
    background: #eeeeee;
}
.buttonbar
{
	padding: 0 5px;
}
fieldset
{
	margin: 5px;
	padding: 10px 0 0 0;
}
.smallbuttonbar
{
}
.smallbuttonbar button
{
	padding: 0.4rem 0.6rem;
	margin-right: 5px;
}
label
{
	font-weight: bold;
	padding-top: 5px;
}
.answerchoice
{
	font-weight: normal;
	margin-left: 15px;
	cursor:  default;
}
.questions .input
{
	display: flex;
	flex-wrap: nowrap;
}
.questions .input > label
{
	width: 120px;
}
.questions .input > input,
.questions .input > textarea
{
	width: calc(100% - 150px);
}
.textchoice > .input > input
{
    width: 250px;
}
.checkboxhelper > .checkbox > input
{
	width: 14px;
    margin-top: 3px;
}
.answerinput
{
	margin: 0px 0px 8px 0px;
}
.answerinput  input
{
	margin-bottom: 0px;
}
.answerinput  label
{
	margin-bottom: 0px;
}
.answerlabel
{
	display: inline-block;
}
.answerlabel label
{
	display: inline;
	margin-right: 8px;
}
.answerlabel input
{
	vertical-align: middle;
}
.subanslabel
{
	display: inline;
}
@media (max-width: 850px)
{
	.subanslabel
	{
		display: block;
	}
}
@media (max-width: 720px)
{
	.textchoice > .input > input
	{
	    width: 120px;
	}
}
.goodanswer
{
	background-color: #80FF80;
	padding-top: 5px;
	padding-bottom: 5px;
}
.jokeranswer
{
	background-color: #FFFF80;
	padding-top: 5px;
	padding-bottom: 5px;
}
.tableimport
{
 	border-spacing: 5px;
}
.buttonbar > label
{
	display: inline-block;
	width: 116px;
	height: 10px;
}
/*------------------------------------ la recherche ---------------------------------*/

#search
{
	color: #15848F;
	font-size: 0.875rem;
    font-weight: normal;
    margin: 0 0 0.4375rem 0;
    padding: 0.4375rem 0.875rem;
}
#search:hover
{
    background: #E8E8E8;
}
.searchdiv
{
    display: table;
    width: 100%;
    max-width: 600px;
	border-collapse:separate; 
	border-spacing: 0 4px;
}
.searchline
{
	display: table-row;
	margin-bottom: 4px;
}
.searchcell1
{
	display: table-cell;
	width: 160px;
	padding: 0 4px 0 0;
	vertical-align: middle;
}
.searchcell2
{
	display: table-cell;
	padding: 0 4px 0 0;
	vertical-align: middle;
}
.searchcell3
{
	display: table-cell;
	width: 80px;
	vertical-align: middle;
}
.searchdiv select
{
	font-size: 0.875rem;²
	height: 1.5rem;
	margin: 0;
	padding: 0 0.5rem 0 0.5rem;
}
.searchcell2 input
{
	font-size: 0.875rem;
	height: 1.5rem;
	margin: 0;
	padding: 0 0.5rem 0 0.5rem;
}
.searchcell3 .button
{
	height: 1.5rem;
	padding: 0.2rem 0.5rem 0.2rem 0.5rem;
	margin: 0 4px 0 0;
}
/* ----------------------------- nbcharinput ------------------------------- */
.nbcharinput
{
	position:  relative;
}
.nbcharinput input
{
	margin-bottom: 0px;
}
.nbcharcount
{
	position:  absolute;
	top: 20px;
	font-size: 10px;
}
/* ----------------------------- persons ------------------------------- */
.personsearchdiv
{
    display: flex;
    width: 100%;
    max-width: 300px;
	border-collapse:separate; 
	border-spacing: 0 4px;
}
.personsearchcell
{
	display: inline-block;
	padding: 0 4px 0 0;
}
.personsearchcell input
{
	font-size: 0.875rem;
	height: 1.5rem;
	margin: 0;
	padding: 0 0.5rem 0 0.5rem;
}
/* ----------------------------- question checkbox ------------------------------- */
.questsearchdiv
{
    display: block;
    width: 100%;
}
.questsearchcell
{
	display: inline;
	padding: 0 4px 0 0;
}
.questsearchcell input
{
	font-size: 0.875rem;
}

.themecustom
{
	background: #ffdddd;
}
/* ----------------------------- playlist ------------------------------- */
.linegame
{
	font-size: 1.2rem;
	text-align: center;
	background-color: #9932CC;
}
.lineround
{
	font-size: 1.2rem;
	text-align: center;
	background-color: #BDB76B;
}
.linequestion
{
	display: flex;
	font-size: 0.9rem;
}
.linequestionno
{
	width: 25px;
}
.linequestionid
{
	width: 60px;
}
.linequestiondesk
{
	display: flex;
	width: 300px;
}
.linequestiondeskno
{
	width: 50px;
}
.linequestiondeskpt
{
	width: 20px;
}
.linequestiondesktot
{
	width: 25px;
}
.linequestiondesc
{
	display: flex;
	width: 110px;
}
.linequestiondeskans
{
	width: 70px;
}
.linequestiondeskgood
{
}
.linequestiondeskjoker
{
	background-color: #99ff99;
}
.nodeskans
{
	width: 105px;
	background-color: #FF9999;
}
.nogoodans
{
	background-color: #FF9999;
}
.smallbutton
{
	padding: 2px 4px;
    margin-left: 10px;
}



.corrections .input > label
{
	width: 120px;
}
.corrections .input > input,
.corrections .input > textarea
{
	width: calc(100% - 150px);
}
#qid
{
	width: 120px;
}

.myprogress
{
	line-height: 20px;
	margin: 2px 0 0 5px;
}

@font-face {
    font-family: 'brown';
    src: url('../font/brown-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.questionpreviewcont
{
	position: absolute;
	left: 626px;
	top: 184px;
}
.questionpreviewcontview
{
	top: 10px;
	left: calc(100% - 530px);
}
@media only screen and (max-width: 1500px)
{
	.questionpreviewcontview
	{
		left: 700px;
	}
}
.questionpreview
{
	position: absolute;

    transform-origin: top left;
	transform: scale(0.28);
	
	width: 1831px; /* 1791 + 40 */
	height: 638px;
	background-image: url("../img/cartouche_fond.jpg");
}
#cartouche_question
{
	position: absolute;
	left: 20px;
	top: 20px;
	width: 1791px;
	height: 269px;
	background-image: url("../img/cartouche_question.jpg");

	font-family: brown;
	color: white;
	font-size: 60px;
	padding: 25px 40px;
	line-height: 74px;
}
.cartouche_answer
{
	position: absolute;
	width: 851px;
	height: 149px;
	background-image: url("../img/cartouche_answers.png");
}
.cartouche_textanswer
{
	position: absolute;

	font-family: brown;
	color: white;
	margin: 25px 2px;
	line-height: 74px;
	white-space: nowrap;
}
#cartouche_answer0
{
	left: 20px;
	top: 310px;
}
#cartouche_answer1
{
	left: 960px;
	top: 310px;
}
#cartouche_answer2
{
	left: 20px;
	top: 469px;
}
#cartouche_answer3
{
	left: 960px;
	top: 469px;
}
#cartouche_textanswer0
{
	left: 20px;
	top: 310px;
}
#cartouche_textanswer1
{
	left: 960px;
	top: 310px;
}
#cartouche_textanswer2
{
	left: 20px;
	top: 469px;
}
#cartouche_textanswer3
{
	left: 960px;
	top: 469px;
}
#cartouche_theme
{
	position: absolute;

	font-family: brown;
	color: #002850;
	font-size: 44px;
	font-weight: bold;
	line-height: 74px;
	white-space: nowrap;
	left: 20px;
	top: 188px;
	width: 1791px;
	height: 80px;
	text-align: center;
	padding-top: 15px;
}
.previewtext
{
	position: relative;
	position: absolute;
	left: 0px;
	top: 180px;
	width: 512px;
	text-align: center;
	font-size: 80%;
}
