@import url("https://use.typekit.net/spv7ery.css");

/* CSS variables for TBP palette colors -EH 5/22/20 */
:root {
	--tbp-dark-orange: #d94e41;
	--tbp-dark-blend: #793b42;
	--tbp-dark-blue: #1a2844;
	--tbp-light-orange: #eb8956;
	--tbp-light-blend: #8a6d62;
	--tbp-light-blue: #29516d;
	--tbp-light-gray: #cbd1d0;
	--tbp-warm-gray: #ada299;
	--tbp-black: #333;
	--tbp-light-blue-60: #7f97a7;
	--tbp-light-gray-30: #eff1f1;
}

body {
    margin: 0px;
    padding: 0px;
    color: var(--tbp-black);
	font-family: expo-serif-pro, serif;
	font-weight: 400;
    font-size: 1.0em;
}

a {
	color: var(--tbp-light-blue);
	text-decoration: none;
	transition: all 0.15s linear;
}
a:hover {
	color: var(--tbp-dark-blue);
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--tbp-dark-blue);
}
h2, h3, h4, h5, h6 {
	font-family: itc-avant-garde-gothic-pro, sans-serif;
	font-weight: 700;
}

input[type="text"], select, textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	padding: 9px;
	color: var(--tbp-black);
	font-family: expo-serif-pro, serif;
	font-size: 1em;
	line-height: 1.5;
	font-weight: 400;
	background-color: #fff;
	border: 1px solid var(--tbp-light-gray);
}
input[type="text"], select {
	height: 44px;
}
select {
	padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, var(--tbp-black) 50%),
	linear-gradient(135deg, var(--tbp-black) 50%, var(--tbp-light-gray-30) 50%),
	linear-gradient(to right, var(--tbp-light-gray-30), var(--tbp-light-gray-30));
	background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%, 100% 0;
	background-size: 5px 5px, 5px 5px, 40px 100%;
	background-repeat: no-repeat;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.container {
    display: grid;
    height: 100vh;
}

/* component detail */

.top-bar {
	box-sizing: border-box;
	z-index: 25;
	display: flex;
	flex-flow: row nowrap;
	align-items: flex-end;
	padding: 20px;
	background: #fff;
	box-shadow: 0px 3px 6px rgba(0,0,0,.15); 
}
.top-bar .search-form {
	position: relative;
	flex: 0 1 360px;
	margin: 0;
}
.top-bar .search-form input.search {
	padding-right: 40px;
}
.top-bar .search-form button {
	position: absolute;
	right: 0;
	top: 0;
	width: 40px;
	height: 100%;
	border: none;
	background: url(/images/icon-search.svg) center center/16px 16px no-repeat;
	cursor: pointer;
}
.top-bar .search-form button img {
	display: none;
}
.top-bar a.my-account {
	position: relative;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	background: url(/images/icon-account.svg) center center/contain no-repeat;
}
.top-bar a.my-account img,
.top-bar a.my-account span {
	display: none;
}
.top-bar a.my-account:hover span {
	display: block;
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	padding: .5em;
	color: #fff;
	font-size: .875em;
	line-height: 1;
	white-space: nowrap;
	background: var(--tbp-dark-blue);
}
.top-bar a.my-account:hover span:before {
	content: "";
    position: absolute;
    top: -8px;
    left: calc(50% - 8px);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 8px;
    border-color: transparent transparent var(--tbp-dark-blue) transparent;
}

.side-bar {
    background-color: var(--tbp-dark-blue);
}
.side-bar .logo {
    display: none;
}
.side-bar .button {
	-webkit-appearance: none;
	display: block;
	position: relative;
	padding: 0;
	font-family: inherit;
	text-align: center;
    text-decoration: none;
	border-radius: 8px;
    border: none;
    outline: none;
	cursor: pointer;
}
.side-bar .button span {
	box-sizing: border-box;
	display: block;
    width: 100%;
    height: 100%;
    font-size: 10px;
    line-height: 1;
}
.side-bar .button.home {
    background-image: url('/images/interface/home.svg');
}
.side-bar .button.contents {
    background-image: url('/images/interface/contents.svg');
}
.side-bar .button.bookmarks {
    background-image: url('/images/interface/bookmarks.svg');
}
.side-bar .button.learn-more {
    background-image: url('/images/interface/learn-more.svg');
}

