/* Admin menu icon */
@font-face {
	font-family: 's508';
	src:  url('icon/s508.eot?s6kf3o');
	src:  url('icon/s508.eot?s6kf3o#iefix') format('embedded-opentype'),
	url('icon/s508.ttf?s6kf3o') format('truetype'),
	url('icon/s508.woff?s6kf3o') format('woff'),
	url('icon/s508.svg?s6kf3o#s508') format('svg');
	font-weight: normal;
	font-style: normal;
}

#adminmenu #menu-posts-s508_scan div.wp-menu-image:before {
	/* This is the unicode emoji of a megaphone/loudspeaker, which makes a decent fallback. */
	font-family: 's508', sans-serif !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	content: "\1f56c";
}



/* Admin Notices */
.s508-notice {
	position: relative;
}

/* Two column layout for custom pages */
@media ( min-width: 1200px ) {
	.s508-main:after {
		content: '';
		display: block;
		clear: both;
	}

	.s508-content {
		margin-right: 320px;
	}

	.s508-sidebar {
		float: right;
		width: 280px;
	}
}

@media ( max-width: 1199px ) {
	.s508-main {
		display: flex;
		flex-direction: column;
	}
	.s508-content {
		order: 1;
		margin: 0 0 40px;
	}
	.s508-sidebar {
		order: 2;
		max-width: 400px;
		margin: 0 auto;
	}
}

/* Highlight footnote tarets on Guidelines page in yellow */
.s508-footnotes p:target {
	background: #ffa;
	box-shadow: 0 0 0 8px #ffa;
}

/* Guidelines */
.s508-list dt a {
	color: #444;
	text-decoration: none;
}

dl.s508-list dd {
	background: #fff;
	margin: 1em;
	padding: 18px;
}

.checklist-article-number,
dl.s508-list dt {
	font-weight: 700;
	font-size: 18px;
}

dl.s508-list dt {
	position: absolute;
	padding: 74px 0 0 38px; /* Add 50px so clicking/following the link doesn't get covered by the admin bar */
	margin: -50px 0 0 1em; /* Subtract 50px so clicking/following the link doesn't get covered by the admin bar */
}

blockquote.checklist-title,
dl.s508-list blockquote {
	font-size: 18px;
	line-height: 24px;
	font-style: italic;
	font-weight: 500;
}

dl.s508-list blockquote {
	margin: 2.5em 0 1em 70px;
}
.separator{border:none;width:100%;}
.review-object-details{font-size:16px;}
.review-object-information{margin-top:5px;}
.s508-wp-desc{margin: 0 0 0 115px;}
.step-heading{font-size:16px;margin-top:20px;}
.step-heading .tip{font-size:14px;margin-top:10px;}
.step-heading a, .review-object-details a{color:#444;font-weight:700;text-decoration:none;}
.principle-heading{
    font-size: 32px;
    margin-top: 30px;
    line-height: 1.3;
    font-weight: 700;
}
.s508-checklist a, .s508-list a{outline:initial;text-decoration:none;color:#444;}
.s508-checklist a:hover, .s508-list a:hover{opacity: .8;}
.principle-subheading{font-size: 20px;margin-bottom: 30px;margin-left:10px;}
.guideline-heading{font-size:24px;}
.guideline-sub-heading{font-size:16px;margin-left:10px;margin-top:10px;}
.quotes{position:relative;padding-left:45px;padding-right: 45px;display:inline-block;}
.quotes:before{
	content: "\f122";
	display:block;
	position:absolute;
	font-size:40px;
	color:#e6e6e6;
	font-family:dashicons;
	left:0;
	font-style:normal;
}
.quotes:after{
	content: "\f122";
	display:inline-block;
	position:absolute;
	font-size:40px;
	color:#e6e6e6;
	font-family:dashicons;
	right:0;
	font-style:normal;
	transform: rotate(180deg);
    bottom:4px;
}
.guideline-wrap, .s508-checklist-item{margin-left:20px;}
.quotes > .bullet{display: list-item;margin-left: 20px;}
.quotes > .bullet > span:first-child{font-weight:700;}

blockquote.checklist-title .dashicons,
dl.s508-list blockquote .dashicons {
	position: absolute;
	display: block;
	margin-top: -4px;
	margin-left: -45px;
	font-size: 40px;
	color: #e6e6e6;
}

ol.s508-wp-desc {
	margin-left: 80px;
	font-size: 16px;
	line-height: 24px;
}

li.s508-limitation {
	font-style: italic;
	color: #666;
}

/* Guidelines target indicator */
dl.s508-list dt + dd {
	border: 0 solid transparent;
	transition: border-color 1.5s;
}

dl.s508-list dt + dd:before,
dl.s508-list dt + dd:after {
	content: '';
	display: block;
	position: absolute;
	background: transparent;
	border: 0 solid transparent;
	transition: background 0.5s, border-color 1.5s 0.5s;
}

dl.s508-list dt:target {
	z-index: 10;
}

dl.s508-list dt:target + dd {
	position: relative;
	overflow: hidden;

	border-top: 2px solid #3f3244;
	border-bottom: 2px solid #3f3244;
}

dl.s508-list dt:target + dd:before,
dl.s508-list dt:target + dd:after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	height: 100%;
	width: 8px;
	background: #3f3244;
}

dl.s508-list dt:target + dd:after {
	width: 0;
	height: 0;
	left: 0;
	top: 50%;
	bottom: auto;

	margin-left: -25px;
	margin-top: -25px;
	transform: rotate(45deg);
	transform-origin: center;
	background: none;
	border: 25px solid #3f3244;
}

/* Seamless meta boxes */
.postbox.s508_seamless {
	border: none;
	background: none;
	box-shadow: none;
}

.postbox.s508_seamless .handlediv, .postbox.s508_seamless .hndle {
	display: none;
}

#poststuff .s508_seamless > .inside,
.postbox.s508_seamless > .inside {
	padding: 0;
}


/********************************
**     Progress Indicator      **
********************************/

/* Structure - Float */
.s508-progress-indicator .col {
	float: left;
	min-height: 225px;
}

.s508-progress-indicator:after {
	content: '';
	display: block;
	clear: both;
}

.progress-indicator {
	display: inline-block;
}

.progress-display {
	display: inline-block;
}

/* Structure - Flexbox */
.s508-progress-indicator {
	display: flex;
	flex-direction: row;
}

.s508-progress-indicator .col {
	display: flex;
	flex-direction: column;
}

.s508-progress-indicator .col .content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-grow: 1;
}

