#categoryName{
font-size: 22px;
    text-align: center;
    color: #0845c7;
    position: relative;
    top: 116px;
    height: 35px;
    border: solid 1px;
    border-radius: 1px;
    left: 5%;
    width: 90%;
    border-radius: 10px;
}


.categorySelector{
    width: 50%;
    position: absolute;
    height: 33px;
    border-radius: inherit;

}
#medicine{
    left:50%;
}
.categorySelected{
    background-color: #337ab7;
    color: white;
}


#brandsContainer{
    position: relative;
    width: 90%;
    margin: 0 auto;
    margin-top:140px;

}

.brandRow{
    height: auto;
    overflow: hidden;
    border-bottom: solid 1px blue;
}
.brandLogo{
    display: table-cell;
    vertical-align: middle;
    float:left;
    width: 10%;
    max-height: 165px;
}
.brandData{
    height: auto;
    position: relative;
    left: 5%;
    float: left;
    width: 80%;
    margin-bottom: 5px;
}
.brandLogoImage{
    width: 100%;
    max-height: 165px;
}
.brandTitle{
    font-size: 18px;
    color: black;
    text-align: left;
    position: relative;
    height: 25px;
    line-height: 18px;
    margin-top: 25px;
}
.brandDescription{
    margin-right: 20px;
    font-size: 17px;
    text-align: left;
    position: relative;
    top:5px;
    height: auto;
    color: #969696;
    font-style: italic;

}

.brandLink{
    color: grey;
    top: 160px;
    position: absolute;
}

@media only screen and (max-width: 830) {
    .brandRow{
        height: auto;
    }
    .brandLogo{
        top: 30%;
        width: 25%;
    }

    .brandData{
        left: 8%;
        width: 67%;
    }
    .brandDescription{
        height: auto;
    }
    .brandLink{
        top:190px;
    }
}
@media only screen and (max-width: 600px) {

    #categoryName{
        height: 110px;
        border: 0;
    }
    .categorySelector{
        height:80px;
        font-size: 25px
    }
    .brandsContainer{
        margin-top:15px;
    }
    .brandTitle{
        font-size: 14px;
        margin-top: 15px;

    }
    .brandData{
        width: 70%;
    }
    .brandRow{
        height: auto;
        width: 100%;
    }
    .brandData{
        left: 8%;
        width: 67%;
    }
    .brandDescription{
        height: auto;
        font-size: 14px;
        overflow: hidden;
    }
    .brandLink{
        top: 265px;
    }
    .brandLogo{
        width: 25%;
    }
}

