/*
 * Your global styles here
 */
html,
body {
  height: 100%;
}

html {
  background: white;
}

body {
  margin: 0;
}

/* FONT STYLES */
.heading-large {
  color: #000;
  font-size: 36px;
}

.desktop-heading-medium {
  color: #000;
  font-family: "NVIDIA Sans";
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
}

.desktop-heading-small {
  color: #000;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
}

.desktop-heading-smallest {
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
}

.desktop-text-medium {
  color: #222;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
}

.desktop-text-small {
  color: #222;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
}

.desktop-button-text-small,
.button-style-text-small .slds-button {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
  padding: 10.5px 12.25px;
}

.desktop-button-text-medium,
.button-style-text-medium .slds-button {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
  padding: 12px 14px;
  height: 44px;
}

.desktop-button-text-large,
.button-style-text-large .slds-button {
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%;
  padding: 13.5px 15.75px;
  --dxp-s-button-color-focus-contrast: #000;
}

.description-text {
  margin-bottom: 1rem;
}

.weighted-text {
  font-weight: 700;
}

.required-text {
  color: #F00;
  padding: 1rem;
}

/* HEADER STYLES */
h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

/* SECTION STYLES */

section {
  margin-bottom: 2rem;
}

.main-section {
  margin-left: 1rem;
}

/* BUTTON STYLES */
.cta-button-primary,
.button-style .slds-button {
  background: var(--dxp-g-brand, #76b900);
  justify-content: center;
  align-items: center;
  border: none;
}

.cta-button-primary:hover,
.cta-button-primary:active,
.button-style .slds-button:hover,
.button-style .slds-button:active {
  background: #91C733;
  justify-content: center;
  align-items: center;
  border: none;
}

.cta-button-primary:disabled,
.button-style .slds-button:disabled {
  background: #CCC;
  justify-content: center;
  align-items: center;
  border: none;
  color: #999;
}

.secondary-button .slds-button,
.secondary-button-style {
  background: white;
  justify-content: center;
  align-items: center;
  border: 2px solid #76B900;
}

.secondary-button .slds-button:hover,
.secondary-button .slds-button:active,
.secondary-button-style:hover,
.secondary-button-style:active {
  background: white;
  justify-content: center;
  align-items: center;
  border: 2px solid #000000;
}

.secondary-button .slds-button:disabled,
.secondary-button .slds-button:disabled:focus,
.secondary-button-style:disabled,
.secondary-button-style:disabled:focus,
.cta-button-secondary:disabled,
.cta-button-secondary:disabled:focus,
.slds-buton.cta-button-secondary:disabled 
.slds-buton.cta-button-secondary:disabled:focus {
  background: white;
  justify-content: center;
  align-items: center;
  border: 2px solid #999999;
  color: #999;
  text-decoration: none;
}

.cta-button-secondary {
  background: #fff;
  display: flex;
  color: #000;
  padding: 12px 14px;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--dxp-g-brand);
  font-weight: 700;
}
.cta-button-secondary:hover {
  border: 2px solid #000000;
  color: #000;
  background: #fff;
}

.cta-button-gray {
  background: #bfbfbf;
  border: none;
}

.button-icon {
  margin-left: .5rem;
}

