* {
  margin: 0px;
  padding: 0px;
}

html {
  height: 100%;
  margin-bottom: 1px;
}

body {
  background: rgba(0, 0, 0, 0);
  margin-top: 0;
  padding: 0;
}

h7 {
  font-size: 0.9rem;
}

img {
  max-width: 100%;
}

#back-top {
  position: fixed;
  bottom: 30px;
  cursor: pointer;
  z-index: 99;
}

@media (max-width: 1130px) {
  #back-top {
    left: 10px;
  }
}

@media (min-width: 1130px) {
  #back-top {
    right: 10px;
  }
}

p strong {
  margin-bottom: 10px;
  margin-top: 3px;
}

a img {
  border: none;
}

.ecl-page-header {
  font-family: 'Arial', sans-serif;
  background-image: linear-gradient(to right, #004494 , lightblue);
  margin-bottom: 10px;
}
.ecl-breadcrumb {
  background-color: transparent;
}
.ecl-page-header__title {
  color: white;
}
.in-content .ecl-page-header__title {
  color: #404040;
}
.ecl-page-header .info-block {
  color: white;
  padding: 25px 0px;
}
.ecl-breadcrumb__current-page {
  color: #aaaaaa;
}
.ecl-breadcrumb__link, .ecl-breadcrumb__link:visited {
  color: lightblue;
}
.ecl-breadcrumb__icon {
  fill: lightgray;
}
.ecl-button--primary:hover {
  color: white;
}
.ecl-button--secondary:hover, .ecl-button--secondary a:hover, .ecl-button--secondary:hover a {
  background-color: #004494;
  color: white !important;
}

#maincontainer {
  font-family: 'Arial', sans-serif;
  color: #404040;
}

#maincontainer a, #maincontainer a:active, #maincontainer a:visited {
  color: #004494;
  text-decoration: none;
}
#maincontainer p a {
  text-decoration: underline;
}

.knowsdgs_container {
  margin-top: 24px;
  margin-bottom: 40px;
}

.knowsdgs_introduction {
  margin-bottom: 1.2rem;
}
.knowsdgs_introduction.flexy {
  display: flex;
  justify-content: space-between;
}

.clear {
  clear: both;
}

.text-underlined {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .col-md-835 {
    flex: 0 0 auto;
    width: 8.333333335%;
  }
}

.fa-disabled {
  opacity: 0.6;
}

/* ECL OVERRIDES */
.ecl-menu__mega {
  z-index: 99 !important;
}

.ecl-site-header__login-box {
  margin-top: 0;
}

.ecl-site-header__login-toggle .ecl-site-header__login-arrow {
  transform: rotate(180deg);
}

.ecl-site-header > .ecl-menu .ecl-menu__list > .ecl-menu__item > a {
  font-weight: bold;
}
.ecl-site-header__site-name {
  padding-top: 5px;
  padding-bottom: 5px;
  width: 120px;
}
.ecl-site-header__site-name img {

}
#login-box-id .ecl-link:active, #login-box-id .ecl-link:visited {
  color: #004494;
}

.ecl-spinner, .ecl-select__multiple .ecl-select__multiple-dropdown {
  z-index: 999;
}

.ecl-icon--disabled {
  opacity: 0.6;
  pointer-events: none;
}

.ecl-u-border-radius-6 {
  border-radius: 0.375rem;
}
/* END ECL OVERRIDES */

/* BOOTSTRAP OVERRIDES */
.btn-primary, .btn-primary.disabled, .btn-primary:disabled, .btn-check:checked + .btn-outline-primary, .btn-outline-primary.active {
  background-color: #004494;
  border-color: #004494;
}

.btn-outline-primary, .btn-outline-primary.disabled, .btn-outline-primary:disabled {
  color: #004494;
  border-color: #004494;
}

.btn-primary:hover, .btn-outline-primary:hover, .btn-check:hover + .btn-outline-primary, .btn-check:active + .btn-outline-primary {
  background-color: #4073af !important;
  border-color: #4073af !important;
  color: #ffffff;
}

.btn-link {
  color: #004494;
}

.text-primary {
  color: #004494 !important;
}

.bg-primary {
  background-color: rgba(0,68,148,0.1) !important;
  border-color: #004494;
}

.form-check-input:checked {
  background-color: #004494;
  border-color: #004494;
}
/* END BOOTSTRAP OVERRIDES */

.knowsdgs-lg-checkbox {
  width: 1.95rem !important;
  height: 1.95rem !important;
  margin-top: 0;
}

table .toggle_icon {
  float: right;
  margin-top: 2px;
  border: 1px solid white;
  padding: 1px 5px;
  cursor: pointer;
}

table .toggle_icon_plus {
  line-height: 1;
  cursor: pointer;
  top: 50%;
  left: 50%;
  position: relative;
  transform: translate(-50%, -50%);
}

.table-thead-sticky {
  /*firefox*/
  position: sticky;
  top: 0px;
  z-index: 99;
}

.table-thead-sticky tr {
  /*chrome*/
  position: sticky;
  top: 0px;
}

