﻿/* ads.css - styles for ad placeholders */
.ad-placeholder {
    align-items: center;
    background: #f3f3f3;
    border: 1px dashed #ccc;
    color: #666;
    display: flex;
    justify-content: center;
    position: relative
}

.ad-inner {
    padding: 8px;
    text-align: center
}

.ad-label {
    color: #555;
    font-size: 14px;
}

.ad-badge {
    background: #333;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    padding: 4px6px;
    position: absolute;
    right: 6px;
    top: 6px;
}

/* sizes */

.ad-billboard {
    height: 140px;
    width: 100%;
}

.ad-leader {
    height: 90px;
    width: 100%;
}

.ad-skyscraper {
    min-height: 680px;
    width: 100%;
}

.ad-rectangle {
    height: 120px;
    width: 100%;
}

.ad-inline {
    height: 120px;
    width: 100%;
}

/* density */

.ad-density-low { padding: 24px }

.ad-density-medium { padding: 8px }

.ad-density-high { padding: 2px }

/* responsive adjustments */

@media (max-width: 767px) {
    .ad-billboard { height: 90px }

    .ad-skyscraper { min-height: 240px }
}

/* high contrast and a11y */

.code-ch--err {
    background: #550000;
    color: #fff
}

