﻿body {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #666666;
}

html {
  background: no-repeat url('/_images/common/bg_montagne_desktop.jpg') center center;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.login-logo-alt3 {
  display: inline-block;
  margin: 0 auto;
  vertical-align: middle;
  max-width: 100%;
}

#login-content {
  width: 600px;
  height: auto;
  margin: 100px auto 0px auto;
  padding: 40px 139px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid rgba(204, 204, 204, 1);
  background: url('/_images/common/bg-login.png');
  box-sizing: border-box;
}

#login-box {
  box-sizing: border-box;
  font-size: 1rem;
  margin: 0 auto;
  margin-top: 20px;
  padding: 0 10px;
}

  #login-box > div {
    margin-bottom: 1rem;
  }

  #login-box input {
    width: 100% !important;
    padding: 10px;
    border: 1px solid rgba(204, 204, 204, 1);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 1rem;
    margin-top: 0.25rem;
  }

  #login-box select {
    width: 240px !important;
    padding: 4px;
    border: 1px solid rgba(204, 204, 204, 1);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

.login-error {
  padding: 3px;
  background: #fef4f4;
  border: 1px solid #d15050;
  margin: 10px 0px 20px 0px;
}

  .login-error p {
    margin: 0px;
    color: #000000;
    font-size: 11px;
    line-height: 16px;
  }

#login-footer {
  color: #004681;
  text-align: center;
  font-size: 1rem;
  bottom: 0;
  position: absolute;
  left: 0;
  right: 0;
  margin-bottom: 20px;
}

  #login-footer a, #login-footer a:visited {
    color: #004681;
    text-decoration: none;
  }

    #login-footer a:hover {
      text-decoration: underline;
    }

.select {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.chosen-container {
  width: 85% !important; /* bug chosen qui mets 0px en inline-style si le dropdown est hidden */
}

.chosen-container-active .chosen-single, .chosen-container-active.chosen-with-drop .chosen-single, .chosen-container-single .chosen-single {
  font-size: 1rem;
  padding: 10px !important;
}

  .chosen-container-single .chosen-single div b {
    background-position: 2px 12px !important;
  }

  .chosen-container-active.chosen-with-drop .chosen-single div b {
    background-position: -15px 12px !important;
  }

.chosen-container.chosen-with-drop .chosen-drop {
  padding: 0 5px 5px !important;
}

a.btn-login.btn-login-logo {
  width: 14%;
  height: 0;
  padding: 14% 0 0 0;
  box-sizing: border-box;
  border: 1px solid rgba(204, 204, 204, 1);
  background-color: white;
  position: relative;
  border-radius: 7px;
}

  a.btn-login.btn-login-logo:after {
    content: "";
    display: block;
    width: 100%;
    padding-top: 45%;
    background: url(/_images/btn-refresh-green.png) no-repeat center;
    background-size: contain;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  a.btn-login.btn-login-logo:hover:after {
    background: url(/_images/btn-refresh-white.png) no-repeat center;
    background-size: contain;
  }

.culture_boite {
  width: 100%;
  text-align: right;
  margin: 5px 0;
  padding: 0 20px;
  box-sizing: border-box;
}

  .culture_boite ul {
    padding: 0;
  }

.culture_list li {
  display: inline-block;
}

  .culture_list li label {
    cursor: pointer;
  }

    .culture_list li label:hover {
      text-decoration: underline;
    }

.culture_list .selected-culture label {
  cursor: default;
}

  .culture_list .selected-culture label:hover {
    text-decoration: none;
  }

.culture_list li:first-child:after {
  content: ' | ';
}

.culture-item {
  line-height: 8px;
  color: #004681;
  cursor: pointer;
}

.selected-culture {
  font-weight: bold;
  text-decoration: none;
}

.culture-item input[type="radio"] {
  display: none;
}

a.btn-login {
  background: #005dab;
  color: #fff;
  padding: 15px 15px;
  display: block;
  text-align: center;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: normal;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

  a.btn-login:hover {
    background: #8cc63f;
  }

#btnLogin, #btnQuickLogin {
  display: block;
  width: 100%;
}

#loading-div {
  display: flex;
  align-items: center;
  justify-content: center;
}

  #loading-div img {
    padding-right: 15px
  }

#optimal-performance {
  width: 600px;
  margin: 0 auto;
  background: #D5EAB9;
  padding: 7px 20px;
  box-sizing: border-box;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border: 1px solid rgba(204, 204, 204, 1);
  border-top-width: 0;
  font-size: 0.875rem;
  line-height: 1rem;
  color: black;
}

  #optimal-performance p {
    max-width: 360px;
  }

.fake-link {
  color: #004681;
  cursor: pointer;
}

  .fake-link:hover {
    text-decoration: underline;
  }

.flexPassword {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

  .flexPassword label {
    display: inline-block;
    width: inherit;
  }

.forgot-password {
  font-size: 0.75rem;
}