body.index .side-bar .button.home,
body.home .side-bar .button.contents,
.side-bar .button.bookmarks.showing,
body.learn-more .side-bar .button.learn-more {
	color: white;
	border: 2px solid white;
    background-color: var(--tbp-dark-blue);
}
body.index .side-bar .button.home {
    background-image: url('/images/interface/home-white.svg');
}
body.home .side-bar .button.contents {
    background-image: url('/images/interface/contents-white.svg');
}
.side-bar .button.bookmarks.showing {
    background-image: url('/images/interface/bookmarks-white.svg');
}
body.learn-more .side-bar .button.learn-more {
    background-image: url('/images/interface/learn-more-white.svg');
}

.section-nav {
    padding: 20px;
    overflow-y: scroll;
    background-color: white;
    z-index: 10;
    position: relative;
}
.section-nav a:hover {
	text-decoration: none;
}
.section-nav-head img {
	max-width: 100%;
}
.section-nav-head p {
    font-size: .875em;
    font-weight: 700;
    margin-top: 0;
}
.section-nav select {
	margin-bottom: 20px;
}
ul.chapter_group_nav,
ul.chapter_group_nav li ul {
	list-style: none;
	margin: 10px 0;
	padding: 0px;
}
ul.chapter_group_nav li {
	margin: 10px 0;
	padding: 0;
	font-weight: bold;
}
ul.chapter_group_nav li.hidden {
	display: none;
}
ul.chapter_group_nav li.nav-dynamic .count {
	color: var(--tbp-dark-orange);
}
ul.chapter_group_nav li ul {
	font-size: .875em;
}
ul.chapter_group_nav li ul li {
	margin-left: 20px;
	font-weight: normal;
}
ul.chapter_group_nav ul li a.current_page {
	color: var(--tbp-dark-orange);
	font-weight: bold;
}
ul.chapter_group_nav.collapse li ul {
	display: none;
}
ul.chapter_group_nav.collapse li.current ul {
	display: block;
}

.FM_Title {
    font-size: 2em!important;
    line-height: normal;
    text-align: center;
}
p.FM_para {
  font-size: 1em !important;
  margin-left: 0px!important;
  text-indent: 0px!important;
}
.FM_bold {
  font-weight:bold;
}
.FM_normal_color {
  font-weight: normal;
}
span.FM_italic {
  font-style: italic;
}
span.FM_italic_note {
  font-style: italic;
}
span.FMAutoNumber_1 {
  padding-left:3px!important;
}
span.FM_underline {
  text-decoration:underline;
}
span.FM_substitute {
  font-weight:bold;
}
.FM_instruction {
  padding:5px 10px;
  border: 1px solid black;
}

.main-content {
    position: relative;
    overflow-y: scroll;
}
.main-content > *:first-child,
.main-content > #desktop-checkplan-open + * {
	margin-top: 0;
}
.main-content a {
	text-decoration: underline;
}

