html {
    height: 100%;
    padding: 0;
    margin: 0;
}
body {
	margin: 0;
	height: 100%;
    min-height: 600px;
	background-color: #ecf0f1;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b9a6a0), color-stop(100%,#ffc482)); /* fallback */
    background: linear-gradient(to bottom, #b9a6a0 0%, #ffc482 100%); /* fallback */
    background-image: url("../images/logos/dataways_white.png"), -moz-linear-gradient(top, #b9a6a0 0%, #ffc482 100%);
    background-image: url("../images/logos/dataways_white.png"), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b9a6a0), color-stop(100%,#ffc482));
    background-image: url("../images/logos/dataways_white.png"), -o-linear-gradient(top, #b9a6a0 0%, #ffc482 100%);
    background-image: url("../images/logos/dataways_white.png"), -ms-linear-gradient(top, #b9a6a0 0%, #ffc482 100%);
    background-image: url("../images/logos/dataways_white.png"), linear-gradient(to bottom, #b9a6a0 0%, #ffc482 100%);
    background-position:  bottom right, center; /* fallback */
    background-position:  bottom 20px right 20px, center;
    background-repeat: no-repeat;
    background-size: 250px auto, auto;
    background-attachment: fixed;
    position: relative;
}

#navbar {
    background: #004080;
    color: #fff;
    padding-top: 2px;
    padding-bottom: 2px;
}

#navbar-logo {
    width: 36px;
}

#navbar a span[class^='icon-'] {
    vertical-align: middle;
    font-size: 20px;
}

#about-btn > a span {
    display: inline-block;
    border-left: 1px solid #fff;
    padding-left: 10px;
}

#cover-wrapper {
    width: 100%;
    position: relative;
    top: 45%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

#cover {
    min-height: 400px;
    box-shadow: 0px 0px 10px 1px #777;
    border-radius: 10px;
    margin-bottom: 5%;
}

#cover-left {
    position: relative;
    background: #9a2e0b;
    background-image: url("../images/hot_air_balloon.jpg");
    background-size: cover;
    color: #fff;
    padding: 60px 50px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}

#cover-left .links a {
    display: inline-block;
    margin-bottom: 20px;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    line-height: 50px;
}

#cover-left .links a:hover {
    text-decoration: none;
    text-shadow: 1px 1px 1px #fa6703;
}

#cover-left .links a span[class^='icon-'] {
    font-size: 40px;
    vertical-align: bottom;
    line-height: 40px;
}

.inode-logo {
    width: 224px;
}

#cover-left .welcome-text {
    padding: 30px 0;
    margin-bottom: 90px;
}

#cover-left .contact-text {
    margin-top: 40px;
}

#cover-left .contact-text a {
    color: #fff;
    text-decoration: underline;
}


#cover-right {
    background-color: #fff;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    padding: 90px 60px;
    position: relative;
    min-height: 400px;
}

#cover-right h3 {
    color: #fa6703;
    font-size: 38px;
    font-weight: bold;
}

#cover-right button {
    background-color: #004080;
    color: #fff;
    font-size: 20px;
    padding: 6px 8px 4px;
    border-radius: 30px;
    margin: 6px 0;
    width: 270px;
    border: 2px solid #004080;
    max-height: 50px;
}

#cover-right button:hover {
    background-color: #f8f8f8;
    color: #004080;
}

#cover-right button span[class^='icon-'] {
    font-size: 24px;
}

#cover-right button span.icon-mail-1 {
    font-size: 26px;
    line-height: 36px;
}

#cover-right .vertical-center {
    position: absolute;
    top: 45%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    max-width: 280px;
}

.help-text {
    padding: 0 60px;
    color: #fa6703;
    font-size: 17px;
    left: 0;
}

.help-text a {
    color: #fa6703;
    text-decoration: underline;
}

.copyright-text {
    color: #ffffff;
    font-size: 16px;
    text-align: center;
}

.copyright-text a {
    color: #ffffff;
    text-decoration: underline;
}

.text-align-bottom {
    position: absolute;
    bottom: 15px;
}

a.show-eula:hover,
a.learn-more:hover,
.text-align-bottom a:hover {
    color: #004080 !important;
}

#dialog h3 {
    letter-spacing: -1px;
    font-weight: normal;
    margin: 10px 0 3px;
    font-size: 14px;
}

.hidden-li {
    display: none !important;
}

#aboutModal .modal-content {
    border: 4px solid #fa6703;
    border-radius: 10px;
}

#aboutModal h4 {
    color: #004080;
    font-weight: bold;
    font-size: 20px;
    margin-top: 20px;
}
#aboutModal h5 {
    color: #fa6703;
    font-weight: bold;
    font-size: 18px;
}

#aboutModal #modal-body-about ul {
    list-style-type: none;
    list-style-position: inside;
    padding: 0;
}

#aboutModal #modal-body-about ul li {
    margin-top: 30px;
}

#aboutModal .modal-body {
    padding: 50px;
}

#aboutModal .modal-body .close {
    color: #777;
    position: absolute;
    right: 15px;
    top: 7px;
}

#aboutModal .logo {
    width: 320px;
    margin-bottom: 30px;
}

#aboutModal .about-eula {
    font-size: 13px;
    color: #aaa;
}

#aboutModal .learn-more {
    color: #777;
    text-decoration: underline;
}

