body.portal {
    /*font-size: 12px;*/
}
.main-content {
    height: calc(100% - 100px);
    min-height: calc(100% - 100px);
    overflow: hidden;
}
body.portal .site-header {
    top: 0;
    right: auto;
}
body.portal .site-header .inner {
    display: inline-block;
    margin: 0;
    width: auto;
    padding: 12px;
}
body.portal .site-header .logo {
    width: 130px;
}
body.portal .menu-main-menu-container,
body.portal .header-gradient,
body.portal .site-footer {
    display: none;
}
body.portal .partners {
    padding: 10px;
    height: 100px;
    max-height: 100px;    
}
body.portal .partners > * {
    display: inline-block;
    width: auto;
    max-width: initial;    
}
body.portal .partners-logos > img {
    display: inline-block;
    max-height: 20px;
    width: auto;
}
body.portal .partners p {
    position: absolute;
    bottom: 0;
    left: 0;
}
body.portal #portal-main-content > * {
    width: 100%;
    max-width: 1300px;
    margin: 1rem auto;
    box-shadow: 0 0 0 1px rgba(53,72,91,.07), 0 2px 2px rgba(0,0,0,.01), 0 4px 4px rgba(0,0,0,.02), 0 10px 8px rgba(0,0,0,.03), 0 15px 15px rgba(0,0,0,.03), 0 30px 30px rgba(0,0,0,.04), 0 70px 65px rgba(0,0,0,.05);
}
body.portal #portal-main-content > .starvale-form {
    padding: 0.5rem;
    background-color: transparent;
    overflow: unset;
    box-shadow: none;
}
body.portal #portal-main-content > .view-content .field-container {
    width: 100%;
    text-align: left;
}
body.portal #portal-main-content > .view-content .field-container .field-label {
    display: inline-block;
    font-weight: bold;
    width: 200px;
    padding: 1rem;
}
body.portal #portal-main-content > .view-content .field-container .field-value {
    display: inline-block;
    padding: 1rem;
}
body.portal .flexigrid div.bDiv {
    background: #fff;
    border: 0;
}
body.portal .flexigrid div.bDiv table, body.portal #filtering_form {
    margin-bottom: 0px;
}
#portal-container {
    display: flex;
    flex-direction: row;
    padding-bottom: 0px;
    min-width: 100%;
    height: 100%;
    min-height: 100%;    
}
#portal-container #left-navigation {
    width: 200px;
    /* height: 100%; */
    background-color: var(--clr-light-grey);
    /* min-height: 100%; */
    height: 100%;
    /* vertical-align: top; */
    /* display: flex;*/
    position: relative;
    border-right: 1px solid #bbb;
}
#left-navigation .nav-list {
    position: absolute;
    top: 150px;
    left: 0px;
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
#left-navigation .nav-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: #eee;
}
#left-navigation .nav-list li {
    padding: 0;
    margin: 0;
    width: 100%;
}
#left-navigation .nav-list li a {
    color: #333;
    text-decoration: none;
    padding: 8px 0px 8px 20px;
    width: 100%;
    display: block;
}
#left-navigation .nav-list > li a.active {
    background: #387b9d;
    color: #fff;
    font-weight: bold;
}
#left-navigation .nav-list > li > ul > li a.active {
    background: #cde;
    color: #333;
    font-weight: normal;
}
#left-navigation .nav-list ul li a {
    padding-left: 32px;
}
#left-navigation .nav-list li a:hover:not(.active) {
    background-color: #fff;
    text-decoration: none;
    display: block;
    color: #333;
}
.hide-nav {
    display: none;
}
#portal-container #left-navigation div.side-shadow {
    position: absolute;
    right: 0px;
    top: 0px;
    min-width: 1px;
    width: 0;
    height: 100%;
    min-height: 100%;
    box-shadow: 0 5px 4px #bbb;
}
body:not(.list) #portal-main-content {
    overflow: auto;
    height: calc(100% - 120px);
    min-height: calc(100% - 120px);
}
body.list #portal-main-content {
    position: absolute;
    width: 100%;
    top: 120px;
    height: calc(100% - 120px);
    min-height: calc(100% - 120px);
}
#portal-main-content {
    margin: 0;
    padding: 0.01rem;
    /* max-width: 1300px; */
    background-image: linear-gradient(180deg,#f0faff,#fff); 
    position: relative;
}
.search-form-container {
    position: absolute;
    height: 60px;
    width: 500px;
    box-sizing: border-box;
    padding-top: 5px;
    right: 0;
}
.dashboard-standard-error, .dashboard-standard-page {
    padding: 1rem;
    text-align: center;
    background-color: #fff;
    min-height: calc(100% - 2rem);
}
.dashboard-container {
    width: calc(100% - 200px);
    max-width: calc(100% - 200px);
    /*overflow: auto;
    padding-bottom: 200px; */
    position: relative;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    flex: 1;
}
body.portal #portal-main-content #dashboard_main {
    grid-template-columns: repeat(2,minmax(0,1fr));
    display: grid;
    box-shadow: none;
    gap: 1.5rem;
}
#dashboard_main .dashboard-segment {
    box-shadow: 0 0 0 1px rgba(53,72,91,.07), 
        0 2px 2px rgba(0,0,0,.01), 
        0 4px 4px rgba(0,0,0,.02), 
        0 10px 8px rgba(0,0,0,.03), 
        0 15px 15px rgba(0,0,0,.03), 
        0 30px 30px rgba(0,0,0,.04), 
        0 7px 6px rgba(0,0,0,.05);
    padding: 1.5rem 1.5rem 0;
    font-size: .875rem;
    margin: 2rem 0.5rem;
    background-color: #fff;
    padding: 1.5rem 1.5rem;
}
#dashboard_main .dashboard-segment .block-footer {
    padding-top: 1.25rem;
    border-top: 1px solid #ddd;
    margin-top: 1.25rem;
    text-align: center;
}
#portal-container .change-content {
    /*display: grid;
    grid-template-columns: 1fr 1fr;*/
    padding: 1rem;
    position: relative;
}
#portal-container .change-content.list {
    display: block;
}
#portal-container .template_form .change-content {
  display: block;
}
#portal-container .contact_form .change-content input, 
#portal-container .resetPassword_form .change-content input {
    max-width: 400px;
    width: 100%;
}
#portal-container .contact_form .change-content,
#portal-container .resetPassword_form .change-content {
    display: block;
}
#portal-container .resetPassword_form {
    position: relative;
    background-color: #fff;
}
#portal-container .resetPassword_form .change-content {
    padding-bottom: 5rem;
}
#portal-container .resetPassword_form [type=submit] {
    float: none;
    position: absolute;
    bottom: 2rem;
    left: 1rem;
}
body.portal .client-login-link {
    display: none;
}
form.starvale-form .error > .field-value > input, 
form.starvale-form .error > .field-value > .mce-tinymce,
form.starvale-form .error > .field-value > textarea, 
form.starvale-form .error > .field-value > select,
form.starvale-form .error > .field-value .mce-tinymce {
    border: 2px solid #d00;
}
.starvale-form > table.starvale-table {
    width: 100%;
}
.list-table-container {
    top: 55px;
    position: absolute;
    width: 100%;
    height: calc(100% - 85px);
    min-height: calc(100% - 85px);
    overflow-y: auto;
}
.list-table-container {
    border: 1px solid #bbb;
}
.list-table-container table {
    margin: 0;
}
.list-table-container th {
    position: sticky;
    top: 0;
    z-index: 2;
    border-right: 1px solid #bbb;
    
}
.list-table-container th:last-child {
    background-color: #3988AF;
}
.list-table-container th:first-child {
    border-left: none;
}
.list-table-container td {
    border-right: 1px solid #bbb;
}
.list-table-container td:first-child {
    border-left: none;
}
.main_title {
    font-size: 26px;
    text-align: center;
    color: #fff;
    line-height: 50px;
    font-weight: bold;
}
.starvale-list-view .main_title {
    color: #387b9d;
}
.list-footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 30px;
    background-color: #ace;
    color: #333;
    text-align: center;    
    border-left: 1px solid #bbb;
    border-right: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
    line-height: 30px;
}
.list-footer .add-record-link {
    position: absolute;
    left: 0px;
    bottom: 0px;
    padding-left: 5px;
    line-height: 30px;
}
.list-footer a {
    color: #333;
    font-weight: bold;
}
#page_num {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    background-color: #fff;
    border: revert;
    border-radius: revert;
}
.starvale-list-view .main_title {
    position: absolute;
    left: 1rem;
}
.dashboard-standard-error {
    color: #d00;
    border: 1px solid #d00;
    min-height: auto;
    position: relative;
    border-left: 6px solid #900;
    border-bottom: 2px solid #900;    
}

