/* GENERIC RESPONSIVE MOBILE STUFF */

/*
 * ************************************************
 *  Common (basic styles e.g. links, headings, ...)
 * ************************************************
 */

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

textarea {
  width: 100%;
}

.no_mobile {
  display: none;
}


/*
 * ************************************************
 *  Content
 * ************************************************
 */
 
.edit_container  {
  width: 100%;
  max-width: none;
}
 
#ull_user_popup_sidebar {
  float: none;
}

/*
 * ************************************************
 *  index actions
 * ************************************************
 */
 
#tc_container > div {
  float: none;
  width: 100%;
  max-width: 24em;
}

/*
 * ************************************************
 *  edit actions
 * ************************************************
 */

table.edit_table {
  width: 100%;
  position: relative;
  display: block;
}

table.edit_table tbody {
  position: relative;
  display: block;
}

table.edit_table tr {
  position: relative;
  border-bottom: 1px solid white;
  display: block;
}

table.edit_table > tbody > tr > td {
  position: relative;
  display: block;
  padding: 2px 4px;
  width: auto;
  border: none;
}

table.edit_table td.label_column {
  width: auto;
  min-width: 0;
  padding-top: .5em;
}

table.edit_table input[type="text"],
table.edit_table input[type="password"],
table.edit_table select {
  display: block;
  max-width: 98%;
}

table.edit_table button.ui-multiselect {
  width: auto !important;
}

table.edit_table .cke {
  width: auto !important;
}

.cke_editable img {
  height: auto !important;
}

/* reCAPTCHA tweak */
table.edit_table td #recaptcha_widget_div td {
  display: table-cell;
}

.ull_widget_gallery_control_drop {
  width: auto;
  max-width: 316px;
}

#ull_widget_gallery_control_drop_fields_photo {
  width: auto;
}

#ull_widget_gallery_control_drop_fields_photo dfn {
  display: none;
}


.form_error {
  margin-bottom: 0;
}

/* Unfix edit action buttons from the bottom of the viewport. */
.action_edit #ull_tabletool_form .edit_action_buttons
{
  position: inherit;
  bottom: inherit;
  border: inherit;
  width: auto;
  height: inherit;
  box-shadow: inherit;
  overflow: inherit;
  z-index: inherit;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.edit_action_buttons_left {
  float: none;
}
 
.edit_action_buttons_right {
  float: none;
  margin: 1em 0 0 .8em;
  line-height: 1.8em;
}



/*
 * ************************************************
 *  ullGenerator
 * ************************************************
 */

.list_table tr {
  min-height: 3em;
} 

.edit_container {
  max-width: 60em;
}