/* Reduce font size */
@media only screen and (min-width: 40.0625em){
h1 { font-size: 2.2em;}
h2 { font-size: 1.8em;}
h3 { font-size: 1.6em;}
h4 { font-size: 1.4em;}
h5 { font-size: 1.5em;}
h6 { font-size: 1.6em;}
}
table.ambox-notice {
    width:auto;
}
/* Width 100% as requested */
.row {
    max-width: 95%;
}

p {
    margin-bottom: .25em;
    line-height: 1.4;
}

img {
    margin-bottom: 1em;
}
.ambox img {
    margin-bottom: initial;
}
h1,h2,h3,h4,h5,h6 {
    margin-bottom: .25em;
    margin-top: 1em;
}
.mw-bodytext h2 {
    border-bottom: 1px solid #a2a9b1;
    display: block;
    overflow: hidden;
    line-height: 1.2;
}
.toctitle h2 {
    border-bottom: none;
    display: inline;
}
.reflist ul li {
    font-size: .9rem;
}
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul,
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
    margin-bottom: 1em;
    margin-top: .75em;
}
#mw-content-text ul li,
#mw-content-text ol li {
    margin-bottom: .1em;
    line-height: 1.5;
}
#toc ul li {
    margin-bottom:0;
}
#toc ul {
    margin-bottom: 0;
}
#banner {
    overflow: initial !important;
}
.thumbinner {
    max-width: 100%;
}
/* Wikitable Reset to Strip out Foundation 5 */
table { width: auto; }
td.mw-label { width: 0; }
td.smwpropname, th.smwpropname, td.smwspecname { text-align: inherit; }
table tbody tr td, table tr td { line-height: inherit; }
table { background: transparent; margin-bottom: 1.25em; border: 0; }
table thead, table tfoot { background: 0; font-weight: normal; }
table thead tr th, table thead tr td, table tfoot tr th, table tfoot tr td { padding: 0; font-size: 100%; color: inherit; text-align: inherit; }
table tr th, table tr td { padding: 0; font-size: 100%; color: inherit; }
table tr.even, table tr.alt, table tr:nth-of-type(even) { background: transparent; }
table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoot tr td { display: table-cell; line-height: inherit; text-align: inherit; }

/* wikitable classes reset */
table.wikitable {
  margin: 1em 0;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
  text-align: inherit;
}

/* wikitable classes add */
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
  border: 1px #aaa solid;
  padding: 0.2em;
}

/* Custom h* styles (blue headings) */
.wikitable td.hl3,
.wikitable th.hl3 {
	background-color: #8da7d6;
}
.wikitable td.hl1,
.wikitable th.hl1 {
	background: #c5d8fc;
}
.wikitable td.hl2,
.wikitable th.hl2 {
	background: #a7c1f2;
}

/* Make entire table valign=top, to replace the |valign=top| on every cell. */
.vatop tr,
tr.vatop,
.vatop td,
.vatop th {
	vertical-align: top;
}
/* Tables in responsive and other breaks */
@media only screen and (max-width: 768px) {
table {overflow-x: auto; overflow-y: hidden; display: block; width: auto;}
table.wikitable {background-color: none; border: none;}
/* Give user a method to style a x-axis scrollable table without wrapping cell text */
.scrollable {overflow: scroll; overflow-y: hidden;}
.scrollable table {white-space: nowrap; border: 1px solid #eee; border-collapse: separate;}
a {word-wrap: break-word;}
input {max-width: 100%;}
}

/* Make MW table output readable on small screens */
@media only screen and (max-width: 640px) {
table.mw-specialpages-table td {display: inline; padding: 0;}
#mw-pages table td,
#mw-subcategories table td {display: inline; padding: 0;}
}
/* After Content for Approved Revisions - Make readable with swipe right */
@media only screen and (max-width: 768px) {
#mw-data-after-content {
    overflow-x: auto;
    overflow-y: hidden;
    display: block;
    width: auto;
}
}

/* Test Code Container */
textarea.codeBoxAreaNew:hover, textarea.codeBoxArea:focus {
    border-color: rgb(0, 157, 255);
    box-shadow: 2px 3px 2px rgba(0, 157, 255, 0.59);
    cursor:text;
    resize:none;
}
textarea.codeBoxAreaNew {
    min-height: unset;
}

/* Pure CSS solution to NO JS Actions menu */
.client-nojs ul#actions.f-dropdown {
    display:none;
    position: absolute;
    left: unset;
    right: 16px;
    top: 43px;
}
.client-nojs .f-dropdown:before,
.client-nojs .f-dropdown:after {
    display: none;
}
.client-nojs ul#actions.f-dropdown:hover {
    display:block;
}
.client-nojs a#actions-button {
    position:relative;
    display:inline-block;
}
.client-nojs a#actions-button:hover + .f-dropdown {
    display:block !important;
}
/* END NO-JS Solution */

.mw-cookiewarning-container {
    opacity: 1;
    padding: 5px 5px;
    background-color: #F5F5F5;
    color: black;

}

.top-bar {
	top: 40px;
}