﻿
/** Normalization **/
* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    src: url('../fonts/OpenSans-Regular.woff') format('woff');
    /*unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;*/
}

html {
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
}

a {
    text-decoration: none;
    background-color: transparent;
    color: black;
}

a:hover {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

select {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

input {
    max-width: unset;
    min-width: unset;
    max-height: unset;
    min-height: unset;
}

input {
    border: 0;
    background: none;
    box-shadow: none;
    border-radius: 0px;
}

.navbar {
    background-color: #222;
    border-color: #080808;
}


/** Master page **/
.OSDServer-MasterPage-Form {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
}


.OSDServer-MasterPage-Content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.OSDServer-MasterPage-NavBar {
    position: relative;
    border: none;
    flex: 0 0 auto;
    background-color: #222;
    color: #9d9d9d;
    overflow: hidden;
}

.OSDServer-MasterPage-NavBar-Content {
    margin-left: 100px;
    margin-right: 100px;
    height: 50px;
}

.OSDServer-MasterPage-NavBar-Buttons {
    display: inline-block;
    float: left;
    height: 100%;
    margin: 0;
}

.OSDServer-MasterPage-NavBar-Button {
    display: inline-block;
    list-style: none;
    height: 100%;
}

.OSDServer-MasterPage-NavBar-Button:hover {
    background-color: #404040;
}

.OSDServer-MasterPage-NavBar-Button > a {
    display: block;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
    height: 100%;
    color: #9d9d9d;
}

.OSDServer-MasterPage-NavBar-User {
    display: inline-block;
    float: right;
    height: 50px;
    margin-left: 10px;
    padding-top: 7px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}

.OSDServer-MasterPage-NavBar-User:hover {
    background-color: #404040;
}

.OSDServer-MasterPage-NavBar-UserIcon {
    height: 38px;
    width: 38px;
    display: inline-block;
    vertical-align: middle;
}

.OSDServer-MasterPage-NavBar-UserLink {
    display: inline-block;
    color: #9d9d9d;
    text-decoration: none;
    height: 38px;
    padding-top: 10px;
    padding-left: 5px;
    vertical-align: middle;
}

.OSDServer-MasterPage-NavBar-UserLink:hover {
    color: #9d9d9d;
}

.OSDServer-MasterPage-ContentContainer {
    flex: 1 1 auto;
    height: 0px;
}


/** Default.aspx page **/
.OSDServer-Default {
    width: 100%;
    height: 100%;
    background-image: url(../img/Splash.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.OSDServer-Default-Mask {
    width: 100%;
    height: 100%;
    overflow: auto;
    /*
    -webkit-mask-image: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 80%,rgba(0,0,0,0) 90%,rgba(0,0,0,0) 100%);
    */
}

.OSDServer-Default-Tiles {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 100px;
    margin-bottom: auto;
    padding-bottom: 100px;
}

.OSDServer-Default-Tile {
    display: inline-block;
    width: 20ch;
    height: 20ch;
    overflow: hidden;
    margin: 10px;
    background: linear-gradient(347.9deg, #313942 42.9%, #444F5C 100%);
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
}

.OSDServer-Default-Tile:hover {
    /*outline: 2px solid #FFFFFF;*/
    background: #576170;
}

.OSDServer-Default-Tile-Link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.OSDServer-Default-Tile-Image {
    flex: 1 1 auto;
    width: 100%;
    height: 0px;
    padding: 40px;
    padding-left: 50px;
    padding-right: 65px;
    filter: grayscale(0.6);
}

.OSDServer-Default-Tile-Text {
    flex: 0 0 auto;
    width: 100%;
    font-size: 14px;
    color: #FFFFFF;
    display: block;
    padding: 10px;
}

.OSDServer-Default-Logo {
    display: none;      /* TODO: Hide logo for now until we can display it properly */
    position: absolute;
    margin: auto;
    bottom: 50px;
    left: 50px;
    white-space: nowrap;
}

.OSDServer-Default-Logo-Image {
    display: inline-block;
    height: 85px;
}

.OSDServer-Default-Logo-Text {
    display: inline-block;
    height: 45px;
    margin-bottom: 18px;
    filter: invert(1) brightness(100);
}


/** Contact.aspx page **/
.OSDServer-ContactUs {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: url(../img/Splash.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.OSDServer-ContactUs-Box {
    width: 80%;
    height: 80%;
    margin: 10%;
    margin-top: 100px;
    color: white;
    background: linear-gradient(347.9deg, #313942 42.9%, #444F5C 100%);
    border-radius: 4px;
    padding: 50px;
    overflow: auto;
}

.OSDServer-ContactUs-Box a {
    color: white;
}


/** DisplayHome- page **/
.OSD-DisplayHome {
    width: 100%;
    height: 100%;
    background-image: url(../img/Splash.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.OSD-DisplayHome-OffCenter {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 400px;
    min-width: 300px;
    max-width: 100%;
    height: 440px;
    min-height: 300px;
    max-height: 100%;
}

.OSD-DisplayHome-Box {
    width: 100%;
    height: 340px;
    margin-bottom: -100px;
    padding: 70px;
    padding-bottom: 0;
    background: linear-gradient(347.9deg, #313942 42.9%, #444F5C 100%);
    border-radius: 4px;
    color: white;
}

.OSD-DisplayHome-Text {
    text-align: center;
}

.OSD-DisplayHome-Button {
    margin-top: 100px;
    background: #7D91A8;
    padding: 20px 60px 20px 60px;
    color: white;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
}

.OSD-DisplayHome-Button:hover {
    box-sizing: border-box;
    background: #576170;
}

.OSD-DisplayHome-Logo {
    position: absolute;
    margin: auto;
    left: 40px;
    bottom: 40px;
    white-space: nowrap;
}

.OSD-DisplayHome-Logo-Image {
    display: inline-block;
    height: 85px;
}

.OSD-DisplayHome-Logo-Text {
    display: inline-block;
    height: 45px;
    margin-bottom: 18px;
    filter: invert(1) brightness(100);
}

/** Login page **/


.OSDServer-Login {
    height: 100%;
    width: 100%;
    background-image: url(../img/Splash.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}


.OSDServer-Login-Box {
    position: absolute;
    width: 400px;
    min-width: 300px;
    max-width: 100%;
    height: 340px;
    min-height: 300px;
    max-height: 100%;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 70px;
    padding-top: 60px;
    padding-bottom: 0;
    background: linear-gradient(347.9deg, #313942 42.9%, #444F5C 100%);
    border-radius: 4px;
    color: white;
}


.OSDServer-Login-SsoLabel {
    display: none;
}

.OSDServer-Login-Form {
    width: 100%;
    height: 100%;
}

.OSDServer-Login-Edit {
    height: 34px;
    background: linear-gradient(0deg, #D5D5D7, #D5D5D7), #C7DDFF;
    border: 1px solid #7F7F7F;
    box-sizing: border-box;
    padding-left: 5px;
}

.OSDServer-Login-Username {
    width: 100%;
}

.OSDServer-Login-UsernameEdit {
    width: 100%;
}

.OSDServer-Login-Password {
    width: 100%;
    margin-top: 25px;
}

.OSDServer-Login-PasswordEdit {
    width: 100%;
}

.OSDServer-Login-Remember {
    margin-top: 10px;
}

.OSDServer-Login-Remember input {
    margin-top: 2px;
    vertical-align: middle;
}

.OSDServer-Login-ForgotPassword {
    margin-top: 20px;
    display: inline-block;
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #e0e0e0;
}

.OSDServer-Login-ForgotPassword:hover {
    color: white;
}

.OSDServer-Login-ErrorSummary ul {
    margin: 0;
    list-style: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 0;
    padding-top: 5px;
    color: #F7462D;
}

.OSDServer-Login-Submit {
    margin-top: 10px;
}

.OSDServer-Login-SubmitButton {
    background: #7D91A8;
    padding: 10px 30px 10px 30px;
    float: right;
    color: white;
    cursor: pointer;
    border: 0;
    box-shadow: none;
    border-radius: 0px;
    margin-top: 5px;
    margin-left: 5px;
}

.OSDServer-Login-SubmitButton:hover {
    box-sizing: border-box;
    background: #576170;
}

.OSDServer-Login-Message {
    color: #F7462D;
}

.OSDServer-Login-Logo {
    position: absolute;
    float: left;
    bottom: 1em;
    left: 1em;
}

.OSDServer-Login-Logo-Image {
    width: 130px;
}


/** Two-factor */
.OSDServer-VerifyCode-HelpText {
    padding-bottom: 40px;
    display: block;
}



/* Forgot password */
.OSDServer-ForgotPassword-Label {
    display: inline-block;
    padding-bottom: 20px;
    font-size: 18px;
}

.OSDServer-ForgotPassword-Email {
    width: 100%;
}

.OSDServer-ForgotPassword-EmailEdit {
    width: 100%;
}


/* Log out */
.OSDServer-Logout-Label {
    display: inline-block;
    padding-bottom: 20px;
    font-size: 18px;
}



/* Logged out page */
.OSDServer-LoggedOut-TextArea {
    margin-top: 50px;
}

.OSDServer-LoggedOut-Text {
    color: white;
}

.OSDServer-LoggedOut-Text:hover {
    color: lightgray;
}


/*** Token pages */
.OSDServer-Token-Buttons {
    display: flex;
}


/** Other pages **/
.OSDServer-OtherPage {
    height: 100%;
    width: 100%;
    overflow: auto;
    background: white;
}

.OSDServer-OtherPage-Box {
    width: 80%;
    height: 100%;
    margin-top: 50px;
    margin-left: 10%;
    margin-right: 10%;
}

.OSDServer-OtherPage-Input {
    border: 1px solid gray;
    background: white;
    width: 100%;
}

.OSDServer-OtherPage-Button {
    background: #7D91A8;
    padding: 10px 30px 10px 30px;
    color: white;
    cursor: pointer;
}

.OSDServer-OtherPage-Button:hover {
    box-sizing: border-box;
    background: #576170;
}
