/*
 * Gives the wrapper a minimum height so that, when empty, the progress spinner
 * is visible. (See the related run block in the Angular module.)
 */
#crm-main-content-wrapper {
  min-height: 3em;
}

@media (max-width: 1000px) {
  .crm-vol-opp-cart {
    margin-top: 2em;
  }
}

@media (max-width: 1000px) {
  .crm-vol-manage-actions .crm-vol-manage-buttons,
  .crm-vol-manage-actions .crm-vol-manage-search,
  .crm-vol-opp-search .crm-group .back-to-projects,
  .crm-vol-opp-search .crm-group .add-an-appeal,
  .crm-vol-opp-search .crm-group .search-box,
  .crm-vol-opp-search .crm-group .search-buttons,
  .crm-vol-opp-search .crm-group .search-display {
    margin-bottom: 10px;
  }
}
@media (min-width: 1001px) {
  .crm-vol-manage-actions,
  .crm-vol-opp-search {
    margin-bottom: 20px;
  }
  .crm-vol-opp-search-wrapper,
  .appeal-grid,
  .appeal-grid .box,
  .appeal-details .box {
    display: flex;
    flex-wrap: wrap;
  }
  .appeal-grid .box {
    flex: 1 1 50%;
  }
  .crm-vol-opp-search-wrapper .crm-vol-opp-show-hidden-search,
  .crm-vol-opp-search-wrapper .crm-vol-opp-search,
  .crm-vol-opp-search-wrapper .crm-vol-opp-cart{
    flex: 1 1 auto;
  }
  .crm-vol-opp-search-wrapper .crm-vol-opp-search {
    margin: 0 10px 0 0;
  }
  .crm-vol-opp-search-wrapper .crm-vol-opp-cart {
    margin: 0 0 10px;
  }
  .appeal-grid .box .appeal-image,
  .appeal-details .box .appeal-image {
    flex: 1 1 30%;
    padding: 0 10px 0 0;
  }
  .appeal-details .box .appeal-info,
  .appeal-grid .box .appeal-info {
    flex: 1 1 70%;
    padding: 0 20px 0 0;
  }
  .crm-vol-manage-actions,
  .crm-vol-opp-search .crm-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  .crm-vol-opp-search-wrapper .crm-vol-opp-search .crm-group {
    display: block;
  }
  .crm-vol-manage-actions .crm-vol-manage-buttons,
  .crm-vol-manage-actions .crm-vol-manage-search,
  .crm-vol-opp-search .crm-group .back-to-projects,
  .crm-vol-opp-search .crm-group .add-an-appeal,
  .crm-vol-opp-search .crm-group .search-box,
  .crm-vol-opp-search .crm-group .search-buttons,
  .crm-vol-opp-search .crm-group .search-display {
    flex: 1;
  }
  .crm-vol-manage-actions .crm-vol-manage-buttons,
  .crm-vol-manage-actions .crm-vol-manage-search {
    padding: 0 10px;
  }
  .crm-vol-opp-search .crm-group .search-box {
    flex: 0 1 25%;
  }
  .crm-vol-opp-search .crm-group .search-display {
    align-self: flex-end;
    text-align: right;
  }
  /* end vol-opp-search flex */
}

.crm-vol-opp-results span.beneficiary {
  display: block;
}

.crm-vol-opp-cart table .icon,
.crm-vol-opp-results table .icon
{
  cursor: pointer;
}

.crm-vol-opp-results {
  margin-top: 2em;
}

.crm-profile-selector-container .crm-button-remove-profile {
  position: absolute;
}

.crm-container fieldset.crm-vol-ui-fieldset, fieldset.crm-vol-ui-fieldset {
  border: 1px solid #aaa;
}

.crm-button-remove-profile {
  float: left;
}

#org_civicrm_volunteer-sign-up-profiles .crm-profile-selector-container select {
  margin-bottom: 10px;
}

#org_civicrm_volunteer-sign-up-profiles .crm-profile-selector-container hr {
  clear: both;
  margin-top: 10px;
  margin-bottom: 10px;
}

#org_civicrm_volunteer-sign-up-profiles .crm-profile-selector-container:only-child .crm-button-remove-profile {
  display: none;
}

.crm-vol-extra-top {
  margin-top: 15px;
}
#crm-vol-location-block {
  width: 90%;
}
#crm-vol-location-block .crm-accordion-body {
  padding: 10px;
}
.crm-vol-search fieldset {
  padding: 2px 5px;
}