.s508-progress-indicator .col-overall .content,
.s508-progress-indicator .col-current .content {
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.s508-progress-indicator .col-current .content {
	align-items: stretch;
}
.s508-progress-indicator .col-current .content .progress-current-number {
	display: flex;
	align-items: center;
}

.s508-progress-indicator .col-description .content {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
}

.s508-progress-indicator .col-description .content-top {
	width: 100%;
}

.s508-progress-indicator .col-description .content-bottom {
	width: 100%;
	align-self: flex-end;
}
.s508-progress-indicator .button-row a {
	display: flex;
	align-items: center;
}

/* Appearance */
.s508-progress-indicator .col {
	width: 33.330%;
	text-align:  center;
	border: 1px solid #8e8592;
	background: #ffffff;
	border-right-width: 0;
	box-sizing: border-box;
}

.s508-progress-with-controls .s508-progress-indicator .col {
	width: 25%;
}

.s508-progress-indicator .col:last-child {
	border-right-width: 1px;
}

.s508-progress-indicator .header {
	background: #2b1c2e;
	color: #fff;
	font-weight: bold;
	font-size: 18px;
	line-height: 26px;
	padding: 8px;
}

.s508-progress-indicator .content {
	padding: 15px 5px;
}

.s508-progress-indicator .label {
	font-size: 16px;
	font-style: italic;
	color: #615567;
	margin: 0 0 3px;
}

.s508-progress-indicator .col-overall strong,
.s508-progress-indicator .col-description strong {
	font-size: 18px;
	line-height: 24px;
	color: #615567;
}

.s508-progress-indicator .col-overall strong {
	font-size: 20px;
}

.s508-progress-indicator .col-current .progress-current-number strong {
	font-size: 30px;
}

.progress-indicator,
.progress-current-bar {
	display: inline-block;
	max-width: 80px;
}

.progress-display,
.progress-current-number {
	display: inline-block;
	max-width: 120px;
	padding-left: 20px;
}

/* Overall Progress bullets */
div.indicator {
	margin-bottom: 10px;
}

div.indicator:last-child {
	margin-bottom: 0;
}

span.indicator-index,
span.indicator-circle {
	display: inline-block;
	line-height: 21px;
	vertical-align: middle;
}

span.indicator-index {
	font-style: italic;
	margin-right: 5px;
}

span.indicator-circle {
	position: relative;
	width:  15px;
	height: 15px;
	border: 3px solid #8e8592;
	border-radius: 100%;
}

div.indicator-complete span.indicator-circle {
	background: #201223;
	border-color: #3e3144;
}

div.indicator-current span.indicator-circle {
	background: #8e8592;
	border-color: #8e8592;
}

span.indicator-circle:after {
	content: '';
	display: block;
	position: absolute;
	top: 100%;
	left: 50%;
	width: 3px;
	height: 12px;
	margin: 2px 0 0 -2px;
	background: #8e8592;
}

div.indicator:last-child span.indicator-circle:after {
	display: none;
}

.progress-current-bar {
	position: relative;
	overflow: hidden;
	min-height: 120px;
	width: 12px;
	border: 3px solid #2b1c2e;
	background: #3e3144;
	border-radius: 12px;
}

.progress-current-bar .progress-current-antilevel {
	position: absolute;
	background: #fff;
	width: 100%;
}

/* Disable the "Updated" style from appearing when progress widget is placed as an admin notice */
.wrap .updated.s508-notice-progress {
	padding: 0;
	background: none;
	border: none;
	box-shadow: none;
}

/** Control buttons, UNFINISHED */
.s508-progress-indicator .button-row {
	position: relative;
	margin: 10px 0;
}

.s508-progress-indicator .button-row a {
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	text-transform: uppercase;
	color: #2b1c2e;

	position: relative;
	text-align: left;
	width: 150px;
	padding-left: 50px;
	margin: 0 auto;

	min-height: 38px;
}

.s508-progress-indicator .button-row-dismiss a {
	color: #939393;
}

.s508-progress-indicator .button-row .icon {
	position: absolute;
	left: 0px;
	top: 50%;
	margin-top: -16px;
	display: inline-block;
	width: 33px;
	height: 33px;
	font-size: 30px;
	line-height: 33px;
	vertical-align: top;
	background: #2b1c2e;
	color: #fff;
	border-radius: 100%;
}
.s508-progress-indicator .button-row-dismiss a .icon {
	background: #939393;
}

.s508-progress-indicator .button-row .icon::before {
	display: block;
}
.s508-progress-indicator .button-row.button-row-goto .icon::before {
	position: relative;
	left: 2px;
}

/* Pagination in the backend */
.s508_box .tablenav .tablenav-pages {
	float: none;
}

.s508_box .tablenav-pages-navspan.page-num-current,
.s508_box .tablenav-pages-navspan.page-num-ellipsis {
	background: none;
	border: none;
}

/* Table layout: Media review page */
.col-preview img {
	display: block;
	max-width: 100px;
	max-height: 100px;
	width: auto;
	height: auto;
}

.s508-table {
	table-layout: fixed;
	max-width: 100%;
	text-align: left;
	margin: 40px 0;
}

.s508-table th,
.s508-table td {
	padding: 0 5px;
	vertical-align: top;
}

.s508-table .col-preview {
	width: 100px;
}
.s508-table .col-preview a {
	display: block;
}

.s508-continue {
	margin: 40px 5px 20px;
	line-height: 28px;
}

table.info-table th {
	font-weight: 400;
	text-align: right;
	padding-right: 0;
}

table.info-table tr.no-value th,
table.info-table tr.no-value .description {
	color: #aaa;
}

.s508-table input[type="text"] {
	width: 240px;
}

.s508-table td {
	padding-top: 8px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e5e5;
}

.s508-table tr:last-child > td {
	padding-bottom: 0;
	border-bottom: 0;
}

.s508-table table td {
	border: none;
	padding: 0 0 0 4px;
}

.s508-table .scan-object-file-details {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 800px;
}

/* Reviewing Others */
.review-object-instructions {
	margin: 0 0 10px;
}

.review-object-instructions h2,
#poststuff .review-object-instructions h2 {
	margin: 0 0 10px;
	padding: 0;
	font-size: 20px;
}

