/***** POPUP WINDOW 2 *****/
.popup-win-2 {
	position: absolute;
	z-index:100000;
	height:auto;
	background:#f8f8f8;
	border:solid 1px #c7c5c5;
	top:28px;
	right:-34px;
	text-align:left;
	box-shadow: -1px 0px 6px #777;
}
.popup-win-2.dialog_share {
	width:556px;
}
.popup-win-2.dialog_download {
	width:313px;
	right: -23px;
}
.selected {
	color:#F92 !important;
}
.popup-win-2 .tarr {
	width: 18px;
	height: 14px;
	background: url(../images/theme/dialog/popup_tarr.png) no-repeat;
	position: absolute;
	z-index: 106;
	top: -14px;
	right: 40px;
}
.popup-win-2 .fieldbox {
	width: 100%;
	height: auto;
	min-height: 50px;
	border-bottom: 1px solid #d4d2d2;
	display: table;
}
.popup-win-2 .fieldbox label {
	float: left;
	margin: 11px 0 11px 19px;
	width: 101px;
	line-height: 28px;
	color: #777;
	font-size: 14px;
	display: table-cell;
}
.popup-win-2 .fieldbox input.field {
	float: left;
	width: 302px;
	height: 32px;
	border: 1px solid #d1d1d1;
	border-right: none;
	margin: 20px 0 0 0;
	padding: 0 10px;
	font-size: 14px;
}
.popup-win-2 .fieldbox input.addmail {
	float: left;
	width: 93px;
	height: 34px;
	background: url(../images/theme/dialog/addmail.jpg) no-repeat;
	border: none;
	cursor: pointer;
	margin: 20px 0 10px 0px;
	
}
.popup-win-2 .fieldbox .email_to_box {
	clear:both;
	width: 436px;
	height: auto;
	/*
	min-height: 30px;
	*/
	padding: 0 0 0 120px;
}
.popup-win-2 .fieldbox .email_to_box div {
	position: relative;
	width: 203px;
	height: 24px;
	float: left;
	margin-right: 10px;
	margin-bottom:10px;
}
.popup-win-2 .fieldbox .email_to_box div>span {
	position: absolute;
	top: 4px;
	right: 6px;
	display: block;
	width: 16px;
	height: 16px;
	background: url(../images/theme/dialog/butt_close.jpg) no-repeat;
	cursor: pointer;
}
.popup-win-2 .fieldbox .email_to_box  input.email_to_button {
	width: 202px;
	height: 24px;
	background: url(../images/theme/dialog/butt_bg1.jpg) repeat-x;
	border: none;
	cursor: pointer;
	display:block;
	text-align: center;
	color:#2d2d2d;
}


.popup-win-2 .fieldbox input.field1 {
	float: left;
	width: 396px;
	height: 31px;
	border: 1px solid #d1d1d1;
	margin: 9px 0 0 0px;
	padding: 0 9px;
	font-size: 14px;
	color:#2d2d2d;
}
.popup-win-2 .fieldbox span.date {
	float: left;
	height: 28px;
	margin: 12px 0 0 0px;
	padding: 0 14px 0 5px;
	font-size: 14px;
	line-height: 28px;
	color:#2d2d2d;
}
.popup-win-2 .fieldbox a.cal {
	float: left;
	width: 23px;
	height: 25px;
	background: url(../images/theme/dialog/calicon.jpg);
	border: none;
	cursor: pointer;
	margin: 12px 0 0 0px;
	display:block;
}
.popup-win-2 .fieldbox a.cal input {
	visibility:hidden;
	width:1px;
}
.popup-win-2 .fieldbox .radio {
	float: left;
	width: 79px;
	padding-left: 4px;
	margin: 18px 0 0 0;
	position:relative;
}
.popup-win-2 .fieldbox textarea {
	width: 396px;
	height: 68px;
	margin: 10px 0 10px 0;
	border: 1px solid #d1d1d1;
	padding: 5px 9px;
	font-size: 14px;
	line-height: 28px;
	color: #777;
	font: 14px/20px Helvetica, sans-serif;
	resize: none; 
}
.popup-win-2 .fieldbox img.preview {
	margin: 8px 0 8px 0;
}

/* ADDED */
.download_button, .email_send_button {
	width: 90px;
	height: 24px;
	background: url(../images/theme/dialog/butt_bg1.jpg) repeat-x;
	border: none;
	cursor: pointer;
	display:block;
	float:right;
	margin:10px 20px;
	color:#555;
	font-size:14px;
	line-height:24px;
}

