



/*************************************************************************************/
/*************************************************************************************/
/*************************************************************************************/
/*************************************************************************************/
/*************************************************************************************/

/*QM2021REVAMP: */
/* If revamping a previous project, add all css in this file to the bottom of the previous site.css file*/
/* The CSS classes in this file have been re-ordered for readability. General order is as follows: */
/* BRANDING COLORS AND FONTS  - client specific branding colors go here not hardcoded throughout  */
/* BASE ELEMENT STYLING - standard html elements  */
/* QM STRUCTURAL CLASSES - for header and main body  */
/* QM GENERIC CLASSES - for stuff inside the mainContent area  */ 
/* QM DEPRECATED CLASSES - some classes are not required anymore */
/* PAGE SPECIFIC STYLES - specific classes for specific pages */



/*************************************************************************************/
/* BRANDING COLORS AND FONTS - client specific branding colors go here not hardcoded throughout */
/*************************************************************************************/

/*QM2021REVAMP: Use this area to style the main colors of the site. */
/* CSS variables will NOT work for IE11 which needs hardcoded colors instead. */
/* Usage: if '--xx-yy' is the variable then use it like 'var(--xx-yy)'... without quotes */

/*Baseline Colors - do not touch*/
:root {
  --main-color: #2f98bf;    /* WHY: Used for important buttons*/
  --secondary-color: #CCC;  /* WHY: Used for less important buttons */
  
  /*Register panel on the Login page*/
  --register-panelbg-color: #ffd;     /* WHY: Used for Register panel's background color */
  --register-panelborder-color: #900; /* WHY: Used for Register panel's border color  */
  --register-paneltext-color: #900;   /* WHY: Used for Register panels' text color */
  --register-buttonbg-color: #900;    /* WHY: Used for Register button's background color */
  --register-buttontext-color: #fff;  /* WHY: Used for Register button's text color */
  
  /*Reset panel on the Login page*/
  --reset-panelbg-color: #f6f6f6;  /* WHY: Used for Reset panel's background color*/     
  --reset-panelborder-color: #999; /* WHY: Used for Reset panel's border color*/        
  --reset-paneltext-color: #555;   /* WHY: Used for Reset panel's text color */          
  --reset-buttonbg-color: #fff;    /* WHY: Used for Reset button's background color */   
  --reset-buttontext-color: #333;  /* WHY: Used for Reset button's text color */         
}

/*Project Specific Colors - edit your project specific colors here not above*/
/*NOTE: if you want to ignore this color set, then rename ':root' to ':rootXXX'*/
:rootXXX {
  --main-color: #85c13e;    
  --secondary-color: #333;  
  
  /*Register panel on the Login page*/
  --register-panelbg-color: #ffd;     /* WHY: Used for Register panel's background color */
  --register-panelborder-color: #900; /* WHY: Used for Register panel's border color  */
  --register-paneltext-color: #900;   /* WHY: Used for Register panels' text color */
  --register-buttonbg-color: #900;    /* WHY: Used for Register button's background color */
  --register-buttontext-color: #fff;  /* WHY: Used for Register button's text color */
  
  /*Reset panel on the Login page*/
  --reset-panelbg-color: #f6f6f6;  /* WHY: Used for Reset panel's background color*/     
  --reset-panelborder-color: #999; /* WHY: Used for Reset panel's border color*/        
  --reset-paneltext-color: #555;   /* WHY: Used for Reset panel's text color */          
  --reset-buttonbg-color: #fff;    /* WHY: Used for Reset button's background color */   
  --reset-buttontext-color: #333;  /* WHY: Used for Reset button's text color */        

}



/* NOTE: '../../Content/' assumes that ProximaNova folder exists in shared /auth/Content location*/
/* NOTE: Alternatively, you can use different localized font if you wish by putting fonts folder in root of the project*/

@font-face {
  font-family: "pnRegular";
  src: url('../../Content/ProximaNova/ProximaNova-Regular.otf') format('opentype');
}

