html, body {
    height: 100%;
}

@media (min-width: 992px) {
    #gallerycontainer {
	display: flex;
	flex-direction: row-reverse;
    }
    #filtersbar {
	height: 100%;
	width: 400px;
	flex-shrink: 0;
	flex-grow: 0;
    }
}

@media (max-width: 991px) {
    #gallerycontainer {
	display: flex;
	flex-direction: column;
    }
    #filtersbar {
	width: 100%;
    }
}
