﻿body {
    /* background-image: url('../images/fon.png');*/
    background-image: url('https://i.pinimg.com/474x/56/ea/b7/56eab7512f1021bdd4cf04952ad45a2c.jpg?nii=t');
    background-repeat: repeat;
    min-height: 100vh;
    font-family: Verdana;
}
.bg-dark {
  opacity: 0.85;
}
.bg-double {
  background-color: transparent;
}
.bg-secondarys{
  background-color: #000;
}
.borderbottom{
  margin-bottom: 5px;
}
.borderbottomBlue{
  border-bottom: 1px solid var(--bs-blue);
}
.team-logo-small {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid #495057;
    background: #343a40;
    padding: 3px;
}
.nav-links{
  padding: 8px;
  color: white;
  border: 0px;
  background: none;
}
.nav-links.active{
  background: rgba(13, 110, 253, 0.4);
}
.card{
  opacity: 0.85;
  border: none;
}
.small{
  font-size: 18px;
}
.bigSize{
  font-size: 25px;
}
.bigSizeDouble{
  font-size: 18px;
}
.smallSize{
  font-size: 12px;
}
.borderRadiusMain{
  border-radius: .25rem;
}
.league-logo-large-double{
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 100px;
  border: 5px solid white;
}
.league-logo-large-double-small{
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50px;
    border: 5px solid white;
}
.align-items-center{
  text-align: center;
}
.fw-bold{
  font-weight: bold;
}
.main-content {
    min-height: calc(100vh - 76px);
    padding: 0;
}
.textGrey{
  color: var(--bs-gray);
}
.textRed{
  color: var(--bs-red);
}
.textWhite{
  color: white;
}
.textBlue{
  color: var(--bs-blue);
}
.textWarning{
  color: var(--bs-warning);
}
.textSuccess{
  color: var(--bs-success);
}
.textTeal{
  color: var(--bs-teal);
}
.status span{
  padding: 2px 8px;
  display: block;
  float: left;
  border-radius: .25rem;
}
.searchBlock{
  display: flex;
    align-items: center;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-gray);
    text-align: center;
    white-space: nowrap;
    border: 1px solid var(--bs-gray);
    border-radius: .25rem;
    height: 38px;
}
.inputBlock{
    background: none;
    height: 38px;
    outline: none;
    color: white;
    padding-left: .5rem;
    border: 1px solid var(--bs-gray);
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
.selectBlock{
  display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: white;
    background: #000;
    border: 1px solid var(--bs-gray);
    border-radius: .25rem;
    transition: border-color .15s
    ease-in-out, box-shadow .15s
    ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.longText{
  white-space: nowrap;
  overwlow: hidden;
  text-overflow: elipsis;
}
.overflowX{
  overflow-x: auto;
}
.over{
  background: var(--bs-blue);
}
.live{
  background: var(--bs-red);
}
.wait{
  background: linear-gradient(45deg, #495057, #6c757d);
}
.danger{
  color: var(--bs-red);
}
.table{
  border-color: var(--bs-gray-600);
}
.verticalAlign{
  vertical-align: middle;
}
.textGray{
  color: var(--bs-gray);
}
.but{
  background: none;
  border: 0px;
}
.but:hover{
  color: var(--bs-blue);
}
.h-24{
  height: 24px;
  line-height: 24px;
}
.h-42{
  height: 42px;
  line-height: 24px;
}
.redirect{
  background: var(--bs-orange);
}
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1054;
}
.floatLeft{
  float: left;
}
.redCard{
  background: var(--bs-red);
  padding: 3px 3px 1px 3px;
  margin: 0 5px;
  border-radius: 2px;
}
.textLeft{
  text-align: left;
}
.textRight{
  text-align: right;
}
.match-group-double{
  border-bottom: 1px solid var(--bs-gray);
}
.matchBlock{
  border-bottom: 1px solid var(--bs-gray);
}
.widthOne, .widthOnes, .widthOnef, .widthOnev{
  width: 100%;
}
.widthSeven, .widthSevens{
  width: 70%;
}
.widthFree, .widthFrees{
  width: 30%;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
}

.breadcrumb-item a {
    color: #6ea8fe;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #adb5bd;
}
.dropdown-menu {
    background-color: #343a40;
}

.dropdown-item {
    color: rgba(255,255,255,.55);
    position: relative;
    z-index: 1054;
}

    .dropdown-item:hover {
        background-color: #495057;
        color: rgba(255,255,255,.75);
    }
/*
.text-white {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
*/

.alert-infos{
  background: rgba(13, 110, 253, 0.4);
}
.alert-dangers{
  background: rgba(255, 0, 0, 0.4);
}
.tourBlock{
  padding: 5px;
  border-radius: 10px 10px 0 0;
}
.modal.show .modal-dialog{
  margin-top: 100px;
  border-radius: 15px;
  opacity: 1;
}
.alert-modal{
  background: rgba(35,46,55,1);
}
.borderRadius{
  border-radius: 5px;
  display block;
  background: var(--bs-blue);
  padding: 0 10px;
}
.bg-secondaryEs{
  background-color: var(--bs-blue);
}

.iframeMobile{
  width: 636px;
}
.middleImgIcons{
  width: 70px;
  height: 70px;
}
.opacity{
  opacity: 0.8;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
  line-height: 1;
}
.block{
  display: block;
  float: left;
}
.five{
  width: 50%;
  height: 100%;
}
.br-2{
  border-right: 1px solid rgba(13,110,253,0.3);
}
.mt-6{
  margin-top: 4rem !important;
}
.tbig{
  font-size: 20px;
  font-weight: bold;
}
.selectDesign{
  outline: none;
  margin: 0 auto;
  border: 1px solid rgba(13,110,253,0.3);
}
.division-matches {
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Стили для логотипа - увеличенный и широкий */
.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 2rem;
}

    .navbar-brand img {
        height: 40px; /* Увеличиваем высоту */
        width: auto; /* Сохраняем пропорции */
        max-width: 300px; /* Широкий логотип */
        transition: all 0.3s ease;
    }

        .navbar-brand img:hover {
            opacity: 0.8;
            transform: scale(1.05); /* Легкое увеличение при наведении */
        }

/* Делаем SVG белым для лучшей видимости на темном фоне */
.navbar-dark .navbar-brand img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

    .navbar-dark .navbar-brand img:hover {
        opacity: 1;
    }
.table-responsive, .table, .tr{
  width: 100%;
  float: left;
  box-sizing: border-box;
}
.times, .matches, .infoMatches{
  height: 40px;
  float: left;
  box-sizing: border-box;
}
.times, .infoMatches{
  line-height: 40px;
  text-align: center;
}
.times{
  width: 15%;
  font-size: 12px;
  height: 40px;
}
.matches{
  width: 55%;
}
.infoMatches{
  width: 15%;
  font-size: 12px;
}
.grey{
  background: linear-gradient(45deg, #495057, #6c757d);
}
/* Адаптивность для мобильных устройств */
@media (max-width: 1200px) {
  .times{
    width: 100%;
  }
  .matches{
    width: 100%;
  }
  .infoMatches{
    width: 50%;
  }
  .textLeft{
    text-align: left;
  }
  .textRight{
    text-align: right;
  }
  .none{
    display: none;
  }
  .mobileSmailText{
    font-size: 8px;
  }
}
@media (max-width: 768px) {
    .navbar-nav .dropdown-menu {
        background-color: transparent;
        border: none;
    }

    .dropdown-item {
        padding-left: 2rem;
    }

    .navbar-brand img {
        height: 35px; /* Немного меньше на мобильных, но все равно большой */
        max-width: 180px; /* Чуть уже на мобильных */
    }
    .widthSevens, .widthFrees{
      width: 100%;
    }
    .widthOnes{
      width: 50%;
    }
    .widthOnef{
      width: auto;
    }
    .widthOnev{
      width: auto;
    }
    .textRight{
      text-align: left;
    }

    .fivten.col-md-3 {
        flex: 0 0 auto;
        width: 50%;
    }
    .col-9, .col-3{
      width: 100%;
    }
}
.nav-link{
  font-weight: bold;
}
.textBold{
  font-weight: bold;
}
.menuMobile{
	display: block;
	width: 50px;
	height: 50px;
	float: left;
	background: url(/static/images/menuMobile.svg) no-repeat 50% / contain;
}
.navbar-dark .navbar-toggler {
    color: rgba(255, 255, 255, .55);
    border-color: transparent;
}
.navbar-toggler {
    padding: 0;
    line-height: 1;
    border: 0px solid transparent;
    border-radius: 0;
    transition: 0;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0;
}
/* Для очень маленьких экранов */
@media (max-width: 576px) {
    .navbar-brand img {
        height: 30px;
        max-width: 150px;
    }

    .navbar-brand {
        margin-right: 1rem;
    }
    .iframeMobile{
      width: 300px;
    }
}
/* Дополнительные стили для широкого логотипа */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* Убедимся, что логотип не перекрывает другие элементы */
.navbar-collapse {
    flex-grow: 1;
    /* Стили для flash сообщений */
    #flash-messages-container

{
    pointer-events: none;
}
#flash-messages-container .alert {
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: none;
    backdrop-filter: blur(10px);
}

#flash-messages-container .alert-success {
    background: rgba(25, 135, 84, 0.95);
    color: white;
}

#flash-messages-container .alert-danger {
    background: rgba(220, 53, 69, 0.95);
    color: white;
}

#flash-messages-container .alert-warning {
    background: rgba(255, 193, 7, 0.95);
    color: black;
}

#flash-messages-container .alert-info {
    background: rgba(13, 110, 253, 0.95);
    color: white;
}

/* Анимация появления и исчезновения */
.flash-message {
    animation: slideInDown 0.3s ease-out;
}

.fade {
    transition: opacity 0.15s linear;
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        opacity: 0;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}
