/* Nice Dropdown */
.nice-dropdown {
  -webkit-tap-highlight-color: transparent;
  margin: 0 10px 0 10px;
  clear: both;
  cursor: pointer;
  display: block;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  outline: none;
  position: relative;
  text-align: left !important;
  transition: all 0.2s ease-in-out;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  white-space: nowrap;
  width: auto; }
.nice-dropdown > *:not(i, button) {
    color: var(--text-normal);
}
.nice-dropdown:hover {
  border-color: #dbdbdb; }
.nice-dropdown:active, .nice-dropdown.active, .nice-dropdown:focus {
  border-color: #999; }
.nice-dropdown.active ul {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
  }
.nice-dropdown.disabled {
  border-color: #ededed;
  color: #999;
  pointer-events: none; }
.nice-dropdown ul {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
  /*box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);*/
  box-sizing: border-box;
  margin-top: 4px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  -webkit-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform: scale(0.75) translateY(-21px);
  transform: scale(0.75) translateY(-21px);
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  z-index: 9;
  }
.nice-dropdown ul:hover li:not(:hover) {
  background-color: transparent !important; }
.nice-dropdown ul > li {
  margin-left: 0;
  margin-right: 0;
  cursor: pointer;
  font-weight: 400;
  line-height: 40px;
  list-style: none;
  min-height: 40px;
  outline: none;
  padding-left: 18px;
  padding-right: 29px;
  text-align: left;
  transition: all 0.2s; }
.nice-dropdown li:hover, .nice-dropdown li.focus, .nice-dropdown li.selected.focus {
  background-color: #f6f6f6; }
.nice-dropdown li.selected {
  font-weight: bold; }

/* Notifications Dropdown */
#notifications-dropdown{
    padding: 16px;
    border-radius: 8px;
    cursor: default;
    max-width: 400px;
    min-width: 300px;
}
#notifications-dropdown #notifications_title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    margin-bottom: 8px;
}
#notifications-dropdown #notifications_title span{
    color: var(--Gray-900, var(--Gray-900, #101828));
    /* Display xs/Medium */
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 133.333% */
}
#notifications-dropdown > li{
    padding: 4px 8px;
}
#notifications-dropdown .notification_border{
    margin-top: 8px;
    border-bottom: 1px solid #D0D5DD;
    margin-bottom: 8px;
}
#notifications-dropdown .single_notification{
    display: flex;
    flex-direction: column;
    line-height: 22px;
}
#notifications-dropdown .single_notification .notification_title_date{
    display: flex;
    justify-content: space-between;
}

#notifications-dropdown .single_notification .notification_title{
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    max-width: 60%;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
#notifications-dropdown .single_notification .notification_date{
        padding-left: 20px;
}
#notifications-dropdown .single_notification .notification_content{
    display: inline-block;
    word-break: break-word;
    white-space: break-spaces;
}
#notifications-dropdown #btn_see_all_notifications{
    color: #2E90FA;
    text-align: center;
    cursor: pointer;

    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
}

/* Account Dropdown (special) */

#account-dropdown{
    position: absolute;
    right: 0;
    top: -5px;
    left: 0px;
    margin-top: 0;
    border: 1px solid #EAECF0;
    transition: unset;
    width: 200px;
}
#account-dropdown #profile-img-wrapper{
    position: relative;
    width:100%;
    height: 60px;
    top: 4px;
}
#account-dropdown #profile-img-wrapper #profile-title{
    display: inline-block;
    position: relative;
    left: 16px;
    max-width:100px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
#account-dropdown #profile-img-wrapper .profile-img{
    position: absolute;
    right: 14px;
    border: 1px solid #EAECF0;
    box-shadow: 0px 16px 40px 0px rgba(0, 0, 0, 0.05);
}