.dashboard-standard-error:before {
    display: block;
    position: absolute;
    content: "!";
    border: 1px solid #d00;
    width: 1.7rem;
    border-radius: 2rem;
    font-weight: bold;
    background-color: #fff;
    color: #d00;
}
#googleqr input[type=submit] {
    float: none;
}
ol, #googleqr p {
    text-align: left;
}
#googleqr form p {
    text-align: center;
}
.security-message {
    background-color: #900;
    color: #fff;
    padding: 1rem;
}
.success-message {
    width: 100%;
    background-color: #fff;
    color: #333;
    font-weight: bold;
    padding: 10px 5px;
    line-height: 30px;
    border: 1px solid #090;
    border-left: 6px solid #090;
    border-bottom: 2px solid #090;    
    text-align: center;
}
.success-message span {
    display: inline-block;
    float: left;
    background: #3988AF;
    border-radius: 60px;
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
}
.success-message span.tick {
    background-color: #090;
}
.success-message span.cross {
    background-color: #900;
}
.account-manager-name img {
  width: 80px;
  display: inline-block;
  border-radius: 10px;
}
.account-manager-name span {
  font-size: 1.2rem;
  font-weight: bold;
  vertical-align: top;
  padding: 1rem;
  display: inline-block;
}
.dashboard-segment .block-content label {
  font-weight: bold;
  width: 110px;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.wpforms-field label {
    color: #fff;
}
div.wpforms-container-full .wpforms-form .wpforms-required-label {
    color: #ff9900;
}
body.portal .portal-preloader {
    padding: 1rem;
    width: 300px;
    position: absolute;
    top: calc(50% - 150px);
    left: calc(50% - 150px);
    text-align: center;
    display: none;
}
body.portal .portal-preloader img {
    margin: 0 auto;
}
article.article-content-wrapper {
    text-align: left;
    padding: 1rem;
}
.article-content {
    padding: 1rem;
}
/*body.portal .main_title a, body.portal .main_title a:visited {
    color: #fff;
}*/
body.portal .main_title a:hover {
    background-color: #ddeeff;
    color: #333;
    border-radius: 0;
}
.quota-progressbar {
    border: 1px solid #333;
    height: 2rem;
    width: 80%;
    position: relative;
}
.quota-usage {
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    background-color: #60aee1;
}
span.quota-ussage-text {
    position: absolute;
    top: 3px;
    right: 3px;
}
#colorbox iframe {
    min-width: 100%;
    width: 100%;
    min-height: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
}
.chosen-select {
    width:300px;
}
b {
    font-weight: bold;
}
.container-fluid {
    padding: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    max-width: 100% !important;
    box-shadow: none !important;
}
.navbar-fixed-bottom, .navbar-fixed-top {
    position: relative !important;
}
.main-content ol, .main-content ul {
    padding-left: auto;
}
ul.breadcrumb {
    margin-bottom: 0px !important;
}
.sorter-container {
    margin-top: 0px !important;
}
.nav-refresh-session {
    position: absolute;
    bottom: 0px;
    padding: 10px;
}
.dashboard-segment .form-row {
    border-top: 1px solid #999;
    padding: 8px 8px 4px 8px;
}
.dashboard-segment .form-row:nth-child(odd) {
    background-color: #def;
}
.dashboard-segment .form-row input {
    border: 1px solid #ccc;
    background-color: #fff;
    line-height: 16px;
    padding: 6px;
    font-size: 14px;
}
.dashboard-segment .form-row p.description {
    padding-left: 115px;
}
.rich-text-switch > span {
    display: inline-block;
    padding: 3px 10px;
    margin: 5px;
    cursor: pointer;
}
.rich-text-switch > span.active {
    cursor: default;
    background-color: #387b9d;
    color: #fff;
}
.ace_editor {
    height: 400px;
}
.dashboard-segment .form-row input.quarter {
    width: 24%;
}
select[name=selected_client] {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    appearance: auto;
    background-color: #387b9d;
    color: #fff;
    border: 0;
    border-radius: 0;
    padding: 0.5rem;
}
body.portal #portal-main-content > form,
body.portal #portal-main-content > .starvale-list-view {
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: 100%;
  }
  .content-editor-container .starvale-table,
  .content-editor-container .starvale-table tr:nth-child(2) > td,
  .content-editor-container #form_field_text_field_container,
  .content-editor-container #form_field_text_field_container .field-value,
  .content-editor-container #form_field_text_field_container #field-container-form_field_text,
  .content-editor-container .ace_editor {
    height: 100%;
    margin: 0px;
    padding: 0px;
  }
  .content-editor-container .change-content.list {
    height: calc(100% - 100px) !important;
    margin: 0px;
    padding: 0px;
  }

  .starvale-form #svactions {
    position: fixed;
    top: 70px;
  }
  .starvale-form #svactions.editing {
    top: 10px;
  }
  .environment-label {
    background-color: #387b9d;
    color: #fff;
    padding: 10px;
}
.environment-label input[type=radio] {
    display: none;
}
.environment-label.left {
    border-radius: 10px 0 0 10px;
}
.environment-label.right {
    border-radius: 0 10px 10px 0;
}
.environment-label.active {
    background-color: #60aee1;
}
.environment-label:not(.active) {
    cursor: pointer;
}
form#recovery_code_setup_form li, form#recovery_code_setup_form p {
    text-align: left;
}
.recovery-password-header {
    font-weight: bold;
    padding:  1rem;
    font-size: 2rem;
}
.loging_in_preloader img {
    margin: 0 auto;
}
.password-reset div#portal-main-content {
    overflow: hidden;
}
div#portal-container.password-reset {
    margin-top: 120px;
    max-width: 100%;
    position: relative;
    display: block;
}
div#portal-container.password-reset .resetPassword_form [type=submit] {
    position: relative;
}
div#portal-container.password-reset #svactions {
    position: absolute;
    bottom: 2rem;
    top: auto;
}
div#portal-container.password-reset .starvale-form {
    min-height: auto;
}
.password-reset .dashboard-container {
    margin: auto;
    max-width: 1226px; 
}
.password-reset  .page-login-link {
    display: inline-block;
    float: right;
    padding: 1rem;
    color: #fff;
    background-color: #3787b1;
    margin: 1rem;
    border-radius: 8px;
}

.password-reset  .portal-preloader {
    display: none;
}