:root {
  --dark-gold: #eba900;
  --dark-orange:#b83d00;
  --theme-orange:#D14600;
  --dark-red:#940f2d;
    --theme-purple:#48256d;
    --dark-purple:#391e56;
    --theme-blue:#00305e;
    --dark-blue:#022445;
}

ul.stack.button-group.catalog-menu {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    flex-direction: initial;
    height: min-content;
    gap: 20px;
}

@media (min-width:969px){
    ul.stack.button-group.catalog-menu li {
    width: calc(33.3333% - 15px);
}
}
@media (min-width:601px) and (max-width:968px){
    ul.stack.button-group.catalog-menu li {
    width: calc(50% - 15px);
}
}
@media (max-width:600px){
    ul.stack.button-group.catalog-menu li {
    width: 100%;
}
}
ul.stack.button-group.catalog-menu li a {
    height: 100%;
    display: flex;
    align-content: center;
    flex-direction: column;
    color: #fff;
    border:0 !important;
    background-color: var(--dark-grey);
    font-size: 1.2rem;
    padding-left: 90px;
    min-height: 80px;
}
ul.stack.button-group.catalog-menu li a:hover{
    background-color: var(--darkest-grey);
}
ul.stack.button-group.catalog-menu li.theme6 a {
    line-height: 50px;
}
ul.stack.button-group.catalog-menu li.theme1 a, .colourbox.theme1 {
    background-color: var(--qu-gold) ;
    color:#000061;
}
ul.stack.button-group.catalog-menu li.theme1 a:hover {
    background-color: var(--dark-gold)  ;
    color:#000061;
}
ul.stack.button-group.catalog-menu li a:before{
  font-family: "Font Awesome 6 Pro";
  font-size:50px;
    width:50px;
    position:absolute;
    color:var(--qu-gold);
    margin-left:-70px;
    height: 50px;
  background-color:rgba(0,0,0,.3);
  border-radius:50%;
  line-height:50px;
}
ul.stack.button-group.catalog-menu li.theme6 a:before{
    content:"\e03e";
}
ul.stack.button-group.catalog-menu li.theme1 a:before{
    content:"\e0c6";
    color:var(--qu-blue);
  background-color:rgba(255,255,255,.3);
}
ul.stack.button-group.catalog-menu li.theme2 a:before, .colourbox.themes.theme2::before{
    content:"\f4d8";
}
ul.stack.button-group.catalog-menu li.theme3 a:before, .colourbox.themes.theme3::before{
    content:"\f471";
}
ul.stack.button-group.catalog-menu li.theme4 a:before, .colourbox.themes.theme4::before{
    content:"\f47b";
}
ul.stack.button-group.catalog-menu li.theme5 a:before, .colourbox.themes.theme5::before{
    content:"\f376";
}
ul.stack.button-group.catalog-menu li.theme2 a, .colourbox.themes.theme2, a.button.small.theme2 {
    background-color: var(--theme-orange);
}
ul.stack.button-group.catalog-menu li.theme2 a:hover {
    background-color: var(--dark-orange);
}
ul.stack.button-group.catalog-menu li.theme3 a, .colourbox.themes.theme3, a.button.small.theme3 {
    background-color: var(--qu-red)  ;
}
ul.stack.button-group.catalog-menu li.theme3 a:hover {
    background-color: var(--dark-red);
}
ul.stack.button-group.catalog-menu li.theme4 a, .colourbox.themes.theme4, a.button.small.theme4 {
    background-color: var(--theme-purple) ;
}
ul.stack.button-group.catalog-menu li.theme4 a:hover {
    background-color: var(--dark-purple) ;
}
ul.stack.button-group.catalog-menu li.theme5 a, .colourbox.themes.theme5, a.button.small.theme5 {
    background-color: var(--theme-blue)  ;
}
ul.stack.button-group.catalog-menu li.theme5 a:hover {
    background-color: var(--dark-blue)  ;
}
ul.stack.button-group.catalog-menu li.theme6 a {
    line-height: 50px;
}

/* --- Inside --- */
.inside ul.stack.button-group.catalog-menu{
    list-style:none;
    justify-content: space-between;
    gap: 0;
    width: 100%;
}
.inside ul.stack.button-group.catalog-menu li a{
    font-size: 0.9rem;
    min-height: 60px;
    text-decoration:none;
    padding:10px 10px 10px 60px;
    line-height: inherit;
}

.inside ul.stack.button-group.catalog-menu li a:before {
    margin-left: -50px;
    font-size: 30px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
}
@media (min-width:969px){
.inside ul.stack.button-group.catalog-menu li {
   width: -webkit-fill-available;
}
.inside ul.stack.button-group.catalog-menu {
    flex-wrap: nowrap;
}
.inside {    
    position: sticky;
    top: 0;
    z-index: 100000;
}}
@media (min-width: 601px) and (max-width: 968px){
.inside ul.stack.button-group.catalog-menu li {
    width: 50%;
}}
.colourbox.themes {
    display: flex;
    flex-direction: column;
}

.colourbox.themes::before {
    font-family: "Font Awesome 6 Pro";
    font-size: 50px;
    width: 50px;
    position: relative;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    display:block;
    margin-top: 15px;
    margin-right: 10px;
    background-color: rgba(0,0,0,.3);
    color: var(--qu-gold);
}
.colourbox.themes p {
    padding-left: 65px;
    margin-top: -50px;
    font-size: 1.2rem;
    color:#fff;
}
.colourbox.themes.theme1::before {
    content: "\e0c6";
    color: var(--qu-blue);
    background-color: rgba(255,255,255,.3);
}
.colourbox.themes ul, .colourbox.themes ul a{
    color:#fff;
}
.colourbox.themes.theme1 p, .colourbox.themes.theme1 ul, .colourbox.themes.theme1 ul a{
    color: var(--qu-blue);
}
.colourbox.themes p::after {
    display: block;
    content: "Research Groups";
    font-size: 0.8rem;
    margin-top: -5px;
}

a.button.small.theme1{
    background-color: var(--qu-gold);
    color:var(--qu-blue);
    border:0;
    margin:2px;
}
a.button.small.theme2, a.button.small.theme3, a.button.small.theme4, a.button.small.theme5{
    color:#fff;
    border:0;
    margin:2px;
}