@font-face {
  font-family: LuckiestGuy;
  src: url(fonts/16103.otf);
}
@font-face {
  font-family: Lato;
  src: url(fonts/9622.ttf);
}
@font-face {
  font-family: UraBumBumSP;
  src: url(fonts/UraBumBumSP.otf);
}
@font-face {
  font-family: OpenSansSoft;
  src: url(fonts/OpenSansSoft-CndLight.ttf);
}

body {
  /*background: lightblue; !* Цвет фона *!*/
  background-color: #9fecfe; /* Цвет фона */
  font-size: medium;
  font-family: Helvetica, sans-serif;
  -webkit-print-color-adjust:exact !important;
  print-color-adjust:exact !important;
}

table {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  border-style: none;
  border-collapse: collapse; /* Убираем двойные линии между ячейками */
  font-size: medium;
  border-radius: 5px;
}
td {
  padding: 1px; /* Поля в ячейках */
  vertical-align: center; /* Выравнивание по вертикали */
  text-align: center;
  /*border: 1px solid  #777; !* Параметры рамки *!*/
}
th {
  background: #afd792; /* Цвет фона */
  color: #333;  /* Цвет текста */
  padding: 1px; /* Поля в ячейках */
  vertical-align: center; /* Выравнивание по вертикали */
  text-align: center;
  /*border: 1px groove  #777; !* Параметры рамки *!*/
  height: 21px;
}

input, select, textarea {
  /*height: 20px;*/
  font-size: 1.0rem;
  background: #fbccb7; /* Цвет фона */
  font-family: OpenSansSoft, sans-serif;
  border: 1px solid #CCC;
  border-radius: 3px;
  /*box-shadow: inset 1px 1px #F1F1F1, 0 1px 2px rgba(0,0,0,.1);*/
  .ismall {
    font-size: 0.6rem;
    height: 12px;
    border-radius: 2px;
  }
}

.compr {
  line-height: 0.9em;
  margin: 0.1em;
  color: red;
  font-weight: bold;
}

tbody.highlight-hovered-row tr:hover {
  background: #CCF; /* Цвет фона при наведении */
  color: #111; /* Цвет текста при наведении */
}
tbody.highlight-hovered-row-rdsh tr:hover {
  background: #fcddcf; /* Цвет фона при наведении */
  color: #111; /* Цвет текста при наведении */
}

.isDisabled {
  opacity: 0.5;
  text-decoration: none;
}

.isDisabled:hover {
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
}

.personal-data {
  width: 70%;
  th {
    padding: 10px;
  }
  td {
    padding: 2px;
    border: 1px solid black;
    text-align: left;
    font-size: 0.8rem;
    background-color: #feeee7;
  }
  th:nth-child(1),
  td:nth-child(1) {
    width: 32%; /* Sets the width of the first column */
  }

  th:nth-child(2),
  td:nth-child(2) {
    width: 68%; /* Sets the width of the second column as a percentage */
  }
  .tsmall {
    font-size: 0.6rem;
  }
}

#compname {
  font-size:medium;
  text-align: left;
}

#Date {
  font-size:medium;
  text-align: center;
}

#Place {
  font-size:medium;
  text-indent: 2px;
  text-align: left;
}

#Ages {
  font-size:medium;
  text-indent: 2px;
  text-align: center;
}

#Event {
  font-size:medium;
  text-indent: 2px;
  text-align: center;
}

table#t01 tr:nth-child(even) {
  background-color: #e5e5e5;
}

table#t01 tr:nth-child(odd) {
 background-color: #f2f2f2;
}

table#t01 th {
  font-weight: normal;
  background-color: #f9bb9f;
  color: black;
  border-style: solid;
  border-color: black;
  border-width: 1px;
  text-align: center;
  top: 0;
  position: sticky;
  z-index: 50;
}

.sticky-col {
  position: sticky;
}

