.c-kd-select-geography {
  position: relative;
  min-width: 465px;

  &__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: transparent;
  }

  &__checkbox-container {
    margin: 4px 0 0;
  }

  &__checkbox-label {
    font-weight: 400;
    display: inline-block;
    font-size: 13px;
    line-height: normal;
    margin-left: 5px;
  }

  &__help-button {
    cursor: pointer;
    display: block;
    width: 15px;
    height: 14px;
    position: absolute;
    top: 0px;
    right: 0px;
    background-image: url(assets/images/api/action_question_normal.png);
    border: none;
    background-color: transparent;

    &:hover {
      background-image: url(assets/images/api/action_question_selected.png);
    }

    &:focus {
      outline: none;
    }
  }

  &__checkboxes-buttons {
    display: inline-block;
    position: relative;
  }

  &__checkboxes-button {
    display: block;
    border: 0px;
    background-color: transparent;
    cursor: pointer;
    width: 14px;
    height: 10px;
    background-image: url(assets/images/api/select_fromList_normal.png);

    &:hover {
      border: 0px;
      background-image: url(assets/images/api/select_fromList_selected.png);
    }

    &:focus {
      outline: none;
    }
  }

  &__popup-container {
    min-width: 160px;
    padding: 5px 5px 5px 10px;
    margin: 2px 0 0;
    background-color: #fff;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, .15);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    position: absolute;
    top: 16px;
    left: -3px;
    z-index: 1000;

    &:before {
      position: absolute;
      top: -7px;
      left: 9px;
      border-right: 7px solid transparent;
      border-bottom: 7px solid #ccc;
      border-left: 7px solid transparent;
      border-bottom-color: rgba(0,0,0,.2);
      content: '';
    }

    &:after {
      position: absolute;
      top: -6px;
      left: 10px;
      display: inline-block;
      border-right: 6px solid transparent;
      border-bottom: 6px solid #fff;
      border-left: 6px solid transparent;
      content: '';
    }
  }
}

.c-select-tiny {
  width: auto;
  margin: 0;
  font-size: 11px;
  line-height: normal;
  height: 18px;
  padding: 0;
  padding-left: 6px;
  padding-right: 20px;
  -webkit-appearance: none;
  border: 1px solid #ccc;
  background-color: #eee;
  background: url(assets/images/api/select_tinydropdown_normal.png) 100% no-repeat, linear-gradient(bottom,#eee 40%,#fff 96%,#fff);
  background: url(assets/images/api/select_tinydropdown_normal.png) 100% no-repeat, -webkit-linear-gradient(bottom,#eee 40%,#fff 96%,#fff);
  background: url(assets/images/api/select_tinydropdown_normal.png) 100% no-repeat, -ms-linear-gradient(bottom,#eee 40%,#fff 96%,#fff 100%);
  background: url(assets/images/api/select_tinydropdown_normal.png) 100% no-repeat, -webkit-gradient(linear,left bottom,left top,color-stop(.4,#eee),color-stop(.96,#fff),color-stop(1,#fff));

  &:hover {
    color: #ff9005;
    background: url(assets/images/api/select_tinydropdown_selected.png) 100% no-repeat, #eee;
  }
}

.c-kd-select-geography-container {
  max-width: 500px;

  &__autocomplete {
    margin-right: 100px;
  }

  &__widgets {
    float: right;
    width: 100px;
    position: relative;

    .c-kd-select-geography__checkboxes-buttons {
      position: relative;
      top: 15px;
      left: 8px;
    }

    .c-select-tiny {
      position: absolute;
      top: 11px;
      right: 0px;
    }
  }
}
