@use '../../global/utils/init' as *;

.iwantto-iam {
  max-width: 1250px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  margin-top: 0;
  gap: 32px;
  padding-bottom: 3rem;
}

@media screen and (max-width: 479px) {
  .iwantto-iam {
    flex-wrap: wrap;
    padding: 0 20px;
  }
}

.iwantto-iam .col1,
.iwantto-iam .col2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  border-radius: 10px;
  background-color: #d9d9d6;
  padding-bottom: 4rem;
  padding-top: 1.5rem;
}

.iwantto-iam .col1-dropdown,
.iwantto-iam .col2-dropdown {
  width: 95%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.iwantto-iam .col1-dropdown .wrapper,
.iwantto-iam .col2-dropdown .wrapper {
  position: absolute;
  background: #fff;
  width: 100%;
  margin-top: -10px;
}

.iwantto-iam .col1-dropdown .wrapper .dropdown-item:first-child::after,
.iwantto-iam .col2-dropdown .wrapper .dropdown-item:first-child::after {
  content: "expand_more";
  font-family: "Material Icons Outlined";
  font-size: 24px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 150ms ease-in;
  color: #000;
  font-weight: bold;
}

.iwantto-iam .col1-dropdown:not(.active) .dropdown-item:not(:first-child),
.iwantto-iam .col2-dropdown:not(.active) .dropdown-item:not(:first-child) {
  display: none;
}

.iwantto-iam .col1-dropdown.active,
.iwantto-iam .col2-dropdown.active {
  z-index: 3;
}

.iwantto-iam .col1-dropdown.active .dropdown-item,
.iwantto-iam .col2-dropdown.active .dropdown-item {
  z-index: 3;
}

.iwantto-iam .col1-dropdown.active .wrapper,
.iwantto-iam .col2-dropdown.active .wrapper {
  max-height: 100% !important;
}

.iwantto-iam .col1-dropdown.active .wrapper .dropdown-item:first-child::after,
.iwantto-iam .col2-dropdown.active .wrapper .dropdown-item:first-child::after {
  content: "▲";
  transform: translateY(-50%);
}

.iwantto-iam .col1-dropdown .dropdown-item,
.iwantto-iam .col2-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  padding: 6px 8px;
  justify-content: space-between;
  cursor: pointer;
  background: #fff;
  border: 1px solid #97999b;
  border-top: none;
}

.iwantto-iam .col1-dropdown .dropdown-item:not(.select-item):hover,
.iwantto-iam .col2-dropdown .dropdown-item:not(.select-item):hover {
  background: #ececeb;
}

.iwantto-iam .col1-dropdown .dropdown-item div,
.iwantto-iam .col1-dropdown .dropdown-item span,
.iwantto-iam .col2-dropdown .dropdown-item div,
.iwantto-iam .col2-dropdown .dropdown-item span {
  color: #000;
  width: 100%;
}

.iwantto-iam .col1-dropdown .dropdown-item.select-item,
.iwantto-iam .col2-dropdown .dropdown-item.select-item {
  border-top: 1px solid #97999b;
  position: relative;
}

.iwantto-iam .col1 .col1-header,
.iwantto-iam .col1 .col2-header,
.iwantto-iam .col2 .col1-header,
.iwantto-iam .col2 .col2-header {
  padding-bottom: 2rem;
  font-family: Calibri, Trebuchet MS, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.7rem;
  color: #003865;
}

.iwantto-iam .col1 .dropdown-item,
.iwantto-iam .col2 .dropdown-item {
  text-decoration: none;
}

.iwantto-iam .col1-dropdown.active .wrapper .dropdown-item:first-child::after, .iwantto-iam .col2-dropdown.active .wrapper .dropdown-item:first-child::after{
  content: "expand_more";
  transform: rotate(-180deg);
  top:0%;
}
