/* COREL UNIVERSAL HELP VIEWER */
/* universal-help-viewer.css: Stylesheet for the viewer (container) */

/* FONTS *********************************************************************/

/* To used cached/CDN version of Poppins from Google Fonts:
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*/

@font-face {
	font-family: 'Poppins';
	src: url('../fonts/poppins-regular-webfont.woff2') format('woff2'),
		 url('../fonts/poppins-regular-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Poppinsbold';
	src: url('../fonts/poppins-bold-webfont.woff2') format('woff2'),
		 url('../fonts/poppins-bold-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

body {
	font-family: 'Poppins';
}


/* GLOBAL STYLES AND MAIN WINDOW LAYOUT **************************************/

body {
	overflow: hidden;
}

#outermost-wrapper {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

header img {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

/* X-Small devices (portrait phones, less than 576px) */
#panes {
	position: relative;
	margin: 0 auto;
	min-height: calc(100% - 6rem);
	height: auto;
	background: white;
	overflow-x: hidden;
	overflow-y: visible!important;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
	#panes {
		width: 540px;
	}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
	#panes {
		width: 720px;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	#panes {
		width: 960px;
	}
}

/* X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
	#panes {
		width: 1140px;
	}
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
	#panes {
		width: 1320px;
	}
}

#panes.fullwidth {
	width: 100% !important;
}

#toc-pane {
	z-index: 100;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 290px;
	border-right: 1px solid #f2f2f2;
	background: white;
	color: #4b4b4b;
	font-size: 13px;
	overflow-x: hidden;
	overflow-y: auto;
	transform: translateX(-292px);
	transition: transform 0.3s ease-in-out;
}

.toc-open #toc-pane {
	transform: translateX(0);
}

#topic-pane {
	position: absolute;
	top: 0;
	height: 100%;
	left: 0;
	width: 100%;
	transition: all 0.3s ease-in-out;
	overflow-x: hidden;
	overflow-y: auto;	
}
	
.toc-open #topic-pane {
	left: 290px;
	width: calc(100% - 290px);
}

@media (max-width: 767.95px) {
	.toc-open #topic-pane {
		left: 0;
		width: 100%;
	}
}


/* IE 10+ FALLBACK */

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	#panes {
		position: absolute;
		top: 6rem;
		left: 0;
		right: 12px;
		width: 100%;
		bottom: 0;
	}
	
	#toc-pane {
		width: 25%;
		transform: translateX(-100%);
	}
	
	#topic-pane {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
	}
}
	
@media (max-width: 767.95px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.toc-open #toc-pane {
		width: 100%;
	}
}


/* MAIN HEADER CONTENT */

#header-content {
	position: relative;
	width: 100%;
	max-width: 1156px;
	min-width: 320px;
	margin: 0 auto;
}

h1 {
    font-weight: 400;
    font-size: inherit;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 68px;
    padding: .29rem;
}

h1 a {
	text-decoration: none;
	color: white;
}



/* TABLE OF CONTENTS TOGGLE BUTTON */

#toc-button {
	cursor: pointer;
	margin-top: 2.125rem;
	margin-right: 1rem;
	width: 1.5rem;
	height: 1.5rem;
 	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}

#toc-tooltip {
	visibility: hidden;
	background-color: #555;
	color: white;
	text-align: center;
	font-size: 14px;
	padding: 5px 8px;
	border-radius: 5px;
	position: absolute;
	z-index: 200;
	top: 45px;
	left: 0;
	width: 165px;
	opacity: 0;
	transition: opacity 0.3s;
}

#toc-tooltip.active {
	visibility: visible;
	opacity: 1;
}

#toc-tooltip:before {
	content: "";
	position: absolute;
	left: 0px;
	top: 0px;
	margin-top: -12px;
	margin-left: 15px;
	border-style: solid;
	border-width: 6px;
	border-color: transparent transparent #555 transparent;
}


/* TABLE OF CONTENTS */

#toc-pane ul {
	list-style: none;
	overflow: hidden;
	padding-left: 12px;
}

#toc-pane li.collapsed > ul {
	max-height: 0;
}

#toc-pane ul ul a {
/* 	padding-left: 1.35rem; */
}

#toc-pane ul ul ul a {
/* 	padding-left: 2.7rem; */
}

#toc-pane a {
	display: block;
	position: relative;
/* 	padding-left: .47rem; */
	padding-right: .7rem;
	padding-top: .95em;
	padding-bottom: .95em;
	border-bottom: 1px solid #f2f2f2;
	border-image: linear-gradient(to right,#fff 0,#fff 1.42rem,#f2f2f2 .47rem,#f2f2f2 100%) 0 0 1 0;
	border-image-width: 0 0 1px 0;
	color: #4a4a4a;
	outline: 0;
	text-decoration: none;
	cursor: pointer;
}

