/* GLOBAL
------------------------------------------------------- */
#t4p-popup {
	width: 850px;
	font: 12px/20px Arial, Helvetica, sans-serif;
	height: 500px;
}
#t4p-popup * {
	font: 12px/20px Arial, Helvetica, sans-serif;	
}

#t4p-popup .clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* form side */
#t4p-sc-form-wrap {
	width: 850px;
	float: left;
}
#t4p-sc-form-wrap #t4p-sc-form-head {
	width: 850px;
	padding: 15px;
	color: #fff;
	font-weight: bold;
	line-height: 1;
	text-shadow: 0 -1px 0 #000;
	background-color: #404040;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#404040), to(#393939)); 
	background-image: -webkit-linear-gradient(top, #404040, #393939); 
	background-image: -moz-linear-gradient(top, #404040, #393939); 
	background-image: -ms-linear-gradient(top, #404040, #393939); 
	background-image: -o-linear-gradient(top, #404040, #393939); 
	background-image: linear-gradient(top, #404040, #393939);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#404040', EndColorStr='#393939');
}
#t4p-popup.no_preview #t4p-sc-form-wrap #t4p-sc-form-head {
}
#t4p-sc-form-wrap #t4p-sc-form {
	padding-left: 26px;
	padding-right: 26px;
	height: 490px;
	overflow-y: scroll;
	overflow-x: hidden;
}

/* redesigning thickbox */

.t4p-shortcodes-popup {
	border: 0px !important;
}

.t4p-shortcodes-popup #TB_title {
	background-color: #e7e6e6 !important;
	color: #3d3d3d !important;
	height: 50px !important;
	line-height: 50px !important;
}

.t4p-shortcodes-popup #TB_ajaxWindowTitle {
	background: url(../images/shortcodes-ui-icon.png) no-repeat center left;
	padding: 0 !important;
	margin-left: 25px !important;
	padding-left: 33px !important;
	font-size: 18px !important;
	line-height: inherit !important;	  
}

.t4p-shortcodes-popup #TB_closeWindowButton {
	text-decoration: none;
	color: #3d3d3d !important;
}

.t4p-shortcodes-popup .tb-close-icon {
	background: none !important;
	text-decoration: none;
}

.t4p-shortcodes-popup .tb-close-icon:before { display: none; }
.t4p-shortcodes-popup .tb-close-icon:after {
	font-family: 'FontAwesome';
	content: '\f00d';
	font-size: 14px;
	color: #3d3d3d !important;
	text-decoration: none;
	position: relative;
	top: 10px;
	left: -10px;
}

.t4p-shortcode-selector {
	background: #f8f6f6;
	border-bottom: 1px solid #e3e2e1;
	padding-left: 26px; padding-right: 26px; padding-top: 25px; padding-bottom: 24px;
}

.t4p-shortcode-selector .label {
	width: 310px !important;
	font-size: 15px !important;
	color: #3d3d3d !important;
}

.t4p-shortcode-selector .form-row {
	padding-top: 0 !important; padding-bottom: 0px !important;
}

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

#t4p-sc-form-table {
	width: 100%;
}
#t4p-sc-form-table tbody tr.form-row {
	display: block;
	padding: 16px 0px 20px 0;
	border-bottom: solid 1px #eaeaea;
}
#t4p-sc-form-table tbody:last-child tr.form-row {
	border-bottom: none;
}
#t4p-sc-form-table tbody tr.form-row .label {
	width: 316px;
	text-align: left;
	vertical-align: top;
	line-height: 35px;
	padding-left: 0 !important; padding-right: 20px;
	font-size: 15px !important;
	color: #3d3d3d !important;
}
#t4p-sc-form-table tbody tr.form-row .label .t4p-form-label-title {
	font-size: 15px !important;
	color: #3d3d3d !important;	
}
#t4p-sc-form-table tbody tr.form-row .field {
	width: 443px;
	padding-left: 0px; padding-right: 0px;
}
#t4p-sc-form-table tbody tr.form-row .t4p-insert {
	display: block;
	color: #fff;
	height: 36px;
	width: 136px;
	background: #2991c0;
	font-size: 13px;
	font-weight: bold;
	line-height: 36px;
	text-decoration: none;
	border: 0;
	text-align: center;
}
#t4p-sc-form-table tbody tr.form-row .t4p-insert:hover {
	background: #333333;
}

