/* ================================================================== */
@font-face {
  font-family: "Maven Pro";
  src: url(MavenPro-Regular.ttf) format("woff2");
  /* src: url(Inter-Regular.ttf) format("woff2"); */
  font-style: normal;
  font-weight: 650;
  font-display: swap;
}

@font-face {
  font-family: "Maven Pro Bold";
  src: url(MavenPro-Bold.ttf) format("woff2");
  /* src: url(Inter-Bold.ttf) format("woff2"); */
  font-style: normal;
  font-weight: bold;
  font-display: swap;
}

:root {
  --aqua: #009ca6;
  --lightaqua: rgb(102, 196, 201);
  --darkaqua: #1aa6b0;
  --darkeraqua: #006e73;
  --darkestaqua: #005e63;
  --aquablur: rgb(102, 196, 201, 0.5);

  --teal: #00a499;
  --lightteal: #9adad6;
  --darkteal: #03988f;
  --darkerteal: #087b73;
  --darkestteal: #006c65;

  --green: #6cc24a;
  --lightgreen: #acd890;
  --orange: #f06400;

  --boxshadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.34);
}

body {
  overflow: hidden;
  height: 100vh;
  font-family: 'Maven Pro',"Helvetica Neue",Helvetica,Arial,sans-serif;
}
body * {
  margin: 0px;
  padding: 0px;
}
ul {
  list-style-type: none; /* Remove default markers */
}
#logo {
  position: fixed;
  width: 180px;
  height: 63px;
  top: 0px;
  left: 30px;
  overflow: hidden;
  z-index: -1;
  vertical-align: middle;
  transition: all 0.3s ease-out;
}

.wrapper {
  display: flex;
  flex-wrap: nowrap;
  height: 90vh;
  padding-left: 15px;
  justify-content: center;
  padding-top: 0px;
  margin-top: 10px;
}

main {
  position: relative;
  overflow-y: scroll;
  scrollbar-color: var(--lightaqua) white;
  scrollbar-width: thin;
  width: 65%;
  padding-right: 20px;
  padding-top: -30px;
  padding-bottom: 60px;
}

aside {
  position: relative;
  margin-right: 15px;
  width: 35%;
  overflow-y: scroll;
  scrollbar-width: thin;
  padding-bottom: 268px;
  padding-top: 0px;
  padding-right: 13px;
  scrollbar-color: var(--lightaqua) white;
}
#footer { 
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: -20px;
  margin-top: 270px;

}
.footer-light {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  font-size: small;
  line-height: 1.42857143;
  font-family: 'Maven Pro',sans-serif;
  box-sizing: border-box;
  display: block;
  padding: 20px;
  color: #666;
  background: none repeat scroll 0 0 #f2f2f2;
  margin-top: 20px;
  width: 100%;
 
}

.footer-dark{
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  line-height: 1.42857143;
  font-family: 'Maven Pro',sans-serif;
  box-sizing: border-box;
  display: block;
  padding: 10px;
  color: #888;
  background: none repeat scroll 0 0 #dfdfdf;
  font-size: small;
  width: 100%;
  div{
    width: 99%;
  }
  p{
    font-size: small;
  }
}
.navbar-fixed-bottom {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  line-height: 1.42857143;
  font-family: 'Maven Pro',sans-serif;
  color: #888;
  font-size: 12px;
  box-sizing: border-box;
  margin-right: auto;
  margin-left: auto;
  width: 1170px;
  right: 0;
  left: 0;
  z-index: 1030;
  border-radius: 0;
  bottom: 0;
  margin-bottom: 0;
  border-width: 1px 0 0;
  padding-left: 0;
  padding-right: 0;
  min-height: 100%;
  position: relative;
}
.footer-websites{
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  font-size: 14px;
  line-height: 1.42857143;
  font-family: 'Maven Pro',sans-serif;
  color: #666;
  box-sizing: border-box;
  display: flex;
  gap: 40px;
  flex-wrap:nowrap;
  justify-content: space-between;
  width: 70%;
  a{
    
    color: #888;
    
  }
  .right{
    margin-left: auto
  }  
}



