
/* CSS Document */

.material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 24px; /* Preferred icon size */
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
	-webkit-font-smoothing: antialiased; /* Support for all WebKit browsers. */
	-moz-osx-font-smoothing: grayscale; /* Support for Firefox. */
}

.inputTextEditor {
	position: absolute;
	top: -999999px;
	left: -999999px;
	resize: vertical;
}

textarea[class="inputTextEditor"] {
	width: 99%;
	height: 200px;
	box-sizing: border-box;
}

input[type="text"].inputTextEditor {
	width: 99%;
	box-sizing: border-box;
}

.iframeTextEditor {
	width: 100%;
	height: 100%;
	overflow: auto;
	margin: 0;
	font-size: 14px;
	padding: 5px;
	border: solid 1px #ccc;
	border-radius: 3px;
	background-color: #f7f7f7;
}

.iframeTextEditor:focus {
    background-color: rgb(255,255,204);
}

.iframeInput {
	height: 31px;
}

div.textEditor {
	width: 99%;
	height: 200px;
	overflow: auto;
	resize: vertical;
	display: inline-block;
	-webkit-overflow-scrolling: touch;
}

div.textEditor iframe {
	display: block;
	width: 100%;
	height: 100%;
	resize: none;	
}

@media all and (max-width: 999px) {
	.text-editor {
		width: 100%;
	}
}

.text-editor .table {
	border-spacing: 0px;
	width: auto;
}

.text-editor .cell {
	padding: 0px;
	min-width: 25px;
	display: inline-block
}

@media all and (max-width: 999px) {
	.text-editor .cell {
		display: inline-block;
	}
}



.text-editor .puleditor {
	margin: 1px;
	padding: 0px;
	padding-top: 3px;
	border-radius: 3px;
	border: solid 1px #cecece;
	background-color: #eee;
	font-size: 18px;
	cursor: pointer;
	color: #333;
	width: 25px;
	height: 25px;
	box-sizing: border-box;
	text-align: center;
}

.text-editor .puleditor.sbiadito {
	background-color: #eee !important;
	pointer-events: none; 
	cursor: default;
}

.text-editor .puleditor:hover {
	background-color: #ddd;
}

.text-editor .puleditor:active {

	position: relative;
	top: 1px;
}

.text-editor select {
	margin: 1px;
	padding: 0px;
	border-radius: 3px;
	border: solid 1px #cecece;
	background-color: #eee;
	font-size: 12px;
	cursor: pointer;
	color: #333;
	height: 25px;
	box-sizing: border-box;
}

.text-editor select:hover {
	background-color: #ddd;
}

.windows_editor, .windows_editorSfondo {
	display: none;
}

.text-editor .windows_editor {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	padding: 0px;
	width: 95vw;
	max-width: 1200px;
	height: 95vh;
	z-index: 103;
	background-color: #fff;
	border: solid 1px #666;
	border-radius: 5px;
	color: #333;
	font-size: 12px;
	box-sizing: border-box;
}

.text-editor .windows_editorTitolo {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: solid 1px #333;
    box-sizing: border-box;
}

.text-editor .windows_editorContenuto {
    padding: 10px;
   	height: calc(100% - 55px) !important;
    box-sizing: border-box;
    overflow: hidden;
    overflow-y: auto;
}

#texteditorimage_load {
	text-align: center;
}
#texteditorimage_load img {
	max-width: 20px;
}
#image_width_loading img {
	max-width: 20px;
}

#texteditortable_load {
	text-align: center;
}
#texteditortable_load img {
	max-width: 20px;
}



#texteditorimageScelta {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
}

#texteditorimageDaGalleria #texteditorimage_galleria {
	height: 100%;
}
#texteditorimageDaGalleria #texteditorimage_galleria {
	/*height: 365px;*/
	height: calc(100% - 50px);
	overflow: hidden;
	overflow-y: auto;
}


#texteditorimageDaGalleria #texteditorimage_galleria .galleriaimmagini-contenitore {
    /*width: 25%;*/
	width: 150px;
}

#texteditorimageDaGalleria #texteditorimage_galleria .galleriaimmagini-contenitore figcaption > div:first-child {
	/*display: none;*/
	width: 150px;
}

div[id^="SpecialCharacter_"] {
    width: 8%;
    float: left;
    text-align: center;
    padding: 2%;
    margin: 1%;
    font-size: 16px;
    border: 1px solid #DEDEDE;
    border-radius: 3px;
    cursor: pointer;
}

.textEditorGrande {
	height: 50vh !important;
}

div.textEditorPiccolo,
.textEditorPiccolo {
	height: 50px !important;
}
