/* Menu */
.mceIcon.mce_shaplaShortcodes,
.mce-i-shaplatools {
	background: url($shapla-logo-url) no-repeat center !important;
}

.wp-core-ui .shapla-insert {
	color: white !important;
	margin-top: 3px;
	margin-right: 10px;
	background: #1b93c7 !important;
	border: none;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	font-size: 14px;
	line-height: 1 !important;
	height: auto !important;
	padding: 10px 14px !important;

	&:hover {
		text-shadow: none;
		box-shadow: none;
	}
}

.shapla-open-media {
	margin-bottom: 5px !important;
}

.insert-field {
	text-align: right;
	background: #363f48;
	padding: 15px;
	margin: 0 -15px;
}

#shapla-sc-form-wrap {
  background: #1b93c7;
  font-weight: bold;
  color: white;
  padding: 23px 10px;
  font-size: 13px;
}

#shapla-sc-form-head {
	margin: 0;
	padding: 0;
	line-height: 1;
	font-weight: normal;
	font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
	display: inline-block;
	color: white;
}

#close-popup {
	display: inline-block;
	width: 22px;
	height: 22px;
	float: right;
	cursor: pointer;
	background: url($shapla-sprite-popup-url) 0 0 no-repeat;
}

#shapla-sc-form-table {
	width: 100%;
	.label {
		width: 20%;
		padding-right: 2%;
		display: inline-block;
		vertical-align: middle;
		padding-bottom: 20px;
		color: #8e8e8e;
		font-size: 14px;
	}
	.field {
		width: 77%;
		display: inline-block;
	}
	tr.form-row {
		display: block;
		padding: 5px 0;
	}
	tbody:last-child tr.form-row {
		border: none;
	}
	.shapla-form-desc,
	.child-clone-row-desc {
		display: block;
		font-size: 12px;
		color: #adadad;
		padding-top: 5px;
	}

	tbody tr.form-row {
		display: block;
	}

	.child-clone-row {
		padding: 8px 15px;
		background: #F7F7F7;
		border: solid 1px #E0E0E0;
		margin-bottom: 10px;
		cursor: move;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}

	.child-clone-row-label label {
		font-weight: bold;
		font-style: italic;
		padding-bottom: 7px;
		line-height: 1;
		display: block;
	}
}


.shapla-input {
	width: 100%;
}

.shapla-input,
.shapla-cinput {
	border-radius: 2px !important;
	border-color: #e7e7e7 !important;
	padding: 13px 10px !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	font-size: 14px;
}

#shapla-sc-form {
	padding: 15px 15px 0 15px;
}

#form-child-add {
	display: block;
	width: 630px;
	-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;
}

.child-clone-row-form-row {
	display: block;
	padding: 7px 0;
	border-bottom: solid 1px #DDD;
}

.child-clone-row-field textarea {
	width: 100%;
}

.child-clone-row-remove {
	color: #f00 !important;
	padding: 1px;
}

.child-clone-row-remove:hover {
	color: white !important;
	background: #f00;
}

.shapla-form-select {
	-webkit-appearance: none;
	background: url($shapla-sprite-popup-url) no-repeat 105% -25px #eaeaea;
	border: none;
	height: 44px !important;
	color: #a9a9a9;
	line-height: 1.2 !important;
}

/* Retina Queries */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){
	.mceIcon.mce_shaplaShortcodes,
	.mce-i-shaplatools {
		background-image: url($shapla-logo-2x-url) !important;
		background-size: 18px 17px !important;
	}
	#close-popup {
		background-size: 22px 105px;
		background-position-y: -49px;
	}
	.shapla-form-select {
		background-size: 22px 105px;
		background-position: 100% -75px;
	}
}

.shapla-all-icons {
	height: 175px;
	overflow: auto;
	width: 100%;
	border: 1px solid #AAA;
	overflow-x: hidden;
	max-width: 484px;
	background: #fff;

	i {
		position: relative;
		font-size: 25px;
		line-height: 1em;
		width: 1em;
		color: #494949;
		padding: 9px;
		display: inline-block;
		vertical-align: top;
		text-align: center;
		border: 1px solid #E1E1E1;
		margin-left: -1px;
		margin-top: -1px;
		-webkit-transition: all 150ms ease-out;
		-moz-transition: all 150ms ease-out;
		-o-transition: all 150ms ease-out;
		transition: all 150ms ease-out;
		cursor: pointer;

		&.active-icon {
			color: #D54E21 !important;
		}
		
		&:hover {
			color: #278AB7;
			background: #fff;
			z-index: 10;
			-webkit-transform: scale(1.3);
			-moz-webkit-transform: scale(1.3);
			-ms-webkit-transform: scale(1.3);
			-o-webkit-transform: scale(1.3);
			transform: scale(1.3);
		}
	}

	.icon-category {
		display: block;
		font-weight: bold;
		margin: 20px 0 20px 5px;
	}
}

#TB_ajaxContent#TB_ajaxContent {
	padding: 0 !important;
}
