/**
 * @file
 * Subtheme specific CSS.
 */

#main-wrapper {
	margin: 50px 0px;
}
ul.list-group li.list-group-item {
	padding: 10px;
}
a.navbar-brand {
	margin: 0 auto;
}
a:active,
.link:active,
a:focus,
.link:hover,
.link:focus {
	color: #123777!important;
}
footer {
	box-shadow: 0 50vh 0 50vh #161617;
}
#block-ecr-page-title h1 {
	margin-top: -10px;
	margin-bottom: 20px;
}
.language-switcher-language-url {
	margin-bottom: 40px!important;
}
.language-switcher-language-url .language-link.is-active {
	font-weight: 600;
}
.webform-required {
	display: none;
}
#navbar-top {
	background-color: #e6e6e6!important;
}
.highlighted {
	margin-top: 40px;
}
nav ul.secondary:last-child {
	padding-top: 10px;
	border-right: 1px solid #ddd;
}
body.path-frontpage:not(.user-logged-in) .btn-outline-primary {
	display: none;
}
section.region-secondary-menu {
display: flex;
align-items: flex-start;
justify-content: space-between;
flex: 1 1 100%;
}

.alert::before {
	display: none!important;
}
.alert-dismissible .close {
    padding: 0.5rem 1.25rem!important;
}
/* form elements */

form .form-group {
	margin-bottom: 1.5rem;
}
form table.webform-mapping-table .form-group,
form table.webform-likert-table .form-group,
form table.webform-likert-table td label {
	margin-bottom: 0rem;
}
form .form-actions button {
	margin-top: 20px;
}
form details summary {
	padding-bottom: 10px;
	outline: none;
}
form details .details-wrapper {
	background-color: #f7f5f5;
	padding: 20px;
	margin-bottom: 20px;
}
form .webform-element-description {
	margin-bottom: 10px;
}
form div.svg.rateit-medium div.rateit-range {
	top: 7px;
}
form .webform-scale-medium input+label {
	width: 41px;
	height: 41px;
}
form .form-file.form-control {
	padding: 0.33rem;
}
form fieldset.form-item-date-time-date.form-group,
form fieldset.form-type-webform-time.form-group {
	display: inline-block;
}
form .webform-message--close .webform-message__link {
}

form .alert-dismissible .close {
	display: none!important;
}

form .form-required::after {
	content: '';
	vertical-align: super;
	display: inline-block;
	background-image: url(/core/misc/icons/ee0000/required.svg);
	background-repeat: no-repeat;
	background-size: 6px 6px;
	width: 6px;
	height: 6px;
	margin: 0 0.3em;
}



.site-footer {
	background-color: #fff!important;
	padding: 35px 0 0px!important;
	border-bottom: 25px solid #343a40;
}
.site-footer .content {
	color: #343a40!important;
}
.site-footer .container {
	border-top: 1px solid #d0d0d0;
}
footer .region-footer-first {
    width: 100%!important;
    padding: 0 0 0 5px!important;
    color: #343a40!important;
}
footer .region-footer-second {
    width: 100%!important;
    padding: 0 0 0 5px!important;
}
footer .region-footer-second p {
    margin: 5px 0 0 0;
      display: flex;
  flex-direction: row;
  align-items: center;
}
footer .region-footer-second p img {
  max-width: 100%;
  max-height: 33px;
  height: auto;
  width: auto;
  margin-right: 50px;
}
footer .region-footer-second p img:last-child {
  max-height: 45px;
  margin-right: 0;
  margin-left: -10px;
  margin-top: -5px;
}


@media all and (max-width: 700px) {
	footer .region-footer-second p {
    flex-direction: column;
    align-items: flex-start;
}
footer .region-footer-second p img,
footer .region-footer-second p img:last-child {
  margin: 10px 0px;
}
footer .region-footer-second p img:last-child {
  margin-left: -5px;
}
}


.site-footer .block {
	border: 0 none;
}

.site-footer #block-logos {
	margin-top: -20px;
}


.fieldset-legend {
	font-size: 1.063rem;
}


#block-languageswitcher .nav-link {
    display: block;
    padding: 0.5rem 0.6rem;
}

