/*CSS HANDLER */
.class_cont {
  float: left;
  width: 100%;
  border-radius: 4px;
}

.class_cont .collapsing_Tutti {
  float: right;
  margin-right: 10px;
}

/* Background for quotas*/
.BackgroundColore {
  background: var(--table_sub_header);
  padding: 5px;
  display: flex;
  height: 30px;
}

.class_cont:has(.btn-group.btn-group-justified:not(.expanded)) {
  margin-bottom: 5px;
}

.theme1 .BackgroundColore {
  background: var(--border-main2);
}
/* End */

.allodds_tr {
  height: 0 !important;
}

.allodds_tr a {
  border: none;
  color: var(--FavBorderBg3);
  line-height: 17px;
  float: none;
  border-radius: 0;
  border-left: none;
  border-right: none;
  padding: 0;
  margin: 0;
}

.allodds_tr .allodds_cont #allOddsTutti {
  font-weight: normal;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 5px;
  border: 1px solid var(--border-main) !important;
  width: 87%;
  margin: auto;
  margin-top: 10px;
}

.allodds_tr .allodds_cont #allOddsTutti.currentTutti {
  border: 1px solid var(--table_header_3) !important;
}

.allodds_tr .selected .odd_value,
.allodds_tr a.selected span {
  border-color: var(--textColor4);
  color: var(--textColor4);
}

.allodds_tr a.className {
  color: var(--textColorWhite);
  font-size: 14px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
}
.allodds_tr .className > span {
  padding-left: 5px;
  color: var(--table_header_3);
}

.allodds_tr .className span.spreadIns {
  color: var(--textColor);
}

.allodds_tr .allodds_cont {
  padding: 0;
  padding-right: 5px;
  height: 85.12vh;
}

.allodds_tr a.btn {
  border-radius: 0;
  min-height: 17px;
}

.allodds_tr .btn-group.btn-group-justified {
  display: flex;
  width: 100%;
}

.allodds_tr .btn-group.btn-group-justified.expanded {
  margin: 5px 0;
}

.allodds_tr .btn-group.btn-group-justified .btn {
  display: flex;
  cursor: pointer;
  flex: 1 1 30%;
  box-sizing: border-box;
  vertical-align: middle;
  justify-content: space-between;
  align-items: center;
}

.allodds_tr .btn-group.btn-group-justified .btn {
  width: calc(100% / var(--btn-count));
  border: 1px solid var(--border-main);
  border-radius: 5px;
  margin-right: 5px;
  background-color: var(--table_row);
  padding: 4px;
  height: 35px;
}

.allodds_tr .btn-group.btn-group-justified .btn:last-of-type {
  margin-right: 0;
}

.allodds_tr .odd_value,
.allodds_tr .odd_label {
  font-size: 11.5px;
}

.allodds_tr .odd_label {
  float: left;
  color: var(--bg_text);
  text-align: left;
  vertical-align: middle;
  padding-left: 4px;
  display: flex;
  font-size: 9.5px;
  align-items: center;
  word-break: break-word;
  line-height: 1;
}

.allodds_tr .odd_label .selected {
  color: var(--textColor4);
  text-align: left;
  text-indent: 10px;
}

/* Border colors for legendas/quotas */
.allodds_cont .tripla span.odd_value {
  color: #67db02;
}

.allodds_cont .unica span.odd_value {
  color: #f8cf21;
}

.allodds_cont .quadrupla span.odd_value {
  color: #ff8300;
}

.allodds_cont .quintupla span.odd_value {
  color: #ff0000;
}
/* End */

.allodds_tr .odd_value {
  float: right;
  width: 40px;
  height: auto;
  padding: 4px;
  color: var(--bg_text);
  border-radius: 4px;
  display: flex;
  justify-content: end;
  align-items: center;
  margin: 3px;
  margin-right: 0;
}

.allodds_tr,
.allods_tr {
  border: none;
}

.allodds_cont .evetitle {
  background: transparent none repeat scroll 0 0;
  color: var(--textColor);
  display: block;
  height: 150px;
  position: relative;
  width: 100%;
  float: none;
  z-index: 0;
}

.allodds_cont .evetitle div {
  float: left;
  font-size: 18px;
  line-height: 22px;
}

.allodds_cont .evetitle div.EN1,
.allodds_cont .evetitle div.EN2 {
  font-weight: bold;
  text-shadow: 1px 1px 2px var(--text_shadow);
}

