.test {background: repeat-y;}
body {
    /* background: #333547; */
    /* background: linear-gradient(180deg, rgb(89, 59, 206) 0%, rgba(137, 53, 152, 0.7301295518207283) 70%, rgb(233, 199, 255) 95%); */
    background: linear-gradient(180deg, rgb(89, 59, 206) 0%, rgba(137, 53, 152, 0.7301295518207283) 70%, rgb(38, 85, 119) 100%);
    padding-bottom: 10px;
}

#topnav {
    min-height: 70px;
    background: none;
}

#topnav .topbar-main .logo .logo-large {
    height: 60px;
    margin: 5px 0;
    display: block;
}

#topnav .topbar-main .logo-small {
    height: 45px;
    display: block;
}

#topnav {
    position: relative;
}

.wrapper {
    padding: 0 20px;
    /* background: #333547; */
}

.index .container-fluid {
    background: #f6f6f6;
}

.wrapper .container-fluid {
    background: #fff;
}

.amzn-native-container { 
    margin: 0 auto;
}

.header-deals {
    background: red;
    font-size: 1.1rem;
    color: white;
    padding: 10px;
    margin-left: -15px;
    width: calc(100% + 30px);
}

.header-deals a {
    color: white;
}

.subscription-container {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top:0;
    left: 0;
    background: rgba(111, 111, 199, 0.85);
    z-index: 9999;
    display: none;
}

.subscription-box {
    max-width: 600px;
    max-height: 80%;
    margin: 25vh auto;
    background:rgba(111, 111, 199, 1);
    border-radius: 2rem;
    padding: 20px;
    position: relative;
}

.subscription-box input {
    padding: 10px;
    display: block;
    width: 70%;
    margin: 5px auto;
}

.subscription-box .title {
    font-size: 1.8rem;
}

.subscription-box .deal {
    font-size: 1.4rem; 
}

.subscription-box ul, .subscription-box .benefits {
    text-align: left;
    padding-left: 50px;
}

.subscription-box .btn {
    margin: 10px auto;
    background: red;
    color: white;
    font-size: 1.5rem;
} 

.subscription-box-close-button {
    position: absolute;
    top:25px;
    right:5px;
}

.subscription-box-close-button i {    
    line-height: 0;
    color: white;
}

.subscription-box-inner {  
    text-align: center;   
    color: white;
    font-size: 1.2rem;
    margin: 10px auto; 
}

.app-search {
    margin-block-end: 0;
}

/* ALL */

.page-title-box {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding: 20px;
}

.btn-blue {
    background: #1799e8;
    border: 1px solid #1799e8;
    color: white !important;
    font-size: 1.2rem;
    padding: 15px 0;
}

/* HEADER */

a.nav-link.mobile-button {
    line-height: 4rem;
    margin: 0;
    display: inline-block;
    color: white !important;
    font-size: 2rem;
    padding: 0 10px !important;
}

.mobile-search {
    top: 70px;
    left: 0;
    position: fixed;
    display: none;
    z-index: 9999;
    background: #333547;
    padding: 20px 0;
    width: 100%;
}

.mobile-search-form {
    margin: 0 auto;
    width: 200px;
}

/* INDEX  */

.index .container-fluid {
    background: #f7f7ff;
}

.index .title {
    margin: 20px 0;
    text-transform: uppercase;
}

.index .displays .card,
.index .news .card {
    padding: 10px 5px 0 5px;
    height: 90%;
    box-shadow: 0px 0px 13px 0px rgba(111, 111, 199, 0.53);
}

.index .displays .meta,
.index .news .meta {
    position: absolute;
    bottom: 10px;
}

.index .card-body {
    padding: 1rem 0.5rem;
}

.index .displays .card-title {
    margin-bottom: 0;
}

.index .index-latest-display {
    height: 120px;
    object-fit: contain;
}

