@import 'definitions.css';

body{
    min-height: 100vh;
}

header{
    /*height: 10%;*/
    border-bottom: 1px solid black;
    padding-bottom: 30px;
    padding-top: 30px;
}

header #logo {
    display: flex;
    height: 50px;
}

header #logo .logo-img img {
    height: 50px;
}

header #logo .header_infos{
    float: right;
    display: flex;
    flex-direction: column;
    margin-left: auto;
}

header #logo .header_infos i{
    margin-right: 10px;
}


header #logo .header_infos a{
    color: black;
}

header #divider{
    border-top: 2px solid;
    display: none;
}

#error-msg-safari {
    display: none;
    padding: 2rem;
    background-color: red;
    color: white;
    margin-left: -2rem;
    margin-right: -2rem;
}

main .container{
    min-height: 70%;
    padding-top: 5em;
    padding-bottom: 5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer{
    /*height: 20%;*/
    background-color: #f1f1f1;
    border-top: 1px solid black ;
    position: absolute;
    bottom: 0;
    width: 100%;
}

footer .container{
    padding-bottom: 1em;
}

#footer_row{
    padding-top: 1em;
}

#footer_row .serviceblock p{
    margin-bottom: 0;
}
#footer_row .serviceblock p a{
    color: black;
}

.footer_block{
    display: flex;
}

.footer_block .fas{
    padding-top: 5px;
}

#title {
    margin-bottom: 1rem;
    width: 100%;
    font-size: 1.5rem;
}

#login_row{
    width: 100%;
    justify-content: center;
}

#login_row.no_right_box{
    width: 75%;
    justify-content: center;
}

#login_element .login-note {
    font-size: 80%;
    color: gray;
    text-align: center;
}
.no_right_box.backbtn_row{
    display: flex;
    width: 75%;
}

.right_box_set.backbtn_row{
    display: flex;
    width: 100%;
}

.backbtn_row .back_btn {
    padding: 10px 20px;
    border: 2px solid;
    font-weight: 600;
    margin-top: 3em;
    border-radius: 5px;
    text-transform: uppercase;
}


#login_right #login_right_content{
    background-color: #fff;
    margin-left: 2em;
    border: 1px solid black;
    border-radius: 5px;
}

#login_right #login_right_content .login_right_content_box{
    padding: 1rem;
}

#login_right #login_right_content h2{
    font-size: 0.8rem;
    text-align: right;
    color: lightgray;
    font-weight: bold;
}

#login_right #login_right_content h3{
    font-size: 1rem;
    text-align: right;
}
#login_right #login_right_content p, #login_right #login_right_content b{
    text-align: right;
}

#login_right #login_right_content .mb-0{
    margin-bottom: 0;
}

#login_right #login_right_content .mwst{
    font-size: 0.7rem;
    color: lightgray;
}

#login_right #login_right_content i{
    padding-right: 5px;
}

#login_right #login_right_content a{
    color: black;
}

#login_element{
    display: flex;
    flex-direction: column;
    flex-grow: 2;
}

#login_element #cam_modal{
    max-height: 100% !important;
}

#login_element .control-label
{
    display: none;
}

#login_element .form-control
{
    position: relative;
    padding: 1rem;
    height: 42px;
    text-align: left;
    background-color: #f1f1f1;
    border: 1px solid #d9e1e8;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

#login_element #c1-remember_me-form-group{
    width: 50%;
    float: left;
    margin: 1rem 0;
}

#login_element #c1-reset-link-form-group{
    text-align: center;
}

#login_element #c1-reset-link-form-group a{
    padding: 0;
}


#login_element #c1-register-link-form-group, #login_element #c1-login-link-form-group
{
    display         : flex;
    justify-content : center;
    align-items     : center;
}

#login_element #c1-register-link-form-group .text-muted,  #login_element #c1-login-link-form-group .text-muted{
    margin-bottom: 0;

}


#login_element  #c1-submit-button-login, #login_element #c1-submit-button-register,#login_element #c1-submit-button-forgot_password,#login_element #c1-submit-button-update_account, #login_element .error-message #resend-activation{
    border-radius: 5px;
    padding: 10px 20px;
    width: 100%;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
}

#login_element .error-message #resend-activation{
    /*display: none;*/
    margin-top: 1em;
}


#login_element  #c1-submit-button-login:hover, #login_element #c1-submit-button-register:hover,#login_element #c1-submit-button-forgot_password:hover, #login_element #c1-submit-button-update_account:hover, #login_element .error-message #resend-activation:hover
{
    opacity: 0.8;
}


#login_element #c1-submit-button-register,
#login_element   #c1-submit-button-forgot_password
{
    margin-bottom: 2rem;
}


