@import url('https://fonts.googleapis.com/css?family=Roboto:300');


@media (min-width: 300px){
  html, body, .modal-content, .col-md-6,div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, input, button, select, textarea {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
  }
  
  * {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
  }
  
  a{
    color: #008080;
  }
  
  body{
    height: 100vh;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
  }
  
  .bg-green{
    background-color: #4CAF50;
    color: #fff;
  }
  
  .bg-teal{
    background-color: #008080;
    color: #fff;
  }
  
  .bg-white{
    background-color: #fff;
    color: #4a525b;
  }
  
  
  #loading-gif{
    display: none;
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.9);
    z-index: 1060;
  }
  
  #loading-gif img{
    position: absolute;
    margin: 0 auto;
    width: 4em;
    height: 4em;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 50;
  }
  .content{
    height: 100vh;
    padding: 1.2em 1.5em 0.5em 1.5em;
  }
  .content .body{
    height: 90%;
  }
  
  img{
    height: 2.5em;
    width: auto;
    margin: auto;
  }
  .greetings{
    margin-top: 2em;
    margin-bottom: 1em;
    text-align: center;
    
  }
  .greetings h1{
    font-size: 1.3em;
    
  }
  .form{
    max-width: 450px;
    margin: auto;
    padding: 0 1.5em;
  }
  
  .form-header{
    padding: 20px 7px;
  }
  .form-header h3{
    font-size: 1.1em;
  }
  
  .form-group{
    margin-bottom: 15px;
  }
  
  .form input, .form select {
    margin: 0 0 .8em 0;
    padding: 0 0 5px 0;
    width: 100%;
    display: block;
    background: transparent;
    border: 0;
    outline: none;
    border-bottom: 1px solid #5A6374;
    font-family: inherit;
    text-align: center;
  }
  
  .form button {
    margin: 10px 0;
    outline: 0;
    border: 0;
    padding: 10px 16px;
    font-size: 18px;
    -webkit-transition: all 0.3 ease;
    transition: all 0.3 ease;
    cursor: pointer;
    border-radius: 28px;
  }
  
  .lg-btn{
    width: 250px
  }
  
  .sm-btn{
    width: 100px
  }
  
  .form ul{
    margin: 15px 0 0;
  }
  
  .form ul li{
    border-right: 1px solid gray;
    text-align: center
  
  }
  .form ul li:last-of-type{
    border-right: none;
  }
  
  .form .message a {
    color:  gray;
    text-decoration: none;
    transition: 0.4s
  }
  
  .form .message a:hover{
    color: #43A047
  }
  
  .form input.error-field{
    border: 1px solid red
  }
  .form-group.required .control-label:after {
    content:" *";
    color:red;
  }
  
  .msg{
    display: block;
    text-align: center;
    font-size: 14px;
    background-color: #fff;
  }
  
  .message-section{
    padding: 10px 0;
  }
  
  p.forget a{
    margin: 0 0 10px 0;
    /*font-size: 1.6rem;*/
    font-weight: 300;
    line-height: 1.38;
  }
  
  p.forget:hover{
    text-decoration: underline;
  }
  
  .modal-header {
    text-align: left;
    padding: 15px 25px;
    /*background: #546E7A;*/
    background: #c9d5db;
    color: #2f3f47;
  }
  
  .modal-content {
    position: relative;
    width: 50%;
    max-width: 450px;
    background: #ECEFF1;
    margin: 150px auto;
    border-radius: 0;
    padding-bottom: 15px;
  
  }
  
  .modal-body{
    padding: 10px 25px;
    color: #2f3f47;
  }
  .modal-body .form label{
    float: left;
  }
  .wrapper label, .greetings >h1, .footer{
    color: #008080;
  }
  
  #register-form, .usernames_parent{
    display: none
  }
  
  
  #activate select{
    padding: 5px;
    width: 200px;
    background-color: transparent;
  }
  .usernames_parent{
    margin: 12px 0;
  }
  
  
  .ui-autocomplete {
    max-height: 100px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    z-index: 10000;
  }
  * html .ui-autocomplete {
    height: 100px;
  }
  .error{
    color: red;
  }
  .success{
    color: #68c3a3;
  }
  
  .footer{
    display: none;
    padding: 7px;
  }
  .footer ul.list-inline>li{
  }
  
  ul.list-inline>li:last-of-type{
  border-right: 0;
  }
}

@media (min-width: 768px){
  
  .content{
    padding: 2em 1.5em 0.8em 1.5em;
  }
  
  img{
    height: 3.5em;
  }
  
  .greetings{
    margin-top:5em;
    margin-bottom: 2em
  }
  .greetings h1{
    font-size: 1.8em;
  }
  .greetings{
    text-align: left;
  }
  .greetings p{
    font-size: 1.2em;
  }
  
  .form-header h3{
    font-size: 1.5em;
  }
  
}

@media (min-width: 992px){
  .greetings h1{
    font-size: 36px;
  }
  .greetings p{
    font-size: 1.5em;
  }
  
  
}

/*@media only screen and (min-device-width: 320px) and (max-device-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {*/

/* .wrapper{*/
/*   zoom: 1.7;*/
/* }*/
 
/* .modal-content{*/
/*   zoom: 1.7;*/
   /*width: 60%;*/
/* }*/
  
/*}*/