@font-face { font-family: 'GT Walsheim Light'; src: url('~/Content/themes/advendapro.ttf') format('truetype'); }
@font-face { font-family: 'GT Walsheim Medium'; src: url('~/Content/themes/advendapro.ttf') format('truetype'); }

div, ul, li, a, input, textarea { box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }

* { font: normal normal normal 8.19pt/normal 'GT Walsheim Light', sans-serif; margin: 0px; padding: 0px; }
html { height: 100%; }
body { /*background: url('/images/modern_architecture.jpg');*/ height: 100%; text-align: center; vertical-align: middle; border: 0px; overflow: hidden;}
ul { font-size: 0px; list-style: none; }
a { text-decoration: none; }
b { font-weight: bold; }
img { max-width: 100%; }
p { color: rgb(255, 255, 255); font-size: 24px; line-height: 22px; margin: 1%; }
.footer p {
    color: rgb(83, 90, 107);
    font: normal normal normal 12px 'GT Walsheim Medium', sans-serif;
    margin: 5%;
}

h1 {
    color: rgb(255,255,255);
    display: block;
    font: normal normal normal 52px/normal 'GT Walsheim Medium', sans-serif;
}
h1 span { font-size: 15pt; }

.hidden { display: none !important; }
.screenWrapper { background-color: rgba(255,255,255,0.3); display: grid; height: 100%; padding: 0%; width: 100%; grid-template-columns: 50% 50%; align-items: center; }
.textLeft { text-align: left; }
.textCenter { text-align: center; }

img { vertical-align: bottom; }

.header { background: rgb(255,255,255); color: rgb(83, 90, 107); text-align: center; }
.header div { padding: 2% 0 !important; }

.screenWrapper > div:first-child { background-image: url('/images/loginBackground.png'); background-size: contain; height: 100%; width: 100%; }

.section { display: grid; height: 100%; width: 100%; align-items: start; grid-template-rows: repeat(4, 1fr); }
.section:nth-child(1) { background: rgba(83, 90, 107, 0.9); }
.section:nth-child(2) { background: rgb(255,255,255); }
.section > div { height: 100%; position: relative; grid-row: 2 / span 2; }

.mainContent { margin: 0 auto; width: 50%; }
.mainContent div { padding: 5%; }
.mainContent div.header { padding-top: 0; }
.mainContent .loginForm { background: rgb(255,255,255); text-align: center; }
.mainContent .loginForm span { color: rgb(189,192,197); border-radius: 10px; display: block; font-size: 12px; margin: 8% 0 1%; text-align: center; border: 1px solid rgb(189,192,197); }
.mainContent .loginForm span.password { margin-top: 4%;}
.mainContent .loginForm input { border: 0; border-radius: 10px; display: block; padding: 2%; width: 100%; }
.mainContent .loginForm input.loginButton { background: rgb(83, 90, 107); border-radius: 5px; color: rgb(255,255,255); display: inline-block; font-size: 11.25pt; padding: 8px 18px; width: auto; }
.mainContent .loginForm input.submitting { background: rgb(83, 90, 107); color: rgb(255,255,255); }

.line { border-top: 4px solid white; margin: 3%; display: inline-block; width: 15%; }

input.about { border: 1px solid rgb(255, 255, 255); border-radius: 10px; background: initial; color: rgb(255, 255, 255); display: inline-block; font-size: 11.25pt; padding: 8px 18px; }
.footer { bottom: 0; left: 0; padding: 0; position: absolute; width: 100%; }
.mainContent .footer { padding: 0; }

.contentAbout { background: rgb(255,255,255); }
.contentAbout h2 { color: rgb(83, 90, 107);; font-size: 15pt; margin: 0 0 5%; }
.contentAbout p { color: rgb(78,79,81); font-size: 8.75pt; margin: 3% 0; }
.contentAbout div { margin: auto; }
.contentAbout input, .contentAbout textarea { background: rgb(78,79,81); border: 0px; color: rgb(255,255,255); margin: 1% 1%; padding: 10px; width: 81.25px; }

.contentAbout form { text-align: left; }
.contentAbout form label { color: rgb(78,79,81); display: block; margin: 5% 1% 0; }
.contentAbout form input, .contactForm textarea { background: rgb(255,255,255); border: 1px solid rgb(189,192,197); display: block; width: 100%; }
.contentAbout form input.loginButton { margin-bottom: 5%; }
.contentAbout form input.submitting { background: rgb(83, 90, 107); color: rgb(255,255,255); }
.contentAbout form input.sent { background: rgb(255,255,255); border: 0px; color: rgb(83, 90, 107); font-weight: bold; }

.contentAbout form input[type="text"], .contentAbout form textarea { color: rgb(78,79,81); }

.contentAbout input[type="button"] { border: 1px solid rgb(83, 90, 107); border-radius: 10px; padding: 3%; font-size: 7.5pt; background: initial; color: rgb(255, 255, 255); }
.contentAbout input[type="submit"] { border: 1px solid rgb(83, 90, 107); background: rgb(83, 90, 107); color: rgb(255,255,255); }

.systemNotice { background-color: rgb(255,255,255); color: rgb(0,0,0) ; position: fixed; top: 0; right: 0; width: 100%; z-index: 100; }
.systemNotice a { background: url('/logonIncludes/icon_notice.png') no-repeat right center; line-height: 16px; padding-right: 20px; position: fixed; right: 16px; top: 5px }
.systemNotice h1 { color: red; font-size: 14px; font-weight: bold; }
.systemNotice p { border-bottom: 1px solid rgb(70,67,68); margin: 0.3% 0 0 0; padding: 0 1% 1%; text-align: left; }
.systemNotice span { display: inline-block; width: 100%; }
.systemNotice ~ .contentAbout { position: relative; }

.forgotPassword { color: rgb(83, 90, 107); cursor: pointer; font-weight: bold; font-size: 16px; margin-top: 2%; grid-row: 4; }
.screenWrapper.passwordRecovery { display: none; left: 0; position: absolute; top: 0; z-index: 10; grid-template-columns: 100%; grid-template-rows: 10% 90%; }
.screenWrapper.passwordRecovery.active { display: grid; }
.screenWrapper.passwordRecovery > div:first-child { background-color: rgb(83, 90, 107); background-image: url(~/Content/themes/advendapro/images/Logo-White.png); background-size: initial; background-repeat: no-repeat; background-position: 2% center; }
.screenWrapper.passwordRecovery .mainContent div.header { font-size: 48px; font-weight: bold; padding-bottom: 0; }
.screenWrapper.passwordRecovery .mainContent div.header div { color: rgb(83, 90, 107); font-size: 18px; }
.screenWrapper.passwordRecovery .mainContent .loginForm, .screenWrapper.passwordRecovery .mainContent .loginForm span.username { padding-top: 0; }
.screenWrapper.passwordRecovery .reset { border: 1px solid rgb(83, 90, 107); border-radius: 5px; }


@media only screen and ( max-device-width: 600px )
{
    .screenWrapper { grid-template-columns: 100vw; grid-template-rows: max-content; overflow-y: auto; }
    .mainContent { width: 70%; }
    .footer { bottom: -50px; }

    h1 { font-size: 42px; }
    p { font-size: 18px; }
}