#horizontal-line {
    border-bottom: solid;
}

#categories-detail {
    display: flex;
    flex-direction: row;
    margin-bottom: 4rem;
}

#categories {
    flex: 1;
    border-right: solid;
    border-color: white;
    padding-right: 20px;    
}

.category {
    padding-top: 10px;
    padding-bottom: 10px;
}

#categories .category div a {
    margin-top: 8px;
}

#detail {
    flex: 3;
    padding-left: 15px;
    padding-top: 25px; 
}

.pointer-link { 
    cursor: pointer;
    display: block;    
}

#back {
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (min-width: 481px) and (max-width: 767px) {
    #categories-detail {
        margin-bottom: 5rem;
    }
    #categories .category div{
        display: block;
    }
    #detail {
        display: block;
    }
    #banner img {
        height: auto;
        width: 60%;    
    }
}

@media (min-width: 320px) and (max-width: 480px) {
    #horizontal-line {
        border-bottom: none;
    }
    #categories-detail {
        flex-direction: column;
        margin-bottom: 5rem;
    }
    #categories {
        border: none;
        padding: none;
        margin-bottom: 20px;
    }
    #banner img {
        height: auto;
        width: 70%;    
    }
    #topstuff:after {
        content: "";
        display: table;
        clear: both;
    }
    #categories, #detail {
        flex: 4;
    }
    #categories .category div a {
	margin-top: 12px;
    }
}