/* child rows, sortable */
#t4p-sc-form-table .form-row.has-child {
	width: 779px;
	border-bottom: 0;
	padding-bottom: 0;
}
#t4p-sc-form-table .has-child #form-child-add {
	display: block;
	width: 779px;
	padding: 0;
	height: 49px;
	line-height: 49px;
	font-size: 21px;
	text-align: center;
	padding: 0 !important;
	border: 1px solid #dadada;
	text-decoration: none;
	margin-top: 20px;
}
#t4p-sc-form-table .has-child .child-clone-rows {
	display: block;
}
#t4p-sc-form-table .has-child .child-clone-rows .child-clone-row {
	padding: 8px 18px 8px 18px;
	background: #f8f6f6;
	border: solid 1px #d6d6d6;
	margin-bottom: 10px;
	cursor: move;
}
#t4p-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;
}
#t4p-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-form {
	display: block;
}
#t4p-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-form .uploaded-image {
	display: none;
	max-width: 311px;
	margin-right: 10px;
}
#t4p-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-form .child-clone-row-form-row {
	display: block;
	padding: 18px 0;
	border-bottom: solid 1px #ddd;
}
#t4p-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-form .child-clone-row-form-row .child-clone-row-label-desc {
	float: left;
	width: 296px;
	margin-right: 20px;
}
#t4p-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-form .child-clone-row-form-row .child-clone-row-field {
	float: left;
	width: 427px !important;
}
#t4p-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;
	padding-bottom: 7px;
	line-height: 1;
	font-size: 14px;
	color: #3d3d3d;
}
#t4p-sc-form-table .has-child .child-clone-rows .child-clone-row .child-clone-row-remove {
	width: 95px;
}

/* form elements */

/* - all */
#t4p-sc-form-table tbody tr.form-row .t4p-form-text,
#t4p-sc-form-table tbody tr.form-row .t4p-form-textarea,
#t4p-sc-form-table tbody tr.form-row .t4p-form-select {
	width: 443px;
	background: #ffffff;
	border: 1px solid #d9d9d9;
	color: #333333;
	padding: 6px 15px;
	text-indent: 0.01px;
	height: auto;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius:  0;
}

#t4p-sc-form-table tbody tr.form-row .chosen-container-multi .chosen-choices {
	background: #ffffff;
	border: 1px solid #d9d9d9;
	color: #333333 !important;
	font-size: 13px !important;
	padding: 3px 5px;
}

#t4p-sc-form-table tbody tr.form-row.has-child .t4p-form-text,
#t4p-sc-form-table tbody tr.form-row.has-child .t4p-form-textarea,
#t4p-sc-form-table tbody tr.form-row.has-child .t4p-form-select {
	background: #fff;
	width: 427px;
}

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

/* - select */
#t4p-sc-form-table tbody tr.form-row .t4p-form-select {
	display: block;
	height: 34px !important;
	line-height: normal !important;
	padding-top: 8px !important; padding-bottom: 7px !important;
}
#t4p-sc-form-table tbody tr.form-row.has-child .t4p-form-select {
	width: 427px;
	height: auto;
}

#t4p-sc-form-table tbody tr.form-row .t4p-form-select-field {
	position: relative;
}

