/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */
@import url("https://use.fontawesome.com/releases/v5.3.1/css/all.css");

.postbox.wcag_seamless{border: none;background: none;box-shadow: none;}
.postbox.wcag_seamless .handlediv, .postbox.wcag_seamless .hndle{display:none;}


/* Admin menu icon */

@font-face {
    font-family: 'wcag';
    src: url('../icon/wcag.eot');
    src: url('../assets/icon/wcag.eot') format('embedded-opentype'),
    url('../icon/wcag.ttf') format('truetype'),
    url('../icon/wcag.woff') format('woff'),
    url('../icon/wcag.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

#adminmenu #menu-posts-wcag_scan div.wp-menu-image:before {
    /* This is the unicode emoji of a megaphone/loudspeaker, which makes a decent fallback. */
    font-family: 'wcag', 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 Menu */


/* Admin Notices */

.wcag-notice {
    position: relative;
}

.dismissed {
    display: none !important;
}

.scan-note{
    background-color: #ffffff;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #8e8592;
    border-top: 0;
}

.wcag-list .available,
.wcag-list .not-available{
    display:none;
}
.wcag-content .player-modal-wrap{
    position: fixed;
    top: 0;
    left: -180px;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display:none;
    z-index: 9999;
}
.wcag-content #player-modal{
    width: 100%;
    max-width: 537px;
    height: 100%;
    max-height: 600px;
    position: fixed;
    background-color: white;
    top: calc(50% - 300px);
    left: calc(50% - 268px);
    border: 1px solid black;
    border-radius: 4px;
    box-sizing:border-box;
    padding:15px;
}
.wcag-content .player-modal-wrap.active{
    display:block;
}
.wcag-content #player-modal.youtube .top.embed{
    height:50%;
}
.wcag-content #player-modal.vimeo .top.embed{
    height:100%;
}
.wcag-content #player-modal .top.embed iframe{
    width:100%;
    height:100%;
}
.wcag-content #player-modal button.close{
    background: #261928;
    color: white;
    border: 0;
    font-size: 20px;
    padding: 0 7px 1px 7px;
    border-radius: 3px;
    cursor: pointer;
}
.wcag-content #player-modal button.close:not(.mobile){
    position: absolute;
    top: -13px;
    right: -14px;
}
.wcag-content #player-modal.vimeo .bottom{
    height:0%;
}
.wcag-content #player-modal.youtube .bottom{
    height:50%;
    padding-top:5px;
}
.wcag-content #player-modal .bottom .description{
    height:100%;
    overflow-x:hidden;
    width:100%;
    overflow-y:auto;
}

/* Two column layout for custom pages */

@media ( min-width: 1200px) {
    .wcag-main:after {
        content: '';
        display: block;
        clear: both;
    }
    .wcag-header{
        display:flex;
    }
    .wcag-header > div:first-child{
        padding-right: 30px;
        flex-grow: 1;
        flex-shrink: 0;
        flex-basis: 0;
    }
    .wcag-header > .wcag-sidebar{
        display: flex;
        justify-content: flex-end;
        flex-basis: 250px;
    }
    .wcag-header > .wcag-sidebar > .wcag-widget{
        padding-right:50px;
    }
}

@media ( max-width: 1199px) {
    .wcag-main {
        display: flex;
        flex-direction: column;
    }
    .wcag-content {
        margin: 0 0 40px;
    }
    .wcag-sidebar{
        margin-top:30px;
    }
}
@media (max-width: 564px){
    .wcag-content #player-modal .top button.close{
        display:none;
    }
    .wcag-content #player-modal .bottom button.close.mobile{
        position:relative;
        left: calc(50% - 52px);
    }
}
@media (max-width: 564px){
    .wcag-content #player-modal{
        left:0;
        right:0;
    }
}
@media ( min-width:320px ){
    .wcag-list dl dd >div{
        max-width:1080px;
        display:flex;
    }
    .wcag-list dl dd .left{
        flex-grow:1;
        flex-basis:0;
    }
    .wcag-list dl dd .right{
        flex-basis:140px;
        padding-left:30px;
        display:flex;
        align-items:center;
        justify-content: center;
        flex-direction:column;
        text-align:center;
    }
    .wcag-list .play-video > i{
        font-size:40px;
    }
    .wcag-list .fa-lock,
    .wcag-list .fa-ban{
        font-size:40px;
    }
}


/* Highlight footnote tarets on Guidelines page in yellow */

