/******************

Custom select

******************/

.awselect {
  border-bottom: 1px solid #dbdbdb;
}

.awselect .front_face {
  padding-left: 0;
  padding-right: 0;
}

.awselect .bg {
  display: none !important;
}

.awselect .back_face {
  background: #fff;
  box-shadow: 0 11px 43px 11px rgba(0, 0, 0, 0.11);
  padding-bottom: 0 !important;
  padding-top: 0 !important;
  max-height: none;
  cursor: default;
}

.awselect-input-label,
.awselect .back_face ul li a {
  padding: 10px 15px !important;
  font-size: 13px;
  color: #666666;
  font-weight: 500;
  opacity: 1;
  cursor: pointer;
}

.awselect-select-item.is-selected .awselect-input-label,
.awselect .awselect-select-item.is-selected a {
  color: #1fa29c !important;
}

.awselect-input-label:hover,
.awselect .back_face ul li a:hover {
  color: #4d4d4d;
}

.awselect-input-label:hover {
  background: rgba(0, 0, 0, .07);
  opacity: 1;
}

.awselect .front_face .placeholder,
.awselect .front_face .current_value {
  font-size: 14px;
  color: #4d4d4d;
  font-weight: 300;
}

.awselect .placeholder {
  opacity: 1;
  background: transparent;
  cursor: pointer;
}

.awselect .front_face .current_value {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}

.awselect .front_face .icon {
  width: 13px;
  height: 8px;
  background: url(/themes/custom/gff/components/common/css/../img/drop_up_icon.png) no-repeat center center transparent;
}

.awselect .front_face .icon svg {
  display: none !important;
}

.awselect .front_face:after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 0;
  height: 1px;
  left: 0;
  background: #1fa29c;
  right: 0;
  margin: 0 auto;
  transition: 0.2s linear 0s;
}

.awselect .back_face.overflow {
  overflow: hidden;
}

.awselect .back_face .back_face_inner {
  max-height: 200px;
  overflow: hidden;
  margin: 10px 0;
}

.awselect .mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden {
  margin-right: 30px;
}

/************animation**********/

.awselect.hasValue .front_face .placeholder,
.awselect.placeholder_animate2 .front_face .placeholder {
  transform: translateY(-15px);
  opacity: 1 !important;
}

.awselect.placeholder_animate .front_face .placeholder,
.awselect.hasValue .front_face .placeholder {
  font-size: 11px;
  color: #999999;
  font-weight: 300;
}

.awselect.placeholder_animate2 .front_face:after {
  width: 100%;
}

.dropdown-section:not(.custom-dropdown-with-border) .awselect {
  height: 36px;
}

/*********************custom-dropdown-with-border *********************/

.custom-dropdown-with-border .awselect {
  border: 1px solid #c4c4c4;
}

.custom-dropdown-with-border .awselect .front_face {
  padding: 7px 20px !important;
}

.custom-dropdown-with-border .awselect .front_face:after {
  display: none;
}

/*********fixed placeholder**********/

.dropdown-label-fixed .awselect .front_face .placeholder {
  transform: none !important;
}

.dropdown-label-fixed .awselect .current_value {
  display: none !important;
}

.dropdown-label-fixed .awselect.hasValue .front_face .placeholder,
.dropdown-label-fixed .awselect.hasValue .front_face .placeholder,
.dropdown-label-fixed .awselect.placeholder_animate .front_face .placeholder {
  font-size: 14px;
  color: #666666;
  font-weight: 300;
}

/***************placeholder hiden style / show selected inside the search*************/

.dropdown-label-hidden .awselect .front_face .placeholder {
  display: none !important;
}

.awselect-with-input-actions.awselect .front_face .placeholder,
.dropdown-label-hidden .awselect .front_face .current_value {
  opacity: 1 !important;
  font-size: 16px;
  font-weight: 600;
  color: #4d4d4d;
  white-space: nowrap;
  width: 100%;
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
  padding-right: 20px;
}

/**** normal***/

.aws-select-theme-2 .awselect .front_face .content {
  height: 20px;
}

/*****************rounded border************/

