/* tools.data-apps.cz - keywords filter */

.HomePage #ContentBox { max-width: 1200px; }
.HomePage #ContentBox .ContentHead { max-width: inherit; padding: 1rem; }
.HomePage .ContentHead p { margin: 0em 0px 1.25em 0px; }
#AjaxTreelineBox { margin-bottom: 0px !important; }

body { width: 100%; min-width: 320px; }
*:focus { outline: none; }
	
#BodyBox { width: 100%; display: flex; flex-direction: column; }
#BodyBox * { box-sizing: border-box; }

.PageHeader .separator { color: white; }
.PageHeader a { border-bottom: 0px; }

@media screen and (max-width: 600px) {
	.PageHeader .separator { display: none; }
	#AjaxTreelineBox .PageHeader { height: 3.55em; }
	#AjaxTreelineBox .PageHeader a:first-child { display: inline-block; }
	#AjaxTreelineBox .PageHeader a.PageLink { padding: 5px 5px 0px 5px; display: block; }
}

.MessageBox {
	width: 70vw; min-width: 300px; max-width: 800px; margin: 2rem auto 1rem auto; padding: 1rem 1rem 1.2rem 1.5rem; align-self: center; text-align: center;
	background-color: #eeeeee; line-height: 1.8rem; 
}
.MessageBox.error { }
.MessageBox.success { }
.MessageBox .bold { line-height: 1.8rem; font-weight: bold; font-size: 1.06rem; }

@media screen and (max-width: 900px) {
	.MessageBox { width: 100%; }
}