@font-face {
  font-family: "pnBold";
  src: url('../../Content/ProximaNova/ProximaNova-Bold.otf') format('opentype');
}


/***********************************************************************/
/* BASE ELEMENT STYLING - standard html elements  */
/***********************************************************************/

body {color: #555; font-size: 14px; font-family: "pnRegular", Verdana,Arial,Helvetica,sans-serif;}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal; font-family: "pnBold"; margin-top: 0em;
}
/*NOTE: We purposely make h1 behave like h2 and h3 behave like h4 so there is consistency*/
h1 {font-size: 1.7em;} /*WHY: Not used at all*/
h2 {font-size: 1.7em;} /*WHY: Used for short page titles only*/
h3 {font-size: 1.2em;} /*WHY: Not used at all*/
h4 {font-size: 1.2em;} /*WHY: Used for long page titles only*/
h5 {font-size: 1.1em;} /*WHY: Used for titles in panels only*/
h6 {font-size: 1.0em;} /*WHY: Not used at all*/
@media(max-width: 40rem) {
  h1 {font-size: 1.7em;}
  h2 {font-size: 1.7em;}
  h3 {font-size: 1.2em;}
  h4 {font-size: 1.2em;}
  h5 {font-size: 1.1em;}
  h6 {font-size: 1.0em;}
}

b, strong {font-weight: normal; font-family: "pnBold"}

ul {}
@media(max-width: 40rem) {
ul {
  padding-inline-start:1.5rem;
}}

label {font-weight: normal; font-family: "pnBold"; }

/***********************************************************************/
/* QM STRUCTURAL CLASSES - for header and main body  */
/***********************************************************************/

/* banner area */
/* banner area */

header {background: none;}

/*WHY: if you need a top border in the header. This is hardly used at all. */
.bannerTopSlice {
  /* background-image: url(./images/banner_top_slice.jpg);
  background-repeat: repeat-x;
  height: 30px; 
  display: none; */
}

.bannerRow {}
.bannerWrapper {max-width: 960px;} /*You can go wider than 960px but it is NOT recommended because it is much harder to maintain readability */
.bannerWrapper img{max-width: 100%;} /*WHY: ensures that logo is never wider than the page width */

/*WHY: a very helpful visual seperator between the header and main. */
.bannerBottomSlice {
  background: #EEE;
  height: 0px;
}
@media(max-width: 40rem) {
.bannerBottomSlice {
  height: 10px;
}
}

/* main content area */
/* main content area */

.main {
  margin: 0px auto;
  padding: 2rem 2rem 2rem 2rem;
  clear: both;
  display: block;
  z-index: 2;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: inherit; /*IMPORTANT: makes modals clickable in EditProfile. Should NOT be "position: relative;"*/

  /* QM2021REVAMP: The following items need to go hand in hand to ensure proper converage of background image*/
  /* https://css-tricks.com/almanac/properties/b/background-size/ */
  /* https://css-tricks.com/perfect-full-page-background-image/ */
  background-size: cover; /*keep it at 'cover' so the whole area is covered. Probably no need to change*/
  
  /*Option 1) No Page Background */
  /* background: #f6f6f6; */
  
  /*Option 2) Partial Background: If you are using a short wide image then set min-height to 600px*/  
  /* min-height: 600px; 
  background-image: url("./images/bg_baby.jpg"); 
  background-image: url("./images/bg_coffee.jpg"); 
  background-image: url("./images/bg_piggieBank.jpg");  */  
  
  /*Option 3) Fancy Full Page Background: more complex approach that adds a color tint on top of the background image. Not recommended.*/
  /* min-height: calc(100vh - 80px); */
  /* background-image: linear-gradient(rgb(38, 119, 186, 0.05),rgb(38, 119, 186, 0.4)), url(./images/bg_vista.jpg); */
  
  /*Option 4) Full Page Background: Preferred approach: */
  /* To prevent scrollbars, subtract the height of the "header" ... */
  /* Use ... console.log("min-height: calc(100vh - " + $("header").height() + "px);") ... in console and then paste below*/
  min-height: calc(100vh - 70px);
  background-image: url("./images/bg_lake.jpg"); 
  background-image: url("./images/bg_vista3.jpg");
      
  background-position-x: right;  /* use left/center/right to match the focus of the image */
  background-position-y: bottom; /* use top/middle/bottom to match the focus of the image */
}
@media(max-width: 64rem) {
.main {
  padding:2rem;
}}
@media(max-width: 40rem) {
.main {
  padding:0rem;
  /*WARNING: showing the background image in mobile could cause unneccesary display issues. Try to refrain from displaying it.*/
  background-image: none;
}}

