#crm-volunteer-dialog .crm-submit-buttons {
  clear: both;
}

#crm-vol-assign-flexible-region {
  float:left;
  width: 35%;
}

#crm-vol-assign-scheduled-region {
  float: left;
  width: 65%;
}

#crm-vol-assign-scheduled-region .crm-vol-assign-region-inner {
  margin-left: 3%;
}

.crm-vol-assignment {
  cursor: move;
}

#crm-volunteer-dialog .crm-vol-vacancy {
  background-color: rgba(255, 0, 0, 0.25);
  font-weight: bold;
}

.crm-vol-name .icon.crm-vol-drag {
  background-position: -2px -77px;
}

.crm-vol-name a.icon.crm-vol-info {
  float: none;
  display: inline-block;
  background-position: -127px -95px;
}

#crm-volunteer-dialog .crm-vol-menu {
  float: right;
  position: relative;
  border: 1px solid #d3d3d3;
  margin-top: 4px;
  height: 12px;
  width: 12px;
}
#crm-volunteer-dialog .crm-vol-menu-button {
  display: block;
  height: 20px;
  width: 20px;
  margin-left: -5px;
  margin-top: -5px;
}
/* css triangle */
#crm-volunteer-dialog .crm-vol-menu-button span {
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #808080;
  position: absolute;
  left: 1px;
  top: 3px;
}

#crm-volunteer-dialog .crm-vol-menu:hover {
  border: 1px solid #a9a9a9;
}
#crm-volunteer-dialog .crm-vol-menu-button:hover span {
  border-top: 5px solid black;
}

#crm-volunteer-dialog .crm-vol-menu-items {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 9999;
}

#crm-volunteer-dialog .ui-menu {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

#crm-volunteer-dialog .ui-menu .ui-menu-item {
  width: 8em;
}
#crm-volunteer-dialog .ui-menu .ui-menu-item .ui-menu-item {
  width: 18em;
}
.ui-menu-item a {
  border: 1px solid transparent;
}
/* Fix some css flaws in jquery ui theme */
#crm-volunteer-dialog .ui-menu .ui-menu-item a {
  margin: 0;
  border-width: 1px;
  color: #2b2b2b;
}

.crm-vol-need {
  position: relative;
}

#crm-volunteer-dialog .crm-vol-need-ctrls {
  display: none;
  position: absolute;
  right: 0;
}

#crm-volunteer-dialog .crm-vol-need:hover .crm-vol-need-ctrls {
  display: block;
}

#crm-volunteer-dialog .crm-vol-need .crm-vol-need-ctrls .disabled {
  display: none;
}

#crm-volunteer-dialog .crm-vol-need-ctrls .crm-vol-action {
  cursor: pointer;
  display: inline-block;
  padding-right: 5px;
  padding-top: 5px;
  position: relative;
}

#crm-volunteer-dialog .crm-vol-icon-label {
  display: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#crm-volunteer-dialog .crm-vol-need-ctrls .crm-vol-action:hover .crm-vol-icon-label {
  background: #2786C2;
  border-top-left-radius: 15%;
  border-bottom-left-radius: 15%;
  color: #FFFFFF;
  display: inline-block;
  line-height: 12px;
  margin-right: -8px;
  min-height: 15px;
  padding: 3px 11px 0 5px;
  position: relative;
  top: -5px;
  z-index: 10;
}

.crm-vol-filter .icon {
  background-position: -144px -97px;
}

.crm-vol-search .icon {
  background-position: -161px -112px;
}

.crm-vol-circle {
  background: #FFFFFF;
  border: 1px solid #53534D;
  border-radius: 50%;
  display: inline-block;
  height: 16px;
  position: relative;
  width: 16px;
  z-index: 20;
}

#crm-volunteer-search-dialog .crm-vol-search-field input[type="text"],
#crm-volunteer-search-dialog .crm-vol-search-field select,
#crm-volunteer-search-dialog .crm-vol-search-field .select2-choices,
#crm-volunteer-search-dialog .crm-vol-search-field .select2-container {
  min-width: 35%;
}

#crm-vol-define-needs-table .time_components {
  margin-top: 1em;
}

/* Prevent resizing of the table when a Need's schedule type is toggled */
#crm-vol-define-needs-table #time_components {
  min-width: 575px;
  max-width: 850px;
  width: 50%;
}

#crm-vol-define-needs-table select[name="schedule_type"] {
  margin: 0 1em;
}

/*
 * Since we don't know where CiviVolunteer will be installed, we can't specify a
 * relative path to core's white icon set. This stanza is here to counteract rules
 * in CiviCRM core which we incidentally put into play to ensure the icon color.
 */
#crm-volunteer-search-dialog .ui-icon {
  position: absolute;
  margin-top: 6px;
  top: 0;
}

#crm-vol-define-scheduled-needs-region .select2-container {
  min-width: 12em;
}

.crm-vol-renderutil-select {
  white-space: nowrap;
}