.lcwp_opt_block {
	margin: 0 0 35px;	
}
.lcwp_opt_table td {
	padding: 10px 0;	
}
.lcwp_opt_table td label {
	padding-left: 7px !important;	
}
.lcwp_form h2 {
	padding-bottom: 5px;
	border-bottom: 1px solid #DFDFDF;	
}
.lcwp_form h3 {
	border-bottom: 1px solid #DFDFDF;	
	padding: 10px 0;
	margin: 20px 0 0;
	font-size: 14px;
}
.lcwp_form ul {
	margin: 0;	
}
.lcwp_form li {
	padding: 15px 1.4em;	
	border-bottom: 1px solid #DFDFDF;
    border-top: 1px solid #FFFFFF;
	margin: 0;
}
.lcwp_form label {
	display: inline-block;
	width: 270px;
	padding-right: 20px;
}
.lcwp_form label.longlabel {
	display: block;
}
.lcwp_form .fieldlegend {
	color: #666;
	font-style: italic;
	font-family: sans-serif;
    font-size: 12px;
	padding-left: 10px;	
}
.lcwp_form .jui_slider {
	display: inline-block;
	width: 260px;	
}
.lcwp_form .jui_slider .lcwp_slider {
	width: 150px;		
	float: left;
	margin-top: 8px;
	margin-right: 15px;
}
.lcwp_form .jui_slider input {
	width: 50px;
	padding: 3px;
	text-align: center;
	margin-right: 5px;
}

.lcwp_form #user_form table td {
	padding: 0 20px;	
	width: 340px;
	vertical-align: top;
}

.lcwp_form #lcwp_bar_text_ifr {
	background-color: #fff;
}

.lcwp_form input.button-primary {
	font-size: 12px !important;	
}

.lcwp_form .elements {
	margin-left: 1.4em !important;
	margin-right: 1.4em !important; 	
}
.lcwp_req_field {
	color: #F30;	
}
.lcwp_field_legend {
	padding-left: 20px;
	color: #666;
	font-family: sans-serif;
    font-size: 12px;
    font-style: italic;	
}

.lcwp_infobox {
	border-radius: 4px 4px 4px 4px;
	margin: 10px 1.4em 0;
	padding: 15px 10px;
	border: 1px solid #AACEE6;
	background-color: #F0F5FB;
}
.lcwp_infobox strong {
	display: inline-block;
	min-width: 80px;
	padding-right: 10px;	
	line-height: 20px;
}
.lcwp_clear {
	display: block;
	clear:both;	
}

#lcwp_ulist_filter {
	width: 200px;	
}
#lcwp_ulist_action {
	width: 130px;
}
.v_divider {
	padding: 0 5px;	
}
.lcwp_trigger {
	cursor: pointer;	
}
.del_lcwp_user {
	color: #21759B;	
}
.del_lcwp_user:hover {
	color: #d54e21;	
}
.lcwp_form optgroup {
	padding-top: 2px;	
}
.lcwp_form optgroup option {
	padding-left: 7px !important;	
}

.lcwp_table .content_row td {
	padding-top: 7px;
	padding-bottom: 7px;
}
.lcwp_table xmp {
	display: inline;
	margin: 0;	
}

#lcwp_cats_wrap input {
	margin-bottom: -2px;	
}


.lcwp_loading {
	background: url(../img/loader.gif) no-repeat center center transparent;
}
.lcwp_page_title {
	margin: auto;
	vertical-align: middle;
	background: url(../img/lcweb_logo.png) no-repeat bottom right transparent;	
}


/* FORM STYLES */ 
.lcwp_table {
	margin-bottom: 35px;	
}
.lcwp_table td {
	padding-top: 10px;
	padding-bottom: 10px;
	vertical-align: middle;
	overflow: visible;
	
	background: #fdfdfd;
    border-bottom: 1px solid #fff;
	border-top: 1px solid #E9E9E9;
    color: #444444;
}
.lcwp_table .lcwp_label_td {
	width: 27%;	
}
.lcwp_table .lcwp_field_td {
	width: 250px;	
}
.lcwp_table .lcwp_field_td > input,
.lcwp_table .lcwp_field_td > textarea,
.lcwp_table .lcwp_field_td > select {
	width: 90%;
}
.lcwp_table .lcwp_field_td > select {
	width: 221px;
}
.lcwp_table .info {
	font-family: sans-serif;
    font-size: 12px;
    font-style: italic;
	color: #999;	
	vertical-align: middle;
}