.main_wrapper {
  margin: 0px auto; padding: 0em; min-height: 400px; max-width: 960px; z-index: 1;
  border:0px solid #eee; background: #fff; border-radius: 0px; box-shadow: 1px 1px 10px rgba(0,0,0,0.25);
}
@media(max-width: 40rem) {
.main_wrapper {
  box-shadow: none;
}
}

.mainContent {
  background: #fff;
  padding: 2rem;
  opacity: 1; /*prevent Chrome bug when modal is open*/
  /*NOTE: using opacity<1 causes the modals in EditProfile to be unclickable. But EditProfile should have 'opacity:1' hardcoded on the EditProfile page to compensate. */
  opacity: 0.95; 
  box-shadow: none;
}
@media(max-width: 40rem) {
  .mainContent {
    padding:1rem 2rem; margin: auto;
  }}


/***********************************************************************/
/* QM GENERIC CLASSES - for stuff inside the mainContent area  */
/***********************************************************************/

/* tables for layout styling */
/* tables for layout styling */

/*NOTE: CredentialTable is the main method to display the label and inputs in a two column grid*/
.CredentialTable {width: 100%;}
.CredentialLabelCell {
  text-align: right; width: 50%; padding: 0.5rem 0.625rem 0.625rem;
}
.CredentialInputCell {
  text-align: left; width: 50%; padding: 0.5rem 0.625rem 0.625rem;
}
/*WHY: for mobile, make each cell stack on top of each other at 100% width*/
@media(max-width:40rem){
.CredentialTable tr{display: block;}   
.CredentialLabelCell {display: block;text-align: left; width: 100% !important; padding-bottom: 0rem;}
.CredentialInputCell { display: block; width: 100% !important; min-width: 150px; padding-top: 0rem;}
}

/*WHY: causes the button inside the left column of CredentialTable to be right aligned */
.CredentialTable tr td:nth-child(1) .btn {
  float: right; 
}
.CredentialTable .CredentialTable tr td .btn{
  float: none !important; 
}
/*WHY: If you have a table inside a CredentialTable then you probably don't want the left column to be right aligned.*/
.CredentialTable table tr td:nth-child(1) {
  text-align: left;
}


/* buttons styling */
/* buttons styling */

/*WHY: force all buttons to have a minimum width so they look consistent. No need for .ButtonWide class anymore*/
.btn {
  min-width: 120px !important;
  margin: 0.4em 0em 0.4em 0.4em;
  /*NOTE: It is NOT recommended to change the base border color.*/
  /* border:1px solid #999; */
  font-weight: normal;
}
.btn:hover {
  transform: scale(1.01);
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
  filter: brightness(103%);
  font-weight: normal;
}
.btn:active {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
}
.btn-primary {
  /*NOTE: It is NOT recommended to change the base border color. Let it match the background of button. */
  border-color: var(--main-color);
  background-color: green; /*Fallback for IE11 only */
  background-color: var(--main-color);
  color: #fff !important;
  font-weight: normal !important;
}
.btn-primary:hover {
  border-color: var(--main-color);
  background-color: var(--main-color) !important;
  color: #fff !important;
}
.btn-primary:focus {
  background-color: var(--main-color) ;
}
.btn-primary:active {
  background-color: var(--main-color);
}


/*general text styling*/
/*general text styling*/

