body,
ul,
ol,
li,
h1,
h2,
form,
legend,
input,
textarea,
p,
th,
td {
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  border: 0;
}
em,
strong,
th {
  font-style: normal;
  font-weight: normal;
}
li {
  list-style: none;
}
th {
  text-align: left;
}
h1,
h2,
h3 {
  font-size: 100%;
  font-weight: normal;
}
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
time {
  display: inline-block;
}

@font-face {
  font-family: 'ProximaNovaSoft-Bold';
  src: url('//www.coolmath-games.com/sites/cmatgame/themes/cmatgame_mob/css/fonts/MarkSimonsonProximaNovaSoftBold.otf');
  font-weight:normal !important;
}
@font-face {
  font-family: 'ProximaNovaBold';
  src: url('//www.coolmath-games.com/sites/cmatgame/themes/cmatgame_mob/css/fonts/MarkSimonsonProximaNovaSoftBold.otf');
  font-weight:normal !important;
}
@font-face {
  font-family: "lichess";
  src: url("../font53/fonts/lichess.eot");
  src: url("../font53/fonts/lichess.eot?#iefix") format("embedded-opentype"), url("../font53/fonts/lichess.woff") format("woff"), url("../font53/fonts/lichess.ttf") format("truetype"), url("../font53/fonts/lichess.svg#lichess") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-weight: 400;
  src: local('PT Serif Italic'), local('PTSerif-Italic'), url(//fonts.gstatic.com/s/ptserif/v8/03aPdn7fFF3H6ngCgAlQzPk_vArhqVIZ0nv9q090hN8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
@font-face {
    font-family: 'ProximaNova';
    src: url("../fonts/MarkSimonsonProximaNovaSoftBold.otf");
	font-weight:normal !important;
}
@font-face {
    font-family: 'ProximaNova';
    src: url("../fonts/MarkSimonsonProximaNovaSoftRegular.otf");
	font-weight:normal !important;
}
@font-face {
    font-family: 'ProximaNova';
    src: url("../fonts/MarkSimonson_ProximaNovaSoftRegularIE.eot");
	font-weight:normal !important;
}
.is::before,
[data-icon]::before,
.is-after::after {
  font-size: 1.2em;
  vertical-align: middle;
  font-family: "lichess" !important;
  font-style: normal !important;
  font-weight: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: attr(data-icon);
}
.is.text::before,
.text[data-icon]::before {
  margin-right: 5px;
}
[data-icon].is2::before {
  font-size: 20px;
}
[data-icon].is3::before {
  font-size: 22px;
}
[data-icon].is4::before {
  font-size: 30px;
}
.is4.text::before {
  margin-right: 10px;
}
[data-icon].is-green::before {
  color: #759900;
}
[data-icon].is-red::before {
  color: #dc322f;
}
[data-icon].is-gold::before {
  color: #d59120;
}
body.blind_mode .is::before,
body.blind_mode .is::after,
body.blind_mode [data-icon]::before {
  content: none;
  display: none;
  visibility: hidden;
}
.is.color-icon.white::before {
  content: "K";
}
.is.color-icon.black::before {
  content: "J";
}
.is.color-icon.random::before {
  content: "l";
}
@font-face {
  font-family: 'ChessSansPiratf';
  src: url("../fonts/ChessSansPiratf.eot");
  src: url("../fonts/ChessSansPiratf.eot?#iefix") format("embedded-opentype"), url("../fonts/ChessSansPiratf.woff") format("woff"), url("../fonts/ChessSansPiratf.ttf") format("truetype"), url("../fonts/ChessSansPiratf.svg#lichess") format("svg");
}
.thin {
  font-family: 'Roboto';
  font-weight: 300;
}
#blind_mode {
  margin-left: -99999px;
  height: 0;
}
body.blind_mode #blind_mode {
  text-align: center;
  padding: 5px 0;
  background: #888;
  margin-left: 0;
  height: auto;
}
group.radio {
  display: flex;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #ccc;
}
group.radio div {
  flex: 1 1 auto;
  position: relative;
}
group.radio input {
  position:absolute;
  left: -99999px;
}
group.radio label {
  box-sizing: border-box;
  padding: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor:pointer;
  border-right: 1px solid #ccc;
  transition: background 0.13s;
  -moz-user-select: none;
  -webkit-user-select: none;
}
group.radio div:last-child label {
  border-right: 0;
}
group.radio input:checked + label {
  /*background: #72b7e3;*/
  border:2px solid #a2d3f1 !important;
  font-weight: 500;
  color: #fff;
}
.difficulty > .button {
  display: block;
  text-align: center;
  margin: 1em 0;
}
ul.ui-autocomplete {
  width: 200px;
  background: #FAFAFA;
  border: 1px solid #DADADA;
  max-height: 200px;
  overflow: auto;
}
ul.ui-autocomplete li a {
  display: block;
  padding: 0.6em 1em;
}
ul.ui-autocomplete li a.ui-state-focus {
  background: #E1F6F8;
  color: #444;
}
.ui-corner-right {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}
.ui-corner-left {
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}
.ui-corner-all {
  border-radius: 2px;
}
/* slider */