#login_element  #register-link, #login_element #login-link {
    font-weight: 600 ;
}

#login_element  .btn-light
{

    border : none;
}


#login_element  .btn-light:hover{

}

#login_element  hr{
    border-top: 3px solid #e4eaef;
}

#cam-container{
    padding-top: 2em;
}

.se-pre-con {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../img/loader.gif) center no-repeat #fff;
}

#login_element .form-group.has-error .form-control{
    border: 1px solid red;
    margin-bottom: 0px;
}

#login_element .form-group.has-error .help-block, #login_element .checkbox.has-error .help-block{
    color: red;
}

#login_element .checkbox.has-error input{
    outline: 1px solid red;
    margin-left: 2px;
}

.checkbox {
    display: flex;
    flex-wrap: nowrap;
    line-height: 1.3;
}

.checkbox input {
    height: 20px;
}

body label {
    margin-bottom: 0;
    margin-left: 0.3rem;
}

.checkbox label p {
    margin-bottom: 0;
}

.checkbox .help-block {
    width: 100%;
}

#login_element #c1-error-label-form-group .has-error{
    color:red;
}

#login_element .error-message .help-block
{
    color : red;
}

#c1-gender-radio-container .input-group input{
    margin-top: 2px;
}
#c1-gender-radio-container .input-group {
    margin-bottom: .5rem;
}

#c1-gender-radio-container .input-group label{
    margin-left: 5px;
    line-height: 1;
}

#c1-AGB_und_Datenschutz-checkbox-container{
    display: flex;
}

#c1-AGB_und_Datenschutz-checkbox-container input {
    margin-top: 7px;
    margin-right: 5px;
}

#c1-AGB_und_Datenschutz-checkbox-container label {
    font-weight : bold;
}

#c1-Optin-form-group #c1-Optin-optin-container label p{
    font-size: 80%;
    color: gray;
}

#c1-Optin-form-group #c1-Optin-optin-container label p small{
    font-size: 100%;
    color: gray;
}

#login_element .alert{
    padding-left: 0;
}

#login_element .alert-info{
    padding-left: 15px;
}

#login_row.right_box_set #login_element{
    width: min-content;
}

@media only all and (orientation:landscape) {
    /* Landscape styles */

    footer{
        position: relative;
    }
}

#disclaimer{
    margin-bottom: 2em;
    width: 100%;
}



/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 575.98px) {
    #login_element #c1-register-link-form-group, #login_element #c1-login-link-form-group{
        flex-direction: column;
    }

    header #logo{
        /*background-position: top;*/
        /*height: 130px;*/
        height: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        flex-direction: column;
    }
    header #logo .logo-img {
        padding: 0 0 2.5rem 0;
        width: 100%;
        height: inherit;
    }

    header #logo .logo-img img {
        width: 100%;
        height: inherit;
    }

    header #logo .header_infos {
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
    }

    #login_row.no_right_box {
        width: 90%;
    }

    .backbtn_row{
        justify-content: center;
    }

    footer{
        position: relative;
    }

    #login_row.right_box_set
    {
        flex-direction : column;
        align-items    : center;
    }

    #login_row.right_box_set #login_element
    {
     width: 90%;
    }
    .backbtn_row{
        justify-content: center;
    }

    #login_right #login_right_content{
        margin-left: 0;
    }
    #error-msg-safari{
        padding: 1.5rem;
        width: 100%;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 576px) and (max-width: 767.98px)  {
    header #logo{
        background-position: top;
        height: 130px;
    }

    header #logo .header_infos {
        top: 8em;
        position: absolute;
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
        left: 0;
    }

    footer{
        position: relative;
    }

    #login_row.right_box_set
    {
        flex-direction : column;
        align-items    : center;
    }

    #login_row.right_box_set #login_element
    {
        width: 90%;
    }

    #login_right{
        max-width: 80%;
    }

    #login_right #login_right_content{
        margin-left: 0;
    }
}


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 991.98px){
    footer{
        position: relative;
    }

    #login_row.right_box_set
    {
        flex-direction : column;
        align-items    : center;
    }

    #login_row.right_box_set #login_element
    {
        width: 90%;
    }

    #login_right{
        max-width: 80%;
    }

    #login_right #login_right_content{
        margin-left: 0;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) and (max-width: 1199.98px){
    #login_right{

    }

    #login_right #login_right_content{
        top: 20px;
        position: sticky;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    #login_right{

    }

    #login_right #login_right_content{
        top: 20px;
        position: sticky;
    }
}

@media only screen and (max-width: 767px) {
    #c1-AGB_und_Datenschutz-checkbox-container input {
        flex-basis: 10%;
    }

    #c1-AGB_und_Datenschutz-checkbox-container label {
        flex-basis: 90%;
    }
}
