.mfBuilder {
	overflow: hidden;
}

.mfBuilder #main_context {
	display: none;
}

.mfBuilder #main_content {
	margin: 0 !important;
}

.mfBuilder #main_content p {
	margin: 0;
}


.mfBuilder #main_container {
	top: 46px;
	margin: 0 !important;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

.mfBuilder #footer {
	display: none;
}


.mfBuilder .popover.colorpicker-bs-popover .popover-body {
	background-color: inherit;
	padding: 1px 5px;
}


.toggle .toggle-handle {
	border: none !important;
	background: #367c36;
}

.toggle.off .toggle-handle {
	border: none !important;
	background: #CDCDCD;
}

.mfBuilder .colorpicker-element .input-group-addon {
	padding: 0;
	border: 1px solid #D5D5D5;
	line-height: 1;
}

.mfBuilder .colorpicker-element .input-group-addon i {
	width: 30px;
	height: 30px;
}

.mfBuilder .input-group-sm .input-group-addon i {
	width: 24px;
	height: 28px;
}


.colorpicker-input-addon::before {
	background: none !important;
	width: 32px !important;
	height: 32px !important;
}

.mfBuilder .nocolor {
	display: block;
	padding: 0;
	border: 1px solid #D5D5D5;
	line-height: 1;

	width: 32px;
	height: 32px;
	background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxOHB4IiBoZWlnaHQ9IjE4cHgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWxuczpza2V0Y2g9Imh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaC9ucyI+DQogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCAzLjIuMiAoOTk4MykgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+DQogICAgPHRpdGxlPkdyb3VwPC90aXRsZT4NCiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4NCiAgICA8ZGVmcz48L2RlZnM+DQogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+DQogICAgICAgIDxnIGlkPSJHcm91cCIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCI+DQogICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTUiIGZpbGw9IiNGRkZGRkYiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiIHg9IjAiIHk9IjAiIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PC9yZWN0Pg0KICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS00IiBmaWxsPSIjRDZEOURDIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIiB4PSIwIiB5PSIwIiB3aWR0aD0iOSIgaGVpZ2h0PSI5Ij48L3JlY3Q+DQogICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTQiIGZpbGw9IiNENkQ5REMiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiIHg9IjkiIHk9IjkiIHdpZHRoPSI5IiBoZWlnaHQ9IjkiPjwvcmVjdD4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg==");
	background-size: auto !important;
}

.mf-email-builder {
	margin: 0;
	padding: 0;
	height: 100%;
	position: fixed;
	top: 46px;
	left: 0;
	right: 0;
	bottom: 0;
}

.mf-email-builder input {
	padding: .25rem .5rem;
	font-size: .875rem;
}

.mf-email-builder [type="checkbox"] {
	padding: .5rem .5rem;
	font-size: .875rem;
}

.mf-preview-controls {
	margin: 0 auto;
	width: 160px;
	height: 50px;
	background: none !important;
	text-align: center;
}

.mf-preview-controls a {
	color: #EFEFEF;
	font-size: 30px;
	display: inline-block;
}

.mf-preview-controls p {
	float: left;
	margin: 0 5px;
	min-width: 34px;
	text-align: center;
}

.mfBuilder #main_content #desktop {
	float: left;
	font-size: 26px;
	margin: 8px 5px;
}

.mfBuilder #main_content #mobile {
	float: left;
	font-size: 30px;
	margin: 05px;
}

.mfBuilder #main_content #tablet {
	float: left;
	font-size: 30px;
	margin: 05px;
}

/*
.content-wrapper table.one-col:hover, 
.content-wrapper table.two-col:hover, 
.content-wrapper table.three-col:hover {
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.5);
} 
*/


.mf-header .logo a {
	background: url("http://clienti.mailforcelab.it/libs/resources/css/../../../agency/console.png") no-repeat scroll center center transparent;
	display: block;
	margin-left: 5px;
	height: 50px;
	width: 190px;
}

.content-toolbar {
	padding: 2px;
	position: absolute;
	top: -5px;
	left: -5px;
	z-index: 1200;
}

