html {
    height: 100%;
    background: none;
}
body {
    height: 100%;
    min-height: 550px;
    padding: 0;
    margin: 0;
}

#body-login .wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: left;
    font-size: 16px;
    line-height: 24px;
}

#body-login form fieldset {
    width: 100%;
    padding: 0;
    margin: 0;
}

#body-login #submit-wrapper {
    justify-content: left;
    text-align: left;
}

#body-login .wrapper .toggle-password,
#body-login .wrapper #header .logo,
#body-login footer p.info {
    display: none;
}

#body-login .wrapper a {
    font-weight: inherit;
}

#cover {
    min-height: 400px;
    /*box-shadow: 0px 0px 10px 1px #0c0c39;*/
    border-radius: 30px;
    margin-left: 6%;
    text-align: left;
}

#cover-left, #cover-right {
    position: relative;
    box-shadow: 0px 0px 10px 1px #080827;
}

#cover-left {
    background-color: #052233;
    color: #ffffff;
    padding: 40px 30px 60px 30px;
    border-bottom-left-radius: 30px;
    border-top-left-radius: 30px;
    min-height: 600px;
    font-size: 18px;
}

#cover-left h3 {
    font-weight: 600;
    font-size: 34px;
	color: #fff;
}

div.position-absolute-bottom {
    position: absolute;
    bottom: 20px;
}

div.need-help {
    font-size: 16px;
    color: #fff;
}

div.need-help a {
    color: #fff;
    text-decoration: underline;
}

#cover-left .orange-separator {
    display: block;
    border-bottom: 10px solid #fa6703;
    width: 150px;
    margin: 25px 0;
}

#cover-left .groupware-text {
    max-width: 280px;
}

#cover-left .inode-logo img {
    width: 154px;
    margin-bottom: 10px;
}

#cover-right {
    background-color: #fff;
    padding: 30px 20px 50px 30px;
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
}

#cover-wrapper {
    width: 100%;
    position: absolute;
    top: 10%;
    /*-webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);*/
}

h3.sign-in {
    color: #fa6703;
    font-size: 34px;
    font-weight: bold;
}

.bottom-text {
    color: #fff;
    margin-top: 60px;
    padding: 20px 0;
}

.bottom-text a {
    color: #fff;
    text-decoration: underline;
}

div.customer-logo {
    height: 128px;
    width: 100%;
    margin-bottom: 20px;
}

div.customer-logo img {
    max-width: 90%;
    max-height: 128px;
}

.app-logo {
    min-height: 105px;
}
.app-logo img {
    width: 170px;
}

#eulaModal .modal-body {
    padding: 40px;
    font-size: 16px;
    line-height: 24px;
}

#eulaModal .modal-content {
    border: 4px solid #fa6703;
    border-radius: 10px;
    position: relative;
}

#modal-body-eula {
    height: 520px;
    color: #555;
}

#modal-body-eula h3 {
    color: #004080;
    font-weight: 700;
    font-size: 20px;
}

#eulaModal .modal-body .close {
    color: #777;
    position: absolute;
    right: 15px;
    top: 7px;
}

a.show-eula:hover,
.need-help a:hover {
    color: #fa6703 !important;
}

.customer-logo-enabled {
    position: relative;
    height: 100%;
}

.customer-logo-enabled img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

footer {
    display: none;
    height: 0;
}

/* nano slider */
.nano {
    position : relative;
    width    : 100%;
    height   : 100%;
    overflow : hidden;
}
.nano > .nano-content {
    position      : absolute;
    overflow      : scroll;
    overflow-x    : hidden;
    top           : 0;
    right         : 0;
    bottom        : 0;
    left          : 0;
    padding-right: 30px;
}
.nano > .nano-content:focus {
    outline: thin dotted;
}
.nano > .nano-content::-webkit-scrollbar {
    display: none;
}
.has-scrollbar > .nano-content::-webkit-scrollbar {
    display: block;
}
.nano > .nano-pane {
    background : #e8e8e8;
    position   : absolute;
    width      : 10px;
    right      : 0;
    top        : 0;
    bottom     : 0;
    visibility : hidden\9; /* Target only IE7 and IE8 with this hack */
    opacity    : .01;
    -webkit-transition    : .2s;
    -moz-transition       : .2s;
    -o-transition         : .2s;
    transition            : .2s;
    -moz-border-radius    : 5px;
    -webkit-border-radius : 5px;
    border-radius         : 5px;
}
.nano > .nano-pane > .nano-slider {
    background: #b8b8b8;
    position              : relative;
    margin                : 0 1px;
    -moz-border-radius    : 3px;
    -webkit-border-radius : 3px;
    border-radius         : 3px;
}
.nano:hover > .nano-pane, .nano-pane.active, .nano-pane.flashed {
    visibility : visible\9; /* Target only IE7 and IE8 with this hack */
    opacity    : 0.99;
}