.wcag-footnotes p:target {
    background: #ffa;
    box-shadow: 0 0 0 8px #ffa;
}


/* Guidelines */

.wcag-list dt a {
    color: #444;
    text-decoration: none;
}

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

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

dl.wcag-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.wcag-list blockquote {
    font-size: 18px;
    line-height: 24px;
    font-style: italic;
    font-weight: 500;
}

dl.wcag-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;
}

.wcag-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;
}

.wcag-checklist a,
.wcag-list a {
    outline: initial;
    text-decoration: none;
    color: #444;
}

.wcag-checklist a:hover,
.wcag-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,
.wcag-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.wcag-list blockquote .dashicons {
    position: absolute;
    display: block;
    margin-top: -4px;
    margin-left: -45px;
    font-size: 40px;
    color: #e6e6e6;
}

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

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


/* Guidelines target indicator */

dl.wcag-list dt+dd {
    border: 0 solid transparent;
    transition: border-color 1.5s;
}

dl.wcag-list dt+dd:before,
dl.wcag-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.wcag-list dt:target {
    z-index: 10;
}

dl.wcag-list dt:target+dd {
    position: relative;
    overflow: hidden;
    border-top: 2px solid #3f3244;
    border-bottom: 2px solid #3f3244;
}

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

dl.wcag-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.wcag_seamless {
    border: none;
    background: none;
    box-shadow: none;
}

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

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


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


/* Structure - Float */

.wcag-scan-progress-indicator .col {
    float: left;
    min-height: 225px;
}

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

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

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


/* Structure - Flexbox */

.wcag-scan-progress-indicator {
    display: flex;
    flex-direction: row;
}

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

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

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

.wcag-scan-progress-indicator .col-current .content {
    align-items: stretch;
}

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

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

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

.wcag-scan-progress-indicator .col-description .content-bottom {
    width: 100%;
    align-self: flex-end;
}

.wcag-scan-progress-indicator .button-row a {
    display: flex;
    align-items: center;
	font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: rgb(43, 28, 46);
    position: relative;
    text-align: left;
    width: 150px;
    padding-left: 50px;
    min-height: 38px;
    text-decoration: none;
    margin: 0px auto;
}


/* Appearance */

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

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

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

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

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

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

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

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

.wcag-scan-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: 13px;
}

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%;
    box-sizing:initial;
}

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: 6px;
    width: 3px;
    height: 17px;
    margin: 2px 0 0 0px;
    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.ada-plugin-notice-progress {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}


/** Control buttons, UNFINISHED */

.wcag-scan-progress-indicator .button-row {
    position: relative;
    margin: 10px 0;
}

.wcag-scan-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;
}

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

.wcag-scan-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%;
}

.wcag-scan-progress-indicator .button-row-dismiss a .icon {
    background: #939393;
}

.wcag-progress-indicator .button-row .icon::before {
    display: block;
}

.wcag-scan-progress-indicator .button-row.button-row-goto .icon::before {
    position: relative;
    left: 2px;
}


/* Pagination in the backend */

.wcag_box .tablenav .tablenav-pages {
    float: none;
}

.wcag_box .tablenav-pages-navspan.page-num-current,
.wcag_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;
}

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

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

.wcag-table .col-preview {
    width: 100px;
}

.wcag-table .col-preview a {
    display: block;
}

.wcag-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;
}

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

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

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

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

.wcag-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 .wcag-compliant,
tr.checked .wcag-ignore {
    opacity: 0.6;
}

tr.checked-compliant .wcag-compliant,
tr.checked-ignore .wcag-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 */

.wcag-schedule-field label {
    vertical-align: baseline;
}

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

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


/* Checklist */

.wcag-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;
}

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

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

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

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

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

.wcag-checklist-item.checklist-checked {
    border-left-color: #8e8592;
    opacity: 0.5;
}

.col-action {
    min-width: 100px;
}
.free-banner .logo{
    flex: 0 0 6%;
    -ms-flex: 0 0 6%;
    padding: 0 0 0 15px;
}
.free-banner .banner-left{
    padding: 0;
    flex: 1 1 90%;
    max-width:90%;
    -ms-flex:1 1 90%;
}
.free-banner .dismiss{ text-align:right; }
.banner-left div:first-child{ font-weight:700; }
.getting-started{ font-size:16px; }
.getting-started ul{
    list-style-type: disc;
    list-style-position: inside;
}
.getting-started h4{ margin-bottom:10px;}