.ui-slider {
  background: #fff;
  position: relative;
  text-align: left;
  cursor:pointer;
}
.ui-slider .ui-slider-handle {
  position: absolute;
  z-index: 2;
  width: 1.2em;
  height: 1.2em;
  cursor: default;
  outline:0;
  cursor:pointer;
}
.ui-slider .ui-slider-range {
  position: absolute;
  z-index: 1;
  font-size: .7em;
  display: block;
  border: 0;
  background-color:#a2d3f0;
}
.ui-slider-horizontal {
  height: .8em;
}
.ui-slider-horizontal .ui-slider-handle {
  top: -.3em;
  margin-left: -.6em;
}
.ui-slider-horizontal .ui-slider-range {
  top: 0;
  height: 100%;
}
.ui-slider-horizontal .ui-slider-range-min {
  left: 0;
}
.ui-slider-horizontal .ui-slider-range-max {
  right: 0;
}
#infscr-loading .spinner {
  margin: 10px auto;
}
@keyframes spinnerRotate {
  100% { transform: rotate(360deg); }
}
@keyframes spinnerDash {
  0%,10% { stroke-dasharray: 1,270; stroke-dashoffset: 0 }
  40% { stroke-dasharray: 89,240; stroke-dashoffset: 0 }
  100% { stroke-dasharray: 1,240; stroke-dashoffset: -110 }
}
@keyframes spinnerColor {
  0%,20%,100% { stroke: #42a5f5 }
  30%,45% { stroke: #f44336 }
  50%,70% { stroke: #fdd835 }
  75%,95% { stroke: #4caf50 }
}
.spinner {
  width: 40px;
  height: 40px;
  margin: auto;
}
.spinner svg {
  animation: spinnerRotate 1.5s linear infinite;
}
.spinner circle {
  stroke: #42a5f5;
  stroke-width: 4;
  animation: spinnerDash 1.275s ease-in-out infinite, spinnerColor 5.1s linear infinite;
}
.spinner.monochrome circle {
  animation: spinnerDash 1.275s ease-in-out infinite;
  stroke: #ddd;
}
#powerTip,
#hook,
#miniGame {
  width: 224px;
  min-height: 3em;
  cursor: default;
  background-color: #f0f0f0;
  border: 1px solid #c0c0c0;
  display: none;
  position: absolute;
  z-index: 900000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
#miniGame {
  min-height: 262px;
}
#powerTip > .title {
  padding: 5px;
  border-bottom: 1px solid #c0c0c0;
}
#powerTip > .title a.user_link {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
#powerTip span.localization {
  display: block;
  height: 16px;
  margin-top: 5px;
}
#powerTip a.mini_board {
  border-width: 0 0 1px 0;
}
#powerTip .countrylang {
  float: right;
  font-size: 0.9em;
}
#powerTip .ratings {
  text-align: center;
  margin-top: 3px;
}
#powerTip .ratings > span {
  padding: 2px 3px;
  width: 20%;
  text-align: left;
}
#powerTip > .actions {
  width: 100%;
}
#powerTip > .actions a {
  margin: 0;
  border-radius: 0;
  display: block;
  font-size: 0.9em;
  letter-spacing: -1px;
  text-align: center;
  padding: 0 7px;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
  border-width: 0 1px 0 0;
}
#powerTip > .actions a span::before {
  font-size: 1.5em;
}
#powerTip > .actions td:last-child a {
  border-right: 0;
}
#powerTip .confirm {
  margin-top: 10px;
  width: 100%;
  text-align: center;
}
#powerTip > .game_legend {
  text-align: center;
  border-bottom: 1px solid #c0c0c0;
  padding: 3px 0;
}
#powerTip > .score {
  font-size: 1.2em;
  text-align: center;
  border-bottom: 1px solid #c0c0c0;
  padding: 3px 0;
}
#powerTip > .info .title {
  display: block;
  padding: 10px 15px;
  border-bottom: 1px solid #c0c0c0;
  text-align: center;
  text-transform: uppercase;
}
#powerTip > .info .content {
  display: block;
  padding: 15px 15px;
}
#powerTip .spinner {
  margin: 20px auto;
}
#miniGame .spinner {
  margin: 82px auto 0 auto;
}
.clearfix::after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix {
  display: inline-block;
}
.none {
  display: none;
}
html {
  min-height: 100%;
}
body {
  font: 12px 'Noto Sans', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, Sans-Serif;
  color: #707070;
/*   background: linear-gradient(to bottom, #12293f 0%, #102233 25%, #0d1720 53%, #0d1720 100%); */
  overflow-x: hidden;
  cursor: default;
}
body.no-bg {
  background: none!important;
}
body.no-select {
  -moz-user-select: none;
  -webkit-user-select: none;
}
a,
a:visited,
button,
input {
  color: #747474;
}
a,
a:visited,
button,
.button {
  cursor: pointer;
}
a,
a:hover,
a:visited {
  text-decoration: none;
}
button.a {
  border: none;
  background: none;
}
strong {
  font-weight: bold;
}
.small {
  font-size: 11.5px;
}
#site_header {
  width: 200px;
  float: left;
  position: relative;
}
#site_header a.lang_fallback {
  font-weight: bold;
  display: inline-block;
  margin-right: 1em;
}
body > div.content {
  /* width: 1005px; edited */
  width: 800px;
  /*margin: 35px auto 30px auto;*/
  /*margin: 40px auto 0px auto !important;*/
}
body.fpmenu > div.content {
  display: none;
}
#top {
  float: right;
  height: 24px;
  margin: -100px 4px 0 auto;
  padding-top: 5px;
  box-sizing: border-box;
  color: #5498c9;
}
#top:hover,
body.fpmenu #top {
  z-index: 5001;
}
#site_description {
  position: absolute;
  top: -100px;
}
#site_title {
  width: 130px;
  font-size: 30px;
  display: block;
  margin-bottom: 3px;
  color: #555;
  opacity: 0.7;
  transition: opacity 0.13s;
}
#site_title:hover {
  opacity: 1;
}
#site_title span.extension {
  opacity: 0.7;
}
#site_title span.kiddo {
  opacity: 0.7;
  margin-right: 5px;
  font-size: 0.9em;
}
#friend_box .nobody {
  text-align: center;
  display: none;
  padding: 3px 5px;
  height: 100%;
}
#friend_box .nobody span {
  display: block;
  margin: 5px;
}
#friend_box a.find {
  display: none;
  margin: 30px 7px 0 7px;
  font-style: normal;
}
#friend_box div.nobody:hover a.find {
  display: block;
}
.country > img {
  vertical-align: middle;
}
div.content_box {
  border: 1px solid #ccc;
  background: #fff;
  padding: 20px 24px 24px 24px;
  text-align: left;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}
