/*CSS HANDLER */
#topshortcuts .h1header {
  border: none !important;
  text-align: center;
  cursor: pointer;
  background-color: transparent !important;
  font-size: 16px;
  color: var(--table_header_3);
  font-weight: bold;
  height: 30px !important;
  line-height: 30px;
  margin-bottom: 0;
  padding: 0 10px;
  text-transform: uppercase;
}

#topshortcuts .body {
  padding: 0 5px;
}

#topshortcuts .body a {
  padding: 3px 0;
  padding-left: 32px;
  color: var(--textColorWhite);
}

#topshortcuts .body a .after-element2 {
  top: 11px !important;
}

#topshortcuts .body a::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
}

#topshortcuts .body li {
  -webkit-transition: background 0.2s ease-in-out;
  -moz-transition: background 0.2s ease-in-out;
  -ms-transition: background 0.2s ease-in-out;
  -o-transition: background 0.2s ease-in-out;
  transition: background 0.2s ease-in-out;
  display: block;
  position: relative;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  margin-bottom: 5px;
}

#topshortcuts .body li:last-child {
  border: none !important;
  margin-bottom: 0;
}

#topshortcuts .body li a {
  text-overflow: ellipsis;
  border: 1px solid var(--border-main);
  background: var(--table_row);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-height: 24px;
  height: 35px;
  user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.groupmenu #stampaquote_link a,
.groupmenu #running_link a {
  border: 1px solid var(--border-main);
  background: var(--table_row);
  border-radius: 5px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  margin: 10px;
  transition: 0.5s ease;
}

@media screen and (min-width: 992px) {
  #topshortcuts .body li:hover {
    border-radius: 5px;
    background: var(--table_header);
    -webkit-transition: background 0.2s ease-in-out;
    -moz-transition: background 0.2s ease-in-out;
    -ms-transition: background 0.2s ease-in-out;
    -o-transition: background 0.2s ease-in-out;
    transition: background 0.2s ease-in-out;
  }
  .groupmenu #stampaquote_link a:hover,
  .groupmenu #running_link a:hover {
    background: var(--colorHeader) !important;
    color: var(--bg_text);
  }
}

@media screen and (max-width: 991px) {
  #topshortcuts {
    margin-top: var(--navbar-height) !important;
  }
  #topshortcuts .body ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  #topshortcuts .body li {
    width: 50%;
    height: 45px;
  }
  #topshortcuts .body li:hover {
    border-radius: 0;
  }
  #topshortcuts .body li:nth-child(even) {
    left: -1px;
  }
  #topshortcuts .body li:nth-child(7) {
    border-left: 0;
    left: -1px;
  }
  #topshortcuts .body li:nth-child(odd):last-child {
    flex-basis: 100%;
    width: 100%;
  }
  #topshortcuts .body {
    padding: 0;
  }
  #topshortcuts .body ul li {
    display: flex;
    justify-content: center;
    margin: 0;
  }
  #topshortcuts .body ul li a {
    height: 45px;
    width: 100vw !important;
    border: none;
    border-bottom: 1px solid var(--border-main);
    border-radius: 0;
  }
  #topshortcuts .body ul li a span.League_Name {
    padding-left: 20px;
    text-align: left !important;
  }
  #topshortcuts .body ul li a span.League_Name {
    line-height: 1;
  }
  #topshortcuts .body ul li a span {
    line-height: 36px;
    text-overflow: none;
  }
  #topshortcuts .after-element2 {
    margin-top: 0;
    left: 19px !important;
    display: flex !important;
    justify-content: center;
    height: 100% !important;
    width: 100% !important;
    background-position: center !important;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
    position: static !important;
  }
  #topshortcuts .h1header {
    font-size: 18px;
    height: 45px !important;
    line-height: 47px;
  }
}

@media screen and (max-width: 450px) {
  #topshortcuts .body li {
    width: 50%;
  }
  #topshortcuts .body a {
    padding-left: 10px;
  }
}