.lcwp_form .lcwp_slider {
    width: 57%;
	display: inline-block;	
	padding: 0;
}
.lcwp_form input.lcwp_slider_input {
	width: 50px;	
	margin-left: 3px;
	margin-top: 6px;
	text-align: center;
}


/* SIDEBOX STYLES */
.lcwp_sidebox_meta > div {
	padding: 13px 0;	
}
.lcwp_sidebox_meta label {
	display: block;
	padding-bottom: 2px;	
}
.lcwp_sidebox_meta input[type=text],
.lcwp_sidebox_meta select {
	width: 254px;
}
.lcwp_sidebox_meta .chosen-search {display: none;}
.lcwp_sidebox_meta .chosen-container {margin-top: 2px;}

.lcwp_sidebox_meta input[type=radio],
.lcwp_sidebox_meta input[type=checkbox] {
	vertical-align: text-bottom;
	margin: 1px; 
}


/* MAINBOX STYLES */
.lcwp_mainbox_meta h4 {
	margin-bottom: 0;	
}
.lcwp_metabox_table {
	border: none !important;
	margin-bottom: 7px;	
}
.lcwp_metabox_table td {
	border: none;
}
.lcwp_metabox_table tr:hover td {
	background: #fdfdfd !important;
}

.lcwp_mainbox_meta .chosen-container {
	position: relative;
	bottom: -3px;	
}
.lcwp_mainbox_meta .chosen-container-multi .search-field {
	border: none;
}
.lcwp_mainbox_meta .chosen-container-multi .search-field input {
	height: 25px !important;
	adding: 3px;	
}

/* fix for chosen dropdowns */
.lcwp_table td {
	overflow: visible !important;	
}

.lcwp_form .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
	min-height: 23px;	
}

/************************** */

.icon32-posts-mg_items {
	background: url(../img/mg_icon.png) no-repeat top left transparent !important;	
}
#rules_table td {
	vertical-align: middle;	
}
#rules_table input,
#rules_table select {
	margin-left: 5px;
	width: 90%; 	
}
.lcwp_size_choose input,
.lcwp_line_height input {
	width: 40% !important;
}
.lcwp_size_choose select,
.lcwp_line_height select {
	width: 43% !important;
	margin-left: -5px !important;
}
.lcwp_del_row {
	display: block;
	margin: auto;
	height: 15px;
	width: 15px;
	background: url(../img/del_icons_small.png) no-repeat bottom left transparent;
	cursor: pointer;	
}
.lcwp_del_row:hover {
	background: url(../img/del_icons_small.png) no-repeat top left transparent;	
}
.lcwp_move_row {
	display: block;
	margin: auto;
	height: 15px;
	width: 15px;
	background: url(../img/move_icons.png) no-repeat bottom left transparent;
	cursor: move;		
}
.lcwp_move_row:hover {
	background: url(../img/move_icons.png) no-repeat top left transparent;	
}
.lcwp_color_field {
	min-width: 	15px !important;
	width: 67px !important;
}
.lcwp_shadow label {
	display: inline-block;
	width: auto !important;
	padding: 0px !important;	
}
.lcwp_shadow input {
	width: 25px !important;
	margin: 0px !important;	
}
.lcwp_shadow  .lcwp_color_field {
	min-width: 	15px !important;
	width: 116px !important;
	margin-top: 7px !important;	
}


/* TINYMCE TABLE */
#lcwp_tinymce_table {
	border-collapse: collapse;
}
#lcwp_tinymce_table td {
	padding-top: 12px;
	padding-bottom: 12px;
	background: none !important;
}
#lcwp_tinymce_table .tbl_last td {
	border-bottom: none !important;
}
#lcwp_tinymce_table .tbl_last {
	border-bottom: none !important;	
}
#lcwp_tinymce_table textarea {
	width: 340px;	
}
#mg_editor_btn {
	background-color: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 3px;
    bottom: -3px;
    box-shadow: 0 1px 0 #fff inset, 0 1px 0 rgba(0, 0, 0, 0.08);
    cursor: pointer;
    padding: 4px 0 5px 3px;
    position: relative;
	margin-right: 8px;	
}
#mg_editor_btn:hover {
	background-color: #fafafa;
	border-color: #999;	
}