div.content_box h1 {
  font-size: 1.8em;
  font-weight: normal;
  display: inline;
}
div.content_box.small_box {
  width: 530px;
}
div.content_box.no_padding {
  padding: 0;
}
div.content_box.no_padding h1 {
  display: block;
  padding: 20px 25px;
}
div.content_box .content_box_title {
  padding: 20px 20px 0 20px;
}
div.content_box_top {
  padding: 10px 0 0 20px;
  background-color: #f0f0f0;
  background-image: linear-gradient(to bottom, #fafafa 0%, #f0f0f0 100%);
  text-shadow: 0 1px 0 #FFF;
}
div.content_box_top .link:hover {
  background: #fff;
}
div.content_box_top h1.lichess_title {
  display: inline;
  padding: 0;
}
div.content_box .content_box_content {
  padding: 20px;
}
div.content_box_inter {
  padding-left: 25px;
  background: #f0f0f0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  display: block;
  white-space: nowrap;
}
div.content_box_inter .intertab {
  display: inline-block;
  text-align: center;
  line-height: 1.4em;
  margin: 5px 0 -1px 0;
  padding: 0.5em 0.7em;
  text-transform: capitalize;
  border: 1px solid transparent;
  font-family: 'Roboto';
  font-weight: 300;
}
div.content_box_inter.tabs .intertab {
  margin-top: 7px;
  border-bottom: none;
  padding-bottom: 0.8em;
}
div.content_box_inter .intertab strong {
  font-family: 'Noto Sans';
  font-weight: normal;
}
div.content_box_inter a.intertab:hover,
div.content_box_inter a.intertab.active {
  border-color: #ccc;
}
div.content_box_inter a.intertab.active {
  background: #fff;
}
div.content_box .lichess_title {
  font-size: 2em;
  display: block;
  margin-bottom: 0.5em;
}
div.content_box table.datatable {
  width: 100%;
  margin-top: 20px;
}
div.content_box table.datatable td {
  padding: 5px 10px 5px 10px;
}
div.content_box table.datatable tr:nth-child(odd) {
  background: #eee;
}
table.slist {
  width: 100%;
  border-bottom: 1px solid #d4d4d4;
}
table.slist thead th {
  border-top: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
  padding: 0.4em 0.6em;
}
table.slist thead th.large {
  font-size: 1.4em;
}
table.slist td {
  padding: 0.6em;
  font-size: 1.1em;
}
table.slist td .label {
  font-family: monospace;
  font-size: 10px;
}
table.slist tbody tr:nth-child(even) {
  background: #f4f4f4;
}
table.slist td:first-child,
table.slist th:first-child {
  padding-left: 25px;
}
div.side h2 {
  text-align: center;
  font-size: 1.5em;
}
div.side_box {
  margin-top: 12px;
  margin-left: -30px;
  width: 226px;
  box-sizing: border-box;
}
div.side_box,
div.box {
  border: 1px solid #ccc;
}
div.side_box.padded {
  padding: 7px;
}
div.side_box .top,
div.box .top {
  border-bottom: 1px solid #ccc;
  padding: 3px 5px;
  font-weight: bold;
  color: #999;
}
div.side_box .padded {
  padding: 7px;
}
@media (max-width: 1070px) {
  div.side_box,
  #site_header a.stream {
    margin-left: 0!important;
    width: 196px!important;
  }
}
.notification .message_infos,
.notification .game_infos,
div.side_box .game_infos {
  padding-left: 36px;
  position: relative;
}
.notification .message_infos,
.notification .game_infos {
  display: block;
}
div.side_box .game_infos {
  border-bottom: 1px solid #ccc;
  padding-bottom: 8px;
  margin-bottom: 6px;
}
div.side_box .players .player {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.notification .message_infos::before,
.notification .game_infos::before,
div.side_box .game_infos::before {
  position: absolute;
  top: 2px;
  left: 0;
  font-size: 30px;
  opacity: 0.7;
}
div.side_box .game_infos .bookmark {
  position: absolute;
  right: 0;
  background: radial-gradient(ellipse at center, rgba(238, 238, 238, 1) 0%, rgba(238, 238, 238, 1) 25%, rgba(238, 238, 238, 0) 100%);
  opacity: 0;
  transform: translate(0, -20px);
  -webkit-transform: translate(0, -20px);
  transition: transform 0.3s;
  z-index: 10;
  /* to go over the board */
}
div.side_box .game_infos:hover .bookmark {
  transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
  opacity: 1;
}
div.side_box .game_infos .setup {
  display: block;
}
div.side_box .game_infos .variant-link {
  border-bottom: 1px dotted #747474;
}
div.side_box div.status {
  text-align: center;
  margin-top: 5px;
}
div.side_box div.user_tv h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#chat.side_box {
  height: 350px;
}
div.side div.confrontation {
  text-align: center;
  margin-bottom: 5px;
}
div.side div.confrontation em {
  font-style: italic;
}
div.side div.buttons {
  width: 228px;
  margin-left: -30px;
  margin-top: 2em;
  text-align: center;
}
div.side form.search {
  margin: 1em 0 0 0;
}
div.side form.search input {
  box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 3px 5px;
  width: 198px;
}
#site_header div.side_menu {
  margin-top: 15px;
}
#site_header div.side_menu a {
  padding: 8px 0 8px 8px;
  display: block;
  width: 203px;
  transition: background 0.13s;
}
#site_header div.side_menu a::before {
  opacity: 0.8;
}
#site_header div.side_menu a:hover {
  background: rgba(255,255,255,0.5);
}
#site_header div.side_menu a.active {
  background: white;
  border: 1px solid #dadada;
  border-right: none;
}
#site_header div.side_menu .sep {
  margin: 10px;
}
#top .link {
  font-size: 13px;
  height: 24px;
  line-height: 24px;
  padding: 0 8px;
}
#reconnecting {
  display: none;
}
body.offline #reconnecting,
#network_error {
  display: inline-block;
  color: #dc322f;
}
#top .fright {
  float: left;
  position: relative;
}
#top .fright .shown{
  background:#284d6d;
}
.data-count::after,
.unread {
  padding: 1px 5px 1px 4px;
  font-weight: bold;
  border-radius: 2px;
  font-size: 0.9em;
}
.data-count::after {
  content: attr(data-count);
  top: 0;
  right: 0;
  position: absolute;
  height: 11px;
  padding: 1px 4px 1px 3px;
  line-height: 10px;
}
.data-count[data-count='0']::after {
  display: none;
}
#top .shown a.toggle {
  background: #fff;
}
#top .shown #challenge_notifications_tag.toggle,
#top .shown #site_notifications_tag.toggle {
  height: 29px;
}

#ham-plate {
  cursor: pointer;
}
#hamburger {
  font-size: 16px;
}
#fpmenu {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  width: 100%;
  height: 100%;
  font-size: 14px;
  display: none;
  background: #fff;
}
body.fpmenu #fpmenu {
  display: block;
}
#fpmenu section {
  margin-top: 50px;
}
#fpmenu h2 {
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 24px;
  color: #2a2a2a;
  text-transform: uppercase;
  margin-bottom: 9px;
}
#fpmenu .inner {
  width: 1005px;
  margin: 0 auto;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
#fpmenu .body {
  overflow: hidden;
}
#fpmenu .user,
#fpmenu .anon {
  float: left;
  width: 400px;
  border-right: 1px solid #cfcfcf;
  padding: 0 40px 40px 0;
}
#fpmenu .perf {
  display: inline-block;
  text-align: left;
  width: 49%;
  margin: 18px 0;
  line-height: 1.2em;
}
#fpmenu .perf::before {
  color: #C4A86F;
  font-size: 42px;
  float: left;
  margin-right: 8px;
  opacity: 0.8;
}
#fpmenu .perf h3 {
  margin: 0 0 5px 0;
  color: #d59120;
}
#fpmenu .perf.nope {
  opacity: 0.5;
}
#fpmenu .perf strong {
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 18px;
  color: #2a2a2a;
}
#fpmenu .perf .progress {
  opacity: 0.6;
}
#fpmenu .anon section {
  width: 322px;
}
#fpmenu .anon h2 {
  margin-bottom: 22px;
}
#fpmenu .login input {
  -webkit-appearance: none;
  width: 290px;
  line-height: 47px;
  padding: 0 15px;
  background: #fff;
  border: 1px solid #ebebeb;
  outline: none;
}
#fpmenu .login input.password {
  border-top: none;
}
#fpmenu .login input.submit {
  margin-top: 30px;
  width: 100%;
  background: #d59120;
  border: none;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.13s;
}
#fpmenu .login input.submit:hover {
  opacity: 0.65;
}
#fpmenu .forgot {
  font-size: 0.8em;
  margin-top: 5px;
  text-align: center;
}
#fpmenu .forgot a {
  color: inherit;
  opacity: 0.6;
}
#fpmenu a.signup {
  display: block;
  line-height: 47px;
  padding: 0 15px;
  background: #fff;
  border: 1px solid #d8d8d8;
  color: inherit;
  text-transform: uppercase;
  text-align: center;
  transition: 0.13s;
}
#fpmenu a.signup:hover {
  background: #d59120;
  color: #fff;
}
#fpmenu .menu {
  margin-left: 540px;
  overflow: hidden;
}
#fpmenu .menu section {
  float: left;
  width: 55%;
}
#fpmenu .menu section:nth-child(even) {
  width: 45%;
}
#fpmenu section a {
  color: #d59120;
  display: block;
  padding: 9px 0;
}
#fpmenu section .disabled {
  opacity: 0.5;
  display: block;
  padding: 9px 0;
}
#fpmenu .footer {
  width: 100%;
  padding: 23px 0;
  margin-left: -20px;
  text-align: center;
  font-size: 12px;
  opacity: 0.8;
  transition: opacity 0.3s;
  -webkit-transform: translateZ(0);
}
#fpmenu .footer:hover {
  opacity: 1;
}
#fpmenu .footer a {
  display: inline-block;
  padding: 12px 12px;
  transition: 0.3s;
}
#fpmenu .footer a:hover {
  transform: translateY(-2px);
}
@media (max-width: 970px) {
  #fpmenu {
    position: relative;
  }
  #fpmenu .inner {
    top: 0;
    transform: none;
    -webkit-transform: none;
    width: auto;
  }
  #fpmenu .body {
    padding-left: 13%;
  }
  #fpmenu .user {
    display: none;
  }
  #fpmenu .anon {
    border: none;
    float: none;
    margin: auto;
    padding-bottom: 0;
  }
  #fpmenu .menu {
    margin: auto;
    width: 500px;
  }
}
@media (max-width: 520px) {
  #fpmenu .body {
    padding-left: 10px;
  }
}
#topmenu {
  position: absolute;
  top: 0;
  left: -10px;
  font-size: 13px;
}
#topmenu section {
  position: relative;
  float: left;
  margin: 0;
}
#topmenu section > a {
  color: #888;
  display: block;
  padding: 9px 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 1px #fff;
}
#topmenu section:hover > a {
  background: #fff;
}
#topmenu.hover section:hover div {
  display: block;
}
#topmenu div {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  font-size: 12px;
  background: #fff;
  width: 148px;
  box-shadow: 2px 5px 6px rgba(0, 0, 0, 0.3);
}
#topmenu div a {
  display: block;
  padding: 6px 10px;
  transition: background 0.13s;
}
#topmenu div a:hover {
  background: #f0f0f0;
  color: #444;
}

