﻿.site-search {
    display: grid;
    gap: var(--space-2);
    justify-content: flex-end;
    --filter-columns: 2;

    grid-template-columns: auto 1fr;
}

.site-search:has(.filter__reset){
    --filter-columns: 3;

    grid-template-columns: 1fr auto 1fr;
}

.site-search .filter__actions { padding:  0; }

/*.grid.grid--2-columns {*/
/*    grid-template-columns: auto minmax(0, 1fr);*/
/*}*/

html.js [data-collapsible="collapsed"] > * { display: none !important; }
html.js [data-collapsible] .collapsible_head { display: block !important; }

.rules table { border-collapse: collapse }

.rules h2 { margin-top: 0; }
.rules h2 > small { display: block; }
.rules h5 { font-size: 1em; text-transform: uppercase; }
.rules h5.collapsible_head { text-transform: none; }
.rules table { width: auto; margin: 1em 0 0; table-layout: fixed; }
.rules thead { background: #e6ecf1; }
.rules thead tr { border-bottom: none; }
.rules tbody { font-size: 1em; }
.rules tbody tr + tr,
.rules tbody + tbody tr { border-top: none; }
.rules th,
.rules td { padding: 0.2em; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
.rules th + th,
.rules th + td,
.rules td + td { padding-left: 0; }
.rules .col-fill-to-end { position: relative; overflow: hidden; }
.rules .col-fill-to-end span { margin-left: -0.2em; padding: 0 0.2em; }
.rules .col-fill-to-end:after { content: ""; position: absolute; bottom: 0.25em; width: 99%; height: 1px; border-bottom: 1px dotted; }
.rules ul.flat { padding: 0; list-style: none; }
.rules li + li { margin-top: 0.5em; }
.rules dl { margin-top: 0.5em; }
.rules dt { display: inline-block; width: 20%; margin-top: 0.5em; margin-right: 2%; vertical-align: top; }
.rules dd { display: inline-block; width: 78%; margin-top: 0.5em; margin-left: -0.333em; vertical-align: top; }
.rules img { max-width: 100%; }
.rules img.centred { display: block; margin: 0 auto; }
.rules .h-card p { margin: 0; }
.rules .note { margin: 1em 0; font-size: 0.75em; }
.rules .numberedpara { padding-left: 3em; }
.rules .numberedpara_num { float: left; width: 2em; margin-left: -3em; }
.rules_quickselect { width: 50%; }
.rules_quickselect .field { display: inline-block; width: 90%; }
.rules_quickselect button { padding: 0.2em 0.4em; }

.rulestable-airportstatus64 { font-size: 0.5em; }
.rulestable-cities tbody td { font-size: 0.75em; }
.rulestable-trafficAgreements tbody td { font-family: Courier New, Courier, monospace; }

[class^="rulestable-countryFacilities"] colgroup + tbody tr:first-child td:first-child,
[class^="rulestable-countryFacilities"] tbody:first-child tr:first-child td:first-child { background: #e6ecf1; }
[class^="rulestable-LoadingCharts"] colgroup + tbody tr:first-child { background: #e6ecf1; }
[class^="rulestable-LoadingCharts"] td,
[class^="rulestable-Aircraft_Dimensions"] td { border: 1px solid #ccc; font-size: 0.75em; }
[class^="rulestable-LoadingCharts"] td.ph,
[class^="rulestable-Aircraft_Dimensions"] td.ph { padding: 0; border: 0; background: #fff; }

.rulestable-55pttext { font-size: 0.625em; }
.rulestable-6pttext { font-size: 0.75em; }
.rulestable-7pttext { font-size: 0.875em; }

.collapsible .collapsible { margin-top: 0.4rem; }

.back-to-top {
    display: block;
    margin: -1em 0 0 0.6rem;
    padding-top: 16px;
}

.back-to-top > a { font-size: 0.75em; }