/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */

@import "running_env.css";

.gov-button-primary {
    color: white;
    background-color: var(--gov-color-primary);
    text-align: right !important;
    margin: 0px;
}

.openid-connect-login-button {
    margin: 0px !important;
    text-align: right !important;
    display: inline-flex;
    padding-right: 14px;
}

.openid-connect-login-button a {
    background-color: white;
    color: var(--gov-color-primary);
    padding: 6px 21px 6px 21px;
    border: 1px solid white;
    border-radius: 3px;
    box-shadow: 5px 5px 20px 0px rgba(0,0,0,0.2);
    text-decoration: none;
    font-size: var(--gov-text-s-font-size);
    font-weight: 300;
}

.openid-connect-login-button a:hover {
    background-color: var(--gov-color-primary);
    color: white;
    padding: 6px 21px 6px 21px;
    border: 1px solid white;
    border-radius: 3px;
    box-shadow: 5px 5px 20px 0px rgba(0,0,0,0.2);
    text-decoration: none;
    font-size: var(--gov-text-s-font-size);
    font-weight: 300;
}

.header_logo img {
    min-width: 50px;
}

.widget_breadcrumb_navxt {
    font-size: var(--gov-text-s-font-size);
    padding-top: 10px;
    padding-bottom: 10px;
}

.widget_breadcrumb_navxt .widgettitle {
    margin: 0;
}

/* Footer start */

.eportal-footer li {
    display: flex;
}

.eportal-footer ul {
    list-style-type: none !important;
}

.eportal-footer-box, .eportal-footer-box h4 {
    font-weight: 200;
}

.eportal-footer-box-item gov-icon {
    padding-right: var(--gov-text-m-font-size);
    margin-top: auto;
    margin-bottom: auto;
    height: 16px;
}

.eportal-footer-box-item {
    display: flex;
    padding-bottom: var(--gov-text-m-font-size);
}

.eportal-footer-link {
    display: flex;
    padding-bottom: var(--gov-text-m-font-size);
}

.eportal-footer-link gov-icon {
    height: var(--gov-text-xs-font-size);
    margin-bottom: auto;
    margin-top: auto;
    padding-left: var(--gov-text-xs-letter-spacing);
}

.eportal-footer-link a {
    text-decoration: none;
}

/* Footer end */

/* Form detail - contact info start */

/*.eportal-contact-info-tab p .gov-icon {
    height: var(--gov-text-m-font-size);
}*/

.eportal-contact-info-tab-item {
    display: flex;
    padding-bottom: var(--gov-text-m-font-size);
}

.eportal-contact-info-tab-item div {
    padding-right: var(--gov-text-m-font-size);
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
}

.eportal-contact-info-tab-item gov-icon {
    margin-top: auto;
    margin-bottom: auto;
    width: 16px;
}

/* Form detail - contact info end */

/* Header start */

/*.eportal-header div {
    background: var(--gov-color-primary) !important;
}*/

header .fl-col {
    min-height: 0;
}

/* Move last two items of the header menu to the right (search + login) */

.eportal-header > div > div > div:nth-last-child(1) {
    display: flex !important;
}

.eportal-header > div > div > div:nth-last-child(1) > div {
    justify-content: flex-end;
    margin-left: 0;
    margin-top: auto;
    margin-bottom: auto;
    width: fit-content;
}

.eportal-header > div > div > div:nth-last-child(1)  > div:nth-last-child(2) {
    margin-left: auto;
}

.fl-search-form-wrap {
    width: 300px;
}

.fl-search-form-wrap .fl-button-wrap .fl-button,  .fl-search-form-wrap .fl-button-wrap .fl-button:hover{
    padding: 10px;
    background: var(--gov-text-color-primary);
    border: 1px solid white;
    height: 40px;
}

.fl-search-form-wrap .fl-search-form-input-wrap .fl-search-text {
    font-size: var(--gov-text-m-font-size) !important;
    line-height: var(--gov-text-m-line-height) !important;
    height: 40px !important;
}

@media(max-width: 480px) {
    .eportal-search, .fl-search-form-wrap {
        width: 100% !important;
		margin-right: 10px !important;
        margin-left: 10px !important;
        max-width: unset !important;
        flex-wrap: unset !important;
    }
}


a gov-wizard-item:hover {
    background: var(--gov-color-primary-100);
}

/* Menu avatar pop-up start */

.menu-avatar button, .menu-avatar a {
    font-weight: 300 !important;
}

.menu-avatar gov-icon {
    width: 16px !important;
}