.index .index-news-image {
    height: 120px;
    object-fit: cover;
}

.news .article-icon {
    object-fit: contain;
}

.news .container-fluid {
    background: #f7f7ff;
}

/* QUESTIONS */

.comments .card>.card {
    margin-left: 25px;
}

.reply-box .cancel-reply {
    display: none;
}

.codex-editor {
    border: 1px solid #ddd;
    font-size: 1.1rem;
}

.message-list li {
    border-bottom: 1px solid #eee;
}

.message-list li .col-mail-2 .date {
    padding: 0;
}

.message-list li .col-mail-1 .title {
    left: 15px;
}

.message-list li .col-mail-1 {
    width: 600px;
}

.message-list li .col-mail-2 {
    left: 600px;
}

/* ARTICLE */

.article .article-featured-image {
    max-height: 500px;
    object-fit: cover;
    opacity: 0.6;
    padding: 0;
    width: 100%;
}

.article .article-header {
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.9);
    margin-left: -15px;
    width: calc(100% + 30px);
}

.article .title-container {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 10;
    display: flex;
    align-items: center;
}

.article .article-title {
    letter-spacing: 1px;
    color: white;
    margin: 0 auto;
    width: 90%;
    text-align: center;
    text-shadow: 1px 1px 2px #1799e8, 0 0 1em #1799e8, 0 0 0.2em #1799e8;
    font-size: 4rem;
    padding: 30px 0;
    line-height: 5rem;
}

.article .article-content {
    font-size: 1rem;
    color: #1d1e1f;
    font-weight: 350;
    padding: 0 15px;
}

.article .article-content * {
    max-width: 800px;
    margin: 0 auto;
}

.article .article-content p {
    font-size: 1.2rem;
    line-height: 2.1rem;
    margin: 30px auto;
}

.article .article-content h2 {
    margin: 10px auto;
    padding: 10px 0;
    color: #1799e8;
    border-bottom: 1px solid #1799e8;
}

.article .article-content a {
    color: #1799e8;
}

.article .article-content ol,
.article .article-content ul {
    padding: 10px 75px;
    margin: 0 auto;
}

.article .article-content li {
    font-size: 1.2rem;
    line-height: 2.1rem;
    color: #2b2d2f;
}

.article .article-content img,
.article .article-content figure {
    width: 100%;
    height: auto;
    margin: 10px auto;
    max-width: 200%;
}

.article .article-content figure {
    width: calc(100% + 60px);
    margin-left: -30px;
}

.article .thumb-lg {
    object-fit: contain;
}

.aligncenter {
    text-align: center;
}

.side-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: black;
}

.side-article {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #ddd;
}

.side-article-border {
    border-bottom: 1px solid #ddd;
}

.side-article a {
    color: #373738;
}

.latest-displays-image {
    height: 150px;
    width: 100%;
    object-fit: contain;
    display: block;
    padding: 0 2px;
}

.article .card {
    height: 90%;
    box-shadow: 0px 0px 13px 0px rgb(111, 111, 199, 0.5);
}

.article .item-title {
    font-size: 1rem;
    font-weight: 300;
}

.article .card a {
    height: 100%;
}

.article .subtitle {
    font-size: 2rem;
    padding: 5px 0;
    margin: 20px 15px;
    border-bottom: 1px solid #eee;
    width: 100%;
    flex: auto;
}

.article .brief-specs {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    /* background: rgba(91, 98, 107, 0.2); */
    border: 1px solid #1799e8;
}

.article .card-title {
    font-size: 2rem;
    flex: 1 1 100%;
    padding: 20px;
    color: #1799e8;
}

.article .card-image {
    width: 250px;
    padding: 20px;
}

.article .display-card .price {
    width: 100%;
}

.article .display-card .price .button {
    width: 300px;
    background: #1799e8;
    margin: 10px auto;
    height: 50px;
    padding: 10px;
    text-align: center;
}