#t4p-sc-form-table tbody tr.form-row .t4p-shortcodes-arrow {
	background: #fff;
	width: 35px;
	height: 32px;
	border-left: 1px solid #d9d9d9;
	position: absolute; top: 1px; right: 1px;
	pointer-events: none;
	z-index: 10;
	font-family: 'FontAwesome';
	text-align: center;
	line-height: 32px;
}
#t4p-sc-form-table tbody tr.form-row .t4p-form-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	-o-appearance: none;
	background: #ffffff;
	border: 1px solid #d9d9d9;
	box-sizing: border-box;
	-webkit-box-sizing: none;
	-moz-box-sizing: none;
	-o-box-sizing: none;
	color: #333333;
	cursor: pointer;
	display: block;
	font-size: 13px;
	outline: none;
	height: auto;
	overflow: ellipsis;
	padding: 6px 15px;
	position: relative;
	text-indent: 0.01px;
	text-overflow: '';
	-webkit-text-overflow: none;
	-moz-text-overflow: none;
	-o-text-overflow: none;
	vertical-align: middle;
	z-index: 5;
	margin: 0;
}

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

/* - uploader */
#t4p-sc-form-table tbody tr.form-row .t4p-upload-container {
	position: relative;
	min-height: 36px;
}

#t4p-sc-form-table tbody tr.form-row .t4p-upload-button {
	display: inline-block;
	height: 34px;
	line-height: 34px;
	margin: 0;
	font-size: 13px;
	color: #333333;
	background: #fff;
	border: 1px solid #c7c5c5;
	width: 95px;
	text-align: center;
	text-decoration: none;
	position: absolute;
	bottom: 0; right: 0;
}
#t4p-sc-form-table tbody tr.form-row .t4p-upload-button:hover {
	background: #fbf9f9;
}
#t4p-sc-form-table tbody tr.form-row .uploaded-image {
	display: none;
	max-width: 311px;
	margin-right: 10px;
}

/* - color picker */
#t4p-sc-form-table tbody tr.form-row .wp-color-result {
	float: left;
	height: 34px;
	border-radius: 0;
	border: 1px solid #d6d6d6;
	padding-left: 234px;
	margin: 0;
}

#t4p-sc-form-table tbody tr.form-row .wp-color-result:after {
	height: 34px;
	line-height: 34px;
	background: none;
	background: #fff;
	width: 106px;
	padding: 0;
	text-align: center;
	color: #333333;
	font-size: 13px;
}

#t4p-sc-form-table tbody tr.form-row .wp-picker-input-wrap {
	float: left;
}

#t4p-sc-form-table tbody tr.form-row .wp-color-picker-field {
	width: 90px !important;
	margin: 0 0 0 7px;
	height: 36px;
	padding-top: 7px;
	padding-bottom: 7px;
	display: block !important;
}

#t4p-sc-form-table tbody tr.form-row .child-clone-row .wp-color-picker-field {
	width: 75px !important;
}

#t4p-sc-form-table tbody tr.form-row .wp-picker-clear {
	display: none;
}

#t4p-sc-form-table tbody tr.form-row  .wp-picker-holder {
	clear: both;
	margin: 0;
	padding-top: 10px;
}

/* - icon picker */
#t4p-sc-form-table .iconpicker {
	background: #fff;
	height: 250px;
	overflow-y: scroll;
	border: 1px solid #AAA;
	cursor: pointer;
}
#t4p-sc-form-table tbody tr.form-row [class^="fa fa-"],
#t4p-sc-form-table tbody tr.form-row [class*=" fa fa-"] {
	background: #fff;
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	text-decoration: inherit;
	-webkit-font-smoothing: antialiased;
	font-size: 14px;
	line-height: 32px;
	text-align: center;
	cursor: pointer;
	width: 32px;
	height: 32px;
	display: inline-block;
	color: #494949;
	border: 1px solid #e1e1e1;
	margin-left: -1px;
	margin-top: -1px;
	transition: 		all 0.1s ease-out;
	-moz-transition: 	all 0.1s ease-out; /* Firefox 4 */
	-webkit-transition: all 0.1s ease-out; /* Safari and Chrome */
	-o-transition: 		all 0.1s ease-out; /* Opera */
}