.rounded-border .awselect {
  border-radius: 20px;
}

/*************dropdown-with-thin-arrow************/

.dropdown-with-thin-arrow {
  background-image: none !important;
}

/*********for search**********/

.awselect-with-search .custom-select-search {
  padding-right: 0;
  width: calc(100% - 40px);
  display: none;
  position: absolute;
  left: 0;
  z-index: 10;
  top: 0;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  padding: 7px 20px !important;
}

.awselect-with-search .front_face .content {
  height: 20px;
}

.placeholder_animate.awselect-with-search .custom-select-search {
  display: block;
}

.awselect .custom-select-search input {
  width: 100%;
  border: none;
  cursor: text;
  background-color: transparent !important;
  outline: 0 !important;
}

.placeholder_animate.awselect-with-search .placeholder {
  display: none;
}

.awselect-no-results {
  font-size: 13px;
  color: #4d4d4d;
  text-align: left;
  font-weight: 300;
  font-style: normal;
  pointer-events: none;
}

.search-section .awselect .front_face .icon {
  width: 21px;
  height: 20px;
  background-image: url(/themes/custom/gff/components/common/css/../img/search_filer.png);
  transform: translateY(-50%) !important;
}

.awselect-with-search-inside .custom-select-search input {
  background: url(/themes/custom/gff/components/common/css/../img/Search_Icon_Small.png) no-repeat calc(100% - 10px) center transparent !important;
  padding-right: 36px !important;
}

/**********search inside list*********/

.awselect-with-search.awselect-with-search-inside .custom-select-search {
  /* border: 1px solid red; */
  height: auto;
  position: static;
  width: 100%;
  padding: 15px !important;
  border-radius: 0;
}

.awselect-with-search.awselect-with-search-inside .custom-select-search input {
  border: 1px solid #dbdbdb;
  height: 34px;
  padding: 10px;
}

/**** awselect-with-subgrouping ****/

.awselect-with-subgrouping .awselect-select-item:not(.awselect-parent-item) a {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

.awselect-with-subgrouping .awselect-select-item.awselect-parent-item {
  position: relative;
  cursor: default;
}

.awselect-with-subgrouping .awselect-select-item.awselect-parent-item a {
  padding-bottom: 5px !important;
  font-weight: 700;
  font-size: 15px;
  pointer-events: none;
}

.awselect-with-subgrouping .awselect-select-item.awselect-parent-item a {
  padding-top: 0 !important;
}

.awselect-with-subgrouping .awselect-select-item.awselect-parent-item:not(:first-child) {
  padding-top: 15px;
  position: relative;
  margin-top: 15px;
}

.awselect-with-subgrouping .awselect-select-item.awselect-parent-item:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  cursor: default;
}

.awselect-with-subgrouping .awselect-select-item.awselect-parent-item:not(:first-child):before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  height: 1px;
  width: calc(100% - 30px);
  display: block;
  background: #dbdbdb;
}

/* .awselect-with-subgrouping with accordion */

.awselect-with-accordion .back_face .back_face_inner {
  padding-left: 15px;
}

.awselect-with-accordion.awselect .awselect-accordion-sublist-wrap {
  display: none;
}

.awselect-accordion-head {
  position: relative;
  cursor: pointer !important;
  padding-right: 20px;
}

.awselect-with-accordion .back_face .awselect-accordion-head a {
  padding-left: 0 !important;
}

.awselect-selected-opt-parent.awselect-accordion-head a {
  color: #1fa29c !important;
}

.awselect-with-accordion .awselect-accordion-head.awselect-accordion-active a,
.awselect-with-accordion .awselect-accordion-head:hover a {
  color: #1fa29c;
}

.awselect-accordion-head:first-child:before {
  display: none !important;
}

.awselect-with-accordion .awselect-select-item.awselect-parent-item:not(:first-child):before {
  width: 100%;
  left: 0;
}

.awselect-accordion-head:after {
  content: "";
  width: 11px;
  height: 11px;
  background: url(/themes/custom/gff/components/common/css/../img/awselect/plus.png) no-repeat center center transparent;
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -6.5px;
}

