/*
 ========================================================================== 
 ---------- Complement pour la feuille de style des web services ----------
 ---------- du portail VO-SSP, dedie au service SsoDNet          ---------- 
 ==========================================================================
*/

div.ssodnet-link {
  position: absolute;
  top: 1em;
  right: 1em;
  margin: 0 auto;
}

.directlink span.btn-lnk {
  display: block;
  margin: 0 auto;
  height: 3rem;
  width: 3rem;
  text-align: center;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 2rem;
  transition: all .3s;
}

.directlink span.btn-lnk.one {
  background-image: url('/webservices/share/img/ic_ssodnet.svg');
}

section.target {
  text-align: left;
  margin: 1em auto;
}

section.target a {
  text-decoration: underline;
}

section.target > dl {
  margin: 1rem;
}

section.target dl > dt {
  font-weight: 600;
  font-size: 1.5em;
}

section.target dl > dd {
  padding-top: 1em;
  padding-left: 2em;
}

section.target dd.smaller {
  font-size: smaller;
}

section.target dd.compact {
  line-height: 1em;
}

section.error {
  color: red;
}

span.aliases {
  max-width: 30em;
  display: inline-block;
  vertical-align: top;
}

#ssodnet-data table {
  margin: 1em;
  border-collapse: collapse;
  width: 98%;
}

#ssodnet-data tr {
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

#ssodnet-data tr.pair {
  color: #000000;
  background-color: #fff;
  white-space: normal;
}

#ssodnet-data tr.impair {
  color: #000000;
  background-color: #fff;
  white-space: normal;
}

#ssodnet-data th {
  color: #fff;
  background-color: hsla(23, 16%, 15%, .75);
  padding: 4px 8px;
  border-collapse: collapse;
}

#ssodnet-data th.subtitle {
  font-size: smaller;
  padding: 2px 4px;
}

#ssodnet-data td {
  border: 1px solid #ccd;
  border-collapse: collapse;
  padding: 2px;
}

#ssodnet-data fieldset {
  margin: 1em;
  border: none;
}

#ssodnet-data fieldset > legend {
  margin-left: 1em;
  padding: 0.1em 0.5em;
  font-weight: bold;
  border: thin solid #c1c5ff;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  background-color: #eeeeee;
}

#ssodnet-data a.info span {
  position: absolute;
  top: -2000em;
  left: -2000em;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: #DDEEFF; /* Définition du fond, sinon on a le même que le lien */
  border: 1px solid #6699FF; /* Définition des bordures */
  z-index: 6000;
  -moz-border-radius: 6px; 
  -webkit-border-radius: 6px;
  border-radius: 6px;
}

#ssodnet-data a.info:hover {
  border: 0; /* ligne qui corrige le bug d'IE6 et inférieur */
  cursor: help;
}

#ssodnet-data a.info:hover span,a.info:focus span,a.info:active span {
  top: 1.5em;
  left: auto;
  width: 30em;
  height: auto;
  overflow: visible;
  padding: 5px;
  color: #19549E;
  /*  border: 1px outset #bbb; */
  background-color: #ececec;
  text-decoration: none;
  text-align: left;
  font-size: 0.9em;
}

div.dtable {
  width: 100%;
  max-height: 20em;
  overflow: scroll;
  border: thin solid hsla(23, 16%, 15%, .15);
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  margin: 1.5em 0;
}

.popup {
  position: relative;
  display: inline-block;
  cursor: help;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.popup .popupMsg {
  visibility: hidden;
  width: 200px;
  font-size: x-small;
  line-height: 1.2em;
  background-color: #666;
  color: #fff;
  text-align: center;
  -moz-border-radius: 6px; 
  -webkit-border-radius: 6px;
  border-radius: 6px;
  padding: 8px 1px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
}

/* Popup arrow */
.popup .popupMsg::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #666 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