/* Nice Select */
select[data-type="NiceSelect"]{
    display: none;
}
.nice-select {
  color: var(--gray-500, #667085);
  -webkit-tap-highlight-color: transparent;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid var(--Theme-Light-Forum-Input-Form-Input---Stroke, #D0D5DD);
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  /*float: left;*/
  display: inline-block;
  font-family: Inter;
  font-size: 16px;
  font-weight: normal;
  height: 36px;
  line-height: 36px;
  outline: none;
  padding-left: 0.6em;
  padding-right: 30px;
  position: relative;
  text-align: left !important;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  white-space: nowrap;
  width: auto; }
  .nice-select:hover {
    border-color: #dbdbdb; }
  .nice-select:active, .nice-select.open, .nice-select:focus {
    border-color: #999; }
  .nice-select:after {
    border-bottom: 2px solid #999;
    border-right: 2px solid #999;
    content: '';
    display: block;
    height: 5px;
    margin-top: -4px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 50%;
    -webkit-transform-origin: 66% 66%;
        -ms-transform-origin: 66% 66%;
            transform-origin: 66% 66%;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
    width: 5px; }
  .nice-select.open:after {
    -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
            transform: rotate(-135deg); }
  .nice-select.open .list {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: scale(1) translateY(0);
        -ms-transform: scale(1) translateY(0);
            transform: scale(1) translateY(0); }
  .nice-select.disabled {
    border-color: #ededed;
    color: #999;
    pointer-events: none; }
    .nice-select.disabled:after {
      border-color: #cccccc; }
  .nice-select.wide {
    width: 100%; }
    .nice-select.wide .list {
      left: 0 !important;
      right: 0 !important; }
  .nice-select.right {
    float: right; }
    .nice-select.right .list {
      left: auto;
      right: 0; }
  .nice-select.small {
    font-size: 12px;
    height: 36px;
    line-height: 34px; }
    .nice-select.small:after {
      height: 4px;
      width: 4px; }
    .nice-select.small .option {
      line-height: 34px;
      min-height: 34px; }
  .nice-select .list {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
    box-sizing: border-box;
    margin-top: 4px;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    -webkit-transform-origin: 50% 0;
        -ms-transform-origin: 50% 0;
            transform-origin: 50% 0;
    -webkit-transform: scale(0.75) translateY(-21px);
        -ms-transform: scale(0.75) translateY(-21px);
            transform: scale(0.75) translateY(-21px);
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    z-index: 9; }
    .nice-select .list:hover .option:not(:hover) {
      background-color: transparent !important; }
  .nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 40px;
    list-style: none;
    min-height: 40px;
    outline: none;
    padding-left: 18px;
    padding-right: 29px;
    text-align: left;
    -webkit-transition: all 0.2s;
    transition: all 0.2s; }
    .nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
      background-color: #f6f6f6; }
    .nice-select .option.selected {
      font-weight: bold; }
    .nice-select .option.disabled {
      background-color: transparent;
      color: #999;
      cursor: default; }

.nice-select.secondary{
    background-color: var(--button-secondary-background);
    color: var(--text-normal);
    border: none;
    height: 38px;
    line-height: 38px;
}
.nice-select.secondary .list{
    color: var(--gray-500, #667085);
}
.nice-select.secondary:after{
    border-color: var(--text-normal);
}

.no-csspointerevents .nice-select .list {
  display: none; }

.no-csspointerevents .nice-select.open .list {
  display: block; }


/* Radio button */
:root {
  --radio_accent: #D0D5DD;
  --radio_accent-2: #EC2F4B;
  --radio_text: #000;
  --radio_text-hover: var(--accent);
  --radio_text-active: #FFFFFF;
  --radio_border-width: 1px;
}

.hidden-toggles {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 2.75em;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 0 !important;
}
.hidden-toggles:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: var(--radio_border-width) solid var(--radio_accent);
  border-radius: 8px;
  pointer-events: none;
}

.hidden-toggles__input {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    border: 1.67px solid #667085 !important;
}
.hidden-toggles__input:focus-within{
    background-color: #12B76A;
    color: white;
}
.hidden-toggles__input:checked {
  /*background-color: var(--radio_accent);
  color: var(--radio_text-active);*/
  background-color: #12B76A;
  color: white;
  border: 1px white solid !important;
}
.hidden-toggles__input:focus{
    outline: none !important;
    border-color: unset !important;
    box-shadow: unset !important;
}
.hidden-toggles__input:checked + .hidden-toggles__label:before {
  opacity: 1;
}


.hidden-toggles__label {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease-out;
  color: var(--radio_text);
  font-weight: 600;
  fontèfamily: Inter;
  font-size: 0.8em;
  height: 100%;
  padding-left: 0.3vw;
}
.hidden-toggles__label:hover {
  color: var(--radio_text-hover);
}
.flex-input-radio-option:nth-last-child(n+2) {
  border-right: var(--radio_border-width) solid var(--radio_accent);
}
.flex-input-radio-option{
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: #FDFDFD;
    padding: 0.3vw;
}
.flex-input-radio-option:has(.hidden-toggles__input:checked){
    background: #F9FAFB;
}

/* accordion */

.ui-accordion-header{
    width: auto;
}
.accordion-wrapper > .ui-accordion-header:not(.ui-accordion-header-active){
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.accordion-wrapper > .ui-accordion-header{
    display: flex;
    align-items: center;
    padding: 0;

	cursor: pointer;
}

.accordion-wrapper.accordion-as-btn > .ui-accordion-header{
    transition-property: border-bottom-left-radius, border-bottom-right-radius;
    transition-duration:  0.25s;
    transition-timing-function: ease-out;

    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    font-family: Inter;
    font-size: 16px;
    font-weight: normal;
    margin: 0;
    height: 36px;
    line-height: 36px;
    outline: none;
    position: relative;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    white-space: nowrap;
    width: auto;
}

.accordion-wrapper.accordion-as-btn > .ui-accordion-header.ui-state-default{
    border: 1px solid #D0D5DD;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background: #fefefe;
    color: var(--gray-500, #667085);
}
.accordion-wrapper.accordion-as-btn > .ui-accordion-header.ui-state-focus{
	border: 1px solid var(--button-tertiary-border-hover);
	color: var(--gray-500, #667085);
}
.accordion-wrapper.accordion-as-btn > .ui-accordion-header.ui-state-active{
    border: 1px solid #003eff;
    background: #007fff;
    color: #ffffff;
}

.accordion-wrapper.accordion-as-btn > .ui-accordion-content{
    border: 1px solid #D0D5DD;
    border-top: unset;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin: 0;
    padding-top: 16px;
    padding-bottom: 16px;
}
/* This section is for "clean" accordions */
.accordion-wrapper:not(.accordion-as-btn) > .ui-accordion-header{
    border: unset;
    background: transparent;
    margin: 0;
    padding: 0;
}

.accordion-wrapper:not(.accordion-as-btn) > .ui-accordion-content{
    border: unset;
    padding: 15px 0 0 0;
}

.accordion-wrapper:not(.accordion-as-btn) > .ui-accordion-header .accordion-title{
    margin-bottom: 0;
}
/* End of this "clean" section */

.accordion-wrapper:not(.accordion-small) > .ui-accordion-header .accordion-title{
    position: relative;
    padding: 0 25px 0 16px;
    display: inline-block;
    min-height: 36px;
    line-height: 36px;
}
.accordion-wrapper.accordion-small > .ui-accordion-content{
    border: unset;
    padding: 0 0 0 0;
}
.accordion-wrapper.accordion-small > .ui-accordion-header .accordion-title{
    position: relative;
    padding: 0;
    padding: 0 25px 0 0;
    display: inline-block;
}


.accordion-wrapper.accordion-as-btn > .ui-accordion-header .accordion-title{
    display: inline-block;
    font-family: Inter;
    font-size: 16px;
    font-weight: normal;
    height: 36px;
    line-height: 36px;
}

.accordion-wrapper.accordion-small > .ui-accordion-header .accordion-title{
    display: inline-block;
    font-family: Inter;
}

.accordion-wrapper > .ui-accordion-header .accordion-title:after {
  border-bottom: 2px solid var(--input-border);
  border-right: 2px solid var(--input-border);
  content: '';
  display: block;
  height: 5px;
  margin-top: -4px;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  -webkit-transform-origin: 66% 66%;
      -ms-transform-origin: 66% 66%;
          transform-origin: 66% 66%;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  width: 5px;
}
.accordion-wrapper > .ui-accordion-header.ui-accordion-header-active .accordion-title:after {
  -webkit-transform: rotate(-135deg);
      -ms-transform: rotate(-135deg);
          transform: rotate(-135deg);
}
.accordion-wrapper.accordion-as-btn > .ui-accordion-header.ui-accordion-header-active .accordion-title:after {
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}


/* Nice Button */

.nice-btn{
    padding: 0 16px;
    cursor: pointer;
}
.nice-btn:not(:last-child){
    border-right: 1px solid var(--input-border);
}
.nice-btn.active{
    border-radius: 0;
    background: var(--Primary-50, #F0F9FF);
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    color: #1570EF;
}

.nice-btn:hover{
    border-radius: 0;
    background: #F2F4F7;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.nice-btn:first-child:hover,
.nice-btn.active:first-child{
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;

}
.nice-btn:last-child:hover,
.nice-btn.active:last-child{
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;

}
