#login{width: 400px; padding: 14px; margin: 200px auto; background-color: #fff;}
#login a{text-decoration: none;}
#login .form{}
#login .form .form-line{border-bottom: 1px solid #eee; margin: 0 0 5px 0;}
#login .form .form-line label{position: absolute; font-size: 12px; color: #aaa; width: 400px; background-color: #ffffff;}
#login .form .form-line input[type="text"], #login .form .form-line input[type="password"]
{display: block; width: 100%; margin: 0; padding: 20px 0px 5px; font-size: 14px; color: #38414c; font-weight: 300; font-family: 'Open Sans', sans-serif; border: none;}
#login .form .form-line textarea
{display: block; width: 100%; margin: 0; padding: 20px 0px 5px; font-size: 14px; color: #38414c; font-weight: 300; font-family: 'Open Sans', sans-serif; border: none;}

#login .logo{width: 428px; position: absolute; margin: -150px 0 0 -14px; height: 120px; }


* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  font-family: arial;
}

html, body
{
	min-height: 100%;
}

body {
  /*background: url('images/background.jpg');*/  
   	background: #497BE8;
    background: -webkit-linear-gradient(#68EACC, #497BE8); 
    background: -o-linear-gradient(#68EACC, #497BE8); 
    background: -moz-linear-gradient(#68EACC, #497BE8);
    background: linear-gradient(#68EACC, #497BE8);
}

 @-webkit-keyframes background {
    0%{background-position:50% 0%}
    50%{background-position:50% 100%}
    100%{background-position:50% 0%}
}
@-moz-keyframes background {
    0%{background-position:50% 0%}
    50%{background-position:50% 100%}
    100%{background-position:50% 0%}
}
@-o-keyframes background {
    0%{background-position:50% 0%}
    50%{background-position:50% 100%}
    100%{background-position:50% 0%}
}
@keyframes background {
    0%{background-position:50% 0%}
    50%{background-position:50% 100%}
    100%{background-position:50% 0%}
}

h1 {
  color: #ccc;
  text-align: center;
  font-family: 'Vibur', cursive;
  font-size: 50px;
}

.login-form {
  width: 400px;
  padding: 40px 30px;
  background: #eee;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.form-group {
  position: relative;
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  height: 50px;
  border: none;
  padding: 5px 7px 5px 15px;
  background: #fff;
  color: #666;
  border: 2px solid #ddd;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.form-control:focus, .form-control:focus + .fa {
  border-color: #10CE88;
  color: #10CE88;
}

.form-group .fa {
  position: absolute;
  right: 15px;
  top: 17px;
  color: #999;
}

.log-status.wrong-entry {
  -moz-animation: wrong-log 0.3s;
  -webkit-animation: wrong-log 0.3s;
  animation: wrong-log 0.3s;
}

.log-status.wrong-entry .form-control, .wrong-entry .form-control + .fa {
  border-color: #ed1c24;
  color: #ed1c24;
}

.log-btn {
  background: #0AC986;
  display: inline-block;
  width: 100%;
  font-size: 16px;
  height: 50px;
  color: #fff;
  text-decoration: none;
  border: none;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.link {
  text-decoration: none;
  color: #8C918F;
  float: right;
  font-size: 12px;
  margin-bottom: 15px;
}
.link:hover {
  text-decoration: underline;
  color: #8C918F;
}

@-moz-keyframes wrong-log {
  0%, 100% {
    left: 0px;
  }
  20% , 60% {
    left: 15px;
  }
  40% , 80% {
    left: -15px;
  }
}
@-webkit-keyframes wrong-log {
  0%, 100% {
    left: 0px;
  }
  20% , 60% {
    left: 15px;
  }
  40% , 80% {
    left: -15px;
  }
}
@keyframes wrong-log {
  0%, 100% {
    left: 0px;
  }
  20% , 60% {
    left: 15px;
  }
  40% , 80% {
    left: -15px;
  }
}


.onoffswitch2 {
  position: relative; width: 160px;
  -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

.onoffswitch2-checkbox {
  display: none;
}

.onoffswitch2-label {
  display: block; overflow: hidden; cursor: pointer;
  border: 2px solid #999999; border-radius: 5px;
}

.onoffswitch2-inner {
  display: block; width: 200%; margin-left: -100%;
  -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s;
  -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s;
}

.onoffswitch2-inner:before, .onoffswitch2-inner:after {
  display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
  font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

.onoffswitch2-inner:before {
  content: "RADA";
  padding-left: 10px;
  background-color: #2FCCFF; color: #FFFFFF;
}

.onoffswitch2-inner:after {
  content: "ZASTUPITELSTVO";
  padding-right: 10px;
  background-color: #EEEEEE; color: #999999;
  text-align: right;
}

.onoffswitch2-switch {
  display: block; width: 18px; margin: 0px;
  background: #FFFFFF;
  border: 2px solid #999999; border-radius: 5px;
  position: absolute; top: 0; bottom: 0; right: 137px;
  -moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s;
  -o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s;
  background-image: -moz-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
  background-image: -webkit-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
  background-image: -o-linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
  background-image: linear-gradient(center top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
}

.onoffswitch2-checkbox:checked + .onoffswitch2-label .onoffswitch2-inner {
  margin-left: 0;
}

.onoffswitch2-checkbox:checked + .onoffswitch2-label .onoffswitch2-switch {
  right: 0px;
}

.onoffswitch3
{
  position: relative; width: 100%;
  -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
  margin-bottom: 15px;
}

.onoffswitch3-checkbox {
  display: none;
}

.onoffswitch3-label {
  display: block; overflow: hidden; cursor: pointer;
  border: 0 solid #999999; border-radius: 0;
}

.onoffswitch3-inner {
  display: block; width: 200%; margin-left: -100%;
  -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s;
  -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s;
}

.onoffswitch3-inner > span {
  display: block; float: left; position: relative; width: 50%; height: 30px; padding: 0; line-height: 30px;
  font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

.onoffswitch3-inner .onoffswitch3-active {
  padding-left: 10px;
  color: #FFFFFF;
  background: #EEEEEE url('images/login_portal_z.png');
}

.onoffswitch3-inner .onoffswitch3-inactive {
  padding-right: 10px;
  color: #FFFFFF;
  background: #EEEEEE url('images/login_portal_r.png');
  text-align: right;
}

.onoffswitch3-switch {
  display: block; width: 160px; margin: 0; text-align: center;
  border: 0 solid #999999;border-radius: 0;
  position: absolute; top: 0; bottom: 0;
}
.onoffswitch3-active .onoffswitch3-switch {
  background: #0AC986; left: 0;
}
.onoffswitch3-inactive .onoffswitch3-switch {
  background: #0AC986; right: 0;
}

/*.onoffswitch3-active .onoffswitch3-switch:before {
  content: " "; position: absolute; top: -1px; left: 160px;
  border-style: solid; border-color: #0AC986 transparent transparent #0AC986; border-width: 15px 9px;
}*/


/*.onoffswitch3-inactive .onoffswitch3-switch:before {
  content: " "; position: absolute; top: 0; right: 160px;
  border-style: solid; border-color: transparent #0AC986 #0AC986 transparent; border-width: 15px 9px;
}*/

.onoffswitch3-checkbox:checked + .onoffswitch3-label .onoffswitch3-inner {
  margin-left: 0;
}


.bg-green{background-color: #59ae89 !important;}
.bg-red{background-color: #f36a5b !important;}
.bg-yellow{background-color: #dfba49 !important;}
.bg-orange{background-color: #FFA500 !important;}
.bg-white{background-color: #FFFFFF !important;}
.bg-blue{background-color: #31afe3 !important;}
.bg-pink{background-color: #F63054 !important;}
.bg-purple{background-color: #5854D6 !important;}

.border-green{border-color: #59ae89 !important;}
.border-red{border-color: #f36a5b !important;}
.border-yellow{border-color: #dfba49 !important;}
.border-orange{border-color: #FFA500 !important;}
.border-white{border-color: #FFFFFF !important;}
.border-pink{border-color: #FF2A57 !important;}
.border-purple{border-color: #5854D6 !important;}
