/*html{overflow-x:hidden;}*/

body{
	/*color: #474b55;*/
    font-family: 'National-Regular',sans-serif;
    font-size: 16px !important;
    display: block;
	margin-top:70px !important;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    color: #333;
    line-height: 22px;
    padding-left: 20px;
	background-color:#fff;
	overflow-x:hidden;
}

.bodywrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

b{font-family:'National-Bold';}

.content {
  flex: 1;
  overflow: auto;
}
nav > span{
	color:#2189a3 !important;
}
div.container{
    background-color:white;
    box-shadow:0px 5px 40px #111;
    -webkit-box-shadow:0px 5px 40px #111;    
}
p{
    text-align:justify;
}
h1{
    color: #000;
    font-size: 24px;
    margin-bottom: 32px;
}
h2{
    color: #fff;
	background-color:#00365f;
	padding:4px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'National-Regular',sans-serif;
    margin-bottom: 10px;
}

h3{
    display: block;
    -webkit-margin-before: 1.33em;
    -webkit-margin-after: 1.33em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
}
h4{
    display: block;
    -webkit-margin-before: 1.33em;
    -webkit-margin-after: 1.33em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: normal;
}
h5{
    display: block;
    -webkit-margin-before: 1.33em;
    -webkit-margin-after: 1.33em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
    display: block;
      font-size: 18px;
      color: #00355f;
}
h6 {
    display: block;
      font-size: 16px;
    -webkit-margin-before: 1.33em;
    -webkit-margin-after: 1.33em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
    color: #00355f;
}

.notes {
 	vertical-align:super;
	font-weight:normal;
 	text-decoration: none;
 	font-size:smaller;
	background-color:transparent;
}

.footnote{
	counter-increment : footnote;
}

.endnote{
	counter-increment : endnote;
}

.footnote:before{
	content: counter(footnote, lower-roman);
}

.endnote:before{
	content: counter(endnote, decimal);
}

.notepopup{
	outline:none;	
}
svg{
	overflow: visible !important;
	width: 100% !important;
}
.svg-equation{
	vertical-align: -3px;	
}
.svg-equation > svg{
	overflow: visible !important;
	width: auto !important;
}
.svg-container{
    z-index: 3;
	position: absolute;
    width: 100%;
    height: 78px;
    bottom: 0;
}
.svg-content{
	border:0px;
    display:inline-block;
    position:absolute;
    bottom:0;
    left:0;
}
.fixed{
    position:fixed;
	width:15%
}
.sub-sub-rule {
   margin-left: 0;
}
.sub-sub-sub-rule {
   margin-left: 30px;
}
.sub-sub-rule p {
   margin-left: 0;
}
.sub-sub-rule ul {
   margin-left: 6px;
}
.sub-sub-sub-rule p {
   margin-left: 0;
}
.sub-sub-sub-rule ul {
   margin-left: -12px;
}
p.figtitle,
p.imagetitle,
p.tabletitle{
    color:#2199b4;
}
th{
    border-left:1px solid #c1c1c1;
}
th:first-of-type{
    border-left:0px;
}
th a{
    color: #2189a3 !important;
    text-decoration: underline;
}
td{
    border: 1px solid #d9d9d9;
	border-left: 0px;
	border-top: 0px;
}
tbody tr:nth-child(odd){
   
}
tbody tr:nth-child(even){
    background-color:#fff;
}
thead th{
    background:-webkit-linear-gradient(#217081, #2189a4);
    background:-moz-linear-gradient(#217081, #2189a4);
    background: #d5d5d5;
    color:#717171 !important;
}
thead{
    outline: 1px solid #d9d9d9;
}
tbody{
    outline: 1px solid #d9d9d9;
    outline-top:0px;
}
img{
    max-width:80%;
}
img+img{
    margin-top: 12px;
}
div image{
	margin-top: 5px;
	margin-bottom: 5px;
}
table{
	margin-top: 20px;
	margin-bottom: 20px;
}
table img,
table video{
    border:none;
}
.heading{
    color:#2199b4;
}
.note{
    margin-bottom:10px;
    padding:10px;
    background-color:#e7f9fd;
    border-left:6px solid #2189a3;
}
.caps{
    text-transform:uppercase;
}
.smallCaps{
    font-variant:small-caps;
}
.dstrike{
    text-decoration:line-through;
}
.bdr{
    border:1px solid #000000;
    padding:2px;
}
.shd{
    background:#cccccc;
}
dd,
dl{
    padding-left:0px;
    margin:1px;
}
.quote{
    color:rgba(97,140,41,1);
    font-style:italic;
}
.keyword{
    color:#2189a3;
}
.term{
    color:#a23701;
    text-decoration:underline;
}
.tm{
    text-decoration:underline;
    background-color:#fff9e3;
    padding:2px;
    marging-left:2px;
    margin-right:2px;
}
.cite{
    font-style:italic;
}
.country{
    background:#FAFAFA;
    padding:1px 6px;
    border-radius:5px;
    border:1px solid rgba(97,140,41,1);
}
.org{
    border:1px dotted rgba(97,140,41,1);
    padding:1px 2px;
}
.person{
    background:#EDFCFF;
    border:1px dotted rgba(97,140,41,1);
    font-style:italic;
    padding:1px 2px;
    ;
}
.container{
    padding:6px;
}
.container{
    padding-top:0px;
}
blockquote{
    font-style:italic;
    background-color:#F1FFE5;
    padding:10px;
    margin:0px 0px 12px 0px;
    border-left:6px solid rgba(97,140,41,1);
}
a{
    color: #00365f;
    font-weight:normal;
    text-decoration: none;
}

a:hover{
    text-decoration: underline !important;
}
video{
    border:1px solid #2189a4;
	width: 100%;
}
#articlecontent{
    padding-left:0px;
    padding-right:30px;
}
#article{
	padding-left:20px;
	margin-top:20px;
}