.content-toolbar .wrapper {
	border-collapse: collapse;
	box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 0px 0px inset, rgba(0, 0, 0, 0.0470588) 0px 1px 2px 0px;
	color: rgb(181, 185, 191);
	display: inline-block;
	height: 28px;
	text-align: left;
	text-decoration: none solid rgb(181, 185, 191);
	text-shadow: rgba(0, 0, 0, 0.74902) 0px 1px 1px;
	vertical-align: top;
	white-space: nowrap;
	width: 36px;
	min-width: 36px;
	perspective-origin: 19px 13px;
	transform-origin: 19px 13px;
	background: rgb(76, 87, 97) linear-gradient(rgb(81, 92, 103), rgb(69, 79, 89)) repeat-x scroll 0% 0% / auto padding-box border-box;
	border: 1px solid rgb(32, 42, 51);
	border-radius: 3px 3px 3px 3px;
	font: normal normal normal 14px/normal 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/*#DIV_2*/

.content-toolbar button {
	border-collapse: collapse;
	color: rgb(181, 185, 191);
	cursor: pointer;
	height: 24px;
	text-decoration: none solid rgb(181, 185, 191);
	vertical-align: top;
	white-space: nowrap;
	width: 36px;
	perspective-origin: 18px 12px;
	transform-origin: 18px 12px;
	background: rgba(0, 0, 0, 0) none repeat scroll 0% 0% / auto padding-box border-box;
	border: 0px none rgb(181, 185, 191);
	font: normal normal normal 14px/20px 'Helvetica Neue', Helvetica, Arial, sans-serif;
	margin: 0px;
	padding: 4px 10px;
}

/*#BUTTON_3*/

#elemhandle {
	border: 1px solid #CDCDCD;
	user-select: none;
	-moz-user-select: none;
}

.wrapper .contents {
	cursor: default;
}

.wrapper .contents a:visited {
	text-decoration: none;
}



.mf-body {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.mf-email-builder #mf-sidebar p {
	margin: 0;
}

.mf-email-builder #mf-sidebar {
	background-color: #EFEFEF;
	bottom: 0;
	border-right: 1px solid #DCDCDC;
	border-top: 1px solid #DCDCDC;
	color: #6b7a8a;
	left: 0;
	position: fixed;
	top: 46px;
	width: 380px;
	z-index: 1240;
}

#mf-toolbar h3.ui-state-hover {
	background: #DCDCDC;
}

.mf-toolbar-option .note {
	font-size: 10px;
	padding: 5px;
	border: 1px solid #CDCDCD;
}

.withTopAlert .mf-email-builder #mf-sidebar {
	top: 93px;
}

.mf-email-builder #mfForm {
	height: 100%;
	padding: 0;
	margin: 0;
}

.mf-email-builder #mf-editor-container {
	min-height: 100%;
	width: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border: 0px;
	overflow: hidden;
	padding: 30px 20px;
}

.mf-editor {
	position: relative;
	/* needed for making absolute the placeholder! */
	padding-top: 20px;
}

.mf-toolbar-option .row {
	font-size: 14px;
	margin-bottom: 5px;
	color: #6b7a8a;
}

.mf-toolbar-buttons {
	padding: 10px;
	background: #CDCDCD;
	text-align: center;
}

.mf-toolbar-option .row .optionName {
	float: left;
	padding: 7px 0;
	width: 46%;
}

.mf-toolbar-option .row .optionFull {
	padding: 7px 0;
	width: 100%;
}

.mf-toolbar-option .row .optionValue {
	float: right;
	width: 54%;
	position: relative;
	padding-right: 0;
}

.mf-toolbar-option .row .optionName i.fa {
	color: #ABABAB;
}

.mf-toolbar-option .row .optionName i.fa:hover {
	color: #6b7a8a;
}


.mf-toolbar-option .row .aligncenter {
	text-align: center;
}

.mf-toolbar-option .row.len3070 .optionName {
	float: left;
	padding: 7px 0;
	width: 120px;
}

.mf-toolbar-option .row.len3070 .optionValue {
	float: right;
	width: 170px;
}

.mf-toolbar-option .row.lenp3070 .optionName {
	float: left;
	width: 30%;
}

.mf-toolbar-option .row.lenp3070 .optionValue {
	float: right;
	width: 70%;
}

.mf-toolbar-option .row.lenp3070 .optionValue>input {
	width: 100%;
}

.mf-toolbar-option .row.len7030 .optionName {
	float: left;
	width: 170px;
}

.mf-toolbar-option .row.len7030 .optionValue {
	float: right;
	width: 120px;
}

.mf-toolbar-option .row label {
	font-weight: normal;
	margin-left: 0;
}

.mf-toolbar-option .row label input[type="checkbox"] {
	margin-right: 5px;
}

.mf-toolbar-option .inputSmall {
	text-align: center;
}

.mf-toolbar-option .input2addon {
	width: 80px;
}

.mf-toolbar-option .input1addon {
	text-transform: uppercase;
	font-size: 14px;
}

.mf-toolbar-option .input3addon {
	width: 36px;
}


.padding-all-directions {
	margin-bottom: 20px;
}

.padding-all-directions td {
	padding: 5px;
}

/*
.is-editing .mce-tinymce,
.is-editing .mce-tinymce-inline {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}*/

.mf-toolbar-option button,
.mf-toolbar-option .btn {
	box-shadow: none;
	border: 1px solid #d5d5d5;
	transition-duration: 0.1s;
}

#mf-editor-wrapper {
	min-height: 100%;
	margin-left: 379px;
	z-index: 9;
	overflow: hidden;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
}

#mf-editor-wrapper h1,
#mf-editor-wrapper h2,
#mf-editor-wrapper h3,
#mf-editor-wrapper h4,
#mf-editor-wrapper h5,
#mf-editor-wrapper h6 {
	letter-spacing: normal;
	color: inherit;
	font-family: inherit;
}

