.rq-content .rq-table,
.rq-content table{
    margin: 1.5rem 0;
    caption-side: top;
}

.rq-content table:not(.w-auto){
    width: 100%
}

.rq-content table.dataTable {
   border-collapse: collapse;
}

.rq-content table tr>th, 
.rq-content table tr>td,
.rq-content table.dataTable tr>td,
.rq-content table.dataTable tr>td{
    padding: 0.25rem;
    vertical-align: top;
}

.rq-content table.dataTable.no-footer{
    border-bottom: var(--bs-table-border-color)
}

.rq-table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(239, 239, 239, 0.40);
}

.tbl-donnee-num,
.tbl-layout-fixed {
    table-layout: fixed;
    width: 100%
}

table > caption {
    font-size: 1.125rem;
    color: var(--qc-color-text-primary);
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-top: 1px dotted var(--qc-color-blue-dark);
    border-bottom: 1px solid var(--qc-color-blue-dark);
    text-align: center;
    background-color:white;
	caption-side: top;
}

.rq-content table thead th{
    text-align: center
}

.tblThemeGris thead th:not(:last-child),
.tblThemeBleu thead th:not(:last-child),
.tblThemeVert thead th:not(:last-child){
    border-width:0 1px;
    border-color: white
}

.tblThemevert,
.tblThemeBleu{
    --rq-table-bg: 51, 122, 183;
    --rq-table-highlight: 51, 122, 183;
    --rq-table-head-bg: var(--qc-color-blue-piv);
    --rq-table-border-color: #c8dfee;
    border-color: var(--rq-table-border-color);
}
.tblThemeGris{
    --rq-table-bg: 237, 237, 237;
    --rq-table-highlight: 136, 147, 162;
    --rq-table-head-bg: rgb(var(--qc-color-grey-dark-rgb));
     --rq-table-border-color:  #dee2e6;
    border-color: var(--rq-table-border-color);
}

.tblThemeBleu tbody>tr>*,
.tblThemeGris tbody>tr>*{
    border-width:0 1px 1px 0;
}
.tblThemeBleu tbody th:last-child,
.tblThemeBleu tbody td:last-child{
    border-right-width:0;
}

tbody .dataGridh td, 
.dataGridh th {
    background-color: var(--rq-table-head-bg);
    color: white;
}
tbody .dataGridh td a, 
.dataGridh th a{
    color: unset
}

.tblThemeGris>tbody>tr:nth-of-type(odd)>*{
    background-color: rgba(var(--rq-table-highlight), 0.1);
}
.tblThemeVert>tbody>tr:nth-of-type(odd)>*,
.tblThemeBleu>tbody>tr:nth-of-type(odd)>*{
    background-color: rgba(218,230,240,.4);
    background: linear-gradient(to bottom,rgba(218,230,240,.4) 0,rgba(218,230,240,.4) 1%,rgba(254,255,255,.4) 49%,rgba(254,255,255,.4) 54%,rgba(218,230,240,.4) 100%);
    color: var(--qc-color-text-primary);
}

.highlightRow>tbody>tr td:nth-child(2){   
    --rq-table-opacity:0.1
}
.highlightRow>tbody>tr td:nth-child(3){ 
    --rq-table-opacity:0.2 
}
.highlightRow>tbody>tr td:nth-child(4){
    --rq-table-opacity:0.3
}
.highlightRow>tbody>tr td:nth-child(5) {
    --rq-table-opacity:0.4
}
.tblThemeGris.highlightRow>tbody>tr>*,
.tblThemeBleu.highlightRow>tbody>tr>*{
     background: none; 
}
.tblThemeGris.highlightRow>tbody>tr>td:not(:first-child),
.tblThemeBleu.highlightRow>tbody>tr>td:not(:first-child){
    border-color: white;
    background-color: rgba(var(--rq-table-highlight),var(--rq-table-opacity));
}
.tblThemeGris.highlightRow>tbody>tr:last-child>td:not(:first-child),
.tblThemeBleu.highlightRow>tbody>tr:last-child>td:not(:first-child){
    border-bottom-color: var( --rq-table-border-color)
}

.tbl-donnee-num tbody td {
    white-space: nowrap;
}
.tbl-donnee-num thead th,
.tbl-donnee-num tbody td:first-child {
    text-align: center;
}
.tbl-donnee-num.tbl-col-1-txt {
    table-layout: auto;
}
.tbl-donnee-num.tbl-col-1-txt th:first-child,
.tbl-donnee-num.tbl-col-1-txt td:first-child {
    white-space: normal;
    text-align: left;
}
.tbl-donnee-num.tbl-col-2-txt th:first-child,
.tbl-donnee-num.tbl-col-2-txt td:first-child,
.tbl-donnee-num.tbl-col-2-txt th:first-child + th,
.tbl-donnee-num.tbl-col-2-txt td:first-child + td {
    white-space: normal;
}
.tbl-donnee-num tbody td:not(:first-child),
.tbl-donnee-num tbody th:not(:first-child) {
    text-align: right;
}
.tbl-donnee-num.tbl-col-2-txt td:first-child + td,
.tbl-donnee-num.tbl-col-2-txt th:first-child + th {
    text-align: left;
}

