﻿body {
    font-family: "Montserrat", Roboto, "Helvetica Neue", sans-serif !default; /*MOD: Match main portal*/
    color: #232323;
    background-color: #fff;
}
#main-section {
  margin: 15px;
}
/* Styles for basic forms
-----------------------------------------------------------*/
fieldset {
  border: 1px solid #ddd;
  padding: 0 1.4em 1.4em 1.4em;
  margin: 0 0 1.5em 0;
}
fieldset legend {
  font-size: 1.2em;
  font-weight: bold;
}
fieldset textarea {
  min-height: 75px;
}
fieldset .editor-label {
  margin: 1em 0 0 0;
}
fieldset .editor-field {
  margin: 0.5em 0 0 0;
}
fieldset .editor-field-slim {
  margin: 0.5em 0 0 0;
}
fieldset .editor-field input[type=text],
fieldset .editor-field input[type=password],
fieldset .editor-field input[type=file],
fieldset .editor-field input[type=url] {
  width: 400px;
}
/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
  color: #ff0000;
}
.field-validation-valid {
  display: none;
}
.input-validation-error {
  border: 1px solid #ff0000;
  background-color: #ffeeee;
}
.validation-summary-errors {
  font-weight: bold;
  color: #ff0000;
}
.validation-summary-valid {
  display: none;
}
/* Styles for the web frontent
-----------------------------------------------------------*/
a {
  color: #214761 !important; /*MOD-black; TODO: Tie into Huro source instead of hardcode*/
  /*text-decoration: underline;*/ /*MOD: Nobody does this anymore*/
}
a:hover {
  /*text-decoration: underline;*/ /*MOD: Nobody does this anymore*/
  opacity: 0.7; /*MOD-ADD*/
}
a.bodyLink {
  color: #7285a3;
}
.masterHeader {
  background-color: gainsboro; /*MOD-from #606060*/
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 1.5em; /*MOD-Restore since overridden by Huro*/
}
/*MOD-ADD*/
.masterHeader > img {
    max-height: 150px; 
}
.masterHeaderText {
    padding-left: 15px;
    font-weight: bold;
    color: #283252; /*MOD-from white*/
    margin: 0; /*MOD-ADD*/
}
.menu {
  background-color: #7285a3;
  padding-top: 5px;
  padding-bottom: 5px;
  color: #000000;
  padding-left: 15px;
}
.menu a {
  color: #FFFFFF;
  text-decoration: none;
}
.menu a:hover {
  text-decoration: underline;
}
ul.hrd li {
  list-style: none;
}
ul.hrd li button {
  width: 300px;
  height: 30px;
  margin: 3px;
}
.editor > div,
.editor > form > div {
  margin: 5px;
}
.editor label {
  vertical-align: top;
  display: inline-block;
  width: 230px;
  font-weight: bold;
  text-align: right;
  margin-right: 10px;
}
.editor label:after {
  content: ':';
}
.editor.small label {
  width: 130px;
}
.editor.small.signin input[type=text],
.editor.small.signin input[type=password] {
  width: 230px;
}
.editor.small.signin div.buttons {
  max-width: 380px;
}
.editor.small div.buttons {
  max-width: 500px;
}
.editor input[type=text],
.editor input[type=password],
.editor input[type=file],
.editor input[type=url],
.editor input[type=email],
.editor textarea {
  width: 350px;
}
.editor select {
  width: 352px;
  padding: 1px;
  margin-right: 1px;
}
.editor select .input-validation-error {
  width: 352px;
}
.editor input.base64 {
  width: 275px;
}
.editor button.base64 {
  width: 70px;
}
.editor img {
  vertical-align: middle;
  position: relative;
  top: -2px;
}
.editor img.error {
  margin-left: 5px;
}
.editor .inline-editor {
  vertical-align: top;
  text-align: left;
  display: inline-block;
  width: 353px;
  margin-left: 0;
  margin-right: 2px;
}
.editor .inline-editor * label,
.editor .inline-editor * input {
  width: auto;
}
.editor .inline-editor.create-user-roles * label {
  width: 230px;
}
.editor div.buttons {
  padding-top: 10px;
  text-align: right;
  max-width: 600px;
}
.offline {
  margin-top: 20px;
}
.scopes label {
  cursor: pointer;
}



