body {
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
  margin: 0;

}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999997;
}

.new-loader {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999997;
}

.page-loader .page-loader-overlay,
.new-loader .new-loader-overlay {
  width: 100%;
  height: 100%;
  z-index: 9999998;
}

.page-loader .page-loader-overlay {
  background-color: white;
}

.new-loader .new-loader-overlay {
  opacity: 0.8;
  backdrop-filter: blur(6px);
}

.page-loader .page-loader-logo {
  position: fixed;
  height: 75px;
  left: 50%;
  transform: translateX(-50%);
  top: 35vh;
  z-index: 9999999;
}

.new-loader .progress,
.page-loader .progress {
  position: fixed;
  width: 50%;
  margin-left: 25%;
  top: 49vh;
  z-index: 9999999;
}

/* IOS FIXING */
.dropdown-content {
  transform: none !important;
  width: auto !important;
}

.material-icons-outlined {
  opacity: 0;
}

.hidden {
  display: none;
}

.hidden-visibility {
  visibility: hidden;
}

.change-log-wrap {
}

.change-log-wrap table.change-log td {
  padding: 5px 10px;
}

table.change-log td .material-symbols-outlined {
  color: #26a69a;
  font-size: 25px;
}

.banner {
  font-size: 4vh;
  font-weight: bold;
  margin-bottom: 10px;
}

.authorization {
  position: relative;
}

.language-div-class {
  margin: 0;
}

.language-div-class a.btn-flat {
  padding: 0;
}

.authorization .language-div-class {
  position: absolute;
  top: 5px;
  right: 5px;
}

.nocolor-hoverable:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.color-hoverable:hover {
  color: orangered !important;
  transform: scale(1.1);
}

.hide-class {
  display: none;
}

.margin-0 {
  margin: 0;
}

.margin-3 {
  margin: 3px;
}

.divider {
  height: 2px;
  background-color: #444444;
  margin: 5px;
}