.tbl-formule {
    width: 100%;
    margin: 0!important
}
.tbl-formule.resultats-gauche {
    width: auto;
}
.tbl-formule td {
    vertical-align: middle;
    padding: 2px;
}
.tbl-formule td:first-child {
    text-align: left;
    width: 35%;
}
.tbl-formule.resultats-gauche td:first-child {
    width: auto;
    text-align: center;
}
.tbl-formule td.operateur {
    text-align: center;
    width: 6%;
    font-size: x-large;
}
.tbl-formule.resultats-gauche td.operateur {
    font-size: medium;
}
.tbl-formule td.operateur + td {
    text-align: center;
}
.tbl-formule td hr {
    margin-top: 5px;
    margin-bottom: 5px;
    border: 0;
    border-top: 1px solid #333;
}
.tbl-formule + .note {
    border-top: 1px dotted #ccc;
    font-size: 90%;
    border-collapse: separate;
    border-spacing: 5px;
    padding: 5px 0 0;
    margin: 10px 0 0;
}
.tbl-formule .formule-parenthese-crochet {
    font-size: xx-large;
    padding: 0;
    color: #777;
}
.tbl-formule .clsSupRetraitG {
    margin-left: -25px;
    -webkit-margin-start: -30px;
    vertical-align: super;
    line-height: 100%;
}

.alignL th,
.alignL td {
    text-align: left;
}
.alignR th,
.alignR td {
    text-align: right;
}
.alignC th,
.alignC td {
    text-align: center;
}

.alignC-2 th:first-child,
.alignC-2 td:first-child {
    text-align: left !important;
}

.rq-colw-5 {
    width: 5% !important;
}
.rq-colw-10 {
    width: 10% !important;
}
.rq-colw-15 {
    width: 15% !important;
}
.rq-colw-20 {
    width: 20% !important;
}
.rq-colw-25 {
    width: 25% !important;
}
.rq-colw-30 {
    width: 30% !important;
}
.rq-colw-35 {
    width: 35% !important;
}
.rq-colw-40 {
    width: 40% !important;
}
.rq-colw-45 {
    width: 45% !important;
}
.rq-colw-50 {
    width: 50% !important;
}
.rq-colw-55 {
    width: 55% !important;
}
.rq-colw-60 {
    width: 60% !important;
}
.rq-colw-65 {
    width: 65% !important;
}
.rq-colw-70 {
    width: 70% !important;
}
.rq-colw-75 {
    width: 75% !important;
}
.rq-colw-80 {
    width: 80% !important;
}
.rq-colw-85 {
    width: 85% !important;
}
.rq-colw-90 {
    width: 90% !important;
}
.rq-colw-95 {
    width: 95% !important;
}

.rq-table-flex {
	margin-bottom: 1.5rem
}
.rq-table-flex div[class*="col-"]{ 
	padding-top:0.5rem;
	padding-bottom:0.5rem;
	padding-left:0.5rem!important;
	padding-right:0.5rem!important;
}
.rq-table-flex-head{
	background-color: #095797;
    color: #fff;
    text-align:center
}
.rq-table-flex-head h2,
.rq-table-flex-head h3,
.rq-table-flex-head h4,
.rq-table-flex-head h5 {
	color:#fff!important;
	margin-top:0.25rem!important;
	margin-bottom:0.25rem!important;
	padding-top:0!important
}
.rq-table-flex-head > div {
	/*box-shadow: 1px 0px 4px 0px #f8f9fa inset;*/
	box-shadow:0 0 2px 0 #fff inset
}

.rq-table-flex a[role="button"]{
	text-decoration:none;
	color:#223654 !important
}

.rq-table-flex a[role="button"] .rq-table-flex-th > span{
	text-decoration:underline;
}

.rq-table-flex a[role="button"] i.fa-angle-down {
	transition: transform .3s;
	vertical-align: middle;
	font-size:1.25rem
}

.rq-table-flex a[aria-expanded="false"] i.fa-angle-down {
    transform: rotate(0deg);
}
.rq-table-flex a[aria-expanded="true"] i.fa-angle-down {
    transform: rotate(180deg);
}

.rq-table-flex-tr > div[class*="col-"]{
	border:1px solid rgba(197, 202, 210, .5);
}

.rq-table-flex-tr.uncheck > div[class*="col-"]{
    background-color: rgba(242, 59, 28,0.04);
    border-bottom:1px solid rgba(242, 59, 28,0.4);
    border-top:1px solid rgba(242, 59, 28,0.4);
}

.rq-table-flex-tr div.force-th{
    background-color: rgba(9, 87, 151, 0.15);
    text-align:center
}

.rq-table-flex-tr > div.force-th em.arrow {
	font-size:0;
	line-height:0
}

.rq-table-flex-tr .force-tf {
    background-color: rgba(9, 87, 151, 0.15);
    text-align: center;
    padding: 0.5rem;
}

.rq-table-flex i.rq-check {
    color: #4f813d
}

.rq-table-flex i.rq-uncheck {
    color: #cb381f
}

.head-icone td {
    font-size: 3rem;
    color: #07719a
}

@media (min-width: 576px){

	.rq-table-flex-tr > div.force-th em.arrow {
		display: block;
	    width: 0px;
	    height: 0px;
	    border-top: solid 15px transparent;
	    border-bottom: solid 15px transparent;
	    border-left: solid 15px rgba(9, 87, 151, 0.5);
	    position: absolute;
	    top: 0.7rem;
	    right: -1.1rem;
	    z-index: 6;   
	}
	
	.rq-table-flex-tr > div.force-th + div {
		padding-left:1.25rem!important
	}
}

@media (min-width: 768px){
	.rq-table-flex-tr .force-tf {
	    position: absolute;
    	bottom: 0;
    	left: 0;
    	right: 0;
	}
}   

@media (max-width: 767.98px){
	
	.rq-table-flex-tr:not(.uncheck) > div.rq-table-flex-th{
	    background-color: rgba(9, 87, 151, 0.15);
	    border-top-color:#095797;
	    border-bottom-color:#095797;
	 }

	.rq-table-flex-tr.uncheck > div.rq-table-flex-th{
	    background-color: rgba(242, 59, 28,0.4);
	 }
}