.main-content div.src-docs {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.main-content div.src-docs a {
    margin-left: 10px;
}
.main-content div.src-docs a img {
    width: 44px;
}

.workbook-info p {
	margin-top: 0;
}
.worksheet1-pathfinder-info p {
    margin-top: 0;
	text-align: center;
    font-size: 1.25em;
}

.bottom-bar {
    display: flex;
	flex-flow: column;
	justify-content: center;
	background-color: var(--tbp-light-gray);
    font-size: .75em;
    text-align: center;
}
.bottom-bar p {
	margin: 0;
}
.bottom-bar a {
	text-decoration: underline;
}

.bookmarks-bar {
    background-color: var(--tbp-light-gray-30);
    z-index: 20;
    display: none;
    padding: 15px;
    overflow-y: scroll;
    position: relative;
}
.bookmarks-bar.showing {
    display: block;
}
.bookmarks-bar-head {
    display: flex;
	align-items: center;
}
.bookmarks-bar-head:before {
	content: '';
	width: 25px;
	height: 30px;
	background: url(/images/icon-bookmark.svg) center center/contain no-repeat;
}
.bookmarks-bar-head p {
    margin: 5px auto 0 10px;
    font-size: 1.125em;
	line-height: 1;
    color: var(--tbp-dark-blue);
	font-family: itc-avant-garde-gothic-pro, sans-serif;
	text-transform: uppercase;
	font-weight: 700;
}
.bookmarks-bar-head img {
	display: none;
}
.bookmarks-bar-head .close-bookmark-bar {
	position: relative;
	width: 24px;
	height: 24px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	text-indent: -100vw;
	background: none;
    border: none;
	cursor: pointer;
}
.bookmarks-bar-head .close-bookmark-bar:before, 
.bookmarks-bar-head .close-bookmark-bar:after {
	position: absolute;
	left: 11px;
	top: 0;
	content: '';
	height: 24px;
	width: 2px;
	background-color: var(--tbp-dark-orange);
}
.bookmarks-bar-head .close-bookmark-bar:before {
	transform: rotate(45deg);
}
.bookmarks-bar-head .close-bookmark-bar:after {
	transform: rotate(-45deg);
}
.bookmarks-bar-head .close-bookmark-bar:hover:before, 
.bookmarks-bar-head .close-bookmark-bar:hover:after {
	background-color: var(--tbp-dark-blend);
}
.bookmark-group-create-controls button,
.bookmark-group-controls button,
.bookmark-notes button {
	-webkit-appearance: none;
	padding: 8px 10px;
	color: white;
	font-family: inherit;
	font-weight: 400;
	font-size: .875em;
	line-height: 1;
	border: none;
	cursor: pointer;
}
.bookmark-group-create-controls {
    margin: 15px 0;
	padding-bottom: 15px;
	text-align: right;
	border-bottom: 1px solid var(--tbp-light-gray);
}
.bookmark-group-create-controls button {
    margin-top: 10px;
	background-color: var(--tbp-dark-orange);
}
.bookmark-group-create-controls button:hover {
	background-color: var(--tbp-dark-blend);
}
.bookmark-group {
    border-bottom: 1px solid var(--tbp-light-gray);
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.bookmark-group-title {
    display: flex;
    align-items: center;
}
.bookmark-group-title p {
    flex-grow: 1;
    margin: 0;
    font-weight: bold;
    font-size: 1.125em;
	line-height: 1.5;
    color: var(--tbp-dark-blue);
}
.bookmark-group-title .delete-button {
	position: relative;
	width: 18px;
	height: 18px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	text-indent: -100vw;
	background: none;
    border: none;
	cursor: pointer;
}
.bookmark-group-title .delete-button:before, 
.bookmark-group-title .delete-button:after {
	position: absolute;
	left: 7px;
	top: 0;
	content: '';
	height: 18px;
	width: 2px;
	background-color: var(--tbp-dark-orange);
}
.bookmark-group-title .delete-button:before {
	transform: rotate(45deg);
}
.bookmark-group-title .delete-button:after {
	transform: rotate(-45deg);
}
.bookmark-group-title .delete-button:hover:before, 
.bookmark-group-title .delete-button:hover:after {
	background-color: var(--tbp-dark-blend);
}
.bookmark-group-controls {
    margin-top: 10px;
}
.bookmark-group-controls button {
    background-color: var(--tbp-light-blue);
}
.bookmark-group-controls button:hover {
    background-color: var(--tbp-dark-blue);
}
.bookmark {
	position: relative;
	padding-left: 40px;
	margin-top: 10px;
}
.bookmark-title p {
    margin: 0;
    font-size: .875em;
	line-height: 1.5;
}
.bookmark-title a {
	text-decoration: underline;
}
.bookmark-title button {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0;s
	margin: 0;
    border: none;
    background-color: transparent;
}
.bookmark-notes {
	text-align: right;
	margin-top: 10px;
}
.bookmark-notes textarea {
	font-size: .875em;
	line-height: 1.4;
}
.bookmark-notes textarea::-webkit-input-placeholder {
    color: #999;
}
.bookmark-notes textarea :-ms-input-placeholder {
    color: #999;
}
.bookmark-notes textarea  ::-moz-placeholder {
    color: #999;
    opacity: 1;
}
.bookmark-notes button,
.bookmark-notes button:hover {
    margin-top: 10px;
	background-color: #999;
}
.editing .bookmark-notes button {
    background-color: var(--tbp-dark-orange);
}
.editing .bookmark-notes button:hover {
    background-color: var(--tbp-dark-blend);
}

/*Not sure this is being used anywhere anymore -EH*/
#procedure-nav {
    list-style: none;
    padding: 0px;
    margin: 0px;
}
#procedure-nav li {
    margin: 10px 0px;
}
#procedure-nav a {
    color: var(--tbp-light-blue);
    font-size: 1em;
    text-decoration: none;
}
#procedure-nav > li > a{
    font-weight: 600;
}
#procedure-nav ul {
    padding: 10px 10px 10px 20px;
    line-height: 1.5;
    list-style-type:none;
    display: none;
}
#procedure-nav .current ul {
    display: block;
}
#procedure-nav a.current_page {
    color: var(--tbp-dark-orange);
}