/* sidebar */
.bs-docs-sidebar{
    padding-left:20px;
    margin-top:65px;
    margin-bottom:20px;
}

/* all links */
.bs-docs-sidebar .nav > li > a{
    color:#999;
    border-left:2px solid transparent;
    padding:4px 13px;
    font-size:16px;
    font-weight:400;
}
/* nested links */
.bs-docs-sidebar .nav .nav > li > a{
    padding-top:1px;
    padding-bottom:1px;
    padding-left:30px;
    font-size:16px;
    /*color: rgba(97,140,41,1);*/
}
/* active and hover links */
.bs-docs-sidebar .nav > .active > a,
.bs-docs-sidebar .nav > li > a:focus{
    color:rgba(97,140,41,1);
    text-decoration:none;
    background-color:transparent;
    border-left-color:rgba(97,140,41,1);
}
.bs-docs-sidebar .nav > li > a:hover{
    color:#2189a4;
    border-left:1px solid transparent;
    margin-left:1px;
    text-decoration:none;
    background-color:transparent;
    border-left-color:#2189a4;
}
/* all active links */
.bs-docs-sidebar .nav > .active > a,
.bs-docs-sidebar .nav > .active:hover > a,
.bs-docs-sidebar .nav > .active:focus > a{
    font-weight:700;
}
/* nested active links */
.bs-docs-sidebar .nav .nav > .active > a,
.bs-docs-sidebar .nav .nav > .active:hover > a,
.bs-docs-sidebar .nav .nav > .active:focus > a{
    font-weight:500;
}
/* hide inactive nested list */
.bs-docs-sidebar .nav ul.nav{
    display:none;
}
/* show active nested list */
.bs-docs-sidebar .nav > .active > ul.nav{
    display:block;
}
.bs-docs-sidebar .nav > li{
    word-break:normal;
    white-space:normal;
}
.w3-col .m3 .navtochange sidebar{
    width:70%;
}
.w3-col .m3 .navtochange ul:first-child{
    width:25%;
}
.graphiccontainer{
    padding:0px;
    z-index:999;
}
.nomargin{
    margin:30px 0px 0px 0px;
}
.version-tag{
	font-weight: normal;
    text-decoration: none;
    font-size: 8px;
    color: white;
    text-align: center;
    width: 100%;
    font-family: "arial", sans-serif;
	margin: 8px;
}
#tocnav{
	background: #f5f5f5 !important;
	z-index:3;
	width:325px;
}

#tocframe .not-active a{
    pointer-events:none;
    cursor:default;
}

/*Table of Contents*/
.toc{margin-top:-70px;margin-left:14px;}

.toc_basic-section a{font-weight:700;}

