﻿.login-bg {
    height:100%;
    width:100%;
    min-height:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:-1;
}

.login-bg > * {
    height:100%;
    width:100%;
    position: absolute;
}

/* Buttons kit */

input[type="button"][class*="button"],input[type="submit"][class*="button"], a[class*="button"] {
    border: 0;
    cursor: pointer;
    -moz-box-shadow: 0px 2px 0px 0px #bdc3c7;
    -webkit-box-shadow: 0px 2px 0px 0px #bdc3c7;
    -o-box-shadow: 0px 2px 0px 0px #bdc3c7;
    box-shadow: 0px 2px 0px 0px #bdc3c7;
    -webkit-appearance: none; /* WebKit */
    -moz-appearance: none; /* Mozilla */
    -o-appearance: none; /* Opera */
    -ms-appearance: none; /* Internet Explorer */
    appearance: none; /* CSS3 */
    font-family: "Segoe UI", "Helvetica Neue", Verdana, Arial, sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 3px;
}

input[type="button"][class*="button"]:active {
    transform: translateY(2px);
}

.button
{
	margin: 0 auto;
    display:block;
	color: #222;
    background-color: #f2f2f2;
    border-radius: 3px;
    font-size:15px;
    padding: 8px 60px;
}

.button:not([disabled]):hover {
    background-color: #95a5a6;
    box-shadow: 0px 2px 0px 0px #7f8c8d;
    color: #eee;
}

.button:active {
    background-color: var(--primary-color);
    color: #eee;
    box-shadow: 0px 0px 0px 0px var(--primary-color);
}

.button[class*="icon"] {
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 15px;
}

a.disabled {
    pointer-events: none;
    cursor: default;
    opacity:0.6;
}

.whitebutton {
    padding: 4px 19px;
    color: #555;
    background-color: white;
    width: auto;
    overflow: visible;
}

.whitebutton:active {
    background-color: #ecf0f1;
    color: black;
    box-shadow: 0px 0px 0px 0px #bdc3c7;
}

.whitebutton:hover {
    background-color: #ecf0f1;
    color: black;
}

/* End buttons kit */

/* CHECKBOXES */

.checkbox {
    display:block;
    margin-top:10px;
}

/* Cachons la case à cocher */  
[type="checkbox"]:not(:checked),  
[type="checkbox"]:checked {  
  position: absolute;  
  left: -9999px;  
}  
   
/* on prépare le label */  
[type="checkbox"]:not(:checked) + label,  
[type="checkbox"]:checked + label {  
  position: relative; /* permet de positionner les pseudo-éléments */  
  padding-left: 25px; /* fait un peu d'espace pour notre case à venir */  
  cursor: pointer;    /* affiche un curseur adapté */
  transition: all .5s;
}

[type="checkbox"]:disabled + label {
    cursor:default;
    opacity: 0.6;
}

/* on prépare le label */  
[type="checkbox"]:not(:checked) + label:hover,  
[type="checkbox"]:checked + label:hover {  
  color:black;
}

/* Aspect des checkboxes */  
/* :before sert à créer la case à cocher */  
[type="checkbox"]:not(:checked) + label:before,  
[type="checkbox"]:checked + label:before {  
  content: '';  
  position: absolute;  
  left:0; top: 2px;  
  width: 15px; 
  height: 15px; /* dim. de la case */  
  border: 0px solid rgba(0,0,0,0.1);  
  background: rgba(0,0,0,0.1);  
  border-radius: 3px; /* angles arrondis */  
  /*box-shadow: inset 0 1px 3px rgba(0,0,0,.3)  légère ombre interne */  
}  
   
/* Aspect général de la coche */  
[type="checkbox"]:not(:checked) + label:after,  
[type="checkbox"]:checked + label:after {  
  content: '✔';  
  position: absolute;  
  top: 0; left: 2px;  
  font-size: 14px;  
  color: var(--primary-color);  
  transition: transform .2s; /* on prévoit une animation */  
}  
/* Aspect si "pas cochée" */  
[type="checkbox"]:not(:checked) + label:after {  
  opacity: 0; /* coche invisible */  
  transform: scale(0); /* mise à l'échelle à 0 */  
}  
/* Aspect si "cochée" */  
[type="checkbox"]:checked + label:after {  
  opacity: 1; /* coche opaque */  
  transform: scale(1.5); /* mise à l'échelle 1:1 */  
}

/* END CHECKBOXES */

input[type="radio"] {
    accent-color: var(--primary-color);
}

.hidden { display: none }

.error
{
	color:#ecf0f1;
	font-weight:bold;
    font-size: 100%;
    padding: 3px;
    background-color: #e74c3c;
    box-shadow: 0px 2px 0px 0px #c0392b;
    margin: 10px 0;
    border-radius: 8px;
}