#ContentBox { width: 100%; padding: 0px; }
#ContentBox .ContentHead { max-width: inherit; padding: 0.5rem 0.5rem 0.5rem 0.5rem; text-align: center; } /* CENTER */
#ContentBox .ContentHead h1 { display: inline-block; text-align: left; margin: 0.5rem 0.75rem 0.5rem 0.75rem; }
#ContentBox .ContentHead p { display: inline-block; margin: 0px 0.75rem 0.33rem 0.75rem; color: #888888; }
.maxW800 { max-width: 1200px; margin-left: auto; margin-right: auto; }
.lightGray { background-color: #eeeeee; }

#ContentBox .center { text-align: center; }
#ContentBox .topSpace { padding-top: 1.25rem !important; }

@media screen and (max-width: 900px) {
	#ContentBox .ContentHead { text-align: left; }
}

.PreviewBox { display: flex; margin: auto; padding: 0.5rem; }
.PreviewBox > div { flex: 1 1 33.3%; padding: 1.25rem; }
.PreviewBox > div strong { display: block; font-size: 1rem; font-weight: normal; margin: auto; text-align: center; }
.PreviewBox > div a { text-decoration: none; border: solid 0px; padding: 0px; margin: 0px auto; }
.PreviewBox > div a:hover { text-decoration: none; border: solid 0px; }
.PreviewBox > div a img { width: 100%; height: auto; border: solid 1px #cccccc; margin: 0.5rem auto; }
.PreviewBox > div a img:hover { border: solid 1px #333333; }

@media screen and (max-width: 740px) {
	.PreviewBox { flex-direction: column; }
	.PreviewBox > div { padding: 0.75rem; }
}

#StepBox { position: sticky; top: 0px; height: 3.2rem; z-index: 10; overflow: hidden; background-color: #cccccc; }
#StepBox > div { display: flex; flex-direction: row; overflow: hidden; border: 0px; padding: 0px; margin: 0px; }
#StepBox > div > div { flex: 1 1 auto; text-align: center; padding: 8px 6px; }
#StepBox > div > div:hover { background-color: #777777; color: white; }
#StepBox > div > div.active { background-color: #555555; color: white; }
#StepBox > div > div.disabled { background-color: #cccccc; color: #888888; }

#StepBox > div > div:first-child { max-width: 60px; }
#StepBox > div > div:first-child * { text-decoration: none; border: solid 0px; }
#StepBox > div > div:first-child:hover * { color: white; }
#StepBox > div > div:first-child a { display: inline-flex; height: 1.8rem; padding: 2px 0.5rem 0px 0.5rem; }
#StepBox > div > div .fa-home { font-size: 1.5rem; margin: auto; }

#StepBox > div > div:last-child { max-width: 60px; }
#StepBox > div > div:last-child * { text-decoration: none; border: solid 0px; }
#StepBox > div > div:last-child:hover * { color: white; }
#StepBox > div > div.active * { color: white; }
#StepBox > div > div:last-child a { display: inline-flex; height: 1.8rem; padding: 2px 0.5rem 0px 0.5rem; }
#StepBox > div > div .fa-question-circle { font-size: 1.5rem; margin: auto; }

#StepBox > div > div a { text-decoration: none; color: #404248; }
#StepBox > div > div:hover a { color: white; }
#StepBox > div > div.active a { color: white; }
#StepBox > div > div.disabled a { color: #888888; }

#StepBox > div > div a strong { display: block; }
#StepBox > div > div a small { display: block; }

@media screen and (max-width: 900px) {
	#StepBox { font-size: 0.95rem; }
	#StepBox > div > div a small { display: none; }
	#StepBox > div > div a { text-decoration: none; color: #404248; line-height: 2.15rem; }
	#StepBox > div > div:last-child { max-width: 45px; }
	#StepBox > div > div:last-child a { padding: 2px 0rem 0px 0rem; }
}

#filterChoices {
	display: flex; /* flex-direction: row; flex-wrap: wrap; */  position: sticky; top: 3.18rem; /* 3.22rem; */ max-width: 1200px; z-index: 10;
	border: solid white; border-width: 1px 0px 1px 0px; font-size: 0.85rem; background-color: #e5e5e5;
	margin: 0px auto; /* CENTER */
}
#filterChoices > div { flex: 1 1 auto; display: inline-block; border: solid white; border-width: 0px 1px 0px 0px; padding: 5px 0px 3px 0px; /* min-width: 15%; */ min-height: 2.85rem; }
#filterChoices > div:nth-child(1) { min-width: 50px; max-width: 10%; text-align: left; }
#filterChoices > div:nth-child(2) { min-width: 190px; max-width: 420px; text-align: left; padding: 3px 0px 3px 0px; }
#filterChoices > div:nth-child(3) { min-width: 140px; text-align: left; }
#filterChoices > div:last-child { border-width: 0px 0px 0px 0px; }
#filterChoices > div label { display: flex; flex-direction: column; min-height: 1.8rem; text-align: center; }
#filterChoices > div label span { display: inline-block; font-size: 0.8rem; margin: 0px 0px 1.5px 5px; }
#filterChoices > div .fButton { width: 80%; max-width: 36px; font-size: 1rem; margin: 1px auto auto auto; padding: 0px 5px 2px 5px; vertical-align: middle; align-self: center; height: 1.76rem; border: solid 1px #ffffff; background-color: #cccccc; border-radius: 5px; }
#filterChoices > div .fButton:hover { background-color: #777777; border-color: #cccccc; color: white; cursor: pointer; }
#filterChoices > div .fText { width: 94%; /* max-width: 280px; */ margin: auto 3% auto 3%; padding: 1px 5px; vertical-align: middle; align-self: center; height: 1.8rem; }
#filterChoices > div .fList { width: 92%; /* max-width: 200px; */ margin: auto 3% auto 3%; padding: 1px 5px; cursor: pointer; vertical-align: middle; align-self: center; height: 1.8rem; }
#filterChoices > div .fRange { width: 50px; margin: auto auto auto auto; cursor: pointer; vertical-align: inherit; scale: 0.9; vertical-align: middle; height: 1.8rem; }
#filterChoices #filterSearch { font-size: 1rem; }

/* scale: 0.9; */
/* min-width: 70px; max-width: 10%; width: 3%; */

@media screen and (max-width: 900px) {
	#filterChoices { flex-wrap: wrap; }
	#filterChoices > div { min-width: calc(20% - 1px); min-height: 3.3rem; }
	#filterChoices > div label { min-height: 2.85rem; }
	#filterChoices > div .fButton { font-size: 0.9rem; }
	#filterChoices > div .fList { font-size: 0.86rem; }
	/*
	#filterChoices > div:nth-child(1) { min-width: calc(10% - 1px); border-width: 1px 1px 0px 0px; order: 1; font-size: 0.8rem; }
	#filterChoices > div:nth-child(2) { min-width: calc(55% - 1px); border-width: 1px 1px 0px 0px; order: 2; }
	#filterChoices > div:nth-child(3) { min-width: calc(30% - 1px); border-width: 1px 1px 0px 0px; order: 3; }
	*/
	#filterChoices > div:nth-child(1) { min-width: calc(12% - 1px); border-width: 0px 1px 0px 0px; order: 1; font-size: 0.8rem; }
	#filterChoices > div:nth-child(2) { min-width: calc(55% - 1px); border-width: 1px 1px 0px 0px; order: 6; }
	#filterChoices > div:nth-child(3) { min-width: calc(30% - 1px); border-width: 1px 0px 0px 0px; order: 7; }
	
	body[data-step=dataset] #filterChoices > div:nth-child(2) { border-width: 0px 1px 0px 0px; }
	body[data-step=dataset] #filterChoices > div:nth-child(3) { border-width: 0px 0px 0px 0px; }
	
	#filterChoices > div:nth-child(4) { order: 2; width: 100px; }
	#filterChoices > div:nth-child(5) { order: 3; }
	#filterChoices > div:nth-child(6) { order: 4; }
	#filterChoices > div:nth-child(7) { order: 5; }
}
@media screen and (max-width: 600px) {
	#filterChoices > div { min-width: auto; min-height: 2.86rem; }
}
@media screen and (max-width: 400px) {
	#filterChoices { flex-wrap: wrap; }
	#filterChoices > div { min-height: 3.2rem; }
	#filterChoices > div label span { font-size: 0.6rem; }
	/* #filterChoices > div { min-width: auto; } */
}

#DataActions {
	display: none; position: sticky; top: 3.18rem; /* 3.2rem; */ max-width: 1200px; z-index: 11; border: solid white 1px;
	border-width: 1px 0px 1px 0px; font-size: 0.85rem; background-color: #e5e5e5; margin: 0px auto -3.55rem auto;
}
#DataActions.visible { display: flex; }
#DataActions div { padding: 11px 10px; }
#DataActions div button { height: 100%; padding: 6px 9px; /* line-height: 1.6rem; */ cursor: pointer; }
#DataActions div button.actAcceptWord { }
#DataActions div button.actIgnoreWord { }
#DataActions div button.closeActionBox { }

@media screen and (max-width: 540px) {
	#DataActions.visible { display: flex; flex-wrap: wrap; padding: 0px 0px 5px 0px; }
	#DataActions.visible > div { flex: 1 1 50%; margin: 0rem auto; padding: 5px 5px; }
	#DataActions.visible > div:first-child { min-width: 100%; /* max-width: 70px; */ padding: 11px 5px 6px 5px; }
	#DataActions.visible > div button { width: 96%; }
	#DataActions.visible > div:first-child button { width: 60px; }
}

#MainContent .GotoImport { padding: 0.85rem 2rem 0.9rem 2rem; font-size: 1.02rem; font-weight: bold; color: #333333; border: solid 1px #cccccc; background-color: #eeeeee; border-radius: 3px; margin: 1.75rem auto 2rem auto; display: block; width: fit-content; text-decoration: none; }
#MainContent .GotoImport:hover { color: white; background-color: #006699; }

/* -- */

#PopupBox {
	position: fixed; display: flex; flex-direction: column; z-index: 20; top: 0; right: 0; bottom: 0;
	width: 55%; min-width: 540px; max-width: 60%; border-left: solid 1px #cccccc; background-color: white;
	transition: all 0.7s; box-shadow: 0px 5px 7px #666666; 
	opacity: 0; margin-left: calc(100% + 10px); margin-right: -100%;
}

