* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html.loginScreen {background: white;
}

body {
   
    font: normal 100.01% Helvetica, Arial, sans-serif;
    color: black;     
    height: 100%;
    width: 100%;
    background: white;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-size: 8pt;
    position: relative;
}

body.registerInvitedUser{font-size: 16px;;}

.clear {
    clear : both;
}

.error{    
    color: red;   
}

.note{
    font-size: 8pt;
    }

#loginpage{
    height: 100%;
    width: 100%;
    position: relative;
}
/*#30B8E7*/


#loginBranding{
    background: black;
    border-bottom: 10px solid #45B7E7;       
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.loginBrandingLeft, .loginBrandingRight{
    display: flex;
    justify-content: space-around;
}

#loginBranding img{   
    padding: 3em 2em 1em 2em;
    width: 100%;
    max-width: 100px;
    -webkit-backface-visibility: hidden;  
    backface-visibility: hidden;     
}

.loginBrandingRight a{
    align-self: center;
    color: white;
    font-size: 1rem;
    text-decoration: none;
}

.loginBrandingLeft a .tsLogo{display: block;}
.loginBrandingLeft a .tsLogoHover{display: none;}
.loginBrandingLeft a:hover .tsLogo{display: none;}
.loginBrandingLeft a:hover .tsLogoHover{display: block;}


#loginformwrapper{
    margin: 10em auto 5em auto;
    width: 80%;
    max-width: 600px;
    background: #F0F0F0;
    border-radius: 10px;
}


#loginform fieldset input[name="uName"], 
#loginform fieldset input[name="password"] {
    background-color: #FFF;	
    border-radius: 5px;
    padding: 1em;
    border: 1px solid #333;
    font-size: 1rem;
    width: 100%;
}
#loginform fieldset input[name="password"] {margin: 0.75em 0 0 0; }
#loginform fieldset input[type="submit"] {
    border: none;         
    display: block; 
}
#loginform fieldset {border: none; padding: 3em;}

#loginform fieldset input[type="submit"] {
    background: #45B7E7;
    color: white;
    padding: 1em 2em;
    border-radius: 5px;
}


.loginbuttons{
    margin: 2em 0 0 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.loginBrandingRdinteInner{
    width: 90%;
    max-width: 350px;
    margin: 10em auto 5em auto;
}

#loginBrandingRdinte img{
    display: block;
    width: 100%;        
}

@media (min-width: 800px){
    #loginBranding{        
        
        grid-template-columns: 1fr 600px 1fr;
    }
    
}



#goToTopButton{     
    background: url("/ts/images/icon_goToTop.png") no-repeat;
    background-size: 35px;
    position: fixed;
    bottom: 5em;
    right: 5em;
}

.bottomButton{
    display: block;
    cursor: pointer;
    width: 35px;
    height: 35px;       
    float: left;
    margin: 0 5px 0 0;
}
/* ============== LOGIN PAGE ============== */


#loginform fieldset label{color: #45B7E7;}

#loginform fieldset label {font-size: 7pt; font-style: italic; font-weight: bold;}
#loginDevelopedBy {display: block; width: 105px; height: 45px; position: absolute; bottom: 20px; background: url("/ts/images/logo_interlogue.png"); background-size: cover;}

#loginformwrapper.howToAdmin{display: none; margin: 0 0 0 0;}

#loginform.howTo fieldset input[type="submit"] {border: none; font-size: 20pt; color: #758282; display: block; margin: 0 auto; padding: 4px 0; width: 200px; float: right;	margin: 10px 10px 2px 0;}
#loginformwrapper.howTo{width: 400px;}
#howToWrapper{margin: 0 auto; width: 900px;}
#loginDevelopedBy.howTo {bottom: 0; top: 330px;}