.article .display-card .price a {
    color: white;
    font-size: 1.2rem;
}

.article .items {
    flex: 1;
}

.article .item {
    align-items: flex-start;
    display: flex;
    flex: auto;
    justify-content: space-between;
}

.article .item div {
    padding: 10px;
    flex: 1;
    font-size: 1.2rem;
}

.display-card .item div {
    font-size: 1rem;
    padding: 5px;
}

.article .brief-specs i {
    color: #1799e8;
    font-size: 1.2rem;
    padding-right: 10px;
}

.article .toc {
    display: flex;
    flex-direction: column;
    margin: 20px auto;
}

.article .toc a {
    font-size: 1.2rem;
    width: 100%;
    padding: 5px 0;
}

.article iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    /* min-height: 100%; */
    /* height: auto !important; */
    /* max-height: 100% !important; */
}

.article .display-card {
    margin: 20px auto;
}

/* BRAND */

.brand-item {
    display: block;
    border: 1px solid #ddd;
    /* padding-bottom:20px; */
    position: relative;
}

.brand-item a {
    text-decoration: none;
    background-color: transparent;
    /* color:#1a1a1a; */
    text-align: center;
    font-weight: 500;
}

.brand-item img {
    display: block;
    object-fit: contain;
    width: 100%;
    height: 150px;
    margin: 0 auto;
    opacity: 1;
}

.brand-item img:hover {
    opacity: 0.8;
}

.item-img {
    object-fit: contain;
    height: 120px;
}

.brand .container-fluid {
    background: #ffffff;
}

/* NEWS */

.news .pagination {
    margin: 0 auto;
    margin-bottom: 10px;
}

.news .pagination .page-item.disabled .page-link {
    border-color: #333547;
    border: 1px solid #ddd;
}

.news .pagination .page-item.active .page-link {
    background-color: #333547;
    border-color: #333547;
}

.news .pagination .page-item.active .page-link:hover {
    color: #fff;
}

/* DISPLAY */

.display th,
.compare th {
    text-transform: uppercase;
    font-size: 1.5rem;
    border: none;
    color: #2068b1;
}

.display td,
.compare td {
    border: none;
}

.display td:first-of-type {
    width: 25%;
    font-weight: 500;
}

.display .display-name {
    margin-bottom: 25px;
}

.display .display-image {
    object-fit: contain;
    width: 100%;
    height: auto;
}

.display tr:nth-child(even):not(.table-header),
.compare tr:nth-child(even):not(.table-header) {
    background: rgb(246, 246, 246);
}

.display .brief-specs {
    /* margin-top: 30px; */
    padding: 15px;
    border: 1px solid #eee;
    font-size: 1rem;
}

.display .brief-specs table {
    width: 100%;
}

.display .brief-specs td:first-of-type {
    width: 50%;
}

.display .brief-specs i {
    color: #2068b1;
    font-size: 1.2rem;
    padding-right: 10px;
}

.display tr:hover,
tr:nth-child(even):not(.table-header):hover,
.compare tr:hover,
tr:nth-child(even):not(.table-header):hover {
    background: #2068b11f;
}

.display .options {
    margin-top: 20px;
}

.display .options .btn {
    background-color: #2068b1;
    border: 1px solid #2068b1;
    color: white;
}

.display .comparison {
    display: block;
    font-size: 1.2rem;
    margin: 10px 0;
}

.display .buy a, .compare .buy a {
    margin: 5px 0;
    text-align: center;
    display: block;
    font-size: 1.8rem;
    background: #d33543;
    color: white;
    padding: 20px;
    width: 100%;
}

/* COMPARE */

.compare .page-title-box {
    display: none;
}

.compare table {
    table-layout: fixed;
}

.compare .table img {
    width: 200px;
    max-width: 100%;
}

.compare td:first-of-type {
    max-width: 25%;
    font-weight: 500;
}