#user_tag {
  font-weight: bold;
}
#top div.challenge_notifications,
#top div.auth,
#top #themepicker,
#top div.lichess_language {
  position: relative;
}
#top div.challenge_notifications.shown .links,
#top div.site_notifications.shown .links,
#top div.auth.shown .links {
  display: block;
}
#top div.message_notificatiosn .links > a,
#top div.challenge_notifications .links > a,
#top div.auth .links > a {
  display: block;
  padding: 5px 10px;
  transition: 0.13s;
  white-space: nowrap;
}
#top div.auth .links a:hover {
  background: #F0F0F0;
  color: #444;
}
#top a.signin {
  margin: 3px 0.5em 0 0;
  border-color: #d85000;
  padding: 1px 5px;
}
#top div.auth .sep {
  display: block;
  padding-top: 5px;
  margin-top: 5px;
  border-top: 1px solid #d4d4d4;
}
#top div.auth .status {
  position: relative;
  padding: 0 0 5px !important;
  min-width: 133px;
}
#top div.auth .status .led {
  position: absolute;
  right: 10px;
  top: 6px;
  font-size: 20px;
  opacity: 0.8;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, 0.4);
}
#top div.auth .status .ping,
#top div.auth .status .server {
  display: block;
  font-family: monospace;
  padding-left: 10px;
}
#top div.auth .status strong {
  padding: 0 5px;
}
#challenge_notifications_tag.none {
  display: none!important;
}
#challenge_notifications_tag span:before {
  font-size: 1.45em;
  padding-left: 3px;
}
#notifications {
  position: absolute;
  top: -20px;
  left: -30px;
  width: 228px;
  z-index: 2;
}
#notifications a {
  font-weight: bold;
}
#notifications > div {
  border: 1px solid #c0c0c0;
  padding: 6px 8px 7px 8px;
  margin-bottom: 8px;
  border-radius: 2px;
  box-shadow: 0 0 3px 0 #d85000;
  transition: box-shadow 1.5s;
}
#notifications .actions {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}

#site_notifications_tag span:before {
  font-size: 1.45em;
  padding-left: 3px;
}

form.wide input[type="text"],
form.wide textarea {
  padding: 0.5em;
  border: 1px solid #D4D4D4;
}
#top a.toggle {
  display: block;
  float: left;
}
#top a.toggle,
#top #sound_state {
  transition: color 0.13s;
}
#top a.toggle:hover,
#sound_state:hover {
  color: #303030;
}
.is3d #top {
  margin: -100px 4px 0 auto !important;
}
#top #sound_state,
#top #themepicker_toggle {
  padding-right: 4px;
  color: #7093a8;
}
#top .shown #sound_state,
#top .shown #themepicker_toggle {
    background-color: #245070;
}

#top #themepicker_toggle span {
  font-size: 17px;
}
#top #themepicker_toggle span:before {
  vertical-align: -5px;
}
#top .dropdown {
  display: none;
  position: absolute;
  bottom: 25px;
  right: 8px;
  background: #284d6d;
  z-index: 3;
  box-shadow: 2px 5px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid #4f80a2;
}
span.progress > .positive {
  color: #759900;
}
span.progress > .negative {
  color: #ac524f;
}
div.auth input.username,
div.auth input.password {
  border: 1px solid #dadada;
  padding: 2px 3px;
  width: 100px;
  background: #fff;
}
div.auth input.login {
  padding: 0 3px;
}
.language_links {
  width: 620px;
  padding: 10px;
  max-height: 700px;
  overflow: auto;
}
#top div.lichess_language.shown .language_links {
  display: block;
}
.language_links button {
  display: block;
  padding: 0.4em 0.5em;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  transition: background 0.13s;
}
.language_links button.current,
.language_links button.accepted {
  font-weight: bold;
  color: #444;
}
.language_links button:hover,
.language_links button.current {
  background: #F0F0F0;
}
.language_links li {
  width: 25%;
  height: 24px;
  float: left;
  display: block;
  overflow: hidden;
}
.language_links li:last-child {
  width: 50%;
  font-weight: bold;
  padding-top: 10px;
}
#themepicker span.down {
  display: block;
  margin: 3px 0.5em 0 0;
  padding: 1px 5px;
  line-height: normal;
}
#themepicker.shown .dropdown {
  display: block;
  width: 321px;
  text-align: center;
  background:#284d6d;
  width: 350px;
}

body #themepicker div.is2d,
.is3d #themepicker div.is3d {
  display: block;
  height: 242px;
  overflow-x: hidden;
  overflow-y: scroll;
}
body #themepicker div.is3d,
.is3d #themepicker div.is2d {
  display: none;
}
#themepicker div.board,
#themepicker div.piece_set {
  overflow: hidden;
}
#themepicker div.theme,
#themepicker div.no-square {
  float: left;
  padding: 7px;
  cursor: pointer;
  transition: background 0.13s;
}
.is2d #themepicker div.theme {
  padding: 7px 9px 9px 7px;
}
#themepicker div.theme:hover {
  background: #f0f0f0;
}
.is2d #themepicker div.color_demo {
  width: 64px;
  height: 32px;
  background-size: 256px;
  border: 1px solid #d0d0d0;
  box-sizing: border-box;
  position: relative;
}
.is3d #themepicker div.color_demo {
  width: 66px;
  height: 30px;
  margin-bottom: 4px;
  background-size: 264px;
  border: none;
  position: relative;
}
#themepicker div.piece_set {
  margin-top: 10px;
  background: url(../images/board/darksquares.jpg);
  box-shadow: inset 0 0 20px 3px #777;
}
#themepicker div.no-square:hover {
  background: rgba(250, 250, 250, 0.15);
}
#themepicker .no-square {
  width: 72px;
  height: 72px;
  padding: 8px;
  position: relative;
  margin: 0 -3px -3px -3px;
}
#themepicker .is3d piece {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-size: cover;
  background-position: 0 67%;
}
#themepicker div.toggles {
  display: inline-block;
  margin: 20px 15px 10px 15px;
  text-align: center;
}
#themepicker div.toggles a {
  font-size: 20px;
  display: inline-block;
  margin: 0 -2px 0 -3px;
