
#tt_main_wrap {
    /*position: relative;
    height: 600px;
    width: 780px;*/
	width: 100%;
	display: inline-block;
    -moz-user-select: none;
    -webkit-user-select: none;
	margin:0 auto;
}

#tt_main_wrap div {
    /*list-style: none;
    margin: 0px;
    padding: 0px;*/
}

#tt_controls_wrap {
    /*position: absolute;
    top: 0;
	left: 552px;*/
	position: relative;
	float: right;

    /*height: 598px;*/
    /*width: 226px;*/
	/*min-width: 230px;*/
	width: 30%;
	height: 600px;
    background-color: #eae9e6;

	/*border: solid 1px #b3b3b3;*/
    /*-webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;*/
}

@media (max-width: 640px) {
	#tt_controls_wrap {
		float: left;
		width: 100%;
	}
}

#controls div .setfield {
    display: block;
    /*position: absolute;*/
    top: 0;
	left: 0;
    /*width: 186px;*/
	width: 100%;
    height: 40px;
    padding-right: 10px;
    cursor: pointer;
    /*background-color: #E3E3E3;*/
    border: solid 1px #b3b3b3;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    font-family: "Helvetica Neue", "Helvetica", "Arial", serif;
    font-size: 1.5em;
    text-align: right;
    /*text-shadow: #fff 0 1px 0;*/
    color: #4c4c4c;
}

#controls div:hover .setfield {
    display: block;
    /*position: absolute;*/
    top: 0;
	left: 0;
    /*width: 186px;*/
	/*width: 100%;*/
    height: 40px;
    padding-right: 10px;
    cursor: pointer;
    background-color: #909090;
    border: solid 1px #000;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    font-family: "Helvetica Neue", "Helvetica", "Arial", serif;
    font-size: 1.5em;
    text-align: right;
    text-shadow: none;
    color: #efefef;
}

#controls div .setfield_label {
    display: block;
    position: absolute;
    top: 0; left: 0;
    padding: 0 10px;
    cursor: pointer;
    line-height: 42px;
    /*text-shadow: #fff 0 1px 0;*/
    font-size: 1.2em;
    color: #4c4c4c;
}

#controls div:hover .setfield_label {
    display: block;
    position: absolute;
    top: 0; left: 0;
    padding: 0 10px;
    line-height: 42px;
    text-shadow: none;
    font-size: 1.2em;
    color: #efefef;
}

#indicator {
    /*position: absolute;
    top: 0;
	left: 552px;*/
	position: relative;
	/*float: right;*/
    width: 25px;
    height: 600px;
    z-index: 1000;
    /*background: url('/media/indicator_bg.png') 0 0 repeat-y;*/
}

#indicator #arrow {
    /*position: absolute;*/
	position: relative;
    top: 34px;
	left: 0;
    width: 25px;
    height: 46px;
    background: url('/media/indicator.png') 0 0 no-repeat;
    -webkit-transition-property: all;
    -webkit-transition-duration: 0.25s;
}

#tt_timer_wrap {
    /*position: absolute;*/
    top: 0;
	left: 0;
    height: 600px;
    /*width: 552px;*/
	width: 70%;
	float: left;
    background-color: #5E6472;

    /*-webkit-border-top-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -webkit-box-shadow: 0px 1px 2px #999;
    -moz-box-shadow: 0px 1px 2px #999;*/
}
/*
#tt_clock_wrap {
    position: absolute;
    top: 34px;
	left: 34px;
    height: 292px;
    width: 484px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

#tt_cycles_wrap {
    position: absolute;
    top: 360px;
	left: 34px;
    height: 206px;
    width: 210px;
    background-color: #FFF;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

#tt_tabatas_wrap {
    position: absolute;
    top: 360px;
	left: 308px;
    height: 206px;
    width: 210px;
    background-color: #FFF;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}
*/

#tt_clock_wrap {
	margin: 20px;
    height: 292px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

#tt_cycles_wrap {
	float: left;
	margin: 20px;
	min-width: 150px;
	width: 40%;
    height: 206px;
    background-color: #FFF;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

#tt_tabatas_wrap {
	float: left;
	margin: 20px;
	min-width: 150px;
	width: 40%;
    height: 206px;
    background-color: #FFF;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

@media (max-width: 640px) {
	#tt_timer_wrap {
		width: 100%;
	}
}

@media (max-width: 400px) {
	#tt_controls_wrap {
		height: 580px;
	}

	#tt_timer_wrap {
		height: 400px;
	}

	#tt_clock_wrap {
		height: 180px;
	}

	.tt_timer_label {
		font-size: 2em !important;
		line-height: 40px !important;
	}

	.tt_number_label {
		font-size: 6em !important;
		line-height: 100px !important;
	}

	.tt_small_number_label {
		font-size: 5em !important;
		line-height: 120px !important;
	}

	#tt_cycles_wrap {
		min-width: 100px;
		height: 150px;
		margin-top: 0;
	}

	#tt_tabatas_wrap {
		min-width: 100px;
		height: 150px;
		margin: 0;
	}
}

