.red,
.red:active,
.red:hover {
  color: red !important;
}

.blue,
.blue:active,
.blue:hover {
  color: blue !important;
}

.green {
  color: green;
}

.white {
  color: #fff;
}


.show {
  display: all
}

.bold {
  font-weight: bold;
}

.bigger {
  font-size: 1.1rem
}

.fs-1 {
  font-size: 1.1rem
}
.fs-2 {
  font-size: 1.2rem
}
.fs-25 {
  font-size: 1.25rem
}
.fs-3 {
  font-size: 1.3rem
}
.fs-4 {
  font-size: 1.4rem
}
.fs-5 {
  font-size: 1.5rem
}
.fs-2x {
  font-size: 2rem
}

.modal-header {padding:0.6rem}

.settings-row {
  width: 100%;
  min-height: 2.5rem;
  border: 1px solid gray;
  margin-top: 0.5rem;
  list-style-type: none;
  padding-left: 0.5rem;
  padding-top: 0.3rem;
}

.settings-label {
  margin-left: 0.5rem
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  max-width: 100%;
}

.setting-header {
  font-size: 1.2rem;
}

.brand-image {
  height: 60px !important;
}
.navbar-brand image {height:70px;}

.dropdown-menu {
  margin-top: 0px;
  background-color: rgb(239, 239, 239);
}

.close {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
}

.max-w2 {
  max-width: 9.5rem;
}

.max-w1 {
  max-width: 5rem;
}

.w2 {
  width: 15rem;
}

.w1 {
  width: 10rem;
}


.fb-sidebar {
  position: fixed;
  top: 3rem;
  right: -3000px;
  padding: 0.7rem 0 0.7rem 0.7rem;
  width: 40vw;
  z-index: 1100;
  background-color: transparent;
  display: all;
  overflow: auto;
  border: 0px solid #c5c5c5;
  height: 100vh;
  padding-bottom:5rem;

  /*
  position: fixed;
  top: 2%;
  right: 2%;
  padding: 10px;
  font-family: Arial;
  background: #fffea1;
  border: 1px solid #fc0;
*/

}

.fb-sidebar .card {
  box-shadow: -3px -3px 3px rgba(0, 0, 0, .125), 0 1px 5px rgba(0, 0, 0, .2)
}

.sidebar-open {
  animation: move_left 0.3s linear forwards;
  right: 0px;

}

.sidebar-close {
  animation: move_right 0.3s linear forwards;
  right: -3000px;

}

@keyframes move_left {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0%);
  }
}

@keyframes move_right {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(100%);
  }
}


.callout {
  padding: 0.5rem;
}

.callout a,
.callout a:hover,
.callout a:active,
.callout a:visited {
  text-decoration: none;
  color: navy
}

.card {
  margin-bottom: 0;
}

.team-logo {
  width: 2.2rem;
  margin-right: 0.5rem
}

.player-photo {
  width: 5.5rem;
}
.player-photo-xl {
  width: 8rem;
}


.player-photo-sm {
  width: 3.2rem;
}

.fb_title {
  background-color: #e5e5e5;
  font-weight: bold;
  padding: 0.3rem;
}

.table-header th,
.table-header td {
  background-color: #e5e5e5;
}

.leader_score {
  font-size: 1.2rem;
  padding-right: 0.5rem;
}

.card-body.p-0 .table tbody>tr>td:first-of-type {
  padding-left: 0.5rem;
}

.card-body.p-0 .table tbody>tr>td:last-of-type,
.card-body.p-0 .table tbody>tr>th:last-of-type,
.card-body.p-0 .table tfoot>tr>td:last-of-type,
.card-body.p-0 .table tfoot>tr>th:last-of-type,
.card-body.p-0 .table thead>tr>td:last-of-type,
.card-body.p-0 .table thead>tr>th:last-of-type {
  padding-right: 0.5rem
}

.card-header {
  font-weight: bold;
}

ion-icon {
  float: right;
  font-size: 1.5rem
}


body.wait *,
body.wait {
  cursor: wait !important;
}

.table-score {
  width: 100%;
}

.table-score tr:odd {
  background-color: antiquewhite
}

.table-score tr:even {
  background-color: white
}

.table-score th {
  padding: 0.2rem;
  text-align: center;
  font-weight: bold;
  background-color: rgb(24, 24, 137);
  color: whitesmoke
}

.table-score td {
  padding: 0.5rem;
  margin: 0rem;
}



.special-alignment {
  width: 100%;
  height: 32rem;
  overflow: auto;
  font-size: 1rem;
  background-color: antiquewhite;
}

.special-alignment2 {
  width: 100%;
  height: 12rem;
  overflow: auto;
  font-size: 1rem;
  background-color: antiquewhite;
}

.special-button {
  width: 8rem;
  height:50%;
  font-size: 1rem;
  color:white;
  background-color: rgba(13, 97, 214, 0.817);
}

.special-button2 {
  width: 7rem;
  font-size: 1rem;
  color:white;
  background-color: rgba(13, 97, 214, 0.817);
}



