/* results */
div.wrapper div.header {
    margin: 0;
}
body.results h1 {
    font-size: 17px;
    margin-bottom: 5px;
}

div.steps {
    width: 450px;
    padding: 0;
    background: #f8f8f8;
    margin: 0 0 40px;
    border-color: #e1e1e1;
}

div.filter {
    width: 905px;
    padding: 15px 10px;
    margin: 0 0 30px;
}

div.filter div.select, div.filter select, div.filter label {
    float:left;
}

div.filter select,
div.filter div.select {
    margin-right: 7px;
}

div.filter select#producten,
div.filter div#producten-replace {
    width: 255px;
}

div.filter div#producten-replace table {
    width: 450px;
}

div.filter div#producten-replace td.col0 {
    width: 220px;
}

div.filter div#producten-replace td.col1 {
    width: 230px;
}

div.filter div#producten-replace td.disabled {
    text-align: center;
    padding-top: 12px;
}

div.filter select#koopsom,
div.filter div#koopsom-replace {
    width: 135px;
}

div.filter select#plaatsnaam,
div.filter div#plaatsnaam-replace {
    width: 115px;
}

div.filter div#plaatsnaam-replace table {
    width: 184px;
}

div.filter div#plaatsnaam-replace td.disabled {
    text-align: center;
    padding: 12px 0;
}

div.filter select#afstand,
div.filter div#afstand-replace {
    width: 55px;
}

div.filter div#afstand-replace table {
    width: 110px;
}

div.filter select#sort,
div.filter div#sort-replace {
    width: 62px;
}

div.filter div#sort-replace table {
    width: 120px;
}

div.filter label {
    margin:-2px 3px 0px 0;
}
div.filter p {
    margin: 6px 0 0;
    clear:both;
}

table.results {
    width: 925px;
    margin-bottom: 25px;
}

table.results tbody td,
table.results tbody th {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    vertical-align: middle;
}

table.results.top tbody td,
table.results.top tbody th {
    height: 55px;
}

table.results.bottom tbody td,
table.results.bottom tbody th {
    height: 45px;
}

