/*
    Created on : 24-ago-2017, 12.54.42
    Author     : Komunica
*/
body {
    background-color: #f5f5f5;
}

.relative {
    position: relative;
}
.absolute {
    position: absolute;
}

.o-hidden {
    overflow: hidden;
}

.o-auto {
    overflow: auto;
}

.alert.compact {
    margin-bottom: 0;
    padding: 4px;
    font-size: 85%;
}

.m-0 {
    margin: 0;
}
.m-15 {
    margin: 15px;
}
.m-b-0 {
    margin-bottom: 0;
}
.m-b-5 {
    margin-bottom: 5px;
}
.m-b-10 {
    margin-bottom: 10px;
}
.m-b-15 {
    margin-bottom: 15px;
}
.m-b-20 {
    margin-bottom: 20px;
}
.m-l-0 {
    margin-left: 0;
}
.m-l-5 {
    margin-left: 5px;
}
.m-l-10 {
    margin-left: 10px;
}
.m-l-15 {
    margin-left: 15px;
}
.m-l-20 {
    margin-left: 20px;
}

.m-r-0 {
    margin-right: 0;
}
.m-r-5 {
    margin-right: 5px;
}
.m-r-10 {
    margin-right: 10px;
}
.m-r-15 {
    margin-right: 15px;
}
.m-t-0 {
    margin-top: 0;
}
.m-t-5 {
    margin-top: 5px;
}
.m-t-10 {
    margin-top: 10px;
}
.m-t-15 {
    margin-top: 15px;
}
.m-t-20 {
    margin-top: 20px;
}

.p-l-50 {
    padding-left: 50px!important;
}
.p-t-0 {
    padding-top: 0;
}
.p-t-20 {
    padding-top: 20px!important;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
}

.draggable-item {
    cursor: move!important;
}

.vertical-middle {
    margin-top: 50%;
    transform: translateY(-50%);
}

a.list-group-item:focus,
a.list-group-item:hover,
button.list-group-item:focus,
button.list-group-item:hover {
    text-decoration: none!important;
}
.list-group-item-text {
    line-height: 1;
    font-size: 85%;
}

/* Sistema */
#pageHead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
}
#pageBody {
    margin-top: 52px!important;
}
.drag-contentarea > #pageBody {
    margin-top: 10px!important;
}
header.Header.Headroom--fixed {
    top: 52px!important;
}

.admin-mode .Header {
    z-index: 99;
}

.panel-default>.panel-heading {
    font-weight: bold;
}

.panel-body .formBody {
    padding-left: 15px;
    padding-right: 15px;
}
.help-block {
    margin-bottom: 0;
    font-size: 85%;
}

#pageHead .navbar {
    font-size: 14px;
    border-radius: 0;
}

.navbar-nav > li > a > .fa,
.dropdown-menu > li > a > .fa {
    margin-right: 3px;
}

.with-shadow {
    box-shadow: 0 10px 10px rgba(53, 53, 53, 0.6);
}


.form-group.with-hr {
    margin-top: 10px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}


#ora_sistema {
    position: inherit;
    background: none;
    height: inherit;
    line-height: inherit;
    padding-left: 0;
}
#ora_sistema:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f017";
    margin-right: 4px;
}

.cnt-highlighted {
    border: 1px solid red;
}
.block-highlighted {
    border: 1px solid #2795EE;
}

/* Panel customization */
.panel {
    font-size: 14px!important;
}
.drag-resizearea {
    margin-top: -2px;
    margin-right: -14px;
}

/* Square buttons */
.ar-1-1 {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.ar-1-1:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.ar-1-1>div,
.ar-1-1>a.btn {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.ar-1-1>a.btn {
    text-align: center;
    font-size: 12px;
    white-space: normal;
}


/* Absolute Center Spinner */
#mask {
    content: '';
    display: block;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(53,53,53,0.5);
}
#mask2 {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 2em;
    line-height: 2em;
    z-index: 1000;
    color: #fff;
    text-align: center;
}

/* LOGIN */
#login_check #pageBody {

}