@media print {
	#PopupBox { position: absolute; width: 100%; height: fit-content; max-width: 100%; max-height: none; display: block; z-index: 999; bottom: 0; box-shadow: none; border-bottom: none; }
	#PopupBox div.content > div { max-height: none !important; }
	#PopupBox div.footer { display: none; }
	#DataContent.noPrint { display: none; }
}

#PopupBox div.content { flex: 1 1; height: 100%; text-align: center; overflow: hidden; }
#PopupBox div.footer { max-height: 70px; text-align: center; padding: 1rem; background-color: #eeeeee; }
#PopupBox div.footer button.close { padding: 0.25rem 1rem; cursor: pointer; }
#PopupBox.active { opacity: 1; margin-right: 0px; margin-left: 0px; }

#PopupBox div.content > div { overflow: auto; height: 100%; max-height: 90vh; padding-bottom: 20vh; padding-top: 55px; }
#PopupBox div.content > div > div.container { }
#PopupBox div.content > div > div.container > h2 { padding: 0.75rem 3% 0rem 3%; }


#PopupBox div.content > div > div.selectedWords { display: flex; flex-wrap: wrap; position: absolute; top: 0; width: 100%; z-index: 2; border-bottom: 1px solid #dddddd; background-color: #e5e5e5; }
#PopupBox div.content > div > div.selectedWords > h2 { /* display: inline-block; */ padding: 0.75rem 0% 0rem 3%; margin-bottom: 0px; }
#PopupBox div.content > div > div.selectedWords > p { /* display: inline-block; */ padding: 0.11rem 3% 0.25rem 3%; font-size: 1.05rem; font-weight: bold; color: black; }

#PopupBox div.content div.preloader { text-align: center; font-size: 1.1rem; padding: 20vh 1rem; }
#PopupBox div.content div.preloader span { color: #aaaaaa; }

#PopupBox div.content .wordindex #GraphBox { display: flex; flex-direction: row; margin: 0px 0px 0.75rem 0px; padding: 0px 1rem 0.75rem 1rem; border-bottom: 1px solid #dddddd; max-width: 960px; margin: auto; }
#PopupBox div.content .wordindex #GraphBox > div.container { flex: 1 1 auto; text-align: center; }
#PopupBox div.content .wordindex #GraphBox > div.container > div { min-height: 300px; }

@media screen and (max-width: 640px) {
	#PopupBox div.content .wordindex #GraphBox { flex-direction: column; }
	#PopupBox div.content .wordindex #GraphBox > div.container > div { min-height: 260px; }
}

#PopupBox div.content .wordindex p { width: 94%; margin: 0.75rem 3% 0.75rem 3%; text-align: left; }
#PopupBox div.content .rowlist p { width: 94%; margin: 0.75rem 3% 0.75rem 3%; text-align: left; }

#PopupBox div.content table { width: 94%; margin: 0.75rem 3% 0.75rem 3%; text-align: left; }
#PopupBox div.content table thead tr:first-child { position: sticky; top: 0; }
#PopupBox div.content table thead tr th { font-size: 0.9rem; background-color: #dddddd; padding: 0.6rem 0.45rem; }
#PopupBox div.content table tr td { padding: 0.4rem 0.5rem; border: solid 0px #cccccc; border-width: 0px 0px 0.66px 0px; color: #222222; }
#PopupBox div.content table tr:hover { background-color: #eeeeee; }
#PopupBox div.content table tr td span.ignored { color: #bbbbbb; }

#PopupBox div.content table tr > *:nth-child(2) { text-align: center; width: 65px; }
#PopupBox div.content table tr > *:nth-child(3) { text-align: center; width: 65px; } 
#PopupBox div.content table tr > *:nth-child(4) { text-align: center; width: 65px; }
#PopupBox div.content table tr > *:nth-child(5) { text-align: center; width: 65px; }
#PopupBox div.content table tr > *:nth-child(6) { text-align: right; width: 65px;  } 
#PopupBox div.content table tr > *:nth-child(7) { text-align: right; width: 65px; }

#PopupBox div.content div.container.wordindex { }
#PopupBox div.content div.container.wordindex table tr > td { width: 50px; }
#PopupBox div.content div.container.wordindex table tr > *:nth-child(1) { text-align: left; width: 30px; }
#PopupBox div.content div.container.wordindex table tr > *:nth-child(1) input[type=checkbox] { margin: 0px; padding: 0px; height: 1rem; cursor: pointer; vertical-align: middle; }