#mf-editor-wrapper .controls {
	background: #EFEFEF none repeat scroll 0 0;
	bottom: 0;
	height: 80px;
	margin: 0;
	padding: 20px;
	position: fixed;
	left: 380px;
	right: 0;
	border-top: 1px solid #DCDCDC;
	z-index: 1030;
}

#mf-editor-controls {
	height: 52px;
	position: relative;
	width: 100%;
	margin-left: 0;
	background: #f6f6f6;
	border-bottom: 1px solid #DCDCDC;
	border-top: 1px solid #DCDCDC;
	z-index: 600;
}

.element-editing>h2 {
	font-size: 20px;
	background: #005c9c none repeat scroll 0 0;
	color: #ffffff;
	padding: 12px;
	margin: 0;
	border-right: 5px solid #1b9ee6;
}

.mf-email-builder .dropdown .dropdown-toggle {
	background: #FFFFFF;
	text-align: left;
	cursor: pointer;
	font-size: 14px;
	color: #6b7a8a;

}

.mf-email-builder .scrollable-menu {
	height: auto;
	max-height: 200px;
	overflow-x: hidden;
}

.mf-email-builder .dropdown .dropdown-toggle .caret {
	position: absolute;
	right: 10px;
	top: 12px;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #AAA;
}

.mf-email-builder .dropdown .dropdown-menu {
	margin-left: -30px;
}

.mf-section-element {
	width: 100%;
}

.panel-body.social-buttons>div {
	margin-bottom: 10px;
}

.panel-body.social-buttons>div label {
	margin-top: 4px;
}

.toggle.btn {
	border: 0;
}

#uploadProgress {
	display: none;
}

.mf-section-container {
	position: relative;
}

.mf-inside {
	margin-top: 20px;
	margin-left: 20px;
	width: 280px;
}

.mf-section-placeholder {
	background: #EFEFEF;
	border-radius: 5px;
	color: #999999;
	position: relative;
	margin: 10px;
	height: 80px;
	opacity: 0.5;
}

.mf-section-placeholder div i,
.image-placeholder div i,
.video-placeholder div i,
.dragLabel i,
.image-placeholder-fix div i {
	display: block;
	font-size: 22px;
}


.mf-section-placeholder div,
.image-placeholder div,
.video-placeholder div,
.image-placeholder-fix div {
	font-size: 12px;
	position: relative;
	text-align: center;
	padding: 20px;
}

.mce-toolbar {
	position: absolute;
	z-index: 1000;
	left: 1px;
	top: 1px;
}

.mfBuilder .mce-tinymce-inline {
	z-index: 500 !important;
	background: #333333;
}

.mfBuilder .mce-panel {
	z-index: 1020;
	border: none;
}

.content,
.divider-content,
.image-content,
.header-image-content,
.button-content,
.social-content {
	color: inherit;
}

.outlined.is-editing::before {
	position: absolute;
	right: -1px;
	bottom: -20px;
	content: attr(elemname) 'Elemento';
	background: #2eb2e4;
	color: #FFFFFF;
	padding: 2px 5px;
	font-size: 11px;
	z-index: 10;
}

.outlined:after {
	position: absolute;
	left: 1px;
	right: 1px;
	top: 1px;
	bottom: 1px;
	outline: 2px solid transparent;
	content: "";
	z-index: 4;
}

.outlined.is-editing:after {
	outline-color: #2eb2e4;
}

.outlined.is-editing .content {
	outline: none !important;
}

.outlined:hover:after {
	outline-color: #2eb2e4;
}

.outlined.ishover:after {
	outline: 2px solid #2eb2e4 !important;
}

.outlined.is-editing .mf-element-wrapper:after {
	outline: 1px dotted #CDCDCD;
	content: "";
	z-index: 4;
	position: absolute;
	left: 1px;
	right: 1px;
	top: 1px;
	bottom: 1px;
}


.outlined .content,
.outlined .image-content,
.outlined .divider-content,
.outlined .button-content,
.outlined .social-content {
	position: relative;
}

.outlined .content,
.outlined .content-noeditor,
.outlined .divider-content,
.outlined .button-content,
.outlined .social-content {
	z-index: 10;
}

.mf-element-image .clickable-layer,
.mf-element-video .clickable-layer {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
}


.outlined .content {
	cursor: text;
}

.content-noeditor {
	width: 100%;
	cursor: text;
	position: relative;
}

.bootstrap-touchspin input,
.bootstrap-touchspin button,
.bootstrap-touchspin .input-group-text {
	padding: .25rem .5rem;
	font-size: .875rem;
}

.bootstrap-touchspin button {
	width: 30px;
}



.image-content.is-image {
	min-height: 0 !important;
	/*background:#FFFFFF;*/
}

.outlined .image-content {
	cursor: pointer;
	/*min-height:100px; XXXX1 */
}

