/*@media screen and (min-width: 1024px) {
    html, body{
        font-size: 16px;
    }
}

@media screen and (max-width: 1023px) and (min-width: 480px) {
    html, body{
        font-size: 14px;
    }
}

@media screen and (max-width: 479px){
    html, body{
        font-size: 12px;
    }
}*/

   /*         Different fonts    */
@font-face{
font-family: regular;
src: url('font/Lato-Regular.ttf')
}

@font-face{
font-family: light;
src: url('font/Lato-Light.ttf')
}


html, body, .body_main_panel{
    background-color: #f4f2f2;
    margin:0;
    padding:0;
    height:100%;
    width: 100%;
    font-family: regular;
    overflow: hidden;
    color: #283540;
    -webkit-overflow-scrolling: touch;
    font-size: 16px;
}

.body_main_panel{
    position: relative;

    background: #3a89bd; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(to bottom, #514A9D, #24C6DC); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(to bottom, #514A9D, #24C6DC); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(to bottom, #514A9D, #24C6DC); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to bottom, #514A9D, #24C6DC); /* Standard syntax */
}

.body_main_panel:before {
    content: '';
    position: absolute;
    background-image: url('https://www.dolcera.com/simplesaml/module.php/themedolcera/images/home/picture_login.png');
    left: 0;
    background-size: 60% auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
    bottom: 0;
    background-repeat: no-repeat;
    background-position-y: 100%;
}

@media screen and (max-width: 550px){
    .body_main_panel:before{
        background-image: none;
    }

    .auth_main_block .auth_block, .auth_main_block .sinup_block{
      left:0 !important;
      right:0 !important;
    }

    .auth_signup .auth_main_block{
        height: calc(100% - 80px);
    }

}

a{
    text-decoration: none;
    color: #5285be;
}

.hide{
    display: none;
}

.auth_to_header {
    /* background-color: #3f556c; */
    height: 40px;
    width: 100%;
    position: relative;
}

.auth_to_header img {
    height: 35px;
    margin-left: 30px;
    margin-top: 5px;
    float: left;
}

.auth_main_block {
    float: left;
    height: calc(100% - 40px);
    overflow-y: auto;
    position: relative;
    width: 100%;
}

.auth_block, .sinup_block{
    bottom: 0;
    height: 350px;
    margin: auto;
    max-width: 95%;
    padding-bottom: 30px;
    padding-top: 30px;
    position: absolute;
    right: 100px;
    top: 0;
    width: 400px;
}

.sinup_block{
    display: none;
    height: 410px;
}

.email_sent .sinup_block{
    height: 260px;
}

.auth_password .auth_block {
    height: 380px;
    padding-bottom: 0;
}

.auth_dolcera_logo {
    height: 60px;
    width: 100%;
}

.auth_dolcera_logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 100%;
}

.auth_main {
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    height: calc(100% - 2px);
    position: relative;
    width: calc(100% - 2px);
}

.auth_password .auth_main {
    height: calc(100% - 32px);
}

.operation_header {
    display: table;
    float: left;
    height: 60px;
    text-align: center;
    width: 100%;
}

.body_main_panel.auth_signup .operation_header{
    height: 40px;
    margin-bottom: 20px;
}

.saml_rest_password .operation_header{
    height: 40px;
}

.operation_header span {
    color: #00a196;
    display: table-cell;
    font-size: 1rem;
    margin: auto;
    text-align: center;
    vertical-align: bottom;
    width: 100%;
    font-weight: bold;
    text-transform: uppercase;
}

.auth_rs_password .operation_header > span:last-child{
    display: table-cell;
    color: #ff6666;
}

.auth_user_logo {
    float: left;
    height: 120px;
    position: relative;
    width: 100%;
}

.auth_user_logo img {
    bottom: 0;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    display: none;
}

.auth_user_logo .user_fill{
    display: none;
}

.auth_rs_password .auth_user_logo .user_normal, .auth_password .auth_user_logo .user_fill,
.sinup_block .auth_user_logo .user_normal{
    display: block;
}

