
#search_form {
    float: left;
    margin-top: 10px;
    width: 550px;
}

#search_form form {
    height: 350px;
    position: relative;
}

/* Left menu to select criteria */
#search-sections {
    display: none;
    background-color: #f6f6f6;
    float: left;
    margin-top: 1em;
    margin-bottom: 1em;
    width: 94px;
}

#search-sections h4 {
    padding: 9px;
    font-size: 1em;
    color: #020302;
    font-weight: bold;
    border-right: 1px solid #cdd6d2;
    margin: 0px;
}

#search-sections ul {
    list-style: none;
    padding: 0 0 50px 0;
    margin: 0;
    border-right: 1px solid #cdd6d2;
}

#search-sections ul li {
    margin: 0;
    font-size: 1.1em;
    list-style-image: none;
}

#search-sections ul li a,
#search-sections ul li button {
    display: block;
    width: 76px;
    text-align: left;
    margin: 0;
    padding-left: 9px;
    margin-left: 7px;
    border-left: 1px solid #f6f6f6;
    border-top: 1px solid #f6f6f6;
    border-bottom: 1px solid #f6f6f6;
    border-right: 1px solid #cdd6d2;
    background: transparent;
    cursor: pointer;
    font-size: 85%;
}

#search-sections ul li a:hover,
#search-sections ul li.selected a,
#search-sections ul li button:hover,
#search-sections ul li.selected button {
    color: #000;
    background-color: #fff;
    border-left: 1px solid #cdd6d2;
    border-top: 1px solid #cdd6d2;
    border-bottom: 1px solid #cdd6d2;
    border-right: 1px solid #fff;
}


/* Right section with the options for a given criteria */
.searchlet {
    float: left;
    padding: 1em 0px 0px 20px;
    height: 190px;
    width: 430px;
}

.searchlet h3 {
    margin-top: 3em;
    margin-left: 1em;
    font-size: 10pt;
}

.searchlet ul {
    padding:0px;
    margin:0px 0px 0px 50px;
    list-style: none;
}

.searchlet ul li {
    line-height: 1em;
    font-size: 8pt;   
}

.searchlet input[type=text] {
    margin-left:40px;
}

.searchlet select {
    font-size: 0.9em;
}

.searchlet label {
    color: #76258A;
}

.searchlet label:hover {
    text-decoration: underline;
}

.search-block {
    float: left;
    height:200px;
    width: 170px;
    text-align: center;
}

.searchlet ul li.selected label {
    color: #84adba;
}

.add-remove-buttons {
    float: left;
    height: 200px;
    width: 55px;
    padding-top: 0px;
    text-align: center;
}

.add-remove-buttons button {
    margin-top: 1em;
    border: 0;
}
.add-remove-buttons button.add {
    padding-right: 10px;
    background: transparent url(../img/add_icon.gif) no-repeat right center;
}

.add-remove-buttons button.delete {
    padding-left: 10px;
    background: transparent url(../img/delete_icon.gif) no-repeat left center;
}

button.select-all-action {
    margin-top: 1em;
    border: 0;
    padding-right: 10px;
    background: transparent url(../img/tick-icon.gif) no-repeat right center;
}

/* Bottom section with the autogenerated query */

.query p {
    font-size: 120%;
}

button.remove-action {
    visibility: hidden;
    background: transparent url(../img/remove-icon.png) 50% 50% no-repeat;
    border: 0;
    text-indent: -999em;
    width: 10px;
    margin-left: 2px;
    margin-right: 0;
    cursor: pointer;
}

.show-button {
    color: #9a0003;
    background-color:#e7c5c4;
}

.show-button button.remove-action {
    visibility: visible;
}

.query-arg a, .query-arg a span {
    color: #76258A;
    text-decoration: none;
    font-weight: bold;
    font-style: normal;
}

.query-arg a:hover, .query-arg a:hover span {
    text-decoration: underline;
}

.titles {
    color: #444444;
    font-style: italic;
}

#selected-search {
    clear: both;
    margin-left: 9px;
    text-align: center;
    padding: 1em;
    border: 1px solid #cccccc;
    background: #F6F6F6;
}

#selected-search h4 {
    text-align: left;
    display: none;
}

#selected-search p {
    margin-left: 18px;
    text-align: left;
}

#selected-search input {
    margin-top: 1em;
}

/* safari and chrome */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .add-remove-buttons button.add {
      padding-right: 12px;
  }

  .add-remove-buttons button.delete {
      padding-left: 12px;
  }
}

/* Opera */
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
  .add-remove-buttons button.add {
      padding-right: 12px;
  }

  .add-remove-buttons button.delete {
      padding-left: 12px;
  }
}
