﻿* {
    font-family: "Figtree", sans-serif, Arial;
    font-size: 14px;

}

html, body {
    margin:0px;
    padding:0px;
    width:100%;
    height:100%;
    overflow:hidden;
}

body {
    background-color: var(--defaultBackgroundColour);
    background-repeat: no-repeat;
    background-position: left top;
}

#bannerTop {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 1;
}

#bannerTop {
    height: 64px;
    line-height: 64px;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

#bannerTop > div {
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    line-height: 32px;
}

#bannerTop #loginButton
.jsMenu .menuItemHeight.BannerTopItem
{
    height:32px;
    line-height:32px;
}

#bannerTop #loginButton
{
    position:absolute;
    right:20px;
    height:100%;
    padding-left: 50px;
    padding-right: 10px;
    font-weight:bold;
    cursor:pointer;
}

#bannerTop #loginButton div {
    position:absolute;
    margin-left:-42px;
    height:32px;
    width:32px;
    top:2px;
    background-image: url('../images/32/User.png');
    overflow:hidden;
}

#bannerLogo {
    position: relative;
    background-repeat: no-repeat;
    left: 0px;
    height: 32px;
    width: 140px;
    z-index: 1;
    float: left;
    background-size: 200%;
}

.loadingAnim
{
	position:absolute;
	right:2px;
	top:2px;
	height:30px;
	width:30px;
	cursor:default;
}

#appArea {
    position: absolute;
    top: 64px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow: hidden;
    z-index: 0;
    box-shadow: inset 0 0 1200px 0px #00000040;
}
#vernum
{
    position:absolute;
    bottom:20px;
    left:20px;
	font-size:14px;
	font-weight:bold;
	color:rgba(0,0,0,0.4);
}
#servertime {
    position: absolute;
    bottom: 4px;
    left: 20px;
    font-size: 14px;
    font-weight: bold;
    color: rgba(0,0,0,0.4);
}
#footerLogo {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 124px;
    height: 78px;
    background-image: url('../images/TechnologLogo.svg');
    background-size: 110px;
    background-repeat: no-repeat;
    background-position-x:7px;
    background-position-y:12px;
}

#footerCustLogo {
    position: absolute;
    right: 144px;
    bottom: 20px;
    width: 232px;
    height: 78px;
    background-repeat: no-repeat;
    background-position: right;
    background-size: auto 78px;
    background-image: url('../Imaging.ashx/CustomerLogo');
}

#welcomeMessage 
{
    color: #142d52;
    position: absolute;
    top: 70px;
    right: 30px;
	font-size: 22px;
	text-align: right;
	font-weight: bold;
}

#loginMessages 
{
    color: #142d52;
    position: absolute;
    top: 130px;
    right: 30px;
	font-size: 16px;
	text-align: right;
}

#passwordReset {
    color: #142d52;
    position: absolute;
    top: 185px;
    right: 30px;
	font-size: 16px;
	text-align: right;
}

#passwordReset span.label {
    text-decoration:underline;
    cursor:pointer;
}

#passwordResetResult {
    font-weight:bold;
}

#support
{
    color: #142d52;
    position: absolute;
    top: 240px;
    right: 30px;
	text-align: right;
}
#support td
{
    text-align:left;
}

*::-ms-clear {
    display: none;
}

#customLandingText {
    position:absolute;
    top:35px;
    left:0px;
    right:0px;
    bottom:0px;
}

.twoFactorDialog {
    position:absolute;
    top:100px;
    left:50%;
    margin-left:-200px;
    width:400px;
    height:200px;
}

.twoFactorDialog .title_text
{
    height:32px;
    line-height:32px;
    padding-left:5px;
    font-weight:bold;
    border-top-left-radius:4px;
    border-top-right-radius:4px;
}

.twoFactorDialog .contents
{
    position:absolute;
    left:0px;
    right:0px;
    top:32px;
    bottom:0%;
    padding:5px;
}

.twoFactorDialog .submit
{
    position:absolute;
    width:80px;
    left:50%;
    margin-left:-40px;
    bottom:10px;
}

.twoFactorDialog .resend
{
    display:inline-block;
    width:80px;
}

.twoFactorDialog {
    border-radius:4px;
    box-shadow:0 5px 21px rgba(0,0,0,0.3);
}

#duoTwoFactorEnroleFrame
{
    position: absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    border:none;
}

#duoTwoFactorEnroleSignInButton
{
    position:absolute;
    width:80px;    
    height:35px;
    line-height:35px;
    left:10px;
    bottom:10px;
    text-align:center;
    cursor:pointer;
    user-select:none;
    outline:none;
}