#t4p-sc-form-table tbody tr.form-row [class^="fa fa-"]:hover,
#t4p-sc-form-table tbody tr.form-row [class*=" fa fa-"]:hover {
	background-color: #eeeded;
	-webkit-transform:scale(1.3);
	-o-transform:scale(1.3);
	-moz-transform:scale(1.3);
	transform:scale(1.3);
}

#t4p-sc-form-table tbody tr.form-row [class^="fa fa-"].active,
#t4p-sc-form-table tbody tr.form-row [class*=" fa fa-"].active {
	background-color: #eeeded;
}

/* - sizes */

#t4p-sc-form-table tbody tr.form-row .t4p-form-group {
	width: 203px;
	float: left;
	margin-right: 20px;
}

#t4p-sc-form-table tbody tr.form-row .t4p-form-group.last {
	margin-right: 0;
}

#t4p-sc-form-table tbody tr.form-row .t4p-form-group label {
	display: block;
	width: 100%;
	font-size: 14px;
	font-style: italic;
	color: #939292;
}

#t4p-sc-form-table tbody tr.form-row .t4p-form-group input {
	width: 100% !important;
}

/* - desc */
#t4p-sc-form-table tbody tr.form-row .label .t4p-form-desc,
#t4p-sc-form-table tbody tr.form-row .child-clone-row-desc {
	display: block;
	font-size: 14px;
	color: #939292;
	font-style: italic;
	line-height: 21px;
}

#t4p-sc-form-table tbody tr.form-row .label .t4p-form-desc {
	line-height: 21px;
	margin-top: -5px;
}

/* - chosen fixes */
#t4p-popup .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
	line-height: normal !important;
}

#t4p-popup .chosen-container-multi .chosen-choices li.search-choice,
#t4p-popup .chosen-container-multi .chosen-choices li.search-choice * {
	line-height: 13px !important;
}

#t4p-popup .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
	height: auto !important;
}

/* button */

#t4p-sc-form-table .t4p-shortcodes-button {
	display: inline-block;
	height: 34px;
	line-height: 34px;
	margin: 0;
	font-size: 13px;
	color: #333333;
	background: #fff;
	border: 1px solid #c7c5c5;
	text-align: center;
	text-decoration: none;
}
#t4p-sc-form-table .t4p-shortcodes-button:hover {
	background: #fbf9f9;	
}
#t4p-sc-form-table .child-clone-row-desc .t4p-shortcodes-button {
	width: 175px;
	margin-top: 10px;
	display: block;
}

#t4p-sc-form-table .t4p-gallery-button {
	padding-left: 10px; padding-right: 10px;
}

/* Changing shortcodes layout design */

#content_t4p_button { outline: none; }

#menu_content_content_t4p_button_menu {
	left: 50% !important;
	margin-left: -303px !important;
	min-height: 450px;
	height: auto !important;
}

#menu_content_content_t4p_button_menu {
	z-index:1 !important;
	width:471px !important;
}

#menu_content_content_t4p_button_menu tbody {
	width: 471px;
	display: block;
}

#menu_content_content_t4p_button_menu_co,
#menu_content_content_t4p_button_menu_tbl {
	width:471px !important;
}

#menu_content_content_t4p_button_menu .mceMenuItem {
	width: 157px;
	float: left;
	display: block;
}

#menu_content_content_t4p_button_menu .mceMenuItem a {
	width:157px;
	height:30px;
	line-height:30px;
	padding:0;
	display:inline-block;
	float:left;
}

#menu_content_content_t4p_button_menu .mceMenuItemDisabled {
	width:100%;
	display:block;
	float:none;
}

#menu_content_content_t4p_button_menu .mceMenuItemDisabled a{
	width:471px;
}

#menu_content_content_t4p_button_menu .mceMenuItemDisabled .mceText{
	padding:0;
	padding-left:10px;
}

#menu_content_content_t4p_button_menu .mceText{
	padding-left:48px;
}

#menu_content_content_t4p_button_menu .mceIcon{
	background-image:none;
	background-position:center center;
  background-repeat:no-repeat;
	width:50px;
	height:30px;
}

.mce_t4p_youtube{
	background-image:url(../images/youtube.png) !important;
}