/* checkplan */
#desktop-checkplan-open {
    background-color: var(--tbp-dark-orange);
    border: none;
    color: white;
    position: absolute;
    top: 60px;
    right: 0px;
	height: 36px;
    padding: 12px 10px 8px 10px;
    transform: rotate(-90deg);
    transform-origin: bottom right;
    font-family: itc-avant-garde-gothic-pro, sans-serif;
	font-size: 1em;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	outline: none;
	cursor: pointer;
}
#desktop-checkplan-open img {
    display: inline-block;
	width: 16px;
    height: 16px;
	vertical-align: middle;
	margin-top: -2px;
    transform: rotate(-90deg);
}
#desktop-checkplan-close {
    background-color: transparent;
    border: none;
    color: white;
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
    padding: 0;
    width: 18px;
    height: 18px;
	outline: none;
	cursor: pointer;
}
.checkplan {
    position: relative;
    background-color: var(--tbp-light-gray-30);
    overflow: scroll;
    z-index: 15;
}
.checkplan-header {
    border-bottom: 1px solid var(--tbp-light-gray);
}
.checkplan-header p.top {
    height: 18px;
	padding: 12px 10px 8px 10px;
    margin: 0;
    text-align: center;
    color: white;
	font-family: itc-avant-garde-gothic-pro, sans-serif;
	font-size: 16px;
	line-height: 18px;
	font-weight: 700;
	text-transform: uppercase;
    background-color: var(--tbp-dark-orange);
}
.checkplan-header .download-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 15px;
}
.checkplan-header .download-icons a {
	flex: 0 1 auto;
	margin: 0 5px;
}
.checkplan-header .download-icons a img {
    display: block;
	max-height: 56px;
}
.checkplan-header .bottom {
    font-size: .75em;
	line-height: 1.5;
    margin: 15px;
}
.checkplan-control {
    margin: 15px;
}
.checkplan-control p {
    margin: 0;
    text-align: center;
}
.checkplan-content {
    font-size: .75em;
    line-height: 1.5em;
	margin: -15px 15px 15px 15px;
}
.checkplan-content meta,
.checkplan-content title {
	display: none;
}
.checkplan-content > p:first-of-type {
    margin-top: 0;
}
.checkplan-content a {
	text-decoration: underline;
}
/* deal with selector display */
.checkplan-content > ol > li {
    display: none;
}
.checkplan-content > ol > li.active {
    display: list-item;
}
/* 1st level */
.checkplan-content > ol {
    padding-left: 0px;
    list-style-type: none;
}
/* 2nd level */
.checkplan-content ol ol {
    list-style-type: decimal;
    padding-left: 2em;
}
/* 3rd level */
.checkplan-content ol ol ol {
    list-style-type: lower-alpha;
}
/* 4th level */
.checkplan-content ol ol ol ol {
    list-style-type: none;
    counter-reset: item4;
}
.checkplan ol ol ol ol li {
    text-indent: -1.8em;
}
.checkplan-content ol ol ol ol li:before {
    counter-increment: item4;
    content: "(" counter(item4) ")";
    display: inline-block;
    width: 1.6em;
    margin-right: .2em;
    text-align: right;
}
/* 5th level */
.checkplan-content ol ol ol ol ol {
    list-style-type: none;
    counter-reset: item5;
}
.checkplan-content ol ol ol ol ol li:before {
    counter-increment: item5;
    content: "(" counter(item5, lower-alpha) ")";
    display: inline-block;
    margin-right: .2em;
    text-indent: -2em;
    text-align: right;
}
/* 6th level */
.checkplan-content ol ol ol ol ol ol {
    list-style-type: none;
    counter-reset: item6;
}
.checkplan-content ol ol ol ol ol ol li:before {
    counter-increment: item6;
    content: "(" counter(item6, lower-roman) ")";
    display: inline-block;
    margin-right: .2em;
    text-indent: -2em;
    text-align: right;
}

