﻿body {
}

.nlayout-content > h1{display:none;}
.dropdown-menu{
    min-width:340px;
}

body[data-layout=horizontal] .container-fluid, body[data-layout=horizontal] .navbar-header {
     max-width: 100%; 
}
div.card-body > h1 {
    font-size: 1.3em;
    margin: 0px;
    margin-bottom: 10px;
    text-transform: uppercase;
}


div.card-body legend > h4 {
    font-size: 0.8em;
    margin: 0px;
    margin-bottom: 10px;
    text-transform: uppercase;
}


a, a:hover, a:visited a:link
{
    color:black;
}

 
 input
 {
     float:left;
     display:block;
 }
 br
 {
     clear:both;
 }
  

.textbox, .label
{
    color:black;
    padding:2px;
    margin-bottom:10px;
}

.textbox, .AssociazioneSezioneTextClass button, .AssociazionePaginaTextClass button
{   
    background-color:#ffffff;
    /*background-image:url('../../images/blend.ashx?w=100&h=36&c1=ffffff&c2=dddddd&angle=90&border=0');*/ 
    border:1px solid #cccccc;   
     -moz-border-radius: 0px;
     border-radius: 0px;
     height:36px;
     width:96%;
     margin-left:1%;    
     text-indent:5px;
     font-size:16px;
      max-width:340px;
}
    .AssociazioneSezioneTextClass li , .AssociazionePaginaTextClass li{
        display:inline-block; padding:0px; text-align:left; margin:0px; position:relative; float:left; clear:both;
    }

.AssociazioneSezioneTextClass button, .AssociazioneSezioneTextClass, .AssociazionePaginaTextClass, .AssociazionePaginaTextClass button { width:360px; max-width:360px;}

i.fa-2 {
    font-size: 2.0em;
}
input.StringFontAwesomeClass { max-width:270px; margin-right:5px;}
span.StringFontAwesomeClass { margin-right:5px; display:none;  }

input.StringUrlClass { max-width:340px;    }
input.Int32TextClass { max-width:100px; }
input.textbox.DateTimeTextClass { max-width:100px; }
input.textbox.StringColorPickerClass { max-width:100px; background-image:none;}

span.selected-color-box {
    width: 36px;
    height: 36px;
    margin-left: 10px;
    border: 1px solid #000; display:inline-block;
}
select.StringTextClass { max-width:348px; }
textarea.textboxMulti, textarea.StringMultilineClass, textarea.StringHtmlClass
{
    background-color:#ffffff;
    /*background-image:url('../../images/blend.ashx?w=100&h=70&c1=ffffff&c2=eeeeee&angle=270&border=0');*/ 
    background-repeat:repeat-x;
    border:1px solid #cccccc;      
    padding:3px;
    max-width:340px;
    height:90px;
    text-align:left;
     -moz-border-radius: 0px;
     border-radius: 0px; 
     width:96%;   
     margin-left:1%;  
}

input.StringHtmlClass { background-color:#ffffff;  max-width:500px;
}

div.StringHtmlDiv { margin-bottom:15px;
}

div.multipleselect {
    max-width: 348px; width:100%!important; margin-bottom:10px; margin-top:2px;
}

    div.multipleselect .ms-drop ul > li label { clear:both;
    }

    div.multipleselect  .ms-choice { height:36px; line-height:36px; font-size:16px;
    }
    
    .activerow {
        border: 1px solid #ffffff;
    }
.activerow:hover
{   
    background-color:#eeeeff;
    margin-bottom:5px;
      border:1px solid #cccccc;   
     -moz-border-radius: 0px;
     border-radius: 0px;
    margin-bottom:1px;
}


div.progressdivadmin
{
    left:0px;
    top:0px;
    position:fixed;
    width:100%;
    height:100%;
    display:block;
   opacity:0.4;
   filter:alpha(opacity=40); 
   background-color:#000000;
   background-repeat:no-repeat;
   background-position:center center;
}

span.progressdivadmin
{
     -moz-border-radius: 0px;
     border-radius: 0px;
      display:block;
       left:50%;
    top:50%;
    position:fixed;
    padding:20px;
    background-position: center center;
    background-repeat:no-repeat;
    background-image:url('../images/fancybox_loading.gif');
    width:36px;
    height:36px;
    margin-left:-18px;
    margin-top:-18px;
    padding:5px;
    background-color:#000000;
}

