/**
* Accessibility
*/
.ohr-kb-import a {
	color: #035779;
	text-decoration: underline !important;
}
.ohr-kb-import a:not(:has(*)) {
	text-decoration: underline !important;
}

/**
* Flags
*/
/* Link directly to KB that needs to be updated when document is published */
.ohr-kb-import a[href^="page.php"] {
    border: 2px dashed red;
}

/**
* Print
*/
.print-only {
	display: none;
}	
@media print {
	.print-only {
		display: initial;
	}
	.ohr-kb-import img {
		filter: grayscale(1);
	}
	.ohr-kb-import-meta strong {
		display: initial !important
	}
	.ohr-kb-import > :first-child {
		margin-top: 0;
	}
	.feedback_modal {
		display: none;
	}
	.ohr-kb-import .panel-content {
		display: block !important;
	}
	.ohr-kb-import strong {
		display: initial !important;
	}
	.ohr-kb-import table tr th[scope="row"] {
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;	*/
	}
	.ohr-kb-import table tr:first-child th[scope="row"] {
		border-top: none;
	}
	.ohr-kb-import .panel-content table:has(th[scope="row"]),
	.ohr-kb-import .panel-content table:has(th[scope="row"]) caption,
	.ohr-kb-import .panel-content table:has(th[scope="row"]) th,
	.ohr-kb-import .panel-content table:has(th[scope="row"]) td {
		/* row scope table in accordion */
		border: none;
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		margin-right: 0;
	}
	.ohr-kb-import .panel-content table:has(th[scope="row"]) td {
		/* row scope table in accordion */
		padding-bottom: 0;
		padding-top: 0;

	}
	.ohr-kb-import .panel-content table:has(th[scope="row"]) tr:not(:first-child) th {
		margin-top: 1rem;	
	}
	.ohr-kb-import .panel-content table:has(th[scope="row"]) th {
		/* row scope table in accordion */
		padding: 0;
        border-bottom: 1px solid #cccccc;
	}
	
	.ohr-kb-import .panel-head:before {
		content: "";
		border-color: #ccc;
		display: none;
	}
	.ohr-kb-import .panel-head,
	.ohr-kb-import .panel-content {
		border: none;
		padding: 0;
	}
	.ohr-kb-import .panel-content {
		margin-bottom: 2rem;
		padding: 1rem;
		border: 1px solid #ccc;
		border-top: 0;
	}
	.ohr-kb-import img {
	    max-width: 600px !important;
	}
	.ohr-kb-import blockquote, 
	.ohr-kb-import img, 
	.ohr-kb-import pre, 
	.ohr-kb-import tr {
		page-break-inside: auto;
	}
}

/**
* Screen
*/
@media screen {
	.ohr-kb-import:not(.mce-content-body) .panel-head:not(.expanded) + div.panel-content {
		display: unset !important;
		border: 0 !important;
		clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
		-webkit-clip-path: inset(50%) !important;
		clip-path: inset(50%) !important;  /* 2 */
		height: 1px !important;
		margin: -1px !important;
		overflow: hidden !important;
		padding: 0 !important;
		position: absolute !important;
		width: 1px !important;
		white-space: nowrap !important; 
	}
	.ohr-kb-import .panel-head.expanded + div.panel-content, 
	.ohr-kb-import .panel-head.expanded + div.panel-content {
		width: 100% !important;
		height: auto !important;
		padding: 1rem !important;
		opacity: 1 !important;
	}
}

/**
* Editor-only styles
*/
.ohr-kb-import:not(.mce-content-body) .doc-summary,
.ohr-kb-import:not(.mce-content-body) .writers-info {
	display: none;
}
.writers-info {
    border-radius: 8px;
    background: white;
    position: relative;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1rem 1.5rem;
	box-shadow: 2px 2px 8px 0 lightgrey;
}
.writers-info *:is(h2,h3,h4,h5,h6) {
	color: inherit;
	margin-top: 0;
}
.writers-info a {
	text-decoration: underline !important;
}
/*.writers-info:before {
    content: "Writers:";
    background-color: white;
	font-size: 1.125rem;
    padding: 2px 8px 3px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: 1px dashed;
    position: absolute;
    bottom: 100%;
    font-weight: 650;
    left: -1px;
    border-bottom: 0;
}*/
.writers-info ul:last-child,
.writers-info li:last-child,
.writers-info li > p:last-of-type,
.writers-info p:last-child {
	margin-bottom: 0;
}
.ohr-kb-import.mce-content-body .example .panel-head:not(.expanded) {
	margin-bottom:0;
}
.ohr-kb-import.mce-content-body .example .panel-head + .panel-content {
	margin-bottom: 1rem;
}

