/** url("https://i.imgur.com/HgflTDf.jpg") 50% fixed; ***/

body {
  font-family: "Open Sans", sans-serif;
  height: 100vh;
  /* background: url("../images/Golden Gate.jpg") 50% fixed; 
  background: url("../images/Casadom2.jpg") 50% fixed ;*/
   							
  background-size: cover;
}

@keyframes spinner {
  0% { transform: rotateZ(0deg); }
  100% { transform: rotateZ(359deg); }
}

* {
  box-sizing: border-box;
}


#SSA {
	color: #F8840A;
	font-size: 1.2rem;
}
.wrapper {
  display: flex;
  align-items: center;
  flex-direction: column; 
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 20px;
  background: rgba(darken(#2196F3,40%), 0.85);
}

.login {
  
  border-radius: 2px 2px 5px 5px;
  padding: 10px 20px 20px 20px;
  width: 90%;
  max-width: 320px;
  background: #ffffff;
  position: relative;
  padding-bottom: 10%;
  box-shadow: 0px 1px 5px rgba(0,0,0,0.3);
  
  &.loading {
    button {
      max-height: 100%;
      padding-top: 50px;
      .spinner {
        opacity: 1;
        top: 40%;
      }
    }  
  }
  
  &.ok {
    button {
      background-color: rgb(62, 62, 255);
      .spinner{
        border-radius: 0;
        border-top-color: transparent;
        border-right-color: transparent;
        height: 20px;
        animation: none;
        transform: rotateZ(-45deg);
      }
    }
  }
  
  input {
    display: block;
    padding: 15px 10px;
    margin-bottom: 10px;
    width: 100%;
    border: 1px solid #ddd;
    transition: border-width 0.2s ease;
    border-radius: 2px;
    color: #ccc;
    
    &+ i.fa {
        color: #fff;
      font-size: 1em;
      position: absolute;
      margin-top: -47px;
      opacity: 0;
      left: 0;
      transition: all 0.1s ease-in;
    }
    
    &:focus {
      &+ i.fa {
        opacity: 1;
        left: 30px;
      transition: all 0.25s ease-out;
      }
      outline: none;
      color: #444;
      border-color: #2196F3;
      border-left-width: 35px;
    }
    
  }
  
  a {
   font-size: 0.8em;   
    color: #2196F3;
    text-decoration: none;
  }
  
  .title {
    color: #444;
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0 30px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }
  
  button {
    width: 100%;
    height: 100%;
    padding: 10px 10px;
    background: #2196F3;
    color: #fff;
    display: block;
    border: none;
    margin-top: 20px;
    position: absolute;
    left: 0;
    bottom: 0;
    max-height: 60px;
  	/***border: 0px solid rgba(0,0,0,0.1);
    border-radius: 0 0 2px 2px; **/
    transform: rotateZ(0deg);
    
    transition: all 0.1s ease-out;
      border-bottom-width: 7px;
    
    .spinner {
      display: block;
      width: 40px;
      height: 40px;
      position: absolute;
      border: 4px solid #ffffff;
      border-top-color: rgba(255,255,255,0.3);
      border-radius: 100%;
      left: 50%;
      top: 0;
      opacity: 0;
      margin-left: -20px;
      margin-top: -20px;
      animation: spinner 0.6s infinite linear;
      transition: top 0.3s 0.3s ease,
                opacity 0.3s 0.3s ease,
                border-radius 0.3s ease;
      box-shadow: 0px 1px 0px rgba(0,0,0,0.2);
    }
    
  }
  
    &:not(.loading) button:hover {
      box-shadow: 0px 1px 3px #2196F3;
    }
    &:not(.loading) button:focus {
      border-bottom-width: 4px;
    }
    
  
}

footer {
  display: block;
  padding-top: 50px;
  text-align: center;
  color: #ddd;
  font-weight: normal;
  text-shadow: 0px -1px 0px rgba(0,0,0,0.2);
  font-size: 0.8em;
  a, a:link {
    color: #fff;
    text-decoration: none;
  }
}

/****************************************
Code pour Boutons de ChoixModule
****************************************/

.bouton1 {
   border-top: 1px solid #96d1f8;
   background: #65a9d7;
   background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7));
   background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
   background: -moz-linear-gradient(top, #3e779d, #65a9d7);
   background: -ms-linear-gradient(top, #3e779d, #65a9d7);
   background: -o-linear-gradient(top, #3e779d, #65a9d7);
   padding: 14.5px 29px;
   -webkit-border-radius: 15px;
   -moz-border-radius: 15px;
   border-radius: 15px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white;
   font-size: 21px;
   font-family: Georgia, serif;
   text-decoration: none;
   vertical-align: middle;
   position: relative;
   
}
.bouton1:hover {
   border-top-color: #28597a;
   background: #28597a;
   color: #ccc;
}
.bouton1:active {
   border-top-color: #1b435e;
   background: #1b435e;
}

.bouton2 {
   border-top: 1px solid #96d1f8;
   background: #ae4bc2;
   background: -webkit-gradient(linear, left top, left bottom, from(#d43577), to(#ae4bc2));
   background: -webkit-linear-gradient(top, #d43577, #ae4bc2);
   background: -moz-linear-gradient(top, #d43577, #ae4bc2);
   background: -ms-linear-gradient(top, #d43577, #ae4bc2);
   background: -o-linear-gradient(top, #d43577, #ae4bc2);
   padding: 14.5px 29px;
   -webkit-border-radius: 15px;
   -moz-border-radius: 15px;
   border-radius: 15px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white;
   font-size: 21px;
   font-family: Georgia, serif;
   text-decoration: none;
   vertical-align: middle;
   position: relative;
   
}
.bouton2:hover {
   border-top-color: #782a28;
   background: #782a28;
   color: #ccc;
}
.bouton2:active {
   border-top-color: #1b435e;
   background: #1b435e;
}

.bouton3 {
   border-top: 1px solid #96d1f8;
   background: #26873c;
   background: -webkit-gradient(linear, left top, left bottom, from(#27f25d), to(#26873c));
   background: -webkit-linear-gradient(top, #27f25d, #26873c);
   background: -moz-linear-gradient(top, #27f25d, #26873c);
   background: -ms-linear-gradient(top, #27f25d, #26873c);
   background: -o-linear-gradient(top, #27f25d, #26873c);
   padding: 14.5px 29px;
   -webkit-border-radius: 15px;
   -moz-border-radius: 15px;
   border-radius: 15px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white;
   font-size: 21px;
   font-family: Georgia, serif;
   text-decoration: none;
   vertical-align: middle;
   position: relative;
   
}
.bouton3:hover {
   border-top-color: #1b4709;
   background: #1b4709;
   color: #ccc;
}

.bouton3:active {
   border-top-color: #1b435e;
   background: #1b435e;
}

#ChoixModule {
	padding-right: 30px;
	align-content: center;	
}


.but3 {
	background: url(../images/PFR.png);
	background-repeat: no-repeat;
	width: 210px;
	height: 210px;
	border: none ;
	margin-left: 22px;
	margin-right: 37px;
	margin-top: 10px;
	outline-color: white;
}

.but1 {
	background: url(../images/ACC.png);
	background-repeat: no-repeat;
	width: 210px;
	height: 210px;
	border: none;
	margin-left: 8px;	
	margin-right: 37px;
	margin-top: 10px;
}

.but2 {
	background: url(../images/ADJ.png);
	background-repeat: no-repeat;
	width: 210px;
	height: 210px;
	border: none ;
	margin-left: 30px;
	margin-right: 22px;
	margin-top: 10px;
}

.but6 {
	background: url(../images/reporting_1.png);
	background-repeat: no-repeat;
	width: 210px;
	height: 210px;
	border: none;
	margin-right: 37px;
	margin-left: 22px;
	margin-top: 10px;	
}

.but5 {
	background: url(../images/todolist_1.png);
	background-repeat: no-repeat;
	width: 210px;
	height: 210px;
	border: none;
	margin-left: 8px;
	margin-right: 0px;
	margin-top: 10px;
}



.but4 {
	background: url(../images/preinscription1.png);
	background-repeat: no-repeat;
	width: 210px;
	height: 210px;
	border: none;
	margin-left: 30px;
	margin-right: 22px;
	outline-color: white;
}
.but4:hover {
	background: url(../images/preinscription2.png);
	background-repeat: no-repeat;
	border: none;
}

.but1:hover {
	background: url(../images/ACC2mage4.png);
	background-repeat: no-repeat;
	border: none ;
}

.but2:hover {
	background: url(../images/ADJ2.png);
	background-repeat: no-repeat;
	border: none ;
}

.but3:hover {
	background: url(../images/PFR2.png);
	background-repeat: no-repeat;
	border: none ;
}

.but5:hover {
	background: url(../images/todolist2.png);
	background-repeat: no-repeat;
	border: none;
}

.but6:hover {
	background: url(../images/reporting_2.png);
	background-repeat: no-repeat;
	border: none;
}
.no-close .ui-dialog-titlebar{
	display: none;
}

.ui-widget-overlay {
  opacity: .85 !important; /* Make sure to change both of these, as IE only sees the second one */
  filter: Alpha(Opacity=85) !important;

  background: rgb(255, 255, 255) !important; /* This will make it darker */
}