#PopupBox div.content div.container.wordindex table tr > *:nth-child(2) { text-align: left; width: 20%; }
#PopupBox div.content div.container.wordindex table tr > *:nth-child(2) strong { font-size: 0.96rem; color: black; }
#PopupBox div.content div.container.wordindex table tr > *:nth-child(3) { text-align: left; width: auto; }
#PopupBox div.content div.container.wordindex table tr > *:nth-child(4) { text-align: center; width: 50px; }
#PopupBox div.content div.container.wordindex table tr > *:nth-child(4) progress { width: 30px; }
#PopupBox div.content div.container.wordindex table tr > *:nth-child(5) { text-align: center; width: 40px; color: #999999; padding: 0.4rem 0rem; text-align: right; }
#PopupBox div.content div.container.wordindex table tr > *:nth-child(5) small { font-size: 0.78rem; color: #777777; }
#PopupBox div.content div.container.wordindex table tr > th:nth-child(6) { text-align: left; min-width: 76px; }
#PopupBox div.content div.container.wordindex table tr > td:nth-child(6) { text-align: center; min-width: 75px; font-size: 0.9rem; color: #999999; }
#PopupBox div.content div.container.wordindex table tr > th:nth-child(7) { text-align: left; min-width: 80px; }
#PopupBox div.content div.container.wordindex table tr > td:nth-child(7) { text-align: center; min-width: 80px; }
#PopupBox div.content div.container.wordindex table tr > th:nth-child(8) { text-align: left; min-width: 80px; }
#PopupBox div.content div.container.wordindex table tr > td:nth-child(8) { text-align: center; min-width: 80px; }

#PopupBox div.content div.container.rowlist { }
#PopupBox div.content div.container.rowlist table tr > *:nth-child(2) { text-align: center; width: 50px; }
#PopupBox div.content div.container.rowlist table tr > *:nth-child(2) progress { width: 30px; }
#PopupBox div.content div.container.rowlist table tr > *:nth-child(3) { text-align: center; width: 75px; color: #999999; }
#PopupBox div.content div.container.rowlist table tr > *:nth-child(4) { text-align: center; width: 80px; }
#PopupBox div.content div.container.rowlist table tr > th:nth-child(6) { text-align: center; font-size: 0.9rem; }
#PopupBox div.content div.container.rowlist table tr > td:nth-child(6) { text-align: center; font-size: 0.9rem; color: #999999; }
#PopupBox div.content div.container.rowlist table tr > th:nth-child(7) { text-align: center; font-size: 0.9rem; }
#PopupBox div.content div.container.rowlist table tr > td:nth-child(7) { text-align: center; font-size: 0.9rem; color: #999999; }

#PopupBox div.content table tr td i { color: #888888; font-style: inherit; text-decoration: line-through; text-decoration-style: solid; }
#PopupBox div.content table tr td b { color: #888888; font-style: inherit; text-decoration: line-through; text-decoration-style: double; font-weight: normal; }

#PopupBox div.content .dataTables_filter { width: 94%; margin: 0.75rem 3% 0rem 3%; text-align: left; }
/* TEST: #PopupBox div.content .dataTables_filter { width: 50%; margin: -1.85rem 0% 0rem 50%; text-align: left; } */
#PopupBox div.content .dataTables_filter input[type='search'] { width: 95%; max-width: 280px; padding: 0.25rem; margin-left: 0.5rem; }
#PopupBox div.content .dataTables_info { display: none; /* width: 94%; margin: 0.25rem 3% 1.25rem 3%; text-align: left; */ }
#PopupBox div.content .dt-buttons { display: block; margin: 0px 2.5% 0px auto; text-align: right; float: right; padding: 0px; }
#PopupBox div.content .dt-buttons a.dt-button { display: inline-block; padding: 4px 0.5rem; margin: 0px 0.5rem; text-decoration: none; border-radius: 3px; background-color: #dddddd; }
#PopupBox div.content .dt-buttons a.dt-button:hover { background-color: #006699; color: white; text-decoration: none; }
#PopupBox div.content .dt-buttons a.dt-button:hover span { background-color: #006699; color: white; text-decoration: none; }

@media screen and (max-width: 640px) {
	#PopupBox div.content .dataTables_filter input[type='search'] { width: 99.5%; max-width: 100%; margin-left: 0.2rem; }
	#PopupBox div.content .dt-buttons { display: block; margin: 0px 1% 0.5rem auto; }
}
#MainContent .flayer { background-color: #eeeeee; margin: 0.5rem 0rem 0.5rem 0rem; }
#MainContent .flayer > div { margin: 1rem 1rem; text-align: center; font-size: 1.1rem; }

#MainContent .texts { margin: 1rem 1rem; text-align: center; }
#MainContent .texts ul { width: fit-content; margin: 1rem auto 1.5rem auto; text-align: left; padding: 0px 8% 0px 11%; }
#MainContent .texts ul li { padding: 0.25rem 0px; }
#MainContent .texts h2 { margin-top: 1rem; }
#MainContent .texts p { text-align: center; max-width: 800px; margin: auto; padding: 0.25rem 0px 0.75rem 0px; }

#MainContent .dataTable thead th { padding: 0.6rem 0.5rem 0.55rem 0.4rem; font-weight: normal; }
#MainContent .dataTable thead th:hover { background-color: #666666; color: white; cursor: pointer; }
/*
#MainContent .dataTable tfoot { }
#MainContent .dataTable tfoot tr { }
#MainContent .dataTable tfoot tr th { }
*/

#MainContent .dataTable .sorting { }
#MainContent .dataTable .sorting::before { content: '»'; padding: 0px 4px 0px 4px; margin: 0px 1px 0px -1px; color: #999999; }
#MainContent .dataTable .sorting_asc { background-color: #666666; color: white; }
#MainContent .dataTable .sorting_asc::before { content: '»'; transform: rotate(-90deg); display: inline-block; font-size: 1.2rem; vertical-align: inherit; padding: 0px 4px 0px 4px; margin: -1px 2px 0px -4px; line-height: 0.95rem; }
#MainContent .dataTable .sorting_desc { background-color: #666666; color: white; }
#MainContent .dataTable .sorting_desc::before { content: '»'; transform: rotate(90deg); display: inline-block; font-size: 1.2rem; vertical-align: inherit; padding: 0px 4px 0px 4px; margin: -1px -1px 0px -1px; line-height: 0.95rem; }