.menu-avatar {
    display: inline-block;
    position: relative;
    outline: none;
    padding-right: 14px;
    white-space: nowrap;
}

.menu-avatar .menu-avatar-content {
    position: absolute;
    right: 14px;
    visibility: hidden;
    opacity: 0;
    background: var(--gov-color-primary);
    border: solid 1px white;
    z-index: 3;
    font-weight: 300;
    font-size: var(--gov-text-s-font-size);
    text-align: start;
    padding: 14px;
    width: fit-content !important;
}

@media (pointer: fine) {
    .menu-avatar:has(button:focus) .menu-avatar-content, .menu-avatar .menu-avatar-content:hover {
        outline: none;
        transform: translateY(20px);
        visibility: visible;
        opacity: 1;
        width: 100%;
    }

    .menu-avatar:has(button:focus) .menu-avatar-hidden {
        display: inline-block;
    }
}

@media (pointer: coarse) {
    .menu-avatar:has(button:hover) .menu-avatar-content, .menu-avatar .menu-avatar-content:hover {
        outline: none;
        transform: translateY(20px);
        visibility: visible;
        opacity: 1;
        width: 100%;
    }

    .menu-avatar:has(button:active) .menu-avatar-hidden {
        display: inline-block;
    }
}

.menu-avatar .menu-avatar-hidden {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; opacity: 0;
    cursor: pointer;
    z-index: 3;
    display: none;
}

.menu-avatar .menu-avatar-hidden .menu-avatar-content {
    outline: none;
    visibility: hidden;
    opacity: 0;
}

.menu-avatar .openid-connect-login-button {
    float: right;
}

.menu-avatar-content gov-button {
    display: flex;
}

.menu-avatar-content gov-button a {
    width: 100%;
    justify-content: left !important;
}

/* Menu avatar pop-up end

.eportal-forms-overview gov-tiles {
	background: var(--gov-color-primary-100);
}

.eportal-forms-overview gov-tiles h3 {
	color: var(--gov-color-primary);
	font-weight: 400 !important;
}

.eportal-forms-overview gov-tiles hr {
	border-top: 1px solid var(--gov-color-secondary);
}*/

/* Menu avatar pop-up end */

/* Header end */

/* Main page start */

.eportal-main-agendas h3 {
    font-weight: 300 !important;
}

.eportal-main-toast {
    max-width: 50%;
}

/* Main page end */

.eportal-forms-overview gov-tiles {
    background: var(--gov-color-primary);
}

.eportal-forms-overview gov-tiles h3 {
    color: white;
    font-weight: 400 !important;
}

.eportal-forms-overview gov-wizard-item h3 {
    color: unset;
}

.eportal-forms-overview gov-tiles hr {
    border-top: 1px solid white;
}

.eportal-forms-overview .eportal-forms-button-tiles {
    margin: auto;
    width: fit-content;
    min-width: 75%;
    white-space: nowrap;
}

.eportal-forms-overview .eportal-forms-button-tiles gov-tile {
    padding: 5px;
    width: 100%;
}

.eportal-forms-overview .eportal-forms-button-tiles gov-tile gov-button {
    width: 100%;
}

.eportal-forms-overview .eportal-forms-button-tiles gov-tile gov-button a {
    width: 100%;
    justify-content: left;
}

/* */

.eportal-forms-overview gov-wizard-item {
    margin: 0;
}

/* Agenda's forms list */


/*.eportal-agenda-forms-list {
	background: var(--gov-color-primary);
}*/

.eportal-agenda-forms-list h3 {
    color: white;
    font-weight: 400 !important;
}

.eportal-agenda-forms-list gov-wizard-item h3 {
    color: unset;
}

.eportal-agenda-forms-list hr {
    border-top: 1px solid white;
}

.eportal-agenda-forms-list gov-tile {
    border-color: white;
    padding: 0.5rem;
}

.eportal-agenda-forms-list gov-tile .gov-tile__content {
    padding: 20px;
    background: var(--gov-color-primary-500);
}

.eportal-agenda-forms-list gov-tile div h3 {
    font-size: var(--gov-text-xl-font-size);
    display: flex;
    min-height: 4em;
}

.eportal-agenda-forms-list gov-tile div h3 gov-icon {
    padding-right: 10px;
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
}

.eportal-agenda-forms-list gov-icon {
    color: white;
}

/* Hamburger start */

.fl-col-group:has(.eportal-main-menu) {
    flex-wrap: wrap;
}

.fl-col-group:has(.eportal-main-menu[style*="display: none"]) {
    flex-wrap: unset;
}