.error p {
    vertical-align: middle;
    line-height: 20px;
}

.error p:before {
    content:'x';
    color: #c0392b;
    font-weight:bold;
    margin-right: 10px;
    font-size: 20px;
    position: relative;
    top: 2px;
}

.info
{
	color:#ecf0f1;
	font-weight:bold;
    font-size: 100%;
    padding: 3px;
    background-color: #e67e22;
    box-shadow: 0px 2px 0px 0px #d35400;
    margin: 10px 0;
    border-radius: 8px;
}

.info p {
    vertical-align: middle;
    line-height: 20px;
}

.info p:before {
    content:'i';
    color: #d35400;
    font-weight:bold;
    margin-right: 10px;
    font-size: 20px;
    position: relative;
    top: 2px;
}

.dark-color-font{
    color: var(--primary-color);
}

.lighter-dark-color-font{
    color: var(--primary-lighter);
}

/* GridView Style */

table.resultab
{
    border-radius: 5px;
    border-spacing: 0;
    border-collapse: collapse;  
    border: 0;
	color:#666;
}

.resultab > tbody > tr {
    position: relative;
    height:20px;
    border-bottom: 1px solid #d0d0d0;
}

.resultab > tbody > tr.fixed-header {
    position:fixed;
    top:0;
    right:0;
    left:0;
}

.resultab-fixed-header {
    height:40px;
    background-color:white;
    background-color:rgba(255,255,255,0.9) !important;
    position:fixed;
    top:0;
    right:0;
    left:0;
    z-index:9999;
    border-bottom: 2px solid #d0d0d0;
    display:none;
}