tr.checked .s508-compliant,
tr.checked .s508-ignore {
	opacity: 0.6;
}

tr.checked-compliant .s508-compliant,
tr.checked-ignore .s508-ignore {
	opacity: 1;
	font-weight: 600;
}

tr .ignore-notes {
	display: none;

	margin: 6px 0 0;
	font-size: 11px;
}

tr.checked-ignore .ignore-notes {
	display: block;
}

.found-objects.found-single {
	list-style: none;
}

/* Scan Information metabox, before starting */
.s508-schedule-field label {
	vertical-align: baseline;
}

span.s508-schedule-reminder-text {
	display: none;
}

span.s508-schedule-reminder-text.schedule-enabled {
	display: inline;
}

/* Checklist */
.s508-checklist-intro {
	margin: 40px 0 20px;
	font-size: 18px;
	font-weight: 600;
}

.checklist-article-number {
	margin-right: 10px;
	font-weight: 700;
}

.checklist-checkbox {
	position: relative;
	top: -2px;
}

.checklist-agree-text {
	clear: both;
	font-size: 18px;
	margin: 10px 0;
}

.s508-checklist-item {
	margin: 20px 0 40px 20px;
	padding: 20px;
	box-shadow: 1px 1px 5px -2px #2b1c2e;
}

/* blockquote.checklist-title {
	margin: 20px 0 10px 60px;
} */
blockquote.checklist-title {
	margin: 20px 0 10px 30px;
}

/* .checklist-description {
	margin-left: 60px;
} */
.checklist-description {
	margin-left: 75px;
}

/* .checklist-checkbox {
	margin-top: 30px;
} */
.checklist-checkbox {
	margin-top: 30px;
	margin-left: 75px;
}

.s508-checklist-item {
	border-left: 5px solid #201223;
}

.s508-checklist-item.checklist-checked {
	border-left-color: #8e8592;
	opacity: 0.5;
}
.col-action{
    min-width: 100px;
}