/*   color: #3e6ea1; */
}
#themepicker div.toggles a.active{
	color:#CCC;
	background: #65b5e4;
}
#themepicker div.toggles a{
	color:#848484;
}
#themepicker a.prefs {
  padding: 10px;
  text-align: center;
  display: block;
}
#themepicker .zoom_control {
  margin-bottom: 5px;
}
#themepicker .zoom_control i {
  font-size: 24px;
  margin-right: 5px;
}
#themepicker .zoom_control .slider {
  margin: auto;
  width: 220px;
  height: 10px;
  display: inline-block;
}
#themepicker .zoom_control .slider .ui-slider-handle {
  margin: 0 0 -9px -3px;
}
#themepicker .zoom_control .slider .ui-widget-header {
  width: 10px;
  bottom: 0;
}
#themepicker input.background_image {
  display: none;
}
#themepicker .paintbrush {
    width: 30px;
    bottom: 3px;
    left: 2px;
    position: relative;
}
#sound_control {
  margin-right: 5px;
  position: relative;
  display:none;
}
#sound_control .dropdown {
  width: 120px;
  padding: 10px;
}
#sound_control.shown .dropdown {
  display: block;
}
#sound_control .slider {
  float: right;
  width: 10px;
  height: 168px;
}
#sound_control .slider .ui-slider-handle {
  margin: 0 0 -9px -3px;
}
#sound_control .slider .ui-widget-header {
  width: 10px;
  bottom: 0;
}
#sound_control .selector div {
  margin: 5px 0;
}
#sound_control .selector label {
  cursor: pointer;
  color:#75acd3;
  font-weight:bold;
}
#sound_control .selector input {
  vertical-align: sub;
}
#sound_state span.on,
#sound_state.sound_state_on span.off {
  display: none;
}
#sound_state span.off,
#sound_state.sound_state_on span.on {
  display: block;
}
#sound_state.unavailable {
  display: none;
}
#friend_box {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 3;
  background: #fff;
  border: 1px solid #ccc;
  border-right: 0;
  min-width: 150px;
}
body.fpmenu #friend_box {
  display: none;
}
#friend_box .title {
  cursor: pointer;
  padding: 3px 5px;
  border-bottom: 1px solid #ccc;
}
#friend_box .content a {
  padding: 3px 5px;
  display: block;
  max-height: 100px;
  overflow-y: auto;
  transition: background 0.13s;
}
#friend_box .content a:hover {
  background: #F0F0F0;
}
#friend_box .nobody {
  text-align: center;
  display: none;
  padding: 3px 5px;
}
#friend_box .nobody span {
  display: block;
  margin: 5px;
}
#friend_box a.find {
  display: none;
  margin: 7px;
  font-style: normal;
}
#friend_box div.nobody:hover a.find {
  display: block;
}
.user_link {
  white-space: nowrap;
  font-weight:bold;
}
a.user_link span.rp:before {
  content: " ";
}
a.user_link span.rp.up {
  color: #759900;
}
a.user_link span.rp.down {
  color: #ac524f;
}
.user_link span.title {
  color: #d59120;
  font-weight: bold;
}
.user_link span.donor {
  margin-left: 5px;
}
div.warning {
  padding: 5px;
  background: #f2dede;
  line-height: 16px;
  border: 1px solid #eed3d7;
  color: #894a48;
}
div.join_warning {
  margin: 1em;
}
/* soft inactive gradient */

.crosstable th,
#friend_box .title,
div.side_box div.top,
div.box div.top,
.undertable_top,
.button,
a.button,
.button:visited,
group.radio label,
.ui-slider-handle,
#translation_call,
#notifications > div,
div.vstext,
div.user_show div.content_box_inter.tabs,
#qa .answers-header,
table.slist thead {
  background: rgb(245, 245, 245);
  background: linear-gradient(to bottom, rgba(245, 245, 245, 1) 0%, rgba(240, 240, 240, 1) 100%);
  text-shadow: 0 1px 0 #FFF;
  color: #848484;
}
.undertable_top,
.button,
a.button,
.button:visited,
#translation_call,
table.slist thead {
  font-weight: bold;
}
.button:disabled,
a.button:disabled {
  opacity: 0.5;
}
.button,
a.button {
  padding: 7px 11px;
  white-space: nowrap;
  text-decoration: none!important;
}
.button.thin,
a.button.thin {
  padding: 0 8px;
}
.button,
a.button,
.ui-slider-handle,
.ui-widget-content {
  border-style: solid;
  border-width: 1px;
  border-color: #e2e2e2;
}
.button,
a.button,
.ui-slider-handle,
.ui-widget-content {
  border-radius: 2px;
}
.button.frameless {
  border: 0;
  background: none;
}
.button:hover,
a.button:hover,
.ui-slider-handle:hover,
group.radio label:hover {
  border-color: #e2e2e2;
  background: rgb(248, 248, 248);
  background: linear-gradient(to bottom, rgba(248, 248, 248, 1) 0%, rgba(243, 243, 243, 1) 100%);
}
.button:active,
a.button:active {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
  background:#6497b8;
}
.button:focus {outline:0;}

/* active gradient */

.button.active,
.button.active:hover,
group.radio input:checked + label,
.ui-widget-header,
div.pagination span.current,
.data-count::after,
.pocket piece::after,
.unread,
.progressbar.flashy .current,
#simul .game_list .host.vstext,
#import_game .progression {
  color: #fff !important;
  text-shadow: 0 1px 0 #000 !important;
  /* background: #d85000 !important; */
  /*border-color: #72b7e3 !important;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15) inset !important;*/
}
.button.active-soft,
.button.active-soft:hover {
  color: #fff !important;
  text-shadow: 0 1px 0 #000 !important;
  background: #bbb !important;
  border-color: #aaa !important;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15) inset !important;
}
div.checkmateFen {
  float: left;
  width: 250px;
  margin-left: 110px;
  cursor: pointer;
}
div.checkmateSection {
  float: left;
  font-size: 0.9em;
}
div.checkmateSection label {
  display: block;
  width: 310px;
}
div.checkmateSection div.result {
  display: none;
  height: 48px;
  line-height: 48px;
  vertical-align: middle;
  padding-left: 54px;
  font-weight: bold;
}
div.checkmateSection div.success {
  color: #759900;
}
div.checkmateSection div.failure {
  color: #ac524f;
}
div.checkmateCaptcha.success div.success {
  display: block;
}
div.checkmateCaptcha.failure div.failure {
  display: block;
}
/* gamelist.css */