#PopupBox div.content div.container.wordindex table tr > th:nth-child(1):hover { background-color: #dddddd; cursor: default; }
#PopupBox div.content div.container.wordindex table tr > th:nth-child(1)::before { display: none; }
#PopupBox div.content div.container.wordindex table tr > th:nth-child(4):hover { background-color: #dddddd; cursor: default; }
#PopupBox div.content div.container.wordindex table tr > th:nth-child(4)::before { display: none; }
#PopupBox div.content div.container.wordindex table tr > th:nth-child(5):hover { background-color: #dddddd; cursor: default; }
#PopupBox div.content div.container.wordindex table tr > th:nth-child(5)::before { display: none; }

#PopupBox div.content div.container.rowlist table tr > th:nth-child(2):hover { background-color: #dddddd; cursor: default; }
#PopupBox div.content div.container.rowlist table tr > th:nth-child(2)::before { display: none; }

#PopupBox div.content div.container table tfoot { }
#PopupBox div.content div.container table tfoot tr { background-color: #f0f0f0; }
#PopupBox div.content div.container table tfoot tr th { color: #333333 !important; padding: 0.6rem 0.5rem 0.55rem 0.4rem; }
#PopupBox div.content div.container table tfoot tr th:hover { background-color: #f0f0f0 !important; }
#PopupBox div.content div.container table tfoot tr th:first-child { text-align: left; overflow: visible; }
#PopupBox div.content div.container table tfoot tr th:last-child { text-align: center; }

#PopupBox div.content div.container.wordindex table tfoot tr th:first-child { overflow: visible; width: 30px; display: block; }
#PopupBox div.content div.container.wordindex table tfoot tr th:nth-child(6) { text-align: center; }
#PopupBox div.content div.container.wordindex table tfoot tr th:nth-child(7) { text-align: center; }
#PopupBox div.content div.container.wordindex table tfoot tr th:nth-child(8) { text-align: center; }

#PopupBox div.content div.container.rowlist span { font-weight: normal; font-size: 1rem; }
#PopupBox div.content div.container.rowlist .displayAllWords { width: 40px; vertical-align: middle; margin: auto 0.5rem; cursor: pointer; }

@media screen and (min-width: 1040px) and (max-width: 1200px) {
	#PopupBox { width: 70%; min-width: 640px; max-width: 100%; top: 0; right: 0; bottom: 0; }
}
@media screen and (min-width: 640px) and (max-width: 1040px) {
	#PopupBox { width: 100%; min-width: 480px; max-width: 100%; top: 0; right: 0; bottom: 0; }
}
@media screen and (max-width: 640px) {
	#PopupBox { min-width: 280px; max-width: 100%; width: 100%; top: 0; right: 0; bottom: 0; left: 0; }
	#PopupBox div.content div.container.wordindex table tr > *:nth-child(2) { display: none; }
	#PopupBox div.content div.container.wordindex table tr > *:nth-child(2) { display: none; }
	#PopupBox div.content div.container.wordindex table tr > *:nth-child(4) { display: none; } 
	#PopupBox div.content div.container.wordindex table tr > *:nth-child(5) { display: none; }
	#PopupBox div.content div.container.rowlist table tr > *:nth-child(2) { display: none; }
	#PopupBox div.content div.container.rowlist table tr > *:nth-child(3) { width: 65px; }
	#PopupBox div.content div.container.rowlist table tr > *:nth-child(4) { width: 60px; }
	#PopupBox div.content div.container.rowlist table tr > *:nth-child(6) { display: none; } 
	#PopupBox div.content div.container.rowlist table tr > *:nth-child(7) { display: none; }
	/* #MainContent .dataTable th:first-child { display: none; } */
	/* #MainContent .dataTable td:first-child { display: none; } */
	#MainContent .dataTable .sorting::before { padding: 0px 2px 0px 2px; }
	#MainContent .dataTable .sorting_desc::before { padding: 0px 2px 0px 2px; }
	#MainContent .dataTable .sorting_asc::before { padding: 0px 2px 0px 2px; margin: -2px 2px 0px -5px; }
	
	#PopupBox div.content div.container.wordindex table tr > th { font-size: 0.78rem; }
	#PopupBox div.content div.container.rowlist table tr > th { font-size: 0.78rem; }
}

/* -- */

#ProgressBox {
	display: none; position: fixed; z-index: 5; width: 70vw; min-width: 300px; max-width: 900px; left: auto; right: auto; 
	margin: 0px; padding: 0.7rem 1rem 1.1rem 1.5rem; align-self: center; text-align: center;
}
#ProgressBox.active { display: block; background-color: #eeeeee; }
#ProgressBox p { text-align: center; line-height: 1.6rem; }

@media screen and (max-width: 900px) {
	#ProgressBox { width: 100%; }
}

/* -- */