@keyframes blinking-orangered {
  0%{		color: orangered;	}
  75%{	color: #FFFFFF;	}
  100%{		color: orangered;	}
}

.blinking-orange,
.blinking-orange i,
.blinking-orange p,
.blinking-orange span
{
  -webkit-animation: blinking-orangered 1s infinite;
  -moz-animation:    blinking-orangered 1s infinite;
  animation:         blinking-orangered 1s infinite;
}


@keyframes blinking {
  0%{	opacity: 1	}
  30%{	opacity: 0	}
  100%{	opacity: 1	}
}

.blinking-class,
.blinking-class i,
.blinking-class p,
.blinking-class span
{
  -webkit-animation: blinking 0.8s infinite;
  -moz-animation:    blinking 0.8s infinite;
  animation:         blinking 0.8s infinite;
}



.welcome-view {
  margin: auto;
  position: relative;
  height: 100vh;
  width: 100vw;

  background-image: url(../images/erudite-background.jpg);
  background-size: cover;
}

.welcome-view-footer {
  position: absolute;
  bottom: 0;
  background-color: #26a69aaa;
  color: white;
  padding: 5px 10px;
  right: 0;
  font-weight: 700;
  border-radius: 4px 0 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.BackgroundField {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.BackgroundField img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.game-root {
  background-image: url(../images/wood-background.jpg);
  background-size: contain;
  background-repeat: repeat;
  min-height: 100vh;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  /*height: 100vh*/
}

.StartPanel {
  background-color: white;
  text-align: center;
  box-shadow: 0 0 16px 6px black;
  padding: 20px;
  border-radius: 5px;
  position: absolute;
  width: 395px;
  max-width: 80vw;
  right: 2vw;
  top: 3vw;
}

.StartPanel h1 {
  margin: 5px;
}

.StartPanel .Message {
  color: orangered;
}

.UserView {
  /*background: url("https://cdn.auth0.com/blog/whatabyte/patio.png") left bottom; */
  background-size: cover;
  height: 100%;
}

.UserNameExist p {
  font-size: 14pt;
  margin: 0;

}

.UserNameExist img {
  height: 100px;
  margin-left: 10px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 50%;
}

.start-buttons-div-class {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.oauth-button-container {
  text-transform:none;
  width: 100%;
  height: 40px;
  color: white;
  padding:4px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.oauth-facebook-container {
  text-transform:none;
  width: 100%;
  height: 40px;
  color: white;

  padding:4px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.__btn_DELME {
  background-color: #6986B5;
  border: none;
  color: white;
  padding: 5px 20px 5px 20px;
  text-align: center;
  text-decoration: none;
  /*display: inline-block; */
  font-size: 12pt;
  min-height: 25px;
  cursor: pointer;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  border-radius: 3px;
  margin: 5px;
  box-shadow: 2px 2px 4px 0 rgba(0,0,0,0.8);

  border-radius: 35px;
}

.btn:focus
{
  outline-width: 0px;
}

.btn:hover {
  box-shadow: 4px 4px 6px 0 rgba(0,0,0,0.8);
}

.btn:disabled,
.btn[disabled],
.btn:disabled :hover,
.btn[disabled] :hover {
  border: 1px solid #999999;
  background-color: #cccccc !important;
  color: #666666;
  box-shadow: none;
  cursor: not-allowed;
}

.btn:active {
  box-shadow: none;
}

.kith-games-class table {
  width: 100%;
}

.field-table-class {
  border-collapse: collapse;
  -webkit-box-sizing: content-box;

  /*table-layout: fixed; */
  height: 100%;
  width: 100%;

  background-color: black;
  box-shadow: 0 0 12px 1px black;
  box-sizing: border-box;
}

.field-table-class.disabled {
  box-shadow: 0 0 12px 1px red;
}

:root {
  --free-class-background-color: #12655d;
  --field-frame-background-color: #033c05;
  --field-border-color: #000000;
  --center-class-background-color: #ffff00;


  --word-3-class-background-color: #c60000;
  --word-3-class-color: #ffffff;

  --word-2-class-background-color: #e07501;
  --word-2-class-color: #ffffff;

  --letter-3-class-background-color: #a300e7;
  --letter-3-class-color: #ffffff;

  --letter-2-class-background-color: #0093e8;
  --letter-2-class-color: #ffffff;

  --last-turn-color: #00ff00;
}

.field-table-class .free-class {
  background-color: #12655d; /* fallback */
  background-color: var(--free-class-background-color)
}

.game-note-div-class,
.game-status-div-class {
  /*line-height: 5vh; */
  font-size: 12pt;
  padding: 3px 3px 0 3px;
  color: #444444;
  font-weight: bold;
  /*display: inline-block;*/
}

.input-anyword-class {
  display: inline-block;
  white-space: nowrap;

  padding: 1px 7px 1px 7px;
  border-radius: 5px;
  font-size: 2em;
  font-family: "Times New Roman";
  width: 100%;
}


.sortable-drag,
.sortable-chosen,
.sortable-ghost
{
  cursor: grabbing;
}

.sortable-drag :active {
  cursor: grab;
}

.joker-dialog-class {
   margin: 0px;
   text-align: center;
   border-radius: 10px;
   box-shadow: 0 0 7px 2px;
}

.joker-dialog-class button {
  margin: 5px;
}


.loader {
  border: 10px solid dodgerblue;
  /* border-radius: 25px; */
  border-top: 10px solid white;
  border-bottom: 10px solid white;
  top: calc(50% - 25px);
  left: calc(50% - 25px);
  width: 50px;
  height: 50px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  box-shadow: 0 0 6px rgba(0,0,0,0.8);
  position: absolute;
  /* display: none; */
  z-index: 11000;
  background-color: #ececec;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.pouch-class  {
  position: fixed;
  left: 0;
  top: 50px;
  margin: 10px;
  width: 100px;
  height: 140px;
  visibility: hidden;
}

.pouch-class .pouch-img-class {
  position: absolute;
  height: 150px;
  width: 100px;
}

.pouch-class .pouch-img-class img {
  height: 150px;
  -webkit-filter: drop-shadow(5px 5px 5px #222);
  filter: drop-shadow(5px 5px 5px #222);
}


.pouch-class .pouch-qty-class {
  position: absolute;
  top: 78%;
  left: 44%;
  transform: translate(-50%, -50%);
  font-size: 30pt;
  font-weight: bold;
  color: yellow;
  text-shadow: 0 0 5px black;
  cursor: pointer;
}

@keyframes pulse {
  0% {
    transform: scale(1, 1);
  }

  50% {
    transform: scale(0.9, 0.9);
  }

  100% {
    transform: scale(1, 1);
  }
}

.pulse-class {
  animation: pulse 1s linear infinite;
}


.clickable-highlight-class {
  animation: pulse 0.8s ease-out infinite;
  outline: 3px yellow solid;
}

.blocker {
  z-index: 9999;
  background-color: rgba(0,0,0,0.25);
}

.mw-parser-output  {
 /* max-height: 80vh;
  overflow: auto;
  padding: 5px 20px; */
}

.blocker ::-webkit-scrollbar {
  width: 5px;
}

.blocker ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.blocker ::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

#wikiAreaId {
  overflow-y: auto;
}

/* Для WebKit (Chrome, WebView) */
.modal .modal-content::-webkit-scrollbar {
  width: 5px; /* Ширина скроллбара */
}

.modal .modal-content::-webkit-scrollbar-thumb {
  background: dodgerblue; /* Цвет полосы прокрутки */
  border-radius: 4px; /* Скругленные края */
}

.modal .modal-content::-webkit-scrollbar-track {
  background: lightgray; /* Цвет фона */
}

.modal a.close-modal {
  top: -20.5px;
  right: -15.5px;
  height: 30px;
  line-height: 30px;
  width: 30px;
  font-size: 2em;
  font-weight: bold;
  border-radius: 50%;
  background-color: orangered;
  color: white;
  text-align: center;
  cursor: pointer;
  background-image: unset;
  text-indent: -1px;
}



.yes-modal-class {
  background-color: limegreen;
}

.no-modal-class {
  background-color: orangered;
}

.smallScreen {
  display: none;
}

.outer-footer-div-class {
  width: 100%;
  padding: 3px 10px;
}

.footer-div-class {
  text-align: center;
  display: flex;
  justify-content: space-between;
}

.language-select-class {
  padding: 5px 2px;
  font-size: 16pt;
  position: absolute;
  top: 5px;
  right: 5px;
  border: none;
  font-weight: bold;
}

.language-select-class:hover,
.language-select-class:focus {
  color: blue;
  border-bottom-color: #DCDCDC;
}

.language-select-class .select-item-class {
  position: absolute;
  background-color: white;
  border: none;
  box-shadow: none;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

.magnifier {
  box-shadow: 0 0 3px 2px;
}

@media (orientation: portrait) {
  .field-table-class tr:not(:first-child):not(:last-child) td:not(:last-of-type):not(:first-of-type) {
    /*height: 5.6vw;
    width: 5.6vw;
    min-width: 5.6vw;
    min-height: 5.6vw; */
  }
}



  /*  MEDIA mobile */


@media only screen and (max-width:480px) {
  .modal {
    width: 100% !important;
    max-width: unset !important;
    top: unset !important;
    bottom: 0 !important;
    border-radius: 0 !important;

  }

  .modal.blue-modal {
    background-color: dodgerblue;
    color: white;
  }

  .modal .modal-content {
    padding: 15px 15px 5px 15px;
  }

  .modal h5 {
    font-size: 1.2rem;
  }

  .modal a.btn {
    padding: 0 15px;
    box-shadow: none;
    border-radius: 18px;
    font-weight: bold;
    min-width: 100px;
  }

  .modal.blue-modal a.btn {
    background-color: white;
    color: dodgerblue;
  }

  .modal a.btn-flat {
    padding: 0 5px;
    font-weight: bold;
  }

  .modal.blue-modal a.btn-flat {
    color: #eee;
  }

  .modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 0 10px;
    height: unset;
  }

  .modal.blue-modal .modal-footer {
    background-color: dodgerblue;
  }


}

.rotate-class {
  transform: rotate(360deg);
  -moz-transition: transform 1s;
  -webkit-transition: transform 1s;
  transition: transform 1s;
}

.color-hoverable:hover {
  color: orangered !important;
  transform: scale(1.2);
  cursor: pointer;
}

.flex-container {
  display: flex;
  flex-direction: row;
  gap: 0.4em;
  align-items: center;
}

@media screen and (min-aspect-ratio: 9/10) and (max-aspect-ratio: 10/9)
{
  .field-div-class {
    max-width: 75vh;
  }
}

/* Landscape */
@media screen and (max-aspect-ratio: 13/9) and (max-height:900px) {

  /*
  .field-table-class tr:not(:first-child):not(:last-child) td:not(:last-of-type):not(:first-of-type) {
    font-size: 8pt;
  }
*/

  .dashboard-div-class {
    /*width: 46vh;*/
  }

  .player-tile-class .tile-price-class {
    font-size: 1.8vh;
  }

  .player-tile-class .tile-letter-class {
  }

  .countdown-class {
    font-size: 21pt;
  }

}
