html {
  font-size: 16px;
}
body {
  font-size: 11px;
	padding-top: 40px;
	height: 100%;
  padding-bottom: 40px;
}

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

.d-flex {
  display: flex;
}

.flex-grow-1 {
  flex-grow: 1!important;
}

.align-items-center {
  align-items: center;
}

.ml-auto {
  margin-left: auto;
}

.mt-3, .my-2, .m-2 {
  margin-top: 16px;
}

.mb-3, .my-3, .m-3 {
  margin-bottom: 16px;
}

.pl-1, .px-1, .p-1 {
  padding-left: 4px;
}

.pr-1, .px-1, .p-1 {
  padding-right: 4px;
}

.pt-1, .py-1, .p-1 {
  padding-top: 4px;
}

.pb-1, .py-1, .p-1 {
  padding-bottom: 4px;
}

.pl-2, .px-2, .p-2 {
  padding-left: 8px;
}

.pr-2, .px-2, .p-2 {
  padding-right: 8px;
}

.pt-2, .py-2, .p-2 {
  padding-top: 8px;
}

.pb-2, .py-2, .p-2 {
  padding-bottom: 8px;
}

.text-start {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-end {
  text-align: right;
}

.text-bold {
  font-weight: 600;
}

.f5 {
  font-size: 14px;
}

.text-gray-light {
  color: #6a637d!important;
}

.text-color-icon-directory {
  color: #79b8ff;
}

.border-start {
  border-left: 1px solid #e9e9e9;
}

.border-end {
  border-right: 1px solid #e9e9e9;
}

h1.page-title {
  font-size: 20px;
  line-height: 30px;
}

h2.subtitle {
	font-size: 11px;
	font-weight: normal;
	line-height: 20px;
	margin: -15px 0 15px;
  color: #999;
}

.float-left {
  float: left;
}
.float-right {
  float: right;
}

/*
*	Layout
*
*/

#page {
    position: absolute;
    top: 40px;
    bottom: 0;
    right: 0;
    left: 0;
}
#sidebar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    background-color: #f5f5f5;
    border-right: 1px solid #d4d4d4;
    box-shadow: inset -7px 0 12px -9px rgba(102,102,102,0.2);
}
#content {
    position: absolute;
    top: 0;
    left: 250px;
    right: 0;
    bottom: 0;
    padding: 20px;
    overflow: auto;
}

/*
	sidebar-list
 */

.sidebar-list {
	list-style: none;
	margin: 20px;
	padding: 0;
}

.sidebar-list a {
	display: block;
	padding: 8px 6px;
	color: #000;	
	text-decoration: none;
	border-bottom: 1px solid #e5e5e5;
}

.sidebar-list a:hover {
	background-color: #fff;
	text-decoration: none;
}


.sidebar-list li.active a {
	background-color: #fff;
	font-weight: bold;
}

.sidebar-list ul {
	margin: 0;
	padding: 0;
}

.sidebar-list ul a {
	padding-left: 35px;
}

.sidebar-list .section-title {
	font-size: 11px;
	text-transform: uppercase;
	color: #666;
	font-weight: bold;
	padding: 5px 20px;
}

.sidebar-list .sep {
	height: 20px;
}

/*
	Home page
 */
.home-search {
	width: 600px;
	margin: 50px auto;
}

.home-search h2 {
	font-size: 16px;
	text-align: center;
}

.home-search input[name=q] {
	font-size: 16px;
	padding: 6px 10px;
	border: 1px solid #ccc;
	width: 560px;
	box-sizing: border-box;
	outline: none;
	display: inline-block;
}

.home-search button {
	width: 33px;
    height: 33px;
    display: inline-block;
	font-size: 14px;
}

.home-search .info {
	font-size: 12px;
	padding: 4px 0 15px;
	color: #666;
}

.home-search .radio_wrap {
	display: inline-block;
	padding: 5px 10px 5px 5px;
	line-height: 13px;
}

.home-search .radio_wrap input {
	margin-right: 3px;
}





.page-actions {
    list-style: none;
    margin: 0;
    padding: 0 0 0 20px;
    float: right;
}

.page-actions>li {
    display: inline-block;
}

table.dettails {
	width: 100%;
	border-top: 1px solid #d4d4d4;
	border-collapse: collapse;
}

table.dettails td {
	vertical-align: top;
	padding: 0;
}

table.dettails>tbody>tr>td:nth-child(1) {  
	color: #333;
	font-weight: bold;
	width: 150px;
	padding: 5px;
}

table.dettails table {
	width: 100%;
}

table.dettails>tbody>tr>td>table>tbody>tr:nth-child(1)>td {
	border: 0;
}

