
/* GLOBAL
------------------------------------------------------- */
#jayd-popup {
	width: 100%;
	overflow: hidden;
}
#jayd-popup {
	font-family: Helvetica, arial, sans-serif;	
}
#jayd-popup * {
	font-size:14px;
}
#jayd-popup .form-control {
	border-radius:6px;
}
/* form side */
#jayd-sc-form-wrap {
	width: 100%;
	float: left;
}
#jayd-sc-form-wrap #jayd-sc-form-head {
	width: 100%;
	padding: 15px;
	color: #fff;
	line-height: 1;
	background-color: #333;
}
#jayd-sc-form-wrap #jayd-sc-form-head h2 {
	font-size: 17px;
	margin:0;
	color:#fff
}
#jayd-popup.no_preview #jayd-sc-form-wrap #jayd-sc-form-head {
	width: 530px;
}
#jayd-sc-form-wrap #jayd-sc-form {
	width: 100%;
	padding: 15px;
}



/* FORM
------------------------------------------------------- */

#jayd-sc-form-table {
	width: 100%;
}
#jayd-sc-form-table tbody tr.form-row {
	display: block;
	padding: 5px 0;
	border-bottom: solid 1px #eaeaea;
}
#jayd-sc-form-table tbody:last-child tr.form-row {
	border-bottom: none;
}
#jayd-sc-form-table tbody tr.form-row .label {
	text-align: left;
	vertical-align: top;
	line-height: 35px;
	font-weight: 500;
}
table.form-table tr td:first-child {
	vertical-align:top;
	padding-top:11px;
}

.child-clone-row-desc {
	margin-bottom:20px;
	margin-top:5px;
	display:block;
	font-style: 12px;
}
#jayd-sc-form-table tbody tr.form-row .field {
	width: 370px;
}
#jayd-sc-form-table tbody tr.form-row .jayd-insert {
	color: #fff;
}

/* child rows, sortable */
#jayd-sc-form-table .has-child #form-child-add {
	display: block;
	width: 100%;
	-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;
}
#jayd-sc-form-table .has-child .child-clone-rows {
	display: block;
}
#jayd-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;
}
#jayd-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;
}
#jayd-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-form {
	display: block;
}
#jayd-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;
}
#jayd-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;
}
#jayd-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-remove {
	color: #FF0000;
	padding: 1px;
}
#jayd-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-remove:hover {
	color: #fff;
	background: #FF0000;
}

/* form elements */

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

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

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

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

/* Hide outline on focus */
#content_jayd_button { outline: none; }


.iconpopup{
	position: absolute;
	width: 278px;
	height: 290px;
	color: #000;
	font-size: 14px;
}
.iconpopup:before {
 content: '';
display: inline-block;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-bottom: 7px solid #ccc;
border-bottom-color: rgba(0,0,0,0.2);
position: absolute;
top: -7px;
left: 6px;
}
.iconpopup:after {
  content: '';
display: inline-block;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid #fff;
position: absolute;
top: -6px;
left: 7px;
}
.iconpopup a:hover{
	background-color:#eee;
}
.iconpopup .icon-title{
	position: relative;
	background-color: #563d7c;
	color: #fff;
	border: 1px solid #463265;
	
}
.iconpopup .icon-title h4{
	margin: 0;
	padding: 8px 10px;
	font-size: 17px;
	font-weight: bold;
}
.pointer{
	cursor: pointer;
}
.iconpopup .ip-control{
	background-color: white;
	height: 40px;
	margin-top: -2px;
	padding-top: 2px;
	border-bottom: 1px solid #e5e5e5;
}
.iconpopup .ip-search{
	width: 171px;
	padding:2px 0px 5px 27px;
	margin-left: 8px;
	background-repeat: no-repeat;
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACcElEQVQ4y5XSQUiaYRgH8P+rzlSS6lKuZbkvvjq0NWfg0Xu1jO0gWbO5ctBtxDrtsE51CIJZgxWLMQbtsA7TQ5RX5ygPFbRD1rBJDko+ZtI++fT7nM8uDpoWrD+8p/d5fu8Dz8tQChEZs9nsk4ODgwcnJye8RqNRmpubd3ief69Wq1dwSTSl5tbt7e2VYDB4N51Ow2AwoFgsQpKkGxzH3Usmkx+amppGGWO5coARkXFra+vzwuLCnVau9ai3t3fWbDZHC4WCPhaL3Q8EAmMqxrTPJiYWTSbTWMUIv0Tx6fj4OE1OTsay2ewLIpo9f59IfPf6fD7l1fw8EVFXeb/q6+6uK5FIwOl0rhoMBhlA5HyBxXLzncPhWN/Y3IQgCP0VwOHhIQcALS0tqwDeMMY+lRfxPB8WBAHHx8dcBQBAyWQykGVZwxj7SUS6sqMSRdEoiiJUKpVSsYW2tradVCplDofDLiI6BVAPoACAlR44Da2HempqamCxWL5UAFardamzs9M5NTXt5nk+bbPZJAAmAL8B/FheXr4VCAa6bDYbdHodVawRAPb29t4ODAw8FgShODw8vGG321O5XE4dCoW4tbW120ajEfl8Hn19fTm/3/9Iq9V+/EchomvxePyl1+stNNQ3kE6nI71eTx0dHdTT3U11dXV0vbGRqquraWRkRM7n864LvyURWY+Oks8jkchSNBp9nclkfLIse0ZHfRIAqq2tJcYYDT0cuhy5KIqi9Hs8HgkAVVVVEQByuVzy2dnZ1ZDBwUEJADHGCADNzMyk/xv4i7jdbgkAtbe30/7+/vSVAACQZdk5Nzf3LR6PTwHAHzdFLfF/9+ryAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDExOjIxOjA0LTA2OjAw10lxMgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0wNS0zMFQxMToxMzowNi0wNTowMGfB+zwAAAAASUVORK5CYII=) no-repeat 3px;

}

.iconpopup .iconlist{position:absolute;top: 43px;bottom:0;overflow: hidden;}
.iconlist ul{
	margin: 0;
	padding: 0;
	margin-bottom: 10px;
}
.iconpopup .ip-control ul{margin: 4px 0;padding: 0;}
.iconpopup .ip-control ul li{float: left;list-style-type: none;}
.iconpopup .ip-control ul li a{margin-top: -3px;color:#373737;}
.iconpopup .ip-control ul li:first-child{margin-left: 3px;}
.iconpopup .ip-control ul li:last-child{position: absolute;right: 0;top: 9px;}

.iconlist ul li{
	display: inline-block;
	margin: 5px;
	float: left;
	border: 1px dotted #eee;
}

.iconlist ul li a{
	display: block;
	text-decoration: none;
	color:#373737;
	padding: 6px 10px;
}
.iconlist ul li a:hover{color:#000;}

.jayd-popup label {white-space: nowrap; margin-right:20px;}