.PromoCodeBox { text-align: center; z-index: 10; position: relative; }
.PromoCodeBox #PromoCode { width: 50%; max-width: 220px; text-align: center; padding: 0.45rem 0.25rem; border: solid 1px #dddddd; border-radius: 3px; }
.PromoCodeBox #PromoBtn { transition: all 0.1s !important; padding: 0.46rem 1rem 0.46rem 1rem; font-size: 1rem; font-weight: bold; color: #333333; border: solid 1px #cccccc; background-color: #eeeeee; border-radius: 3px; width: fit-content; cursor: pointer; }
.PromoCodeBox #PromoBtn:hover { color: white; background-color: #006699; }
.PromoCodeBox small { color: #999999; padding: 0.5rem; }
.PromoCodeBox small span { display: block; color: #999999; }

@media screen and (max-width: 480px) {
	.PromoCodeBox #PromoBtn { padding: 0.46rem 0.5rem 0.46rem 0.5rem; }
	.PromoCodeBox small span { display: inline; }
}

/* -- */

.VideoContainer { display: inline-flex; overflow: hidden; width: 84vw; max-width: 800px; border: 1px solid #e0e0e0; border-radius: 3px; padding: 0px; margin: 0px auto; }
/* video { position: relative; line-height: 0; width: calc(100% + 2px); outline: 0px !important; border: none; margin: -1px; padding: 0px; } */
iframe { line-height: 0; width: inherit; height: 50vw; max-height: 476px; border: none; margin: -1px; padding: 0px; }
/* -- */

#FormBox { }
#FormBox.hidden { display: none; }
#FormBox .formflex { display: flex; flex-direction: column; }
#FormBox .formflex .formpart { flex: 1 1 100%; z-index: 2; margin: 1rem 1rem 0rem 1rem; text-align: center; }
#FormBox .formflex .formpart * { transition: all 1s; }
#FormBox .formflex .formpart:first-child { display: flex; flex-wrap: wrap; }
#FormBox .formflex .formpart label { opacity: 1; display: inline-block; width: calc(50% - 2px); min-width: 150px; padding: 1rem 1rem; margin: 1px; border: solid 1px #cccccc; cursor: pointer; }
#FormBox .formflex .formpart label:hover { background-color: #cccccc; }
#FormBox .formflex .formpart label.hidden { opacity: 0; }
#FormBox .formflex .formpart label.active { background-color: #cccccc; }
#FormBox .formflex .formpart label span { display: block; width: 100%; font-weight: bold; }
#FormBox .formflex .formpart label small { display: block; width: 100%; padding: 3px 0px; }
#FormBox .formflex .formpart div.itxt { opacity: 0; width: 100%; height: 0px; padding: 0rem 0.25rem; transition: all 0.3s; }
#FormBox .formflex .formpart div.itxt.active { opacity: 1; height: auto; padding: 1rem 0.25rem; }
#FormBox .formflex .formpart div.itxt.wait { height: auto; padding: 1.03rem 0.2rem; }
#FormBox .formflex .formpart div.btxt { opacity: 0; height: 0px; padding: 0rem 0.25rem; transition: all 0.6s; }
#FormBox .formflex .formpart div.btxt.active { opacity: 1; width: 100%; height: auto; padding: 1rem 0.25rem 0rem 0.25rem; }
#FormBox .formflex .formpart textarea { opacity: 0; height: 0vh; width: 100%; margin: 0px; padding: 0.2rem 0.5rem; transition: all 0.7s; }
#FormBox .formflex .formpart textarea.active { opacity: 1; height: 40vh; padding: 0.2rem 0.5rem; }
#FormBox .formflex .formpart input[type=file] { display: none; visibility: hidden; margin: 0px; }
#FormBox .formflex .formpart input[type=file].active { display: inline-block; visibility: visible; margin: 1.5rem auto 0.5rem auto; padding: 1rem; border: solid 1px #cccccc; }
#FormBox .formflex .formpart input[type=submit] { display: none; padding: 0.2rem 0.5rem; cursor: pointer; }
#FormBox .formflex .formpart input[type=submit].active { display: inline-block; padding: 0.5rem 0.75rem; }
#FormBox .formflex .formpart button[type=submit] { display: none; font-weight: bold; font-size: 1.02rem; padding: 0.2rem 0.5rem; cursor: pointer; border: solid 1px #cccccc; background-color: #eeeeee; border-radius: 3px; }
#FormBox .formflex .formpart button[type=submit].active { display: initial; padding: 0.85rem 2rem 0.9rem 2rem; }
#FormBox .formflex .formpart button[type=submit]:hover { color: white; background-color: #006699; }

#FormBox .formflex .formpart .lab1 { order: 1; }
#FormBox .formflex .formpart .lab2 { order: 2; }
#FormBox .formflex .formpart .itxt { order: 3; }
#FormBox .formflex .formpart textarea { order: 4; }
#FormBox .formflex .formpart input[type=file] { order: 5; }
#FormBox .formflex .formpart .btxt { order: 6; color: #666666; }

@media screen and (max-width: 480px) {
	#FormBox .formflex .formpart label { display: inline-block; width: 49%; min-width: 140px; padding: 0.5rem 0.25rem; }
	#FormBox .formflex .formpart label span { display: block; max-width: 100px; margin: auto; width: min-content; }
	#FormBox .formflex .formpart label small { display: none; }
}

/* -- */

#DataContent { margin: 0px auto; /* CENTER */ }
#DataContent #InlinePreloader { min-height: 150px; text-align: center; padding: 2.5rem 1rem; text-align: center; background-color: #f0f0f0; }
#DataContent #InlinePreloader #PreloaderBar { display: block; width: 160px; text-align: center; margin: 0.25rem auto; }
#DataContent #InlinePreloader p { text-align: center; }

#DataContent table { /* width: 100%; */ table-layout: fixed; border: solid 1px #dddddd; border-collapse: collapse; box-sizing: border-box; }
#DataContent table tr:first-child { z-index: 10; }
#DataContent table th { background-color: #dddddd; border: solid 1px #dddddd; padding: 9px 7px; font-size: 0.9rem; }
#DataContent table td { color: #222222; border: solid 0.8px #cccccc; padding: 7px 7px; }
#DataContent table tr:hover { background-color: #eaeaea; }
#DataContent table thead tr:first-child { position: sticky; top: calc(6.7rem - 1px); }
#DataContent table thead tr th { font-size: 0.9rem; background-color: #dddddd; /* padding: 0.75rem 0.75rem; */ }
#DataContent table tr.highlight { background-color: #D1E0FF; }
#DataContent table tr td:first-child { width: 110px; min-width: 110px; max-width: 110px; width: auto; text-align: center; padding: 0px; }
#DataContent table tr td:first-child span { font-size: 0.75rem; padding: 6px 5px; color: #999999; }
#DataContent table tr td:first-child label { font-size: 0.75rem; padding: 6px; }
#DataContent table tr td i { color: #888888; font-style: inherit; text-decoration: line-through; text-decoration-style: solid; }
#DataContent table tr td b { color: #888888; font-style: inherit; text-decoration: line-through; text-decoration-style: double; font-weight: normal; }
#DataContent table .iRange { width: 50px; margin: auto; cursor: pointer; vertical-align: inherit; scale: 0.9; padding: 6px 0px; }
#DataContent table .iRange[disabled] { cursor: default; }
#DataContent table .iRadio { margin: 0px 2px 0px 2px; cursor: pointer; vertical-align: inherit; scale: 1; padding: 6px 0px; }
#DataContent table .iRadio[disabled] { visibility: hidden; }
#DataContent table .kind { display: inline-block; width: 60px; font-size: 0.75rem; }

/* dataset table */

#DataContent.dataset table tr th:nth-child(1) { text-align: left; }
#DataContent.dataset table tr th:nth-child(3) { text-align: center; }
#DataContent.dataset table tr th:nth-child(4) { text-align: center; }
#DataContent.dataset table tr th:nth-child(5) { text-align: center; }
#DataContent.dataset table tr th:nth-child(6) { text-align: center; }
#DataContent.dataset table tr th:nth-child(7) { text-align: center; }

#DataContent.dataset table tr td:nth-child(2) { min-width: 65%; width: 75%; word-break: break-word; word-wrap: anywhere; }
#DataContent.dataset table tr td:nth-child(3) { text-align: center; width: 10%; background-color: #faecd9; }
#DataContent.dataset table tr td:nth-child(4) { text-align: center; width: 10%; background-color: #ecf6ff; }
#DataContent.dataset table tr td:nth-child(5) { text-align: center; background-color: #ecf6ff; }
#DataContent.dataset table tr td:nth-child(6) { text-align: center; background-color: #ecf6ff; }
#DataContent.dataset table tr td:nth-child(7) { text-align: center; background-color: #ecf6ff; }

#DataContent.dataset table tr:hover td:nth-child(3) { background-color: #eaeaea; }
#DataContent.dataset table tr:hover td:nth-child(4) { background-color: #eaeaea; }
#DataContent.dataset table tr:hover td:nth-child(5) { background-color: #eaeaea; }
#DataContent.dataset table tr:hover td:nth-child(6) { background-color: #eaeaea; }
#DataContent.dataset table tr:hover td:nth-child(7) { background-color: #eaeaea; }

/* filter table */
#DataContent.filter table tr th:nth-child(5) { text-align: center; }
#DataContent.filter table tr th:nth-child(6) { text-align: center; }

#DataContent.filter table tr td:nth-child(3) { width: 100%; }
#DataContent.filter table tr td:nth-child(3) i { display: inline-block; float: right; width: 1.5rem; height: 1.5rem; line-height: 1.5rem; padding: 0px; margin: -2px 0px -2px auto; border: solid 1px #cccccc; border-radius: 50%; text-align: center; text-decoration: none; cursor: pointer; }
#DataContent.filter table tr td:nth-child(3) i:before { content: "i"; }
#DataContent.filter table tr td:nth-child(3) i:hover { background-color: #0060DF; color: white; border-color: #666666; }

#DataContent table tr td:nth-child(4) { text-align: center; }
/* standard
#DataContent table tr td:nth-child(5) { text-align: center; min-width: 75px; text-align: right; padding: 7px 7px 7px 5px; }
#DataContent table tr td:nth-child(6) { text-align: center; min-width: 75px; text-align: right; padding: 7px 7px 7px 5px; }
*/
/* radio */
#DataContent.filter table tr td:nth-child(5) { text-align: right; min-width: 75px; padding: 5px 5px; background-color: #faecd9; }
#DataContent.filter table tr td:nth-child(6) { text-align: right; min-width: 85px; padding: 5px 5px; background-color: #faecd9; }
#DataContent.filter table tr td:nth-child(7) { text-align: right; min-width: 80px; padding: 5px 5px; background-color: #ecf6ff; }
#DataContent.filter table tr td:nth-child(8) { text-align: right; min-width: 70px; padding: 5px 5px; background-color: #ecf6ff; }
#DataContent.filter table tr td:nth-child(9) { text-align: right; min-width: 70px; padding: 5px 5px; background-color: #ecf6ff; }
#DataContent.filter table tr td:nth-child(10) { text-align: right; min-width: 70px; padding: 5px 5px; background-color: #ecf6ff; }

#DataContent.filter table tr:hover td:nth-child(5) { background-color: #eaeaea; }
#DataContent.filter table tr:hover td:nth-child(6) { background-color: #eaeaea; }
#DataContent.filter table tr:hover td:nth-child(7) { background-color: #eaeaea; }
#DataContent.filter table tr:hover td:nth-child(8) { background-color: #eaeaea; }
#DataContent.filter table tr:hover td:nth-child(9) { background-color: #eaeaea; }
#DataContent.filter table tr:hover td:nth-child(10) { background-color: #eaeaea; }

#DataContent.dataset table tr td:nth-child(5) { text-align: right; min-width: 75px; max-width: 80px; padding: 5px 8px 5px 5px; }
#DataContent.dataset table tr td:nth-child(6) { text-align: right; min-width: 75px; max-width: 80px; padding: 5px 8px 5px 5px; }
#DataContent.dataset table tr td:nth-child(7) { text-align: right; min-width: 75px; max-width: 80px; padding: 5px 8px 5px 5px; }

#DataContent table tr td:nth-child(5) label {
	width: 100%; min-width: 55px; display: inline-flex;
	vertical-align: middle; margin: auto; padding: 2px 0px; cursor: pointer;
}
#DataContent table tr td:nth-child(5) label span { }
#DataContent table tr td:nth-child(5) label span:nth-child(1) input { opacity: 0.4; display: inline-block; width: 1rem; height: 0.8rem; }
#DataContent table tr td:nth-child(5) label span:nth-child(1) input:checked { opacity: 1; }
#DataContent table tr td:nth-child(5) label span:nth-child(2) { display: inline-block; width: calc(100% - 1.5rem); }

#DataContent table tr td:nth-child(6) label {
	width: 100%; min-width: 55px; display: inline-flex;
	vertical-align: middle; margin: auto; padding: 2px 0px; cursor: pointer;
}
#DataContent table tr td:nth-child(6) label span { }
#DataContent table tr td:nth-child(6) label span:nth-child(1) input { opacity: 0.4; display: inline-block; width: 1rem; height: 0.8rem; }
#DataContent table tr td:nth-child(6) label span:nth-child(1) input:checked { opacity: 1; }
#DataContent table tr td:nth-child(6) label span:nth-child(2) { display: inline-block; width: calc(100% - 1.5rem); }

#DataContent table tr.hidden { display: none; }


#DataContent table tr > *:nth-child(2) { min-width: 100px; width: 15%; }
#DataContent .dataTables_filter { display: none; /* width: 94%; margin: 0.75rem 3% 0rem 3%; text-align: left; */ }
#DataContent .dataTables_filter input[type='search'] { width: 80%; max-width: 280px; padding: 0.25rem; margin-left: 0.5rem; }
#DataContent .dataTables_info { display: none; /* width: 94%; margin: 0.25rem 3% 1.25rem 3%; text-align: left; */ }

#DataContent.disabled table * { color: #999999 !important; }

@media screen and (max-width: 900px) {
	#DataContent table thead tr th { padding: 7px 5px; font-size: 0.8rem; }
	#DataContent table tbody tr td:first-child { width: 90px; min-width: 90px; }
	#DataContent table tbody tr td:first-child span { font-size: 0.75rem; padding: 4px 3px; }
	/* #DataContent.filter table thead tr:first-child { position: sticky; top: calc(6.7rem); } */
	#DataContent table thead tr:first-child { position: sticky; top: calc(6.7rem); }
	#DataContent.filter table thead tr:first-child { position: sticky; top: calc(10.08rem + 1px); }
	#DataContent.filter table tr td:nth-child(3) { word-wrap: anywhere; }
	#DataContent.filter table tr th:nth-child(4) { display: none; }
	#DataContent.filter table tr td:nth-child(4) { display: none; }
	#DataContent table .iRange { width: 40px; }
}
@media screen and (max-width: 740px) {
	#DataContent.dataset table tr > *:nth-child(6) { display: none; }
	#DataContent.dataset table tr > *:nth-child(7) { display: none; }
}
@media screen and (max-width: 540px) {
	#DataContent.filter table tr th:nth-child(2) { display: none; }
	#DataContent.filter table tr td:nth-child(2) { display: none; }
	#DataContent.filter table tr th:nth-child(6) { display: none; }
	#DataContent.filter table tr td:nth-child(6) { display: none; }
	#DataContent.filter table tr th:nth-child(9) { display: none; }
	#DataContent.filter table tr td:nth-child(9) { display: none; }
	#DataContent.filter table tr th:nth-child(10) { display: none; }
	#DataContent.filter table tr td:nth-child(10) { display: none; }
}
@media screen and (max-width: 400px) {
	/* #DataContent table tr:first-child { position: sticky; top: calc(10.08rem + 1px); } */
	#DataContent.filter table thead tr:first-child { position: sticky; top: calc(10.1rem); min-height: 2.8rem; }
	#DataContent table tbody tr td:first-child { width: 80px; min-width: 80px; }
	#DataContent table tbody tr td:first-child span { display: none; }
	#DataContent table tr td:nth-child(5) { min-width: 65px; }
	#DataContent table tr td:nth-child(6) { min-width: 75px; }
	#DataContent table .iRange { width: 50px; }
}

#ContentFooter .CountRows { font-weight: bold; }
#ContentFooter .CountWords { font-weight: bold; }

/* --- Minimize heads --- */

#BodyBox.minimized #AjaxTreelineBox { display: none; }
#BodyBox.minimized #ContentBox .ContentHead { display: none; }

/* min-height: 120vh; */

/* output page */
#OutputBox { max-width: 1200px; margin: 0px auto; }
#OutputBox .OutputDataset { padding: 1rem 0px 0rem 0px; text-align: center; }
#OutputBox .OutputDataset h2 { text-align: center; }
#OutputBox .OutputDataset p { text-align: center; padding: 0rem 0px 1.25rem 0px; margin: 0px; }
#OutputBox .ButtonBox { display: flex; flex-direction: row; flex-wrap: wrap; padding: 0rem 0px 1rem 0px; border: solid 0px #cccccc; border-width: 0px 0px 1px 0px; }
#OutputBox .ButtonBox > div { flex: 1 1 33.3%; text-align: center; padding: 0rem 0px 1rem 0px; }
#OutputBox .ButtonBox > div button[data-action] {
	min-width: 230px; margin: auto; padding: 0.6rem 1rem; margin: 0.75rem; cursor: pointer; border: solid 1px #aaaaaa; border-radius: 4px;
}
#OutputBox .ButtonBox > div button[data-action]:last-child {
	border: solid 1px #006699; border-radius: 4px; color: #004477;
}
#OutputBox .ButtonBox > div button[data-action]:hover {
	background-color: #006699; color: white;
}