#aboutModal .about-eula a {
    color: #aaa;
    text-decoration: underline;
}

.user-portal-button > a {
    min-width: 120px;
}
.admin-interface-button > a {
    min-width: 155px;
}

.mobile-logo {
    margin-top: 20px;
}

#cover-mobile-footer {
    padding: 0;
    text-align: center;
    max-width: 340px;
    margin: 40px auto 0 auto;
}

.modal-header {
    color: #fff;
    background-color: #004080;
}

.inode-screenshots {
    width: 300px;
    max-width: 100%;
}

/* bootstrap overrides */

#navbar .navbar-nav .nav-link {
    color: #fff;
    padding-top: 10px;
    padding-bottom: 7px;
}

#navbar .navbar-nav .nav-link:hover {
    color: #fa6703;
}

#navbar.navbar-dark .navbar-toggler {
    padding: 5px;
    margin-top: 5px;
}

#navbar.navbar-dark .navbar-toggler .navbar-toggler-icon {
    height: auto;
}

#navbar .nav-link.roundcube-button {
    min-width: 140px;
}
#navbar .nav-link.nextcloud-button {
    min-width: 190px;
}

#modal-body-eula {
    height: 425px;
    color: #555;
}

#modal-body-eula h3 {
    color: #004080;
    font-weight: 700;
    font-size: 20px;
}

.back-to-about {
    cursor: pointer;
    color: #fa6703;
    font-weight: bold;
    position: absolute;
    top: 7px;
    left: 20px;
}
.back-to-about > img {
    width: 10px;
    margin-top: -2px;
}

[class^='icon-'] {
    vertical-align: middle;
}

.nav-link span[class^='icon-'] {
    line-height: 28px;
}

span.icon-collaboration-suite,
span.icon-groupware {
    font-size: 28px !important;
    display: inline-block;
}

#desktop-copyright-text {
    position: absolute;
    bottom: 20px;
    width: 100%;
}

/* nano scroller */

.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: 20px;
}
.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;
}


@media screen and (max-height: 768px) {
    #cover-left .welcome-text {
        margin-bottom: 40px;
    }

    #cover-left {
        padding: 50px;
    }

    body {
        background-size: 220px auto, auto;
    }

    .copyright-text {
        margin-top: 30px;
    }
}

@media screen and (max-width: 1200px) {
    body {
        background-size: 220px auto, auto;
    }

    .help-text,
    #cover-right {
        padding-left: 20px;
        padding-right: 20px;
    }

    #aboutModal .logo {
        width: 270px;
    }
}
@media screen and (max-width: 992px) {
    #navbar a span[class^='icon-'] {
        display: none;
    }
    #navbar a span {
        border: none;
        padding: 0;
    }

    #cover-right {
        padding-left: 10px;
        padding-right: 10px;
    }

    #cover-right button {
        width: 260px;
    }
}
@media screen and (max-width: 767px) {
    body {
        min-height: 360px;
        min-width: 350px;
        padding: 20px 40px;
    }

    #cover-right, #cover-left {
        background: transparent;
        background-color: transparent;
        text-align: center;
        padding: 10px 0;
        border-radius: 0;
        min-height: auto;
    }

    #cover {
        box-shadow: none;
        margin-top: 20px;
    }

    #cover-wrapper {
        position: relative;
        top: 0;
        -webkit-transform: translateY(0%);
        -moz-transform: translateY(0%);
        -ms-transform: translateY(0%);
        -o-transform: translateY(0%);
        transform: translateY(0%);
    }

    #aboutModal .modal-body {
        padding: 40px 15px;
    }

    #desktop-copyright-text,
    .text-align-bottom {
        position: relative;
        bottom: unset;
    }

    .copyright-text {
        border-top: 1px solid #fff;
        font-size: 12px;
        padding: 10px 0;
        margin-top: 0;
    }

    .help-text {
        padding: 10px 0;
        font-size: 16px;
    }

    #cover-right button {
        width: 270px;
        margin: 6px 0;
    }

    #cover-right .vertical-center {
        position: static;
        top: 0;
        -webkit-transform: translateY(0%);
        -moz-transform: translateY(0%);
        -ms-transform: translateY(0%);
        -o-transform: translateY(0%);
        transform: translateY(0%);
        max-width: 100%;
        min-height: 230px;
    }

    #cover-left .links a {
        font-size: 24px;
        margin: 0;
    }


    *:not([id^='mobile-']) > [id^='desktop-'] {
        display: none;
    }

    #cover-right h3 {
        font-size: 30px;
        text-align: left;
        width: 270px;
        margin-left: auto;
        margin-right: auto;
    }

    .inode-logo {
        width: 256px;
    }
}


@media screen and (max-width: 992px), (max-height: 618px) and (max-width: 1500px) {
    body {
        background: -moz-linear-gradient(top, #b9a6a0 0%, #ffc482 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b9a6a0), color-stop(100%,#ffc482));
        background: -o-linear-gradient(top, #b9a6a0 0%, #ffc482 100%);
        background: -ms-linear-gradient(top, #b9a6a0 0%, #ffc482 100%);
        background: linear-gradient(to bottom, #b9a6a0 0%, #ffc482 100%);
        background-size: auto;
        background-attachment: fixed;
    }
}