/* start nextcloud core theme overrides */

.login-box {
    width: 100%;
}

footer.guest-box,
.guest-box {
    padding: 0;
}
.guest-box, .body-login-container {
    background-color: transparent;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

h2.login-form__headline {
    display: none;
}

.login-box .button-vue--vue-primary {
    background-color: #314f51 !important;
    border: 1px solid #fff;
    padding: 10px 50px;
    border-radius: 30px;
    margin-top: 30px;
    color: #fff !important;
}

.login-box .button-vue--vue-primary .button-vue__text {
    font-size: 24px;
    font-weight: 400;
    overflow: visible;
}

.login-box .button-vue--vue-primary:hover {
    background-color: #fa6703 !important;
}

.login-box .input-field {
    margin-block-start: 0px !important;
}

.login-box .input-field__main-wrapper {
    height: auto;
}
.login-box .button-vue__icon,
.login-box .input-field__label {
    display: none;
}

.login-box .input-field__helper-text-message--error {
    background-color: rgba(24, 64, 132, .5);
    margin-top: 15px;
    padding: 15px;
    color: #fff;
    text-align: left;
    word-wrap: break-word;
    border-radius: 10px;
    cursor: default;
}

.login-box .input-field__input--error {
    border-color: transparent;
}

.login-box .input-field__clear-button.button-vue {
    top: 11px !important;
}

.login-box .button-vue--wide {
    width: fit-content;
}

.login-box input[type='text'],
.login-box input[type='password'] {
    background-color: #f4f8f7;
    border-radius: 0;
    border: 1px solid #dbf8f5;
    margin: 3px 0 8px;
    padding: 12px 7px;
    width: 98%;
    width: calc(100% - 10px);
    box-shadow: none !important;
    font-size: 16px;
    color: #000;
    height: auto !important;
}

.login-box input#user[type='text']:focus,
.login-box input[type='text']:focus,
.login-box input#password[type='password']:focus,
.login-box input[type='password']:focus {
    box-shadow: 0 0 5px 2px #34615f !important;
    border-color: transparent !important;
    border-width: 1px;
}

.login-box input#user[type='text']:hover,
.login-box input[type='text']:hover,
.login-box input#password[type='password']:hover,
.login-box input[type='password']:hover {
    border-color: transparent !important;
    border-width: 1px;
}

.login-box input#user[type='text']:hover:not(:invalid),
.login-box input[type='text']:hover:not(:invalid),
.login-box input#password[type='password']:hover:not(:invalid),
.login-box input[type='password']:hover:not(:invalid) {
    border-color: transparent !important;
}

.login-box input#user[type='text']:hover:not(:focus),
.login-box input[type='text']:hover:not(:focus),
.login-box input#password[type='password']:hover:not(:focus),
.login-box input[type='password']:hover:not(:focus) {
    box-shadow: none !important;
}

.login-box input#user[type='text']:invalid:not(.input-field__input--error),
.login-box input[type='text']:invalid:not(.input-field__input--error),
.login-box input#password[type='password']:invalid:not(.input-field__input--error),
.login-box input[type='password']:invalid:not(.input-field__input--error) {
    border-color: #dbf8f5 !important;
}

.login-box input#user[type='text']::placeholder,
.login-box input#password[type='password']::placeholder {
    opacity: 1 !important;
    color: #666 !important;
}

/* end nextcloud core theme overrides */