/* featured forms */
.fform-preview {
    width: 100%;
}

/* probate-essentials */
.probate-essentials > header {
	text-align: center;
}
.probate-essentials > header > p {
    background-color: var(--tbp-light-gray-30);
    padding: 15px;
	text-align: left;
}
.probate-essentials > header > .essentials-logo {
    width: 100px;
}
.essentials-bundle {
    margin: 40px 0;
	text-align: center;
}
.essentials-bundle > ul.bundle-list {
	list-style: none;
	margin: 0;
	padding: 30px;
	border: 1px solid var(--tbp-dark-blue);
	border-radius: 4px;
	transition: 0.4s;
}
.essentials-bundle > ul.bundle-list:hover {
	margin-top: -3px;
	border-width: 3px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 5px 2px;
	transition: 0.2s;
}
.essentials-bundle > ul.bundle-list > li {
	margin: 0;
	padding: 0;
}
.essentials-bundle > ul.bundle-list h2 {
    margin: 12px 0px 10px !important;
    font-size: 1.5em;
}
.essentials-bundle > ul.bundle-list p {
	margin: 0;
}
.essentials-bundle > ul.bundle-list a {
    text-decoration: none;
    font-size: 1em;
	font-weight: bold;
}
.essentials-bundle > ul.bundle-list a img {
    width: 45px;
    vertical-align: middle;
}