.header-image-content {
	cursor: pointer;
}

.is-image-editing {
	cursor: pointer;
}

.is-image-editing img {
	display: block;
}

.mf-element-wrapper {
	position: relative;
	display: block;
	width: 100%;
	letter-spacing: normal;
}

.mf-header-element-wrapper,
.mf-footer-element-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
}

.button-content a {
	box-sizing: border-box;
}

.button-content a:focus {
	outline-offset: 0;
}


.elemhandle {
	content: "";
	left: -22px;
	top: -6px;
	padding: 6px;
	display: block;
	opacity: 1;
}

.elemhandle:hover {
	cursor: move;
	background: #005c9c;
	color: #FFFFFF;
	opacity: 1;
}

.mf-element-controls {
	z-index: 500;
	text-align: center;
	position: absolute;
	top: -1px;
	left: -37px;
	font-size: 16px;
	padding: 0px 2px 0px 0px;
	height: 100%;
}

.mf-controls {
	position: absolute;
	z-index: 500;
	top: 0;
	right: 0;
	background: #bcbcbc;
	opacity: 1;
	text-align: center;

}

.outlined:hover .mf-element-controls span {
	background: #2eb2e4;
}

.mf-controls span,
.outlined .mf-element-controls span {
	display: block;
	padding: 5px 10px;
	font-size: 16px;
	cursor: grab;
	color: #FFFFFF;
	z-index: 1000;
	background: #2eb2e4;
}

.mf-controls span.delete,
.mf-controls span.duplicate,
.outlined .mf-element-controls span.delete,
.outlined .mf-element-controls span.elemdup {
	cursor: pointer;
}


.mf-controls span:hover,
.outlined .mf-element-controls span:hover {
	color: #FFFFFF;
	background: #005c9c;
}

.mf-cursor {
	display: none;
}

.mf-element-placeholder {
	background: #0072b0 !important;
	/*z-index:2000;*/
}

.mf-placeholder {
	height: 2px;
	background: #0072b0;
	z-index: 1000;
	position: absolute;
	width: 100%;
	margin: 0 auto;
	left: 0;
	right: 0;
}

.mf-placeholder:before {
	content: "";
	width: 15px;
	height: 15px;
	/*background-image: url('placeholder-arrow.png');*/
	background-color: #0072b0;
	border-radius: 50%;
	position: absolute;
	left: -6px;
	top: -6px;
}


.mf-placeholder:after {
	content: "";
	width: 15px;
	height: 15px;
	/*background-image: url('placeholder-arrow.png');*/
	background-color: #0072b0;
	border-radius: 50%;
	position: absolute;
	right: -6px;
	top: -6px;
}


#mf-editor .mce-tinymce-inline {
	position: absolute !important;
	top: -69px !important;
	left: -1px !important;
}

.mfBuilder .mce-tooltip {
	opacity: 1;
}

.mfBuilder .mce-tooltip-inner {
	background-color: #0072b0;
}

.mfBuilder .mce-window-head .mce-title,
.mfBuilder .mce-window-head .mce-close,
.mfBuilder .mce-textbox,
.mfBuilder .mce-label {
	color: #999999;
}

.mfBuilder .mce-tooltip-arrow {
	border-bottom-color: #0072b0;

}

.mfBuilder .mce-menu-item .mce-text {
	color: #AAAAAA !important;
}

.mfBuilder .mce-menu-item:hover,
.mfBuilder .mce-menu-item.mce-selected,
.mfBuilder .mce-menu-item:focus {
	color: #FFFFFF !important;
}


.mfBuilder .mce-menu-item:hover .mce-text {
	color: #FFFFFF;
}

.mfBuilder .preview {
	position: absolute;
	top: 0;
	right: 0;
	margin: 7px 20px;
}

.mfBuilder .segnala {
	position: absolute;
	right: 0;
	top: 0;
	margin: 15px 20px;
}

.mfBuilder .autosave {
	margin: 0 auto;
	width: 100px;
	text-align: center;
}

.mfBuilder .autosave div {
	position: absolute;
	line-height: 24px;
	padding-left: 24px;
	margin-top: 13px;
	color: #ABABAB;
}

.mfBuilder .autosave div.on {
	background: url('../images/288.gif') no-repeat left center;
}

.mfBuilder .breadcrumb {
	position: absolute;
	left: 0;
	margin: 0;
}

#mf-editor .mce-widget.mce-tooltip {
	display: none !important;
}

.mf-footer {
	height: 50px;
	width: 100%;
	position: fixed;
	bottom: 0px;
	left: 0px;
	z-index: 10000;
}



.mf-header {
	background: #FFFFFF;
	border-bottom: 1px solid #c8c7cc;
	height: 48px;
	width: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 10000;
}

.element-editing {
	position: absolute;
	top: 0;
	left: -380px;
	width: 380px;
	height: 100%;
	background: #EFEFEF;
	border-right: 1px solid #DCDCDC;
	z-index: 100;
}

