/* -------------------------------------------------------------------------
 * Search form
 * ---------------------------------------------------------------------- */

#metadata-catalogue-search-form {
  width: calc(95% - 45px);
}
.page--start #metadata-catalogue-search-form{
    width: 75%;
}

.result-wrapper {
  clear: left;
}

/* Search info button */
.button_search_info {
  margin-top: 16px;
  font-size: 26px;
  color: #222;
  background: none;
  border: 0;
}

/* Search help */

#catalouge-search-help {
    display: none;
    padding: 5px;
    margin-bottom: 5px;
}

#catalouge-search-help .example {
    background-color: lightgray;
}

#sndcatalogue_search_form {
    padding-top: 5px;
    width: calc(100% - 36px);
    margin: auto;
    float:left;
}

#sndcatalogue_search_form .form-item {
    margin-right: 5px;
    padding: 0;
}

#sndcatalogue_search_form input {
    float: left;
    font-size: 14px;
    line-height: 20px;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
}

#sndcatalogue_search_form input:focus {
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted \9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(82, 168, 236, .6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(82, 168, 236, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(82, 168, 236, .6);
}

#sndcatalogue_search_form input[type="text"] {
    font-size: 16px;
    margin: 0px 0px 8px 0px;
    width: calc(100% - 80px);
    height: 40px;
    border: 1px solid #222;
    padding: 8px;
}

#sndcatalogue_search_form .form-item-sndcatalogue-search-synonyms {
    float: left;
    font-size: 16px;
    margin-top: 0 !important;
    margin-bottom: 10px;
}

#sndcatalogue_search_form .form-checkbox {
    width: 13px;
    height: 13px;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
    position: relative;
    top: 2px;
    *overflow: hidden;
    left: 2px;
}

#toggleSearchInstructions{
    position: absolute;
    font-size: 1.6em;
    margin-top: 0;
    margin-top: 10px;
    width: 45px;
    text-align: right;
}

#sndcatalogue_search_form .option {
    display: block;
    padding-left: 5px;
    font-weight: normal !important;
}

#sndcatalogue_search_form input[type="submit"] {
    color: #ffffff !important;
    background-color: #222 !important;
    border: 1px solid #222;
    cursor: pointer;
    padding: 1px 6px;
    margin: 0px 0px 0px 5px;
    height: 40px;
    width: 80px;
    margin-left: -2px;
    font-weight: bold;
    border-radius: 0;
}

#sndcatalogue_search_form input[type="submit"]:hover {
    color: #ffffff !important;
    background-color: #0044cc;
}

#sndcatalogue_search_form .textfield {
    width: 200px;
    background: blue;
}

#sndcatalogue_search_form .submit {
    padding-left: 10px;
}

#catalogue{
    margin-top: 12px;
}

@media (max-width: 767px) {
    #catalogue{
        margin-top: 15px;
    }

    #metadata-catalogue-search-form{
      width: calc(100% - 45px);
    }
    .page--start #metadata-catalogue-search-form{
        width: 100%;
    }

    .accordion{
        max-width: 100%;
    }

    .contextual-links-region .tabs{
        margin:0px;
    }
}
