/* Nav */
.nav-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1em 0 .5em 0;
}
.nav-top .logo {
    display: grid;
    align-items: center;
}
.nav-top .logo a {
    display: inline-block;
    max-width: 250px;
}
.nav-top .logo img {
    width: 100%;
}
.nav-top .toolbar {
    text-align: right;
}
.nav-top .toolbar .cart {
    font-size: 32px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    position: relative;
}
.nav-top .toolbar .cart .count {
    position: absolute;
    right: 0;
    top: 5px;
    background-color: #cc0000;
    color: #FFF;
    border-radius: 50%;
    font-size: 12px;
    display: block;
    width: 16px;
    height: 17px;
    text-align: center;
    font-weight: bold;
}
.nav-menu {
    background-color: #0f1e60;
    width: 100%;
    text-align: center;
}
.nav-menu a {
    color: #FFF;
    font-weight: bold;
    padding: 1em;
    display: inline-block;
    transition: all .2s ease-out;
}
.nav-menu a:hover {
    text-decoration: none;
    background-color: #4162f3;
}

.footer {
    background-color: #0f1e60;
    color: #FFF;
    padding: 1em;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 1em;
    text-align: center;
}
.footer a {
    transition: all .2s ease-out;
}
.footer .site-links ul {
    list-style-type: none;
}
.footer a {
    color: #FFF;
}
.footer a:hover {
    text-decoration: none;
    color:#4162f3;
}
.footer i.bx {
    color: #FFF;
    font-size: 32px;
}

.banner-link {
    display: block;
    width: 100%;
    overflow: hidden;
}
.banner-link:hover img {
    transform: scale(1.04);
}
.banner-link img {
    transition: all .2s ease-out;
    width: 100%;
}
.card-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    padding-bottom: 1em;
}
.card {
    border: 1px solid #CCC;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
}
.card .image {
    aspect-ratio: 16/9;
    background-size: cover;
}
.card .info {
    text-align: center;
    padding: 1em;
}
.card .info h4 {
    color: #0f1e60;
}
.card .button {
    text-align: center;
    margin-bottom: 1em;
}

.gelpad-content, .repad-content {
    display: grid;
    gap: 1em;
    grid-template-columns: 1fr;
}

table.shop.cart, table.checkout.cart {
    font-size: 14px;
}
table.cart th {
    border: 1px solid #CCC;
    font-weight: bold;
}
table.cart td {
    border: 1px solid #CCC;
}
table.cart .btn.remove {
    padding: 2px 5px 0 5px;
    margin-bottom: 0;
}
table.cart .btn.remove i {
    font-size: 18px;
}
div.cart.panel {
    position: relative;
}
div.cart.panel .btn.goto-checkout {
    position: absolute;
    right: 5px;
    top: 5px;
}

.cart-content {
    display: grid;
}

/* Checkout */
.checkout-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
}
.co-button-container {
    text-align: center;
    padding-top: 1em;
}
.co-section-header {
    background-color: #EEE;
    font-size: 18px;
    font-weight: bold;
    padding: 4px 10px;
    margin-bottom: 4px;
}
.co-section-header.active {
    color: #FFF;
    background-color: #1e3cc1;
}
.co-section-body {
    display: none;
}

table.form tr td:first-child {
    text-align: right;
}
table.form h3 {
    text-align: left !important;
}
.form-container .button-container {
    padding-top: 1em;
    text-align: center;
}

.login-container {
    display: grid;
    gap: 1em;
    grid-template-columns: 1fr;
}

.user-account-container {
    display: grid;
    gap: 1em;
    grid-template-columns: 1fr;
}
table.user-account tr td:first-child {
    text-align: right;
    vertical-align: middle;
}
table.user-account h3 {
    text-align: left !important;
}
table.user-account-orders {
    font-size: 14px;
    text-align: center;
}
table.user-account-orders a.btn {
    margin: 0;
}
table.ua-order {
    border: 1px solid #EEE;
}
table.ua-order th {
    text-align: left;
    border-bottom: 1px solid #DDD;
    padding: 5px;
    background-color: #DDD;
}
table.ua-order td {
    border-bottom: 1px solid #EEE;
    border-left: 1px solid #EEE;
}
/* Video List */
.video-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
}
.video-list .video-thumb {
    display: inline-block;
    width: 100%;
    transition: all .2s ease-out;
}
.video-list .video-thumb:hover {
    filter: brightness(150%);
}
.video-list .video-thumb img {
    width: 100%;
}
/* Contact */
.contact-content {
    display: grid;
    gap: 1em;
    grid-template-columns: 1fr;
}
.contact-method {
    margin-bottom: .8em;
}
.contact-method div:first-child {
    font-weight: bold;
}

/* Responsive */
@media only screen and (min-width: 640px) {

}
@media only screen and (min-width: 768px) {
    .footer {
        grid-template-columns: 1fr 1fr;
    }
    .card-list {
        grid-template-columns: 1fr 1fr;
    }
    .cart-content {
        grid-template-columns: 1fr;
    }
    .checkout-content {
        grid-template-columns: 3fr 2fr;
    }
    .login-container {
        grid-template-columns: 1fr 1fr;
    }
    .video-list {
        grid-template-columns: 1fr 1fr;
    }
    .contact-content {
        grid-template-columns: 2fr 1fr;
    }
}
@media only screen and (min-width: 1024px) {
    .gelpad-content {
        grid-template-columns: 1fr 2fr 2fr;
    }
    .repad-content {
        grid-template-columns: 1fr 1fr;
    }
    .card-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .video-list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media only screen and (min-width: 1280px) {
    .card-list {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .card-list.homepage {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .video-list {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}