.editing-container {
	margin: 20px;
}

#mf-toolbar {
	visibility: hidden;
}

#mf-toolbar h3 {
	font-size: 18px;
	border-radius: 0px;
	padding: 15px 15px 15px 25px;
	margin: 0;
	height: 51px;
	background-color: #f6f6f6;
	border-bottom: 1px solid #DCDCDC;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	color: #555555;


}

#mf-toolbar h3.ui-accordion-header-active {
	background: #0072b0;
	color: #FFFFFF;
	border-left: 5px solid #FF6600;
}

.mf-toolbar-option a.option-tool {
	color: #005c9c;
	padding: 3px;
	border-radius: 2px;
}

.mf-toolbar-option a.option-tool:hover {
	color: #003369;
	background: #DCDCDC;
}

#mf-editor-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #111;
	filter: alpha(opacity=90);
	-moz-opacity: 0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;
	z-index: 10000;
}

#mf-editor-preview {
	opacity: 1;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10001;

}

.mf-preview-controls {
	background: #EFEFEF;
	padding: 5px;
}

#mf-editor-preview .btn-close {
	position: absolute;
	right: 10px;
	top: 10px;
	font-size: 26px;
	cursor: pointer;

}

.preview-box {
	width: 100%;
	height: 100%;
	padding-bottom: 100px;
	overflow: hidden;
}

.preview-container {
	width: 80%;
	height: 100%;
	margin: 0 auto;
}

.preview-container iframe {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	display: inline-block;
}

#mf-editor-preview-desktop,
#mf-editor-preview-mobile {
	overflow-y: auto;
	position: fixed;
	top: 80px;
	bottom: 0;
	z-index: 10001;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
}

#mf-editor-preview-desktop iframe,
#mf-editor-preview-mobile iframe {
	border: 0;
	overflow: hidden;
}

#mf-editor-preview-desktop {
	left: 50px;
	right: 50px;
	background: rgba(0, 0, 0, 0) url("../images/preview-desktop1.png") no-repeat scroll center center;
	width: 1200px;
	height: 655px;
	padding: 51px 0 0 0;
}

#preview-frame-mobile {
	width: 340px;
	height: 509px;
}

#preview-frame-desktop {
	width: 1200px;
	height: 602px;
}

#mf-editor-preview-mobile {
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 340px;
	height: 605px;
	padding: 58px 0 40px 0;
	background: rgba(0, 0, 0, 0) url("../images/preview-mobile1.png") no-repeat scroll center center;
}





.mf-toolbar-option {
	border: 0;
	border-radius: 0 !important;
	padding: 0px !important;
}

#mf-toolbar .ui-widget-content {
	background: #EFEFEF;
	color: #555555;
}

.mf-toolbar-option>div {
	padding: 24px;
}

.mf-toolbar-option h4 {
	padding: 7px 0;
	border-bottom: 1px solid #CDCDCD;
	margin: 0 -15px 15px -15px;
}

.mf-toolbar-option .toolbar-text {
	font-size: 12px;
	color: #6b7a8a;
	margin: 0 -15px 15px -15px;
}

.actionCommand .input-group-btn {
	vertical-align: top;
}

.actionCommand label.error {
	white-space: normal;
	font-size: 11px;
}

.actionCommand .input-group-btn button {
	background: none;
	border: 0px;
	box-shadow: none;
	padding: 7px 0;
	text-align: left;
	width: 120px;
}

.chooseSocialStyle img {
	width: 32px;
}

.input-group-with-image .input-group-addon {
	width: 34px;
	background-size: 100% auto;
}

div.disabled {
	opacity: 0.5;
}

