﻿
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.field-validation-error {
  display: block;
}
.field-validation-valid
{
    display: none;
}
.validation-summary-valid
{
    display: none;
}

body {
  /*box-shadow: inset 0 0 10px #777;*/
  background-color: #f8f8f8;
  font-family: Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: #12368C;
}
 
/* désactiver l'oeil dans IE */
input[type=password]::-ms-reveal,
input[type=password]::-ms-clear
{
    display: none;
}


.bg-premier-acces {
  background-image: url("../Images/premier-acces.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover; 
}

#logo-app {
  height: 32px;
  width: 94px;
  background: url("../Images/logo-uqar.svg") no-repeat;
  background-size: cover;
  float: left;
}

#titre-app {
  font-size: 22px;
  font-weight: bold;
  float: right;
}

/* Navbar */

.navbar {
  min-height: 40px;
}


.navbar-custom {
  background-color: #EEF4F9;
  border: none;
  border-radius: 1px;
}

.navbar-custom .nav-link {
  color: #12368C;
}
.navbar-custom .nav-link:hover
{
  color:#0d6efd;
}

.nav-link.active {
  color: #0d6efd !important;
  font-weight: bold;
}


@media (min-width: 992px) {
    .navbar-custom .nav-item.dropdown .dropdown-menu {
        background-color: white !important;
    }
}

.navbar .nav-item.dropdown .dropdown-menu[data-bs-popper] {
    right: 0;
    left: auto;
}

.navbar .nav-item.dropdown .dropdown-menu .dropdown-item:hover {
    color: #0d6efd !important;
    background-color: inherit !important;
}

.fa-2x {
  font-size: 2em;
}

.card {
    max-width:800px;
    margin: auto;
}

div.input-group {
    padding-bottom: 5px;
}

label.form-control-label {
    padding-bottom: 0.5em;
    font-weight: 700;
}

span.field-validation-error {
    padding-left: 5px;
}

#wrapper {
  min-height: 100%;
  position: relative;
}

#header {
  text-align: center;
  padding: 10px 20px;
  box-shadow: 0 0 20px #333;
  overflow: auto;
  color: #fff;
  background-image: none;
  background-color: #12368C;
}

/*
#content {
  padding: 5px;
  padding-bottom: 50px; /* hauteur du pied de page 
  min-height: 300px;
}

@media(min-width:768px) {
    #content {
        padding: 30px;
    }
    .nav-link { 
      padding-top: 0px;
      padding-bottom: 0px;
    }
    #nav-services {
      float: right;
      margin-right: 100px;
    }
}*/

#footer {
  background-image: none;
  background-color: #12368C;
  width: 100%;
  height: 50px;
  position: absolute;
  bottom: 0;
  left: 0;
  text-align: center;
  padding: 15px;
  color: #fff; 
  border-top: 1px solid #000;
  box-shadow: 0 0 20px #333;
}

/* Boutons */
.btn-primary {
  background-image: none;
  background-color: #12368C !important;
  border-color: #12368C !important;
}
.btn-primary:hover {
  background-image: none;
  background-color: #09f !important;
  border-color: #09f !important;
}

.font-mono {
  font-family: "Lucida Console", Monaco, Courier, monospace;
}

.alert-info.transparent {
  background-color: rgba(217, 237, 247, 0.85);
}

.alert-danger.transparent {
  background-color: rgba(242, 222, 222, 0.85);
}

.alert-warning.transparent {
  background-color: rgba(252, 248, 227, 0.85);
}

/* AppEnMaint */

#AppEnMaint {
  padding: 20px;
}

@media(min-width:700px) {
  #AppEnMaint {
    width: 700px;
    margin: auto;
  }
}

/* Page d'erreur */

#erreur {
  margin: 15px auto;
  max-width: 800px;
}

#erreur .alert .fa {
  display: table-cell;
}

#erreur .alert .titre {
  padding-left: 5px;
  display: table-cell;
  padding-bottom: 10px;
}

.erreur-icone {
  width: 80px;
  float: left;
  color: #b40500;
  font-size: 20px;
}

.erreur-contenu {
  margin-left: 90px;
}

.erreur-code {
  font-family: Georgia, Times New Roman, Times, serif;
  font-weight: bold;
  font-size: 36px;
  color: #ddd;
  padding: 10px 0;
  text-align: right;
}

.erreur-titre {
  color: #b40500;
  font-size: 36px;
  font-weight: bold;
}

.erreur-message {
  margin-top: 10px;
}

.erreur-details {
  font-family: "Courier New", Courier, monospace;
  padding: 5px;
  max-height: 340px;
  overflow: auto;
  font-size: 0.8em;
}

.erreur-details-contenu {
  width: 1200px;
}

/* Erreur NAS */

 .erreur-nas-titre {
  color: #b40500;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
 }

/* Accueil */

.panel-accueil {
  margin: 20px auto 60px auto;
  max-width: 620px;
}

.margin-bottom {
  margin-bottom: 20px;
}

.margin-top {
  margin-top: 20px;
}

/* Premier accès */

.panel-premier-acces {
  margin: 0 auto 60px auto;
  max-width: 620px;
}

.compte-contenu {
  text-align: center;
  margin: 20px 0;
}

.titre-compte {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.1;
  margin-top: 20px;
  margin-bottom: 20px;
}

.compte {
  margin: 20px 0;
}

.compte span {
  font-size: 2em;  
  border: solid 2px #ccc;
  border-radius: 4px;
  padding: 5px 15px;
}

.note-delai {
  margin-top: 20px;
}

/* Changement de mot de passe */
.panel-chg-motpasse {
  margin: 0 auto 60px auto;
  max-width: 620px;
}

.lienpremieracces {
  margin-top: -10px;
  margin-bottom: 10px;
  font-size: 12px;
}

/* Aide */
.panel-aide {
  margin: 0 auto 60px auto;
  max-width: 620px;
}

/* Validations */

.field-validation-error {
  color: red;
  position: relative;
  left: 16px;
}

.field-validation-error:before {
  color: red;
  content: "\f06a";
  font-family: FontAwesome;
  left: -15px;
  position: absolute;
  top: -2px;
}

.validation-summary-errors {
  color: red;
}

.validation-summary-errors ul {
  padding-left: 15px;  
  list-style-type: none;
}

.validation-summary-errors > ul > li:before {
  content: "\f06a";
  font-family: FontAwesome;
  margin:0 5px 0 -15px;
}

/* bootbox */

.bootbox-erreur .modal-title {
  color: #a94442;
  font-size: 1em;
}

.bootbox-erreur .modal-title i {
  padding-right: 8px;
}

.bootbox-erreur .modal-title span {
  font-size: 1.5em;
  position: relative;
  top: -2px;
}

/* Classes pour animations du chargement */
.spinner {
  margin: 50px auto 0;
  width: 120px;
  text-align: center;
}

.spinner > div {
  width: 20px;
  height: 20px;
  background-color: #333;
  margin: 5px;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.64s;
  animation-delay: -0.64s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce3 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}
