html, body {
    margin:0;
    padding:0;
    background: white url(/images/body_top_bg.jpeg);
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.navbar .container{
    padding-top: 12px;
}
.navbar .nav-collapse{
    float:right;
}
.logo{
    font-size:32px;
    font-weight:bolder;
}
.logo-area{
    float:left;
    margin-top:-8px;
    width:410px;
}
.logo-area img{
    float:left;
    width: 64px;
}
.logo-text{
    float: right;
    margin-top: 14px;
    text-shadow: 1px -1px 1px black;
    width:340px;
}
.main-container{
    width: 860px;
    background-color: white;
    padding: 46px 30px;
    margin-top: 5px;
    margin-bottom: 20px;
    opacity: 0.90;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .25);
    border-radius: 4px;
}
#myCarousel{
    width: 820px;
    margin: 0 auto;
    min-height: 380px;
    overflow: hidden;
}
#myCarousel .item{
    height: 380px;
    overflow: hidden;
}
#myCarousel .item img{
    height:380px;
    width:820px;
    object-fit: cover;
}
.text-area{
    width:880px;
    margin:20px auto;
}
.block-a{
    padding-right: 30px;
}
.footer{
    width:100%;
    color: #666;
    padding: 14px 12px 18px;
    background: transparent;
    margin-top: auto;
    flex-shrink: 0;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.5;
}
.footer .container{
    text-align: center;
}
.footer .container p{
    margin: 0;
}
.footer a{
    color: #555;
    font-weight: 400;
    text-decoration: underline;
}
.footer a:hover{
    color: #222;
}
.donald{
    float: none;
    display: inline;
}
.copy{
    float: none;
    display: inline;
}
.clearfix{
    clear:both;
}
li{
    list-style: none;
}
.thumb{
    float: left;
    margin: 10px 20px 0 0;
}
/* Brand thumbnails on homepage + all sidebars */
.brands .thumb .thumbnail,
.text-area .thumb .thumbnail{
    display: block;
    width: 80px;
    height: 80px;
    padding: 4px;
    overflow: hidden;
}
.brands .thumb .thumbnail img,
.text-area .thumb .thumbnail img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}
/* Prevent all images from stretching on load */
img{
    max-width: 100%;
    height: auto;
}
#myCarousel .item img{
    max-width: none;
}
.brands{
    margin:0;
}
#social-box {
    position: absolute;
    top: 240px;
    left: 0px;
    background-color: whitesmoke;
    z-index: 100;
    opacity: 0.9;
    padding: 6px 4px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .25);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
#social-box li {
    margin: 2px 0;
}
#social-box li :hover{
    opacity:0.7;
}
#social-box ul{
    margin:2px;
}
.page-container{
    width: 860px;
    background-color: white;
    padding: 30px;
    margin: 20px auto;
    opacity: 0.90;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .25);
    border-radius: 4px;
    min-height: auto;
}
.content-single{
    width: 500px;
    float:left;
}
.sidebar{
    float: left;
    margin-left: 20px;
}
.sidebar-widget{
    float: left;
    width: 340px;
    margin-top:9px;
    margin-bottom: 14px;
}
.content-single-wide{
    width: 100%;
}
.thumbnail-big{
    height: 80px;
    width: 160px;
    display: block;
    padding: 14px 4px;
    line-height: 1;
    border: 1px solid #DDD;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
    text-align: center;
    overflow: hidden;
}
.thumbnail-big img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.sidebar .thumbnail-big img,
.sidebar .thumbnail img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.sidebar .thumb{
    float: left;
    margin: 6px 8px 6px 0;
}
.sidebar .thumbnail{
    display: block;
    width: 160px;
    height: 80px;
    padding: 0;
    overflow: hidden;
}
.thumbnail-big:hover{
    border:1px solid red;
}

/* ─── RESPONSIVE ─── */

#mobile-menu-toggle {
    display: none;
    float: right;
    background: #333;
    color: white;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    margin-top: 6px;
}
#mobile-menu-toggle:active {
    background: #555;
}

@media (max-width: 979px) {
    #mobile-menu-toggle {
        display: block;
    }
    .navbar .container {
        padding: 8px 10px;
    }
    .navbar .nav-collapse {
        display: none !important;
        float: none;
        clear: both;
        width: 100%;
    }
    .navbar .nav-collapse.open {
        display: block !important;
        /* Bootstrap responsive sets .nav-collapse to height:0; without this the menu stays clipped */
        height: auto !important;
        overflow: visible !important;
    }
    .navbar .nav-collapse .nav {
        float: none;
        margin: 10px 0 0 0;
    }
    .navbar .nav-collapse .nav > li {
        float: none;
    }
    .navbar .nav-collapse .nav > li > a {
        padding: 8px 12px;
        color: #ccc;
    }
    .navbar .nav-collapse .dropdown-menu {
        position: static;
        float: none;
        display: block;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .navbar .nav-collapse .dropdown-menu a {
        color: #999;
        padding-left: 24px;
    }
    .logo-area {
        width: auto;
        float: none;
    }
    .logo-area img {
        float: left;
        width: 64px;
        margin-top: -10px;
    }
    .logo-text {
        float: none;
        width: auto;
        margin-top: 5px;
    }
    .logo-text h2 {
        font-size: 18px;
    }
    .main-container,
    .page-container {
        width: auto;
        margin: 10px;
        padding: 20px;
    }
    #myCarousel {
        width: 100%;
        /* Match slide ratio so space is reserved before lazy images paint */
        aspect-ratio: 820 / 380;
        min-height: clamp(9.5rem, 46vw, 14rem);
    }
    #myCarousel .carousel-inner {
        min-height: 100%;
    }
    #myCarousel .item {
        height: auto;
        aspect-ratio: 820 / 380;
        overflow: hidden;
    }
    #myCarousel .item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: none;
    }
    .text-area {
        width: auto;
        margin: 20px 10px;
    }
    .text-area .span4 {
        float: none;
        width: auto;
        margin-bottom: 20px;
    }
    .text-area .span4 img {
        max-width: 100%;
        height: auto;
    }
    .block-a {
        padding-right: 0;
    }
    .content-single {
        width: 100%;
        float: none;
    }
    .content-single img {
        max-width: 100%;
        height: auto;
    }
    .sidebar {
        float: none;
        margin-left: 0;
        margin-top: 20px;
    }
    .sidebar-widget {
        width: 100%;
    }
    .sidebar .thumb {
        margin: 6px 8px 6px 0;
    }
    .sidebar .thumbnail {
        width: 120px;
        height: 60px;
    }
    #social-box {
        display: none;
    }
    .thumbnail-big {
        width: 120px;
        height: 60px;
        padding: 8px 4px;
    }
}

@media (max-width: 480px) {
    .logo-area img {
        float: left;
        width: 40px;
        margin-top: -10px;
    }
    .logo-text h2 {
        font-size: 14px;
        margin: 0;
    }
    .logo-text span {
        font-size: 11px;
    }
    .page-container,
    .main-container {
        padding: 15px;
        margin: 8px;
    }
    .text-area {
        margin: 10px 5px;
    }
    .thumbnail-big {
        width: 90px;
        height: 50px;
        padding: 6px 2px;
    }
    .sidebar .thumbnail {
        width: 90px;
        height: 50px;
    }
}