/* colpick - colorpicker */
.lcwp_colpick {
	display: inline-block;
	position: relative;
	margin: 0;
	padding: 0;
}
.lcwp_colpick .lcwp_colblock {
    height: 98%;
    position: absolute;
    right: 0;
    top: 0;
    width: 29px;
	border: 1px solid #DDDDDD;
	
	-moz-box-sizing: border-box;
	box-sizing: border-box;	
}
.lcwp_colpick input {
	padding-right: 28px; 	
	margin-top: 0;
	margin-bottom: 0;
	margin-right: 0;
	width: 110px;
	min-width: 110px;
	max-width: 110px;
}
.colpick {
	z-index: 9999999;	
}


/* ****** */

#mg_item_preview_link {
	padding: 10px;
	display: block;
	text-decoration: none;	
}

.mg_del_grid {
	display: inline-block;
	float: right;
	width: 15px;	
	height: 15px;
	cursor: pointer;
	background: url(../img/del_icons_small.png) no-repeat bottom left transparent;
}
.mg_del_grid:hover {
	background: url(../img/del_icons_small.png) no-repeat top left transparent;
}
#man_grid_box .misc-pub-section-last {
	padding: 8px 0;
	border-bottom: 1px solid #DFDFDF;	
}
#man_grid_box .misc-pub-section-last:last-child {
	border: none;	
}

.mg_grid_content > h2 {
	margin: 0 !important;
	border: none !important;
}
.mg_user_opt_table td {
	border: none !important;
}

.lcwp_mainbox_meta h4 span {
	font-weight: normal;
	color: #21759B;
	cursor: pointer;
	position: relative;
	top: 0px !important;
	margin-left: 10px;
	background-color: #eaeaea !important;
}


/* THUMB CENTER */
.mg_sel_thumb {
	display: block;
	margin: auto;
	height: 15px;
	width: 15px;
	background: url(../img/thumb_icons.png) no-repeat bottom left transparent;
	cursor: pointer;		
}
.mg_sel_thumb:hover {
	background: url(../img/thumb_icons.png) no-repeat top left transparent;	
}
.mg_sel_thumb_center {
	width: 256px;
	height: 196px;	
	background: url(../img/demo_picture.jpg) no-repeat bottom left transparent;	
}
.mg_sel_thumb_center,
.mg_sel_thumb_center tr,
.mg_sel_thumb_center td {
	border: 1px solid #333 !important;	
	border-collapse: collapse !important;
}
.mg_sel_thumb_center td {
	background-color: #fff;
	opacity: 0.7;	
	cursor: pointer;
}
.mg_sel_thumb_center td:hover {
	opacity: 0.4;
}
.mg_sel_thumb_center td.thumb_center {
	opacity: 0;
}


/* SLIDER IMG & AUDIO TRACK PICKER */
#gallery_img_wrap li,
#gallery_img_picker li,
#audio_tracks_wrap li,
#audio_tracks_picker li {
	float: left;
	position: relative;
	padding: 2px;
	background-color: #fff;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
	margin: 5px;
	height: 90px;
	width: 90px;
}
#gallery_img_wrap li span {
	display: inline-block;
	width: 23px;
	height: 23px;
	background: url(../img/del_img.png) no-repeat top left transparent;
	cursor: pointer;
	position: relative;
	top: -105px;
	right: -10px;	
	float: right;
	cursor: pointer;
}
#gallery_img_wrap li img {
	height: 90px;
	width: 90px;	
}
#audio_tracks_wrap li span {
	display: inline-block;
	width: 23px;
	height: 23px;
	background: url(../img/del_img.png) no-repeat top left transparent;
	cursor: pointer;
	position: absolute;
    right: -11px;
    top: -11px;
	cursor: pointer;
}
#audio_tracks_wrap li img,
#audio_tracks_picker li img {
	display: block;
	margin: 7px auto 10px;	
}
#audio_tracks_wrap li p,
#audio_tracks_picker li p {
	padding: 0px 5px;
	font-size: 11px;
	text-align: center;
	line-height: 12px;
}

