/*
==================================
STYLING FOR TIMER
===================================
*/

.toggleme .features li {
	margin-bottom:10px;
}


#ribbon {
	position: absolute;
	width: 100%;
	height: 30px;
	background:var(--color-red);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(var(--color-red-dark)), to(var(--color-red)));
   	background-image: -webkit-linear-gradient(top, var(--color-red-dark), var(--color-red)); 
   	background-image: -moz-linear-gradient(top, var(--color-red-dark), var(--color-red));
   	background-image: -o-linear-gradient(top, var(--color-red-dark), var(--color-red));
	border-bottom: 1px var(--color-red-dark) solid;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#ribbon .logo {
	margin-top:0;
	line-height:1.5em;
}

#ribbon .logo img {
	width: auto;
	height: 30px;
}

.counter {
	margin-top: 20px;
	margin-bottom: 0;
	font-size:180px;
	line-height: 1em;
	font-family:Times,serif;
	font-weight:bold;
	color:#ffff8c;
	/*text-shadow: 1px 1px 0px white;*/
}

#interval {
	font-size:.85em;
}

#timercontrols {
	display:none;
}

#startButton {
	font-size: 25px;
	color: var(--color-red);
	margin-top:10px;
}

#backToSite {
	margin-bottom:25px;
	display:none;
}

.noborder {
	border:0 !important;
	border-radius:0 !important;
}

.darkfortimer {
	background: transparent !important;
}

#logButton {
	display:none;
}

#donescreen {
	display:none;
	padding: 10px;
	margin: 60px auto 0 auto;
	max-width:300px;
	font-family: var(--font-georgia);
	border: 1px solid var(--color-white);
	border-radius: 4px;
}

#donescreen div {
	text-align: center;
}

#donescreen input[type="button"], #donescreen button {
	font-family: var(--font-serif);
	font-variant: small-caps;
}

#timerholder {
	font-family: var(--font-serif);
	border-radius: 10px;
}

#timerholder.pattern {
	background-image:url("/img/pattern.png");
}

#timerholder table {
	width:100%;
}

#timerholder tr {
	background: transparent;
}

#timerholder td.tdlayout {
	width:50%;
	font-family: var(--font-serif);
	font-size: 20px;
	text-shadow: 1px 1px 0 var(--color-white);
}

.tdlayout div {
	margin-top: 5px;
}

#timerholder input[type="button"], #timerholder button {
	font-family: var(--font-serif);
	font-variant: small-caps;
}


/*#timerholder div#interval table {
	display:inline-table;
	vertical-align: middle;
	width:50px;
}*/

#timerholder table.incrementer {
	display:inline-table;
	vertical-align: middle;
	font-size:18px;
}


#interval table.incrementer {
	width:50px;
}

#setcountdown table.incrementer {
	width:25px;
}

#timerholder table.incrementer td {
	margin:0;
	padding:0;
}

#timerholder table.incrementer .fakelink {
	-webkit-user-select: none;     
	-moz-user-select: none;
	user-select: none;
}

#timerholder table.incrementer .incrementnumber {
	max-width:30px;
	text-align:center;
}


#timerholder div.countoption {
	position:relative;
	float:left;
	clear:none;
	min-height:80px;
	width:100%;
	/*min-width:220px;*/
	font-size: 30px;
	text-shadow: 1px 1px 3px #666;
	line-height: 1.2em;
	font-family: var(--font-serif);
	font-variant: small-caps;
	cursor: pointer;
}

/*.countoption div {
	position:absolute;
	bottom:20px;
	width:100%;
	text-align:center;
}*/

.countoption div#setcountdown {
	font-size:16px;
	display:none;
}

.countoption.selected div#setcountdown {
	display:inline-block;
	padding-left:5px;
}

div#setcountdown .fakelink {
	color: var(--color-grey-light);
}

.incrementer input {
	max-width:60px;
	font-size: 15px;
	font-family: Arial;
	background: #C9E4FD;
}

.countoption.left {
	border-radius: 10px 10px 0 0;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-khtml-border-top-left-radius: 10px;
	-khtml-border-top-right-radius: 10px;
}


.countoption div {
	margin-top:20px;
}

.countoption.right {
	border-radius:0 0 10px 10px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -khtml-border-bottom-right-radius: 10px;
    -khtml-border-bottom-left-radius: 10px;
	/*padding-bottom: 5px;*/
	/*border-bottom: 1px #666 solid;*/
	margin-bottom: 15px;
	box-shadow: 1px 1px 1px #666;
}

.countoption.right.selected div {
	margin-top:10px;
}

.countoption.selected {
	background: var(--color-blue);
	color: white;
	box-shadow: 1px 1px 5px black;
}

#timerholder #starthidden {
	display:none;
}

#timerholder.active {
	margin:50px auto 0 auto;
	/*margin:5% auto 0 auto;*/
	max-width:720px;
	/*max-width:600px;*/
	/*padding:15px;*/
	text-align:center;
}

#timerholder input::-webkit-outer-spin-button,
#timerholder input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

td.holdsbell {
	text-align:right;
	vertical-align: top;
	margin-right:15%;
}

.holdsbell div:first-child {
	margin: 0 0 15px 0;
	/*padding: 0;*/
}

.bell {
	width: 20px;
	padding: 1px;
	margin-right:15%;
	line-height: 0em;
	font-size: 0px;
	vertical-align: top;
	border-radius: 2px;
	cursor: pointer;
	/*background-image: url("/img/bellno.png");*/
}

.bell.yes {
	background: var(--color-red);
	box-shadow: 1px 1px 4px #333;
	/*background-image: url("/img/bell.png");*/
}

/* Footer section; note that will display on page by default (but looks decent for now) */
.timer-footer {
	margin-top: 20px;
	padding: 7px 0;
	border-top: 1px var(--color-white) solid;
	background: rgba(255, 255, 255, 0.5);
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.timer-footer .fb-like {
	margin: 0;
	vertical-align: middle;
}

/* PayPal purchase button form */
.donate-button {
	display: inline-block;
	vertical-align: bottom;
	margin-left: 20px;
}

.donate-button form {
	display: inline-block;
	white-space: nowrap;
}

.donate-button p {
	margin: 0;
	color: #333;
	display: inline-block;
	font-variant: small-caps;
	font-size: .9em;
	vertical-align: middle;
}

/* "Buy" button (currently a teacup image) */
.donate-button input[type="image"] {
	height: 20px;
}

.donate-button input[type="image"], .donate-button select {
	vertical-align: middle;
}

.donate-button select {
	font-size: .8em;
	background: rgba(180, 180, 180, .5);
	color: #666;
}

.donate-button select:focus {
	color: #000;
}
