/**
 * Copyright (C) 2000 - 2024 Silverpeas
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * As a special exception to the terms and conditions of version 3.0 of
 * the GPL, you may redistribute this Program in connection with Free/Libre
 * Open Source Software ("FLOSS") applications as described in Silverpeas's
 * FLOSS exception.  You should have received a copy of the text describing
 * the FLOSS exception, and it is also available here:
 * "https://www.silverpeas.org/legal/floss_exception.html"
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
/* CSS Document */

* {
  margin: 0px;
  padding: 0px;
  border: none;
}

body {
  background-color: #e6e6e6;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  color: #666666;
  text-align: center;
}

#top {
  background-color:#7eb73b;
  height: 35px;
  margin-bottom: 40px;
  color: #000000;
  line-height: 35px;
  font-size: 1.25em;
}

#top a {
  color: #000000;
}

.clear {
  clear: both;
}

.page,
#login-socialnetwork {
  margin: 0px auto;
  width: 960px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.page {
  padding-top: 31px;
  margin-top: 60px;
}

#login-socialnetwork {
  text-align: left;
  padding-left: 185px;
  width: calc( 960px - 185px );
  z-index: 3;
  margin-bottom: -156px;
  padding-bottom: 27px;
  background: transparent url("util/icons/external/deco-login-btn.png") 191px bottom no-repeat;
}

#login-socialnetwork a {
  display: block;
  clear: left;
  width: 164px;
  padding-left: 30px;
}

#background {
  min-height: 424px;
}

#background .submit {
  color: #2a2a2a;
  text-decoration: none;
  font-weight: bold;
}

#backgroundBig {
  min-height: 524px;
}

#backgroundBig .submit {
  font-weight: bold;
}

.cadre {
  margin: 0 auto 1.25em auto;
  padding: 30px 1.25em 1.25em;
  width:460px;
  border:6px solid #d2d2d2;
  border-bottom:0;
  background-color: #FFF;
  border-radius:1em 1em 0 0;
  box-shadow: 0px 5px 5px rgba(0,0,0,0.5);
}

#self-registration .cadre {
  width:calc( 600px + 2.5em );
}

div.form-registration {
  text-align: left;
}

.form-registration > div {
  display: flex;
  margin:1em ;
}
.form-registration > div label {
  flex-basis: 10em;
}

input {
  background-color: #FAFAFA;
  border: 1px solid #DAD9D9;
  display: block;
  padding: 5px;
  width: 448px;
  text-align: left;
}

select {
  background-color: #fafafa;
  border: 1px solid #dad9d9;
  padding: 5px;
  width: 250px;
  text-align: left;
  float: left;
}

select option {
  text-align: left;
}

.titre {
  color: #3a3a3a;
  font-family: Arial, Helvetica, sans-serif;
  font-size:4em;
}

#header {
  margin-bottom: 18px;
}

.logo {
  float: left;
}

.information {
  float: right;
  margin-top: 30px;
  font-size: 14px;
  text-align: left;
}

.information span {
  color: red;
}

p label {
  display: block;
  margin-bottom: 10px;
}

p label span {
  display: block;
  padding: 4px 0px 2px 0px;
  font-size: 11px;
  font-weight: bold;
  color: #333333;
  text-align: left;
}

#formLogin .submit {
  position: relative;
  text-align: left;
  top: -10px;
}

#formLogin .submitWithOneDomain {
  position: relative;
  text-align: left;
  margin-bottom: 10px;
  margin-top: 20px;
}

.caractere {
  height: 44px;
}

.noDisplay {
  display: none;
}

.forgottenPwd a ,
.rememberPwd ,
.changePwd,
.passwordRules ,
.passwordRules a {
  color:#2143e3;
}

.passwordRules {
  margin:1em 0;
  display: block;
}

#storePassword {
  background-color: transparent;
  border: 0px;
  display: inline;
  padding-bottom: 0px;
  width: 15px;
  text-align: left;
  vertical-align: middle;
  margin-left: 5px;
}

.questionSelection {
  float: right;
  margin-top: 10px;
  font-size: 14px;
  text-align: left;
  width: 300px;
}

#question {
  width: 400px;
}

.fnfinformation {
  font-size: 14px;
  text-align: left;
  clear: left;
  padding: 2em 1em;
}

.fnfinformation ul li {
  padding-left: 5px;
  margin-left: 25px;
  text-align: left;
}

a.submit:not(:has(img)), a.submitWithOneDomain,
button{
  background: linear-gradient(0deg, rgba(221,221,221,1) 0%, rgba(255,255,255,1) 100%); 
  border-radius: 0.5em;
  border:1px solid #CDCDCD;
  display: inline-block;
  padding:0.5em 1em ;
  text-decoration: none;
  color: #2a2a2a;
}
button#btn-register:hover,
button#btn-register:focus {
  cursor: pointer;
  background: linear-gradient(180deg, rgba(221,221,221,1) 0%, rgba(255,255,255,1) 100%); 
 
}

a.submit:not(:has(img)):before {
  display: inline-block;
  content:'';
  width:1.25em;
  height:1.25em;
  background:transparent url("images/arrow-right.svg") center center no-repeat;
  background-size: 100% 100%;
  vertical-align: middle;
  margin-right: 0.25em;
}

a.submit.validate:before, a.submitWithOneDomain.validate:before{
  display: inline-block;
  content:'';
  width:1.25em;
  height:1.25em;
  background:transparent url("images/validate.svg") center center no-repeat;
  background-size: auto 125%;
  vertical-align: middle;
  margin-right: 0.25em;
 }

a.submit.refused:before, a.submitWithOneDomain.refused:before{
  display: inline-block;
  content:'';
  width:1.25em;
  height:1.25em;
  background:transparent url("images/refused.svg") center center no-repeat;
  background-size: auto 90%;
  vertical-align: middle;
  margin-right: 0.25em;
}


a.submit span span, a.submitWithOneDomain span span {
  color: #2a2a2a;
  font-size: 12px;
  text-decoration: none !important;
}

#content-terms-of-service {
  clear: both;
  float: none;
  height: 271px;
  overflow: auto;
  text-align: left;
  padding-top: 1em;
}

#content-terms-of-service * {
  text-align: left;
}

#self-registration #identity-template legend {
  display: none;
}

#self-registration #identity-template li {
  list-style-type: none;
}

.sliderContainer{
  height:40px;
}