#audio_tracks_wrap li img,
#gallery_img_wrap li img {
	cursor: move;	
}
#mg_img_search_wrap,
#mg_audio_search_wrap {
	float: right;
	position: relative;
	bottom: -10px;	
}
#mg_img_search_wrap .mg_search_field, 
#mg_audio_search_wrap .mg_search_field {
	float: right;
    font-weight: normal;
    padding-bottom: 4px;
    padding-right: 30px;
    padding-top: 3px;
	height: 29px;
	margin-right: 20px;	
}
#mg_img_search_wrap .mg_search_btn, 
#mg_audio_search_wrap .mg_search_btn {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url(../img/src_icon.png) no-repeat center center #fff !important;
	opacity: 0.5;	
	margin-top: 0px;
	position: absolute;
    right: 25px;
    top: 5px;
	cursor: pointer;
}
#mg_img_search_wrap .mg_search_btn:hover, 
#mg_audio_search_wrap .mg_search_btn:hover {
	opacity: 1;	
}
.mg_audio_icon {
	height: 47px;	
	width: 100%
}
.mg_audio_icon:before {
	font-size: 43px;
	position: relative;
	top: 3px;
	opacity: 0.5;
	filter: alpha(opacity=50);	
}


/* GRID BUILDER STYLES */
#mg_next_grids, #mg_prev_grids {
	float: right;
	font-weight: bold;
	font-size: 14px;
	cursor: pointer !important;
}
#save_grid_box {
	box-shadow: none;	
}
#mg_next_grids {
	margin-left: 10px;	
}
.mg_dd_items_preview {
	float: left;
	margin-right: 10px;	
}
.mg_dd_items_preview img {
	position: relative;
	top: 3px;
	border-radius: 2px;	
}
#mg_bulk_w_wrap > div, 
#mg_bulk_h_wrap > div {
	width: 140px;
	position: relative;
}
#mg_bulk_w, #mg_bulk_mw,
#mg_bulk_h, #mg_bulk_mh {
	width: 80px;
}
#mg_bulk_w_chosen, #mg_bulk_mw_chosen,
#mg_bulk_h_chosen, #mg_bulk_mh_chosen {
	min-width: 10px !important;		
}
#mg_bulk_w_btn, 
#mg_bulk_h_btn {
	position: absolute;
	bottom: -4px;
	right: 0;	
}
#mg_bulk_mw_chosen,
#mg_bulk_mh_chosen {
	display: none;	
}

#mg_mobile_view_toggle {
	background: #f0f0f0;
    border-radius: 2px;
    float: right;
    font-size: 12px;
    margin-top: -3px;
    padding: 4px 7px 5px;
    text-decoration: none;
}
#mg_mobile_view_toggle.mg_active {
	background: #5A9B2F;
	color: #fff !important;
}
#mg_sortable {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}
#mg_sortable > li {
	position: relative;
	padding: 0px;
	margin: 0px;
	float: left;
	font-size: 9px;
	font-family: arial;
	text-align: center;
	background-color: #e9e9e9;
	border: none !important;
	border-width: thin !important;
	overflow: hidden;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
#mg_sortable > li:hover {
	background-color: #E0E0E0;
}