.mf-toolbar-option .mf-drag-option {
	background-color: #EFEFEF;
	border-radius: 2px;
	background-image: linear-gradient(#fff 1px, #fcfbfa 1px, #e8ebed);
	border-width: 1px;
	border-top-color: #c5ced5;
	border-right-color: #bac3ca;
	border-bottom-color: #929ba2;
	border-left-color: #bac3ca;
	border-style: solid;
	width: 100px;
	height: 100px;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	box-shadow: 0 1px 1px rgba(255, 255, 255, 0.3) inset, 0 1px 4px 1px rgba(0, 0, 0, 0), 0 2px 2px rgba(0, 0, 0, 0.1);
	cursor: move;
	text-align: center;
}


/** DRAGGER **/
.content-wrapper.mf-helper.ui-sortable-helper {
	width: 100px !important;
	height: 100px !important;
	margin: 0;
	padding: 0;
	display: block;
}

#mf-editor .mf-drag-option,
.content-wrapper.mf-helper.ui-sortable-helper,
.mf-section-element.mf-helper.ui-sortable-helper,
.ui-draggable-dragging.mf-drag-option {
	background-color: #EFEFEF;
	border-radius: 2px;
	background-image: linear-gradient(#DDDDDD 1px, #DCDCDC 1px, #CDCDCD);
	border-width: 1px;
	border-top-color: #c5ced5;
	border-right-color: #bac3ca;
	border-bottom-color: #929ba2;
	border-left-color: #bac3ca;
	border-style: solid;
	width: 100px !important;
	height: 100px !important;
	margin-right: 10px;
	margin-bottom: 10px;
	box-shadow: 0 1px 1px rgba(255, 255, 255, 0.3) inset, 0 1px 4px 1px rgba(0, 0, 0, 0), 0 2px 2px rgba(0, 0, 0, 0.1);
	cursor: move;
	text-align: center;
	padding: 0;
	margin: 0;
	z-index: 312000 !important;
}

.mf-toolbar-option .mf-drag-option:hover {
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.55);
	box-shadow: 0 6px 10px rgba(0, 0, 0, 0.55);
}

.mf-drag-container {
	background-image: url('../icons/editor_icons.png');
	background-repeat: no-repeat;
	display: block;
	width: 100px;
	height: 100px;
	margin: 0 auto;
	padding: 0;
}


.mf-drag-container.layer1 {
	background-position: -2px -2px;
}

.mf-drag-container.layer2 {
	background-position: -2px -102px;
}

.mf-drag-container.layer3 {
	background-position: -2px -202px;
}

.mf-drag-container.layer4 {
	background-position: -402px -402px;
}

.mf-drag-container.layer5 {
	background-position: -402px -302px;
}

.mf-drag-container.header1 {
	background-position: -202px -302px;
}

.mf-drag-container.footer1 {
	background-position: -202px -402px;
}


.ui-draggable-dragging .mf-drag-container.layer1 {
	background-position: -100px 0px;
}

.ui-draggable-dragging .mf-drag-container.layer2 {
	background-position: -100px -100px;
}

.ui-draggable-dragging .mf-drag-container.layer3 {
	background-position: -100px -200px;
}

.ui-draggable-dragging .mf-drag-container.layer4 {
	background-position: -500px -400px;
}

.ui-draggable-dragging .mf-drag-container.layer5 {
	background-position: -500px -300px;
}

.ui-draggable-dragging .mf-drag-container.header1 {
	background-position: -300px -300px;
}

.ui-draggable-dragging .mf-drag-container.footer1 {
	background-position: -300px -400px;
}

.mf-drag-container.elem1 {
	background-position: -202px -2px;
}

.mf-drag-container.elem2 {
	/*titolo*/
	background-position: -502px -2px;
}

.mf-drag-container.elem7 {
	/*lista*/
	background-position: -502px -102px;
}

.mf-drag-container.elem3 {
	/*immagine*/
	background-position: -202px -102px;
}

.mf-drag-container.elem8 {
	/*video*/
	background-position: -700px -2px;
}

.mf-drag-container.elem4 {
	/*separatore*/
	background-position: -202px -202px;
}

.mf-drag-container.elem5 {
	background-position: -402px -202px;
}

.mf-drag-container.elem6 {
	background-position: -2px -402px;
}

.ui-draggable-dragging .mf-drag-container.elem1 {
	background-position: -300px -4px;
}

.ui-draggable-dragging .mf-drag-container.elem2 {
	background-position: -603px -3px;
}

.ui-draggable-dragging .mf-drag-container.elem7 {
	background-position: -603px -101px;
}

.ui-draggable-dragging .mf-drag-container.elem3 {
	/* immagine */
	background-position: -301px -102px;
}

.ui-draggable-dragging .mf-drag-container.elem8 {
	/* video */
	background-position: -700px -101px;
}

.ui-draggable-dragging .mf-drag-container.elem4 {
	background-position: -304px -204px;
}

.ui-draggable-dragging .mf-drag-container.elem5 {
	/*button*/
	background-position: -504px -204px;
}

.ui-draggable-dragging .mf-drag-container.elem6 {
	/*social*/
	background-position: -104px -404px;
}

.mf-mover {
	background-image: url('../icons/editor_icons.png');
	background-position: -2px -302px;
}

.panel label {
	font-weight: normal;
}

#mf-drag-zone {
	padding: 100px;
	background: #FF00FF;
}


.is-sorting .mf-controls {
	display: none;
}

.is-sorting .outlined.is-editing::before,
.is-sorting .outlined:hover::before {
	outline-color: transparent;
}

.mf-preview-background {
	background: transparent url('images/mf-preview-loader.gif') no-repeat center center;
}

.content-fix-image {
	min-width: 200px;
	font-weight: normal;
	font-size: 12px;
	line-height: 17px;
}

.image-placeholder,
.image-placeholder-fix {
	background: #d2f3ff;
	border: 1px dashed #2eb2e4;
	border-radius: 0px;
	color: #2eb2e4;
	box-sizing: border-box;
	cursor: pointer;
	margin: 5px;
}

.image-placeholder.fullbox {
	background: transparent;
	height: 100%;
	border: transparent;
}

