.topBar {
    /* Creates a beautiful color gradient that can be placed at the top of the page header to give it a nice theme */
    height: 6px;
    background: linear-gradient(to right, #157ba3 0%, #96d602 100%);
    position: fixed;
    width: 100%;
}

.page-container > span > div {
  background-color: white !important;
}

.crmEntityFormView,
.entitylist {
  background-color: #ffffff;
  color: #000000;
  border: 0px solid #ffffff;
}

/* Footer Link Styling */
.footer a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Logo Styling */
.footer-logo {
    height: auto;
    width: 100%;
    max-width: 150px;
    display: block;
    margin: 0 auto;
}

/* Copyright Text */
.copyright-text {
    font-size: 12px;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

/* Layout Classes */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.footer .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer .col-sm-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .copyright-text {
        margin: 15px 0;
    }
    .logo-container {
        margin: 10px 0;
    }
    .footer .row {
        flex-direction: column;
    }
    .footer .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

#content-container.container.wrapper-body.signinpage .page-content .row .col-md-6 button.btn.btn-primary.btn-line { /*these two are the buttons on the sign in screen*/
    margin-right: 4px;
    margin-top: 5px;
    padding: 10px;
    color: #44B038;
    border-radius: 2px;
    font-family: Arial;
    font-weight: 600;
    font-size: 16px;
    border-color: #44B038;
    width: 300px;
    border-style: solid;
    border-width: 1.6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent; 
  }
  
  #content-container.container.wrapper-body.signinpage .page-content .row .col-md-6 button.btn.btn-primary.btn-line:hover {
    background-color: #44B038;
    color: #ffffff;
  }

  #content-container.container.wrapper-body.signinpage .page-content .row .col-md-6 {
    width: 100%
  }

  .submit-btn.btn.btn-primary.form-action-container-left {
    margin-left: 11px;
    color: #44B038;
    border-radius: 2px;
    font-family: Arial;
    font-weight: 600;
    font-size: 14px;
    border-color: #44B038;
    padding: 6px 20px;
    width: 150px;
    border-style: solid;
    border-width: 1.6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent; 
  }

  .submit-btn.btn.btn-primary.form-action-container-left:hover {
    background-color: #44B038;
    color: #ffffff;
  }

  .submit-btn.btn.btn-primary.form-action-container-left:disabled {
    background-color: #d3d3d3;
    color: #44B038;
  }

  .btn.button1,
  .btn-primary {
    color: #44B038 !important;
    border-radius: 2px !important;
    font-family: Arial !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-color: #44B038 !important;
    padding: 6px 20px !important;
    width: 150px;
    border-style: solid !important;
    border-width: 1.6px !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    background-color: #fff !important; 
  }
  
  .btn.button1:hover,
  .btn.button1:active,
  .btn.button1.active,
  .btn.button1:active:hover,
  .btn.button1.active:hover,
  .btn.button1:active:focus,
  .btn.button1.active:focus,
  .btn.button1:active.focus,
  .btn.button1.active.focus,
  .btn.button1:focus,
  .btn.button1.focus,
  .btn-primary:hover,
  .btn-primary:active,
  .btn-primary.active,
  .btn-primary:active:hover,
  .btn-primary.active:hover,
  .btn-primary:active:focus,
  .btn-primary.active:focus,
  .btn-primary:active.focus,
  .btn-primary.active.focus,
  .btn-primary:focus,
  .btn-primary.focus {
    background-color: #44B038 !important;
    color: #ffffff !important;
  }

  #PreviousButton {
    color: #606060 !important;
    border-radius: 2px !important;
    font-family: Arial !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-color: #606060 !important;
    padding: 6px 20px !important;
    width: 150px;
    border-style: solid !important;
    border-width: 1.6px !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    background-color: #fff !important; 
  }

  #NextButton {
    width: 150px;
  }

  #PreviousButton:hover,
  #PreviousButton:active,
  #PreviousButton.active,
  #PreviousButton:active:hover,
  #PreviousButton.active:hover,
  #PreviousButton:active:focus,
  #PreviousButton.active:focus,
  #PreviousButton:active.focus,
  #PreviousButton.active.focus,
  #PreviousButton:focus,
  #PreviousButton.focus {
    background-color: #606060 !important;
    color: #ffffff !important;
  }

  .container-fluid,
  .container {
  width: 90%;
}

.col-lg-12.columnBlockLayout {
    margin-top: 10px !important;
    background-color: #f5f5f5;

  }

.section-title {
    padding-left: 26px
}


.af-hidden-autofill-icon {
    border: 1px solid #ced4da !important;
    border-radius: .375rem;
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .375rem;
}

input[type="radio"] {
  margin-top: 4px;
  height: 18px;
  width: 18px;
}

.navbar {
    transition: transform 0.3s ease-in-out; /* Add a smooth transition */
    position: fixed;
    width: 100%;
    margin-top: 6px;
    z-index: 1010
}

.navbar-expand-xl {
  z-index: 1010; 
}

.navbar-hidden {
    transform: translateY(-110%); /* Hide the navbar above the viewport */
}

.navbar-visible {
    transform: translateY(0);    /* Show the navbar */
}

.crmEntityFormView {
    border: 0px !important;
}

.list-group-item.active {
    background-color: #007749;
    border-color: #007749;
}

/* Commenting this section out as for the partner portal we do want to show the view selector and search option in the list header */
/* .ms-OverflowSet.ms-CommandBar-primaryCommand.primarySet-167,
.ms-OverflowSet.ms-CommandBar-secondaryCommand.secondarySet-181 {
  display: none;
} 
*/

#liquid_form {
      min-height: 90vh;
      background-color: #f5f5f5;
    }

.clearfix.cell.crmquickform-cell {
  border-right: 0px !important;
}

.crmEntityFormView fieldset {    
  margin: 0;
  margin-bottom: 15px;
  padding: 0px;
  box-shadow: 0px 0px 5px 0px #b0b0b0;
  background-color: white;
  border-radius: 10px;
}

#mainContent {    
  background-color: #f5f5f5;
}

.tab.clearfix {
  background-color: transparent !important;
  margin-bottom: 20px;
}

.actions {
  background-color: #f5f5f5;
}

.modal-content {
  background-color: white !important
}

.crmEntityFormView, .entitylist, .popover-content {
  background-color: transparent !important;
  color: #000000;
  border: 0px solid #f2f2f2; }

  .container.quickform {
    margin-left: auto;
    margin-right: auto;
    width: auto;
    padding-top: 10px;
  }

.tab-column {
  background-color: transparent;
}

.input-group-text {
  padding: .375rem 0.2rem 0rem !important;
  background-color: transparent !important; 
  border: 0px solid !important;
}