table.dettails table tr td {
	border-top: 1px solid #f4f4f4;
	padding: 5px;
}

table.dettails>tbody>tr>td>table>tbody>tr>td:nth-child(1) {  
	color: #999;
	width: 150px;
}

table.dettails .nolabel {
	color: #333 !important;
	width: 100% !important;
}

table.dettails .colmod {
	width: 1%;
	vertical-align: top;
	text-align: center;
	padding: 10px;
}

table.dettails.hover>tbody>tr:hover {
	background-color: #f2f2f2;
}

table.dettails .rowmodding {
	display: none;
}

table.dettails.hover>tbody>tr:hover .rowmodding {
	display: block;
}

.table-tools {
	margin: 20px 0 10px 0;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
}

.table-actions {
  padding: 0 0 10px 0;
}

/*
	Two column layout
*/

.two-col-layout {
	margin: 0 auto 40px auto;
	display: table;
	width: 100%;
	vertical-align: top;
}

.two-col-layout .sidebar {
	display: table-cell;
	width: 250px;
	vertical-align: top;
}

.two-col-layout .content {
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	vertical-align: top;
	min-height: 350px;
}

.page-header {
    padding: 15px;
    background-color: #ecf0f5;
    border-bottom: 1px solid #d9e0ea;
}

.page-header h1+p {
	margin-top: -10px;
}

.page-content {
	padding: 15px;
}

.page-url {
  display: none;
  padding: 5px;
  border: 1px dotted #ccc;
}

.page-url input.form-control {
  width: 100%;
}

.sidebar-title {
	width: 250px;
	font-size: 16px;
	font-weight: bold;
	line-height: 20px;
	padding: 14px 15px 0;
  	text-overflow: ellipsis;

  	/* Required for text-overflow to do anything */
  	white-space: nowrap;
  	overflow: hidden;
}

.sidebar-nav {
	margin: 15px 0 15px 15px;
}

.sidebar-nav ul {
	padding: 5px 0;
	margin: 0;
	width: 100%;
	list-style: none;
	border-bottom: 1px solid #e9eaed;
	margin-bottom: 5px;
}

.sidebar-nav li {
	text-align: left;
	display: block;
}

.sidebar-nav li a {
	padding: 5px;
	color: #000;
	text-decoration: none;
	display: block;
}

.sidebar-nav li a:hover, .sidebar-nav li a.active {
	background-color: #D7DEEB;
}

.sidebar-nav li a.active {
	font-weight: bold;
}

.sidebar li.title {
	font-weight: bold;
	color: #999;
	padding: 5px;
}

/*
	Box no data
*/
tr.nodata:hover {
  background-color: #f2f2f2 !important;
  cursor: default !important;
}
.box-no-data {
	border: 1px solid #bbb;
	background-color: #F6F7F8;
	text-align: center;
	padding: 40px;
	font-size: 13px;
	color: #666;
}

/*
Loading
*/
/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*
Trash btn
*/
.trash-btn {
  padding: 2px;
  color: #666;
}
.trash-btn:hover {
  background-color: #5B74A8;
  color: #fff;
}

/*
Upload wrapper
*/
.upload-wrapper{
  margin-top: 10px;
  border: 1px solid #bbbcc0;
  position: relative;
}