.video-placeholder,
.video-placeholder-fix {
	background: #CDCDCD;
	border: 1px dashed #444444;
	border-radius: 0px;
	color: #444444;
	box-sizing: border-box;
	cursor: pointer;
	margin: 5px;
}

.video-placeholder.fullbox {
	background: transparent;
	height: 100%;
	border: transparent;
}


.content-wrapper {
	margin: 0 auto;
	position: relative;
	display: block;
	cursor: pointer;
	/*transition: all 0.3s ease 0s; rallenta... togliere */
}

.content-wrapper .outlined {
	position: relative;
	cursor: pointer;
	-ms-transition: none;
	transition: none;
}

.content-wrapper.isover {
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.5);
	z-index: 1000;
}


.content-wrapper.is-layer-editing::after {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	outline: 2px solid #2eb2e4;
	content: "";
	outline-offset: -2px;
}

.content-wrapper.is-layer-editing::before {

	position: absolute;
	left: 0px;
	top: 0px;
	content: attr(data-layer) '';
	background: #2eb2e4;
	color: #FFFFFF;
	padding: 2px 5px;
	font-size: 11px;

}

.mce-i-icon-trash:before {
	content: "\f014"
}

.mce-i-icon-trash {
	display: inline-block;
	font-family: FontAwesome !important;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	font-size: 18px !important;
}

.mfe-title {
	color: #FF0000;
}


#cropContainerHeader {
	width: 200px;
	height: 150px;
	position: relative;
	/* or fixed or absolute */
}

.btns-header {
	padding-bottom: 20px;
}

.btn-mf-primary {
	background-color: #efefef;
	background-image: linear-gradient(#fff 1px, #fcfbfa 1px, #e8ebed);
	border-color: #c5ced5 #bac3ca #929ba2;
	padding: 12px;
}

.btn-mf-primary:hover,
.btn-mf-primary:focus,
.btn-mf-primary:active,
.btn-mf-primary.active,
.open>.dropdown-toggle.btn-mf-primary {
	background-color: #3071a9;
	border-color: #285e8e;
	color: #fff;
	background-image: linear-gradient(#00a6e2 1px, #00a6e2 1px, #0083cc);
}

.btn-mf-primary.disabled,
.btn-mf-primary[disabled],
fieldset[disabled] .btn-mf-primary,
.btn-mf-primary.disabled:hover,
.btn-mf-primary[disabled]:hover,
fieldset[disabled] .btn-mf-primary:hover,
.btn-mf-primary.disabled:focus,
.btn-mf-primary[disabled]:focus,
fieldset[disabled] .btn-mf-primary:focus,
.btn-mf-primary.disabled:active,
.btn-mf-primary[disabled]:active,
fieldset[disabled] .btn-mf-primary:active,
.btn-mf-primary.disabled.active,
.btn-mf-primary.active[disabled],
fieldset[disabled] .btn-mf-primary.active {
	background-color: #428bca;
	border-color: #357ebd;
}

input.error {
	border: 1px solid #FF0000;
}


.divider-content-helper {
	border: 2px dotted #0072b0;
}

.divider-content .ui-resizable-s {
	width: 100px;
	height: 30px;
	margin: auto;
	position: absolute;
	right: 0;
	top: auto;
	bottom: -15px;
	left: 0;
	color: #FFFFFF;
}

.divider-content .divider-size-handle .fa {
	font-size: 20px;
	float: left;
	width: 10px;
}

.divider-content .divider-size-handle {
	font-size: 12px;
	display: block;
	width: 100px;
	height: 30px;
	padding: 5px;
	background-color: #ABABAB;
}

.divider-content .divider-size-handle .divider-size {
	display: block;
	width: 80px;

	float: right;
	text-align: center;
}

.divider-content .divider-size-handle:hover {
	background-color: #2eb2e4;
	color: #FFFFFF;
}

.ui-resizable-helper {
	border: 1px solid #CCCCCC;
}

#dragarea {
	height: 130px;
	margin: 0 auto;
}


.dragzone {
	background: transparent;
	border: 2px dotted #555555;
	height: 110px;
	color: #555555;
}

.is-sorting .dragzone {
	border: 2px solid transparent;
	height: 110px;
	color: #0072b0;
}

.is-sorting .dragLabel {
	margin-top: 65px;
	transition-duration: 0.3s;
}

.dragLabel {
	font-size: 12px;
	margin-top: 42px;
	position: relative;
	text-align: center;
}

.dragzone.isover {
	border-color: #0072b0;
}

#mf-editor-insertImage {
	background: #EFEFEF;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 80%;
	height: 80%;

	z-index: 10001;
	transform: translate(-50%, -50%);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	/* Ombra opzionale per un effetto di profondità */
	border-radius: 10px;
	/* Bordi arrotondati per un aspetto più morbido */

	overflow-y: auto;
	border: 1px solid #ABABAB;
	line-height: 0;
}