.auth_password .auth_user_logo .user_normal{
    display: none;
}

.body_main_panel.auth_signup .auth_user_logo {
    display: none;
}

.auth_si_user_name, .auth_si_password, .auth_rs_user_name {
    margin-top: 5px;
}

.auth_si_user_name, .auth_sign_next, .auth_sign_button, .auth_si_password, .auth_su_text_block,
.auth_su_button, .auth_rs_user_name{
    float: left;
    height: 60px;
    width: 100%;
    position: relative;
}

.auth_sign_button.auth_si_next_button{
  margin-top: 5px;
}

.auth_si_user_name input, .auth_si_password input, .auth_su_text_block input, .auth_rs_user_name input {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-size: 0.75rem;
    height: calc(100% - 20px);
    margin: 10px 25px;
    padding: 0 10px;
    width: calc(100% - 70px);
}

.auth_si_password, .auth_rs_user_name, .auth_rs_button{
    display: none;
}

.auth_su_text_block.auth_mail_sent {
    display: table;
}

.auth_ms {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    color: gray;
}

.auth_sb_main {
    background-color: #0099cc;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    display: table;
    height: calc(100% - 20px);
    margin: 10px 25px;
    text-align: center;
    width: calc(100% - 50px);
}

.auth_sb_main > span {
    display: table-cell;
    vertical-align: middle;
}

.auth_sb_main > span:after{
    background: rgba(0, 0, 0, 0) url("../../images/home/arrow_white.svg") no-repeat scroll 0 0 / 15px auto;
    content: "";
    display: inline-block;
    height: 10px;
    margin-left: 5px;
    width: 15px;
}

.auth_si_button .auth_sb_main > span:after, .auth_su_button .auth_sb_main > span:after,
.auth_rs_password .auth_sb_main > span:after{
    background: none;
}

.auth_back_forgot_actions, .auth_create_new {
    color: #5285be;
    float: left;
    font-size: 0.8rem;
    height: 30px;
    width: 100%;
}

.auth_create_new{
    display: block;
    text-align: center;
}

.auth_create_new > span {
    display: inline-block;
    padding-top: 7px;
    cursor: pointer;
}

.auth_create_new{
    font-size: 1.2rem;
}

.auth_create_new > span > a > span:first-child{
    color: #0071b2;
}

.auth_create_new > span > a > span:last-child{
    font-weight: bold;
    color: white;
    margin-left: 10px;
}

.auth_forgot_password a {
    color: white !important;
}

.auth_back {
    float: left;
    margin-top: 7px;
    cursor: pointer;
    display: none;
}

.auth_back > span {
    border-radius: 15px;
    float: left;
    padding: 1px 10px;
}

.auth_forgot_password {
    float: none;
    margin-top: 8px;
    cursor: pointer;
}

.auth_password .auth_forgot_password{
    float: right;
}

.auth_back > span::before, .auth_back > input:before {
    background: rgba(0, 0, 0, 0) url("../../images/home/arrow_blue.svg") no-repeat scroll 0 0 / 15px auto;
    content: "";
    display: inline-block;
    height: 9px;
    margin-right: 4px;
    width: 10px;
}

.auth_username {
    bottom: -10px;
    color: #808080;
    display: none;
    font-size: 0.9rem;
    height: 20px;
    position: absolute;
    text-align: center;
    width: 100%;
}

.auth_password .auth_username, .auth_password .auth_back_forgot_actions .auth_back{
    display: table;
}

.auth_password .auth_si_user_name, .auth_si_button, .auth_password .auth_si_next_button, .auth_signup .auth_block,
.auth_rs_password .auth_si_user_name, .auth_rs_password .auth_si_next_button, .auth_rs_password .auth_create_new,
.auth_password .auth_create_new{
    display: none;
}

.auth_password .auth_si_password, .auth_password .auth_si_button, .auth_signup .sinup_block,
.auth_rs_password .auth_rs_user_name, .auth_rs_password .auth_rs_button{
    display: block;
}

