/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */

html {
  font-size: 62.5%; }
  
body {
  font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.6; 
  font-weight: 400;
  font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  background-color: #263238; }

body.light {
  background-color: #ECEFF1;
}

.popover {
  font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.2rem;
  max-width: 360px;
} 

/* Product Colours
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Material Design 500s */
.bgcolor-light-Home { background-color: #95A5A6; }
.bgcolor-light-Colour { background-color: #9E9E9E; }
.bgcolor-light-Math { background-color: #f44336; }
.bgcolor-light-jQuery { background-color: #4CAF50; }
.bgcolor-light-Transact-SQL { background-color: #2196F3; }
.bgcolor-light-XML { background-color: #9C27B0; }

/* Material Design 800s */
.bgcolor-dark-Home { background-color: #7F8C8D; }
.bgcolor-dark-Colour { background-color: #424242; }
.bgcolor-dark-Math { background-color: #c62828; }
.bgcolor-dark-jQuery { background-color: #2E7D32; }
.bgcolor-dark-Transact-SQL { background-color: #1565C0; }
.bgcolor-dark-XML { background-color: #6A1B9A; }

.card-math { background-color: #c62828; }
.card-colour { background-color: #424242; }
.card-jquery { background-color: #2E7D32; }
.card-tsql { background-color: #1565C0; }
.card-xml { background-color: #6A1B9A; }

/* Homepage cards
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.card {
	color: white;
	border: 1px solid #CFD8DC;
	background-color: #7F8C8D;
	border-radius: 10px;
	height: 100%;
}

.card-header {
	border-top-left-radius: 10px !important;
	border-top-right-radius: 10px !important;
}

.card-title {
	font-weight: 300;
	letter-spacing: -.02rem;
	font-size: 2.4rem; 
}

.card-link {
	font-size: 1.3rem;
	color: white;
	white-space: nowrap;
	margin-right: 1rem;
}
.card-link:hover {
	color: #ECEFF1;
}

.card-link+.card-link {
	margin-left: 0rem;
}

/*

@media (min-width:768px) { .thumbnail { min-height: 11rem; } }
@media (min-width:992px) { .thumbnail { min-height: 11rem; } }
@media (min-width:1200px) { .thumbnail { min-height: 13.3rem; } }
*/

/* Header
–––––––––––––––––––––––––––––––––––––––––––––––––– */

header .navbar-brand {
	font-weight: 300;
	line-height: 1.3;
	letter-spacing: -.1rem;
	font-size: 3.6rem;
	color: white;
	padding-top: .3rem;
	padding-bottom: .4rem;
	margin: 0;
}

/* Sticky Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */

html {
  position: relative;
  min-height: 100%;
}

body { 
  /* Margin bottom by footer height */ 
  margin-bottom: 6.6rem;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 4.4rem;
}

@media (min-width:580px) { body { margin-bottom: 4.4rem; } .footer { height: 2.2rem; } }

/* Nav
–––––––––––––––––––––––––––––––––––––––––––––––––– */

nav {
	color: white;
	font-size: 1.3rem;
	margin-bottom: 2rem;
}

nav .breadcrumb {
	margin-bottom: 0px;
	background-color: inherit;
	border-radius: 0;
	padding: .1rem 0;
}

nav .breadcrumb a {
	color:#FFF;
}
nav .breadcrumb a:focus {
	outline: none;
}

nav .breadcrumb .dropdown-menu {
	font-size: 1.3rem;
	min-width: 120px;
	margin: 2px 0 0 .4rem;
}

.breadcrumb-item+.breadcrumb-item::before {
	color: #ccc;
}

/* Columns
–––––––––––––––––––––––––––––––––––––––––––––––––– */

main .multi-column {
	column-count: 1;
	column-gap: 1rem;
}
@media screen and (min-width:544px) { main .multi-column { column-count: 1; } }
@media screen and (min-width:768px) { main .multi-column { column-count: 2; } }
@media screen and (min-width:992px) { main .multi-column { column-count: 3; } }
@media screen and (min-width:1200px) { main .multi-column { column-count: 4; } }

/* Cards
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
.card {
	margin-bottom: 2rem;
}

.card .card-block {
	padding: 1rem 1.25rem;
}

.card .card-title {
	font-size: 1.8rem; 
	line-height: 1.5;  
	font-weight: 200;
	margin: 0 0 1.5rem 0;
	border-bottom: 1px solid #ccc;
}
*/

/* Section
–––––––––––––––––––––––––––––––––––––––––––––––––– */

section {
	break-inside: avoid-column;
	background: white;
	border-radius: 5px;
	margin-bottom: 1rem;
	display: inline-block;
	width: 100%;
}

.popover p {
	margin-bottom: .5rem;
	font-size: 1.1rem;
	line-height: 1.2rem;
} 

section ol {
	font-size: 1.1rem;
	line-height: 1.2rem;
}

section h2 {
	font-size: 1.6rem; 
	font-weight: 300;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border: 1px solid white;
	padding: .5rem .7rem;
	color: white;
}

.popover h3 {
	font-size: 1.1rem;
	margin-bottom: 0;
	padding: 0.4rem 0.5rem 0.2rem 0.5rem;
	color: #7F8C8D;
	border-bottom: none;
	border: 1px solid #ECF0F1;
	border-radius: 3px 3px 0px 0px;
}

.popover pre, .popover .MJXc-display {
	margin-bottom: 0.4rem;
	border: 1px solid #ECF0F1;
	border-radius: 3px;
}

.popover h3 + pre, .popover h3 + .MathJax_Preview + .MJXc-display {
	border-radius: 0px 0px 3px 3px;
	border-top: none;	
}

.popover .MJXc-display {
	margin-left: 0; 
	margin-top: 0;
	padding: .6rem .5rem;	
	background-color: #fefefe;
}

section dt .MJXc-display {
	margin-bottom: .5rem;
	padding: 0;
	background-color: inherit !important;
	border: none !important;
}

section .badge {
	opacity: 0.85;
	font-size: 1.2em;
	margin-bottom: 0.3rem;
} 

.tooltip {
	font-size: 1.1rem;
}

.popover .hljs {
	background-color: #fefefe;
	font-size: 1.1rem;
}

section article {
	border-top: 1px solid #f3f3f3;
	margin-top: .6rem;
}

section article:first-child {
	border-top: none;
	margin-top: 0;
}

section dl {
	padding: 0 .7rem;
}

section dl dt {
	font-weight: 400;
	font-size: 1.5rem;
    font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.7rem;
    
    padding-top: .5rem; 
    margin-bottom: .2rem;
}

section dl dfn
{
	font-weight: 300;
	font-style: normal;
}

section dl var
{
	font-style: italic;	
	font-weight: 500;
	color: #B0BEC5;
}

section dl dd {
	font-weight: 300; 
	font-size: 1.2rem;
	line-height: 1.2rem;
	margin-top: .9rem;
	color: #B0BEC5;
}

section .artictbl {
	font-size: 1.3rem;
}

section .artictbl td {
	padding: .1rem .5rem;
}

section .artictbl th {
	padding: .1rem .5rem;
	border-top: none;
	border-bottom: 2px solid #eee;
}

section .popover-anchor {
	color: inherit;
	cursor: pointer;
}
section .popover-anchor:hover {
	text-decoration: none;
}
section .popover-anchor:focus {
	outline: none;
}


section .popover-body {
	padding: 1.25rem 1rem;
}

/* Popover
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.popover-content-holder {
	display: none;
}

.popover-body {
	padding: 1.25rem 1rem;
}

.popover .badge {
	opacity: 0.85;
	font-size: 1.1em;
}

.popover .table td:first-child {
	vertical-align: top;
}

.popover .table td {
	vertical-align: middle;
}

.popover .table td small {
	line-height: 1.05;
	display: inline-block;
	margin-top: 0.5rem;
}

.popover .table th {
	border-top: none;
	border-bottom: 2px solid #ccc;
}

.popover .fcts {
	width: auto;
	font-size: 1.1rem;
	line-height: 1.2rem;
	margin-bottom: .5rem;
}

.popover .fcts td {
	border-top: none;
	padding: .25rem .5rem;
}

.popover .fcts td:first-child {
	border-right: 1px solid #ccc;
	padding-left: 0px;
}


/* Searching
–––––––––––––––––––––––––––––––––––––––––––––––––– */

article.searchmatch {
	border-top: 10px solid #FFDC00 !important;
	border-radius: 15px;
	border-bottom: 10px solid #ffDc00 !important;
	margin-top: 1rem;
}
.swatchchip.notsearchmatch {
	opacity: 0.1;
}


/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */

footer {
	font-size: 1.3rem;
	padding-top: .15rem; 
	padding-bottom: .1rem;
	color: white;
}
footer a, footer a:hover {
	color: white;
}

/* Swatch Set 

–––––––––––––––––––––––––––––––––––––––––––––––––– */

.swatchset h3 {
	font-size: 1.5rem;
	padding: .5rem;
	color: white;
	font-weight: 300;
}