.all_selector {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  width: calc(99.99%);
  margin-right: -2px;
  height: 40px;
  border-top-left-radius: 10px;
  border-top: 1px solid #e9e1e1;
  border-left: 1px solid #e9e1e1;
  border-right: 1px solid #e9e1e1;
  background-color: var(--lightteal);
  color: black;
  font-weight: 700;
  padding-left: 20px;
  padding-right: 10px;
}

.selector {
  border-top-left-radius: 10px;
  border-top: 1px solid var(--teal);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#domicile > .selector_block,
#registration > .selector_block {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  box-shadow: var(--boxshadow);
  font-size: small;
  margin-bottom: 40px;

  & .selector {
    min-width: calc(100% / 6);
    max-width: calc(100% / 6);
    height: 30px;
  }
}

#scope {
  margin-bottom: 10px;
}
#scope > .selector_block {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  font-size: medium;
  height: 50px;
  padding: 14px;

  & .selector {
    min-width: 30%;
    max-width: 30%;
    box-shadow: var(--boxshadow);
  }
}

#fund_types > .selector_block,
#distributors > .selector_block {
  display: flex;
  flex-flow: row wrap;
  font-size: small;
  height: 80px;

  & .selector {
    width: calc(100% / 3);
    min-height: 40px;
    box-shadow: var(--boxshadow);
  }
}

.etf_ghg_block {
  margin-top: 20px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  height: 50px;
  & > * {
    min-width: 100%;
    max-width: 100%;
  }
}

.etf_ghg_block .selector_block {
  display: flex;
  justify-content: center;
  padding-top: 14px;
}
.etf_ghg_block .selector {
  min-width: 48%;
  max-width: 48%;
  min-height: 40px;
  box-shadow: var(--boxshadow);
  font-size: small;
}

#scope,
#domicile,
#registration,
#fund_types,
#is_ghg {
  margin-bottom: 30px;
  margin-top: 10px;
  border-radius: 10px;
}

#distributors {
  margin-bottom: 100px;
  margin-top: 10px;
  border-radius: 10px;
}

#fund_types_header,
#is_ghg_header,
#distributors_header {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 50px;
  font-size: x-large;
}

#scope_header,
#fund_types_header,
#is_ghg_header,
#distributors_header {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 10px;
  font-size: x-large;
}

#selection_panel_header {
  padding-top: 0px;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px;
  font-size: x-large;
}

#scope_header,
#domicile_header,
#registration_header {
  text-align: center;
  margin-bottom: 20px;
  font-size: x-large;
}

#selection_panel > div {
  display: flex;
  gap: 0.1rem;
  border-bottom: 1px var(--lightteal) solid;
  min-height: 30px;
}

#selection_panel > div > div:nth-child(1) {
  width: 18%;
  text-align: left;
  padding-left: 5px;
  display: flex;
  /* justify-content: right; */
  align-items: center;
  text-align: left;
  font-size: 11px;
  background-color: #f1f6f5;
  font-weight: 500;
}

#selection_panel > div > div:nth-child(2) {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.05rem;
  width: 78%;
  padding: 3px;
  border-left: 1px var(--lightteal) solid;

  & span {
    background-color: var(--aqua);
    color: black;
    padding: 2px;

    margin-right: 1px;
    margin-bottom: 1px;
    font-size: 0.75rem;
    flex-grow: 2;
    max-height: 20px;
    max-width: fit-content;
    color: white;
    font-weight: 500;

    border-top-left-radius: 7px;
    border-top: 1px solid var(--teal);
    padding-left: 1px;
    padding-right: 1px;
    padding-top: 0px;
    padding-bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}


.controllers {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  margin-top: 15px;
  margin-bottom: 25px;
  

  & button {
    background-color: white;
    border: 1px white solid;
    color: var(--aqua);
    align-self: center;
    border-radius: 5px;
    width: 39%;
    height: 30px;
    box-shadow: var(--boxshadow);
    font-size: small;
  }
}
.section_icons {
  height: 30px;
  width: 30x;
  vertical-align: text-bottom;
}
#custom_templates_info_icon,
#scope_info_icon,
#domicile_info_icon,
#registration_info_icon,
#fundtypes_info_icon,
#ghg_info_icon,
#distributors_info_icon {
  background-color: var(--teal);
  height: 13px;
  width: 13px;
  margin-left: 5px;
  vertical-align: super;
  border-radius: 15px;
}
#custom_templates_info_icon:hover,
#scope_info_icon:hover,
#domicile_info_icon:hover,
#registration_info_icon:hover,
#fundtypes_info_icon:hover,
#ghg_info_icon:hover,
#distributors_info_icon:hover {
  cursor: pointer;
  background-color: var(--darkestteal);
}