@media (max-width: 1024px) {
  /*
  body {
    font-size: 0.7rem
  }

  .brand-text {
    font-size: 1rem;
  }

  .hide-m {
    display: none;
  }

  .show-a {
    display: all;
  }

  .bigger {
    font-size: 1rem
  }

  .card-body {
    margin: 0;
    padding: 0;
    margin-left: .5rem;
  }

  .table-score th {
    padding: 0.2rem;
    text-align: center;
    font-weight: bold;
    background-color: rgb(24, 24, 137);
    color: whitesmoke
  }

  .table-score td {
    padding: 0.2rem;
    margin: 0rem;
  }


  .score-field {
    text-align: center;
    line-height: 1rem;
    width: 100%;
    max-width: 4rem;
    min-width: 2rem;
    margin-right:0.2rem;
  }

  .score-field-xs {
    text-align: center;
    line-height: 1rem;
    width: 100%;
    max-width: 1.2rem;
    min-width: 1.2rem;
    margin-right:0.2rem;
  }

  .score-select {
    line-height: 1.5rem;
    width: 100%;
    max-width: 3rem;
    min-width: 1.5rem
    
  }

  .team-logo {
    display: none
  }



  .fb-sidebar {
    width: 95vw;


  }
  */
}

select.error,input.error,textarea.error {
  border:2px solid red !important;
 
  
}




.error_form {
  color: rgb(174, 37, 37);
  padding:0.3rem;
  font-size:0.8rem;
  border:1px solid red !important;
}


.bg-popup {background-color:rgb(30, 43, 219);color:white;
}

.noBold {font-weight:normal}


.select2-container .select2-selection--single {
  height:calc(2.25rem + 2px) !important;
  
}

.select2-container {
  margin-left:0.6rem !important;
  margin-bottom:0.6rem !important;

  
}


/*
ul.select2-selection__rendered {width:15rem !important;}
*/


.select2-selection__choice {color:#000 !important}


.toggle-btn {
    margin:0.6rem;
    width: 1.2rem;
    height: 1.2rem;
    border: none;
    border-radius: 50%;
    background: #f0f0f0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0px 0px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.toggle-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.toggle-btn:active {
    transform: scale(0.95);
}

.toggle-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#on-icon {
    color: #4CAF50;
    opacity: 1;

}

#off-icon {
    color: #F44336;
    opacity: 1;

}

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}



.ui-datepicker {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 0.5rem;
    z-index:1000 !important;
}
.ui-datepicker-header {
    background: #f9fafb;
    border-radius: 0.375rem;
    padding: 0.5rem;
}
.ui-datepicker-calendar th {
    color: #6b7280;
    font-weight: 500;
}
.ui-datepicker-calendar td {
    text-align: center;
}
.ui-datepicker-calendar .ui-state-default {
    border: none;
    background: transparent;
    padding: 0.3rem;
    display: block;
    text-align: center;
    font-size:0.8rem;
    border-radius: 50%;
    width: 1.7rem;
    height: 1.7rem;
    line-height: 1.2rem;
    margin: 0 auto;
}
.ui-datepicker-calendar .ui-state-active {
    background: #3b82f6;
    color: white;
}
.ui-datepicker-calendar .ui-state-hover {
    background: #e5e7eb;
    border-radius: 50%;
}

.ui-datepicker-year {margin-left:1rem !important;}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgb(0, 0, 218);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border:1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0.6;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2575fc;
    transform: translateY(-5px);
}





  @media (max-width: 768px) {

      .back-to-top {
        width:50px;
        height:50px;
        bottom:20px;
        right:20px;

      }
  }


.section-header {
    background-color: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    color: #374151;
    font-weight: 600;
    font-size: 1.125rem;
}

.section-body {
    padding: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-top:0.6rem;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.rating-container {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.rating-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    border: 2px solid #d1d5db;
    background: white;
    transition: all 0.2s;
}

.rating-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
}

.rating-btn.selected {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}


.bg-special-2 {
  --tw-border-opacity: 1;
  background-color: #141414  !important;
}

.bg-special-3 {
  --tw-border-opacity: 1;
  background-color: #1A1A1A  !important;
}


.dark\:text-special-2:is(.dark *) {
  --tw-border-opacity: 1;
  color: #AC955E  !important;
}

.dark\:bg-special-1:is(.dark *) {
  --tw-border-opacity: 1;
  background-color: #AC955E  !important;
}

.dark\:bg-special-2:is(.dark *) {
  --tw-border-opacity: 1;
  background-color: #141414  !important;
}

.dark\:bg-special-3:is(.dark *) {
  --tw-border-opacity: 1;
  background-color: #1A1A1A  !important;
}


.border-special-1 {
  --tw-border-opacity: 1;
  border-color: #AC955E !important;
}


.dark\:border-special-1:is(.dark *) {
  --tw-border-opacity: 1;
  border-color: #AC955E  !important;
} 

.text-special-1 {
  --tw-border-opacity: 1;
  color: #AC955E !important;
}


.dark\:text-special-1:is(.dark *) {
  --tw-border-opacity: 1;
  color: #AC955E  !important;
} 
