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



/* CSS RESET & BOX SIZING */

* {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: normal;
	text-decoration: none;
	box-sizing: border-box; /* width includes content, padding, border, but not margin */
}



/* GLOBAL STYLES AND MAIN WINDOW LAYOUT */

body {
	overflow: hidden;
	background: #fafafa;
	font-family: -apple-system,-apple-system-font,HelveticaNeue,"Helvetica Neue",Helvetica,sans-serif;
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}

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

header {
	color: white;
    height: 44px;
    background: #333;
    font-size: 19px;
    line-height: 1.9;
}

#panes {
	position: relative;
	margin: 0 auto;
	max-width: 1156px;
	min-width: 320px;
	min-height: calc(100% - 44px);
	height: auto;
	background: white;
	overflow-x: hidden;
	overflow-y: visible!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: 874px) {
	.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: 44px;
		left: 0;
		right: 0;
		width: 100%;
		bottom: 0;
	}
	
	#toc-pane {
		width: 25%;
		transform: translateX(-100%);
	}
	
	#topic-pane {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
	}
}
	
@media (max-width: 874px) 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 {
	position: absolute;
	top: 7px;
	left: 17px;
	height: 30px;
	width: 36px;
	border-radius: 5px;
	background: no-repeat;
	background-size: 44px 44px;
	background-position: 50% 50%;
	background-image: url(../images/toc_large.svg);
	border: none;
	outline: 0;
	color: transparent;
	cursor: pointer;
	overflow: hidden;
}

#toc-button:active {
	outline: 0;
}

#toc-button:hover {
	overflow: visible;
}

.toc-open #toc-button {
	background-color: #666;	
}

#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;
}

#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 {
	color: #007aff;
}

#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: .23em;
	transition: transform .1s linear;
	transform: rotate(90deg);
}

a:hover .disclosure-icon {
	background-image: url(../images/arrow-blue.svg);
}

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


/* SEARCH FEATURE */

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

#search-field {
	position: absolute;
	box-sizing: border-box;
	top: 7px;
	right: 17px;
	height: 30px;
	width: 200px;
	color: white;
	border: none;
	font-size: 14px;
	border-radius: 5px;
	z-index: 1000;
	background-color: #666;
	background-image: url('../images/search.png');
	background-repeat: no-repeat; 
	background-position: 8px 6px;
	background-size: 18px 18px;
	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 {
	position: absolute;
	z-index: 1000;
	top: 9px;
	right: 17px;
}

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

#search-loading img {
	width: 24px;
	height: 24px;
}

#suggestions-wrapper {
	display: none;
	/* width: 1156px;
	max-width: 100%;
	margin: 0 auto; */
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

#suggestions {
    position: absolute;
	box-sizing: border-box;
    top: 40px;
    right: 14px;
    width: 40%;
    z-index: 1000;
    background-color: white;
    font-size: 14px;
    border: 1px solid #ddd;
	box-shadow: 0px 5px 12px 0px rgba(0,0,0,0.33);
	overflow: auto;
	max-height: 90%;
}

#suggestions div {
    padding: 10px 0;
    margin: 0 8px;
    border-bottom: 1px solid #f2f2f2;
    /* overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis; */
}

#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;
}


/* EXPANDING/COLLAPSING PROCEEDURES */

h3.ToDoHead {
	display: block;
	color: #007aff; 
	cursor: pointer;
	margin-top: 0em;
}

h3 .ToDoDisclosureTriangle {
    background-image: url(../apple/css/img/arrow-blue.svg);
    background-size: 1em 1em;
    width: 1em;
    height: 1em;
    display: block;
    float: left;
    margin-top: .23em;
    margin-right: .25em;
	margin-left: -.125em;
    transition:-webkit-transform .1s linear;
    transition:transform .1s linear
}

h3.ToDoHead.expanded .ToDoDisclosureTriangle { 
    -webkit-transform:rotate(90deg);
    transform:rotate(90deg);
    -webkit-backface-visibility:hidden;
    -ms-backface-visibility:hidden;
    -o-backface-visibility:hidden;
    backface-visibility:hidden
}

.Procedure {
	overflow: hidden;
}

.Procedure > *:last-child {
	padding-bottom: 2em;
}

.Procedure.expanded {
	max-height: 1000em;
	transition: max-height 0.25s ease-in;
}

.Procedure.collapsed {
	max-height: 0;
	transition: max-height 0.15s ease-out;
}

img.svg_inline_help, .apd-topic p img.svg_inline_help {
	width: 22px !important;
	height: 22px !important;
	margin-top: -5px;
} 

img.svg_inline_help, .apd-topic p img.svg_inline_help {
	vertical-align: bottom;
	margin-bottom: -2px;
}



/* 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;
}