﻿/**********************************************/
/********   ADMIN: MODIFICA TEMPLATE   ********/
/**********************************************/

/* ----- STILE PER COLORBOX ----- */
#colorbox.pdp-colorbox {background-color:#FFF!important; color:#000!important;}

/* ----- STILE PER IL CONTROLLO  ----- */

.pdp-vbody { margin: 3% 10px; color: #000000 !important; box-shadow: 0px 0px 5px 0px #000; left: 0; position: fixed; top: 0; bottom: 0; width: 260px; padding: 5px 15px; background-color: rgba(255,255,255,1); opacity:.75; z-index: 1000000000;  box-sizing: content-box; font-size:12px!important; transition:all .5s ease-in-out; border: 1px #000 solid;}
.pdp-vbody:hover {background-color: rgba(255,255,255,1); opacity:1;}

.pdp-vbody.small {top:50%; height:350px; bottom:auto; margin-top:-175px}

.pdp-vbody.pdp-hide { width: 0px; margin:-15px; }
.pdp-vbody.pdp-hide.small {top:50%; height:350px; bottom:auto; margin:-175px -15px auto -15px}
.pdp-vbody .pdp-in { overflow: hidden; width: 100%; height: 100%; box-sizing: content-box; }
.pdp-vbody .pdp-in .pdp-in-in { overflow: auto; width: 100%; height: 100%; padding-right: 30px; box-sizing: content-box;}
.pdp-vbody .opcl { background: #094ab1 url("/web/images/op-cl-ml.png") no-repeat scroll 0 0; position: absolute; cursor: pointer; }
.pdp-vbody .opcl.l { width: 10px; height: 20px; top: 50%; left: 2px; margin-top: -10px; background-position: 0px 0px; }
.pdp-vbody .opcl.r { width: 10px; height: 20px; top: 50%; right: 2px; margin-top: -10px;  background-position: -30px 0; }

.pdp-vbody .clear {clear:both!important;}
.pdp-vbody .clear.heighter { height: 1px!important; }
.pdp-vbody .pdp-in .tit-graf { color: #000 !important; text-shadow: none !important; margin: 5px 0 0 0 !important; padding: 0px !important; border: none 0px !important; font-size: 18px !important; line-height: 22px !important; font-family:Arial, sans-serif!important;}
.pdp-vbody .pdp-in .tit-graf img { cursor: pointer; }

.pdp-vbody .pdp-in .tit-lbl {display:block; float:left; line-height:30px; display:none;}

.pdp-vbody .pdp-in .btn-scegli-sfondo {display:block; float:left; display:none;}
.pdp-vbody .pdp-in .btn-scegli-sfondo a {margin-top:4px; margin-right:10px}

.pdp-vbody label {font-family: Arial, sans-serif!important; font-size:12px!important; display: inline!important; color:#000!important; margin: 5px 3px 5px 0!important; vertical-align: middle!important; float: left!important; font-weight:normal!important;width: 30%!important; padding: 0!important; text-transform: none!important; letter-spacing:0!important;background:none!important;background:#FFF!important;}
.pdp-vbody label.auto {width:auto; margin-right:0;}

.pdp-vbody .att-cli { height: 16px; width: 16px; background: url('/web/images/blink.png') center center no-repeat rgba(255, 255, 255 ,0.2); background-size: 50%; display: inline-block; vertical-align: middle; border: 1px solid #666; border-radius: 6px; cursor: pointer; }

.pdp-vbody .input-control > input[type="text"], 
.pdp-vbody .input-control > input[type="email"], 
.pdp-vbody .input-control > input[type="url"], 
.pdp-vbody .input-control > input[type="phone"], 
.pdp-vbody .input-control > input[type="number"], 
.pdp-vbody .input-control > input[type="password"], 
.pdp-vbody .input-control > select, 
.pdp-vbody .input-control > textarea {
    background-color: #fff!important;
    border: 1px solid #bababa!important;
    margin: 0px 0px 0 0!important;
    outline: 0 none!important;
    padding: 1px 1px!important;
    position: relative!important;
    width: 85px!important;
    border-radius: 0px!important;
    font-family: Arial,sans-serif!important; 
    font-size: 11px!important;
    height: 30px!important;
    box-shadow:none!important;
		appearance:auto!important;
		-moz-appearance:auto!important;
		-webkit-appearance:auto!important;
		background:#fff!important;
 }

.pdp-vbody .input-control.select {
    display: block!important;
    float: left!important;		
    position: relative!important;
    margin-right: 1px!important;
    font-size: 14px!important;
		height: 30px!important;
		padding: 2px 0px!important;
		box-shadow:none!important;
		border-radius: 0px!important;
		appearance:auto!important;
		-moz-appearance:auto!important;
		-webkit-appearance:auto!important;
		background:#fff!important;
}
.pdp-vbody .input-control.select.fontsize select { width: 35px!important; }
.pdp-vbody .input-control.select select { margin: 0px!important; }

.pdp-vbody .input-control.select.background select, .pdp-vbody .input-control.select.backatt select {width:75px!important;}
.pdp-vbody .group-pulsanti .input-control.select.fontsize {margin-bottom:2px!important;}
.pdp-vbody .group-pulsanti .input-control.select.fontsize select { width: 100px!important; margin-bottom:2px;}
.pdp-vbody .group-pulsanti > div:after {content:''; display:block; clear:both; float:none;}

.pdp-vbody input.fontstylebtn.bold[type="button"] { background-image: url("/web/images/bold.png"); }
.pdp-vbody input.fontstylebtn.italic[type="button"] { background-image: url("/web/images/italic.png"); }
.pdp-vbody input.fontstylebtn.underline[type="button"] { background-image: url("/web/images/underline.png"); }
.pdp-vbody input.fontstylebtn.unassigned[type="button"] { opacity: 0.6; }
.pdp-vbody input.fontstylebtn.enabled[type="button"] { background-color: #094ab1; }

input.fontstylebtn[type="button"] {
    background-color: #666;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    display: block;
    float: left;
    height: 30px;
    width: 25px;
    min-height: 30px;
    min-width: 20px;
    margin: 2px 0 0 3px;    
    opacity: 1;
    padding: 0;
    text-indent: -9999px;    
    border: 1px solid transparent;
    border-radius:0;
    box-shadow:none;
}

#pdp-previewfoto {
    background-image: none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 75% auto;
    border: 1px solid #ccc;
    display: block;
    float: left;
    height: 45px;
    line-height: 30px;
    margin: -5px 5px 0 5px;
    text-align: center;
    width: 60px;
    background:#FFF;
}

#PresetVisibile { width: 260px; }

#pdp-previewfoto div.previewsfondo, a.previewsfondo {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    width: 100%;
}

.pdp-button, .pdp-button2, #cboxClose {
    background-color: #094ab1!important;
    border: 0 none;
    color: #fff !important;
    display: block;
    float: left;
    font-family: "Segoe UI","Lucida Grande",Verdana,arial,Helvetica,sans-serif;
    font-size: 0.875em;
    padding: 5px 18px !important;
    margin: 0  !important;
    cursor:pointer!important; 
}

.pdp-button2 {
    font-size: 0.75em;
    float: none!important;
		display:inline-block!important;
    padding:2px 8px!important;
    line-height:1em!important;
    height:auto!important;
    text-transform:uppercase;
}

#custom-area textarea {
    font-family: 'lucida sans typewriter',monospace,'Courier New', Courier;
    font-size:10px;
    background-color: #fff;
    border: 1px solid #bababa;
    color:#000;
		line-height:14px;
		padding:5px;
		display:block;
}

.colorSelector {
    background: rgba(0, 0, 0, 0) url("/web/images/select.png") repeat scroll 0 0;
    cursor: pointer;
    display: block;
    float: left;
    height: 36px;
    margin: 0;
    position: relative;
    width: 36px;
}
.colorSelector.top { margin-top: 0px; }

.colorSelector div {
    background: rgba(0, 0, 0, 0) url("/web/images/select.png") repeat scroll center center;
    height: 30px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 30px;
}

.colorpicker {
	width: 356px;
	height: 176px;
	overflow: hidden;
	position: absolute;
	background: url('/web/images/colorpicker_background.png') !important;
	font-family: Arial, Helvetica, sans-serif;
	display: none;
	z-index: 100001;
	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.colorpicker_color {
	width: 150px;
	height: 150px;
	left: 14px;
	top: 13px;
	position: absolute;
	background: #f00;
	overflow: hidden;
	cursor: crosshair;
}
.colorpicker_color div {
	position: absolute;
	top: 0;
	left: 0;
	width: 150px;
	height: 150px;
	background: url('/web/images/colorpicker_overlay.png');
}
.colorpicker_color div div {
	position: absolute;
	top: 0;
	left: 0;
	width: 11px;
	height: 11px;
	overflow: hidden;
	background: url('/web/images/colorpicker_select.gif');
	margin: -5px 0 0 -5px;
}
.colorpicker_hue {
	position: absolute;
	top: 13px;
	left: 171px;
	width: 35px;
	height: 150px;
	cursor: n-resize;
}
.colorpicker_hue div {
	position: absolute;
	width: 35px;
	height: 9px;
	overflow: hidden;
	background: url('/web/images/colorpicker_indic.gif') left top;
	margin: -4px 0 0 0;
	left: 0px;
}
.colorpicker_new_color {
	position: absolute;
	width: 60px;
	height: 30px;
	left: 213px;
	top: 13px;
	background: #f00;
}
.colorpicker_current_color {
	position: absolute;
	width: 60px;
	height: 30px;
	left: 283px;
	top: 13px;
	background: #f00;
}
.colorpicker input {
	background-color: transparent;
	border: 1px solid transparent;
	position: absolute;
	font-size: 10px;
	font-family: Arial, Helvetica, sans-serif;
	color: #898989;
	top: 4px;
	right: 11px;
	text-align: right;
	margin: 0 !important;
	padding: 0 !important;
	height: 13px !important;
	width: 31px !important;
	outline:none;
	
	-webkit-touch-callout: auto;
	-webkit-user-select: auto;
	-khtml-user-select: auto;
	-moz-user-select: auto;
	-ms-user-select: auto;
	user-select: auto;

}
.colorpicker_hex {
	position: absolute;
	width: 72px;
	height: 22px;
	background: url('/web/images/custom_hex.png') top;
	left: 212px;
	top: 142px;
}
.colorpicker_hex input {
	right: 6px;
	width: 46px !important;
}
.colorpicker_field {
	height: 22px;
	width: 62px;
	background-position: top;
	position: absolute;
}
.colorpicker_field span {
	position: absolute;
	width: 12px;
	height: 22px;
	overflow: hidden;
	top: 0;
	right: 0;
	cursor: n-resize;
}
.colorpicker_rgb_r {
	background-image: url('/web/images/custom_rgb_r.png');
	top: 52px;
	left: 212px;
}
.colorpicker_rgb_g {
	background-image: url('/web/images/custom_rgb_g.png');
	top: 82px;
	left: 212px;
}
.colorpicker_rgb_b {
	background-image: url('/web/images/custom_rgb_b.png');
	top: 112px;
	left: 212px;
}
.colorpicker_hsb_h {
	background-image: url('/web/images/custom_hsb_h.png');
	top: 52px;
	left: 282px;
}
.colorpicker_hsb_s {
	background-image: url('/web/images/custom_hsb_s.png');
	top: 82px;
	left: 282px;
}
.colorpicker_hsb_b {
	background-image: url('/web/images/custom_hsb_b.png');
	top: 112px;
	left: 282px;
}
.colorpicker_submit {
	position: absolute;
	width: 22px;
	height: 22px;
	background: url('/web/images/colorpicker_submit.png') top;
	left: 322px;
	top: 142px;
	overflow: hidden;
}
.colorpicker_reset {
	position: absolute;
	width: 22px;
	height: 22px;
	background: url('/web/images/colorpicker_reset.png') top;
	left: 322px;
	top: 142px;
	overflow: hidden;
}
.colorpicker_focus {
	background-position: center;
}
.colorpicker_hex.colorpicker_focus {
	background-position: bottom;
}
.colorpicker_submit.colorpicker_focus {
	background-position: bottom;
}
.colorpicker_slider {
	background-position: bottom;
}
.colorpicker_reset.colorpicker_focus {
	background-position: bottom;
}

#add-script, #add-css {
    -moz-tab-size : 2;
      -o-tab-size : 2;
         tab-size : 2;
}

@media print {
	.pulsante {display:none;}
}