.toc_basic-section, .toc_section-of-rules{padding:4px;box-sizing:border-box;margin-bottom:8px;color:#00365f;}
.toc_section-of-rules{font-weight:700;background:#eff0f2;}
.toc_basic-section a{color:#00365f;/*font-weight: normal !important;*/}


.toc_rule {margin-top:12px;margin-bottom: 8px;margin-left:12px;}

.toc_sub-rule{margin-left:10px;box-sizing:border-box;background-color:#fff;/*display:none;*/}
.toc_sub-rule a{color:#000;}

.toc_num{float:left;margin-right:20px;border:1px solid transparent;}
.toc_interp{width:70px;float:left;margin-right:10px;border:1px solid transparent;}
.interp_row_height{height:40px;}



/*top nav - Rules - Players Edition - Interpretations*/
.rules_top_nav{position:fixed;top:0;width:100%;height:42px;background-color:#fff;margin-top:0;box-sizing:border-box;padding-top:16px;border-bottom:1px solid #999;}
.rules_nav_link{display:inline-block;}
a.top_nav_link:hover{color:#da1a31;}
a.red_link{color:#da1a31 !important;}



.rules_nav_link a{font-size:16px;font-weight:bold;}
.rules_nav_link a:hover{text-decoration:none !important;}
.bullet{font-size:1.4em;padding:0 8px;}

.img-full-rule{max-width: 10%;height:auto;vertical-align:bottom;}



#equipment-rules,#player_edition,#interpretations{border-bottom:4px solid #da1a31;}


h4#interpretations{border:none;}



/*.rules_top_nav{height:auto;overflow: hidden;margin:30px 0;padding:0;list-style:none;}
.rules_top_nav li {width:130px;float:left !important;margin-left:8px;text-align:center;border-bottom:2px solid #000 !important;}
.rules_top_nav li:first-child{width:60px;}
.rules_top_nav li::before{content: " - ";}*/

/*ul#toc .w3-ul li{background-color:#ccc;}*/


@media screen{
    html,
    body{
        height:100%;
		margin-right:10px;
        padding:0;
        font-size:90%;
    }
}

.box-region {
    background: #e8e8e8;
    border-color: #efefef !important;
    border-radius: 2px;
    border: 1px solid;
    border-width: 1px 1px 2px;
    margin: 25px 0;
}
.box-region p {
	font-family: "Verdana", sans-serif;
    font-size: 1em;
    margin: 0;
    color: #808080;
    padding: 10px;
}

.default-region {
    background-color: #eff0f2;
    padding: 10px;
    margin: 6px;
	color: #00365f;
	border-radius:8px;
}

.default-region > .region-title {
    color: #555;
    font-weight: bold;
	text-transform: uppercase;
    margin: 0;
    padding-left: 12px;
    position: relative;
    font-size: 1.05em;
    line-height: 38px;
    letter-spacing: 0.5px;
    color: #6d6d6d;
    background: #efefef;
    border-bottom: 1px solid #e1e1e1;
    font-style: normal;
}

.box-region > .region-title {
    color: #555;
    font-weight: bold;
	text-transform: uppercase;
    margin: 0;
    padding-left: 12px;
    position: relative;
    font-size: 1.05em;
    line-height: 38px;
    letter-spacing: 0.5px;
    color: #6d6d6d;
    background: #efefef;
    border-bottom: 1px solid #e1e1e1;
    font-style: normal;
}

.callout-region {
    background: #fff9ea;
    border-color: #eae0b8 !important;
    border-radius: 2px;
    border: 1px solid;
    border-width: 1px 1px 2px;
    margin: 25px 0;
}

.region-title {
	padding-left: 20px !important;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    position: relative;
    font-size: 1.05em;
    line-height: 38px;
    letter-spacing: 0.5px;
    color: #ebac10;
    background: #fdf1d4;
    border-bottom: 1px solid #f9e5b5;
    font-style: normal;
    font-weight: bold;
    font-family: 'Verdana', sans-serif;
}

.callout-region > p {
    font-family: "Verdana", sans-serif;
    font-size: 1em;
    margin: 0;
    padding: 10px 10px;
    color: #a2955f;
}
#documentTop{
    color: #fff !important;
    background-color: #2189a3 !important;
}
#documentTopContent{
	padding-left: 16px;
	line-height: 25px;
	width: 80% !important;
	padding-top: 22px;
	padding-bottom: 21px;
}
#maincontainer{
	padding-left:0px;
}
li p:first-of-type {
    /*display: inline;*/
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px
}
li p:not(:first-child){
	 display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}
#sidebar{
	background: #f5f5f5 !important;
	text-align: left !important;
	z-index:3;
	width:325px;
	height: 85%;
}

#sidebar  li span:hover ,#sidebar  li  ul li span:hover, span:focus {
    background-color: #bee1e8 !important;
}
#sidebar li span:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px; 
}

#sidebar li span {
    display: block !important;
	color: #5d5d5d !important;
    line-height: 1em;
    text-decoration: none !important;
	font-size: 1em;
}
#sidebar li ul li span {
	padding-left: 32px !important;
	color: #5d5d5d;
    display: block;
    line-height: 1em;	
    font-size: 12.635px;
    font-weight: normal;
    text-decoration: none !important;
}
#sidebar li ul li {
	padding: 0px !important;
}
#sidebar > li:first-of-type{
	font-size: 1em;
    font-weight: 600;
}
#sidebar > li:first-of-type > span {
    font-size: 1em;
    background-color: #d2edf3 !important;
	color: #5d5d5d !important;
	min-height: 50px;
    border: 1px solid #bee1e8;
    border-width: 0 0 1px;
    cursor: pointer;
    display: block;
    padding: 28px 28px 28px 16px !important;
    width: 100%;
    outline: none;
}
nav ul li span {
    font-size: 16px 
}
nav ul li ul li span{
    font-size: 12px ;
	color: rgba(97,140,41,1) !important;
}
li{
	border-bottom: 0px !important;
	/*display: block !important;*/
	float: none !important;
	list-style:none;
}
ul.unorderedlists > li{
	list-style-type: disc;
    display: list-item !important;
	margin-left: 20px;
	margin-bottom: 10px;
}
ul.unorderedlists{
	-webkit-padding-start: 10px;
}
ol{
	-webkit-padding-start: 25px !important;
}
ul.unorderedlists > li > p{margin-left:0;}