/*Overrides for Huro and Phoenix - could optionally override this or change directly, in the Huro SCSS sources, like done for portal*/
/*TODO: 
    Figure out how to incorporate access to primary/secondary color palette thru Huro CSS only, without hardcoding
    Also, do better job of applying overrides (even using !important) so not having to overrule every single element, when a wider net can be set
    esp since it is the wider net (more generic and further up chain) often causing the issues
*/
.modern-login .left-background-container {
    /*height: calc(100vh);*/
}
.modern-login .left-background {
    height: calc(100vh);
    object-fit: cover;
    width: calc(100vw);
}
.modern-login .is-content-column-container {
    height: calc(100vh);
    overflow-y: auto;
    overflow-x: hidden;
}
.modern-login .top-logo {
    position: static;
    padding-top: 50px;
}
.modern-login .top-logo img {
    max-width: 250px;
}
.app-wrapper .dark-mode {
    position: absolute;
    top: 30px;
    right: 30px;
}
.modern-login .is-form form.login-wrapper {
    padding: 0px 20px;
}
.modern-login .is-form .login-wrapper .button-wrap .button:first-child:hover {
    opacity: 0.7; /*Keep consistent with other hover behaviors*/
}
.modern-login .is-form .recover-text {
    font-size: 1em;
    color: #a2a5b9;
}
.button.h-button.is-primary.is-raised:hover {
    opacity: 0.7; /*Keep consistent with other hover behaviors*/
}
/*Why Huro is so inconsistent in their own application, i dont know - copied from general definition of these buttons*/
body.is-dark .modern-login .is-form .login-wrapper .button-wrap .button:nth-child(2) {
    color: #ffffff;
}
body.is-dark .modern-login .is-form .login-wrapper .button-wrap .button:nth-child(2) {
    border-color: #6D6E71; /*TODO: Tie into Huro source instead of hardcode*/
}
.login-wrapper .button-wrap.is-button-group {
    text-align: center;
    width: 100%;
}
body.is-dark input,
body.is-dark .input {
    color: #ffffff;
}
.modern-login .is-form .form-text p {
    color: #283252;
}
body.is-dark .modern-login .is-form .form-text p {
    color: #a2a5b9;
}
.input:hover, .textarea:hover,
.select select:hover,
.is-hovered.input,
.is-hovered.textarea,
.select select.is-hovered {
    border-color: #214761; /*TODO: Tie into Huro source instead of hardcode*/
}
.modern-login .is-form .login-wrapper .control:hover,
.modern-login .is-form .login-wrapper .control:hover .auth-icon i {
    color: #214761 !important; /*TODO: Tie into Huro source instead of hardcode*/
    border-color: #214761 !important; /*TODO: Tie into Huro source instead of hardcode*/
}


/*
    Override media/mobile to allow leftside to show (images)
    TODO: Possibly better, more organic way to handle this
*/
@media only screen and (max-width: 1024px) {
    html {
        overflow: auto !important;
    }

    .modern-login .column.is-8,
    .modern-login .column.is-8-tablet {
        width: 100%;
        height: 35vh;
        display: block;
        min-height: 250px; /*arbitrary - revisit*/
    }

    .modern-login .column.is-4,
    .modern-login .column.is-4-tablet {
        width: 100%;
        height: unset; /*65vh;*/
        display: block;
    }

    .modern-login .left-background {
        width: 100%;
        height: 35vh;
        min-height: 250px; /*arbitrary - revisit*/
    }

    .modern-login .is-form {
        padding-top: 0;
    }
}

/* Override Bulma SASS core from here instead of Huro (overriding min-width of 769 to max-width)*/
@media screen and (max-width: 1024px) {
    .columns:not(.is-desktop) {
        display: block;
    }

    /* TODO: Revisit this since would still be nice*/
    .column.is-2, .column.is-2-tablet,
    .column.is-3, .column.is-3-tablet,
    .column.is-4, .column.is-4-tablet,
    .column.is-5, .column.is-5-tablet,
    .column.is-6, .column.is-6-tablet,
    .column.is-7, .column.is-7-tablet,
    .column.is-8, .column.is-8-tablet,
    .column.is-9, .column.is-9-tablet,
    .column.is-10, .column.is-10-tablet {
        width: 100%;
    }
}

.mobile-logo-header {
    width: 100%;
    height: 95px;
    text-align: center;
}

.mobile-logo-header > img {
    height: 85px;
    padding-top: 12px;
}


/*Optionally use the 25% lighter accent color*/
/*#f69296*/