#mf-editor-insertImage .inside {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
}

#mf-editor-insertImage .insertImageFooter {
	position: absolute;
	bottom: 15px;
	padding-top: 10px;
}

#mf-editor-insertImage .iframe-container {
	flex-grow: 1;
}

#mf-editor-insertImage iframe {
	width: 100%;
	height: 100%;
}

.insertImageBody {
	height: 450px;
	width: 100%;
	border: 0;

}

.insertImageFooter {
	height: 40px;
	width: 100%;
	padding: 10px;
	border-top: 1px solid #ABABAB;
}

.mfBuilder .editor-btn {
	padding: 4px 8px;
	box-shadow: none;
	border: 1px solid #CDCDCD;
	color: #666666;
}

.mfBuilder .editor-btn:hover {
	background: #CDCDCD;
}

#button_percent_width .input-group-append .input-group-text {
	padding-left: 2px;
	padding-right: 2px;
}


.mfBuilder .clr-field button::after {
	box-shadow: none !important;
	border: 1px solid #D5D5D5 !important;
}

.mfBuilder .mfcolorsnoalpha,
.mfBuilder .mfcolorswithalpha {
	text-align: left;
	padding-left: 20px;
}

/* CSS del FontSelector */
.fontSelect {
	position: relative;
	height: 32px;
	line-height: 32px;
	cursor: pointer;
	background: #FFFFFF;
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, StartColorStr='$from', EndColorStr='$to');
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #CDCDCD;
}

.fontSelect span {
	overflow: hidden;
	margin-left: 5px;
}

.fontSelect .arrow-down {
	position: absolute;
	right: 6px;
	top: 12px;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;

	border-top: 6px solid #AAA;
}

.fontSelectUl {
	list-style: none;
	background: #f9f9f9;
	position: absolute;
	left: 0;
	top: 35px;
	border: 1px solid #CDCDCD;
	overflow: auto;
	height: 120px;
	z-index: 15;
}

.fontSelectUl li {
	height: 24px;
	line-height: 24px;
	overflow: hidden;
	cursor: pointer;
	padding: 0 10px;

	font-size: 14px;

	border-left: 1px solid #f0f0f0;
	border-right: 1px solid #f0f0f0;
}

.fontSelectUl li:last-child {
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;

	border-bottom: 1px solid #EEEEEE;
}

.fontSelectUl li:hover {
	background: #DDD;
}

#button-editing-box-scroller {
	height: calc(100% - 40px);
}


.mfbInterline1,
.mfbInterline2,
.mfbInterline3,
.mfbInterline4 {
	padding: 15px;
}

.mfbInterline1.active,
.mfbInterline2.active,
.mfbInterline3.active,
.mfbInterline4.active {
	opacity: 1;
}

.mfbInterline1:hover,
.mfbInterline2:hover,
.mfbInterline3:hover,
.mfbInterline4:hover {
	background-color: #EFEFEF !important;
	border: 1px solid #CDCDCD !important;
}

.mfbInterline1 {
	background: #FFFFFF url("../icons/mfb_interline1.png") no-repeat scroll center center !important;
}

.mfbInterline2 {
	background: #FFFFFF url("../icons/mfb_interline2.png") no-repeat scroll center center !important;
}

.mfbInterline3 {
	background: #FFFFFF url("../icons/mfb_interline3.png") no-repeat scroll center center !important;
}

.mfbInterline4 {
	background: #FFFFFF url("../icons/mfb_interline4.png") no-repeat scroll center center !important;
}

.btn-group>.btn-check:checked+.btn {
	background-color: #CDCDCD !important;
	color: #FFFFFF !important;

}

.bootstrap-touchspin .btn-primary {
	background: #FFFFFF !important;
	color: #6b7a8a;
}

.bootstrap-touchspin .btn-primary:hover {
	background: #CDCDCD !important;
	color: #FFFFFF;
}

.bootstrap-touchspin .input-group-prepend .bootstrap-touchspin-down {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.bootstrap-touchspin .input-group-append .bootstrap-touchspin-up {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.popupLibrary .form-control-sm {
	padding: 2px 6px;
	font-size: 12px;
}

.ui-sortable-placeholder.soc_panel {
	height: 30px;
}

[data-mce-bogus="1"] {
	display: none;
}

.dropdown-item.active,
.dropdown-item:active {
	background: #005C9C !important;
}

.clr-field button {
	width: 34px !important;
}

#mf-editor .mf-section-container.noplaceholder .mf-section-placeholder {
	display: none;
}

/* Impostazioni di default dei contenuti del Builder */
#mf-editor h1,
#mf-editor h2,
#mf-editor h3 {
	line-height: 100%;
	font-weight: bold;
}

#mf-editor h1 {
	font-size: 54px;
}

#mf-editor h2 {
	font-size: 32px;
}

#mf-editor h3 {
	font-size: 24px;
}

#mf-editor .htitle span {
	display: block;
	word-break: break-word;
}