/* Base styles */

*, *:after, *:before {
  box-sizing: border-box;
}
html {
  font-size: 100%;
  line-height: 1.5;
  height: 100%;
}

body {
  position: relative;
  margin: 0;
  font-family: 'Work Sans', Arial, Helvetica, sans-serif;
  min-height: 100%;
 /* background: linear-gradient(to bottom, #68EACC 0%, #497BE8 100%);*/
 background:#2a3f54;
  color: #000;
  
}

img {
  vertical-align: middle;
  max-width: 100%;
}
button {
  cursor: pointer;
  border: 0;
  padding: 0;
  background-color: transparent;
}

/* Container */
.container {
  position: absolute;
  width: 24em;
  left: 50%;
  top: 50%;
  background-color : transparent;
	border-radius:10px;
	border:2px solid #fff;
	
  /*left: 35%;
  top: 20%;*/
 
  padding:15px 0 5px 0;
  transform: translate(-50%,-50%);
  animation: intro .7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  
  -webkit-box-shadow: 2px 3px 10px #fff;
-moz-box-shadow: 2px 3px 10px #fff;
box-shadow: 2px 3px 10px #fff;
}

/* Profile Card */
.profile {
  position: relative;
}
.profile--open {
	height:260px;
}
.profile--open .profile__form {
  visibility: visible;
  height: auto;
  opacity: 1;
  transform: translateY(-6em);
  padding-top: 12em;
}
.profile--open .profile__fields {
  opacity: 1;
  visibility: visible;
}
.profile--open .profile__avatar {
  transform: translate(-50%, -1.5em);
 /* border-radius: 50%;*/
}
.profile__form {
  position: relative;
 /* background: white;*/
  visibility: hidden;
  opacity: 0;
  height: 0;
  padding: 3em;
  border-radius: .25em;
  -webkit-filter: drop-shadow(0 0 2em rgba(0,0,0,0.2));
  transition: 
    opacity .4s ease-in-out,
    height .4s ease-in-out,
    transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    padding .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.profile__fields {
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align:center;
}
.profile__avatar {
  position: absolute;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
/*  border-radius: 1.25em;*/
  overflow: hidden;
  width: 9em;
  height: 9em;
  display: block;
  transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform;
 
}
.profile__avatar:focus {
  outline: 0;
  
}
.profile__footer {
  padding-top: 1em;
}


/* Form */
.field {
  position: relative;
  margin-bottom: 2em;
}
.label {
  position: absolute;
  height: 2rem;
  line-height: 2rem;
  bottom: 0;
  color: #fff;
  transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight:500;
  font-size:24px;
}
.input {
  width: 100%;
  font-size: 100%;
  border: 0;
  padding: 0;
  background-color: transparent;
  height: 2rem;
  line-height: 2rem;
  border-bottom: 1px solid #eee;
  color: #fff;
  transition: all .2s ease-in;
}
.input:focus {
  outline: 0;
  border-color: #ccc;
}

/* Using required and a faux pattern to see if input has text from http://stackoverflow.com/questions/16952526/detect-if-an-input-has-text-in-it-using-css */
.input:focus + .label,
input:valid + .label {
  transform: translateY(-100%);
  font-size: 0.75rem;
  color: #FFF;
}

/* Button */
.log_btn {
  border: 0;
  font-size: 0.75rem;
  height: 2.5rem;
  line-height: 2.5rem;
  padding: 0 1.5rem;
  color: white;
  background: #8E49E8;
  text-transform: uppercase;
  border-radius: .25rem;
  letter-spacing: .2em;
  transition: background .2s;
}
.log_btn:focus {
  outline: 0;
}
.log_btn:hover,
.log_btn:focus {
  background: #A678E2;
}


.ui-helper-hidden-accessible
{
display:none;	
}
		
.ui-menu-item
{
z-index:9999;
list-style:none;
margin-left:-40px;
background:#FFF;
color:#00F !important;	
width:180px !important;
}


/* Intro animation */
@keyframes intro {
  from {
    opacity: 0;
    top: 0;
  }
  to {
    opacity: 1;
    top: 50%;
  }
}


@media(max-width:400px) {
	
body {
  position: relative;
  margin: 0;
  font-family: 'Work Sans', Arial, Helvetica, sans-serif;
  background: #2a3f54;
  color: #000;
}
img {
  vertical-align: middle;
  max-width: 100%;
}
button {
  cursor: pointer;
  border: 0;
  padding: 0;
  background-color: transparent;
}

/* Container */
.container {
  position: absolute;
  /*top: 20%;*/
  transform: translate(-50%,-50%);
  animation: intro .7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  width:95% !important;
}

/* Profile Card */
.profile {
  position: relative;
}
.profile--open {
}
.profile--open .profile__form {
  visibility: visible;
  height: auto;
  opacity: 1;
  transform: translateY(-6em);
  padding-top: 11em;
}
.profile--open .profile__fields {
  opacity: 1;
  visibility: visible;
}
.profile--open .profile__avatar {
  transform: translate(-50%, -1.5em);
  margin-top: -20px !important;
  width:85px;
 /* border-radius: 50%;*/
}
.login_msg{
margin-top: 40px;
margin-left: 56px;
}
.profile__form {
  position: relative;
 /* background: white;*/
  visibility: hidden;
  opacity: 0;
  height: 0;
  padding: 1em;
  border-radius: .25em;
  -webkit-filter: drop-shadow(0 0 2em rgba(0,0,0,0.2));
  transition: 
    opacity .4s ease-in-out,
    height .4s ease-in-out,
    transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    padding .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.profile__fields {
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  
}
.profile__avatar {
  position: absolute;
  z-index: 1;
  left: 60%;
  transform: translateX(-50%);
/*  border-radius: 1.25em;*/
  overflow: hidden;
  width: 9em;
  height: 9em;
  display: block;
  transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform;
 
}
.profile__avatar:focus {
  outline: 0;
  
}
.profile__footer {
  padding-top: 1em;
}


/* Form */
.field {
  position: relative;
  margin-bottom: 2em;
}
.label {
  position: absolute;
  height: 1rem;
  line-height: 1rem;
  bottom: 0;
  color: #FFF;
  transition: all .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight:500;
  font-size:20px;
}
.input {
  width: 100%;
  font-size: 24px;
  border: 0;
  padding: 0;
  background-color: transparent;
  height: 3rem;
  line-height: 2rem;
  border-bottom: 1px solid #eee;
  color: #FFF;
  transition: all .2s ease-in;
}
.input:focus {
  outline: 0;
  border-color: #ccc;
}

/* Using required and a faux pattern to see if input has text from http://stackoverflow.com/questions/16952526/detect-if-an-input-has-text-in-it-using-css */
.input:focus + .label,
input:valid + .label {
  transform: translateY(-100%);
  font-size: 0.75rem;
  color: #FFF;
}

/* Button */
.log_btn {
  border: 0;
  font-size: 0.75rem;
  height: 2.5rem;
  line-height: 2.5rem;
  padding: 0 1.5rem;
  color: white;
  background: #8E49E8;
  text-transform: uppercase;
  border-radius: .25rem;
  letter-spacing: .2em;
  transition: background .2s;
}
.log_btn:focus {
  outline: 0;
}
.log_btn:hover,
.log_btn:focus {
  background: #A678E2;
}


.ui-helper-hidden-accessible
{
display:none;	
}
		
.ui-menu-item
{
z-index:9999;
list-style:none;
margin-left:-40px;
background:#FFF;
color:#00F !important;	
width:180px !important;
}



}