/* CMS Windows */
.cmswin{
    position: absolute;
    visibility: hidden;
    box-shadow: 5px 10px 10px rgba(53,53,53,0.6);
    /*
    border:1px solid #69c;
    background-color:white;
    */
}
.cmswin iframe{
    border:0
}
.drag-handle{
    cursor:move;
    overflow:hidden;
    width:auto;
    /*
    font:bold 10px Verdana;
    background:url(../../img/admin/wnc.jpg);
    color:#036;
    margin:0;
    height:22px;
    line-height:22px;
    padding-left:5px;
    */
}
.drag-handle .drag-controls{
    position: absolute;
    cursor:pointer;
    /*
    right:3px;
    top:3px;
    */
    right: 10px;
    top: 10px;
}
.drag-contentarea{
    /*
    border-top:1px solid #eee;
    */
    background:white;
    color:black;
    height:150px;
    /* padding:2px; */
    overflow:auto;
}
.drag-statusarea{
    border-top:1px solid #f8f8f8;
    background:#eee;
    height:13px;
}
.drag-resizearea{float: right;width: 13px;height: 13px;cursor: nw-resize;font-size: 0;}

/* Customizzazioni per contenuti popup */
#configSito,
#css,
#image,
#objects,
#root,
#struct,
#users {
    background: #fff;
}
#configSito #pageBody,
#css #pageBody,
#objects #pageBody,
#root #pageBody,
#struct #pageBody,
#users #pageBody {
    margin-top: 10px!important;
}
#image #pageBody {
    padding-top: 50px!important;
    margin-top: 0!important;
}
#image #pageBody.no-padding {
    padding: 0!important;
    margin-left: -15px;
    margin-right: -15px;
}

td.del {
    width: 1px;
    white-space: nowrap;
}

.elenco-blocchi .list-group-item {
    min-height: 68px;
}

#c1 {
    position: relative;
}
#formRenameNodo {
    position: absolute;
    left: auto;
    right: 0;
    width: 80%;
}
#formRenameNodo .form-group {
    margin-bottom: 5px;
}

/* Finestra Azioni */
#finestraAzioni {
    left: 10px;
    top: 64px;
    min-width: 200px;
    box-shadow: 5px 10px 10px rgba(53,53,53,0.6);
}
#finestraAzioni > div {
    padding: 5px 10px;
}
#elencoAzioni .riga {
    border-bottom: 1px dotted #ccc;
    margin-top: 4px;
    padding-bottom: 4px;
}
#elencoAzioni .riga:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Multimedia */
.boxAction {
    padding: 30px 10px 10px 10px;
    margin-bottom: 20px;
}
.box-file > a {
    min-width: 100px;
    min-height: 100px;
}

/*JCROP*/
.jcrop-holder{text-align:left;}
.jcrop-vline, .jcrop-hline{font-size:0;position:absolute;background:white url('../img/Jcrop.gif') top left repeat;
    /*
    opacity: .5;
    *filter:alpha(opacity=50);
    */
}
.jcrop-vline{height:100%;width:1px !important;}
.jcrop-hline{width:100%;height:1px !important;}
.jcrop-handle{font-size:1px;width:7px !important;height: 7px !important;border:1px #eee solid;background-color:#333;
	*width: 9px;
	*height: 9px;
}
.jcrop-tracker {
	*background-color: gray;
	width:100%;height:100%;
}
.custom .jcrop-vline,.custom .jcrop-hline{background:yellow;}
.custom .jcrop-handle{border-color: black;background-color: #C7BB00;-moz-border-radius: 3px;-webkit-border-radius: 3px;}

/* FIX PER BLOCCHI IN MODALITÀ ADMIN */
.admin-mode .Spid {
    display: block!important;
}

/* QUADRO USER */ 
#quadro {
    width: 100%;
}
#quadro td {
    width: 50%;
    vertical-align: top
}
#quadro fieldset{
    border: 1px solid #ccc;
    padding:2px 5px;
    margin:10px 10px 0
}