/*
 * ====================================================================================================================
 * HOME PAGE -- CSS layout of home page
 * ====================================================================================================================
 */

body #header {
    border-bottom: none !important;
}

#page {
    padding-bottom: 0 !important;
}

.front-img-container {
    background-color: #e8e8e8;
    position: relative;
    overflow: hidden;
}

img.buy-now-splash {
    display: block;
    margin: 0 auto 0 auto;
    max-width: 100%;
    height:auto;
}

.buy-now-box {
    position: absolute;
    top: 70px;
    font-weight: bold;
    line-height: 0.85;
}

.buy-now-box.abtest {
    margin-left: 520px;
}

.buy-now-box-top {
    font-size: 38px;
    color: #044469;
    font-family: HelveticaBlack;
}
.buy-now-box-mid {
    font-size: 67px;
    color: #f86b23;
    font-family: HelveticaBlack;
}
.buy-now-box-bot {
    font-size: 57px;
    color: #f86b23;
    font-family: HelveticaBlack;
}

.buy-now-btn {
    font-size: 20px;
    text-decoration: none;
    text-transform: uppercase;
    color: #ffffff !important;
    padding: 13px 25px;
    background-color: #044469;
    border-radius: 5px;
    margin-top: 10px;
    margin-right: 10px;
    display: inline-block;
}
.buy-now-btn:hover {
    background-color: #f9a331;
}

.mobile-buttons {
    display: none;
}

div.product-description {
    padding-top: 2em;
    padding-bottom: 2em;
}
.product-description-img {
    float: left;
    width: 20%;
    margin-right: 4em;
}
.product-description-img img {
    max-width: 100%;
}
.product-description-txt {
    margin: 2em 4em 2em 0;
    text-align: justify;
}

.product-specs {
    background-color: #e8e8e8;
    padding-top: 1em;
    padding-bottom: 1em;
}
.product-specs .specs-row {
    margin: 0 10em 0 1em;
    display: table-row;

}
.product-specs .specs-cell {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
    padding: 2em;
}
.product-specs hr {
    border-top: 2px solid #c4c4c4;
    border-bottom: 2px solid #ffffff;
    margin: 10px 0;
}
.product-specs h3 {
    color: #f86b23;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 5px;
    margin-top: 8px;
}
.product-specs img {
    width: 270px;
}

.support-box {
    background: url('../images/pages/home/support-staff.jpg') no-repeat top !important;
    background-color: #e8e8e8 !important;
    background-size: cover;
    min-height: 480px;
    display: block;
    position: relative;
}
.support-box .support-text {
    margin: 320px 0 0 40px;
    display: inline-block;
    max-width: 450px;
    font-weight: bold;
    text-align: center;
}
.support-box h3 {
    color: #f86b23;
    font-size: 2em;
    font-weight: bold;
}
.support-box .support-text h3 a, .support-box .support-text h3 a:visited {
    color: #f86b23;
}


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

/* mobile overrides */
@media screen and (max-width:1117px) {
    .buy-now-box {
        font-size:45px;
        top: 30px;
    }
    .buy-now-box-top { font-size: 30px; }
    .buy-now-box-mid { font-size: 53px; }
    .buy-now-box-bot { font-size: 43px; }
}
@media screen and (max-width:1024px) {
    .buy-now-box {
        top: 40px;
    }
    .product-description-txt {
        margin: 0.8em 3em 1em 0;
    }
    .product-specs img {
        width: 220px;
    }
}
@media screen and (max-width: 992px) {
    .buy-now-box {
        top: 30px;
    }
}
@media screen and (max-width:960px) {
    .buy-now-box {
        position: relative;
        top: auto;
        left: auto;
        margin: -10px 0 0.5em 0 !important;
        text-align: center;
    }
    .buy-now-box-top { font-size: 25px; }
    .buy-now-box-mid { font-size: 48px; }
    .buy-now-box-bot { font-size: 40px; }
    .buy-now-box a {
        display: none;
    }
    .buy-now-btn {
        font-size: 12px;
    }
    .mobile-buttons {
        display: block;
    }
    .product-description-txt {
        margin: 1em 2em 1em 0;
    }
    .product-specs .specs-cell {
        padding: 0em 1em 0em 1em;
    }
    .product-specs img {
        width: 180px;
    }
    .support-box {
        min-height: 280px;
    }
    .support-box .support-text {
        margin: 180px 0 0 0;
        display: inline-block;
        max-width: 70%;
        text-align: center;
    }
    .ta-title h3 a {
        font-size: 24px;
    }
}
@media screen and (max-width:600px) {
    .ta-box { padding: 1.5em; }
}
@media screen and (max-width:480px) {
    img.buy-now-splash {
        max-width: 120%;
    }
    .buy-now-box {
        line-height: 0.7;
    }
    .buy-now-box-top { font-size: 22px; }
    .buy-now-box-mid { font-size: 38px; }
    .buy-now-box-bot { font-size: 32px; }
    .product-description-img {
        width: 50%;
        margin-right: 1em;
    }
    .product-description-txt {
        margin: 2em 0.5em 1em 0;
    }
    .product-specs .specs-row {
        display: block;
        margin: 1em 0.5em 1em 0.5em;
    }
    .product-specs .specs-cell {
        display: block;
        width: auto;
    }
    .product-specs img {
        width: 100px;
    }
    .support-box .support-text {
        max-width: 100%;
    }
    .ta-title h3 a {
        font-size: 18px;
    }
}