#crm-vol-project-list a {
  cursor: pointer;
}

span.crm-button-text {
  padding: 2px 7px 2px 20px;
}

.crm-submit-buttons .crm-button {
  cursor: pointer;
}

.crm-vol-project .select2-choice {
  min-height: 26px;
}

.crm-vol-opp-cart .ui-widget-content {
  padding: 20px;
}

.crm-vol-opp-cart .crm-vol-opp-cart-message {
  padding: 20px 0px;
}

.crm-vol-opp-cart-show-contents {
  cursor: pointer;
  font-size: 0.75rem;
}

.crm-vol-half-responsive.crm-vol-opp-cart.floating_cart {
  position: fixed;
  top: 50px;
  right: 0;
  min-width: 200px;
  width: 20%;
  -webkit-transition: width 1s, -webkit-transform 1s;
  transition: width 1s, transform 1s;
  border-radius: 4px;
  -webkit-box-shadow: -1px 1px 3px 0px rgba(0,0,0,0.45);
  -moz-box-shadow: -1px 1px 3px 0px rgba(0,0,0,0.45);
  box-shadow: -1px 1px 3px 0px rgba(0,0,0,0.45);
}

.crm-vol-half-responsive.crm-vol-opp-cart.floating_cart h2 {
  display: none;
}

.crm-vol-half-responsive.crm-vol-opp-cart.floating_cart.contents_visible {
  width: 50%;
}

.crm-vol-opp-cart-large-indicator {
  font-size: 2rem;
  line-height: 1;
  font-weight: bold;
  text-align: center;
  margin: 10px auto;
}

.crm-vol-opp-cart-transfer {
  border: 1px solid rgba(255, 255, 0, 0.5);
  border-radius: 4px;
  background: rgba(255, 255, 0, 0.1);
}

.crm-vol-opp-need.crm-vol-opp-need-status-registered td {
  background: #27ae60;
  color: #fff;
}
.crm-vol-opp-need.crm-vol-opp-need-status-full td {
  background: #ddd;
  color: #000;
}
.crm-vol-opp-project,
.crm-vol-opp-beneficiary,
.crm-vol-opp-role,
.crm-vol-opp-time {
  cursor: pointer;
}