.controllers #preview:disabled,
.controllers #download:disabled {
  background-color: rgb(235, 230, 230);
  cursor: auto;
  color: gray;
}

#download_from_preview:hover,
#close_preview:hover,
#download:hover,
#preview:hover,
#close_info:hover {
  background-color: var(--aqua);
  color: white;
  cursor: pointer;
}

#download,
#preview,
#download_from_preview {
  display: flex;
  justify-content: space-around;
  background-color: var(--darkestteal);
  color: white;

  & p {
    align-self: center;
    justify-self: middle;
  }
  & img {
    align-self: center;
    justify-self: middle;
    height: 30px;
    width: 30px;
  }
}

/* Custom Templates =========================================================*/
.preset_templates > h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: x-large;
}
.preset_templates {
  margin-top: 60px;
  font-size: small;
  width: 95%;
  border-radius: 5px;
  border: var(--lightteal) 1px solid;
  padding: 15px;

  & button {
    background-color: var(--darkestteal);
    border: 1px white solid;
    color: white;
    border-radius: 5px;
    box-shadow: var(--boxshadow);
    font-size: x-small;
    text-align: justify;  
  }
  & button:hover {
    background-color: var(--darkeraqua);
    cursor: pointer;
  }
  a{
    text-decoration: none;
    text-align: center;
    color: white;
    font-size: x-small;
  }
}

.preset_templates > div {
  display: flex;
  flex-wrap: nowrap;
  border-bottom: 1px var(--lightteal) solid;
  border-radius: 5px;
  padding: 4px;
  margin-top: 13px;
}
.preset_templates > div :nth-child(1) {
  width: 78%;
  height: 30px;
  font-weight: 300;
  align-self: flex-start;
  display: flex;
  justify-content: center;
  align-items: center;
}
.preset_templates > div :nth-child(2) {
  width: 23%;
  align-self: flex-end;
  display: flex;
  justify-content: right;
  text-align: center;
  margin-left: 3px;
}

#download_etf {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  img{
    width: 20%;
    height: 20px;
    align-self: auto;
  }
  p{
    width: 80%;
    align-self: center;
    padding-right: 10px;
    
  }
}

#download_pm{
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  a{
    width: 100%;
    margin: 0%;
    padding: 0%;
  }
  img{
    width: 20%;
    height: 20px;
    align-self: auto;
  }
  p{
    width: 80%;
    align-self: center;
    padding-right: 10px;
    
  }
}

/* ======================================================================== */

/* Validations  =========================================================== */
#validations {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: baseline;
  font-size: x-small;
  color: gray;
  font-weight: 800;
  
}

.validators[data-selected="true"] {
  color: var(--darkerteal);
}

.validators[data-selected="true"]::before {
  content: "✓";
  background-color: var(--darkteal);
  color: white;
  margin-right: 3px;
  border-radius: 3px;
  
  
}
/* ======================================================================== */

/* HELP CONTENT =========================================================== */
div:has(#info) {
  display: flex;
  flex-wrap: nowrap;
  justify-content:space-between;
  align-items: baseline;
  padding-right: 30px;
  margin-top: 10px;
  background-color: rgb(245, 248, 247);
  box-shadow: var(--boxshadow);
  & button {
    display: flex;
    gap: 0.2rem;
    justify-content: center;
    align-items: center;
    background-color: var(--orange);
    color: white;
    font-weight: bold;
    border: 0px;
    border-radius: 5px;
    padding: 3px;
    box-shadow: var(--boxshadow);
    height: 20px;
    margin: auto;
    width: 10%;
  }
  div{
    width: 94%;
    display: flex;
    align-self: center;
    justify-content: center;
  }
}

#info:hover {
  background-color: var(--darkeraqua);
  cursor: pointer;
}
#info_content {
  padding-top: 20px;

  & h4 {
    color: var(--darkeraqua);
    margin-top: 15px;
  }
  & p {
    padding: 10px;
  }
  & * {
    padding-left: 20px;
    padding-right: 20px;
  }
  & h2 {
    margin-top: 30px;
  }
  a{
    padding: 6px;
    text-decoration: none;
  }
}