@media screen and (max-height: 768px) {
    #cover-wrapper {
        top: 8%
    }

    #cover-left {
        min-height: 530px;
        padding: 20px 30px 60px 30px;
    }

    #cover-left .orange-separator {
        margin: 15px 0;
    }

    #cover-left h3 {
        font-size: 32px;
    }

    .bottom-text {
        margin-top: 30px
    }

    div.customer-logo {
        height: 100px;
        width: 100%;
        text-align: center;
        min-height: 74px;
        margin-bottom: 0;
    }

    div.customer-logo img {
        max-height: 80px;
        max-width: 90%;
        margin-bottom: 10px;
    }

    .app-logo {
        min-height: 50px;
    }
    .app-logo img {
        width: 120px;
    }
}

@media screen and (max-height: 640px) {
    #cover-left {
        min-height: 480px;
    }

    .bottom-text {
        margin-top: 15px;
    }
}


@media screen and (max-width: 1400px) and (max-height: 768px), (max-width: 1200px) {
    #cover-left h3 {
        font-size: 30px;
    }

    #cover-left .inode-logo img {
        width: 144px
    }

    h3.sign-in {
        font-size: 30px;
    }

    .login-form-wrapper input.primary {
        font-size: 24px;
        padding: 6px 50px;
    }
}



@media screen and (max-width: 992px) {
    #cover-left h3 {
        font-size: 32px;
    }

    .need-help,
    #cover-left .groupware-text {
        font-size: 15px;
    }
}

@media screen and (max-width: 767px) {
    body {
        min-height: 360px;
        min-width: 320px;
        padding: 0 0 20px 0;
    }

    #cover-wrapper {
        top: 0;
        position: initial;
    }

    #cover-right, #cover-left {
        background: transparent;
        background-color: transparent;
        text-align: center;
        padding: 0;
        border-radius: 0;
        min-height: 100px;
        box-shadow: none;
    }

    #cover {
        box-shadow: none;
        margin: 20px auto 0;
        text-align: center;
        min-height: 270px;
    }

    #cover-left h3 {
        display: inline-block;
        vertical-align: text-bottom;
    }

    #cover-left h3 {
        font-size: 30px;
        height: 90px;
        width: 60%;
        min-width: 170px;
    }

    .welcome-title-wrapper {
        min-width: 290px;
        max-width: 350px;
        margin: auto;
    }

    div.need-help {
        text-align: center;
        color: #fa6703;
        margin: 10px auto 20px auto;
        padding: 0 20px;
        max-width: 400px;
    }

    div.need-help a {
        color: #fa6703 !important;
    }

    .app-logo {
        width: 100%;
        text-align: center;
        min-height: 96px;
    }

    .app-logo img {
        width: 160px;
        margin: auto;
    }

    .login-form-wrapper td.input input {
        width: 90%;
    }

    *:not([id^='mobile-']) > [id^='desktop-'] {
        display: none;
    }

    .bottom-text {
        margin-top: 5px;
        font-size: 12px;
    }

    #eulaModal .modal-body {
        padding: 40px 15px;
    }

    #body-login #submit-wrapper {
        justify-content: center;
    }

    .login-form-wrapper {
        max-width: 400px;
        padding: 10px 15px;
        margin: auto;
    }

    .mobile-bottom-app-logo {
        margin-top: 20px;
    }

    .copyright-text {
        border-top: 1px solid #fff;
        font-size: 12px;
        padding: 10px 0;
        width: 80%;
        max-width: 400px;
        margin: auto;
    }

    .login-form-wrapper input[type="text"], .login-form-wrapper input[type="password"] {
        margin: 3px 0;
    }

    h3.sign-in {
        text-align: left;
    }

    div.customer-logo .customer-logo-enabled {
        background: #fff;
        /* background: linear-gradient(180deg, rgba(20,65,117,1) 0%, rgba(255,255,255,1) 15%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 85%, rgba(20,65,117,1) 100%);;*/
        box-shadow: 0 0px 10px 15px #fff;
        margin-bottom: 10px;
    }

    div.customer-logo img {
        width: auto;
        max-width: 330px;
        max-height: 80px;
        margin: 20px 0;
    }

    div.customer-logo .customer-logo-enabled img {
        margin: 5px 0 10px 0;
    }

    form.login-form {
        text-align: center;
    }

    .login-box .button-vue--vue-primary {
        align-self: center;
    }
}