/* probate pathfinder */
.probate-pathfinder > header {
	text-align: center;
}
.probate-pathfinder > header > p {
    background-color: var(--tbp-light-gray-30);
    padding: 15px;
	text-align: left;
}
.probate-pathfinder > header > .pathfinder-logo {
    width: 100px;
}
.probate-pathfinder section {
    display: none;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0px 3px 12px rgba(0,0,0,.25);
    position: relative;
}
.probate-pathfinder section p {
	margin-top: 0;
}
.probate-pathfinder .next {
    border: 1px solid var(--tbp-dark-orange);
}
.probate-pathfinder .previous-step {
    opacity: 0.5;
}
.probate-pathfinder .previous-step > button {
    pointer-events: none;
}
.probate-pathfinder .btns {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.probate-pathfinder .btns button {
	margin: 0px 10px;
	padding: 10px 30px;
    color: white;
	font-family: inherit;
	font-size: 1em;
	line-height: 1.5;
    background-color: var(--tbp-light-blue);
	border: none;
	outline: none;
	cursor: pointer;
}
.probate-pathfinder .btns button:hover {
    background-color: var(--tbp-dark-blue);
}
.probate-pathfinder button.previous {
    position: absolute;
    right: 10px;
    bottom: 10px;
	width: auto;
    height: auto;
	padding: 40px 0 0 0;
	color: var(--tbp-dark-orange);
	font-family: inherit;
	font-size: .75em;
	line-height: 1;
    background: url(/images/interface/back-arrow.svg) center top/40px no-repeat;
    border: none;
	outline: none;
	cursor: pointer;   
}

body.index h1 {
	margin: 0 0 1.5rem 0;
    font-size: 2.5em;
    line-height: 1.1;
    text-align: center;
}
body.index h1 span {
    font-size: .8em;
    color: var(--tbp-dark-orange);
    display: block;
}
body.index .featured-link {
    font-size: 1.5em;
    color: var(--tbp-dark-orange);
    display: block;
    text-align: center;
    margin: 20px;
}
body.index .overview a {
    display: block;
    text-transform: uppercase;
	font-weight: bold;
}
body.index .overview > div {
    display: flex;
    flex-direction: row;
    margin: 30px 0;
}
body.index .overview > div > div {
    margin-right: 15px;
}
body.index .overview > div > div > img {
    width: 44px;
}
body.index .overview > div > p {
    margin: 0px;
}

/* home.html */
body.home h1 {
	margin: 0 0 1.5rem 0;
    font-size: 2.5em;
    line-height: 1.1;
    text-align: center;
}
body.home h1 span {
    font-size: .8em;
    color: var(--tbp-dark-orange);
    display: block;
}
body.home .credits {
    text-align: center;
    margin-bottom: 40px;
}
body.home .word-note {
    margin: 1.5em auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
body.home .word-note img {
    width: 44px;
    margin-right: 10px;
}
body.home .word-note p {
    margin: 0;
}
body.home .terms {
    text-align: center;
}
body.home .quick-guide {
	padding: 30px;
	background-color: var(--tbp-light-gray-30);
}
body.home h2 {
    margin-top: 0;
	text-align: center;
    font-size: 1.5em;
	line-height: 1.5;
}
body.home h3 {
    margin: 0px;
    color: var(--tbp-dark-orange);
}
body.home .quick-guide h3 a {
	color: var(--tbp-dark-orange);
}
body.home .quick-guide p {
	margin: .5em 0 1.5em 0;
}
body.home .quick-guide p:last-child {
	margin-bottom: 0;
}

/* table clean up */

table {
    border-collapse: collapse;
}
table tr td {
    border: 0px solid var(--tbp-black);
    padding: 12px;
}

/* typically appearing on titles, don't have border */
.table3 {
    border: none;
}
.table3 tr td {
    border: none;
}

.td55 {
    border: none;
}

/* spacing for forms */

.FM_word_spacing
{
  margin-right: 75px;
}

/* MIL  page */
.FM_MIL_anchor {
  padding-left: 1em;
}

p.FM_MIL_table {
	text-indent: 0px!important;
	padding-left:0px;
	padding-right: 12px;
	margin-left: 0px!important;
}

/* .td {
white-space: nowrap;
} */

.ie-warning {
    background-color: var(--tbp-dark-orange);
    color: white;
    font-weight: bold;
    margin: 0px;
    padding: 50px 20px;
}

/*****************************************************************************
 * Results page facet widget styles
 * 2016-03-09 mitch@jmitchellsmith.com
 ****************************************************************************/
ul.facet-chooser {
	list-style-type: none;
	display: block;
	margin: 1em 0;
	padding: 0;
	font-size: 1em;
	line-height: 1.5;
}
ul.facet-chooser li {
	display: inline-block;
}
ul.facet-chooser li label {
	margin-left: .5em;
}
ul.facet-chooser li label>span {
	display: inline-block;
	visibility: hidden;
	min-width: 2em;
	color: var(--tbp-dark-orange);
	font-weight: bold;
}
ul.facet-chooser li label:first-child {
	margin-left: 0;
}
ul.facet-chooser li input[type="checkbox"] {
	display: none;
}
ul.facet-chooser li label:before {
	background: none;
	content: "☐ ";
}
ul.facet-chooser li input[type="checkbox"]:checked + label {
	background: #ffffb5;
}
ul.facet-chooser li input[type="checkbox"]:checked + label>span {
	visibility: visible;
	overflow: visible;
}
ul.facet-chooser li input[type="checkbox"]:checked + label:before {
	content: "☑ ";
}

/* search results */
#search .result {
	margin: 0 0 1em 0;
	font-size: 1em;
	line-height: 1.5;
}
#search .result p {
	margin: 0;
}
#search .result .result_title {
	font-size: 1.125em;
	font-weight: bold;
}
#search .result .result_url {
	font-size: .75em;
}
#search .result em {
	background-color: #ffffb5;
}
#result_nav {
	margin-top: 2.5em;
}
#result_nav a {
	display: inline-block;
	vertical-align: middle;
	width: 30px;
	height: 30px;
	margin-right: 10px;
	font-size: 14px;
	line-height: 30px;
	text-align: center;
	text-decoration: none;
	color: var(--tbp-light-blue);
	border: 1px solid var(--tbp-light-blue);
}
#result_nav a:hover {
	color: var(--tbp-dark-blue);
	font-weight: 700;
	border-color: var(--tbp-dark-blue);
}
#result_nav a.current_result_page {
	color: #fff;
	font-weight: 700;
	background-color: var(--tbp-dark-blue);
	border-color: var(--tbp-dark-blue);
}