#toc-pane a:hover {
	background: #fafafa;
}

#toc-pane li.selected > a {
	background: #f2f2f2;
}

#toc-pane .name {
	display: block;
	padding-left: 16px;
	word-wrap: break-word;
}

.disclosure-icon {
	background-image: url(../images/arrow.svg);
	background-size: 1em 1em;
	width: 1em;
	height: 1em;
	display: block;
	float: left;
	margin-top: .15em;
	transition: transform .1s linear;
	transform: rotate(90deg);
}

li.collapsed > a > .disclosure-icon {
	transform: rotate(0deg);
}


/* SEARCH FEATURE */

input[type=search] {
	-webkit-appearance: textfield;
}

#search-block {
	display: none;
}

#search-block.visible {
	display: block;
}

#search-field {
	box-sizing: border-box;
	margin-top: 2rem;
	height: 30px;
	width: 260px;
	border: none;
	font-size: 14px;
	border-radius: 5px;
	z-index: 1000;
	background-image: url('../images/search_large.svg');
	background-repeat: no-repeat; 
	background-position: 8px 6px;
	background-size: 16px 16px;
	padding-left: 34px;
	padding-right: 8px;
	display: none;
}

#search-field.loaded {
	display: block;
}

#search-field::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}

#search-field::placeholder {
	color: #999;
}

#search-loading {
	margin-top: 2rem;
	color: #3b51a3;
	width: 24px;
	height: 24px;
}

#search-loading.loaded {
	display: none;
}

#suggestions {
	display: none;
	position: absolute;
	box-sizing: border-box;
	overflow: auto;
	padding: 8px 0;
    width: 50%;
	max-width: 480px;
    z-index: 1000;
    background-color: white;
	border: 1px solid #ddd;
    font-size: 14px;
	border-radius: 4px;
	box-shadow: 0px 5px 12px 0px rgba(0,0,0,0.33);
	max-height: 90%;
}

#suggestions div a, .no-results {
	display: block;
	padding: 5px 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#suggestions div a:hover {
	background-color: #eee;
}

#suggestions a {
	text-decoration: none;
    color:#007aff;
}

.search-results-breadcrumbs {
	font-size: 10px; 
	text-transform: uppercase; 
	color: black;
	font-weight: bold;	
}

.search-results-excerpt {
	font-size: 11px;
	color: #444;
}

mark {
	
	/* HIGHLIGHT SEARCH TERMS BY MAKING THEM BOLD */
	/* font-weight: bold;
	background: transparent; */

	/* HIGHLIGHT SEARCH TERMS IN GREY */
	padding: .2em 0;
	background-color: #ffe788;
	background-color: #eee;
	
	color: inherit;
}


/* MODAL DIALOG BOXES */

.modal {
	display: none;
	position: fixed;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-content: center;
	align-items: center;
	z-index: 2000;
	transition: padding .3s ease-in-out;
	background: rgba(0,0,0,0.6);
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2%;
}

.modal.visible {
	display: flex;
}

#language-switcher {
	min-height: 150px;	
}

.modal-header {
	display: block;
	position: relative;
	border-radius: 4px 4px 0 0;
	background-color: #f3f5f6;
	border-bottom: 1px solid #fafbfb;
	margin: 0 auto;
	max-width: 740px;
	color: #545454;
	font-size: 1.06rem;
	line-height: 1.06rem;
	padding: 15px;
	margin: 0;
	font-weight: bold;
	text-align: center;
}

.modal-content {
	position: relative;
	overflow-x: hidden;
	overflow-y: auto;
	background: #fff;
	transition: max-height .3s ease-in-out;
	order: 0;
	flex: 0 1 auto;
	align-self: auto;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	margin: 0 auto;
	max-width: 740px;
}

.modal ul {
	display: block;
	overflow: auto;
	list-style: none;
}

.modal li {
	list-style: none;
	margin: 0 20px;
	padding: 13px 0;
	border-bottom: 1px solid #f2f2f2;
	cursor: pointer;
}

.modal li:last-of-type {
	border-bottom: none;
}

.modal-footer {
	position: relative;
	border-radius: 0 0 4px 4px;
	border-top: 1px solid #e4e4e4;
	background: #fff;
	margin: 0 auto;
	max-width: 740px;
	height: 50px;
	min-height: 50px;
	text-align: center;
}

.modal-footer a {
	display: inline-block;
	padding: 15px;
	width: 100%;
	color: #2f2f2f;
	font-size: 1.06rem;
	line-height: 1.06rem;
}

#language-switcher .modal-header, 
#language-switcher .modal-content, 
#language-switcher ul,
#language-switcher .modal-footer {
	width: 300px;
}

#language-switcher .modal-content {
	max-height: 500px;
}