html, body
{
    height: 100%;
}

body
{
    font: 16px 'Lucida Sans Unicode', 'Trebuchet MS', Arial, Helvetica;    
    margin: 0;
    /*background-color: #d9dee2;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#D8DDE1), to(#CFDCE7));*/
    background-color: rgba(32,106,199,1);
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(32,106,199,1)), to(rgba(23,140,239,1)));
}

.login_logo{
    width:100%;
    text-align:center;
}

#login
{
    background-color: #fff;
/*
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#eee));
    background-image: -webkit-linear-gradient(top, #fff, #eee);
    background-image: -moz-linear-gradient(top, #fff, #eee);
    background-image: -ms-linear-gradient(top, #fff, #eee);
    background-image: -o-linear-gradient(top, #fff, #eee);
    background-image: linear-gradient(top, #fff, #eee);  
*/
    width: 500px;
    margin: -130px 0 0 -260px;
    padding: 30px;
    position: absolute;
    top: 30%;
    left: 50%;
    z-index: 0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
/*  
    -webkit-box-shadow:
          0 0 2px rgba(0, 0, 0, 0.2),
          0 1px 1px rgba(0, 0, 0, .2),
          0 3px 0 #fff,
          0 4px 0 rgba(0, 0, 0, .2),
          0 6px 0 #fff,  
          0 7px 0 rgba(0, 0, 0, .2);
    -moz-box-shadow:
          0 0 2px rgba(0, 0, 0, 0.2),  
          1px 1px   0 rgba(0,   0,   0,   .1),
          3px 3px   0 rgba(255, 255, 255, 1),
          4px 4px   0 rgba(0,   0,   0,   .1),
          6px 6px   0 rgba(255, 255, 255, 1),  
          7px 7px   0 rgba(0,   0,   0,   .1);
    box-shadow:
          0 0 2px rgba(0, 0, 0, 0.2),  
          0 1px 1px rgba(0, 0, 0, .2),
          0 3px 0 #fff,
          0 4px 0 rgba(0, 0, 0, .2),
          0 6px 0 #fff,  
          0 7px 0 rgba(0, 0, 0, .2);
*/
}

#login:before
{
/*
    content: '';
    position: absolute;
    z-index: -1;
    border: 1px dashed #ccc;
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: 5px;
    -moz-box-shadow: 0 0 0 1px #fff;
    -webkit-box-shadow: 0 0 0 1px #fff;
    box-shadow: 0 0 0 1px #fff;
*/
}

/*--------------------*/

h1
{
    /*text-shadow: 0 1px 0 rgba(255, 255, 255, .7), 0px 2px 0 rgba(0, 0, 0, .5);*/
    /*text-transform: uppercase;*/
    text-align: center;
    color: #666;
    margin: 0 0 30px 0;
    letter-spacing: 4px;
    font: normal 26px/1 Verdana, Helvetica;
    position: relative;
}

h1:after, h1:before
{
/*
    background-color: #777;
    content: "";
    height: 1px;
    position: absolute;
    top: 15px;
    width: 120px;   
*/
}

h1:after
{ 
/*
    background-image: -webkit-gradient(linear, left top, right top, from(#777), to(#fff));
    background-image: -webkit-linear-gradient(left, #777, #fff);
    background-image: -moz-linear-gradient(left, #777, #fff);
    background-image: -ms-linear-gradient(left, #777, #fff);
    background-image: -o-linear-gradient(left, #777, #fff);
    background-image: linear-gradient(left, #777, #fff);      
    right: 0;
*/
}

h1:before
{
/*
    background-image: -webkit-gradient(linear, right top, left top, from(#777), to(#fff));
    background-image: -webkit-linear-gradient(right, #777, #fff);
    background-image: -moz-linear-gradient(right, #777, #fff);
    background-image: -ms-linear-gradient(right, #777, #fff);
    background-image: -o-linear-gradient(right, #777, #fff);
    background-image: linear-gradient(right, #777, #fff);
    left: 0;
*/
}

/*--------------------*/

fieldset
{
    border: 0;
    padding: 0;
    margin: 0;
    text-align: center;
}

/*--------------------*/
#inputs #username, #inputs #password
{
    background: #f1f1f1; /* url(/images/login-sprite.png) no-repeat; */
    padding: 15px 0px 15px 45px;
    margin: 0 0 10px 0;
    width: 64%;
    /*width: 353px;  */
    border: 1px solid #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    font-size: 17px;

}

#username
{
    background-position: 5px -2px !important;
}

#password
{
    background-position: 5px -52px !important;
}

#inputs #username:focus, #inputs #password:focus
{
    background: #FEFFC4; /* url(/images/login-sprite.png) no-repeat; */
    border: 1px solid #29B0D9; 
}

/*--------------------*/
#actions
{
    margin: 6px auto;
    text-align: center;
    float: none;
}

