﻿.row {
    display: flex;
}

#BrandHeaders {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#HeaderImgDiv {
    padding: 0;
}

    #HeaderImgDiv img {
        max-width: 100%;
        height: auto;
    }

#HeaderTextContainer {
    /*
            width: 100%;
            position: relative;
            */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: left;
    margin-left: 1vw;
}

    #HeaderTextContainer p {
        letter-spacing: 0.75px;
        text-transform: uppercase;
        font-size: 1.5rem;
    }

    #HeaderTextContainer h2 {
        font-size: 3.5rem;
        text-align: left;
    }

.brandpage-container {
    display: flex;
    flex-direction: column;
}

.BrandPanel {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}


.brand-content {
    height: 50vh;
    padding: 0;
}

.brand_img_link > img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    height: 100%;
    width: 100%;
    opacity: 0.6;
}

    .brand_img_link > img:hover {
        opacity: 0;
    }

.brand_logo_link {
    position: absolute;
    width: 100%;
    margin: 0;
    top: 50%;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

    .brand_logo_link > img {
        margin: auto;
        max-width: 51%;
        display: block;
    }

    .brand_logo_link > span {
        display: inline-block;
        margin: auto;
        width: 100%;
        text-align: center;
    }

.brand-wrapper {
    float: none;
    margin: 0;
    position: relative;
    height: 100%;
    background-color: #393d32;
}

@media only screen and (max-width: 768px) {
    #HeaderPanel {
        /*display: flex;*/
        flex-direction: column;
    }

    #BrandHeaders {
        height: 50vh;
    }

    .col-sm-6 {
        width: 50%;
    }
}

@media only screen and (max-width: 544px) {
    #HeaderPanel {
        /*display: flex;*/
        flex-direction: column;
    }

    #BrandHeaders {
        height: 50vh;
    }

    .col-sm-6 {
        width: 100%;
    }
}