.resultab-fixed-header > div {
    display:inline-block;
    font-weight: bold;
	font-size: 95%;
	border: 0;
    color: #767676;
    height:40px;
    line-height:40px;
    padding-left:5px;
    box-sizing:border-box;

    background: -moz-linear-gradient(top,  rgba(30,87,153,0) 0%, rgba(255,255,255,1) 50%, rgba(125,185,232,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,0)), color-stop(50%,rgba(255,255,255,1)), color-stop(100%,rgba(125,185,232,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(30,87,153,0) 0%,rgba(255,255,255,1) 50%,rgba(125,185,232,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(30,87,153,0) 0%,rgba(255,255,255,1) 50%,rgba(125,185,232,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(30,87,153,0) 0%,rgba(255,255,255,1) 50%,rgba(125,185,232,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(30,87,153,0) 0%,rgba(255,255,255,1) 50%,rgba(125,185,232,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#001e5799', endColorstr='#007db9e8',GradientType=0 ); /* IE6-9 */

}

.resultab-fixed-header > div > a {
    text-decoration: none;
    color: #767676;
}

.resultab > tbody > tr:first-child {
    background-color: transparent;
    border-bottom: 2px solid #d0d0d0;
}

/*.resultab > tbody > tr:first-child > th:first-child { border-top-left-radius: 5px; }
.resultab > tbody > tr:first-child > th:last-child   { border-top-right-radius: 5px; }
.resultab > tbody > tr:last-child > td:first-child { border-bottom-left-radius: 5px; }
.resultab > tbody > tr:last-child > td:last-child   { border-bottom-right-radius: 5px; }*/

.resultab tr > th
{
	font-weight: bold;
    padding-top:5px;
    padding-bottom:5px;
	font-size: 95%;
	border: 0;
    color: #767676;
}

.resultab tr th a
{
    text-decoration: none;
    color: #767676;
}

.resultabgreen tr th
{
	background-image: url(../breaked.png);
}
.resultab tr td
{
	font-size: 90%;
    border: 0;
	padding-left: 3px;
    padding-top: 2px;
    padding-bottom: 2px;
	font-weight:normal;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
    position:relative;
}

.resultab tr td.error
{
	color:#e74c3c;
    padding: 0;
    background: none;
    box-shadow: none;
    margin:0;
    border-radius:0;
}

.resultab tr td img{
    vertical-align:middle;
}

.resultab input[type="text"] {
    padding: 4px 0 4px 0;
    -webkit-appearance: none; /* WebKit */
    -moz-appearance: none; /* Mozilla */
    -o-appearance: none; /* Opera */
    -ms-appearance: none; /* Internet Explorer */
    appearance: none; /* CSS3 */
    border : solid 1px #bdc3c7;
    transition: all 0.5s ease;
}

.resultab input[type="text"]:active,.formzone2 input[type="text"]:focus,.formzone2 input[type="text"]:hover {
    border : solid 1px var(--primary-color);
}

/* End GridView Style */

/* Toolbar */

.toolbar {
    background-color: #f9f9f9;
    height: 30px;
}

.toolbar > * {
    border-right: 1px solid #fff;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rightbuttons[class*="toolbar"] > * {
    float:right;
}

.toolbar > *:hover {
    background-color: #ecf0f1;
    box-shadow: 0px 2px 0px 0px #bdc3c7;
    transform: translateY(-2px);
    color: var(--primary-color);
}

.toolbar > *:active {
    background-color: white;
    box-shadow: 0px 0px 0px 0px #bdc3c7;
    color: var(--primary-color);
}

/* End Toolbar */

/* Button bar */

.selectaction
{
	width:100%;
	vertical-align:middle;
	margin: 0px;
	padding: 0px;
}

.selectaction ul
{
	float:left;
    margin-top: 5px;
}

.selectaction ul li
{
	float:left;
	display:inline;
    padding: 4px;
}

.selectaction ul li a
{
	float:left;
	border-right:1px solid silver;
	text-decoration:none;
	font-size:80%;
	color:#444;
	background-repeat:no-repeat;
    background-position-y: center;
    background-size: 14px;
    padding:  2px 5px 2px 20px;
    transition: color 0.3s ease;
}

.selectaction ul li a:hover
{
	color: var(--common-hover-color);
}

/* End button bar */

/* Tab menu */

.righttabmenu, .lefttabmenu, .lefttoptabmenu {
    width:100%;
}

.lefttoptabmenu ul {
    border-bottom: solid 1px #bdc3c7;
}

.righttabmenu ul li:first-child, .lefttablmenu ul li:last-child, .lefttoptabmenu ul li:last-child {
    margin-right: 5px;
}

.righttabmenu ul li:last-child, .lefttablmenu ul li:first-child, .lefttoptabmenu ul li:first-child {
    margin-left: 5px;
}

.righttabmenu ul li, .lefttabmenu ul li, .lefttoptabmenu ul li{
    background-color : white;
    padding: 4px;
    box-shadow: 0px 2px 0px 0px #bdc3c7;
    list-style:none;
    display: inline-block;
    margin-top: -1px;
    display: inline-block;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.lefttoptabmenu ul li {
    border-radius: 5px 5px 0 0;
    box-shadow: 1px -2px 0px 0px #bdc3c7;
    position: relative;
    top: 2px;
}

.righttabmenu ul li.current, .lefttabmenu ul li.current {
    box-shadow: 0px 2px 0px 0px var(--primary-color);
}

.righttabmenu ul li.current a, .lefttabmenu ul li.current a {
    color: var(--primary-color);
}

.righttabmenu ul li{
    border-right: solid 1px #ecf0f1;
    float:right;
    margin-right:1px;
}

.lefttabmenu ul li{
    border-right: solid 1px #ecf0f1;
    box-shadow: 1px 2px 0px 0px #bdc3c7;
    margin-left:1px;
}

.righttabmenu ul li a, .lefttabmenu ul li a, .lefttoptabmenu ul li a{
    background-repeat: no-repeat;
    background-position: left;
    background-size: 14px;
    padding-left:20px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, margin 0.3s ease;
    font-size:10px;
    line-height:14px;
    margin: 0 5px 0 5px;
    color: #444;
}

.righttabmenu ul li a[disabled='true']:hover, .lefttabmenu ul li a[disabled='true']:hover,  .lefttoptabmenu ul li a[disabled='true']:hover {
    color: #444;
    margin: 0 5px 0 5px;
}

.righttabmenu ul li a:hover, .lefttabmenu ul li a:hover, .lefttoptabmenu ul li a:hover {
    color: black;
    margin: 0 10px 0 10px;
}

/* End Tab menu */

/* Animations */

@keyframes spin
{
	from { transform: rotate(0deg);-webkit-transform: rotate(0deg);}
	50%  { transform: rotate(180deg);-webkit-transform: rotate(180deg);}
	to   { transform: rotate(360deg);-webkit-transform: rotate(360deg);}
}

@-webkit-keyframes spin
{
	from { -webkit-transform: rotate(0deg);}
	50%  { -webkit-transform: rotate(180deg);}
	to   { -webkit-transform: rotate(360deg);}
}

@-moz-keyframes spin
{
	from { -moz-transform: rotate(0deg);}
	50%  { -moz-transform: rotate(180deg);}
	to   { -moz-transform: rotate(360deg);}
}

/* End Animations */

.cbl-flex {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.cbl-flex span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.5s;
    flex-basis:0;
    flex-shrink:0;
    box-sizing: border-box;
}

.cbl-flex span:hover {
    text-overflow: clip;
    white-space: normal;
    word-break: break-all;
    height: auto;
}

.cbl-bo span {
    flex-basis: calc(20% - 4px);
    height: 2em;
}


/* Large checkbox lists that might overflow the viewport cause page scrolling behaviour when clicking elements at the bottom of the list */
.cbl-bo-prevent-viewport-overflow span {
    position: relative
}