@media screen and (max-width: 768px) {
    .container {
        grid-template-rows: 85px auto 84px;
        grid-template-columns: 20px auto 20px;
    }
    .top-bar {
        grid-area: 1/1/2/4;
		align-items: center;
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        z-index: 100;
    }
	.top-bar .search-form {
		flex-grow: 1;
	}
    .mobile-btn {
		display: block;
		flex: 0 0 40px;
        height: 40px;
		padding: 0;
		background: transparent;
		border: none;
        outline: none;
		cursor: pointer;
    }
	.mobile-btn img {
		display: block;
		width: 100%;
	}
    .section-toggle-btn {
		margin-right: 10px;
    }
    .checkplan-toggle-btn,
	.my-account {
		margin-left: 10px;
    }

    .side-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 84px;
        grid-area: 3/1/4/4;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        z-index: 110;
    }
    .side-bar .button {
		width: 54px;
        height: 54px;
		background: white center 10px/auto 22px no-repeat;
    }
	.side-bar .button + .button {
		margin-left: 15px;
	}
	.side-bar .button span {
		padding-top: 37px;
	}

    .section-nav {
        display: none;
        grid-area: 2/1/3/4;
    }
    .section-nav.show {
        display: block;
        z-index: 10;
    }
    .main-content {
        grid-area: 2/1/3/4;
        overflow-y: scroll;
        padding: 20px;
    }
    .checkplan {
        display: none;
        grid-area: 2/1/3/4;
    }
    .checkplan.show {
        display: block;
        z-index: 15;
    }
    .bottom-bar {
        display: none;
    }
    .bookmarks-bar {
        grid-area: 2/1/3/4;
    }

    #desktop-checkplan-open,
	#desktop-checkplan-close {
        display: none;
    }

}

@media screen and (min-width: 769px) {
    .container {
        grid-template-columns: 94px 250px auto 273px;
        grid-template-rows: 85px auto 40px;
    }

    .top-bar {
        grid-area: 1/2/2/5;
		height: 85px;
    }
	.top-bar .mobile-btn {
		display: none;
	}
	.top-bar a.my-account {
		margin: 0 20px;
	}
	.top-bar:before {
		content: '';
		flex: 0 0 auto;
		width: 179px;
		height: 50px;
		margin-top: -5px;
		background: url(/images/Logo-Books-Online.svg) center center/contain no-repeat;
	}
	.top-bar .search-form {
		margin: 0 auto 0 40px;
	}

    .side-bar {
        grid-area: 1/1/4/2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .side-bar .button {
		width: 64px;
        height: 64px;
		margin-top: 15px;
		background: white center 10px/auto 32px no-repeat;
    }
	.side-bar .button span {
		padding-top: 47px;
	}
	
    .section-nav {
        grid-area: 2/2/4/3;
		border-right: 1px solid var(--tbp-light-gray);
    }

    .main-content {
        grid-area: 2/3/3/5;
        overflow-y: scroll;
        padding: 30px 60px 30px 30px;
    }

    .checkplan {
        display: none;
        grid-area: 2/4/4/5;
		border-left: 1px solid var(--tbp-light-gray);
    }

    .container.show-right-panel .main-content {
        grid-area: 2/3/3/4;
        padding-right: 30px;
    }
    .container.show-right-panel #desktop-checkplan-open {
        display: none;
    }
    .checkplan.desktop-show {
        display: block;
    }

    .bottom-bar {
        grid-area: 3/3/4/5;
    }
    .container.show-right-panel .bottom-bar {
        grid-area: 3/3/4/4;
    }

    .bookmarks-bar {
        grid-area: 2 / 4 / 4 / 5;
		border-left: 1px solid var(--tbp-light-gray);
    }

}

@media screen and (min-width: 900px) {
    .section-nav {
        display: block;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        grid-template-columns: 94px 250px auto 373px;
    }
	.checkplan-header p.top {
		font-size: 18px;
	}
}