/*
HTML Code, Javascript, CSS, Images, and Text Copyright (c) 2006-2008 KakuroConquest.com, All Rights Reserved. Copyright infringers will be prosecuted.
*/

body{
	text-align: center;
	background-color: #f9f9f9;
}

#logo{
  width:204px;
  height:20px;
  float:left;
  cursor:pointer;
  text-indent:-9999em;
  background:url(kakuro.png) no-repeat;
}

a:link, a:visited, a:active {
	text-decoration: underline;
	color: #000090;
}

a:hover {
	text-decoration: underline;
	color: #666690;
}

.board {
	border: 1px solid #000000;
	padding: 0px;
	margin: 0px auto;
	text-align: center;
}

/* New Start */
.cellNumber, .cellNumberError, .cellNumberSelect, .cellShaded, .cellTotal {
/* New End */
	border: 1px solid #000000;
	width: 43px;
	height: 45px;
	vertical-align: middle;
	text-align: center;
	padding: 0px;
	margin: 0px;
	background-color: #fff;
}

.cellNumberError {
	background-color: #faa;
}

/* New Start */
.cellNumberSelect {
	background-color: #ff4;
}

.rightSideBox {
	background-color: #f0e0d0;
	border-color: #d0a070;
	border-style: solid;
	border-width: 1px;
	float: right;
	padding: .5em;
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 8px;
	margin-right: 8px;
	width: 125px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	text-align: center;
}

.tutorialMain {
	text-align: left;
	margin: 0px auto;
	width: 580px;
}

.tutorialSecondary {
	text-align: center;
}
/* New End */

.cellShaded, .cellTotal {
	background-image: url('shadedcell.gif');
}

.cellNumberInput1, .cellNumberInput2, .cellNumberInput3, .cellNumberInput4, .cellNumberInput5, .cellNumberInput6, .cellNumberInput7 {
	vertical-align: middle;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	border: solid 0 #ffffff;
	margin: 0px;
	width: 43px;
	color: #000090;
	background-color: transparent;
}

.cellNumberInput1 {
	font-size: 16pt;
}

.cellNumberInput2 {
	font-size: 12pt;
}

.cellNumberInput3 {
	font-size: 10pt;
}

.cellNumberInput4 {
	font-size: 9pt;
}

.cellNumberInput5 {
	font-size: 8pt;
}

.cellNumberInput6 {
	font-size: 7pt;
}

.cellNumberInput7 {
	font-size: 6pt;
}

.topNumber, .bottomNumber, .topNumberHelp, .bottomNumberHelp, .topNumberSelectHelp, .bottomNumberSelectHelp {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 9pt;
}

.topNumberSelectHelp, .bottomNumberSelectHelp {
	color: #ff4;
}

.topNumberHelp, .bottomNumberHelp {
	cursor: help;
}

.topNumber, .topNumberHelp, .topNumberSelectHelp {
	vertical-align: top;
	text-align: right;
	padding-right: 2px;
}

.bottomNumber, .bottomNumberHelp, .bottomNumberSelectHelp {
	vertical-align: bottom;
	text-align: left;
	padding-left: 2px;
}

.title1 {
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
	font-size: 16pt;
	color: #000090;
}

.text1 {
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
	font-size: 11pt;
	color: #000090;
}

.text2 {
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
	font-size: 9pt;
	color: #000090;
}

.fullWidth h1,.fullWidth  h2, .fullWidth  h3{
  display:inline;
	color: #000090;
}

.fullWidth h1{
	font:bold 20px Arial, Helvetica, sans-serif;
}

.fullWidth h2{
	font:normal 10pt Arial, Helvetica, sans-serif;
}

.fullWidth h3{
	font:bold 12pt Arial, Helvetica, sans-serif;
	text-align:center;
}

h1 span, h2 span {
  display:none;
}

.left{
  text-align:left;
}