.sub-list li{list-style: url(../images/list_arrow.png)}



ul.w3-ul{background-color:#fff;}
ul.w3-ul li{background-color:#fff !important;margin:8px 0;}
ul.w3-ul li a{color:#00365f !important;}

ul.w3-ul li ul.w3-ul{}

ul#toc ul.w3-ul li:nth-child(1){background-color:#ccc !important;}



.anchor {
    display: block;
    height: 100px;
    margin-top: -100px;
    visibility: hidden;
}
#footnotespan{
	float: left;
    width: auto;
	min-width: 200px;
	background-color: #ffffff;
    color: black;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
	z-index: 999;
	position:absolute;
	left:-200px;
	bottom:18px;
}
footer{
	color: #fff !important;
    background-color: #2189a3 !important;
}
#TheFooter{
	margin-right: -30px;
	background-color: #2189a3 !important; 
	padding: 0px;
}

.custom-counter1 {
    margin-left: 0;
    padding-right: 0;
    list-style-type: none;
}
.custom-counter1 > li {
    counter-increment: counter1;
	display: table-row !important;
}
.custom-counter1 > li::before {
    content: counter(counter1) ".";
    font-size: 100%;
    color: #2189a3;
    padding-right: 10px;
	display: table-cell;
}
.custom-counter3 {
    margin-left: 0;
    padding-right: 0;
    list-style-type: none;
}
.custom-counter3 > li {
    counter-increment: counter2;
	display: table-row !important;
}
.custom-counter3 > li::before {
    content: counter(counter2, lower-roman) "." !important;
    font-size: 100%;
    color: #2189a3;
    padding-right: 10px;
	display: table-cell;
}
.custom-counter2 {
    margin-left: 0;
    padding-right: 0;
    list-style-type: none;
}
.custom-counter2 > li {
    counter-increment: counter3;
	display: table-row !important;
}
.custom-counter2 > li::before {
    content: counter(counter3, lower-alpha) ")" !important;
    font-size: 100%;
    color: #2189a3;
    padding-right: 10px;
	display: table-cell;
}

.custom-counter2 > li  .custom-counter2 {
    counter-reset: counter3;
}
.custom-counter3 > li  .custom-counter3 {
    counter-reset: counter2;
}
.custom-counter1 > li  .custom-counter1 {
    counter-reset: counter1;
}
.menu-icon {
    color: white !important;
    text-decoration: none;
    font-weight: bold;
	line-height: 25px;
	float: left;
    padding-top: 20px !important;
}
table p{
	text-align: unset;
	margin: 0px 0px 0px 0px;
}
.bg {
    position: absolute;
    width: 100%;
    height: 78px;
    bottom: 0;
}
::-moz-selection {
  color: #ffffff;
  background: #2189A3; }

::selection {
  color: #ffffff;
  background: #2189A3; }
.smart-table{	
    margin: 20px 0;  
}
ul#sidebar li.active > span {
	background-color: #2189a3 !important;
	color: white !important;
}
#sidebar > li:first-of-type.active > span {
	background-color: #d2edf3 !important;
	color: #5d5d5d !important;
}

.w3-striped tbody tr:nth-child(even){
	background-color: #f9f9f9;
}
/*.w3-striped tbody tr:hover{
	background-color: #aad8e4;
}*/
.topsvg {
    position: absolute;
    height: 78px;
    top: 0;
	right: 325px;
}
@media screen and (min-width:992px){.topsvgrow{margin-right: 325px;}}
#documentTopContent a{
    color: #ffffff !important;
    cursor: pointer;
}
.noaccess{
	background-color:red; 
	color:white; 
	margin:10px; 
	padding:10px;
}
.noaccess p{
	color:white;
	font-size:150%
}
.errorresolvinguri{
	background-color:red; 
	color:white; 
	margin:10px; 
	padding:10px;
}
.errorresolvinguri p{
	color:white;
	font-size:150%
}

