﻿.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: 0;
      margin: 0;
      list-style: none;
      display: inline-block;
      background-image: linear-gradient(white,#D3D3D3);
      border-bottom: 1px solid #808080;
      width: 100%;
    }

      .tabs nav ul li {
        border: 1px solid #808080;
        margin: 0 0.25em;
        display: block;
        float: left;
        position: relative;
        border-radius: 0 0.75em 0 0;
        background-color: #F0F0F0;
        margin-bottom: -1px;
        margin-top: 4px;
      }

        .tabs nav ul li.BkRed {
          border: 1px solid #808080;
          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 #808080;
          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 li.tab-current {
      border: 1px solid black;
      box-shadow: inset 0 2px black; /*double trait de l'onglet actif*/
      border-bottom: solid 1px black;
      z-index: 100;
      background-color: #01233E; /*fond de l'onglet actif*/
    }

      .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: white;
      }

    .tabs nav a {
      color: black;
      display: block;
      font-size: 1em;
      line-height: 1.75em;
      padding: 0 0.5em;
      white-space: nowrap;
    }

      .tabs nav a:hover {
        color: grey;
        text-decoration: none;
      }


    .tabs nav li.tab-disable a,
    .tabs nav li.tab-disable a:hover {
      color: #AAAAAA;
      cursor: default;
      pointer-events: none;
    }

    /* Icons */
    .tabs nav a:before {
      display: inline-block;
      vertical-align: middle;
      text-transform: none;
      font-weight: normal;
      font-variant: normal;
      /*font-family: 'icomoon';*/
      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-top: solid 1px #808080;
  margin-top: -5px;
  padding-top: 6px;
}

/* 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;
	}

}*/