table.results tr.warning th {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

table.results td.rank div {
    width: 32px;
    height: 32px;
    position: relative;
    left: -12px;
    text-align: center;
    font: bold 18px/32px arial, verdana, sans-serif;
    color: #fff;
}

table.results.top td.rank div {
    background: url(/media/images/layout/rank-top.png) no-repeat center center;
}

table.results.bottom td.rank div {
    background: url(/media/images/layout/rank-bottom.png) no-repeat center center;
}

table.results tr.warning th p {
    width: 780px;
    margin: 30px auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    line-height: 30px;
    font-weight: normal;
    text-align: center;
    color: #d23334;
}

table.results.top tr.even td,
table.results.top tr.even th {
    background: url(/media/images/layout/results-bg-top-even.png) repeat-x center bottom;
}

table.results.top tr.odd td,
table.results.top tr.odd th {
    background: url(/media/images/layout/results-bg-top-odd.png) repeat-x center bottom;
}

table.results.bottom tr.odd td,
table.results.bottom tr.odd th {
    background: #f1f1f1;
}

table.results thead th {
    font: 10px/12px arial, verdana, sans-serif;
    padding-bottom: 5px;
}

table.results thead th.rank {
    width: 32px;
}

table.results thead th.name {
    width: 338px;
}

table.results thead th.city {
    width: 135px;
}

table.results thead th.review {
    width: 125px;
}

table.results tbody td.rate {
    width: 90px;
}

table.results tbody td.actions {
    width: 195px;
}

table.results tbody td,
table.results tbody.th {
    font: 11px/14px arial, verdana, sans-serif;
}

table.results tbody td.rank {
    border-left: 1px solid #ccc;
}

table.results tbody th.name {
    font-size: 12px;
    font-weight: bold;
    color: #002496;
}

table.results.top tbody th.name {
    font-weight: bold;
}

table.results.bottom tbody th.name {
    font-weight: normal;
}

table.results tbody td.city {

}

table.results div.distance {
    letter-spacing: 1px;
}

table.results tbody td.review div {
    letter-spacing: 1px;
}

table.results tbody td.rate {
    font: bold 18px/18px arial, verdana, sans-serif;
    color: #002496;
}

table.results tbody td.rate div {
    cursor: help;
}

div.rate-tooltip {
    width: 400px;
    background: #fff;
    border-color: #aaa;
    -moz-box-shadow: 3px 3px 4px #aaa;
    -webkit-box-shadow: 3px 3px 4px #aaa;
    box-shadow: 3px 3px 4px #aaa;
    text-align: left;
    position:relative
}

div.rate-tooltip p {
    text-align: justify;
}

div.rate-tooltip table {
    margin: 0 0 10px;
}

div.rate-tooltip th {
    width: 240px;
    font-weight: normal;
}

div.rate-tooltip td.currency {
    padding-right: 5px;
    vertical-align: bottom;
}

div.rate-tooltip td.amount {
    width: 50px;
    text-align: right;
    vertical-align: bottom;
}

div.rate-tooltip tr.total td,
div.rate-tooltip tr.total th {
    font-weight: bold;
}

table.results tbody td.actions {
    border-right: 1px solid #ccc;
}

table.results a:link,
table.results a:visited {
    text-decoration: none;
    color: #666;
}

table.results th.name a.name-link {
    text-decoration: none;
    color: #002496;
}

table.results th.name a.contact-link {
    margin-left: 8px;
    font: 10px/12px arial, verdana, sans-serif;
    text-decoration: underline;
    color: #6abe28;
}

table.results td.rate a {
    color: #002496;
}

table.results span.rating {
    font-weight: bold;
}

table.results a.quote-button {
    display: block;
    width: 135px;
    height: 27px;
    padding-left: 10px;
    margin: 0 auto;
    font: bold 12px/27px arial, verdana, sans-serif;
    color: #fff;
    background: url(/media/images/layout/submit-results.png) no-repeat center center;
}

table.results a.quote-button:hover {
    opacity: 0.8;
    text-decoration: none;
}

a.sort-link {
    padding-right: 14px;
    color: #808080;
}

a.sort-link.inactive {
    background: url(/media/images/layout/sort-inactive.png) no-repeat right center;
}

a.sort-link.desc {
    background: url(/media/images/layout/sort-asc.png) no-repeat right center;
}

a.sort-link.asc {
    background: url(/media/images/layout/sort-desc.png) no-repeat right center;
}

/* search form */

p.search-intro {
    font-weight: bold;
}

div.field-block {
    border-bottom: 1px dotted #000;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

div.field-block.combinaties {
    font-style: italic;
}

div.field-block div.instruction {
    margin-bottom: 10px;
}

div.field-block input#plaatsnaam {
    width: 200px;
}

div.field-block div.afstand {
    margin-left: 10px;
}

div.field-block select#afstand {
    width: 120px;
}

div.product-block {
    float: left;
    width: 275px;
    margin-bottom: 10px;
}

div.product-block h2 {
    margin: 10px 0 5px;
}

div#nav-block {
    text-align: center;
    margin-bottom: 13px;
    border-bottom: 1px dotted;
    padding-bottom: 5px;
    overflow: auto;
    width: 100%;
}

div#nav-block a.back-link {
    height: 20px;
    padding-top: 4px;
    padding-left: 27px;
    background: url(/media/images/arrow_left.png) left center no-repeat;
}

div.pagination {
    margin: -10px 0 10px;
}

div.main div.pagination a:link,
div.main div.pagination a:visited {
    color: #6abe28;
    margin-left: 10px;
    text-decoration: underline;
}

form.landing div.buttons {
    float:left;
    clear:none !important; /* Sorry, didn't have much choice. Must overrule form#something, without breaking other pages */
    padding:2px 0 0 5px;
}

form.directory div#quicksearch-producten-replace table {
    width: 450px;
}
form.directory  div.select td.disabled {
    text-align: center;
    padding-top: 12px;
}
form.directory label {
    float:left;
    width:80px;
    padding-left: 8px;
}
form.directory div.select {
    float:left;
    margin-top:2px;
}
form.directory div.buttons {
    float:left;
    margin:0;
    padding:1px 0 0 18px;
}