.tt_timer_label {
    display: block;
    line-height: 60px;
    font-size: 3em;
    color: #000;
    text-align: center;
}

.tt_small_timer_label {
    display: block;
    line-height: 0px;
    font-size: 26px;
    font-weight: normal;
    color: #000;
    text-align: center;
}

.tt_number_label {
    display: block;
    line-height: 160px;
    font-size: 9em;
    font-weight: bold;
    color: #000;
    text-align: center;
}

.tt_small_number_label {
    display: block;
    line-height: 170px;
    font-size: 100px;
    font-weight: bold;
    color: #000;
    text-align: center;
}

.tt_clock_default {
    background-color: #FFF;
}

.tt_clock_prepare {
    background-color: yellow;
}

.tt_clock_work {
    background-color: lime;
}

.tt_clock_rest {
    background-color: red;
}

a.tt_small_button {
    display: block;
    line-height: 34px;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

a.tt_big_button {
    display: block;
    line-height: 60px;
    cursor: pointer;
    background-color: #FFF;
    border: solid 2px #DDD;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    font-size: 1.75em;
    font-weight: bold;
    color: #000;
    text-align: center;
}

a.tt_big_button_selected {
    display: block;
    line-height: 60px;
    cursor: pointer;
    background-color: #000;
    border: solid 2px #000;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    font-size: 1.75em;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

a.tt_big_button:active {
    background-color: #000;
    border: solid 2px #000;
    color: #fff;
}

a.tt_big_button:hover {
    background-color: #a81e1e;
    border: solid 2px #000;
    color: #fff;
}

span.tt_setting_label {
    display: block;
    float: right;
}

#tt_setpreparetime {
	position: absolute;
	top: 34px;
	/*left: 14px;*/
	/*height: 40px;
	width: 198px;*/
	margin-left: 2.5%;
	/*margin-right: 2.5%;*/
	width: 95%;
}

#tt_setworktime {
	position: absolute;
	top: 98px;
	/*left: 14px;*/
	/*height: 40px;
	width: 198px;*/
	margin-left: 2.5%;
	/*margin-right: 2.5%;*/
	width: 95%;
}

#tt_setresttime {
	position: absolute;
	top: 162px;
	/*left: 14px;*/
	/*height: 40px;
	width: 198px;*/
	margin-left: 2.5%;
	/*margin-right: 2.5%;*/
	width: 95%;
}

#tt_setcycles {
	position: absolute;
	top: 226px;
	/*left: 14px;*/
	/*height: 40px;
	width: 198px;*/
	margin-left: 2.5%;
	/*margin-right: 2.5%;*/
	width: 95%;
}

#tt_settabatas {
	position: absolute;
	top: 290px;
	/*left: 14px;*/
	/*height: 40px;
	width: 198px;*/
	margin-left: 2.5%;
	/*margin-right: 2.5%;*/
	width: 95%;
}

#tt_plusminus {
	position: absolute;
	top: 368px;
	/*left: 14px;*/
	/*height: 40px;
	width: 198px;*/
	margin-left: 2.5%;
	/*margin-right: 2.5%;*/
	width: 95%;
}

#tt_setting_increase {
    display: block;
    /*width: 97px;*/
	width: 49%;
    height: 38px;
    float: left;
    border: solid 1px #b3b3b3;
    border-left: none;
    -webkit-border-top-right-radius: 20px;
    -webkit-border-bottom-right-radius: 20px;
    -moz-border-radius-topright: 20px;
    -moz-border-radius-bottomright: 20px;
}

#tt_setting_increase:active {
    background-color: #000;
    text-shadow: none;
    color: #efefef;
    border: none;
    height: 40px;
    /*width: 98px;*/
}

#tt_setting_decrease {
    display: block;
    /*width: 98px;*/
	width: 49%;
    height: 38px;
    float: left;
    line-height: 38px;
    border: solid 1px #b3b3b3;
    -webkit-border-top-left-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -moz-border-radius-topleft: 20px;
    -moz-border-radius-bottomleft: 20px;
}

#tt_setting_decrease:active {
    background-color: #000;
    text-shadow: none;
    color: #efefef;
    border: none;
    height: 40px;
    /*width: 100px;*/
}

#startbutton {
	position: absolute;
	top: 505px;
	/*left: 14px;
	height: 60px;
	/*width: 198px;*/
	margin-left: 5%;
	/*margin-right: 0.5em;*/
	width: 90%;
}

#resetbutton {
	position: absolute;
	top: 505px;
	/*left: 14px;
	height: 60px;
	width: 198px;*/
	margin-left: 5%;
	/*margin-right: 0.5em;*/
	width: 90%;
}

#pausebutton {
	position: absolute;
	top: 428px;
	/*left: 14px;
	height: 60px;
	width: 198px;*/
	margin-left: 5%;
	/*margin-right: 0.5em;*/
	width: 90%;
}