div.game_row {
  display: block;
  padding: 15px 20px;
  height: 224px;
  border-bottom: 1px solid #eaeaea;
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
}
div.game_row:nth-child(odd) {
  background: #f4f4f4;
}
div.game_row:hover {
  background: rgba(191, 231, 255, 0.5);
}
div.game_row a {
  position: relative;
  z-index: 3;
}
div.game_row a.game_link_overlay {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
div.game_row a.mini_board {
  position: absolute;
  top: 15px;
  left: 10px;
}
div.game_row div.infos {
  position: absolute;
  top: 15px;
  left: 298px;
  width: 476px;
  height: 226px;
}
div.game_row div.infos::before {
  position: absolute;
  top: 0;
  left: -45px;
  font-size: 40px;
  opacity: 0.7;
}
div.game_row div.header strong {
  font-size: 1.4em;
  text-transform: uppercase;
  display: block;
  font-family: 'Roboto';
  font-weight: 300;
}
div.game_row div.versus {
  overflow: hidden;
}
div.game_row div.versus {
  margin: 15px 0 0 -52px;
  width: 528px;
}
div.game_row div.versus > div {
  float: left;
}
div.game_row div.versus .swords {
  width: 60px;
  text-align: center;
  font-size: 30px;
  margin-top: 2px;
  opacity: 0.7;
}
div.game_row div.versus .player {
  font-size: 1.5em;
  width: 234px;
  text-align: right;
}
div.game_row div.versus .player.black {
  text-align: left;
}
div.game_row div.versus a {
  font-weight: bold;
}
div.game_row div.versus span.anon {
  line-height: 2.5em;
}
div.game_row div.result {
  display: block;
  font-size: 1.3em;
  margin: 5px 0 20px -52px;
  width: 528px;
  text-align: center;
}
div.game_row div.opening {
  font-weight: bold;
}
div.game_row span.up {
  color: #759900;
}
div.game_row span.down {
  color: #ac524f;
}
div.game_row div.metadata {
  margin-top: 10px;
}
div.game_list.playing {
  margin-top: 1.4em;
}
div.game_list.playing > div {
  display: inline-block;
  margin: 0 10.5px 11px 11px;
}
div.vstext {
  width: 212px;
  line-height: 1.2em;
  height: 2.4em;
  overflow: hidden;
  white-space: nowrap;
  padding: 5px;
  border: 1px solid #ccc;
  border-width: 0 1px 1px 1px;
  position: relative;
}
div.vstext > .center {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 4px;
  left: 0;
  font-size: 0.9em;
}
div.vstext .left,
div.vstext .right {
  max-width: 50%;
  text-overflow: ellipsis;
  overflow: hidden;
}
div.vstext .left {
  float: left;
  text-align: left;
}
div.vstext .right {
  float: right;
  text-align: right;
}
div.extra_top {
  float: right;
  margin: 20px 20px 0 0;
}
a.mini_board {
  display: block;
}
.mini_board .cg-board-wrap {
  margin: auto;
  width: 224px;
  height: 224px;
  position: relative;
}
#now_playing {
  margin: 4px 0 0 4px;
  overflow: hidden;
}
#now_playing.other_games {
  width: 512px;
}
#now_playing h3 {
  font-size: 1.4em;
}
#now_playing > a {
  float: left;
  padding: 4px;
  text-align: center;
  transition: background 0.13s;
  background: rgba(255, 255, 255, 0.6);
}
#now_playing .move_on {
  font-size: 0.7em;
  float: right;
  display: block;
  height: 1.5em;
  text-align: right;
  line-height: 22px;
}
#now_playing .move_on label {
  cursor: pointer;
}
#now_playing .move_on .switch {
  float: right;
  margin-left: 10px;
}
#now_playing.other_games > a {
  padding: 5px;
}
#now_playing > a:hover {
  background: rgba(191, 231, 255, 0.7);
}
#now_playing .meta {
  display: block;
  text-align: center;
  width: 160px;
  overflow: hidden;
}
#now_playing .indicator {
  color: #d85000;
  margin-top: -3px;
  display: block;
}
#now_playing .mini_board .cg-board-wrap {
  width: 160px;
  height: 160px;
}
/* opening.css */