.noBold {font-weight: normal; font-family: "pnRegular";}
.subheader {display: block; background: #FFC;}
.noBorderBottom {border-bottom:1px solid #f7f7f7 !important;}
.sublabel {font-size: 90%;color: #777;} /*to be used under the textbox for explanations*/
.errorMsg {color: #C00;}
.hasError td {color: #C00;}
.hasError .error-msg {/* display: block; */height: auto;opacity: 1;transition: all .6s;font-size: inherit;}
.dimmed {color: #999;}
.separator { border-top: 1px solid #ccc }
.btn.ui-datepicker-trigger {margin: 0px;} /*removes extra gap between button and cell*/
input.btn-primary[type="submit"] {margin-right: 0px;} /*forces the "submit" closer to the "cancel" button*/
.modal-footer .btn {margin-bottom: 0px;} /*prevents slight vertical difference between two buttons in modal footer*/
.hideInMobile {}
@media(max-width: 40em) {
  .hideInMobile {display: none;}
}
#alert_placeholder ul    {margin-top: 0.0rem; margin-bottom: 0.0rem;}
#alert_placeholder li    {margin-top: 0.5rem; margin-bottom: 0.5rem;}
#alert_placeholder li li {margin-top: 0.1rem; margin-bottom: 0.1rem;}

/*Potentially deprecated*/
.primaryLabel {  padding-bottom: 5px; vertical-align: top;}
td.primarylabel {  font-weight: normal !important;}
.muklabel {  font-weight: normal; font-family: "pnBold";}
.version {  text-align: right; color: white; font-size: 8px; display: none;}
div.captcha {  padding: 3px; border: 1px solid rgb(204, 204, 204); border-image: none; text-align: center;}
div.captcha #lnkNewCaptcha {  margin-left: 5px; vertical-align: middle;}
.optimalViewing {  padding-top: 30px; font-size: 12px;}
.DOHFootnote {  font-size: 11px;}


/* icon styling */
/* icon styling */

/*default icon color should be subtle so that the highlighting in the hover effects below are more obvious*/
.fa, 
tr:hover tr .fa, 
.glyphicon{
  color: #CCC; font-size: 1.1em;
}
.btn-primary .fa, 
.btn-primary .glyphicon {
  color: #fff !important; font-size: 1.1em;
}
.btn-default .fa, 
.btn-default .glyphicon {
  color: #999 !important; font-size: 1.1em;
}
/*hovering over the row will highlight the fontawesome icon */
tr:hover .fa, 
tr:hover tr:hover .fa,
tr:hover .glyphicon {
  color:var(--main-color); transition: 0.5s all;
}
/*hovering over the icon will highlight the fontawesome icon by even more color*/
tr .fa:hover, 
tr:hover tr:hover .fa:hover, 
tr .glyphicon:hover {
  color:#900; transition: 0.2s all;
}



/***********************************************************************/
/* QM DEPRECATED CLASSES - some classes are not required anymore */
/* deprecated classes are provided with pink color to warn about removing them  */
/***********************************************************************/

/* NOTE: if one of the following classes should NOT be deprecated then:
   - append XXX to the classname in the list below  
*/
.primaryLabel, .muklabel, .version, captcha, #lnkNewCaptcha, .optimalViewing, .DOHFootnote {
  background: pink !important; color:red !important;
}



/***********************************************************************/
/* PAGE SPECIFIC STYLES - specific classes for specific pages */
/***********************************************************************/


/*ClientLogin.cshtml*/
/*ClientLogin.cshtml*/

.pageClientLogon {background: none; padding: 0px; border:0px solid #fff; }
.pageClientLogon .CredentialTable {border:1px solid #999; width: 100%; margin:auto;}
@media(max-width: 40rem) {
  .pageClientLogon .CredentialTable {
    border:none;
}}
.pageClientLogon .CredentialTable .h5 {font-size:1.1rem;}
.pageClientLogon .CredentialTable .CredentialLabelCell {min-width: 10px; width: 40%;}
.pageClientLogon .CredentialTable .CredentialInputCell .form-control {width: 200px;}

#tblRegistrationReset {width: 100%;}
#tblRegistrationReset a.btn{}

.registerColumn {
  padding: 1rem 1.5rem;
  background:var(--register-panelbg-color) !important;
  border: 1px solid #999; /*Fallback for IE11 only*/ 
  border: 1px solid var(--register-panelborder-color); 
  color:  var(--register-paneltext-color); 
  width: 50%;
}
@media(max-width: 40rem) {
  .registerColumn {
    width: 100%;display: block;
}}
.registerColumn h5 { 
  color:var(--register-paneltext-color) !important; 
}
.registerColumn a.btn {
  border:1px solid var(--register-panelborder-color) !important; 
  background-color: #900; /*Fallback for IE11 only*/ 
  background-color: var(--register-buttonbg-color); 
  color: #fff; /*Fallback for IE11 only*/ 
  color: var(--register-buttontext-color);
  float: none;
}
.registerColumn a.btn:hover {opacity: 0.8;}

.resetColumn {
  padding: 1rem 1.5rem;
  background:var(--reset-panelbg-color); 
  border: 1px solid #999; /*Fallback for IE11 only*/ 
  border: 1px solid var(--reset-panelborder-color); 
  color: var(--reset-paneltext-color); 
  width: 50%;
}
@media(max-width: 40rem) {
  .resetColumn {
    width: 100%;display: block;
}}
.resetColumn a.btn {
  border:1px solid var(--reset-panelborder-color) !important; 
  background-color: var(--reset-buttonbg-color); 
  color: #333; /*Fallback for IE11 only*/ 
  color: var(--reset-buttontext-color);
  float: none;
}
.resetColumn a.btn:hover {opacity: 0.8;}


/*EditProfile.cshtml*/
/*EditProfile.cshtml*/

/*WHY: acts as subheaders in the EditProfile page*/
.hint-title {
  font-weight: normal; font-family: "pnBold"; margin-top: 15px; font-size:1.2em; display: block;
}
.hint-title-15px { font-weight: bold; font-size: 15px; }

/*WHY: makes the table fit properly in mobile by hiding the 2nd and 4th column */
#mfaTableOfContactMethods {
  width: 80%; 
  margin:auto; 
  background: #f6f6f6;
  margin-bottom: 0.5em;
}
#mfaTableOfContactMethods tr:hover {
  background: #eee;
}
#mfaTableOfContactMethods tr td {
  border-bottom: 1px solid #fff !important;
}
@media(max-width:40em) {
  #mfaTableOfContactMethods {
    width: 100%; 
  }
  #mfaTableOfContactMethods  tr td:nth-child(2){
    display: none;
  }
  #mfaTableOfContactMethods  tr td:nth-child(4){
    display: none;
  }
}

table.borderless td, table.borderless th { 
  border: none !important; 
}


/*SelectResetMethod.cshtml*/
/*SelectResetMethod.cshtml*/

/* */
.pageSelectAccountResetMethod form input[type=radio] {vertical-align:top; margin: 0.25em 0em 0.5em 0em;}
.pageSelectAccountResetMethod form label {width: 90%; font-family: "pnRegular"; font-weight: normal;}
.pageSelectAccountResetMethod form input[type=radio] + label {opacity: 0.85;}
.pageSelectAccountResetMethod form input[type=radio] + label:hover {opacity: 1.0;  color: var(--main-color); cursor:pointer;}
.pageSelectAccountResetMethod form input[type=radio]:checked + label {opacity: 1.0; color: var(--main-color); font-family: "pnBold";}


/*WHY: makes the radio buttons mobile friendly so that the label doesn't go underneath the radio button*/
@media(max-width: 40em) {
  .pageSelectAccountResetMethod form p {margin-left: 1.5em;}
  .pageSelectAccountResetMethod form input[type=radio] {vertical-align: inherit; margin: 0.5em 0em 0.5em -1.2em;}
  .pageSelectAccountResetMethod form label {display: inline; }
}