.first-col {
  left: 0;
  opacity: 1;
}

.second-col {
  left: 41px;
  opacity: 1;
}

table#t01 th.year {
  top: 26px;
  background-color: #047878;
  text-align:left;
  border-bottom-style: solid;
  border-left-style: none;
  border-right-style: none;
  opacity: 0.8;
}

.SubtitleRow {
  background-color: #1ea6af;
  color: black;
  opacity: 0.8;
  text-align: left;
  top: 44px;
  position: sticky;
  z-index: 50;
}

.LeftAlignContent td {
  font-size: medium;
  text-indent: 4px;
  text-align: left;
}

.t01_admin {
  width: 75%;
}

.t01_customer {
  width: 80%;
}

.t01_admin td {
  border-style: solid;
  border-width: thin;
}

/*@media print {*/
  table tr.page_break_always {
    page-break-inside: avoid;
    page-break-before: always;
  }

  table tr.page_break_auto {
    page-break-inside: avoid;
    page-break-before: auto;
  }

  table tr.page_break_avoid {
    page-break-inside: avoid;
    page-break-before: avoid;
  }
/*}*/

tr.narrow {
  height: 18px;
  max-height: 18px;
  font-size: x-small;
}

.OrderBy {
  cursor: pointer;
}

.TheSelected {
  background-color: #C97853;
}

td.cyan {
  background-color: #00c5cd;
}

.output-header {
  border-style: solid;
  border-width: 2px;
  border-color: black;
}

.output-header-families {
  background-color: #1ea6af;
  border-style: solid;
  border-color: #777777;
  border-width: 2px;
  color: #eeeeee;
}

.output-td {
  border-left: solid 1px lightblue;
  border-right: none;
  white-space: nowrap;
}

.ResRow {
  border: solid 1px lightblue;
}
.ResRow:hover {
  border: solid 2px #333333;
}

.output-body-families {
  border-right-style: solid;
  border-right-width: 1px;
  border-color: #444444;
  white-space: nowrap;
}

.output-body-separate {
  border-right-style: solid;
  border-right-width: 1px;
  border-color: #333333;
  white-space: nowrap;
}

.Reddish {
  background-color: #F26D73;
}

.JoinButt {
  background-color: #A7E869;
}