.allodds_cont .evetitle div.vs_text {
  font-size: 9px;
  text-shadow: 1px 1px 2px var(--text_shadow);
}

.allodds_cont .allodds_match_name {
  display: flex;
  align-items: center;
  height: auto;
  width: 100%;
  padding: 1px 0px 4px 0px;
  min-height: 30px;
  background: var(--table_sub_header);
  border: 1px solid var(--border-main);
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  line-height: 15px;
}

.allodds_cont .allodds_match_name .allodds_match_seria {
  width: auto;
  font-size: 13px;
  text-transform: capitalize;
  padding-left: 5px;
  filter: invert(15%) grayscale(100%);
}

.allodds_cont .allodds_match_name .allodds_match_glyphicon {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.allodds_cont .allodds_match_name .allodds_match_glyphicon a {
  width: 20px;
  line-height: 0;
  min-width: 20px;
  color: #fff;
}

.allodds_cont .allodds_match_name .allodds_match_glyphicon a,
.theme1
  .allodds_cont
  .allodds_match_name
  .allodds_match_glyphicon
  a.betrad_stats {
  filter: invert(35%) grayscale(100%);
}

.allodds_cont .evetitle {
  display: flex;
  align-items: center;
  cursor: default;
}

.allodds_cont .evetitle .allodds_spans {
  width: 100%;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
}

/* Name for head matches */
.allodds_evename.vs_class {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.EN1,
.EN2 {
  display: block !important;
  margin: 0;
  padding-left: 0 !important;
  width: 85%;
}
/* END */

.allodds_cont .evetitle div::before {
  content: "";
  left: 0;
  opacity: 0.7;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.allodds_container .oddsList .class_cont:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.allodds_cont .evetitle .allodds_spans .allodds_evename {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 21px;
  max-width: 100%;
  width: 100%;
}

.allodds_evename.vs_class {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.allodds_evedate {
  font-size: 12px;
  width: 100%;
  bottom: -20px;
  position: relative;
  text-shadow: 1px 1px 2px var(--textColor4);
}

/*fsPondi sport*/
.allodds_cont .evetitle::before {
  content: "";
  height: 150px;
  left: 0;
  opacity: 1;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
  background-position: center right !important;
  background-size: cover !important;
}

/* Button for collapsing */
.class_cont .up-arrow {
  border-radius: 25px;
  background: transparent;
  transition: 500ms ease;
}

.class_cont .down-arrow {
  border-radius: 25px;
  background: transparent;
  transition: 500ms ease;
}

.up-arrow::before {
  right: 1.3px;
  bottom: 3px;
  position: relative;
  content: "";
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

/* CSS for the down arrow */
.down-arrow::before {
  right: 1.3px;
  bottom: 6px;
  position: relative;
  content: "";
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

button.collapsing_Tutti.up-arrow::before,
button.collapsing_Tutti.down-arrow::before {
  border-color: var(--textColorWhite) !important;
}

.tuttiInsContainer,
.defaultSubclassesTutti {
  display: flex;
}

.tuttiInsContainer {
  margin-top: 10px;
}

.tuttiInsContainer ul,
.defaultSubclassesTutti ul {
  margin: 0;
}

.tuttiInsContainer .arrow_left_btn,
.defaultSubclassesTutti .arrow_left_btn_sub {
  mask-image: url(/res/Client/img/arrows/arr_left.svg);
  mask-repeat: no-repeat;
  background: var(--border-main);
  mask-size: contain;
  position: relative;
  top: 5px;
  margin-right: 5px;
  height: 20px;
  width: 20px;
  display: block !important;
}

.tuttiInsContainer .arrow_right_btn,
.defaultSubclassesTutti .arrow_right_btn_sub {
  mask-image: url(/res/Client/img/arrows/arr_right.svg);
  mask-repeat: no-repeat;
  background: var(--border-main);
  mask-size: contain;
  position: relative;
  top: 5px;
  margin-left: 5px;
  height: 20px;
  width: 20px;
  display: block !important;
}

.allodds_cont .arrow_down_btn,
.allodds_cont .arrow_down_btn_sub {
  mask-image: url(/res/Client/img/arrows/arr_down.svg);
  background: var(--border-main);
  mask-repeat: no-repeat;
  mask-size: contain;
  height: 20px;
  width: 20px;
  display: block;
  position: relative;
  margin: 0 auto;
  bottom: -2px;
  cursor: pointer;
  margin-bottom: 3px;
}

.allodds_cont .arrow_down_btn.arrow_rotate_btn,
.allodds_cont .arrow_down_btn_sub.arrow_rotate_btn {
  mask-image: url(/res/Client/img/arrows/arr_up.svg);
}

.tuttiInsContainer .tuttiInsContainer_btns,
.defaultSubclassesTutti .defaultSubclassesTutti_btns {
  display: flex;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
  pointer-events: auto;
  z-index: 100;
}

.tuttiInsContainer:has(.tuttiInsContainer_expanded) .arrow_left_btn,
.tuttiInsContainer:has(.tuttiInsContainer_expanded) .arrow_right_btn,
.defaultSubclassesTutti:has(.defaultSubclassesTutti_expanded)
  .arrow_left_btn_sub,
.defaultSubclassesTutti:has(.defaultSubclassesTutti_expanded)
  .arrow_right_btn_sub {
  display: none !important;
}

.tuttiInsContainer ul,
.defaultSubclassesTutti ul {
  flex-wrap: nowrap;
  width: auto;
}

.tuttiInsContainer:not(:has(.tuttiInsContainer_btns ul li)) .arrow_tutti,
.defaultSubclassesTutti:not(:has(.defaultSubclassesTutti_btns ul li))
  .arrow_tutti,
.allodds_cont:not(:has(.tuttiInsContainer_btns ul li)) .arrow_down_btn,
.allodds_cont:not(:has(.defaultSubclassesTutti_btns ul li)) .arrow_down_btn_sub,
.allodds_cont:not(:has(.defaultSubclassesTutti_btns ul li))
  .arrow_right_btn_sub,
.allodds_cont:not(:has(.defaultSubclassesTutti_btns ul li))
  .arrow_left_btn_sub {
  display: none !important;
}

.tuttiInsContainer .tuttiInsContainer_btns.tuttiInsContainer_expanded ul,
.defaultSubclassesTutti
  .defaultSubclassesTutti_btns.defaultSubclassesTutti_expanded
  ul {
  flex-wrap: wrap;
  justify-content: center;
}

.tuttiInsContainer ul li,
.defaultSubclassesTutti ul li {
  width: 84px;
}

/* Custom Popup Modal */
#customPopupModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#customPopupModal .custom_modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 800px;
  background: var(--bgColor2);
  border-radius: 7px;
  border: 2px solid var(--border-main);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  resize: none;
  padding: 30px 26px;
  box-sizing: border-box;
}

#customPopupModal .custom_modal.custom_modal_betrad_stats {
  width: 1000px;
  height: 800px;
}

#customPopupModal .custom_modal .modal_close_btn {
  position: absolute;
  top: 0px;
  right: 7px;
  font-size: 25px;
  color: #fff;
  cursor: pointer;
}

#customPopupModal .custom_modal .custom_modal_iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: relative;
}

#customPopupModal .custom_modal.modal_resizing .custom_modal_iframe {
  pointer-events: none;
}
/* End */

.allodds_cont .evetitle.gro_1::before,
.allodds_cont .evetitle.gro_107::before,
.allodds_cont .evetitle.gro_88::before,
.allodds_cont .evetitle.gro_80::before {
  background: rgba(0, 0, 0, 0) url("../img/soccer_.jpg");
  filter: brightness(50%);
}
.allodds_cont .evetitle.gro_83::before,
.allodds_cont .evetitle.gro_7::before {
  background: rgba(0, 0, 0, 0) url("../img/tennis_.jpg");
}
.allodds_cont .evetitle.gro_2::before,
.allodds_cont .evetitle.gro_86::before {
  background: rgba(0, 0, 0, 0) url("../img/basket_.jpg");
}
.allodds_cont .evetitle.gro_95::before {
  background: rgba(0, 0, 0, 0) url("../img/box_.jpg");
}
.allodds_cont .evetitle.gro_70::before {
  background: rgba(0, 0, 0, 0) url("../img/futsal_.jpg");
}
.allodds_cont .evetitle.gro_100::before {
  background: rgba(0, 0, 0, 0) url("../img/cricket_.jpg");
}
.allodds_cont .evetitle.gro_94::before {
  background: rgba(0, 0, 0, 0) url("../img/darts_.jpg");
}
.allodds_cont .evetitle.gro_17::before,
.allodds_cont .evetitle.gro_103::before {
  background: rgba(0, 0, 0, 0) url("../img/hockey_.jpg");
}
.allodds_cont .evetitle.gro_22::before,
.allodds_cont .evetitle.gro_101::before {
  background: rgba(0, 0, 0, 0) url("../img/pallamano_.jpg");
}
.allodds_cont .evetitle.gro_8::before,
.allodds_cont .evetitle.gro_87::before {
  background: rgba(0, 0, 0, 0) url("../img/pallavolo_.jpg");
}
.allodds_cont .evetitle.gro_12::before {
  background: rgba(0, 0, 0, 0) url("../img/amfootball_.jpg");
}
.allodds_cont .evetitle.gro_13::before,
.allodds_cont .evetitle.gro_97::before,
.allodds_cont .evetitle.gro_102::before {
  background: rgba(0, 0, 0, 0) url("../img/rugby_.jpg");
}
.allodds_cont .evetitle.gro_89::before {
  background: rgba(0, 0, 0, 0) url("../img/snooker_.jpg");
}
.allodds_cont .evetitle.gro_10::before {
  background: rgba(0, 0, 0, 0) url("../img/pallanuoto_.jpg");
}
.allodds_cont .evetitle.gro_35::before {
  background: rgba(0, 0, 0, 0) url("../img/curling_.jpg");
}
.allodds_cont .evetitle.gro_45::before {
  background: rgba(0, 0, 0, 0) url("../img/baseball_.jpg");
}
.allodds_cont .evetitle.gro_14::before,
.allodds_cont .evetitle.gro_85::before {
  background: rgba(0, 0, 0, 0) url("../img/formula1_.jpg");
}
.allodds_cont .evetitle.gro_16::before,
.allodds_cont .evetitle.gro_84::before {
  background: rgba(0, 0, 0, 0) url("../img/motogp_.jpg");
}
.allodds_cont .evetitle.gro_9::before {
  background: rgba(0, 0, 0, 0) url("../img/ciclismo_.jpg");
}

.collapsing_Tutti {
  right: 0;
  position: absolute;
}

#pronos .collapsing_Tutti {
  position: absolute !important;
}