/* DomTT Overlib Style */
/*div.domTTOverlib {
    border: 1px solid #333366;
}
div.domTTOverlibCaption {
    font-family: Verdana, Helvetica;
    font-size: 10px;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #333366;
}
div.domTTOverlibContent {
    font-size: 10px;
    font-family: Verdana, Helvetica;
    padding: 2px;
    background-color: #F1F1FF;
}*/
div.domTTOverlib {
	border: 1px solid #333366;
	background-color: #333366;
	cursor: default;
}
div.domTTOverlib .caption {
	font-family: Verdana, Helvetica;
	font-size: 10px;
	font-weight: bold;
	color: #FFFFFF;
	cursor: default;
}
div.domTTOverlib .contents {
	font-size: 10px;
	font-family: Verdana, Helvetica;
	padding: 2px;
	background-color: #F1F1FF;
	cursor: default;
}

.fullWidth {
	width: 1000px;
	margin: 0 auto;
}

.fullWidth.tutorial {
	width: 965px;
}

.leftColumn {
	width: 210px;
	float: left;
	text-align: center;
}

.rightColumn {
	float: right;
	width: 165px;
}

.middleBoard {
	margin-left: 275px;
	margin-right: 255px;
}

.showOnMobile {
	display: none;
}

@media only screen and (max-width: 450px) {
	.showOnMobile {
		display: inline;
	}

	.hideOnMobile {
		display: none;
	}

	.middleBoard {
		margin: 0;
		padding: 0 12px;
	}

	.fullWidth {
		width: 100%;
	}

	body {
		margin: 0px;
	}
}

@media only screen and (min-width: 320px) and (max-width: 349px) {
	.cellNumber, .cellNumberError, .cellNumberSelect, .cellShaded, .cellTotal {
		width: 29px;
		height: 31px;
	}

	.topNumber, .bottomNumber, .topNumberHelp, .bottomNumberHelp, .topNumberSelectHelp, .bottomNumberSelectHelp {
		font-size: 7pt;
	}

	.cellNumberInput1, .cellNumberInput2, .cellNumberInput3, .cellNumberInput4, .cellNumberInput5, .cellNumberInput6, .cellNumberInput7 {
		width: 29px;
	}

	.cellNumberInput1 {
		font-size: 12pt;
	}

	.cellNumberInput2 {
		font-size: 9pt;
	}

	.cellNumberInput3 {
		font-size: 8pt;
	}

	.cellNumberInput4 {
		font-size: 7pt;
	}

	.cellNumberInput5, .cellNumberInput6, .cellNumberInput7 {
		font-size: 6pt;
	}
}

@media only screen and (min-width: 350px) and (max-width: 450px) {
	.cellNumberInput1 {
		font-size: 14pt;
	}

	.cellNumberInput2 {
		font-size: 10pt;
	}

	.cellNumberInput3 {
		font-size: 8pt;
	}

	.cellNumberInput4 {
		font-size: 7pt;
	}

	.cellNumberInput5, .cellNumberInput6, .cellNumberInput7 {
		font-size: 6pt;
	}
}

@media only screen and (min-width: 350px) and (max-width: 399px) {
	.cellNumber, .cellNumberError, .cellNumberSelect, .cellShaded, .cellTotal {
		width: 33px;
		height: 35px;
	}

	.topNumber, .bottomNumber, .topNumberHelp, .bottomNumberHelp, .topNumberSelectHelp, .bottomNumberSelectHelp {
		font-size: 8pt;
	}

	.cellNumberInput1, .cellNumberInput2, .cellNumberInput3, .cellNumberInput4, .cellNumberInput5, .cellNumberInput6, .cellNumberInput7 {
		width: 33px;
	}
}

@media only screen and (min-width: 400px) and (max-width: 450px) {
	.cellNumber, .cellNumberError, .cellNumberSelect, .cellShaded, .cellTotal {
		width: 38px;
		height: 40px;
	}

	.cellNumberInput1, .cellNumberInput2, .cellNumberInput3, .cellNumberInput4, .cellNumberInput5, .cellNumberInput6, .cellNumberInput7 {
		width: 38px;
	}
}

.middleBoard form {
  margin-block-end: 1em;
}

