/* =============================================================================
   File : main.css
   Description : Feuille de style principale pour Coswin
   Author : Florent CLANET (www.choosit.com)
   =========================================================================== */

/* TABLE OF CONTENT ///////////////////////////////////////////////////////////////////////////////////////////

 1- Reset CSS
 2- Container & Tools
 3- Header
 4- LOGIN Box
 5- Logo Coswin BG
 7- Main frame
 8- Side Menu
 9- Content
 10- Blocks
 11- Footer
 12- Custom Form Elements
 13- Arrows
 14- Icons
 15- Buttons
 16- Infobulle

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/


/* =============================================================================
   1- Reset CSS
   =========================================================================== */
@import url("normalize.css");


/* =============================================================================
   2- Container & Tools
   =========================================================================== */
.container_fluid {
	width: 100%;
	height: 100%;
	margin: 0 auto 39px;
}

.fixed {
	width: 980px;
	margin-top: 20px;
	position: relative;
}

#background
{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: linear-gradient(40deg, var(--ColorA300) -5%, var(--ColorA700) 60%);
}

#coswinLoginDialogPositioning
{
	position: absolute;
	top: 20px;
	right: 20px;
	bottom: 54px; /* footer's height - 20px */
	left: 20px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
}

.hFlex
{
	display: flex;
	flex-direction: row;
}

.spacer
{
	-ms-flex-positive: 1;
	flex-grow: 1;
}

.clear {
	clear: both;
}

input:focus,
textarea:focus {
	outline: none;
}

*:focus {
	outline:none;
}

textarea {
	resize: none;
}

a {
	text-decoration: none;
	cursor: pointer;
}

a:focus {
	outline:none;
}

ul:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* Firefox 18- */
input:-moz-placeholder,
textarea:-moz-placeholder {
	color: #606060;
}

/* Firefox 19+ */
input::-moz-placeholder,
textarea::-moz-placeholder {
	color: #606060;
}

/* Internet Explorer */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
	color: #606060;
}

/* Webkit: Google Chrome */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: #606060;
}



/* =============================================================================
   3- Header Login
   =========================================================================== */
header { height:80px; }



/* =============================================================================
   4- LOGIN Box
   =========================================================================== */
#login_box
{
	width: 591px;
	background-color: rgba(255,255,255,0.9);
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
	padding-bottom: 20px;
	margin: auto;
}

#login_box .title
{
	background-color: var(--ColorA600);
  width: 100%;
  height: 56px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}


#login_box .title span
{
	color: #057ec1;
}

svg.logoCoswinLogin
{
    width: 165px !important;
    height: 56px !important;
}

svg.logoCoswinLogin > path
{
    fill: var(--ColorA100);
}

.hFlex
{
	display: flex;
	flex-direction: row;
}

#inputMode
{
	margin-right: 11px;
	margin-top: 10px;
}

.custom-checkbox label[id^="inputMode"].checked svg > path[id^="path_display_tablet"],
.custom-checkbox label[id^="inputMode"] svg > path[id^="path_display_desktop"]
{
    fill: var(--ColorA100);
}

.custom-checkbox label[id^="inputMode"] svg > path[id^="path_display_tablet"],
.custom-checkbox label[id^="inputMode"].checked svg > path[id^="path_display_desktop"]
{
    fill: transparent;
}

#pglMessage
{
	height: 40px;
	margin-top: 18px;
  margin-bottom: 18px;
}

#login_box #pglMessage #message
{
  font-style: italic;
  font-size: 18px;
  font-family: var(--font-familyDefault);
  line-height: 18px;
  color: #313f4f;
  text-align: center;
  width: 100%;
  display: block;
}

#pglLogo
{
  margin-right: 20px;
  margin-left: 20px;
  width: 120px;
  height: 120px;
}

#pglLogo .img_logo
{
  background: transparent;
  width: 120px;
  height: 120px;
}

#pglLogo .img_logo > img
{
 width: 100%;
 height: 100%;
}

#pglLogin
{
  padding-right: 20px;
  padding-left: 20px;
}

html[dir="ltr"] #pglLogin
{
  border-left: none;
}

html[dir="rtl"] #pglLogin
{
  border-right: 1px solid #eeeeee;
}

#pglLogin tr td:last-child
{
	position: relative;
}

