body {
	height: 100%;
	min-width:320px;
	background-color: #f9f9f9;
}
header {
	line-height: 60px;
	background-color: #312782;
}
@media screen and (max-width: 640px) {
article {
	margin-top:0;
    border:0;
}
.logo{
    margin: 0;
    width: 150px;
}
}
@media screen and (min-width: 641px) {
article {
    margin-top: 8%;
    padding: 15px 40px 40px !important;
    border: #ccc 1px solid;
    border-radius: 5px;
    box-shadow: 5px 8px 12px #bbb;
    background-color: #fff;
}
.logo{
    margin: 20px 0;
    width:200px;
}
}
button {
	margin-top: 30px;
}
footer {
	color: #fff;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background-color: #312782;
}
.ico-groups {
  position: relative;
  text-align: left;
}
.ico-groups .ico{
  position: absolute;
  margin:10px;
  width:20px;
  height:20px;
  color: #666;
  background-image:url(../img/icon.png);
  background-repeat: no-repeat;
}
.ico-lang {
  background-position: -24px 2px;
}
.ico-password{
  background-position: -48px 2px;
}
.ico-groups .ico-text {
  height: 40px;
  padding-left: 42px;
}
.country {
    border: 1px solid #ccc;
    border-radius: 4px;
}
.country .caret {
    float: right;
    margin-right: 4px;
    margin-top: 17px;
}
.country .ico-text {
  padding: 0px;
  padding-left: 42px;
}
.country .form-control {
    border: none;
}
.country .dropdown {
    line-height: 40px;
}
ul.dropdown-menu {
    left:-42px;
    right: 0;
}
.dropdown-menu > li > a {
    padding-left:42px;
}
@-webkit-keyframes flipInX {
    0% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        -webkit-transition-timing-function: ease-in;
        transition-timing-function: ease-in;
        opacity: 0;
    }
    
    40% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        -webkit-transition-timing-function: ease-in;
        transition-timing-function: ease-in;
    }
    
    60% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }
    
    80% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
    
    100% {
        -webkit-transform: perspective(400px);
        transform: perspective(400px);
    }
}

@keyframes flipInX {
    0% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        -webkit-transition-timing-function: ease-in;
        transition-timing-function: ease-in;
        opacity: 0;
    }
    
    40% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        -webkit-transition-timing-function: ease-in;
        transition-timing-function: ease-in;
    }
    
    60% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }
    
    80% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
    
    100% {
        -webkit-transform: perspective(400px);
        transform: perspective(400px);
    }
}

.flipInX {
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
    -webkit-animation-name: flipInX;
    animation-name: flipInX;
    -webkit-animation-duration: 2s;
    -o-animation-duration: 2s;
    animation-duration: 2s;

}