@media (max-width: 1680px) {
  .allodds_tr .odd_label {
    flex: 0 0 auto;
  }
}

@media (max-width: 1490px) {
  .allodds_tr .odd_label {
    flex: 0 0 auto;
  }
}

@media screen and (min-width: 991px) {
  .allodds_tr a.btn :hover,
  .allodds_tr a.btn:hover .odd_label,
  .allodds_tr a.btn:hover .odd_value {
    border-color: var(--textColor4);
    color: var(--textColor4);
  }
  .allodds_tr a.btn.selected {
    background-color: var(--textColorBg) !important;
  }
  .allodds_tr .allodds_cont #allOddsTutti:hover {
    border: 1px solid var(--table_header_3) !important;
  }
}

@media (max-width: 991px) {
  .tuttiInsContainer ul li,
  .defaultSubclassesTutti ul li {
    width: 155px;
  }
  #customPopupModal .custom_modal {
    width: 500px;
    height: 700px;
  }
  #customPopupModal .custom_modal.custom_modal_betrad_stats {
    width: 600px;
    height: 700px;
  }
}

@media (max-width: 600px) {
  #customPopupModal .custom_modal {
    width: 400px;
    height: 600px;
  }
  #customPopupModal .custom_modal.custom_modal_betrad_stats {
    width: 500px;
    height: 600px;
  }
}

@media (max-width: 480px) {
  .tuttiInsContainer ul li,
  .defaultSubclassesTutti ul li {
    width: 110px;
  }
}

@media (max-width: 500px) {
  #customPopupModal .custom_modal.custom_modal_betrad_stats {
    width: 400px;
    height: 600px;
  }
}

@media (max-width: 400px) {
  #customPopupModal .custom_modal {
    width: 300px;
    height: 500px;
  }
  #customPopupModal .custom_modal.custom_modal_betrad_stats {
    width: 350px;
    height: 600px;
  }
}

@media (max-width: 380px) {
  .tuttiInsContainer ul li,
  .defaultSubclassesTutti ul li {
    width: 100px;
  }
}