.mce_t4p_vimeo{
	background-image:url(../images/vimeo.png) !important;
}

.mce_t4p_soundcloud{
	background-image:url(../images/soundcloud.png) !important;
}

.mce_tt4p_button{
	background-image:url(../images/button.png) !important;
}

.mce_t4p_dropcap{
	background-image:url(../images/dropcap.png) !important;
}

.mce_t4p_highlight{
	background-image:url(../images/highlight.png) !important;
}

.mce_t4p_checklist{
	background-image:url(../images/checklist.png) !important;
}

.mce_t4p_tabs{
	background-image:url(../images/tabs.png) !important;
}

.mce_t4p_toggle{
	background-image:url(../images/toggles.png) !important;
}

.mce_t4p_half{
	background-image:url(../images/half.png) !important;
}

.mce_t4p_third{
	background-image:url(../images/one_third.png) !important;
}

.mce_t4p_two_third{
	background-image:url(../images/two_third.png) !important;
}

.mce_t4p_fourth{
	background-image:url(../images/one_fourth.png) !important;
}

.mce_t4p_three_fourth{
	background-image:url(../images/three_fourth.png) !important;
}

.mce_t4p_slider{
	background-image:url(../images/slider.png) !important;
}

.mce_t4p_testimonial{
	background-image:url(../images/testimonials.png) !important;
}

.mce_t4p_social_links{
	background-image:url(../images/social_links.png) !important;
}

.mce_t4p_client_slider{
	background-image:url(../images/clients_slider.png) !important;
}

.mce_t4p_title{
	background-image:url(../images/title.png) !important;
}

.mce_t4p_separator{
	background-image:url(../images/spacer.png) !important;
}

.mce_t4p_lightbox{
	background-image:url(../images/lightbox.png) !important;
}

.mce_t4p_menuanchor{
	background-image:url(../images/menuanchor.png) !important;
}

.mce_t4p_progress_bar{
	background-image:url(../images/progress_bar.png) !important;
}

.mce_t4p_person{
	background-image:url(../images/person.png) !important;
}

.mce_t4p_alert{
	background-image:url(../images/alert.png) !important;
}

.mce_t4p_pricing_table{
	background-image:url(../images/pricing.png) !important;
}

.mce_t4p_recent_works{
	background-image:url(../images/recent_works.png) !important;
}

.mce_t4p_tagline{
	background-image:url(../images/tagline.png) !important;
}

.mce_t4p_content_boxes{
	background-image:url(../images/content_boxes.png) !important;
}

.mce_t4p_recent_posts{
	background-image:url(../images/recent_news.png) !important;
}

.mce_t4p_fontawesome{
	background-image:url(../images/fontawesome.png) !important;
}

.mce_t4p_tooltip{
	background-image:url(../images/tooltip.png) !important;
}

.mce_t4p_full{
	background-image:url(../images/fullwidth.png) !important;
}

.mce_t4p_map{
	background-image:url(../images/googlemap.png) !important;
}

.mce_t4p_counters_circle{
	background-image:url(../images/countercircle.png) !important;
}

.mce_t4p_counters_box{
	background-image:url(../images/counterbox.png) !important;
}

.mce_t4p_flexslider{
	background-image:url(../images/flexslider.png) !important;
}

.mce_t4p_blog{
	background-image:url(../images/blog.png) !important;
}

.mce_t4p_img_frames{
	background-image:url(../images/imageframes.png) !important;
}

.mce_t4p_img_carousel{
	background-image:url(../images/imagecarousel.png) !important;
}

.mce_t4p_sharing_box{
	background-image:url(../images/socialshare.png) !important;
}

.mce_t4p_table{
	background-image:url(../images/table.png) !important;
}

.mce_t4p_woo{
	background-image:url(../images/woo_icon.png) !important;
}

/* IE8, IE9 */
#t4p-sc-form-table tbody tr.form-row .t4p-shortcodes-arrow {display: none\0/;} /* must go at the END of all rules */