@import '../fonts/index.css';

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

button {
  outline: none;
}

@media screen and (min-width: 768px) {
  .customModal.width-auto {
    max-width: 80vw;
  }
}

@media screen and (min-width: 1024px) {
  .customModal.width-auto {
    max-width: 40vw;
  }
}

@media screen and (min-width: 1200px) {
  .customModal.width-auto {
    min-width: 400px;
  }
}

.customModal.width-auto {
  width: auto !important;
}

.customModal .ant-modal-close {
  right: 10px;
  top: 10px;
}

.customModal .ant-modal-content, .customModal .ant-modal-header, .ant-modal-content .ant-modal-body {
  border-bottom: none;
  border-radius: 30px;
}

.codeInValidError {
  background: #dd3323;
  color: #fff;
}

.bert-alert {
  /* background-color:  rgba(255, 255, 255, 0.1) !important; */
  color: yellow !important;
}

.bert-alert .bert-content > h5 {
  font-size: 17px !important;
}

#ConsoleLogWindow .contentClassName {
  background: white;
  font-size: 16px;
  top: 40px !important;
  overflow-y: scroll;
}

.RefContent {
  height: 100%;
}

.CodeMirror-hints {
  position: absolute;
  z-index: 10;
  overflow: hidden;
  list-style: none;

  margin: 0;
  padding: 2px;

  -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  border-radius: 3px;
  border: 1px solid silver;

  background: #e8db86;
  font-size: 90%;
  font-family: monospace;

  max-height: 20em;
  overflow-y: auto;
}

.CodeMirror-hint {
  margin: 0;
  padding: 0 4px;
  border-radius: 2px;
  white-space: pre;
  color: black;
  cursor: pointer;
}

.CodeMirror-lint-tooltip {
  margin-top: -10000px;
  background-color: #ffd;
  border: 1px solid black;
  border-radius: 4px 4px 4px 4px;
  color: black;
  font-family: monospace;
  font-size: 10pt;
  overflow: hidden;
  padding: 2px 5px;
  position: fixed;
  white-space: pre;
  white-space: pre-wrap;
  z-index: 100;
  max-width: 600px;
  opacity: 0;
  transition: opacity .4s;
  -moz-transition: opacity .4s;
  -webkit-transition: opacity .4s;
  -o-transition: opacity .4s;
  -ms-transition: opacity .4s;
}

.customModal .ant-modal-content, .customModal .ant-modal-header, .ant-modal-content .ant-modal-body {
  border-bottom: none;
  border-radius: 30px;
}

.customPopOver .ant-popover-inner {
  border-radius: 10px;
}
@font-face {
  font-family: 'ZCOOL KuaiLe';
  font-style: cursive;
  font-weight: 400;
  src: url('https://cdn.jsdelivr.net/gh/cake2000/tgameshare/fonts/kuaile/ku.eot');
  /* IE9 Compat Modes */
  src: local('ZCOOL KuaiLe Regular'), local('ZCOOLKuaiLe-Regular'), url('https://cdn.jsdelivr.net/gh/cake2000/tgameshare/fonts/kuaile/ku.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('https://cdn.jsdelivr.net/gh/cake2000/tgameshare/fonts/kuaile/ku.woff2') format('woff2'), /* Super Modern Browsers */ url('https://cdn.jsdelivr.net/gh/cake2000/tgameshare/fonts/kuaile/ku.woff') format('woff'), /* Modern Browsers */ url('https://cdn.jsdelivr.net/gh/cake2000/tgameshare/fonts/kuaile/ku.ttf') format('truetype'), /* Safari, Android, iOS */ url('https://cdn.jsdelivr.net/gh/cake2000/tgameshare/fonts/kuaile/ku.svg#ZCOOLKuaiLe') format('svg');
  /* Legacy iOS */
}

@font-face {
  font-family: 'Patrick Hand';
  font-style: cursive;
  font-weight: 400;
  src: url('https://cdn.jsdelivr.net/gh/cake2000/tgameshare/fonts/patrick/ph.eot');
  /* IE9 Compat Modes */
  src: local('Patrick Hand'), local('PatrickHand-Regular'), url('https://cdn.jsdelivr.net/gh/cake2000/tgameshare/fonts/patrick/ph.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('https://cdn.jsdelivr.net/gh/cake2000/tgameshare/fonts/patrick/ph.woff2') format('woff2'), /* Super Modern Browsers */ url('https://cdn.jsdelivr.net/gh/cake2000/tgameshare/fonts/patrick/ph.woff') format('woff'), /* Modern Browsers */ url('https://cdn.jsdelivr.net/gh/cake2000/tgameshare/fonts/patrick/ph.ttf') format('truetype'), /* Safari, Android, iOS */ url('https://cdn.jsdelivr.net/gh/cake2000/tgameshare/fonts/patrick/ph.svg#PatrickHand') format('svg');
  /* Legacy iOS */
}

.lazy-load-div > img {
  visibility: hidden;
}
