/* Tableau */
table {
  border-collapse: separate;
  font-size: 0.8em;
  margin: 5px 0 40px 0;
  width: 100%;
  border: 1px solid #ccc;
}

/*table, td, th     {border:0;}*/
td, th {
    border-bottom: 1px solid #C9C5C3;
    border-left: 1px solid #f2f2f2;
    padding:5px;
}
td:first-child, th:first-child{
    border-left: none;
}

tbody th      {text-align:left; background:#f4f4f4;}
thead {
  background:#223654;
  color:white;
  font-weight:bold;
  padding: 10px;
  text-align:center;
  font-size: 16px;
}
td p, th p       {padding:0; margin:0;}
th p, th, th li     {font-weight:bold;}
tbody tr.surtitre th  { background-color:#DDDDDD;}
tbody tr.surtitre td  { background-color:#DDDDDD;}
tbody tr.selectedRow td, tbody tr.selectedRow th  { background-color:#DDDDDD;}
caption {    text-align: left;    font-weight: bold;    font-size: 1.1em;    color: #777777;    margin-left: 2px;}
tfoot td {    color: rgb(102, 102, 102);    font-size: 0.9em;    border-bottom-color: #eeeeee;}

.text-content .rtable  {
  display: inline-block;
  vertical-align: top;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  border-spacing: 0;
}

.text-content .rtable,
.rtable--flip tbody {
  -webkit-overflow-scrolling: touch;
  background: -webkit-radial-gradient(left ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, -webkit-radial-gradient(right ellipse, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
  background: radial-gradient(ellipse at left, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 0 center, radial-gradient(ellipse at right, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 75%) 100% center;
  background-size: 10px 100%, 10px 100%;
  background-attachment: scroll, scroll;
  background-repeat: no-repeat;
}

.text-content .rtable  td:first-child,
.rtable--flip tbody tr:first-child {
  background-image: -webkit-linear-gradient(left, white 50%, rgba(255, 255, 255, 0) 100%);
  background-image: linear-gradient(to right, white 50%, rgba(255, 255, 255, 0) 100%);
  background-repeat: no-repeat;
  background-size: 20px 100%;
}

.text-content .rtable  td:last-child,
.rtable--flip tbody tr:last-child {
  background-image: -webkit-linear-gradient(right, white 50%, rgba(255, 255, 255, 0) 100%);
  background-image: linear-gradient(to left, white 50%, rgba(255, 255, 255, 0) 100%);
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-size: 20px 100%;
}

.text-content .rtable  caption {
  max-width: 830px;
}
@media screen and (max-width: 991px) {
  .contenttable caption {
    max-width: 700px;
  }
}
.text-content rtable  thead th {
  text-align: center;
}
.text-content rtable  th {
  text-align: left;
  /*background: #f2f0e6;*/
}

.text-content rtable  th,
.text-content rtable  td {
  padding: 6px 12px;
  border: 1px solid #d9d7ce;
  font-size: 0.7em;
}

.rtable--flip {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  background: none;
}

.rtable--flip thead {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
  min-width: -webkit-min-content;
  min-width: -moz-min-content;
  min-width: min-content;
}

.rtable--flip tbody {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
}

.rtable--flip tr {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  min-width: -webkit-min-content;
  min-width: -moz-min-content;
  min-width: min-content;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}

.rtable--flip td,
.rtable--flip th {
  display: block;
}

.rtable--flip td {
  background-image: none !important;
  border-left: 0;
}

.rtable--flip th:not(:last-child),
.rtable--flip td:not(:last-child) {
  border-bottom: 0;
}
.rtable-container {
  position:relative;
}
.rtable-container .scroll-right, .rtable-container .scroll-left {
  background-color: #cccccc;
  opacity: 0.2;
  position: absolute;
  top: 40px;
  font-size: 1.5em;
  border: medium none;
  height: 90%;
}
.rtable-container .scroll-right:hover, .rtable-container .scroll-left:hover {
  opacity: 0.5;
}
.rtable-container .scroll-right {
  right:0;
}
.rtable-container .scroll-left {
  left:0;
}

/*table lightbox cout*/

.featherlight .featherlight-content .featherlight-close-icon{
    color: black;
    padding: 6px;
    background: white;
    border: 1px solid black;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    top: -45px;
    right: -5px;
}
.featherlight.featherlight-iframe .featherlight-content{
   overflow: inherit;
}



/*table two cells for important message*/
table.two_cells{
    margin: 2em 0 1em;
    padding: 0;
    border: 2px solid #ccc;
    background-color: #f2f2f2;
}
table.two_cells td{
    width: 50%;
    text-align: center;
    border-bottom: none;
    padding: 2em;
    font-size: 1.5em;
    font-size: 16px;
}
table.two_cells td a{
    font-size: 14px;
}

table.two_cells tbody tr.selectedRow td{
  background-color: #f2f2f2;
}

table.two_cells td:first-child{
    border-right: 2px solid #ccc;
}
@media screen and (max-width: 500px) {
    table.two_cells td{
      display: block;
        width: 100%;
        clear: both;
    }
    table.two_cells td:first-child{
        border-right: none;
        border-bottom: 2px solid #ccc;
    }
}

/*listing in table*/
table.table-listing ul{
    padding-left: 10px;
}
table.table-listing td{
  border-right:1px solid #C9C5C3;
}
.-publication #main-content{
    padding: 0 0 0 30px;
}
.-publication{
    padding:20px 0;
}
.-publication p.retour{
    margin: 20px 0;
    padding: 0;
}
table.-tableBig{
    font-size: 14px;
}
table.-tableBig th{
    padding: 10px 5px;
}
table.-tableNumber td{
    text-align:  right;
}