/**
* Preview-only styles
*/
.doc-title {
    position: relative;
    margin-top: 3rem;
	padding-top: 0 !important;
	font-size: 2rem;
}
.doc-title:before {
	content: "";
	background-color: #c5050c;
    position: absolute;
    left: 0;
    top: -12px;
    height: 5px;
    width: 3rem
}
.ohr-kb-import #body-container #container {
    border-top: 0;
	padding-bottom: 6rem;
}
.ohr-kb-import #body-container #container > footer,
.ohr-kb-import #body-container > header[role="banner"] {
	display: none;
}
.ohr-kb-import #body-container #maincontent {
    width: 100%;
    max-width: 75rem;
    padding: 1.5rem 2rem;
    border: 1px solid #dedede;
    background: #fafafa;
    border-radius: 10px;
}
	
/**
 * Style Guide
 */
.mce-content-body.ohr-kb-import {
    padding: 10px !important;
}

.example {
    padding: 1rem 3rem;
    margin-bottom: 2rem;
    background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%), linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border: 1px solid #dedede;
    border-radius: 8px;
}
.example pre {
    border: 1px solid #dedede;
    border-top: 1px dotted #dedede;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.example  .template-instructions .panel-content pre {
	border: none;
    border-radius: 10px;
    margin: 0;
}