body.path-frontpage .views-element-container .view-empty {
	display: none;
}
body.path-frontpage.user-logged-in .views-element-container .view-empty {
	display: block;
}
body.path-frontpage.user-logged-in .views-element-container .view-empty a:last-child {
	margin-top: 10px;
}

.webform-confirmation__back {
    display:none;
}

body:not(.path-frontpage) footer.site-footer {
   display:none;
}

label.bold {
    font-weight:bold;
}

fieldset legend {
  line-height: 1.5rem;
}

/* file remove upload button fix */
/*
form .custom-control {
  float: left;
  margin-right: 5px;
  margin-top: 3px;
}
*/
form .form-file.form-control {
  margin-bottom: 5px;
}

form .custom-file {
  display: table;
}

/* ecr update 2025 bootstrap override */
.row>* {
    width: auto;
}

.language-switcher-language-url {
    margin-bottom: 0!important;
}

.alert-wrapper {
    position: relative!important;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    z-index: 0!important;
    max-height: initial!important;
}

.alert-info {
    background-color: #17a2b8 !important;
}

#block-ecr-content {
    margin-bottom: 3rem;
}

.table-responsive {
    overflow-x: visible;
}

.table-responsive a,
.table-responsive th {
    color: #000000;
}

/* todo: stretch min height main content */
body #page {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    overflow: hidden;
}

body.user-logged-in #page {
    min-height: 94vh;
}

body #page #main-wrapper {
    flex: 1 1 auto;
}

/* alert fix */
.alert-wrapper .alert-info {
    color: #fff;
}

.alert-wrapper .alert-danger a {
    color: #842029;
}

.alert-wrapper .alert a {
    font-weight: bold;
}

.alert-wrapper .alert-info svg {
    opacity: .5;
}

.alert-wrapper h2.alert-heading {
    display: none;
}


/* New front login style 2026 */

body.page-view-frontpage h1.title {
    border-bottom: 1px solid #d6d6d6;
    padding-bottom: 65px;
    margin-bottom: 30px;
}

/* New front footer style 2026 */

.site-footer .row {
    margin: 0 !important;
}

#block-ecr-pages-about-us-block {
    width: 100%;
    padding: 0 !important;
}

.ecr-about-us-block ul.list-group {
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
}

.ecr-about-us-block ul.list-group li.list-group-item:first-child {
    border: 0 none;
    position: relative;
    left: -68px;
}

.ecr-about-us-block ul.list-group li.list-group-item:not(:first-child) {
    border-top-width: 1px;
    width: 100%;
    height: 30px;
    padding: 0;
    margin: 0;
    display: inline-table;
}

.ecr-about-us-block ul.list-group li.list-group-item:not(:first-child) a {
    color: #0071b3;
    padding-left: 25px;
}

@media (max-width: 480px) {
    .ecr-about-us-block ul.list-group li.list-group-item:first-child {
        left: 0px;
        width: inherit;
    }

    .ecr-about-us-block ul.list-group {
        flex-direction: column !important;
        padding-left: 0 !important;
    }

    footer .region-footer-second {
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    #block-ecr-page-title h1 {
        margin-top: 20px;
    }
}

/* fix for multiple items 2026 */
.webform-multiple-table .mb-3 {
    margin-top: 1.1em;
}
.webform-multiple-add {
    display: -webkit-inline-box;
}
.webform-multiple-add button {
    margin-right: 3px;
}
.webform-multiple-add input {
    margin-right: 5px;
}
.webform-multiple-add .form-type-number,
.webform-multiple-add .form-type-number .input-group {
    display: flex!important;
}
.webform-multiple-table--operations input:nth-child(0) {
    float:left;
    margin-left: 5px;
    position: relative;
  left: 5px;
}
.webform-multiple-table--operations input:nth-child(1) {
    float:right;
    margin-right: 5px;
    position: relative;
  right: 5px;
}
.webform-multiple-table .tabledrag-toggle-weight-wrapper button {
    border-color: transparent;
    background-color: transparent;
    border: 0;
  font-size: 15px;
}
.webform-multiple-table td.webform-multiple-table--weight {
  vertical-align: middle;
}





