body {
  font-family: "Open Sans", Arial, sans-serif;
  height: calc(100vh - 31px - 50px);
}

.wrapper a, .wrapper a:hover {
  color: #92badd;
  display:inline-block;
  text-decoration: none;
  font-weight: 400;
}

a, a:hover{
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}


/* STRUCTURE */

.wrapper {
  display: flex;
  align-items: center;
  flex-direction: column; 
  justify-content: center;
  width: 100%;
  height: calc(100% - 31px - 50px);
  margin-top: calc(31px + 50px);
  padding: 20px;
}

#formContent {
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  position: relative;
  padding: 0px;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  text-align: center;
}

#formFooter {
  background-color: #f6f6f6;
  border-top: 1px solid #dce8f1;
  padding: 25px;
  text-align: center;
  -webkit-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
}



/* TABS */

h2.inactive {
  color: #cccccc;
}

h2.active {
  color: #0d0d0d;
  border-bottom: 2px solid #5fbae9;
}



/* FORM TYPOGRAPHY*/
.remember-me{
  font-weight: normal;
  color: rgb(13, 13, 13);
  cursor: pointer;
}

input[type=button], input[type=submit], input[type=reset]  {
  background-color: rgb(46, 163, 242);
  border: none;
  color: white;
  padding: 15px 80px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  margin: 5px 20px 10px 20px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover  {
  background-color: #39ace7;
}

input[type=button]:active, input[type=submit]:active, input[type=reset]:active  {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}

input[type=text], input[type=password] {
  background-color: #f6f6f6;
  border: none;
  color: #0d0d0d;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  width: 85%;
  border: 2px solid #f6f6f6;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
}

input[type=text]:focus, input[type=password]:focus {
  background-color: #fff;
  border-bottom: 2px solid #5fbae9;
}

input[type=text]:placeholder, input[type=password]:placeholder {
  color: #cccccc;
}

/* OTHERS */

*:focus {
    outline: none;
} 

#error_msg{
  color: rgb(235, 137, 37);
  font-weight: bold;
}

.modal-title, #connection-title{
  font-size: 20px;
  font-weight: bold;
  color: #aaaaaa;
}
#connection-title{
  font-size: 25px;
}

.modal #mdp-telephone{
  margin-right: 30px;
}
.modal #mdp-mail{
  margin-right: 10px;
}

.modal .phone, .modal .mail a{
  color: rgb(46, 163, 242);
}
.modal #mdp-mail a:hover{
  color: rgba(46, 163, 242, 0.6);
  cursor: pointer;
}
.glyphicon{
  margin-right: 5px;
}

#submitSmall{
  display: none;
  width: 50%;
  direction: rtl;
  padding-left: 140px;
}

/*Small devices (landscape phones, 576px and up)*/
@media (max-width: 576px) {
  body{
    margin-top: 50px;
  }
  #header #title{
    font-size: 13px;
    text-align: left;
    margin: 0;
  }
  #header img{
    width: 200px;
  }
  #top-header{
    overflow: hidden;
  }
  #submit{
    display: none;
  }
  .wrapper{
    padding-left: 0;
    padding-right: 0;
  }
  #formContent{
    margin-top: 200px;
  }
  #connection{
    width: 100%;
  }
}

/*Medium devices (tablets, 768px and up)*/
@media (max-width: 768px) {
  body{
    margin-top: 50px;
  }
  #header #title{
    font-size: 15px;
  }
  #header img{
    width: 150px;
  }
  #top-header{
    overflow: hidden;
  }
  #submit{
    display: none;
  }
}