tr.even, tr:nth-of-type(2n+1) { background-color:white;
}
tr.odd, tr:nth-of-type(2n) {
    background-color: #eeeeee;
}
tr.sub-level-bottom, tr.sub-level-top {
    background-color: #fceceb;
    border: 2px solid red;
    border-right: 2px solid red!important;
}

    tr.sub-level-top { border-bottom:none;}
tr.sub-level-bottom{
    border-top: none;
}

    tr.highlighted {
        border: 2px solid red;
    }

a.empty img { opacity:0.3;}

input[type=submit], .buttonadd, .buttonsave {
    -moz-box-shadow: inset 0px 1px 0px 0px #27333a;
    -webkit-box-shadow: inset 0px 1px 0px 0px #27333a;
    box-shadow: inset 0px 1px 0px 0px #27333a;
    background-color: #27333a;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    border: 1px solid #dcdcdc;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none!important;
    text-shadow: 0px 1px 0px #240910;
    text-align: center;
}
    input[type=submit]:hover, .buttonadd:hover, .buttonsave:hover {
        background-color: #44535c;
        color: #ffffff;
    }
    input[type=submit]:active {
        position: relative;
        top: 1px;
	color:#ffffff;
    }

div.pagetitle { display:none;}

    div.pagetitle a { color:white;
    }
span.sottotitolo {
    padding-bottom: 20px;
    display: block;
}

table.checkboxlist input[type=checkbox] + label {
    font-weight: normal;
}

div.content {padding:20px;}

table.grid td { padding:10px 15px;  }
.grid td, .grid th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #babfc7;
}
.table-bordered td, .table-bordered th {
    border: 1px solid #babfc7;
}

    /*.grid tr:last-of-type td{
        border:none;
    }*/
    table.grid td a, h1 a {
        text-decoration: underline !important;
    }

table.grid a.openpopup img {
    background-image:url(../images/transparentgrid.png);
}


div.pagebreak { display:inline-block; float:left; min-width:380px; padding-right:20px; }

@media all and (max-width : 768px) {
    input[type=submit], .buttonadd, .buttonsave {
        max-width:400px; 
        margin-left:1%;
    width:96%;
    max-width:400px;
    padding-left:0px; padding-right:0px;
    }
    h1,span.sottotitolo {display:none;}
    div.pagetitle {
        background-color: #722f8b;
        width: 100%;
        height: 30px;
        display: block;
        text-align:center;
        color:white;
        line-height:30px;
         font-weight:bold;
    }

    
div.pagebreak { display:block; float:none; min-width:initial;}

    table.grid td {  padding-left:1px; padding-right:1px;  }
   
    
    div.content {padding:0px; padding-top:10px;}

}

input.DateTimeWithTimeTextClass { width:42%; }
/*div.dynfieldpanel.StringTextDiv, div.dynfieldpanel.Int32TextDiv, div.dynfieldpanel.BooleanTextDiv {
    width: 100%;
    max-width: 300px;
    display: block;
    height: 70px; float:left;
}*/
div.dynfieldpanel.BooleanTextDiv {
    max-width:150px;
}
    div .dynfieldpanel .timepicker {
    width: 42%;
}
div.BooleanTextDiv {
    float: left;
    min-width: 150px;
}

div.dynfieldpanel.AttachmentsTextDiv{
    max-width:760px;

}

div.separator {
    display: block;
    clear: both;
    height: 2px;
    width: 100%;
}
        span.label { font-weight:bold;        }

        input[type=checkbox] {font-weight:bold;   margin-bottom:10px;
        }
            input[type=checkbox] + label {font-weight:bold; 
            }




@media all and (min-width:1700px){
    div.content{
    padding-left:60px;
    padding-right:60px;
    }

}

a.buttonadd.sublevel {
    background-color: transparent;
    background: none;
    color: #64237d;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    float: right;
    padding: 8px;
    border:none;
    text-shadow:none;
    box-shadow:none;
    font-style:italic;
}

.risorse-grid {
    margin-top: 10px;
    max-width: 760px;
    width: 760px;
}

.risorse-row .img-wrap {
    height: 100%;
    display: flex;
    float: left;
    min-height: 46px;
    width: 55px;
    margin-left: 10px;
    background-size: auto 44px;
    padding-right: 15px;
}
    .risorse-row .img-wrap img{
        display:flex; margin:auto;
        max-width:100%; max-height:100%;
        vertical-align:middle; text-align:center;
    }   
    .risorse-row .description-wrap {
       
        display: block;
        float: left;
        width: 490px;
    }