/***** END POPUP WINDOW 2 *****/


h1 {
	font: 26px/30px Helvetica, sans-serif;
	padding: 20px 0 5px 15px ;
}
dl.list_1 {
	font: 14px/20px Helvetica, sans-serif;
	text-align: justify;
	border-top: 1px solid #ff9100;
	padding: 0 5px;
}

dl.list_1 p {
	font-size: 16px;
	font-weight: bold;
	padding: 25px 0 10px 0;
}
dl.list_1 dt {
	font-weight: bold;
	padding: 20px 0 0 0;
}

/***** POPUP WINDOW 1 *****/
.popup-win-1 {
	position: absolute;
	z-index: 105;
    width: 262px;
    height: auto;
	background: #f7f7f7;
    display:none;
	overflow-y: visible;
}
.popup-win-1.glucoseMeasurementEvent {
	border: solid 2px #f92;
	border-radius: 4px;
}
.popup-win-1.carbsConsumptionEvent {
	border: solid 2px #669c8e;
	border-radius: 4px;
}
.popup-win-1.insulineIntakeEvent {
	border: solid 2px #d23590;
	border-radius: 4px;
}
.popup-win-1.caloriesBurntEvent {
	border: solid 2px #73accd;
	border-radius: 4px;
}
.popup_left, .covering .popup_left {
	left: 35px;
}
.covered .popup_left {
	left:40px;
}
.covering.covered .popup_left {
	left:54px;
}

#chartbox .popup_right, .covering .popup_right {
	left: -280px !important;
}
#logbox .popup_right, .covering .popup_right {
	right: 35px !important;
}
.covered .popup_right {
	left: -264px;
}
.covering.covered .popup_right {
	left:-272px;
}

.popup_bottom {
	top: 14px;
}
.popup_bottom.caloriesBurntEvent {
	top: 17px;
}
.popup_top {
	bottom: 14px;
}
#chartbox .popup_top {
	bottom: -10px !important;
	top: auto !important;
}
.popup-win-1.popup_active {
	display:block;
	box-shadow: 0px 0px 8px #000000;
}
#chartbox .popup-win-1.popup_active {
	left: 45px;
	top: -9px;
	display:block;
}
#chartbox .popup-win-1.popup_active.caloriesBurntEvent {
	top: -5px;
}
.popup-win-1 .larr {
	width: 20px;
	height: 27px;
	position: absolute;
	z-index: 106;
	border:none;
}
.popup-win-1.larr.glucoseMeasurementEvent {
	background: url(../images/theme/dialog/popup/arrow/popup_point_left.png) no-repeat;
}
.popup-win-1.larr.carbsConsumptionEvent {
	background: url(../images/theme/dialog/popup/arrow/popup_green_left.png) no-repeat;
}
.popup-win-1.larr.insulineIntakeEvent {
	background: url(../images/theme/dialog/popup/arrow/popup_pink_left.png) no-repeat;
}
.popup-win-1.larr.caloriesBurntEvent {
	background: url(../images/theme/dialog/popup/arrow/popup_blue_left.png) no-repeat;
}
.popup_left .larr {
	left: -19px;
}
.popup_right .larr {
	right: -19px;
}
.popup_left .larr.glucoseMeasurementEvent {
	background: url(../images/theme/dialog/popup/arrow/popup_point_left.png) no-repeat;
	left: -20px;
}
.popup_right .larr.glucoseMeasurementEvent {
	background: url(../images/theme/dialog/popup/arrow/popup_point_right.png) no-repeat;
	right: -20px;
}
.popup_left .larr.carbsConsumptionEvent {
	background: url(../images/theme/dialog/popup/arrow/popup_green_left.png) no-repeat;
}
.popup_right .larr.carbsConsumptionEvent {
	background: url(../images/theme/dialog/popup/arrow/popup_green_right.png) no-repeat;
}
.popup_left .larr.insulineIntakeEvent {
	background: url(../images/theme/dialog/popup/arrow/popup_pink_left.png) no-repeat;
}
.popup_right .larr.insulineIntakeEvent {
	background: url(../images/theme/dialog/popup/arrow/popup_pink_right.png) no-repeat;
}
.popup_left .larr.caloriesBurntEvent {
	background: url(../images/theme/dialog/popup/arrow/popup_blue_left.png) no-repeat;
	left: -20px;
}
.popup_right .larr.caloriesBurntEvent {
	background: url(../images/theme/dialog/popup/arrow/popup_blue_right.png) no-repeat;
	right: -20px;
}
.popup_top .larr {
	bottom: 10px;
}
.popup_bottom .larr {
	top: 10px;
}