.upload-wrapper:after, .upload-wrapper:before {
  bottom: 100%;
  left: 10%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.upload-wrapper:after {
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #ffffff;
  border-width: 8px;
  margin-left: -8px;
}
.upload-wrapper:before {
  border-color: rgba(187, 188, 192, 0);
  border-bottom-color: #bbbcc0;
  border-width: 9px;
  margin-left: -9px;
}

.upload-wrapper .content {
  padding: 5px 10px;  
}

.upload-wrapper .buttonbar {
  background-color: #f2f2f2;
  border-top: 1px solid #e5e5e5;
  padding: 5px 10px;
}

/*
collapse
*/
.collapse {
  display: none;
}
.collapse.show {
  display: block;
}

.collapse-btn {
  text-align: center;
  display: block;
  background-color: #edeff4;
  border: 1px solid #e2e7ef;
  padding: 10px;
}
.collapse-btn.hide {
  display: none;
}

/*
Pages list
*/
.pages-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pages-list li {
  padding: 15px 10px 15px 0;
  border-bottom: 1px solid #e9e9e9;
  display: flex;
}

.pages-list .icon {
  width: 40px;
  font-size: 16px;
  text-align: center; 
}

.pages-list .content {
  flex-grow: 2;  
}

.pages-list .content p {
  margin: 5px 0 0 0;
}

.pages-list .title{
  font-weight: bold;
  font-size: 12px;

}

.pages-list .info {
  color: #999;
  padding: 7px 0;
  font-size: 11px;
}

.pages-list li:hover {
  background-color: #fafbfd;
}


.table th, .table td {
  padding: 8px;
}

.table td {
  border-right: none;
}

.table tr.hover {
  cursor: pointer;
}

.table+.box-no-data {
  border-top: 0;
}
.table .delete_row .fa-trash-alt {
  color: #999;
}

.table .delete_row .fa-trash-alt:hover {
  color: #333;
}

/*
  Bacheca discussione
  */
.bacheca-head {
  background-color: #f2f2f2;
  border-top: 1px solid #ccc;
  padding: 7px 7px 15px;
  color: #666;
}

.messages {
  margin-top: 10px;
}

.messages .box-send {
  padding: 5px;
  text-align: right;
}

.new-message {
  display: flex;
  border-bottom: 1px solid #ebedf0;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.new-message .text {
  flex-grow: 2;
  padding: 0 0 0 10px ;
}

.new-message textarea {
  width: 100%;
  height: 50px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 12px;
  resize: none;
}

.message {
  display: flex;
  border-bottom: 1px solid #ebedf0;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.message .pic {
  width: 50px;
}

.message .content {
    padding: 0 0 0 10px;
    flex-grow: 2;
}

.message .text .username {
  font-weight: bold;
  font-size: 12px;
  line-height: 20px;
}

.message .text .body {
  font-size: 12px;
  padding: 7px 0;
}

.message .risposte {
  border-top: 1px solid #ebedf0;
  padding: 5px 0;
}

/* Uploader */
.uploading {
display:none;
  position: fixed;
  z-index: 999;
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-align : center;
  background-color: rgba(255,255,255,0.4);
}
.uploading .shadow {
  margin-top: 100px;
  width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  background-color: rgba(0,0,0,0.5);
  border-radius: 10px;
}
.uploading .head {
  text-align: left;
  background-color: #6d84b4;
  line-height: 20px;
  padding: 2px 10px;
  color: #fff;
  font-weight: bold;
  border: 1px solid #5c6f97;
  border-bottom: 0;
}
.uploading .content {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  background-color: #fff;
  border-right: 1px solid #8c8c8c;
  border-left: 1px solid #8c8c8c;
}

.uploading .footer {
  background-color: #f1f1f1;
  border: 1px solid #8c8c8c;
  border-top: 1px solid #e5e5e5;
  padding: 5px 10px;
  text-align: right;
}

.uploading .content > .status {
  padding: 0 0 5px;
}
.uploading .file-list {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
  max-height: 200px;
  overflow: auto;
  display: none;
}

.uploading .file-list li {
  /*border-bottom: 1px solid #e3e3e3;*/
  padding: 10px;
  display: flex;
}

.uploading .file-list li:nth-child(odd) {
    background: #f6f7f9;
}

.uploading .file-list .filename {
  flex-grow: 2;
}
.uploading .file-list .status {
  width: 100px;
  text-align: right;
}
.progressbar {
  border-top:1px solid #d3d3d3;
  border-bottom: 1px solid #eaeaea;
  border-right: 1px solid #c4c4c4;
  border-left: 1px solid #c4c4c4;
  height: 18px;
  margin: 0;
}
.progressbar .bar {
  background-color:#6d84b4;
  display:block;
  height:18px;
  width:0;
}

th[role=columnheader]:not(.no-sort) {
  cursor: pointer;
}

th[role=columnheader]:not(.no-sort):after {
  content: '';
  float: right;
  margin-top: 7px;
  margin-left: 7px;
  border-width: 0 4px 4px;
  border-style: solid;
  border-color: #404040 transparent;
  visibility: hidden;
  opacity: 0;
  -ms-user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

th[aria-sort=descending]:not(.no-sort):after {
  border-bottom: none;
  border-width: 4px 4px 0;
}

th[aria-sort]:not(.no-sort):after {
  visibility: visible;
  opacity: 0.4;
}

th[role=columnheader]:not(.no-sort):hover:after {
  visibility: visible;
  opacity: 1;
}

/*
* Sidebar
*/
.sidebar {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-item-label {
  text-transform: uppercase;
  color: #666;
  font-weight: 600;
  padding: 4px 8px;
}

.sidebar-item {
  display: block;
  padding: 4px 8px;
  color: #333;
}

.sidebar-item:hover, .sidebar-item.active {
  background-color: #d8deea;
  text-decoration: none;
}

.sidebar-item.active {
  font-weight: 600;
}