#mg_sortable li div {
	border: 1px solid #ccc !important;
	width: 100%;
	height: 100%;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.mg_placeholder {
	position: relative;
	padding: 0px;
	margin: 0px;
	float: left;
	font-size: 9px;
	font-family: arial;
	text-align: center; 
}
#mg_sortable li .edit_item {
	float: right;
	display: inline-block;
	margin-top: 5px;
	margin-right: 12px;
	height: 15px;
	width: 15px;
	background: url(../img/edit_icon.png) no-repeat bottom left transparent;
	border: none !important;
}
#mg_sortable li .del_item {
	float: right;
	margin-top: 5px;
	margin-right: 5px;
	height: 15px;
	width: 15px;
	background: url(../img/del_icons_small.png) no-repeat bottom left transparent;
	border: none !important;
	cursor: pointer;	
}
#mg_sortable li h3 {
	font-size: 13px;	
	
	background: rgb(238,238,238); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(238,238,238,1) 0%, rgba(233,233,233,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,238,238,1)), color-stop(100%,rgba(233,233,233,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(233,233,233,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(233,233,233,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(233,233,233,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(238,238,238,1) 0%,rgba(233,233,233,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#e9e9e9',GradientType=0 ); /* IE6-9 */
}
#mg_sortable li p {
	font-size: 11px;	
}
#mg_sortable li h3 img {
	-moz-transition: all .4s ease-in-out; 
	-webkit-transition: all .4s ease-in-out; 
	-o-transition: all .4s ease-in-out; 
	-ms-transition: all .4s ease-in-out; 
	transition: all .4s ease-in-out;
	
	float: left;
	margin-left: -6px;
	margin-top: -3px;
	opacity: 0.5;	
}
#mg_sortable li:hover h3 img {
	opacity: 1;	
}
.mg_items_sizes_dd {
	font-size: 13px;
    height: 27px !important;
    padding: 4px 0 4px 2px !important;
    width: 54px;	
}
#visual_builder_wrap.mg_mobile_builder {
	max-width: 800px;
	margin: auto;	
}
#visual_builder_wrap .mg_builder_mobile_sizes {
	display: none;
	margin-top: 0;
}
#visual_builder_wrap.mg_mobile_builder .mg_builder_mobile_sizes {
	display: inline-block;
}
#visual_builder_wrap.mg_mobile_builder .mg_builder_standard_sizes {
	display: none;
}


#mg_src_grid_wrap {
	border-bottom: 1px solid #dedede;
    padding: 10px 8px;
	background: linear-gradient(to top, #ECECEC, #F9F9F9) repeat scroll 0 0 #F1F1F1;
}
#mg_src_grid {
	width: 85%;	
}
#mg_src_grid_btn {
	float: right;
	width: 20px;
	height: 20px;
	cursor: pointer;
	background: url('../img/src_icon.png') no-repeat top left transparent;
	opacity: 0.7;
	filfer: alpha(opacity=70);
	margin-right: 2px;
	
	-moz-transition: all .2s ease-in-out; 
	-webkit-transition: all .2s ease-in-out; 
	-o-transition: all .2s ease-in-out; 
	-ms-transition: all .2s ease-in-out; 
	transition: all .2s ease-in-out;
}
#mg_src_grid_btn:hover {
	opacity: 1;
	filfer: alpha(opacity=10);		
}


/* TYPE OPTIONS - ICON WIZARD */
.mg_items_page_mg_settings #opt_builder .add_option {
	background: #e3e3e3;
	border-radius: 3px;
	cursor: pointer;	
}
.mg_type_opt_icon_trigger i {
	background: #fff;
    border: 1px solid #dfdfdf;
    color: #666;
    cursor: pointer;
    display: block;
    font-size: 16px;
    height: 24px;
    margin: auto;
    text-align: center;
    width: 24px;
}
.mg_type_opt_icon_trigger i:before {
	position: relative;
    top: 5px;	
}
.mg_lb_icons_wizard > * {
	cursor: pointer;	
}
.mg_lb_icons_wizard i {
    display: inline-block;
    font-size: 18px;
    padding: 8px;
    text-align: center;
    width: 20px;	
}
.mg_lb_icons_wizard i,
.mg_lb_icons_wizard i:before {
	color: #747474 !important;
}
.mg_lb_icons_wizard i:hover,
.mg_lb_icons_wizard i:hover:before {
	background-color: #e9e9e9 !important;	
	color: #393939 !important;
}
.mg_item_builder_opt_icon {
	color: #666;
    font-size: 15px;
    width: 22px;	
}


/* PATTERN CHOOSE */
.mg_setting_pattern{
	float: left; 
	margin: 0 15px 15px 0;
	width: 40px;
	height: 40px;
	border: 2px solid #ccc;
	text-align: center; 
	cursor: pointer;
	border-radius: 4px;
	font-size: 11px;
}
.mg_pattern_sel {
	border-color: #7FC241;	
}


/* WPML OPT SYNC */
#mg_wpml_opt_sync_wrap {
	background-color: #FFFFE0;
	border: 1px solid #E6DB55;
	padding: 8px;
    width: 384px;	
}
#mg_wpml_opt_sync_wrap span {
	padding-left: 15px;
}


#TB_window {
	z-index: 9999999 !important;	
}

/* WP 4 - remove "view details" link in plugins page */
body.plugins-php #media-grid .plugin-version-author-uri a:last-child {
	display: none !important;	
}