/**************************************************************************************************\
   Sources section
\**************************************************************************************************/

/* Acts listings */

.act-title     { margin-top:10px; margin-bottom:5px; padding-top:10px; font-weight:bold; }
.act-reference { margin-top:5px; margin-bottom:15px; }
.act-note      { margin:-5px 25px 15px 25px; padding:5px; border:1px solid #808080; color:#333333; font-size:11px; font-style:italic; }
.act-date      { float:right; font-weight:normal; padding:0px 0px 15px 15px; }
.act-external  { margin:0px 0px 0px 25px; padding:0px; position:relative; top:-10px; }

.act-title:not(.no-border) { border-top:1px dashed #B0B0B0; }

/* Acts pages */

.act-description { font-size:120%; }
.act-commentary  { width:90%; margin:10px auto 10px auto; padding:5px; border:1px solid black; }
.inset-clause    { text-indent:15px; }

ol.parens-lc     { margin:10px 0px 15px 20px; }   /* adjust these from */
ol.parens-lr     { margin:10px 0px 15px 20px; }   /* standard margins  */

/* Lists of clauses in Acts pages */

#act-clauses-openclose                     { display:block; margin:0px 0px 5px 0px; font-weight:bold; color:black;
                                             text-align:center; text-decoration:none; }
#act-clauses-openclose img                 { position:relative; top:4px; }
#act-clauses                               { display:none; }
#act-clauses a                             { display:block; margin:0px 0px 5px 0px; font-size:10px; color:black; text-decoration:none; }
#act-clauses a:hover                       { color:#F08C0B; text-decoration:underline; }

/* as above, general version for more than one on a page
   (this is the way it should have been done originally ...) */

.openclose                                 { display:block; margin:0px 0px 5px 0px; font-weight:bold; color:black;
                                             text-align:center; text-decoration:none; }
.openclose img                             { position:relative; top:4px; }
.openclose-list                            { display:none; }

/* other special formatting */

.rate-table                                { border-spacing:0px; max-width:90%; margin:auto; }
.rate-table tr td                          { padding:4px; }
.rate-table tr td:nth-last-of-type(1)      { vertical-align:bottom; }
.rate-table tr td:nth-last-of-type(2)      { vertical-align:bottom; }
.rate-table tr td:nth-last-of-type(3)      { padding-right:20px; }

.newspaper-table                           { border-spacing:0px; max-width:90%; margin:auto; }
.newspaper-table tr td                     { padding:4px 4px 4px 20px; }
.newspaper-table tr td.subheading          { padding:8px 0px; }
.newspaper-table tr td:nth-last-of-type(1) { vertical-align:bottom; }
.newspaper-table tr td.vam                 { vertical-align:middle; }

.schedule-table                            { width:100%; border-spacing:0px; margin:auto; border:1px solid black; border-collapse:collapse; }
.schedule-table tr th                      { text-align:center; vertical-align:middle; padding:10px; border:1px solid black; }
.schedule-table tr td                      { text-align:left; vertical-align:top; padding:6px 6px 12px 6px; }
.schedule-table tr td:nth-of-type(2)       { border-left:1px solid black; border-right:1px solid black; }

.scotland-flag::after { display:inline-block; height:16px; margin:0px 0px 0px 5px; position:relative; top:2px;
                        content:url(/images/icons16/scotland.png); }
.ireland-flag::after  { display:inline-block; height:16px; margin:0px 0px 0px 5px; position:relative; top:2px;
                        content:url(/images/icons16/ireland.png); }