.awselect-accordion-head.awselect-accordion-active:after {
  background-image: url(/themes/custom/gff/components/common/css/../img/awselect/minus.png);
}

.awselect-with-accordion .back_face_inner .awselect-select-item.awselect-accordion-head {
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 0 !important;
}

.awselect-with-accordion .awselect-select-item.awselect-accordion-head a {
  padding-bottom: 0 !important;
}

/* accordion sublist */

.awselect-with-accordion .awselect-accordion-sublist-wrap .awselect-accordion-sublist {
  padding: 0;
  background: #f2f2f2;
}

.awselect-with-accordion .awselect-accordion-sublist-wrap .awselect-accordion-sublist a {
  padding: 5px 10px !important;
}

/* awselect-normal-style */

.awselect-normal-style .back_face .awselect-main-select-list {
  padding: 0 15px;
}

.awselect-normal-style .back_face .mCSB_container>.awselect-main-select-list {
  padding-right: 0;
}

.awselect-normal-style .awselect-input-label,
.awselect-normal-style.awselect .back_face ul li a {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* multi selecte  */

.awselect-with-input-actions .awselect-input-label {
  width: 100%;
  display: flex;
  align-items: flex-start;
  position: relative;
  border-bottom: 1px solid #dbdbdb;
  margin: 0;
}

.awselect-with-input-actions .awselect-input-label-inner {
  position: relative;
  padding-left: 20px;
}

.awselect-with-input-actions .awselect-input-form-control {
  position: absolute;
  width: 13px;
  height: 13px;
  top: 2px;
  left: 0;
  margin: 0;
}

.awselect-with-input-actions.awselect .front_face .current_value {
  display: none !important;
}

.awselect-with-input-actions.awselect .front_face .placeholder {
  display: block !important;
  transform: none !important;
}

/************mobile***********/

.awselect-mobile-style.awselect .front_face .bg {
  display: block !important;
  border-bottom: 1px solid #dbdbdb;
  background: #fff;
  z-index: 1;
}

.rounded-border .awselect-mobile-style.awselect .front_face .bg {
  border-radius: 20px;
}

.awselect-mobile-style.awselect .back_face {
  box-shadow: none !important;
}

/* awselect-sm */

.awselect-sm .awselect-with-input-actions.awselect .front_face .placeholder {
  font-size: 13px;
}

.awselect-sm.custom-dropdown-with-border .awselect .front_face {
  padding: 7px 15px !important;
  height: 31px;
}

.awselect-sm .awselect-input-label {
  font-size: 11px;
  padding-left: 7px !important;
  padding-right: 7px !important;
}


/* multi */

.visualisation-style-2 .dropdown-label-hidden .awselect.awselect-multi-select .front_face .current_value {
  display: none !important;
}

.visualisation-style-2 .dropdown-label-hidden .awselect.awselect-multi-select .front_face .placeholder {
  display: block !important;
}

.dropdown-label-hidden .awselect.awselect-multi-select .front_face .placeholder {
  font-weight: 600;
}

/* awselect-head-area */

.awselect-head-area {
  padding: 10px 15px 0 15px;
}

.custom-select-search+.awselect-head-area {
  padding-top: 0;
}

.awselect-head-area .awselect-all-opt .awselect-input-label {
  padding-top: 0 !important;
  background: none !important;
}

.awselect-head-area .awselect-all-opt:has(input:checked) .awselect-input-label {
  color: #1fa29c !important;
}

.dropdown-inside-body-text.dropdown-label-hidden .awselect .front_face .current_value {
  line-height: 23px;
}

.dropdown-inside-body-text li a,
.dropdown-inside-body-text li {
  margin-bottom: 0px !important;
  line-height: normal;
}

/* dropdown--them2 ( country page indicator dropdown)  */

.dropdown--them2 .awselect {
  background-color: var(--clr-primary);
  border: none;
}

.dropdown--them2 .awselect .placeholder,
.dropdown--them2 .awselect .front_face .current_value {
  color: var(--clr-white) !important;
}

.dropdown--them2 .awselect .front_face .icon {
  background-image: url(/themes/custom/gff/components/common/css/../img/dropdown/white_dropdown_arrow-2.svg);
  transform: rotate(360deg) translateY(-50%);
  width: 14px;
  height: 8px;
}

.dropdown--them2 .awselect.animate .front_face .icon {
  transform: rotate(180deg) translateY(-50%);
}

.dropdown--them2 .awselect .front_face {
  padding: 7px 20px 7px 30px !important;
  height: 41px;
  display: flex;
  align-items: center;
}

/* dropdown--arrow-circle */
.dropdown--arrow-circle.sol-dropdown {
  background-image: none;
}

.dropdown--arrow-circle .sol-caret-container {
  display: block !important;
  width: auto;
  height: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.dropdown--arrow-circle .sol-caret {
  width: 20px;
  height: 20px;
  background: url(/themes/custom/gff/components/common/css/../img/dropdown/dropdown_arrow_default.svg) no-repeat center center transparent;
  border: none;
  left: 0;
  vertical-align: unset;
  top: 2px;
  transition: .4s cubic-bezier(.19, 1, .22, 1);
  cursor: pointer;
}

.dropdown--arrow-circle .sol-active .sol-caret {
  transform: rotate(180deg);
}

.dropdown--arrow-circle .awselect .front_face .icon {
  cursor: pointer;
  background-image: url(/themes/custom/gff/components/common/css/../img/dropdown/dropdown_arrow_default.svg);
}

.dropdown--arrow-circle .awselect .front_face .icon {
  width: 20px;
  height: 20px;
  transform: rotate(360deg) translateY(-50%);
}

.dropdown--arrow-circle .awselect.animate .front_face .icon {
  transform: rotate(180deg) translateY(-50%);
}

.dropdown--arrow-circle .sol-caret:hover,
.dropdown--arrow-circle .awselect .front_face .icon:hover {
  background-image: url(/themes/custom/gff/components/common/css/../img/dropdown/dropdown_arrow_default_hover.svg);
}

/* floating with input fields */

.label-floating .awselect.placeholder_animate2.awselect-with-input-actions .front_face .placeholder {
  transform: translateY(-15px) !important;
  opacity: 1 !important;
}

.label-floating .awselect-with-input-actions.awselect .front_face .placeholder {
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
}

.label-floating .awselect-with-input-actions.placeholder_animate .front_face .placeholder {
  font-size: 11px;
}

.label-floating .awselect-with-input-actions.awselect .custom-select-search {
  padding-left: 0 !important;
  height: 36px;
}

.label-floating .awselect-with-input-actions.awselect .front_face {
  height: 36px;
}

/***************************

Responsive

**************************/

/* Small Devices, Tablets */

@media screen and (min-width: 768px) and (max-width: 991px) {

  /******hide current selected label & show placeholder *****/
  .dropdown-label-hidden .awselect .front_face .current_value {
    display: none;
  }

  .dropdown-label-hidden .awselect .front_face .placeholder {
    display: block !important;
    opacity: 1 !important;
    font-size: 16px;
    font-weight: 400;
    color: #4d4d4d;
    white-space: nowrap;
    width: 100%;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
    padding-right: 20px;
    transform: none;
  }
}

@media only screen and (max-width: 767px) {
  .custom-dropdown-with-border .awselect .front_face {
    padding: 7px 10px !important;
  }

  .dropdown-label-fixed .awselect.hasValue .front_face .placeholder,
  .dropdown-label-fixed .awselect.hasValue .front_face .placeholder,
  .dropdown-label-fixed .awselect.placeholder_animate .front_face .placeholder,
  .awselect .front_face .placeholder,
  .awselect .front_face .current_value {
    font-size: 12px;
  }

  /******hide current selected label & show placeholder *****/
  .dropdown-label-hidden .awselect .front_face .current_value {
    display: none;
  }

  .dropdown-label-hidden .awselect .front_face .placeholder {
    display: block !important;
    opacity: 1 !important;
    font-size: 16px;
    font-weight: 400;
    color: #4d4d4d;
    white-space: nowrap;
    width: 100%;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
    padding-right: 20px;
    transform: none;
  }
}
