﻿:root {
  /*--bg-onglet: #1E59A1;
  --bg-onglet-actif: #FFFFFF;*/
  /*--bg-onglet-grey: #c7c7c7;*/
  /*--border: #EEEEEE;*/
  /*--border-onglet: #FFFFFF;*/
  /*--border-onglet-actif: #1E59A1;*/
  --text-onglet: #FFFFFF;
  --text-onglet-hover: #A8C7FA;
}


.tabs {
  margin: 1em 0 2em;
  /*font-weight: 300;*/
  border-radius: 0 0 0.5em 0.5em;
  min-height: 4em;
  border: 0px;
  /*background: -moz-linear-gradient(top, white 40%, #F6F6F6 100%);
  background: -webkit-linear-gradient(top, white 40%, #F6F6F6 100%);
  background: -o-linear-gradient(top, white 40%, #F6F6F6 100%);
  background: -ms-linear-gradient(top,white 40%, #F6F6F6 100%);
  background: linear-gradient(top, white 40%, #F6F6F6 100%);*/
}

  /* Nav */
  .tabs nav {
    text-align: left;
  }

    .tabs nav ul {
      padding: 0px;
      margin: 0;
      list-style: none;
      display: inline-block;
      /*background-image: linear-gradient(white,#D3D3D3);*/
      border-bottom: 1px solid var(--color-fitab-borderongletactif);
      width: 100%;
      transition: 200ms;
    }

      .tabs nav ul li {
        border: 1px solid var(--color-fitab-borderongletactif);
        border-bottom: 0px solid var(--color-fitab-borderonglet2);
        margin: 0 3px;
        display: block;
        float: left;
        position: relative;
        /*border-radius: 0 0.75em 0 0;*/
        background-color: var(--color-fitab-fondonglet);
        margin-bottom: -1px;
        margin-top: 4px;
        /*font-size:1.1em;*/
        padding: 0px 0px 0px 0px;
      }

        .tabs nav ul li.BkRed {
          border: 1px solid var(--color-fitab-borderonglet2);
          border-bottom: 0px solid var(--color-fitab-borderonglet2);
          margin: 0 0.25em;
          display: block;
          float: left;
          position: relative;
          /*border-radius: 0 0.75em 0 0;*/
          background-color: #EDCDCF;
          margin-bottom: -1px;
          margin-top: 4px;
        }

        .tabs nav ul li.BkGreen {
          border: 1px solid var(--color-fitab-borderonglet2);
          border-bottom: 0px solid var(--color-fitab-borderonglet2);
          margin: 0 0.25em;
          display: block;
          float: left;
          position: relative;
          /* border-radius: 0 0.75em 0 0;*/
          background-color: #9EE492;
          margin-bottom: -1px;
          margin-top: 4px;
        }

        .tabs nav ul li.BkGrey {
          border: 1px solid var(--color-fitab-borderonglet2);
          /*border-bottom: 0px solid var(--border-onglet);*/
          margin: 0 0.25em;
          display: block;
          float: left;
          position: relative;
          /* border-radius: 0 0.75em 0 0;*/
          background-color: var(--color-fitab-fondongletgrey);
          margin-bottom: -1px;
          margin-top: 4px;
        }

    .tabs nav li.tab-current {
      border: 1px solid var(--color-fitab-borderongletactif);
      border-bottom: solid 0px var(--color-fitab-borderongletactif);
      margin-bottom: -4px;
      z-index: 100;
      background-color: var(--color-fitab-fondongletactif);
    }

      .tabs nav li.tab-current:before,
      .tabs nav li.tab-current:after {
        content: '';
        height: 1px;
        right: 100%;
        bottom: 0;
        width: 100%;
        background: #2277CC; /*trait du bas des onglets*/
      }

      .tabs nav li.tab-current:after {
        right: auto;
        left: 100%;
        width: 4000px;
      }

      .tabs nav li.tab-current a, .tabs nav li.tab-current a:hover {
        color: var(--color-fitab-txtonglet);
      }

    .tabs nav a {
      color: var(--color-fitab-txtonglet2);
      display: block;
      font-size: 1em;
      line-height: 1.75em;
      padding: 0 1em;
      white-space: nowrap;
    }

      .tabs nav a:hover {
        color: var(--color-fitab-txtonglethover);
        text-decoration: none;
      }


    .tabs nav li.tab-disable a,
    .tabs nav li.tab-disable a:hover {
      color: #AAAAAA;
      cursor: default;
      pointer-events: none;
    }

    .tabs nav a:before {
      vertical-align: middle;
      text-transform: none;
      font-weight: normal;
      font-variant: normal;
      line-height: 1;
      speak: none;
      -webkit-font-smoothing: antialiased;
      margin: -0.25em 0.4em 0 0;
    }

/* Content */
.content section {
  padding: 0;
  display: none;
  margin: 0;
}

  .content section:before,
  .content section:after {
    content: '';
    display: table;
  }

  .content section:after {
    clear: both;
  }

/* Fallback example */
.no-js .content section {
  display: block;
  padding-bottom: 2em;
  border-bottom: 1px solid #47a3da;
}

.content section.content-current {
  display: block;
  border: solid 1px var(--color-fitab-borderonglet);
  padding: 40px;
  margin-top: -5px;
  background-color: var(--color-fitab-fondongletactif);
}

/* Example media queries */

@media screen and (max-width: 52.375em) {

  .tabs nav a span {
    display: none;
  }

  .tabs nav a:before {
    margin-right: 0;
  }

  .content section.content-current {
    margin-top: -4px;
  }
}

/*@media screen and (max-width: 32em) {

	.tabs nav ul,
	.tabs nav ul li a {
		width: 100%;
    text-align:center;
	}

	.tabs nav ul li {
		width: 20%;
		width: calc(20% + 1px);
		margin: 0 0 0 -1px;
	}

	.tabs nav ul li:last-child {
		border-right: none;
	}

}*/