@media(max-width:820px)
{ 
    .risorse-grid {
        margin-left:1%;
        max-width: 96%;
        width: 96%;
    }
    .risorse-row div.buttons { width:100%; clear:both;
    }
    .risorse-row .img-wrap {
        display: none;
    }
    .risorse-row .description-wrap {
        width: 98%;
    }
    .risorse-row div.buttons{
        clear:both; float:left;
    }
}
.risorse-row.folder .img-wrap {
    background-image: url(../../common/images/folder.png);
    background-position: left center;
    background-repeat: no-repeat;
}

.risorse-row.folder a:hover .img-wrap {
    background-image: url(../../common/images/folder-opened.png);
    background-position: left center;
    background-repeat: no-repeat;
}
.risorse-row .img-wrap img {
    max-height: 36px;
    display: table-cell;
    vertical-align: middle;
}
.risorse-row.visible {
    float: left;
    width: 100%;
    padding: 1px;
    height: auto;
    background-color: #fff;
    border: 1px solid #aaaaaa;
    padding-top: 3px;
    padding-bottom: 5px;
    border-bottom: none;
    display: flex;
}
    .risorse-row.visible.alternate {
        background-color: #f9f9f9;
    }
    .risorse-row.visible:last-of-type {
        border-bottom: 1px solid #aaaaaa;
    }
        .risorse-row.folder a:hover span {
           text-decoration:underline;
        }
        .risorse-row .description-wrap {
            position: relative;
            text-align: left;
            word-break: break-all;
            font-family: 'Arial Narrow', Arial, sans-serif;
            font-size: 16px;
            padding-left: 2px;
            padding-top: 14px;
            padding-bottom:5px;
        }
.risorse-row div.buttons a{
    cursor:pointer;
}
.risorse-row div.buttons {
    margin-top: 6px;
    display: block;
    float: right;
    width: 200px;
    height: 100%;
    height: 30px;
}
            .risorse-row div.buttons span {
                display: block;
                width: 32px;
                height: 32px;
                border: 1px solid #ccc;
                float: right;
                margin-right: 10px;
                line-height: 32px;
                color: white;
                text-align: center;
                background-color: #eee;
                background-position: center center;
                background-repeat: no-repeat;
                background-size: 18px 18px;
            }
           
                .risorse-row div.buttons span.delete {
                    background-image: url(../../common/images/delete.png);
                }
                .risorse-row div.buttons span.rename {
                    background-image: url(../../common/images/rename.png);
                }
                .risorse-row div.buttons span.view {
                    background-image: url(../../common/images/view.svg);
                    background-size: 22px 22px;
                }
                .risorse-row div.buttons span.open {
                    background-image: url(../../common/images/world.png);
                }
                .risorse-row div.buttons span.pick {
                    background-image: url(../../common/images/link2.svg);
                }
.risorse-row.folder div.buttons span.open, .risorse-row.folder div.buttons span.view, .risorse-row.folder div.buttons span.rename, .risorse-row.folder div.buttons span.pick {
    visibility: hidden;
}
                    .risorse-row div.buttons span:hover {
                        border-color: black;
                        background-color: #fff;
                    }

body.CKEditor nav, body span.pick, body.InputPicker nav, body.CKEditor #page-topbar,
 body.InputPicker #page-topbar {
    display: none !important;
}

body.InputPicker span.pick, body.CKEditor span.pick {
    display: block !important;
}
input.textbox.PermissionsTextClass {
    display: none;
}
body.CKEditor, body.InputPicker {
    background-color: white;
}
body.CKEditor .page-content, body.InputPicker .page-content {
    margin-top: 0;
    padding-top: 0;
}
    body.CKEditor .page-content .card, body.InputPicker .page-content .card {
       border-style:none; box-shadow:none;
    }
    select.textbox:disabled {
        color: #aaaaaa;
        background-color: #eeeeee;
    }

body.login .card {
    background-color: #fff;
    background-clip: border-box;
    border-style:none;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    position:absolute;
}

a.logout-item {
    background-color: #ffffff;
    border: 1px solid #dadce0;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    display: block;
    letter-spacing: .15px;
    margin: 20px auto;
    outline: 0;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    width:220px;
}
#page-topbar .dropdown-item {
    padding-top: 15px;
    padding-bottom: 15px;
}
body[data-topbar=dark] .header-item{
    color:#666;
    font-weight:bold;
    padding-top:0;padding-bottom:0; height:50px;
}
body[data-layout=horizontal] .page-content, .topnav{
    margin-top:0;
}


.cke_combo__testo-dinamico-combo, .cke_combopanel__testo-dinamico-combo,.cke_combo__testo-dinamico-combo .cke_combo_text{
        width:400px!important;
    }