#crm-vol-form-textarea-wrapper {
  clear: left;
}
.text-right{
    text-align: right;
}
.text-center{
    text-align: center;
}
.detail-btn {
    margin-right: 15px;
    height: 37px;
    width: 132px;
}
.loc{
  padding-left: 15px;
  padding-top: 15px;
}
.m-t-0{
    margin-top:0;
}
.clearfix{
    clear: both
}
.m-5{
      margin: 5px;
}
.text-limit {  
  width: 400px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.crm-vol-manage-appeal a {
  cursor: pointer;
}

.appeal-grid .box {
  margin-bottom: 20px;
}

.appeal-grid .beneficiaries,
.appeal-grid .need-dates,
.appeal-list .need-dates {
  display: block;
  margin-bottom: 5px;
}

.appeal-details .grid {
  margin-top: 20px;
}

.appeal-available-shifts a {
  cursor: pointer;
}

.appeal-image img {
  max-width: 100%;
  height: auto;
}

.search-box{
  position: relative;
}
.search-box i {
  position: absolute;
  top: 50%;
  margin-top: -8px;
  right: 10px;
  opacity: 0.3;
}

.appeal-grid .appeal-title {
  cursor: pointer;
}

.filter-model{
  padding: 15px;
}

.close {
  background: #606061;
  color: #FFFFFF;
  line-height: 25px;
  position: absolute;
  right: -12px;
  text-align: center;
  top: -10px;
  width: 24px;
  text-decoration: none;
  font-weight: bold;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 3px #000;
}

.close:hover { background: #00d9ff; }


/*For tab*/
* {box-sizing: border-box}
body {font-family: "Lato", sans-serif;}

/* Style the tab */
.tab {
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  padding: 15px 10px;
  overflow: auto;
}

/* Style the buttons inside the tab */
.tab button {
  display: block;
  background-color: inherit;
  color: black;
  padding: 14px 14px;
  width: 100%;
  border: #989393 solid 1px;/*border: none;*/
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  font-size: 12px;
  font-weight: normal;
  /*font-size: 17px;*/
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current "tab button" class */
.tab button.active {
  background-color: #ccc;
  cursor: default;
}

/* Style the tab content */
.tabcontent {
  padding: 15px;
}
.postal-code-input{
  width: 124px;
}
.postal-code-wrapper select{
  height: 27px;
  padding: 0px !important;
  font-size: 13px  !important;
}
.postal-code-wrapper {
  margin-top: 15px;
}
.show-opp input[type="checkbox"]{
  height: unset !important;
}
.modal-footer button{
  float: right;
  margin-top: 10px;
}
.volunteer_appeal_result_count_message {
  margin-right: 10px;
  margin-left: 14px;
  display: inline-block;
}
.manage_appeal_form .display_volunteer_note {
  margin-left: 10px;
  font-size: 0.8em;
  font-weight: normal;
  white-space: normal;
  color: #696969;
}
.manage_appeal_form .location_done_anywhere {
  margin-left: 30px;  
}
.custom_fieldset_link .custom-fieldset-text {
  color: #fff;
  text-decoration: none;
  margin-left: 5px;
}
.custom_fieldset_link {
  display: inline-block;
  width: 15%;
  text-align: center;
  margin-left: 10px !important;
}
.custom_fieldgroup_dropdown {
  display: inline-block;
  height: 30px;
  margin-left: 14px;
  font-size: 14px !important;
  padding: 2px !important;
  cursor: pointer;
}
.crm-button-remove-custom-group {
  float: right;
  margin-right: 20px;
}

.sortorder:after {
  content: '\25b2';   /* BLACK UP-POINTING TRIANGLE */
}
.sortorder.reverse:after {
  content: '\25bc';   /* BLACK DOWN-POINTING TRIANGLE */
}

.sortorder.reverseExpiredTable:after {
  content: '\25bc';   /* BLACK DOWN-POINTING TRIANGLE */
}
.delete_appeal, .edit_appeal {
  cursor: pointer;
}
.custom_fieldset_selector .custom_hr {
  border: 1px lightgrey;
  margin: 20px;
}
.grid_active {
  background: #878484;
  border: 1px solid #878484;
}
.advance_filter_wrapper {
  display: inline-block;
}
.custom_fied_content {
  overflow: auto;
}
.reset_filter {
  display: inline-block;
}
#select2-drop {
  z-index: 99999;
}
.active_filters {
  font-size: 16px;
  margin-bottom: 10px;
  border: 1px solid #d3d3d3;
  padding: 5px;
  border-radius: 4px;
}
.active_filters .active_filters_heading {
  display: inline-block;
  margin: 0 4px 0 0;
}
.active_filters .active_filter {
  display: inline-block;
  margin: 0 4px 4px 0;
  border: 1px solid #d3d3d3;
  padding: 5px;
  border-radius: 4px;
}

/**
 * Calendar styles 
 */
.crm-container .opportunity-calendar {
  padding-top: 15px;
}
.crm-container .fc-past {
  background-color: #eee;
}
.crm-container .fc-event {
  color: #fff;
  cursor: pointer;
}
.crm-container .fc-event:hover {
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}
.crm-container .assignment-list thead th.crm-vol-manage-role_description,
.crm-container .assignment-list thead th.crm-vol-manage-beneficiaries {
  cursor: default;
}
.crm-container .assignment-list thead th.current-sort {
  color: #000;
}
/* .crm-container .assignment-list tbody tr.registered td, */
.crm-container .fc-event.fc-full,
.crm-container .fc-event.fc-registered,
.crm-container .fc-event.fc-registered.fc-full {
  background-color: #27ae60;
  color: #fff;
}

.crm-container .assignment-list tbody tr.completed td,
.crm-container .assignment-list tbody tr.registered.completed td,
.crm-container .fc-event.fc-completed,
.crm-container .fc-event.fc-registered.fc-completed {
  background: #eee !important;
  color: #000;
}
.crm-container .fc-event.fc-full:hover,
.crm-container .fc-event.fc-registered:hover {
  text-decoration: none;
}
.crm-container .fc-event.fc-full {
  color: #000;
  background-color: #ddd;
}
.crm-container .fc-event.fc-full:not(.fc-registered):hover {
  color: #000;
}
.crm-container .assignment-list tbody tr {
  cursor: pointer;
}