@charset "utf-8";



.lab_editor,
.lab_editor_container,
.lab_editor_content,
.lab_editor_footer,
.editable,
.lab_editor_choise,
.lab_uploader,
#lab_upload_container,
.my_thumbnail,
.lab_img_preview,
#photo_row,
.foto_footer,
.foto_desc,
#foto_location,
.lab_gallery_box
{position:relative; float:left; width:100%; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box;}


.lab_editor_content {width:50%; height:40rem; padding-bottom:5rem;overflow:auto}
.ui-resizable {border:1px dotted #cacaca}
.lab_editor_choise {list-style:none; margin:0; padding:0.5rem 0 }
.lab_editor_choise li {position:relative; float:left; padding:0.25rem}

.lab_editor_footer {font-family: "Times New Roman", Times, serif !important; font-size:14px !important}

.lab_editor_button, .lab_selector {padding:0.25rem; margin:0.5rem 0.25rem; text-align:center; cursor:pointer;}
.lab_editor_button button, .lab_selector select {height:1.8rem; background:transparent; cursor:pointer; margin:0; padding:0.25rem 0.5rem; }
.lab_editor_button button:hover {background:#e6e6e6}
.lab_selector select {background:rgba(200,200,200,0.4); font-weight:bold; border:1px solid #cacaca}

.lab_editor {border:1px solid #ccc}
.lab_editor_container {background:#fff; border-top: 4px double #cacaca; border-bottom: 4px double #cacaca;  }


.lab_editor h2, .lab_editor h3, .lab_editor h4, .lab_editor p {border: 1px dotted #cacaca; padding:0.25rem; background:#fff}
#text_length {width:10rem}


.lab_normal_weight {font-weight:normal !important; font-style:none !important; text-decoration:none !important; color:initial}
#my_dialog input, #my_dialog span {position:relative; float:left; width:100%; margin-bottom:0.5rem}

#lab_editor_content {display:inline-block}
#lab_html_content {/*white-space: pre-wrap;*/ white-space: pre-line; text-align:left; color:blue; border:none; border-left:1px dotted #cacaca; }

.lab_img_container {position:relative; float:left; width:100%; text-align:center}



/*GESTIONE UPLOAD*/

#lab_upload_container {position:absolute; left:0; top:0; padding:2% 2% 30rem 2%; width:100%; min-height:100%; background:#fff; display:none;}
.lab_window_close {position:relative; float:left; width:100%; height:2.5rem; margin-bottom:1rem;}
.lab_window_close img {position:relative; float:right; height:100%; width:auto; cursor:pointer}

#lab_upload_container div {-webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box;}
.lab_uploader {position:relative; float:left; width:100%; }
#photo_row {position:relative; float:left; width:100%; margin-top:30px; box-shadow:-1px 1px 6px #666; background:#ccc}
.lab_img_preview, .lab_gallery_box  {position:relative; float:left; width:18%; margin:1%;}
.my_thumbnail {position:relative; float:left; width:100%; height:150px; margin-top:10px; margin-bottom:10px; text-align:center; border-radius:4px; overflow:hidden !important; }
.my_thumbnail img {position:absolute; left:0; bottom:10px; width:100%}
.over_tumb {position:absolute; left:0; top:0; width:100%; height:100%; background: rgba(1,1,1,0.6)}
.my_thumb {margin-bottom:0px; height:180px !important; overflow:hidden;}
.my_thumb img {}
.foto_footer {position:absolute; width:100%; left:0; bottom:0; padding:0.5rem; background:rgba(1,1,1,0.6)}
.delete_this {position:absolute; top:2px; right:4px; width:24px; height:24px; padding:4px; border-radius:100px; background:rgba(255,255,255,1); cursor:pointer}
.delete_this img {position:relative; float:left; width:100%; height:100%}
#foto_location {position:relative; float:left; width:100%; margin-bottom:3rem; border-bottom:2px double #cacaca}
.lab_input_uploader {position:relative; float:left;}
.uploader_button {width:6rem}
.lab_search_footer {position:relative; float:left; width:100%; padding:2%; border-top:1px doted #cacaca}
.lab_search_footer a {text-decoration:none; margin-left:10px; margin-right:10px}


/*Galleria*/
.lab_gallery_box {border:2px double #000; border-radius:4px; box-shadow: -1px 1px 6px #ccc; overflow:hidden}
.lab_thumb {position:relative; float:left; width:100%; height:auto}
#lab_editor, #lab_upload_container {}


/*Documenti*/
.lab_files_list {position:relative; float:left; margin-top:3rem; padding:0; }
.lab_files_list li {/*position:relative; float:left; display:list-item; height:3rem; border:1px solid red*/}
.lab_files_list a {position:relative; float:left; margin-right:2rem}
.lab_files_list .delete_this {position:relative; float:left; width:20px; height:20px; background:none; top:0; right:0}



@media screen and (max-width:1360px){
	.lab_gallery_box {width:23%}
}


@media screen and (max-width:960px){
	.lab_gallery_box {width:31.33%}
}


@media screen and (max-width:600px){
	.lab_gallery_box {width:48%}
}

@media screen and (max-width:400px){
	.lab_gallery_box {width:98%}
}