/* LINK STYLES */
.link-brand {
  border-bottom: 2px solid var(--dxp-g-brand, #76b900);
}

.link-brand:hover,
.link-brand:active,
.link-brand:focus {
  text-decoration: none;
  border-bottom: 2px solid var(--dxp-g-brand, #76b900);
}

.accordion-primary {
  --dxp-s-tertiary-button-border-color: #ccc;
}

/* TABLE STYLES*/
th,
td {
  padding: 1rem;
}

tr:nth-child(even) {
  background: #F7F7F7;
}

tr:nth-child(odd) {
  background: #EEE;
}

/* SPINNER STYLES */
.spinner-container-holder {
  display: flex;
  height: 75vh;
  justify-content: center;
  align-items: center;
}

/* Other Styles */
.hidden {
  display: none;
}

.file-uploader {
  cursor: pointer;
}

.display-flex {
  display: flex;
}

/*
@media (min-width: 769px) {
  .main-section {
      margin-left: 2rem;
      margin-top: 3rem;
  }
}
  */

/* Form Styles */

.container,
.form-container {
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}



.form-spinner {
  position: relative;
  right: 50%;
  left: 50%;
  top: 5rem;
}

.input-label {
  display: flex;
}

.label-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.label-text {
  display: flex;
  gap: 2px;
}

.label-text__required {
  color: var(--dxp-g-destructive, #ba0517);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 8px;
  --dxp-g-spacing-medium: 10px;
  --dxp-c-placeholder-opacity: 0.65;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.full-width {
  grid-column: span 2;
}

.checkbox-container {
  display: flex;
  gap: 1rem;
  --slds-c-checkbox-radius-border: 0;
  --slds-c-checkbox-color-border: #999;
}

.checkbox-faux {
  position: relative;
  top: 4px;
}

.form-footer {
  display: flex;
  width: 100%;
  padding: 15px;
  justify-content: space-between;
  align-items: center;
  background: #f6f6f6;
  --slds-kx-button-gradient-color: var(--dxp-g-brand, #76b900);
}

@media (max-width: 1024px) {

  .form-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: span 1;
  }
}

:root {
  /** set the font for all root/body text **/
  --dxp-g-root-font-family: 'NVIDIA Sans', Helvetica, sans-serif;

  /** set the font for headings **/
  --dxp-g-heading-font-family: 'NVIDIA Sans', Helvetica, sans-serif;
}

.secondary-link,
.homepage-link,
.primary-link a {
  color: var(--display-text, #222) !important;
  border-bottom: solid #76b900 2px;
  font-size: 15px;
  font-weight: 400;
}

.secondary-cta a {
  color: var(--display-text, #222) !important;
  font-weight: 700;
  font-family: var(--Font-Family, "NVIDIA Sans");
  font-style: normal;
  border-bottom: none;
  font-size: 1rem;
}

.secondary-cta a::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 16px;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="16" viewBox="0 0 10 16" fill="none"%3E%3Cpath d="M9.16016 8.25L8.5625 8.84766L1.84766 15.5977L1.25 16.1953L0.0546875 15L0.652344 14.4023L6.80469 8.25L0.652344 2.09766L0.0546875 1.5L1.25 0.339844L1.84766 0.9375L8.59766 7.65234L9.19531 8.25H9.16016Z" fill="%2376B900"%3E%3C/path%3E%3C/svg%3E');
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 5px;
  vertical-align: middle;
}

.secondary-link:hover,
.secondary-link:active,
.primary-link a:hover,
.primary-link a:active,
.homepage-link:hover,
.homepage-link:active,
.secondary-cta a:hover,
.secondary-cta a:active {
  text-decoration: none !important;
}

.text-bold {
  font-weight: 700;
}

.footer-logo img {
  width: 120px;
}

/* Styles specific to file upload to hide label and use a full-width button */
.file-upload-container .slds-form-element__label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.file-upload-container .slds-file-selector {
  display: flex;
}

.file-upload-container .slds-file-selector__dropzone {
  width: 100%;
  border: none;
  padding: 0;
}

.file-upload-container .slds-file-selector__dropzone>slot {
  width: inherit;
}

.file-upload-container span.slds-file-selector__button.slds-button.slds-button_neutral {
  width: 100%;
  padding: 7px;
  font-size: 0;
}

.file-upload-container span.slds-file-selector__text.slds-medium-show {
  display: none;
}

.file-upload-container .slds-file-selector__dropzone .slds-file-selector__button:after {
  content: 'Browse your files';
  font-size: 1rem;
  color: #000;
}

.secondary-text {
  color: var(--dxp-g-brand, #76b900);
}

/* Used for some rich formatted text classes (or for use in portal text metadata) */
.text-medium {
  font-size: 14px;
}

/* Style to fix the modal overflow issue for standard <lightning-modal>
   * This only appears when testing file upload as sysadmin right now, as it asks for a record type
   */
lightning-modal {
  overflow-y: scroll;
}

.main-container {
  margin-top: 2.75rem;
}

@media (max-width: 768px) {
  .main-container {
    margin-top: 1.0rem;
  }
}

c-phx-modal .slds-modal h1 {
  text-align: left;
  margin-bottom: 0px;
}

c-phx-modal .slds-modal .slds-modal__header {
  padding: 30px !important;
  display: flex;
  justify-content: space-between;
}

c-phx-modal .slds-modal .slds-modal__header .modal-close {
  cursor: pointer;
}

c-phx-modal .slds-modal .slds-modal__content {
  padding: 0rem 30px 30px 30px !important;
  text-align: left !important;
}

c-phx-modal .slds-modal .slds-modal__footer {
  background: #EEE;
  padding: 0px !important;
  justify-content: flex-end !important;
}

c-phx-modal .slds-modal .slds-modal__footer .button-container, 
c-phx-modal .slds-modal .slds-modal__footer .footer-box{
  padding: 15px 30px;
}

c-phx-modal .slds-modal .slds-modal__footer .slds-button {
  padding: 13.5px 15.75px !important;
  height: 50px;
}

c-phx-modal .slds-modal .slds-modal__content lightning-formatted-rich-text {
  color: #222;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 166.7%;
}

c-phx-modal .slds-modal .slds-modal__content lightning-formatted-rich-text a {
  color: var(--display-text, #222) !important;
  border-bottom: solid var(--dxp-g-brand, #76b900) 2px;
}

c-phx-modal .slds-modal .slds-modal__content lightning-formatted-rich-text a:hover,
c-phx-modal .slds-modal .slds-modal__content lightning-formatted-rich-text a:active {
  text-decoration: none !important;
}

c-phx-modal .slds-modal__footer .slds-button+.slds-button {
  margin-left: 15px;
}

c-phx-modal .slds-modal__footer .cancel-button{
  color: #000;
}

c-phx-modal .checkbox-container .checkbox{
  margin: .25rem .5rem 0 0;
}

.apply-login-page-container {
  max-width: var(--dxp-s-section-columns-max-width);
  margin-left: auto;
  margin-right: auto;
}

.nv-phx-footer{
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.detailed-text a {
  color: var(--display-text, #222) !important;
  border-bottom: solid var(--dxp-g-brand, #76b900) 2px;
} 

.detailed-text a:hover,
.detailed-text a:active {
  text-decoration: none !important;
}

.border-length .slds-tabs_default__item.slds-is-active:after,
.border-length .slds-tabs_default__item:hover:after {
  background-color: #76B900;
}

.border-length .slds-tabs_default__nav,
.border-length .slds-tabs--default__nav {
  border-bottom-color: #CCC;
}

.border-length {
  margin-bottom: 18px;
}

.help-faqs {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.nv-progress-bar {
  border: 0.25px solid #000;
}

.nv-progress-bar__value {
  border-right: 0.25px solid #000;
}

@media only screen and (max-width: 992px) {
  .phx-modal-size--small {
    max-width: 70% !important;
  }
}

@media (max-width: 1290px) {
  .nv-phx-footer {
    padding: 0;
  }
  .main-section {
    margin-right: 1rem;
  }
}