.popup-win-1  .datline {
	width: 262px;
	height: 42px;
	border-bottom: 1px solid #e2e2e2;
	overflow: hidden;
	background-color: #fdfdfd;
}
.popup-win-1 .datline .label {
	display: block;
	float: left;
	width: 115px;
	font: 12px 'Trebuchet MS', serif;
	color: #6e6e6e;
	text-align: left;
	padding-left: 17px;
	line-height: 42px;
}
.popup-win-1 .datline .dat {
	padding: 5px 0px 0px 0px;
	margin-left: 0px;
	display: block;
	float: left;
	font: 24px 'Trebuchet MS', serif;
	text-shadow: 2px 0px 3px rgba(0, 0, 0, 0.28);
	text-align: left;
	color: #000;
	overflow: visible;
	line-height: 32px;
}
.popup-win-1 .datline .time{
	display: block;
	float: left;
	text-align: left;
	font: 24px 'Trebuchet MS', serif;
	text-shadow: 2px 0px 3px rgba(0, 0, 0, 0.28);
	color: #000;
	line-height: 46px;
}
.popup-win-1 .datline .date {
	display: block;
	float: left;
	text-align: left;
	font: 12px 'Trebuchet MS', serif;
	text-shadow: 2px 0px 3px rgba(0, 0, 0, 0.28);
	color: #000;
	line-height: 14px;
	padding: 6px 12px 0 12px;
}
.fsize14 {
	font-size: 14px !important;
}
.fsize18 {
	font-size: 18px !important;
}
.popup-win-1  .eventsBox {
	width: 225px;
	height: auto;
	border: 1px solid #e2e2e2;
	border-bottom: none;
	background: url(../images/theme/dialog/popup/popup_comment_mid.png) repeat-x;
	margin:0px 18px 17px 15px;
}
.popup-win-1 .event {
	text-align:left;
	width: 225px;
	min-height: 36px;
	opacity: 60%;
	font: 16px 'Trebuchet MS', serif;
	color: #161616;
	border-bottom: 1px solid #e2e2e2;
	overflow: hidden;
	background-color: #fdfdfd;
}
.popup-win-1 .background {
	ackground: url(../images/theme/datline_bg.png) no-repeat #fff;
}
.evetxt {
	display: block;
	float: left;
	font: 14px/40px 'Trebuchet MS', serif;
	color: #000;
	padding-left: 10px;
}
.comicon {
	width: 224px;
	height: 17px;
	background: url(../images/theme/dialog/popup/popup_comment_icon.png) no-repeat;
	margin-top: 14px;
	margin-left: 17px;
	margin-bottom: 9px;
}
.spinner {
	width:100%;
	min-width: 32px;
	height: 32px;
	margin: 25px 0;
	background: url(../images/theme/dialog/popup/spinner.gif) no-repeat;
	background-position-x: 50%;
}
.operating {
	background: url(../images/theme/dialog/popup/spinner.gif) no-repeat top center !important;
	color: transparent !important;
	cursor: default !important;
}
/* Mozilla based browsers */
.popup-win-1 ::-moz-selection {
	background-color: #FFF;
	color: #000;
}
.long_string_popup {
	display: none;
	position: absolute;
	right: 5px;
	background: #F4F4D7;
	font-size: 14px;
	padding: 0 5px;
	border: 1px solid #BBB;
	cursor: default;
	max-width: 240px;
}

/***** END POPUP WINDOW 1 *****/

/***** Common styles*****/

.mt22 {margin-top:22px !important;}

/***** END Common styles*****/

/***** Radio button styles*****/
.niceRadio {
	width: 16px;
	height: 16px;
	display: inline-block;
	cursor: pointer;
	background: url(../images/theme/dialog/radio.png);
	overflow: hidden;
}
.radioChecked {
	background-position: 0 -16px;
}
.niceRadio input {
	margin-left: -17px;

}
.radiolabel {
	position:absolute;
	left: 29px;
	top:0;
}
/***** END Radio button styles*****/