/************************ Bootstrap Custom Styles ************************/
.w2dc-content .w2dc-col-md-1,
.w2dc-content .w2dc-col-md-2,
.w2dc-content .w2dc-col-md-3,
.w2dc-content .w2dc-col-md-4,
.w2dc-content .w2dc-col-md-5,
.w2dc-content .w2dc-col-md-6,
.w2dc-content .w2dc-col-md-7,
.w2dc-content .w2dc-col-md-8,
.w2dc-content .w2dc-col-md-9,
.w2dc-content .w2dc-col-md-10,
.w2dc-content .w2dc-col-md-11,
.w2dc-content .w2dc-col-md-12 {
  float: right;
}
.w2dc-content .w2dc-list-group {
  margin-right: 0;
}
.w2dc-content .w2dc-has-feedback .w2dc-form-control,
.w2dc-content .w2dc-has-feedback .w2dc-form-control:focus {
  padding-left: 42.5px;
  padding-right: 12px;
}
.w2dc-content .w2dc-form-control-feedback {
  left: 0;
  right: inherit !important;
}
.w2dc-content .w2dc-radio input[type="radio"], .w2dc-content .w2dc-radio-inline input[type="radio"], .w2dc-content .w2dc-checkbox input[type="checkbox"], .w2dc-content .w2dc-checkbox-inline input[type="checkbox"] {
  margin-right: -20px;
}
.w2dc-content .w2dc-radio label, .w2dc-content .w2dc-checkbox label {
  padding-right: 20px;
}
.w2dc-content .w2dc-pull-left {
  float: right !important;
}
.w2dc-content .w2dc-pull-right {
  float: left !important;
}
.w2dc-content .w2dc-text-right {
  text-align: left;
}
.w2dc-content .w2dc-text-left {
  text-align: right;
}
.w2dc-content .w2dc-nav-tabs > li {
  float: right;
}
.w2dc-content .w2dc-pagination > li > a,
.w2dc-content .w2dc-pagination > li > span {
  float: right;
  margin-right: -1px;
}
.w2dc-content .w2dc-pagination > li:first-child > a,
.w2dc-content .w2dc-pagination > li:first-child > span {
  border-bottom-right-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  margin-right: 0;
}
.w2dc-content .w2dc-pagination > li:last-child > a,
.w2dc-content .w2dc-pagination > li:last-child > span {
  border-bottom-left-radius: 2px;
  border-top-left-radius: 2px;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}
.w2dc-content .w2dc-btn-group > .w2dc-btn:first-child:not(:last-child):not(.w2dc-dropdown-toggle) {
  border-bottom-right-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  margin-left: -1px;
}
.w2dc-content .w2dc-btn-group > .w2dc-btn:last-child:not(:first-child),
.w2dc-content .w2dc-btn-group > .w2dc-dropdown-toggle:not(:first-child) {
  border-bottom-left-radius: 2px;
  border-top-left-radius: 2px;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  margin-right: -1px;
  margin-left: 0;
}
.w2dc-content .w2dc-btn-group > .w2dc-btn,
.w2dc-content .w2dc-btn-group-vertical > .w2dc-btn {
  float: right;
}

.w2dc-content select:not(.w2dc-week-day-input) {
  background-position: 8px 50%, 13px 50%, 0 0 !important;
}

.w2dc-content .w2dc-checkbox label,
.w2dc-content .w2dc-radio label {
  position: relative;
  padding-left: 20px;
  padding-right: 30px;
}

.w2dc-checkbox input,
.w2dc-radio input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.w2dc-checkbox .w2dc-control-indicator,
.w2dc-radio .w2dc-control-indicator {
  right: 0;
  left: auto;
  margin-right: 0;
  margin-left: 5px;
}

/* Checkbox tick */
.w2dc-checkbox .w2dc-control-indicator:after {
  font-size: 12px;
  left: 0;
  right: 5px;
}

/* Radio button inner circle */
.w2dc-radio .w2dc-control-indicator:after {
  left: 0;
  right: 6px;
}

img.w2dc-field-icon {
  margin: 0 0 0 5px;
}

span.w2dc-field-icon {
  padding-left: 5px;
  padding-right: 0;
}

.w2dc-listings-block .w2dc-field-content p {
  display: block;
}

.w2dc-week-day-controls {
  direction: ltr;
  display: inline-block;
}

/************************ Misc ************************/
a.w2dc-hint-icon {
  left: 24px;
  right: auto;
}

/************************ Frontpanel Buttons ************************/
.w2dc-listing-single .w2dc-directory-frontpanel {
  margin: 0;
  float: left;
}

.w2dc-directory-frontpanel a.w2dc-btn {
  margin: 10px 0 10px 10px;
}

.w2dc-payment-method {
  float: right;
}

label.w2dc-rating-icon {
  float: left;
  padding-right: 2px;
  padding-left: 0;
}

label.w2dc-rating-icon.w2dc-fa-star-half-o {
  -moz-transform: scaleX(-1);
  /* Gecko */
  -o-transform: scaleX(-1);
  /* Opera */
  -webkit-transform: scaleX(-1);
  /* Webkit */
  transform: scaleX(-1);
  /* Standard */
  filter: FlipH;
  /* IE 6/7/8 */
}

.w2dc-rating-icon:last-child {
  padding-right: 0;
}

.w2dc-rating-avgvalue {
  float: left;
  margin-right: 5px;
  margin-left: 0;
}

ul.w2dc-categorychecklist li ul.children {
  margin-right: 12px;
  margin-left: 0;
}

ul.w2dc-categorychecklist li label {
  padding-right: 5px;
  padding-left: 0;
}

ul.w2dc-categorychecklist span.w2dc-category-has-checked {
  left: -2px;
  right: 0;
}

ul.w2dc-categorychecklist li ul {
  border-right: 1px solid #CCCCCC;
  border-left: 0;
  padding: 0 25px 0 0;
}

ul.w2dc-categorychecklist li ul li:before {
  right: -20px;
  left: auto;
}

/* Content fields */
.w2dc-delete-selection-item {
  float: right;
}

.w2dc-icon,
.w2dc-fa-icon {
  float: right;
}

.w2dc-attached-item,
.w2dc-upload-item {
  float: right;
  margin: 0 0 20px 20px;
}

.w2dc-fa.w2dc-attached-item-delete {
  left: 10px;
  right: auto;
}

.w2dc-content-fields-metabox .w2dc-field-checkbox-input {
  float: right;
}