.twoFactorDialog .button 
{
    line-height:32px;
    height:32px;
    text-align:center;
    cursor:pointer;
    border-radius:4px;
}

.twoFactorDialog input
{
    line-height:30px;
    height:30px;
    padding-left:5px;
    padding-right:5px;
    padding-top:0px;
    padding-bottom:0px;
    border:1px solid #c0c0c0;
}

.widget.loginDialog
{
    width:400px;
    height:300px;
    left:50%;
    margin-left:-200px;
    top:100px;
    overflow:hidden;
}

.widget.loginDialog .widget_title
{
    padding-left:20px;
    font-size:18px;
}

.widget.loginDialog .widget_contents
{
    background-color:transparent;
    right:unset;
    width:800px;
    height:250px;
    /*border:1px solid black;*/
}

.widget.loginDialog .contactDetails
{
    position:absolute;
    overflow:hidden;
    color:#777777;
    padding-left:70px;
    line-height:20px;
    background-color:transparent;
}

.widget.loginDialog .contactDetailsEmail
{
    top:190px;
}

.widget.loginDialog .contactDetailsTelephone
{
    top:210px;
}

.widget.loginDialog .loginError
{
    position:absolute;
    top:160px;
    left:400px;
    right:0px;
    bottom:16px;
    overflow:hidden;
    color:#ff0000;
    padding-top:30px;
    padding-left:70px;
    line-height:30px;
    background-color:transparent;
    font-size:18px;
}

.widget.loginDialog .loginErrorResetButton
{
    position:absolute;
    top:190px;
    right:70px;
    height: 32px;
    line-height: 32px;
    background-color: transparent;
    color: #777777;
    cursor: pointer;
    text-decoration: underline;  
}

.widget.loginDialog .widget_contents .userNamePrompt,
.widget.loginDialog .widget_contents .userName,
.widget.loginDialog .widget_contents .passwordPrompt,
.widget.loginDialog .widget_contents .password
{
    position:absolute;
    width:260px;
    top:50px;
    font-size:18px;
    padding-top:0px;
    padding-left:0px;
    padding-right:0px;
    padding-bottom:10px;
}
.widget.loginDialog .widget_contents .userNamePrompt,
.widget.loginDialog .widget_contents .userName
{
    left:70px;
}

.widget.loginDialog .widget_contents .passwordPrompt,
.widget.loginDialog .widget_contents .password {
    left: 470px;
}

.widget.loginDialog .widget_contents .userName,
.widget.loginDialog .widget_contents .password
{
    border:none;
    outline:none;
    background-color:transparent;
}

.widget.loginDialog .widget_contents .userNamePrompt,
.widget.loginDialog .widget_contents .passwordPrompt
{
    color:#aaaaaa;
    border-bottom:1px solid #aaaaaa;
}

.widget.loginDialog .widget_contents .nextButton,
.widget.loginDialog .widget_contents .backButton,
.widget.loginDialog .widget_contents .signInButton
{
    position:absolute;
    width:80px;    
    height:30px;
    line-height:30px;
    top:120px;
    text-align:center;
    cursor:pointer;
    user-select:none;
    outline:none;
    border-radius:4px;
}
.widget.loginDialog .widget_contents .nextButton
{
    left:70px;
}

.widget.loginDialog .widget_contents .resetButton 
{
   position: absolute;
   right: 470px;
   width: 165px;
   top: 120px;
   height: 32px;
   line-height: 32px;
   background-color: transparent;
   color: #777777;
   cursor: pointer;
   text-decoration: underline;  
   text-align: right;
}

.widget.loginDialog .widget_contents .hiddenText 
{
    visibility: hidden;
}

.widget.loginDialog .widget_contents .visibleText 
{
    visibility: visible;
}  

.widget.loginDialog .widget_contents .backButton
{
    left:470px;
}

.widget.loginDialog .widget_contents .signInButton
{
    left:650px;
}

.widget.loginDialog .widget_contents .ssoError
{
    position:absolute;
    top:165px;
    left:70px;
    color:#ff0000;
    font-weight:bold;
}

.widget.loginDialog.unbranded .contactDetails,
#footerCustLogo.unbranded,
#footerLogo.unbranded,
.appBannerColor.appBannerBoard.unbranded .appLogoColor
{
    display:none;
}

#duoOptionsDialog table td {
    padding-top:10px;
}