#lang-dropdown-link {
  text-decoration: none;
}

#lang-dropdown {
 display: none;
 position: absolute;
 top: calc(100% + 0px);
 left: 50%;
 transform: translateX(-50%);
 border-radius: 5px;
 background-color: #fff;
 box-shadow: 0 5px 20px 0 rgb(0 0 0 / 20%);
 z-index: 10;
 width:200px;
 text-align: left;
 margin-left: 0;
}

#lang-dropdown div {
  margin:10px;
}

#lang-dropdown p {
  margin-block:0.5em 0;
}

/* CSS for geo depending button */
#pmLink {
	visibility: hidden;
	text-decoration: none;
	cursor: pointer;
	background: transparent;
	border: none;
	color: white;
	padding: 0;
	line-height: 32px;
	font-family: "Nunito Sans";
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
}

#pmLink:hover {
	visibility: visible;
	color: #FF6741;
}

.squeezy-message{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	color: #130C09;
	text-align: center;
	font-family: Arial;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 175%; /* 28px */
	gap: 8px;
	}

	.squeezy-message	.text1 {
		color: #130C09;
	}

	.squeezy-message .link {
		display: flex;
		padding: 4px 12px;
		justify-content: center;
		align-items: center;
		gap: 10px;
		border-radius: 100px;
		color: #130C09;
		border: 2px solid #000;
		background: #FFEB70;
		text-decoration: none;
}

/* Puzzle Controls - Timer, Check, Pause */
.puzzle-controls {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin-top: 12px;
}

.puzzle-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 9px 10px;
	background: #fff;
	border: 2px solid #150C09;
	border-radius: 6px;
	box-shadow: 2px 4px 0px 0px #000;
	cursor: pointer;
	font-family: "Nunito Sans", sans-serif;
	font-weight: 800;
	font-size: 14px;
	line-height: 1.5;
	text-transform: uppercase;
	color: #150C09;
	transition: box-shadow 0.1s, transform 0.1s;
}

.puzzle-btn:hover {
	box-shadow: 1px 2px 0px 0px #000;
	transform: translate(1px, 2px);
}

.puzzle-btn:active {
	box-shadow: 0px 0px 0px 0px #000;
	transform: translate(2px, 4px);
}

.puzzle-btn--icon {
	width: 40px;
	padding: 9px;
}

.puzzle-btn__pause-icon {
	display: flex;
	gap: 3px;
	align-items: center;
	justify-content: center;
}

.puzzle-btn__pause-icon span {
	display: block;
	width: 3px;
	height: 10px;
	background-color: #150C09;
	border-radius: 1px;
}

.puzzle-timer {
	display: flex;
	gap: 4px;
	align-items: center;
	height: 40px;
	padding: 4px 8px;
	border-radius: 8px;
	transition: background-color 0.15s ease;
	cursor: pointer;
	min-width: 85px;
}

.puzzle-timer:hover {
	background-color: rgba(0, 0, 0, 0.06);
}

.puzzle-timer__time {
	font-family: "Nunito Sans", sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	color: #333030;
	white-space: nowrap;
}

.puzzle-timer__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	order: -1;
}

.puzzle-timer__toggle svg {
	width: 16px;
	height: 16px;
	color: #666;
	pointer-events: none;
}

.puzzle-timer--hidden .puzzle-timer__time {
	visibility: hidden;
}

.puzzle-timer--hidden:hover {
	background-color: rgba(0, 0, 0, 0.08);
}

.puzzle-timer--paused .puzzle-timer__time {
	opacity: 0.6;
}

/* Pause button tooltip */
.puzzle-btn--icon:hover::after {
	content: attr(title);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: #150C09;
	color: #fff;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 400;
	text-transform: none;
	white-space: nowrap;
	pointer-events: none;
}

.puzzle-btn--icon {
	position: relative;
}

/* Hide old buttons when new controls are present */
.puzzle-controls ~ .inputbutton.checkbutton,
.puzzle-controls ~ .inputbutton.pausebutton {
	display: none;
}