#info_footer {
  position: sticky;
  bottom: 0;
  width: 100%; /* Extend to full width */
  height: 4vh;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: var(--aqua);
}

.section_info_footers {
  position: fixed;
  width: 100%; /* Extend to full width */
  height: 4vh;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: var(--aqua);
  bottom: 0;
}
#info_icon {
  width: 18px;
  height: 18px;
}

/* ========================================================================= */

#info_content::-webkit-scrollbar-thumb {
  height: 50px; /* Adjust the height of the scrollbar thumb */
  background-color: var(--lightaqua); /* Adjust the color of the scrollbar thumb */
}

#preview_footer {
  position: sticky;
  bottom: 0;
  height: 4vh;
  background-color: white;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: var(--aqua);
}

#preview_content,
#info_content,
#info_scope_content,
#info_custom_templates_content,
#info_domicile_content,
#info_registration_content,
#info_fundtypes_content,
#info_ghg_content,
#info_distributors_content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 50%;
  width: fit-content;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--lightaqua) white;
  border: 0px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

#info_custom_templates_content > div:first-child,
#info_scope_content > div:first-child,
#info_domicile_content > div:first-child,
#info_registration_content > div:first-child,
#info_fundtypes_content > div:first-child,
#info_ghg_content > div:first-child,
#info_distributors_content > div:first-child {
  margin: 20px;
}

#preview_table td {
  padding-left: 30px;
}
.preview_href:hover {
  color: #4d7ce8;
}

.preview_href {
  color: var(--darkaqua);
  text-decoration: none;
}

#close_preview_btn,
.closers {
  background-color: var(--aqua);
  border: 1px white solid;
  color: white;
  align-self: center;
  border-radius: 5px;
  width: 30%;
  height: 80%;
  font-size: large;
  box-shadow: var(--boxshadow);
}

#download_from_preview {
  border: 1px white solid;
  align-self: center;
  border-radius: 5px;
  width: 30%;
  height: 80%;
  font-size: large;
  box-shadow: var(--boxshadow);
}

/* Error Styling */
#error_content {
  position: absolute;
  width: 100%;
  left: 20px;
  right: 10px;
  border: 0px;
  padding: 0;
  margin: 0;
  background-color: lightcoral;
  height: 80px;

  & > div {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 500;
    font-size: x-large;
    height: 100%;
  }
}

#close_preview_btn:hover,
.closers:hover {
  background-color: var(--darkeraqua);
  cursor: pointer;
}
/* ========================================================================= */

/* Check Toggler */

.toggle {
  display: flex;
  justify-content: space-between;
  width: 60px;
  height: 25px;
  border-radius: 200px;
  background-color: rgb(244, 237, 237);
  display: flex;
  transition: 0.3s;
  cursor: pointer;
  color: rgb(183, 187, 190);
  font-weight: 700;
  font-size: smaller;
  text-justify: center;
  align-items: center;
  & div:nth-child(2) {
    padding-right: 7px;
    padding-left: 0px;
  }
}

.toggle.active {
  display: flex;
  flex-direction: row-reverse;
  background-color: var(--teal);
  cursor: pointer;
  color: white;
  & div:nth-child(2) {
    padding-right: 0px;
    padding-left: 7px;
  }
}

.toggle .slider {
  position: relative;
  cursor: pointer;
  width: 25px;
  height: 25px;
  background-color: rgb(187, 186, 186);
  transition: 0.5s;
  border-radius: 200px;
  cursor: pointer;
  box-shadow: 0 0 5px black;
}

.toggle.active .slider.active {
  position: relative;
  cursor: pointer;
  left: 0px;
  border-radius: 200px;
  background-color: var(--teal);
  box-shadow: 0 0 5px black;
}

/* ================ */

/* ============================================= */
/* Hover effect */
main [data-selected="false"]:hover {
  background-color: var(--lightteal);
  cursor: pointer;
  color: black;
}

main [data-selected="true"] {
  background-color: var(--aqua);
  cursor: pointer;
  color: white;
  font-weight: 900;
}

main [data-selected="true"]:hover {
  background-color: var(--lightaqua);
  cursor: pointer;
  font-weight: 300;
  color: white;
}