#duoOptionsDialog .loadingAnim {
    background-image: url(../Images/LoadingAnimBlack.png);
    position: relative;
    opacity: 0;
}

#duoOptionsDialog .activeButtonColour {
    background-color: #6bbf4e
}

#duoOptionsDialog .duoLogo {
    position:absolute;
    width:100px;
    height:32px;
    left:10px;
    top:10px;
    background-image:url('../images/duoLogo-web.png');
    background-size:contain;
    background-repeat:no-repeat;
}

/*
    Colour definitions below
*/

.widget.loginDialog .widget_contents input:-webkit-autofill,
.widget.loginDialog .widget_contents input:-internal-autofill-selected {
    border: none !important;
    outline: none !important;
}

/* Webkit specific rules to style the auto-complete fields in a similar way to the rest of the site */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--defaultBackgroundColour) inset !important;
    -webkit-text-fill-color: var(--textColour) !important;
}


#bannerTop.appBannerColor.appBannerBoard.unbranded,
.widget.unbranded .activeButtonColour,
.widget.unbranded .widget_title.widgetTitleColor,
.widget.unbranded .widget_bottom.widgetBottomColor,
.twoFactorDialog.unbranded .activeButtonColour,
.twoFactorDialog.unbranded .widgetTitleColor.title_text {
    background-color: var(--textColour);
}

body .widget,
body #bannerTop,
body #appArea,
body .ContextMenu,
body .jsTree,
body .jsTree .jsNode,
body .EmbeddedSiteDetailsLoggerMenuList {
    color: var(--textColour);
    background-color: var(--defaultBackgroundColour);
}

body.darkMode .widget,
body.darkMode #bannerTop,
body.darkMode #appArea,
body.darkMode .ContextMenu,
body.darkMode .jsTree,
body.darkMode .jsTree .jsNode,
body.darkMode .EmbeddedSiteDetailsLoggerMenuList {
    color: var(--darkTextColour);
    background-color: var(--darkDefaultBackgroundColour);
}


body #vernum,
body #servertime,
body #footerLogo,
body #footerCustLogo,
body #flingDebugDiv,
body .menuIcon,
body .scrollGraph .point,
body .scrollGraph .graphKeyTable {
    background-color: transparent;
}

body #appArea {
    background-image: linear-gradient(to bottom right, var(--brandColour), var(--defaultBackgroundColour));
}

.activeButtonColour {
    background-color: transparent;
}

body .hoverButtonColour,
body.darkMode .hoverButtonColour {
    background-color: var(--brandColour);
    color: var(--brandColourText);
}

.activeButtonColour.textButton {
    color: var(--brandColour);
    box-shadow: 2px 2px 8px rgba(128, 128, 128, 0.1);
}

.hoverButtonColour.textButton {
    box-shadow: 2px 2px 8px var(--brandColourShadow);
}

.inactiveButtonColour.textButton {
    color: var(--disabledColour);
    box-shadow: 2px 2px 8px rgba(128, 128, 128, 0.1);
}

.hoverButtonColour.Icon32 {
    background-position-x: -32px;
}

.inactiveButtonColour.Icon32 {
    background-position-x: -64px;
}

#UtiliCoreLoginDialog .textButton:not(.inactiveButtonColour):hover {
    background-color: var(--brandColour);
    color: var(--brandColourText);
}


body.darkMode #appArea {
    background-image: linear-gradient(to bottom right, var(--brandColour), var(--darkDefaultBackgroundColour));
}
/*
body.darkMode #bannerTop,
body.darkMode .appLogoColor,
body.darkMode .widgetBottomColor,
body.darkMode .widgetTitleColor,
body.darkMode .widget .title_text,
body.darkMode .activeButtonColour.menuItems,
body.darkMode > .widget.loginDialog,
body.darkMode > twoFactorDialog {
    background-color: var(--darkDefaultBackgroundColour);
    color: var(--darkTextColour);
}
*/
body.darkMode .inactiveButtonColour.textButton {
    color: var(--darkDisabledColour);
    border: 1px solid var(--darkDisabledColour);
}

/* Webkit specific rules to style the auto-complete fields in a similar way to the rest of the site */

body.darkMode input:-webkit-autofill,
body.darkMode input:-webkit-autofill:hover,
body.darkMode input:-webkit-autofill:focus,
body.darkMode input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--darkDefaultBackgroundColour) inset !important;
    -webkit-text-fill-color: var(--darkTextColour) !important;
}

body.darkMode #bannerLogo {
    background-position-x:right;
}