div.game_config button {
  font-size: 1.4em;
  padding: 0 2em;
}
div.game_config button {
  letter-spacing: 1px;
}
div.lichess_overboard h2 {
  margin-bottom: 0.5em;
  font-size: 1.39em;
  padding: 0 2em;
  font-family:ProximaNova;
  text-transform: uppercase;
  font-weight:bold;
}
div.lichess_overboard .target {
  display: inline-block;
  margin-bottom: 2em;
}
div.auth input.username,
div.auth input.password {
  border: 1px solid #dadada;
  padding: 2px 3px;
  width: 100px;
  background: #fff;
}
div.auth input.login {
  padding: 0 3px;
}
.undertable {
  font-size: 11.5px;
  margin-top: 15px;
}
.undertable.nomargin {
  margin-top: 0;
}
.undertable_top {
  border: 1px solid #ccc;
  padding: 3px 5px;
}
.undertable_top a.more {
  float: right;
  padding-right: 2px;
  font-weight: normal;
}
.undertable_top span.title {
  font-weight: bold;
  color: #999;
}
div.undertable_inner {
  border: 1px solid #ccc;
  border-top: 0;
  height: 202px;
  width: auto;
  overflow: hidden;
  background-color: #fff;
}
.undertable_inner:hover {
  overflow-y: auto;
}
.undertable a.user_link {
  font-weight: bold;
  color: #a0a0a0;
}
.undertable table {
  width: 100%;
  height: 100%;
}
.undertable td {
  padding: 6px 5px 6px 5px;
  border-top: 1px solid #eaeaea;
}
.undertable tr:first-child td {
  border-top: none;
}
.undertable.half {
  width: 250px;
  float: left;
}
.undertable.half:first-child {
  margin-right: 14px;
}
.undertable.leaderboard td:first-child {
  max-width: 135px;
  overflow: hidden;
}
.undertable.leaderboard {
  white-space: nowrap;
}
div.lichess_overboard.joining .submit {
  font-size: 1.2em;
  margin-top: 1em;
  padding: 0.6em 1em;
}
div.lichess_overboard.joining .mini_board {
  margin: 10px auto;
}
.crosstable table {
  width: 100%;
  margin: 1em 0;
}
.crosstable td {
  text-align: center;
  border: 1px solid #eee;
  padding: 0;
  min-width: 15px;
}
.crosstable td a {
  line-height: 2em;
  font-size: 1.1em;
  display: block;
  width: 100%;
  background: #fff;
}
.crosstable tr:first-child td:hover a,
.crosstable tr:first-child td.current a {
  padding-top: 4px;
  margin-top: -6px;
  border-top: 2px solid #808080;
}
.crosstable tr:last-child td:hover a,
.crosstable tr:last-child td.current a {
  padding-bottom: 4px;
  margin-bottom: -6px;
  border-bottom: 2px solid #808080;
}
.crosstable tr td.current a {
  border-color: #d85000!important;
}
body.base .crosstable .win {
  font-weight: bold;
  color: #759900;
}
body.base .crosstable .loss {
  color: #ac524f;
}
.crosstable td:nth-last-child(3) {
  border-right: 1px solid #ccc;
}
.crosstable th {
  border: 1px solid #ccc;
  padding: 3px;
}
.crosstable .score {
  font-size: 1.3em;
  text-align: right;
  padding-right: 7px;
}
.crosstable .user {
  padding-left: 7px;
}
.bookmark {
  float: right;
  outline: none;
}
.bookmark .on,
.bookmark.bookmarked .off {
  display: none;
}
.bookmark .off,
.bookmark.bookmarked .on {
  display: block;
}
.progressbar {
  background: #e0e0e0;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) inset;
}
.progressbar .current {
  background: #d8a050;
  height: 12px;
  border-radius: 4px;
}
.progressbar.flashy.green .current {
  background-color: #759900 !important;
}
.glowed {
  box-shadow: 0 0 5px 1px #e89000, 0 0 10px 1px #d85000;
}
a.hover_text > .base,
a.hover_text:hover > .hover {
  display: inline-block;
}
a.hover_text > .hover,
a.hover_text:hover > .base {
  display: none;
}
input:focus::-webkit-input-placeholder {
  color: transparent;
}
input:focus:-moz-placeholder {
  color: transparent;
}
input:focus::-moz-placeholder {
  color: transparent;
}
input:focus:-ms-input-placeholder {
  color: transparent;
}
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}
div.user_actions {
  white-space: nowrap;
}
div.user_actions .button {
  margin: 0 -3px 0 -3px;
}
div.relation_actions a.relation.processing {
  opacity: 0.2
}
input.copyable,
textarea.copyable {
  background: #eee;
  font-family: monospace;
  padding: 3px 5px;
  border: 1px solid #ccc;
}
.flag {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}
.scroll-shadow-soft {
  background: linear-gradient(#eee 30%, rgba(247, 247, 247, 0)), linear-gradient(rgba(247, 247, 247, 0), #eee 70%) 0 100%, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) 0 100%;
}
.scroll-shadow-hard {
  background: linear-gradient(#fff 30%, rgba(255, 255, 255, 0)), linear-gradient(rgba(255, 255, 255, 0), #fff 70%) 0 100%, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0)) 0 100%;
}
.scroll-shadow-soft,
.scroll-shadow-hard {
  background-repeat: no-repeat;
  background-size: 100% 20px, 100% 20px, 100% 10px, 100% 10px;
  background-attachment: local, local, scroll, scroll;
}
[data-hint] {
  position: relative;
  display: inline-block;
}
[data-hint]:before,
[data-hint]:after {
  position: absolute;
  will-change: transform;
  visibility: hidden;
  opacity: 0;
  z-index: 900005;
  pointer-events: none;
  transition: 0.2s ease;
  transition-delay: 0ms;
}
[data-hint]:hover:before,
[data-hint]:hover:after {
  visibility: visible;
  opacity: 1;
}
[data-hint]:before {
  content: '';
  position: absolute;
  background: transparent;
  border: 6px solid transparent;
  z-index: 900006;
}
[data-hint]:after {
  content: attr(data-hint);
  background: #404040;
  color: #e0e0e0;
  text-shadow: 0 -1px 0 black;
  padding: 8px 10px;
  line-height: 12px;
  white-space: nowrap;
  border-radius: 2px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: normal;
  font-size: 12px;
  font-weight: normal;
  font-style: inherit;
  font-family: 'Noto Sans';
  text-transform: none!important;
}
.hint--bottom:before,
.hint--bottom-left:before {
  border-bottom-color: #404040;
}
.hint--top:before,
.hint--top-left:before {
  border-top-color: #404040;
}
.hint--bottom:before {
  margin-top: -12px;
}
.hint--bottom:after {
  margin-left: -18px;
}
.hint--bottom:before,
.hint--bottom:after {
  top: 100%;
  left: 50%;
}
.hint--bottom:hover:after,
.hint--bottom:hover:before {
  -webkit-transform: translateY(8px);
  transform: translateY(8px);
}
.hint--top:before {
  margin-bottom: -12px;
}
.hint--top:after {
  margin-left: -18px;
}
.hint--top:before,
.hint--top:after {
  bottom: 100%;
  left: 50%;
}
.hint--top:hover:after,
.hint--top:hover:before {
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
}
.hint--top-left:before {
  margin-bottom: -12px;
}
.hint--top-left:after {
  margin-right: -6px;
}
.hint--top-left:before,
.hint--top-left:after {
  bottom: 100%;
  right: 30%;
}
.hint--top-left:hover:after,
.hint--top-left:hover:before {
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
}
.hint--bottom-left:before {
  margin-top: -12px;
}
.hint--bottom-left:after {
  margin-right: -6px;
}
.hint--bottom-left:before,
.hint--bottom-left:after {
  top: 100%;
  right: 30%;
}
.hint--bottom-left:hover:after,
.hint--bottom-left:hover:before {
  -webkit-transform: translateY(8px);
  transform: translateY(8px);
}
.hint--left:before {
  margin-right: -12px;
  margin-top: -6px;
}
.hint--left:after {
  margin-right: -14px;
}
.hint--left:before,
.hint--left:after {
  right: 100%;
  bottom: 50%;
}
.hint--left:hover:after,
.hint--left:hover:before {
  -webkit-transform: translateX(-8px);
  transform: translateX(-8px);
}
.continue_with {
  display: none;
}
.continue_with .button {
  display: inline-block;
  margin: 1em;
}
#modal-overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5;
  cursor: pointer;
}
#modal-wrap {
  display: inline-block;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 3px;
  box-shadow: 0 0 95px 25px rgba(0, 0, 0, 0.8);
  background: #fff;
  text-align: center;
  cursor: default;
}
#modal-wrap .close:before,
div.lichess_overboard .close:before {
    /*content: attr(data-icon);*/
    font-family: "lichess"!important;
    font-style: normal!important;
    font-weight: normal!important;
    text-transform: none!important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    vertical-align: middle;
}
#modal-wrap .close,
div.lichess_overboard .close {
  position:absolute;
  top: -13px;
  right: -13px;
  display: block;
  font-size: 0px;
  line-height: 27px;
  width: 39px;
  height: 39px;
  /*background: #fff;*/
  border-radius: 50%;
  background:url('../images/cmg-images/close_button.png');
}
/*#modal-wrap .close:hover,
div.lichess_overboard .close:hover {
  background: #f0f0f0;
}*/
@keyframes fire {
  0% {
    text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85, -20px -20px 40px #ffae34, 20px -40px 50px #ec760c, -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
  }
  100% {
    text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #fefcc9, -20px -20px 40px #feec85, 22px -42px 60px #ffae34, -22px -58px 50px #ec760c, 0 -82px 80px #cd4606, 10px -90px 80px #973716;
  }
}
.fire_trophy span {
  transform: scale(0.35);
  -webkit-transform: scale(0.35);
  color: rgba(0, 0, 0, 0.6);
  font-size: 150px;
  display: block;
  text-shadow: 0 0 20px #fefcc9, 10px -10px 30px #feec85, -20px -20px 40px #ffae34, 20px -40px 50px #ec760c, -20px -60px 60px #cd4606, 0 -80px 70px #973716, 10px -90px 80px #451b0e;
}
.fire_trophy.marathonWinner span,
.fire_trophy.marathonTopTen span,
.fire_trophy.marathonTopFifty span,
.fire_trophy.marathonTopHundred span {
  filter: hue-rotate(190deg);
  -webkit-filter: hue-rotate(190deg);
}
.fire_trophy span:hover {
  animation: fire 1.25s ease-in-out infinite alternate;
}
/* switch toggle button */
.cmn-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.cmn-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}
input.cmn-toggle-round + label {
  padding: 1px;
  width: 40px;
  height: 20px;
  background-color: #aaa;
  border-radius: 20px;
}
input.cmn-toggle-round + label:before,
input.cmn-toggle-round + label:after {
  display: block;
  position: absolute;
  top: 1px;
  left: 1px;
  bottom: 1px;
  content: "";
}
input.cmn-toggle-round + label:before {
  right: 1px;
  background-color: #ddd;
  border-radius: 20px;
  transition: background 0.2s;
}
input.cmn-toggle-round + label:after {
  width: 20px;
  background-color: #fff;
  border-radius: 100%;
  box-shadow: 0 1px 2.5px rgba(0, 0, 0, 0.3);
  transition: margin 0.2s;
}
input.cmn-toggle-round:checked + label:before {
  background-color: #8ce196;
}
input.cmn-toggle-round:checked + label:after {
  margin-left: 20px;
}
.pull-quote {
  margin: 0 auto;
  font-family: 'PT Serif', 'Noto Sans', 'Lucida Grande';
  font-size: 15px;
  text-align: left;
  display:none;
}
.pull-quote p {
  position: relative;
  margin: 0 10px;
  padding: 15px 0;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  font-style: italic;
}
.pull-quote.long p {
  font-size: 14px;
}
.pull-quote p:after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 42px;
  width: 15px;
  height: 15px;
  background: #eee;
  border-left: 1.5px solid #aaa;
  border-bottom: 1px solid #aaa;
  -webkit-transform: skew(45deg) rotate(-45deg);
  transform: skew(45deg) rotate(-45deg);
}
.content_box .pull-quote p:after,
.lichess_overboard .pull-quote p:after {
  background: #fff;
}
.pull-quote footer {
  margin: 10px;
  line-height: 20px;
  text-align: right;
}
.pull-quote footer:before {
  content: '\2014';
}
.hopscotch-content a {
  text-decoration: underline;
}
body ::-webkit-scrollbar,
body ::-webkit-scrollbar-corner {
  background: #eee;
}
body ::-webkit-scrollbar-thumb {
  background: rgba(104, 104, 104, 0.7);
}
body ::-webkit-scrollbar-thumb:hover {
  background: rgba(50, 50, 50, 0.2);
}
body ::-webkit-scrollbar-thumb:active {
  background: rgba(50, 50, 50, 0.3);
}
body ::-webkit-scrollbar-track {
  box-shadow: 0 0 6px rgba(50, 50, 50, 0.3) inset;
}
#play_random {
  width: 550px;
  height: 550px;
  margin-left: 25px;
  margin-top: 290px;
}
#play_random.game_config group.color_selector {
    width: 100% !important;
	margin: 12px;
	margin-left: -5px;
}
#play_random.game_config .color_submits > p{
	margin-top:10px;
}
#play_random.game_config .create-game-random {
    width: 147px !important;
	height:34px !important;
	background:url('../images/cmg-images/chessgame_image.png') !important;
	background-position: -4px -4px !important;
}
#play_random.game_config .create-game-random:hover{
	background:url('../images/cmg-images/chessgame_image.png') !important;
	background-position: -159px -4px !important;
}
#play_random.game_config .time_mode_config  .label_select {
    display: none;
}
#play_random.game_config .disableBtn{
  background:url('../images/cmg-images/creategame_disabled.png') !important;
  opacity:1;
}
#play_random.game_config .disableBtn:hover{
  background:url('../images/cmg-images/creategame_disabled.png') !important;
}
#play_random.game_config .waiting_msg{
  color:#2f2f2f;
  font-size:16px;
  font-family:"ProximaNova";
  font-weight:bold;
  margin-top:0px;
  padding-left:280px;
  margin-bottom:10px;
  padding-right:0px;
}

