/* global */
#tt-popup {
	width: 800px;
	font: 12px/20px Arial, Helvetica, sans-serif;
	overflow: hidden;
}
#tt-popup.no_preview {
	width: 560px;
}
#tt-popup * {
	font: 12px/20px Arial, Helvetica, sans-serif;	
}



/* main content */
#tt-sc-form-wrap {
	width: 550px;
	float: left;
}
#tt-sc-form-wrap #tt-sc-form {
	width: 490px;
	padding: 15px;
}




/* preview */
#tt-sc-preview-wrap {
	width: 249px;
	background: #f7f7f7;
	border-left: solid 1px #d0d0d0;
	position: relative;
	float: left;
}

#tt-sc-preview .tt-icon {
padding: 4px 0 35px 55px !important;
}

#tt-popup.no_preview #tt-sc-preview-wrap {
	display: none;
}

#tt-sc-preview-wrap #tt-sc-preview-head {
	width: 219px;
	padding: 15px;
	color: #333;
	font-weight: bold;
	line-height: 1;
	text-shadow: 0 1px 0px #fff;
	background-color: #dddddd;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#dddddd), to(#d0d0d0)); 
	background-image: -webkit-linear-gradient(top, #dddddd, #d0d0d0); 
	background-image: -moz-linear-gradient(top, #dddddd, #d0d0d0); 
	background-image: -ms-linear-gradient(top, #dddddd, #d0d0d0); 
	background-image: -o-linear-gradient(top, #dddddd, #d0d0d0); 
	background-image: linear-gradient(top, #dddddd, #d0d0d0);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#dddddd', EndColorStr='#d0d0d0');
}
#tt-sc-preview-wrap #tt-sc-nopreview {
	padding: 15px;
	width: 219px;
	font-size: 14px;
	font-weight: bold;
	color: #777;
	text-shadow: 0 1px 0 #fff;
	text-align: center;
}



/* form */

#tt-sc-form-table {
	width: 520px;
}
#tt-sc-form-table tbody tr.form-row {
	display: block;
	padding: 5px 0;
	border-bottom: solid 1px #eaeaea;
}
#tt-sc-form-table tbody:last-child tr.form-row {
	border-bottom: none;
}
#tt-sc-form-table tbody tr.form-row .label {
	width: 130px;
	text-align: right;
	vertical-align: top;
	line-height: 35px;
	padding-right: 20px;
}
#tt-sc-form-table tbody tr.form-row .field {
	width: 370px;
}
#tt-sc-form-table tbody tr.form-row .tt-insert {
	color: #fff;
}

/* child rows, sortable */
#tt-sc-form-table .has-child #form-child-add {
	display: block;
	width: 520px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 0;
	height: 30px;
	line-height: 30px;
	margin-bottom: 20px;
	font-weight: bold;
	font-size: 16px;
	text-align: center;
}
#tt-sc-form-table .has-child .child-clone-rows {
	display: block;
}
#tt-sc-form-table .has-child .child-clone-rows .child-clone-row {
	padding: 8px 15px;
	background: #f7f7f7;
	border: solid 1px #e0e0e0;
	margin-bottom: 10px;
	cursor: move;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#tt-sc-form-table .has-child .sortable-placeholder {
	border: dashed 2px #e0e0e0;
	margin-bottom: 10px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background: #f7f7f7;
	height: 40px;
}
#tt-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-form {
	display: block;
}
#tt-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-form .child-clone-row-form-row {
	display: block;
	padding: 7px 0;
	border-bottom: solid 1px #ddd;
}
#tt-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-form .child-clone-row-form-row .child-clone-row-label label {
	display: block;
	font-weight: bold;
	font-style: italic;
	padding-bottom: 7px;
	line-height: 1;
}
#tt-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-remove {
	color: #FF0000;
	padding: 1px;
}
#tt-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-remove:hover {
	color: #fff;
	background: #FF0000;
}

/* form elements */

/* - all */
#tt-sc-form-table tbody tr.form-row .tt-form-text,
#tt-sc-form-table tbody tr.form-row .tt-form-textarea,
#tt-sc-form-table tbody tr.form-row .tt-form-select {
	width: 350px;
	padding: 5px 10px;
	background: #f7f7f7;
	border: none;
	border-left: solid 1px #ddd;
	border-top: solid 1px #ddd;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#tt-sc-form-table tbody tr.form-row.has-child .tt-form-text,
#tt-sc-form-table tbody tr.form-row.has-child .tt-form-textarea,
#tt-sc-form-table tbody tr.form-row.has-child .tt-form-select {
	background: #fff;
	width: 485px;
}

/* - textarea */
#tt-sc-form-table tbody tr.form-row .tt-form-textarea {
	height: 120px;
}
#tt-sc-form-table tbody tr.form-row.has-child .tt-form-textarea {
	height: 100px;
}

/* - select */
#tt-sc-form-table tbody tr.form-row .tt-form-select {
	display: block;
	height: 25px;
}
#tt-sc-form-table tbody tr.form-row.has-child .tt-form-select {
	width: auto;
	height: 25px;
}

/* - desc */
#tt-sc-form-table tbody tr.form-row .field .tt-form-desc,
#tt-sc-form-table tbody tr.form-row .child-clone-row-desc {
	display: block;
	font-size:  12px;
	color: #aaa;
	font-style: italic;
	padding-top: 3px;
}

#tt-sc-preview-wrap .notification {
width:87% !important;	
}