.lostPassword{color: red; text-decoration: none; display: block;}
#lostPasswordHeader{padding: 5% 10% 5% 10%; text-align: center;}
#lostpwform fieldset {border: none; padding: 20px;}
#lostpwform fieldset input[type="text"], #lostpwform fieldset input[type="password"] {margin: 5px 0 20px 0 ; width: 100%; color: #101010; border: none; font-size: 14pt;}
#lostpwform fieldset input[type="submit"] {border: none; font-size: 30pt; color: #a6b9bd; display: block; margin: 0 auto; padding: 4px 0; float: right;	margin: 10px 20px 2px 0;}
#lostpwform fieldset label {font-size: 7pt; font-style: italic; font-weight: bold;}
#lostpwform fieldset input[type="submit"],
#lostpwform fieldset input[type="button"]{background-color: #F5FBFD; border: none; font-size: 30pt; color: #a6b9bd; display: block; margin: 0 auto; padding: 4px 0; float: right; margin: 10px 20px 2px 0;}
#lostpwform fieldset input[type="submit"]:hover,
#lostpwform fieldset input[type="button"]:hover {color: #45B7E7;}

img.passwordeye{
    height: 25px; 
    width: 25px; 
    position: absolute; 
    right: 25px; 
    top: 25px;
    cursor: pointer;
}

.passwordp{position: relative;}



    
    #loginWhatIsTS img{
        max-width: 150px;
    }

  
    #loginFooter{ 
        text-align: center;
    }

    #loginFooter, #loginFooter a, #loginFooter span{
        font-family: "Open Sans", Arial, sans-serif;       
        text-decoration: none;
        font-size: 0.85rem;
        color: #AAA;        
        display: inline-block;
        padding: 0.5em 0.5em;
        
    }

    

    #legalContentWrapper{
        width: 90%;
        max-width: 800px;
        margin: 5em auto;
    }


    #legalContentWrapper,
    .contractGerman{
        font-size: 1rem;
    }


#loginpage.registerUser{
    height: auto;
}

.registerUser #loginformwrapper{
    background: none;
}


.registerUser td:first-child{
    width: 300px;
}

.registerUserLabel{
    margin-top: 1em;
}

.registerUserInput input{
    font-size: 1rem; 
    border: 1px solid #CCC;
}

.registerUserPasswordExplanation{
    background: #EBF2FC;
    display: inline;
}

.registerAcceptCheckbox{
    margin: 2em 0 0 0;
}

.registerSubmitButton{
    margin: 2em 0 0 0;
    font-size: 1rem;
}

#howToWrapper{
    display: flex;
    flex-direction: column;
    width: auto;
}

#loginformwrapper.howTo{
    width: auto;
    margin: 2em 0 0 0;
}

/* apple bug */
input#loginsubmit{
    -webkit-appearance: none;
    border-radius: 0;
}

#loginFooter{
    margin: 0 auto;
    width: 100%;
}

#loginFooter a, #loginFooter span{
    display: block;
    margin: 0 auto;
    text-align: center;
}


@media (min-width: 800px){

    #loginpage{
        display: block;
    }

    #loginpage.registerUser{
        display: block;
    }

    #loginFooter{      
        display: flex;
        align-items: center;   
        justify-content: center;
    }

    #loginFooter a, #loginFooter span{
        display: inline-block;
        text-align: left;
    }

    #loginFooter span, #loginFooter a{
        margin: 0 0.25em;
    }

    #loginWhatIsTS img{
        display: block;
        width: 100%;
        max-width: 100px;
    }

    
    .vlineRight{border-right: 1px solid #AAA;}
    .vlineLeft{border-left: 1px solid #AAA;}
   
    .registerUser #loginFooter{
        padding: 0 1em;
    }

    #howToWrapper{    
        flex-direction: row;
        width: 900px;
    }
    #loginformwrapper.howTo{        
        margin: 0 0 0 50px;
        width: 400px;
    }

   
}


#howToWrapper{
    margin-top: 10em;
}

#loginform.howTo fieldset input[type="submit"]{
    border: none;         
    display: block; 
}

#loginform.howTo fieldset input[type="submit"] {
    background: #45B7E7;
    color: white;
    padding: 1em 2em;
    border-radius: 5px;
    font-size: 1rem;;
}