.col1 { background: #ccc; }
.col2 { background: #ffd; }
.changeable_set {background: #F93}
.changeable_free {background:  #6F6}
.reserved {background: #EEE}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(190, 190, 190, 0.6);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: rgba( 255, 0, 0, 0.9);
}

input:focus + .slider {
  box-shadow: 0 0 10px blue;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 14px;
}

.slider.round:before {
  border-radius: 50%;
}

.button {
  font-size: medium;
  font-family: Helvetica;
  font-style:normal;
  /*cursor: pointer;*/
  text-align: center;
  text-decoration:  none;
  outline: none;
  color: #fff;
  /*background-color: #4CAF50;*/
  background: linear-gradient(to top, #111, #aaa);
  border: medium;
  border-radius: 3px;
  box-shadow: 4px 6px 4px #555;
  padding: 7px 10px;
}
.button:hover {
  background: linear-gradient(to top, #aaa, #111);
}

.button:disabled {
  background: linear-gradient(to top, #333, #ccc);
  cursor: not-allowed;
}

.button.small {
  font-size: small;
}

.btn-service {
  background-color: #fbccb7;
  color: black;
  border-style: solid;
  border-color: #0b2e13;
}

.btn-service:hover {
  background-color: #f9bb9f;
}

.btn-service.Checked {
  background: #FA9B70;
  /*color: black;*/
}

.button1 {
  display: inline-block;
  padding: 2px 5px;
  font-size: medium;
  font-family: Helvetica;
  cursor: pointer;
  text-align: center;
  outline: none;
  color: black;
  background: linear-gradient(to top, #c6886c, #fcddcf);
  border: none;
  border-radius: 3px;
  box-shadow: 2px 4px 3px #888;
}

.button1:hover {
  color: black;
  text-decoration: none;
  background: linear-gradient(to bottom, #c6886c, #fcddcf);
}

.button1:disabled {
  background: linear-gradient(to top, #333, #ccc);
  cursor: not-allowed;
}

.button1.small {
  font-size: small;
}

.button2 {
  display: inline-block;
  padding: 2px 5px;
  font-size: medium;
  font-family: Helvetica;
  cursor: pointer;
  text-align: center;
  outline: none;
  color: black;
  background: linear-gradient(to top, #c50, #f93);
  border: none;
  border-radius: 3px;
  box-shadow: 2px 4px 3px #888;
}

.button2:hover {
  color: black;
  text-decoration: none;
  background: linear-gradient(to bottom, #b40, #f93);
}

.button2:disabled {
  background: linear-gradient(to top, #333, #ccc);
  cursor: not-allowed;
}

.button2.small {
  font-size: small;
}

.button3 {
  display: inline-block;
  padding: 2px 2px;
  font-size: medium;
  /*font-weight: 900;*/
  font-family: Helvetica;
  cursor: pointer;
  text-align: center;
  outline: none;
  color: #fff;
  background: linear-gradient(to top, #aaa, #ddd);
  border: none;
  border-radius: 3px;
  box-shadow: 2px 4px #777;
}

.button3:hover {
  background-color: #3e8e41
}

.button3:disabled {
  background: linear-gradient(to top, #333, #ccc);
  cursor: not-allowed;
}

.button3.small {
  font-size: small;
}

.buttonRdsh {
  font-size: medium;
  font-family: Helvetica;
  cursor: pointer;
  text-align: center;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #222222;
  background: linear-gradient(to top, #c6886c, #fcddcf );
  border: medium;
  border-radius: 3px;
  box-shadow: 4px 6px 3px #777;
  padding: 10px 14px;
}

.buttonRdsh:hover {
  background: linear-gradient(to top, #fcddcf, #c6886c);
  color: #111111;
}

.buttonRdsh:disabled {
  background: linear-gradient(to top, #333, #ccc);
  cursor: not-allowed;
  color: #444444;
}

.buttonRdsh.small {
  font-size: small;
}

.button:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

#butt_refuse {background-color: red;}
#butt_refuse:hover {background-color: #C03}

#butt_disabled {
  background-color: grey;
}

.input_style input {
  width: 73px;
  height: 35px;
  float:inherit;
  padding-left: 5px;
  border: 4px solid;
  border-radius: 6px;
  border-color: #F00;
  background:  #FF6;
  font-size:inherit;
}

.input_style input:focus {
  color: #555555;
}

#fixpos {
  border: 1px solid black;
  background-color: lightblue;
  height: 5000px;
  width: 100%; 
}

.block1 { 
    padding: 5px;
	position: relative;

}
.block2 { 
    padding: 5px; 
    position: relative; 

}
.block3 { 
    padding: 5px;
	padding-left: 0px;
	text-align:center; 
	width: 80%;
	background: #fc0;
    position: relative; 
	margin-left: 10%;
	border-radius: 10px; 
    top: 5px; 
}
.redish {
  color: red;
}

.reddish {
  color: #ffcc00;
}

.tbtn{border:0;outline:0;background-color:transparent;font-size:20px;cursor:pointer}
.toggler{display:none}
.toggler1{display:table-row;}

body.bg-comp {
  background-color: lightblue;
}

.CursPoint {
  cursor: pointer;
}

.CursPoint:disabled{
  cursor: not-allowed;
}

.BlueBold {
  color: indigo;
}
.BlueBold:hover {
  font-weight:bold;
  color: indigo;
}

.CompLink {
  font-size: 95%;
  color: #167178;
}

.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-content: center;
}

.footer {
  position: sticky; /* Фиксированное положение */
  left: auto; right: auto; bottom: 0; /* Нижний край */
  padding: 10px; /* Поля вокруг текста */
  /*background: #ccffcc; !* Цвет фона *!*/
  color: black; /* Цвет текста */
  width: 100%; /* Ширина слоя */
}

.comp-data td {
  text-align: left;
  padding: 2px 10px;
  background-color: #feeee7;
  height: 25px;
  border: solid 1px black;
}

/*.comp-data tr {*/
  /*overflow: hidden;*/
  /*line-height: 10px;*/
  /*white-space: nowrap;*/
/*}*/

.cash {
  display: block;
  position: relative;
}

.unpaid {
  display: block;
  position: relative;
  background: #FDE6C8
}

#tooltip {
  z-index: 9999;
  position: absolute;
  display: none;
  top:0px;
  left:0px;
  width: 250px;
  background-color: #fff;
  padding: 5px 10px 5px 10px;
  color: #000;
  border: 1px solid #888;
  border-radius: 5px;
  box-shadow: 0 1px 2px #555;
  box-sizing: content-box;
}

.circle {
  /*background: lightgreen;*/
  box-shadow: 3px 5px 4px gray;
  /*text-shadow: 2px 2px 5px red;*/
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex; /* or inline-flex */
  align-items: center;
  justify-content: center;
}

.selected_res {
  /*color: #32BE4E;*/
  background-color: #92FA99;
  font-weight: bold;
}

/* delete 'input with list' dropdown arrow */
input[list="ResFlags"]::-webkit-calendar-picker-indicator {
  display: none !important;
}

/*.HighLightRow:hover {*/
/*  border: 1px solid #333333;*/
/*}*/

.Zoom:hover {
  transform: scale(2);
}

.btn-primary {
  background-color: #1ea6af;
  border-color: #1ea6af;
}
.btn-primary:hover {
  background-color: #2299A1;
}

.btn-primary.selected {
  background-color: #0A767D;
}

.alert-content {
  background-color: #8fd19e; /* Red background for a warning */
  padding: 20px;
  border-radius: 5px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; /* Ensure it appears above other content */
}

.BackButtonContainer {
  position: sticky;
  bottom: 7vh;
  width: 20%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 10px;
}
.BackButtonContainer-low {
  position: sticky;
  bottom: 2vh;
  width: 20%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 1.2vh;
}
/*buttons*/
.styled {
  padding: 2px 8px;
  font-size: 1.1rem;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  border-style: solid;
  border-width: 1px;
  border-color: #01102A;
  font-family: OpenSansSoft, sans-serif;
}
.styled-sm {
  padding: 1px 3px;
  font-size: 0.9rem;
  border-radius: 3px;
}
.styled-md {
  font-size: 1.3rem;
}
.styled-lg {
  padding: 4px 12px;
  font-size: 1.7rem;
}
.styled-red {
  background-color: #BF0202;
  color: white;
}
.styled-rdsh {
  background-color: #fbccb7;
  color: black;
}
.styled-rdsh:hover {
  background-color: #f9bb9f;
}
.styled-green {
  background-color: #689C57;
}
.styled-green:hover {
  background-color: #689C57cc;
}
.styled-navy {
  background-color: #1ea6af;
  color: white;
}
.styled-navy:hover {
  background-color: #1ea6afcc;
}
.styled-disabled {
  background-color: #777E80;
  color: black;
  cursor: not-allowed;
}
.styled-red:hover {
  background-color: #ff0000;
}
.styled:active {
  box-shadow: inset -2px -2px 3px rgba(255, 255, 255, .6),
  inset 2px 2px 3px rgba(0, 0, 0, .6);
}
.styled:disabled {
  background-color: lightgrey;
  color: black;
  cursor: not-allowed;
}
.btn-back {
  padding: 2px 10px;
}
.btn-wide {
  min-width: 230px;
}
input.lg {
  background-color: #feeee7;
  width:  200px;
  height: 30px;
  padding: 2px 5px;
  border: 1px solid #999;
  font-size: 1.5rem;
}

.PageTitle {
  text-align: center;
  font-family: LuckiestGuy, sans-serif;
  color: #f26522;
  margin-top: 4vh;
}

.Liski-headers {
  font-family: LuckiestGuy, sans-serif;
  color: #f26522;
  margin-top: 8px
}

.radio-group {
  display: flex;
  align-items: center; /* Выравнивание по центру по вертикали */
  /*margin-bottom: 10px; !* Небольшой отступ между группами *!*/
}
.radio-group input[type="radio"] {
  margin-right: 5px; /* Отступ между радиокнопкой и текстом */
}
.radio-group label {
  margin-right: 30px; /* Отступ между радиокнопкой и текстом */
  margin-bottom: -2px;
}

.resetPassword td {
  text-align: left;
  padding: 5px 10px;
  background-color: #feeee7;
  border: solid 1px black;
 }
.captcha-group {
  display: flex;
  align-items: center; /* Выравнивание по центру по вертикали */
  /*margin-bottom: 10px; */
}
.OutputSelect {
  text-align: left;
  padding-left: 5px;
  color: #10707f;
  cursor: pointer;
}
.OutputSelect:hover {
  text-shadow: 2px 2px 5px darkslategray;
}
.TimingInput {
  background-color: transparent;
  width: 100%; 
  /*font-size: small;*/
  padding: 0 3px;
  min-width: 42px;
  border-radius: 1px;
  border: none;
  margin: 0 1px;
}

.Penalty {
  color: #8c2222;
  padding: 0 3px;
  font-size: small;
  text-align: center;
}

.penalty-cell {
  border-top: none;
  border-bottom: none;
  border-left: solid lightblue 1px;
  border-right: solid black 1px;
  margin: 0 1px;
}
.res-header {
  min-width: 30px;
}
.SkierName {
  min-width: 80%;
}
.input-transp {
  background-color: transparent;
  border: solid 1px black;
  min-width: 100%;
}
.no-border {
  border: none;
}
.form-pad {
  padding-left: 30px;
}
.form-small {
  font-size: 90%;
}

@media screen and (max-width: 1200px) and (orientation:portrait) {
  .PageTitle {
    margin-top: 6vh;
  }
  .personal-data {
    width: 95%;
  }
}

.print-header {
  display: none;
}

.bg-black {
  background-color: black;
  color: white;
}

/*.no-print-tag {*/
/*  display: inline;*/
/*}*/

.CopyPar:hover {
  cursor: pointer;
  text-shadow: 0px 0px 10px #0F0606;
  font-weight: 1200;
}

#footer {
  display: none;
}

.Cancelled {
  text-decoration: line-through;
}

.pointer-cursor {
  cursor: pointer;
}

.GreenShadow {
  box-shadow: 2px 2px 3px green;
}

.RedShadow {
  box-shadow: 2px 2px 3px red;
}

.BlueShadow {
  box-shadow: 2px 2px 3px blue;
}

.SpqrFailedColor {
  accent-color: #EB7125;
}

.SpqrInvalidColor {
  accent-color: #bbbbbb;
}

.SpqrOkColor {
  accent-color: #4BA36A;
}

.SpqrSemiOkColor {
  accent-color: blue;
}

.SkierDataLink {
  cursor: pointer;
  font-size: small;
  text-decoration: underline;
}

@media print {
  .print-header {
    display: inline;
  }
  .no-print-tag {
    display: none;
  }
  #footer {
    display: block;
    position: fixed;
    width: 95%;
    bottom: 0;
  }
}

/* loading await animation */
.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.loader {
  margin: 60px auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
  z-index: 100;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
#loadingDiv {
  position:absolute;;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:#777;
  opacity: 0.5;
  z-index: 99;
}