.auth_password .auth_linked_block, .auth_rs_password .auth_linked_block{
    display: none;
}

input::-webkit-input-placeholder {
    color: rgba(0,0,0,0.5);
}

input:-ms-input-placeholder {
    color: rgba(0,0,0,0.5);
}

input::-moz-placeholder {
    color: rgba(0,0,0,0.5);
}

.auth_su_button {
    margin-top: 10px;
}

.auth_error_msg {
    color: #ff6666;
    font-size: 0.75rem;
    margin: 0 25px;
    text-align: center;
    width: calc(100% - 50px);
}

.auth_su_email_error, .auth_su_pwd_error, .auth_su_repwd_error {
    bottom: -4px;
    color: #ff6666;
    font-size: 0.75rem;
    left: 0;
    margin: 0 25px;
    position: absolute;
    width: calc(100% - 25px);
}

.auth_login_with_li {
    background-color: #0177b5;
    border-radius: 2px;
    color: #fff;
    font-size: 1rem;
    height: 40px;
    line-height: 40px;
    margin: 20px 25px 0;
    position: relative;
    text-align: left;
    width: calc(100% - 50px);
    cursor: pointer;
}

.auth_login_with_li:before {
    color: #fff;
    content: "";
    height: 59px;
    left: -10px;
    position: absolute;
    top: -22px;
    width: 60px;
    content: url("../../images/home/linkedin.png");
    transform: scale(0.15);
}

.auth_login_with_li:after {
    border-right-style: solid;
    border-right-width: 1px;
    content: "";
    float: left;
    height: 40px;
    margin-right: 15px;
    width: 60px;
    border-right-color: white;
}

.auth_signup .auth_login_with_li{
  margin-top: 0;
}

.auth_signup .auth_linked_block{
  display: table;
  width: 100%;
  float: left;
}

.auth_type_seperator {
    color: #999;
    display: table;
    font-size: 1rem;
    height: 40px;
    margin: 20px 25px 0;
    text-align: center;
    width: calc(100% - 50px);
}

.auth_signup .auth_type_seperator{
  margin-top: 10px;
}

.auth_type_seperator > span {
    display: table-cell;
    vertical-align: middle;
}

/*@media screen and (max-height: 400px){
    .sinup_block {
        bottom: auto;
    }
}*/

.email_sent .sinup_block, .auth_signup.email_in_use .sinup_block{
    bottom: 0
}

/*@media screen and (max-height: 260px){
    .email_sent .sinup_block, .auth_signup.email_in_use .sinup_block {
        bottom: auto;
    }
}*/

@media screen and (max-height: 600px){
    .sinup_block{
      bottom: auto;
    }
  
    .auth_block{
        bottom: auto;
        padding-bottom: 80px;
    }
}

form {
    height: calc(100% - 40px);
    width: 100%;
}

.saml_rest_password form{
    height: 150px;
}

.auth_signup.email_in_use .sinup_block{
    height: 300px;
}

input[type="submit"] {
    background-color: #0099cc;
    border: medium none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-family: regular;
    font-size: 1rem;
    height: 40px;
    width: calc(100% - 50px);
}

.auth_back > input{
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    color: white;
    float: left;
    font-size: 0.8rem;
    height: auto;
    margin-left: 0;
    padding: 1px 10px;
    width: auto;
}

.saml_rest_password .auth_user_logo .user_fill, .saml_rest_password .auth_sign_button.auth_si_button{
    display: block;
}

.saml_rest_password .operation_header > span:first-child{
    display: none;
}

.saml_rest_password .operation_header > span:last-child{
    display: table-cell;
}

.auth_signup_form .element label, .auth_rs_form .element label{
    display: none;
}

a, a:link, a:hover, a:visited{
    color: #5285be;
    border: medium none;
}