.example .template-instructions .panel-head:not(.expanded) {
    border-radius: 10px;
}
.example .panel-head {
    margin-top: 3rem;
}
.example  .template-instructions .panel-head.expanded {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.example .code-label {
    border: 1px solid #dedede;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    margin-bottom: 0;
    border-bottom: 0;
    background: #f4f4f4;
    padding: 4px 10px;
}
.example h1.page-title.uw-mini-bar {
	margin-top: 2.2rem;
}

.example .template-instructions {
    border-radius: 8px;
    background: white;
    position: relative;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1rem 1.5rem;
	box-shadow: 2px 2px 8px 0 lightgrey;
	margin: 0 -2rem 4rem;
}

.example .template-instructions *:is(h2,h3,h4,h5,h6) {
	color: inherit;
	margin-top: 0;
}
.example .template-instructions a {
	text-decoration: underline !important;
}

.example .template-instructions ul:last-child,
.example .template-instructions li:last-child,
.example .template-instructions li > p:last-of-type,
.example .template-instructions p:last-child {
	margin-bottom: 0;
}



.hr-notice-red strong,
.hr-notice-orange strong,
.hr-notice-green strong {
	font-weight: 500;
}
.hr-notice-red p:last-child,
.hr-notice-orange p:last-child,
.hr-notice-green p:last-child {
	margin-bottom: 0;
}

.hr-notice-green {
	  border-radius: 6px;
    padding: .5rem 1rem;
    border: 1px solid #00b95c;
    background: palegreen;
		margin: 1rem 0;
}

.hr-notice-red {
	  border-radius: 6px;
    padding: .5rem 1rem;
    border: 1px solid #c5060c;
    background: #fdb5b7;
		margin: 1rem 0;
}

.hr-notice-orange {
	  border-radius: 6px;
    padding: .5rem 1rem;
    border: 1px solid #ffdb99;
    background: #fff6e5;
		margin: 1rem 0;
}

/* KB Table */
.ohr-kb-import table {
	width: 100% !important;
	border-color: #e6e6e6 !important;
	height: auto !important;
}

.ohr-kb-import table caption {
	border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: #e6e6e6;
    border: none;
    border-bottom: 0;
	font-size: 1.25rem;
}
.ohr-kb-import table tr th,
.ohr-kb-import table tr td {
	min-width: 160px; 
}
.ohr-kb-import table tr th {
	text-transform: initial;
}
.ohr-kb-import table colgroup col {
    width: unset !important;
}
.ohr-kb-import table tbody td, 
.ohr-kb-import table tbody th {
	padding: 1rem;
}

/* Tables - column scope */
.ohr-kb-import table tr th[scope="col"] {
	position: sticky;
	top: 0;
	white-space: nowrap;
	background: #ffffff;
	border-bottom: 1px solid #e6e6e6;
}
.ohr-kb-import table tr th[scope="col"] p {
	margin-bottom: 0;
}

.ohr-kb-import table:has(tr th[scope="col"]) th:not(:last-child) {
	border-right: 1px dotted #e6e6e6;
}
.ohr-kb-import table:has(tr th[scope="col"]) td:not(:last-child) {
	border-right: 1px solid #e6e6e6;
}

@media print, screen and (max-width: 40em) {
	.ohr-kb-import div:has(>table tr th[scope="col"]) {
		overflow-x: scroll;
		margin-bottom: 1rem
	}
	.ohr-kb-import div:has(>table tr th[scope="col"]) table {
		margin-bottom: .25rem
	}
	.ohr-kb-import div:has(>table tr th[scope="col"])::-webkit-scrollbar {
		height: 8px;
		width: 0;	
	}
	.ohr-kb-import div:has(>table tr th[scope="col"])::-webkit-scrollbar-thumb {
		background: #ccc;
		border-radius: 4px;
		width: 10px
	}
	.ohr-kb-import div:has(>table tr th[scope="col"])::-webkit-scrollbar-thumb:hover {
		background: #888;
	}
}

/* Tables - row scope */
.ohr-kb-import table tr[style*="height"] {
	height: auto !important;
}
.ohr-kb-import table tr th[scope="row"] {
	text-transform: none;
	vertical-align: top;
}
.ohr-kb-import table tr th[scope="row"] h2,
.ohr-kb-import table tr th[scope="row"] h3,
.ohr-kb-import table tr th[scope="row"] h4,
.ohr-kb-import table tr th[scope="row"] h5,
.ohr-kb-import table tr th[scope="row"] h6 { 
	margin: .5rem 0;
	font-size: 1.125rem;
}
.ohr-kb-import table tr:nth-of-type(odd) th[scope="row"] {
    background: #f0f0f0;
}
.ohr-kb-import table tr:nth-of-type(odd) th[scope="row"]+td {
    background: #fafafa;
}
.ohr-kb-import table tr:nth-of-type(even) th[scope="row"] {
    background: #e6e6e6;
}
.ohr-kb-import table tr:nth-of-type(even) th[scope="row"]+td {
    background: #f2f2f2;
}



@media print, screen and (max-width: 40em) {
/*    .ohr-kb-import table tr:nth-of-type(odd) th[scope="row"],
  .ohr-kb-import table tr:nth-of-type(even) th[scope="row"] {
  	background: #f0f0f0;
	}
  .ohr-kb-import table tr:nth-of-type(odd) th[scope="row"]+td,
  .ohr-kb-import table tr:nth-of-type(even) th[scope="row"]+td {
		    background: #fafafa;
	}
.ohr-kb-import table tr th[scope="row"], 
  .ohr-kb-import table tr th[scope="row"]+td {
    display: block;
 	width: 100% !important;
  }
*/
	.ohr-kb-import table tr:nth-of-type(odd):has(td:only-of-type) th[scope="row"],
  	.ohr-kb-import table tr:nth-of-type(even):has(td:only-of-type) th[scope="row"] {
  		background: #f0f0f0;
	}
	.ohr-kb-import table tr:nth-of-type(odd):has(td:only-of-type) th[scope="row"]+td,
  	.ohr-kb-import table tr:nth-of-type(even):has(td:only-of-type) th[scope="row"]+td {
		    background: #fafafa;
	}
	.ohr-kb-import table tr:has(td:only-of-type) th[scope="row"], 
  	.ohr-kb-import table tr:has(td:only-of-type) th[scope="row"]+td {
    	display: block;
 		width: 100% !important;
  	}
}
.ohr-kb-import .hr-date-list {
	list-style: none;
    margin-left: 0;
} 

/* KB Images */
.ohr-kb-import img {
	margin: 1rem 0;
	border-radius: 10px;
    border: 1px solid #cccccc;
}


/* KB Step Order */

.ohr-kb-import .hr-step-list, 
.ohr-kb-import .hr-step-list ul, 
.ohr-kb-import .hr-step-list ol {
    list-style-position: inside;
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
    overflow: scroll;
    width: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    overflow: scroll;
}
.ohr-kb-import .hr-step-list li {
	    position: relative;
}

.ohr-kb-import .hr-step-list li:not(:has(> ul, > ol)) {
    padding: .5rem 1rem;
    margin: 0 2rem;
    font-weight: 600;
    margin-left: 0rem;
    background: #f2f2f2;
    border: 2px solid #555;
    border-radius: 4px;
    font-size: 1rem;
    flex-grow: 1;
    white-space: nowrap;
}

.ohr-kb-import .hr-step-list li:has(> ul, > ol) {
    margin-right: 2rem;

}
.ohr-kb-import .hr-step-list li > ul, 
.ohr-kb-import .hr-step-list li > ol {
    padding: 1rem;    
	  border: 2px dashed #555;
    border-radius: 12px;
}
.ohr-kb-import .hr-step-list li:has(> ul, > ol) li:last-child {
    margin-right: 0;
}

.ohr-kb-import .hr-step-list li:not(:has(> ul, > ol)):not(:last-child):after, .ohr-kb-import .hr-step-list li:has(> ul, > ol):not(:last-child):after {
    content: "\003E";
    position: absolute;
    top: 50%;
    right: calc(-.5rem - 3px);
    transform: translate(100%, -50%);
    color: #333;
    z-index: 1;
    font-size: 1.5rem;
	font-weight: 600;
}

.ohr-kb-import .hr-step-list>li * {
	font-size: 1rem;
	overflow: visible;
}
.ohr-kb-import .hr-step-list>li:nth-of-type(1) {
	margin-left:0;
}
.hr-step-list::-webkit-scrollbar {
  height: 8px;
  width: 0;		
}

.hr-step-list::-webkit-scrollbar-thumb {
  background: #ccc;
	border-radius: 4px;
}
.hr-step-list::-webkit-scrollbar-thumb:hover {
  background: #888;
}

/**
* Vertical step list
*/

.ohr-kb-import .hr-step-list.vertical,
.ohr-kb-import .hr-step-list.vertical ul, 
.ohr-kb-import .hr-step-list.vertical ol {
    overflow:visible;
}


.ohr-kb-import .hr-step-list.vertical{
    display: block;
}

.ohr-kb-import .hr-step-list.vertical li:not(:has(> ul, > ol)) {
    margin: 2rem 0;
}

.ohr-kb-import .hr-step-list.vertical li:not(:has(> ul, > ol)):not(:last-child):after, 
.ohr-kb-import .hr-step-list.vertical li:has(> ul, > ol):not(:last-child):after {
    left: 50%;
    top: 100%;
    transform: translate(-50%, 0) rotate(90deg);
}

.ohr-kb-import .hr-step-list.vertical li:has(> ul, > ol) {
    margin-right: 0;
    display: flex;
    gap: 1rem;
}

.ohr-kb-import .hr-step-list.vertical ul, 
.ohr-kb-import .hr-step-list.vertical ol {
    margin: 0;
    display: block;
}

.ohr-kb-import .hr-step-list.vertical ul li:first-of-type, 
.ohr-kb-import .hr-step-list.vertical ol li:first-of-type {
    margin-top: 0;
}

.ohr-kb-import .hr-step-list.vertical ul li:last-of-type,
.ohr-kb-import .hr-step-list.vertical ol li:last-of-type {
    margin-bottom: 0;
}

/**
* Checklist
*/
.hr-checkbox-list:is(ul,ol) ul, 
.hr-checkbox-list:is(ul,ol) ol {
    margin-left: 3.125rem;
}
.hr-checkbox-list:is(ul,ol) > li {
    position: relative;
}

.hr-checkbox-list:is(ul,ol) > li:before {
    content: "";
    height: 1.125rem;
    width: 1.125rem;
    border: 2px solid;
    display: block;
    position: absolute;
    top: 0;
    left: -.5rem;
    transform: translate(-100%, .25rem);
}

.hr-checkbox-list:is(ul,ol) > li::marker {
    content: "";
}

.hr-checkbox-list:is(ul,ol) > li.hide-checkbox::marker, 
.hr-checkbox-list:is(ul,ol) > li.hide-checkbox::before {
    content: initial;
}

/**
* Accordion
*/
.ohr-kb-import p:has(#expandAll) {
    text-align: right !important;
    max-width: 100% !important;
    margin-bottom: 0;
}
.ohr-kb-import p:has(#expandAll) button {
    margin: 0;
    font-weight: 400;
    color: #0479a8;
    font-family: var(--uwTextFont);
    font-size: 1rem;
}
.ohr-kb-import p:has(#expandAll) button#collapseAll {
    padding-left: .5rem;
    margin-left: .5rem;
    border-left: 1px solid #646569;
}
.ohr-kb-import .panel-head {
    border-radius: 0;
    margin-top: 0;
    padding: 1rem 1rem 1rem 1rem;
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 625;
    background-color: #fff;
    border: 1px solid #ccc;
    font-family: var(--uwTextFont);
}
.ohr-kb-import .panel-content {
    /*border-radius: 0 !important;*/
    background: #fff;
	border-color:#ccc;
}

.ohr-kb-import .panel-content[aria-hidden="false"] {
	margin-top: -8px;
	margin-bottom: 8px;
	border: 1px solid #ccc;
	border-top: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
	box-shadow: 0px 6px 6px -5px lightgrey;
}
.ohr-kb-import .panel-head:focus,
.ohr-kb-import .panel-head.expanded {
    color: #fff;
    background-color: #0479a8;
    outline: 0;
	border: 1px solid #0779a8;
}
.ohr-kb-import .panel-head.expanded:first-of-type {
	margin: 0;
}

.ohr-kb-import .panel-head:before {
    content: "+";
    padding-right: 10px;
    font-size: 24px;
}

.ohr-kb-import .panel-head.expanded:before {
    content: "-";
}