.eportal-main-menu {
    width: 100% !important;
}

.fl-col-group:has(.eportal-main-menu) .fl-col:has(.widget_search) {
    flex-grow: 1;
    max-width: unset;
}

.fl-col-group:has(.eportal-main-menu[style*="display: none"]) .fl-col:has(.widget_search) {
    flex-grow: unset;
}

/* Hamburger end */

/* For developers page start */

.eportal-for-developers table {
    font-size: var(--gov-text-s-font-size);
}

.eportal-for-developers .gov-tabs__item button {
    border-radius: 0;
    background: white;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 2px solid white !important;
}

.eportal-for-developers gov-accordion-item button {
    border: none;
}

/* For developers page end */

/* News start

.eportal-news-item {
    padding: 20px;
	margin-bottom: 20px !important;
	border: solid 1px var(--gov-color-secondary-400) !important;
}

.eportal-news-item:first-child {
	margin-top: 12px;
}

.eportal-news-item p {
    color: black;
}

.eportal-news-item:hover {
    background: var(--gov-color-primary-100);
}

.eportal-news-item gov-icon span {
    min-width: 24px;
    width: 24px;
}

.eportal-news-item h4 {
    font-weight: 300;
}

.eportal-news-list a {
    text-decoration: none;
}

/* News end */

/* Running environment info bar start */

.eportal-running-env-info {
    font-size: 12px;
    position: fixed;
    width: fit-content;
    right: 0px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: var(--eportal-env-background-color);
    color: var(--eportal-env-text-color);
    border: 1px solid var(--eportal-env-text-color);
    z-index: 10;
}

/* Running environment info bar end */

/* Search results page start */

.eportal-search-results ul > li::before {
    background: unset;
}

/* Search results page end */

/* Same height tiles start */

.eportal-agenda-forms-list gov-tile > span {
    min-height: 100%;
    display: flex;
}

.eportal-agenda-forms-list gov-tile > span > div {
    display: flex;
    flex-direction: column;
    min-width: 100%;
}

.eportal-agenda-forms-list gov-tile > span > div > div {
    flex-grow: 1;
}

/* Same height tiles end */

/* Tiles with incomplete content start */

.eportal-x > span {
	min-height: unset !important;
}

/* Tiles with incomplete content end */

gov-tile a:hover {
    text-decoration: none !important;;
}

/* PVV documents start */

.eportal-pvv-documents gov-tiles a {
  text-decoration: none;
  height: 100%;
  display: inline-flex;
  width: 100%;
}

.eportal-pvv-documents li button[aria-selected="true"] {
    background: white;
    border-bottom: 2px solid var(--gov-color-primary-800);
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

.eportal-pvv-documents li button:hover, .eportal-pvv-documents li button:focus {
    background: white;
    border-bottom: 2px solid var(--gov-color-primary-800);
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

.eportal-pvv-documents li button[aria-selected="false"] {
    background: white;
    border-radius: 0;
    color: var(--gov-color-primary) !important;
}

.eportal-pvv-documents gov-tile gov-icon {
    min-width: var(--gov-text-m-font-size);
    height: var(--gov-text-m-font-size);;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 10px;
}

@media (min-width: 64em) {
  .eportal-pvv-documents a {
      border-top-width: 0;
      border-bottom-width: 0;
  }
}

.eportal-pvv-documents gov-tiles a {
    background: white;
}

.eportal-pvv-documents gov-tiles a:hover {
    background: var(--gov-color-primary-100);
}

.eportal-pvv-documents gov-message {
    margin-top: 20px;
    margin-bottom: 20px;
}

.eportal-pvv-documents-header h4 {
	font-weight: 300;
	margin: 0;
}

.eportal-pvv-documents-header {
	display: flex;
}

.eportal-pvv-documents-header gov-icon {
	margin-right: 20px;
	background: var(--gov-color-primary);
	border-radius: 50%;
	width: var(--gov-text-5xl-font-size);
	height: var(--gov-text-5xl-font-size);
	min-height: var(--gov-text-5xl-font-size);
	min-width: var(--gov-text-5xl-font-size);
}
.eportal-pvv-documents-header gov-icon span {
	justify-content: center;
}

.eportal-pvv-documents-header gov-icon svg {
	width: var(--gov-text-3xl-font-size);
	height: var(--gov-text-5xl-font-size);
	min-height: var(--gov-text-5xl-font-size);
	min-width: var(--gov-text-3xl-font-size);
	color: white;
}

/* PVV documents end */