#submit
{
/*       
    background-color: #ffb94b;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fddb6f), to(#ffb94b));
    background-image: -webkit-linear-gradient(top, #fddb6f, #ffb94b);
    background-image: -moz-linear-gradient(top, #fddb6f, #ffb94b);
    background-image: -ms-linear-gradient(top, #fddb6f, #ffb94b);
    background-image: -o-linear-gradient(top, #fddb6f, #ffb94b);
    background-image: linear-gradient(top, #fddb6f, #ffb94b);
*/
    background-color: #206ac7;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    
    /*text-shadow: 0 1px 0 rgba(255,255,255,0.5);*/
    
     -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
     -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
     box-shadow: 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.3) inset;    
    
    border-width: 1px;
    border-style: solid;
    /*border-color: #d69e31 #e3a037 #d5982d #e3a037;*/
    border-color: #fff #fff #fff #fff;

    /*float: left;*/
    height: 42px;
    padding: 0;
    width: 160px;
    cursor: pointer;
    font: bold 15px Arial, Helvetica;
    /*color: #8f5a0a;*/
    color: #fff;
}

#submit:hover,#submit:focus
{       
    background-color: #fddb6f;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ffb94b), to(#fddb6f));
    background-image: -webkit-linear-gradient(top, #ffb94b, #fddb6f);
    background-image: -moz-linear-gradient(top, #ffb94b, #fddb6f);
    background-image: -ms-linear-gradient(top, #ffb94b, #fddb6f);
    background-image: -o-linear-gradient(top, #ffb94b, #fddb6f);
    background-image: linear-gradient(top, #ffb94b, #fddb6f);
}   

#submit:active
{       
    outline: none;
   
     -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
     -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) inset;        
}

#submit::-moz-focus-inner
{
  border: none;
}

#actions a
{
    color: #3151A2;    
    float: right;
    line-height: 35px;
    margin-left: 10px;
}

/*--------------------*/

#back
{
    display: block;
    text-align: center;
    position: relative;
    top: 60px;
    color: #999;
}

.errorMessage{
    color: red;
    padding-bottom: 15px;
    text-align: center;
    font-size: 15px;
}

.rememberMe{
    float: right;
    margin-right: 15%;
}
#ydtb-toolbar {
    display: none;
}
.username-block, .password-block  {
    position: relative;
}

.username-block:before { 
    content: ''; 
    background: url(/images/login-sprite.png); 
    position: absolute; 
    width: 16px; 
    top: 12px; 
    left: 16%; 
    height: 25px; 
    background-position: 0 88px;
}
.password-block:before { 
    content: ''; 
    background: url(/images/login-sprite.png); 
    background-position: 0 38px;
    position: absolute; 
    width: 16px; 
    top: 12px; 
    left: 16%; 
    height: 25px; 
    background-position: 0 38px;
}

.captcha {
    border: 3px dotted #BDBDBD;
    padding: 8px;
    margin-top: 8px;
    margin-bottom: 17px;
    font-size: 13px;
    width: 350px;
    margin: 15px auto 25px;
}
.captcha input {
    display: block;
    margin: 9px auto;
    background: #FDFDFD;
    padding: 10px 0px 10px 0px;
    border: 1px solid #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 3px;
    text-align: center;
    width: 125px;
}
.captcha .text, .captcha .verifyCode {
    width: 47%;
    line-height: 17px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}
.captcha .text {
    padding-left: 15px;
}
.captcha .errorMessage {
    padding: 14px 0px 5px;
}

.footer-note{bottom:3%;position:absolute;display:block;width:100%;text-align:center;}

#language-selector {
   margin-left: auto;	
   margin-right: auto;
   width:100%;
   text-align:center;	
}
.flag_image 
{
   width:16px;	
}
.lang_text, .lang_text_active {font-size:16px;}


@media only screen and (max-width:960px){

#header-text{
    margin: 20px 0 15px 0;
}

#login {
    display:block;
    width: 95%;
    margin: 0 0 0 0;
    padding: 20px 0px 20px 0px;
    top: 3%;
    left: auto !important;
    right: auto !important;
    margin-left:auto !important;
    margin-right:auto !important;
    position:relative !important;
}

.rememberMe {
/*    float: right;
    margin-right: 45%;
*/
}

.captcha {
    border: 2px dotted #BDBDBD;
    padding: 0px;
    margin-top: 8px;
    margin-bottom: 17px;
    font-size: 16px;
    width: 90%;
    margin: 25px auto 25px;
}

.captcha .text {
    padding-left: 0px;
}

#submit {
    width:300px;
    height:45px !important;
}

.rememberMe{
    margin-top:20px;
    margin-bottom:20px;
}

}


/*iPad Pro */
@media only screen and (max-width:768px){



}
/*iPhone 6-7-8-X */
@media only screen and (max-width:375px){



}
/*iPhone 5 */
@media only screen and (max-width:320px){


}