#play_random.game_config .waiting_msg .waiting_div {
  position: relative;
  top: 0px;
  font-size: 17px;
  line-height: 1.3em;
}
#random_join {
    float: left;
    width: 45%;
}
#random_join > h3{
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 3px;
  font-size: 16px;
  font-family: "ProximaNova";
  color: #818181;
}
#random_join div.lobby_box {
  border: 1px solid #ccc;
  background: #f9f9f9;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin: 0 15px;
  min-height: 350px;
  height: 380px !important;
  overflow-y: auto;
}

#friend_join {
  float: left;
  width: 45%;
}
#friend_join > h3{
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 3px;
  font-size: 16px;
  font-family: "ProximaNova";
  color: #818181;
}

#friend_join div.join_friend_box {
  border: 1px solid #ccc;
  background: #F3F4F5;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin: 0 15px;
  min-height: 245px;
}

#friend_join div.join_friend_box div {
  padding: 6px;
  line-height: 1.8;
}

#play_random.game_config .join-game {
  position: absolute;
  left: 46px;
  top: 315px;
  width: 147px !important;
  height:34px !important;
  background:url('../images/cmg-images/join-game.png') !important;
  /*background-position: -4px -4px !important;*/
}
#play_random.game_config .join-game:hover{
  background:url('../images/cmg-images/join-game-hover.png') !important;
  /*background-position: -159px -4px !important;*/
}



#friend_create {
  background: #fff;
  float: left;
  width: 42.5%;
  margin-bottom: 15px;
}
#friend_create > form{
  border: 1px solid #cccccc;
  margin: 0 15px;
  width: 235px;
  height: 245px;
}
#friend_create > h3{
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 3px;
  font-size: 16px;
  font-family: "ProximaNova";
  color: #818181;
  margin-left: 33px;
}

#friend_create .join_label {
  padding-top: 15px;
  line-height: 1.4;
}

#friend_join input {
  border: 1px solid #ccc;
  background: #f9f9f9;
  font-size: 20px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin: 5px;
  width: 190px;
  text-indent: 10px;
  height: 40px;
  text-align: center;
  font-weight: bold;
}

#random_join span.speed_label {
  color: #23b0db;
}
#random_or {
  float: left;
  width: 6%;
  height: 380px;
  font-size: 17px;
  font-family: "ProximaNova";
  color: #bdbdbd;
  font-weight: bold;
}
#friend_or {
  float: left;
  width: 6%;
  height: 245px;
  font-size: 17px;
  font-family: "ProximaNova";
  color: #bdbdbd;
  font-weight: bold;
}
#friend_or .vertical_bar {
  display: block;
  background-color: #cccccc;
  height: 245px;
  width: 1px;
  margin-left: 16px;
  margin-top: 3px;
}

#error_label {
  font-size: 12px;
  color: #f26262;
}

#random_create {
  background: #fff;
  float: left;
  width: 42.5%;
  margin-bottom: 15px;
}
#random_create > form{
  border: 1px solid #cccccc;
  margin: 0 15px;
  width: 235px;
  height: 380px;
}
#random_create > h3{
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 3px;
  font-size: 16px;
  font-family: "ProximaNova";
  color: #818181;
  margin-left: 33px;
}
#random_or .vertical_bar {
  display: block;
  background-color: #cccccc;
  height: 380px;
  width: 1px;
  margin-left: 16px;
  margin-top: 3px;
}
.level_label{
  font-weight:bold;
}
.level_buttons > #config_level > group.radio input:checked + label{
  background:#72bce9 !important;
  border:2px solid #72bce9 !important;
}
/* rotate icon changes start here */
.cmg-chess-container{
  padding: 0px;
  margin: 0 auto;
  border-radius: 10px;
  text-align: center;
  font-family: 'ProximaNovaBold', 'ProximaNovaSoft-Bold';
  background: url('../images/chess_rotate.jpg')no-repeat top;
  position: fixed;
  top: 0;
  height: 100%;
  width: 100%;
  left: 0;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  min-height: 100%;
  z-index: 9999;
}
/* rotate icon changes ends here */

/*#start_buttons a.fat.button.cmg-vs-random.config_hook.hint--bottom {*/
  /*display: block;*/
  /*background: url(http://coolmath-games.com/sites/cmatgame/files/coming-soon.png) no-repeat 7px 9px;*/
  /*pointer-events: none;*/
  /*cursor: default;*/
/*}*/
#start_buttons a.fat.button.cmg-vs-friend.config_hook.hint--bottom {
display: block;
background: url(http://coolmath-games.com/sites/cmatgame/files/coming-soon-friend.png)no-repeat 7px 9px;
pointer-events: none;
cursor: default;
}