/*
 * ====================================================================================================================
 * COMPATIBILITY -- css layout
 * ====================================================================================================================
 */

.appdb-top-search-bar {
    background-color: #044469;
    color: #fff;
}

.appdb-blurb-box img {
    width: 400px;
    float: left;
    padding-right: 1em;
}

.appdb-blurb-box h2 {
    margin-top: 1.5em;
}

.top-list {
    margin-top: 2em;
    margin-bottom: 2em;
}
.top-list img {
    max-width: 100%;
    height: auto;
}
.ta-title {
    text-align: center;
    margin-bottom: 5px;
    background-color: #044469;
}
.ta-title h3 {
    margin: 0.5em 0px;
}
.ta-title h3 a {
    font-size: 36px;
    color: #f9a331;
    text-transform: uppercase;
    font-family: HelveticaBlack;
}
.ta-container {
    background-color: #E8E8E8;
    display: flex;
}
.ta-box {
    text-align: center;
    padding: 3em;
}
.ta-box:nth-child(1), .ta-box:nth-child(2) {
    border-right: 5px solid white;
}

.appdb-rating-box {
    
}

.appdb-rating-box ul {
    font-size: 175%;
}

.appdb-rating-box h4 {
    color: #f86b23;
    text-align: left;
}

.appdb-rating-box b {
    color: #f86b23;
}

.appdb-rating-box span {
    color: #aaa;
    font-size: 75%;
}

.dist-table>tbody>tr>td {
    border: none;
}

UL.appdb-app-list {
    list-style: none;
    padding-left: 1em;
}
UL.appdb-app-list li {
    padding: 0.5em;
}
UL.appdb-app-list li:nth-child(even) {
    background-color: #eee;
    border-radius: 5px;
}

UL.appdb-owner-list {
    list-style: none;
    padding-left: 2em;
    padding-right: 5em;
    max-height: 12em;
    overflow: auto;
}
UL.appdb-owner-list li {
    padding: 0.5em;
}
UL.appdb-owner-list li:nth-child(even) {
    background-color: #eee;
    border-radius: 5px;
}
UL.appdb-owner-list li span.owner-name img {
    margin-right: 10px;
}
UL.appdb-owner-list li span.owner-rank {
    float: right;
}

.appdb-box-step1 .appdb-box, .appdb-box-step2 .appdb-box, .appdb-box-step3 .appdb-box {
    height: 280px;
    padding: 1em;
    text-align: center;
    margin-left: -0.5em;
    margin-right: -0.5em;
    border-radius: 2px;
}

.appdb-box-step1 .appdb-box { background-color: #bbd1da; color: #00426b; }
.appdb-box-step2 .appdb-box { background-color: #d0d3d0; color: #3e4c3b; }
.appdb-box-step3 .appdb-box { background-color: #ffddc7; color: #ff740d; }

.appdb-box-step1 h4, .appdb-box-step2 h4, .appdb-box-step3 h4 {
    height: 4em;
}

.appdb-box-step1 h4 b, .appdb-box-step2 h4 b, .appdb-box-step3 h4 b {
    font-size: 150%;
}

.appdb-box-step1 h4 span, .appdb-box-step2 h4 span, .appdb-box-step3 h4 span {
    font-size: 90%;
}

.appdb-box-step1 img, .appdb-box-step2 img, .appdb-box-step3 img {
    width: 80%;
}

.appdb-box-step1 .app_view_button, .appdb-box-step2 .app_view_button, .appdb-box-step3 .app_view_button {
    display: block;
    margin: 0.5em -0.5em 0.5em -0.5em !important;
    padding: 1em 0.25em 1em 0.25em;
    color: #fff;
    border-radius: 5px;
    margin: 0.5em;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
}

.appdb-box-step1 .app_view_button { background-color: #00426b; }
.appdb-box-step2 .app_view_button { background-color: #3e4c3b; }
.appdb-box-step3 .app_view_button { background-color: #ff740d; }

.appdb-box-step1 .app_view_button:hover { opacity: 0.7; text-decoration: none; }
.appdb-box-step2 .app_view_button:hover { opacity: 0.7; text-decoration: none; }
.appdb-box-step3 .app_view_button:hover { opacity: 0.7; text-decoration: none; }

.appdb-box-step1 .app_view_button:active { opacity: 0.4; color: #000; }
.appdb-box-step2 .app_view_button:active { opacity: 0.4; color: #000; }
.appdb-box-step3 .app_view_button:active { opacity: 0.4; color: #000; }


.appdb-rate-btn {
    color: #fff;
    border-radius: 5px;
    font-size: 120%;
    padding: 0.5em 1em 0.5em 1em;
    margin: 0.5em;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    background-color: #00426b;
    text-transform: uppercase;
}
.appdb-rate-btn:hover  { opacity: 0.7; }
.appdb-rate-btn:active { opacity: 0.4; color: #000; }

.appdb-box-img IMG { width: 100%; }

/* mobile overrides */
@media screen and (max-width:960px) {
    .ta-title h3 a {
        font-size: 24px;
    }
    .appdb-box-step1 .appdb-box, .appdb-box-step2 .appdb-box, .appdb-box-step3 .appdb-box {
        height: auto;
    }
}
@media screen and (max-width:600px) {
    .ta-box { padding: 1.5em; }
}
@media screen and (max-width:480px) {
    .ta-title h3 a {
        font-size: 18px;
    }
}