#pglLoginFirstLogin label
{
  display: block;
  float: left;
  padding-top: 5px;
  font-size: 13px;
  font-family: var(--font-familyDefault);
  color: var(--ColorA500);
  margin-bottom: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#pglLogin label
{
  display: block;
  float: left;
  padding-top: 0px;
  width: 160px;
  font-size: 13px;
  font-family: var(--font-familyDefault);
  color: var(--ColorA500);
  margin-bottom: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: end;
  margin-right: 2px;
}

#pglLogin .select_container
{
	position: relative;
}

#pglLogin .select_container .select
{
	margin-bottom: 12px;
}

#pglLogin .select_container,
#pglLogin .select_container .select
{
	width: 223px !important;
	background-position-x: 201px;
}

#pglLogin .select_container span.select
{
	background-color: #FFFFFF !important;
	border-left: 1px solid #bbb;
  border-right: 1px solid #bbb;
}

#pglLogin .loginInputText input
{
	display: block;
	background-color: #FFF;
	width: 223px !important;
	height: 26px;
	border: 1px solid #bbb;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-size: 12px;
	font-family: var(--font-familyDefault);
	color: var(--color-label);
	line-height: 23px;
	margin-bottom: 12px;
}

.loginValueImg
{
	position: absolute;
	top: 4px;
}

.loginValueImg>path
{
	fill: var(--color-Separator) !important;
}

html[dir="ltr"] .loginValueImg
{
	right: 5px;
	padding-left: 5px;
	border-left: 1px solid #bbb;
}

html[dir="rtl"] .loginValueImg
{
	left: 5px;
	padding-right: 5px;
	border-right: 1px solid #bbb;
}

#optionsLink.oubli
{
	display: block;
	font-size: 12px;
	font-family: var(--font-familyDefault);
	color: var(--color-disabled-field-font);
	padding-top: 3px;
	padding-right: 20px;
	margin-right: 15px;
	margin-top: 3px;
	text-decoration: none;
	text-align: end; 
}

#optionsLink.oubli:hover
{
    color: var(--color-ref);
}

#login_box .select_container
{
	padding-left: 0px !important;
}   

.loginLanguagesCommandButton
{
	position: absolute !important;
	width: 24px !important;
	height: 24px !important;
	top: 1px !important;
    right: 2px !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 0 !important;
    background-image: none !important;
}

.loginLanguagesPopupPgl1
{
	width: 300px !important;
	max-height: 260px !important;
	background-color: #dadada !important;
}

.loginLanguagesPopupPgl2
{
	height: 25px !important;
	width: 250px !important;
	cursor: default !important;
}

.loginLanguagesPopupInputText
{
	width: 240px !important;
}

.loginLanguagesPopupPgl2.af|panelGroupLayout:hover span
{
	color: #057ec1 !important;
}

/* =============================================================================
   5- Logo Coswin BG (Ecran login)
   =========================================================================== */
#logo_bg {
    background: url('../images/bg_coswin.svg') left bottom no-repeat;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#backgroundImage
{
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	height: auto;
	width: auto;
	overflow: hidden;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
}

/* =============================================================================
   7- Main frame
   =========================================================================== */


/* =============================================================================
   8- Side Menu
   =========================================================================== */


/* =============================================================================
   9- Content
   =========================================================================== */


/* =============================================================================
   10- Blocks
   =========================================================================== */


/* =============================================================================
   11- Footer
   =========================================================================== */
footer {
    background: var(--ColorA800);
    width: 100%;
    height: 34px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
}

footer #copyright {
    display: block;
    float: left;
    margin-left: 25px;
    padding-top: 11px;
	font-weight: normal;
	font-size: 12px;
	font-family: var(--font-familyDefault);
    color: var(--ColorA100);
}

footer a.logo_siveco {
    float: left;
    display: block;
    width: 89px;
    height: 27px;
    margin-left: 15px;
    padding-top: 5px;
}

footer svg > path
{
    fill: var(--ColorA100);
}

/* Footer main */
footer .btn-dropup {
    margin-top: 4px;
}

footer .status {
    float: right;
}

footer .status div {
    float: left;
    padding: 0 20px;
	font-size: 12px;
	font-family: var(--font-familyDefault);
    color: #FFF;
    text-shadow: 1px 1px 0px #2a3643;
}

footer .status .dots {
    background: #057ec1;
    padding: 10px 8px 8px 9px;
    height: 16px;
    width: 21px;
    text-align: center;
}

footer .status .page {
    height: 34px;
    line-height: 34px;
}

footer .status .save_state {
    height: 34px;
    line-height: 34px;
    border-left: 1px solid #5a6572;
}

footer .status .date {
    height: 34px;
    line-height: 34px;
    border-left: 1px solid #5a6572;
}

#cbok
{
	margin:0;
	padding:0;
	height: 31px !important;
	background-image: none;
	background-color: var(--ColorA500);
	border-color: transparent;
	color: var(--ColorA050);
	left: 3px !important;
	width: 218px !important;
	border-radius: 15px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
	font-size: 14px;
	font-family: var(--font-familyDefault);
	text-transform: uppercase;
}

#cbok_first_login
{
	margin:0;
	padding:0;
	height: 31px !important;
	background-image: none;
	background-color: var(--ColorA500);
	color: var(--ColorA050);
	border-color: transparent;
	left: 3px !important;
	width: 218px !important;
	border-radius: 5px;
	box-shadow: 0px 2px 2px 1px rgba(0,0,0,0.5);
	font-size: 14px;
	font-family: var(--font-familyDefault);
	text-transform: uppercase;
	width:100%
}

#cbok:hover
{
	background-color: var(--ColorA400);
	color: var(--ColorA100);
}


/* =============================================================================
   12- Custom Form Elements
   =========================================================================== */


/* =============================================================================
   13- Arrows
   =========================================================================== */


/* =============================================================================
   14- Icons
   =========================================================================== */


/* =============================================================================
   15- Buttons
   =========================================================================== */


/* =============================================================================
   16- Infobulle
   =========================================================================== */
.tooltipsy {
    /*padding: 6px 10px;
    color: #FFF;
    background: #313f4f;
    background: rgba(49,63,79,0.9);
	font-size: 11px; */

    padding: 3px 8px;
    color: var(--ColorA200);
    background: var(--ColorA600);
	font-size: 16px;
    max-width: 200px;
	font-family: var(--font-familyDefault);
    border-radius: 3px;
}