.td-col3-1 {
  flex: 0 0 auto;
  width: 3.1%;
}

.td-col3-7 {
  flex: 0 0 auto;
  width: 3.7%;
}

.td-col4-0 {
  flex: 0 0 auto;
  width: 4%;
}

.td-col5-0 {
  flex: 0 0 auto;
  width: 5%;
}

.td-col6-5 {
  flex: 0 0 auto;
  width: 6.5%;
}

.td-col7-0 {
  flex: 0 0 auto;
  width: 7%;
}

.td-col11-0 {
  flex: 0 0 auto;
  width: 11%;
}

.td-col20-0 {
  flex: 0 0 auto;
  width: 20%;
}

.td-col30-0 {
  flex: 0 0 auto;
  width: 30%;
}

.td-col40-0 {
  flex: 0 0 auto;
  width: 40%;
}

.td-col51-5 {
  flex: 0 0 auto;
  width: 51.5%;
}

.td-col80-0 {
  flex: 0 0 auto;
  width: 80%;
}

.tr-bordered {
  border-left-style: solid;
  border-left-width: 2px;
  border-right-style: solid;
  border-right-width: 2px;
  border-bottom-style: solid;
  border-bottom-width: 2px;
}

.td-bordered-right {
  border-right-style: solid;
  border-right-width: 2px;
}

.knowsdgs-table .goal-sdg-icon {
  width: 110px;
  float: left;
  border-right: 2px solid white;
}

.knowsdgs-table .goal-target-icon {
  width: 69px;
}

.knowsdgs-table tr {
  display: -ms-flexbox !important;
  display: flex !important;
}

.knowsdgs-table tr.hidden {
  display: none !important;
}

.knowsdgs-table .vertical-middle {
  align-items: center;
}

.knowsdgs-table td {
  border-bottom-width: 0 !important;
}

.knowsdgs-table .first-td {
  padding: 0;
}

.knowsdgs-table .centered {
  text-align: center;
}

.knowsdgs-table .table-sdg-title {
  color: white;
  font-weight: bold;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 0.5rem;
}

.table-download-icon {
  cursor: pointer;
  margin: 1px;
}

.custom-form-container .form-submit {
  background-color: #004494;
  height: 54px;
  line-height: 54px;
  font-size: 15px;
  padding: 0 28px;
  cursor: pointer;
  overflow: hidden;
  color: #fff;
  letter-spacing: .5px;
  border: none;
  border-radius: 2px;
  text-transform: uppercase;
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

div.tooltip {
  position: absolute;
  text-align: center;
  padding: 5px;
  font: 12px sans-serif;
  background: whitesmoke;
  border: 2px solid lightsteelblue;
  border-radius: 8px;
  pointer-events: none;
  box-shadow: 0 0.3rem 0.6rem rgba(0,0,0,0.4);
}

div.tooltip p {
  margin-bottom: 0.4rem;
  padding: 2px;
}

div.tooltip .tooltip-icon {
  width: 95px;
  padding: 5px;
}

div.tooltip .tooltip-text {
  padding: 0 10px;
}

div.tooltip-pm {
  display: flex !important;
  align-items: center;
}

.back-link {
  padding: 20px 0;
}

hr.hr {
  border: 1px dashed rgb(70, 130, 180);
  margin: 1.5rem 0;
  background-color: transparent;
  opacity: 0.3;
}

.simple-status-messages {
  width: 50%;
}
.simple-status-messages .status-messages {
  background-size: 19px;
  font-size: 110%;
  padding: 15px 20px 10px 35px;
}
.simple-status-messages .placeholder {
  background-color: transparent;
  opacity: 1;
}
.simple-status-messages .status-message-close span {
  font-size: 120%;
}
.simple-status-messages ul.messages__list {
  margin-bottom: 0;
}

#block-sdgs-content {
  margin-bottom: 15px;
}
.content-editor-view .views-exposed-form {
  margin: 15px 0;
}
.content-editor-view .views-exposed-form .form-item, .content-editor-view .views-exposed-form #edit-actions {
  display: inline-block;
}
.content-editor-view .views-exposed-form #edit-actions #edit-submit-content-editor {
  padding: 5px 10px;
}
.content-editor-view header button {
  margin: 15px 0;
}

.above-banner {
  margin: 5px 0;
}
.home-banner {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
}
.home-banner .left {
  padding-top: 25px;
}
.home-banner .left .banner-text {
  flex: 1;
}
.home-banner .right .banner-images img {
  min-width: 100px;
  max-width: 240px;
  margin-right: 25px;
}
.home-banner  .links {
  margin: 40px 0;
}

@media (max-width: 768px) {
  .home-banner {
    flex-direction: column; /* Stack items vertically on smaller screens */
  }

  .home-banner .left {
    order: 1; /* Keep the text first */
  }

  .home-banner .right {
    order: 2; /* Move the image to the bottom */
    margin-top: 20px; /* Optional: Adds spacing between text and image */
  }
}

.element-title {
  font-size: 1.5rem;
}