.compare tr:nth-of-type(2) td:not(:first-child) {
    color: #2068b1;
}

.compare .header-table {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    background: #333547;
    height: 70px;
    display: none;
}

.compare .header-table td {
    text-align: center;
    padding: 0 5px;
}

.compare .header-table .table {
    height: 100%;
    color: white;
    margin: 0 auto;
}

.compare .compare-remove {
    display: block;
    font-size: 1.4rem;
}

.compare .floating-button-container {
    position: fixed;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    z-index: 9999;
}

.compare .floating-add-more-button {
    font-size: 4rem;
    color: #2068b1;
}

.compare-search {
    display: none;
    position: fixed;
    top: 15%;
    left: 0;
    width: 100%;
    /* background: #333547; */
    z-index: 9999;
}

.compare-search-form {
    margin: 0 auto;
    width: 260px;
    padding: 10px;
    background: #333547;
    /* background: white; */
    border-radius: 1rem;
}

.compare-search-form .form-inline .form-control {
    width: 240px;
}

/* FINDER */

.advanced-search .card {
    padding: 10px 5px 0 5px;
    height: 90%;
    box-shadow: 0px 0px 13px 0px rgba(111, 111, 199, 0.53);
}

.advanced-search .card .card-body {
    padding: 0.5rem 0.2rem;
}

.advanced-search .card .card-title {
    padding-top: 10px;
    text-align: center;
}

.advanced-search .displays {
    padding: 10px 7px;
}

.displays-placeholder {
    display: none;
}

/* FOOTER */

.footer {
    /* background: #333547; */
    box-shadow: none;
    -webkit-box-shadow: none;
    background: none;
    position: static;
}

/* MEDIA */
@media (max-width: 992px) {
    .article .article-title {
        font-size: 2.8rem;
        line-height: 3.5rem;
    }

    .article .article-content {
        border: none;
    }

    .article .article-content p {
        padding: 0;
    }

    .article .article-content h2 {
        margin: 15px 0;
    }

    .article .card {
        height: 90%;
        box-shadow: 0px 0px 13px 0px rgb(111, 111, 199, 0.5);
    }

    .article .latest-displays-image {
        border: none;
    }

    .article .item-title {
        font-size: 1.1rem;
        text-align: center;
    }

    .subscription-box {
        margin: 5vh auto;
        max-width: 85vw;
        max-height: 85vh;
    }

    .subscription-box-inner {
        margin: 25px auto 0 auto;
        font-size: 1.1rem;
    }

    .subscription-box .deal {
        font-size: 1.2rem;
        line-height: 1.2rem;
    }

    .subscription-box .title {
        font-size: 1.4rem;
        line-height: 1.2rem;
    }
}

@media (max-width: 768px) {
    .article .article-title {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    
}

@media (max-width: 500px) {
    .article .article-title {
        font-size: 1.2rem;
        line-height: 1.5rem;
    }

    .article .article-content {
        padding: 0;
    }

    .display {
        padding: 0;
    }

    .display td:first-of-type {
        width: 33%;
    }

    .wrapper {
        padding: 0;
    }

    .main-table tr {
        display: flex;
        flex-wrap: wrap;
        font-size: 0.75rem;
    }

    .compare .col-12 {
        padding: 0 5px;
    }

    .compare .main-table td {
        padding: 0;
        overflow: hidden;
        flex: 1 1 0;
        padding: 5px 0;
        text-align: center;
        border: 1px solid #eee;
    }

    .compare .main-table td:first-of-type {
        max-width: 100%;
        width: 100%;
        flex: 0 0 100%;
        text-align: center;
        padding: 5px 0;
        border: none;
    }

    .compare h1 {
        font-size: 1.5rem;
    }

    .header-table .table {
        font-size: 0.75rem;
        padding: 0;
    }

    .header-table .table td:first-of-type {
        display: none;
    }
}

link {
    display: none !important;
}