.saml_rest_mail_sent .auth_block, .saml_rest_mail_complete .auth_block,
.auth_signup.email_sent .sinup_block, .auth_signup.register_successfull .sinup_block{
    height: 50px;
}

.saml_rest_mail_sent .auth_error_msg, .saml_rest_mail_complete .auth_error_msg,
.auth_signup.email_sent .auth_error_msg, .auth_signup.register_successfull .auth_error_msg{
    color: #548a2e;
    display: table;
    font-weight: bold;
    height: 100%;
    margin: 0;
    width: 100%;
}

.saml_rest_mail_sent .auth_error_msg > span, .saml_rest_mail_complete .auth_error_msg > span,
.auth_signup.email_sent .auth_error_msg > span, .auth_signup.register_successfull .auth_error_msg > span{
    display: table-cell;
    font-size: 1rem;
    vertical-align: middle;
}

.auth_signup.register_successfull .sinup_block {
    bottom: 0;
}

.auth_password .auth_si_next_button input{
    pointer-events: none;
}


#main_body.register_successfull .thankyou_body_main{
    width: 100%;
    height: calc(100% - 40px);
    float: left;
    overflow-y: auto;
    position: relative;

    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

#main_body.register_successfull .thankyou_body_main:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.thankyou_body{
    background-color: white;
    width: 960px;
    height: auto;
    box-shadow: 0px 0px 17px -3px rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 10px 0;
    max-width: 90%;
    margin: 10px auto;
    text-align: left;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;


    display: inline-block;
    vertical-align: middle;
}

.thankyou_body *{
    font-family: 'Open Sans', sans-serif;
}

.thankyou_text, .thankyou_sub_text, .login_text{
    padding: 20px 20px 0;
    float: left;
    width: calc(100% - 40px);
    height: auto;
    text-align: center;
    font-size: 50px;
}

.thankyou_sub_text, .login_text{
    font-size: 20px;
}

.thankyou_sub_text{
    padding: 10px 20px 10px;
}

.login_text{
    color: #aaa;
}

.thankyou_text{
    font-weight: bolder;
}

.ty_tick{
    width: auto;
    height: 100px;
    margin: auto;
    display: block;
    padding: 15px 0 1px;
}

.action_area{
    width: 100%;
    height: 50px;
    float: left;
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.aa_button span{
    color: white;
    font-size: 20px;
    border: 2px solid;
    padding: 10px 70px;
    border-radius: 7px;
    cursor: pointer;
    text-align: center;
    background-color: #4cc1ff;
}

.aa_button span:hover{
    background-color:#2ea3c9;
}

.thankyou_body a{
    text-decoration: none;
}

.auth_to_header span {
    cursor: pointer;
    font-size: 1rem;
    color: white;
    float: right;
    border: 1px solid white;
    padding: 3px 30px;
    border-radius: 5px;
    margin-top: 8px;
    margin-right: 30px;
}

.auth_to_header span.active{
    opacity: 0.3;
    cursor: default;
}

.under_maintains_page {
    position: fixed;
    width: 100%;
    height: 100%;
}

.under_maintains_page:before {
    content: '';
    height: 100%;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.4;
}

.under_maintains {
    position: fixed;
    width: 100%;
    height: 100%;
    display: none;
}

.under_maintains_page .under_maintains{
  display: block;
}

.under_maintains:before {
    content: '';
    height: 100%;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.4;
}

.under_maintains img{
    height: 300px;
    display: inline-block;
    background-color: white;
    vertical-align: middle;
}

.body_main_panel.under_maintains_page > form,
.body_main_panel.under_maintains_page > .auth_to_header span {
    display: none;
}

.auth_signup_form input[type="submit"].invalid{
  opacity:0.6;
  pointer-events: none;
}

.body_main_panel.auth_signup .auth_error_msg{
  height: 20px;
  float: left;
}

.body_main_panel.auth_signup .auth_error_msg .error{
  line-height: 0.4rem;
}

.body_main_panel.auth_signup .auth_error_msg .error.active ~ span{
  display: none;
}