/* Style the tab */
.tab {
    overflow: hidden;
    /*border: 1px solid #ccc;*/
    /*background-color: #f1f1f1;*/
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    /*background-color: #ccc;*/
    text-decoration:underline;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

/* Fade in tabs */
@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Pagination Styling */
.pagination {
  display: block;
  width: 75%;
  margin: 1em auto;
  text-align: center;
  
  &:after {
    content: '';
    clear: both;
  }
}

.pagination-button {
  display: inline-block;
  padding: 5px 10px;
  border: none;/*1px solid #e0e0e0;  */
  /*background-color: #4CAF50;*//*Green*/ /*#eee;*/
  color: white; /*#333;*/
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
  margin:5px;
  /*border-radius:4px;*/
  font-size:16px;  
}
  
.pagination-button:hover {
    background-color: #ddd;
    color: #3366cc;    
}
  
.pagination-button.active {
    background-color: #bbb;
    border-color: #bbb;
    color: #3366cc;
}
  
  
  $border-radius: 18px;  
  
.pagination-button:first-of-type {
    border-radius: $border-radius 0 0 $border-radius;
    /*float: left!important;*/
}

.pagination-button:last-of-type {
    border-radius: 0 $border-radius $border-radius 0;
    float: right!important;
}

.pagination-button:last-of-type {
    float: right!important;
}
  



.article-loop {
  display: block;
  width: 75%;
  padding: 1em 2em;
  margin: 1em auto;
  border: 1px solid #ddd;
  background-color: #ededed;
}

.clickableLink {
    cursor: pointer;
}

span.clickableLink{
    text-decoration: underline;
}

/*Tags - Copied from RNG css*/
.tag { color: inherit; border-bottom: inherit;}
.lead-in { text-decoration: underline;font-weight: 700;}
.exception { font-weight: bold;margin-left:0; }
.penalty { color: red; }
.penalty-bold { color: red; font-weight: bold;}
.but { font-weight: bold; }


span .definition{color:red;}

.definition { font-style: italic;color:#333;font-weight:normal;}
.related-committee-procedure-bold { font-weight: bold; color: #0088ce; }
.related-committee-procedure { color: #0088ce; }
.related-committee-procedure .definition{color:#0088ce;}




.related-rule {text-decoration: underline; }
.related-rule-bold {text-decoration: underline; font-weight: bold;}
.interpretation { color: #00365f; }
.text-model-of-local-rule { text-decoration: underline; }
.rule-purpose {color:#00365f;}
.purpose {color:green;}
.question { color: #D5213A; font-weight: bold; }
.answer { color: #D5213A; font-weight: bold; }
span.rule { color:#333; } 
/*span.definition>a {background-color: cyan;} */
span.question {color: red; font-weight: bold; }
span.answer {color: red; font-weight: bold; }
span.related-decision {font-weight: bold; font-style: italic; }
span.purpose { color: green; }
span.player-rule { background-color: lawngreen}
/*span.player-related-rule { color: blue; }*/
span.player-related-rule-bold { color: blue; font-weight: bold; }
span.note { color: orange; }
span.decision { color: darkblue; font-weight: bold; font-style: italic; }

.definition:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.definition:hover .tooltipdelete {
    visibility: hidden;
    opacity: 1;
}


/* Tooltip text */
.definition .tooltiptext {
    visibility: hidden;
    /* width: 120px; */
    background-color: #eff0f2;
	border:1px solid #999;
	border-radius:6px;
	box-shadow: 0px 0px 4px #000;
    color: black;
    padding: 5px;
    position: absolute;
	right:50px;
	left:50px;
    z-index: 1;
    font-weight: normal;
}