/* =============Annimation======================== */

.adding-animation {
  animation: flashGreen 0.6s;
}

@keyframes flashGreen {
  0% {
    background-color: transparent;
  }

  20% {
    background-color: var(--aqua);
  }

  /* Flash color */
  40% {
    background-color: transparent;
  }
}

.red-flash-animation {
  animation: flashRed 0.6s forwards;
}

@keyframes flashRed {
  0% {
    background-color: transparent;
  }

  50% {
    background-color: red;
  }

  /* Flash color */
  100% {
    background-color: transparent;
  }
}

/* NAVIGATION */
#navigation {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 138px;
  margin-left: -10px;
  margin-right: -10px;
}
#navigation-top {
  display: flex;
  justify-content: space-between;
  height: 40px;
  width: 1170px;
}
.menu-icon img {
  position: relative;
  bottom: 55%;
}

#ninedots {
  margin-top: 65px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  font-family: "Maven Pro", sans-serif;
  list-style-type: none;
  font-weight: bold;
  cursor: pointer;
  box-sizing: border-box;
  display: block;
  width: 18px;
  height: 18px;
  transition: opacity 0.2s ease-in-out;
  opacity: 0.5;
}
.menu-container {
  position: relative;
  display: inline-block;
}

.menu-icon {
  font-size: 24px;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 89px;
  right: -90px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 10px 0;
  list-style-type: none;
  margin: 0;
  width: 200px;
  z-index: 1000;
  height: 250px;
}

.dropdown-menu li {
  cursor: pointer;
  a {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-size: 14px;
    line-height: 1.42857143;
    font-family: "Maven Pro", sans-serif;
    list-style-type: none;
    user-select: none;
    box-sizing: border-box;
    text-decoration: none;
    transition: all 0.3s ease-out;
    position: relative;
    margin-bottom: -1px;
    background-color: #fff;
    padding: 5px 20px;
    display: block;
    outline: none;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    border: none;
    color: rgb(136, 136, 136);
    
  }
}
.dropdown-menu a:hover {
  color: rgb(62, 61, 61);
}

.menu-logo {
  display: block;
  margin: 10px auto 0;
  /* width: 100px; */
}
.services-divider {
  display: block;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: auto;
  margin-inline-end: auto;
  unicode-bidi: isolate;
  overflow: hidden;
  border-style: inset;
  border-width: 1px;
}
.logo-wrap {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 14px;
  line-height: 1.42857143;
  font-family: "Maven Pro", sans-serif;
  list-style-type: none;
  user-select: none;
  text-align: center;
  color: #000;
  box-sizing: border-box;
  border: 0;
  vertical-align: middle;
}

.logo-wrap img {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 14px;
  line-height: 1.42857143;
  font-family: "Maven Pro", sans-serif;
  list-style-type: none;
  user-select: none;
  box-sizing: border-box;
  text-decoration: none;
  transition: all 0.3s ease-out;
  position: relative;
  margin-bottom: -1px;
  background-color: #fff;
 padding-left: 15px;
 
  display: block;
  outline: none;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  border: none;
  color: #888;
  width: 90%;
}

.logo-wrap a {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-size: 14px;
  line-height: 1.42857143;
  font-family: "Maven Pro", sans-serif;
  list-style-type: none;
  user-select: none;
  text-align: center;
  color: #000;
  box-sizing: border-box;
  border: 0;
  vertical-align: middle;
  max-width: 100%;
}
#fefi-logo {
  width: 204px;
  height: 63px;
  position: relative;
  bottom: -25%;
  right:-3%;
}

/* Navigation Bottom */
#navigation-bottom {
  height: 50px;
  width: 100%;
  background-color: #1298a0;
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 0;
  font-size: 16px;
  background-image: linear-gradient(-180deg,hsla(0,0%,100%,0) 2%,hsla(0,0%,100%,.25) 98%);
  background-size: cover;
  align-items: baseline;

  div {
    display: flex;
    justify-content: baseline;
    width: 50%;
    margin: 0 auto;
  }
  ul {
    display: flex;
    gap: 25px;
    list-style-type: none;
    justify-content: left;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 100;
    transition: all 0.3s ease-out;

    a {
      color: white;
      text-decoration: none;
      font-weight: 100;
    }
  }
}
