#body .miwt table {
  margin: 10px 0;
}

/* form styles */
.event button {
  outline: 0;
  border: 0;
  background: #00aeef;
  color: #ffffff;
  font-family: "open_sansbold", "Arial", Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .05em;
  padding: 5px;
  height: unset;
  text-decoration: none;
  display: inline-block;
  zoom: 1;
  *display: inline;
  text-align: center;
  width: auto;
}

.event button:hover {
  background: #000000;
}

.event.search.actions {
  position: relative;
  padding-bottom: 10px;
}

.event .new_event {
  display: inline-block;
  zoom: 1;
  *display: inline;
  vertical-align: middle;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid #ccc;
  width: 11%;
}

.event .constraints {
  width: 87%;
  display: inline-block;
  zoom: 1;
  *display: inline;
}

.event button {
  width: 100px;
}

.event .actions {
  width: 8%;
}

.event button.search {
  width: 100%;
}

.event span.constraint,
.event .select2-container {
  display: inline-block;
  zoom: 1;
  *display: inline;
  position: relative;
  width: 30%;
}

.event label {
  display: inline-block;
  zoom: 1;
  *display: inline;
}

@media screen and (max-width: 1250px) {
  .event label {
  	display: block;
  }
}

.event .constraint input {
  width: 60%;
  margin-right: 10px;
  margin-bottom: 5px;
}

.event .select2-container.constraint.status {
  width: 70%;
}

.event span.actions, 
.event button {
  display: inline-block;
  zoom: 1;
  *display: inline;
}

div.window.dialog.copy-event-dialog, .copy-event-dialog > div.windowcontent {
  /*background-color: darkgrey !important;*/
}

.copy-event-ui .event-title label, .event-title .hint {
  text-align: center;
  font-size: 2em;
  margin-bottom: 15px;
  line-height: 1.5em;
  display: block;
}

.event-parts-selection-ui {
  display: grid;
  grid-gap: 10px;
  align-content: start;
  grid-template-rows: auto 1fr;
}

.independent-parts {
  grid-area: 1 / 1 / 3 / 2;
  align-self: start;
  border: 1px solid #ddd;
}

.dependent-parts {
  grid-area: 1 / 2 / 2 / 3;
  align-self: start;
  border: 1px solid #ddd;
}

.copy-event-ui .actions {
  grid-area: 2 / 2 / 3 / 3;
  align-self: start;
  border: 1px solid #ddd;
}

.parts-instructions, .actions .instructions {
  background-color: #eee;
  padding: 15px;
  margin-bottom: 15px;
  text-indent: 10px;
}

.window.dialog.copy-event-dialog label {
  /* undo unwanted changes from ridiculously loose selector in app-components.css  */
  font-family: "open_sansregular", Arial, Helvetica, sans-serif;
  color: WindowText;
  text-transform: none;
}

.event-part label {
  /* and then our own changes */
  padding-left: 5px;
}

.event-part {
  padding-left: 10px;
}
.event-part > .indenter {
  padding-right: 20px;
}

.event-parts-selection-ui .event-part > span.ctb {
  display: inline;
}

.actions .action-buttons {
  padding: 15px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.actions .action-buttons .btn.go {
  padding-left: 20px;
  padding-right: 20px;
}

button {
    outline: 0;
    border: 0;
    background: #00aeef;
    color: #ffffff;
    font-family: "open_sansbold", "Arial", Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: .05em;
    padding: 5px;
    height: 30px;
    text-decoration: none;
    display: inline-block;
    zoom: 1;
    text-align: center;
    width: auto;
}

/* setup responsive form styles */
@media screen and (min-width: 1111px) and (max-width: 1185px) {
  .event .new_event {
    padding-right: 10px;
    margin-right: 10px;
    width: 11%;
  }
  .event .constraint + .constraint {
    margin-left: 0;
  }
  .event .constraints {
    width: 88%;
  }
  .event button.miwt_button.search {
    width: 100%;
  }
  .event .constraint input[type='text']:not(.select2-offscreen) {
    width: 56%;
    margin-right: 10px;
  }
}

@media screen and (max-width: 1110px) {
  .event .constraints {
    position: relative;
    width: 86%;
  }
  .event .new_event {
    vertical-align: top;
  }
  .event .new_event button.miwt_submit {
    height: 105px;
    margin: 5px 0;
  }
  .event .constraint + .constraint {
    margin-left: 0;
  }
  .event span.constraint {
    display: block;
    width: 92%;
  }
  .event .constraint label {
    display: inline-block;
    zoom: 1;
    *display: inline;
    width: 20%;
  }
  .event .constraint input:not(.select2-offscreen),
  .event .select2-container.constraint.status {
    display: inline-block;
    zoom: 1;
    *display: inline;
    width: 76%;
  }
  .event .constraints .actions {
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
  }
  .event .constraints .actions .miwt_button {
    width: 100%;
    height: 105px;
    margin-top: 2px;
  }
}

@media screen and (max-width: 980px) {
  .event .new_event {
    width: 13%;
  }
  .event .constraints {
    width: 84%;
  }
  .event .constraint input:not(.select2-offscreen),
  .event .select2-container.constraint.status {
    display: inline-block;
    zoom: 1;
    *display: inline;
    width: 73%;
    margin-bottom: 5px;
  }
}

/* Landing page*/
.landingpage {
  display: none;
}

.search .title {
  color: #000000;
  font-size: 16px;
  margin: 5px 0;
  font-weight: normal;
  text-transform: uppercase;
  font-family: 'montserratregular', Arial, Helvetica, sans-serif;
}

.search {
  margin: 20px 0;
  padding: 10px 20px;
  border: 1px solid #dbdbdb;
  background: #ffffff;
}

.search_bar {
  margin-bottom: 20px;
}