/*
 * GENERICO
 */
body {
  font-family: "Open Sans";
  font-size: 12px;
  line-height: 1.6;
  color: #101010;
  background: #e1e3e7;
}

body.login_bg {
  background: #e1e3e7;
  background-size: contain;  
}

.navbar {
  min-height: 32px;
}

.navbar-inverse {
	background-color: #253c54;
	border-color: #253c54;
}

.navbar-nav > li > a {
  padding-top: 5px;
  padding-bottom: 5px;
}

.navbar-brand {
	font-size: 18px;
	line-height: 54px;
	font-weight: 300;
}

.navbar-nav > li > .dropdown-menu {
	margin-top: 2px;
}

.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:hover, 
.navbar-default .navbar-nav > .open > a:focus {
	background-color: transparent;
}

.navbar-nav > li {
    margin-left: 0;
    margin-right: 10px;
}

.navbar-right > li {
    margin-left: 10px;
    margin-right: 0;
}

/*
 * PANNELLI
 */
.panel {
  margin-bottom: 0;
  background-color: #fff;
  border: none !important;
  border-radius: 0 !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.panel.panel-flat .panel-body {
  padding: 15px;
}
.panel.panel-flat > .container {
  padding: 0 !important;
}
.panel.panel-flat > .panel-heading,
.panel.panel-flat > .container > .panel-heading{
  padding: 10px 0 10px;
}

.panel-heading {
	background: #e1e3e7 !important;
	color: #253c54 !important;
	border-bottom: none;	
	border-radius: 0 !important;
}

h5.panel-title {
	font-size: 27px;
}

h5.panel-title small {
	font-size: 15px;
}

.heading-elements .heading-btn {
  margin-top: 0;
}

.panel.bg-slate-300 .panel-body {
  background: #f5f5f5 !important;
}

.panel-heading .heading-btn .btn {
  border-radius: 50%;
}

.panel-heading .heading-btn .dropdown-menu {
  margin: 6px 0 0;
  padding: 0;
}

.panel-heading .heading-btn .btn:hover, .panel-heading .heading-btn .btn:focus {
  background: #253c54;
  color: #fff;
}


/*
 * TABELLE
 */
table.table th.col-status,
table.stable td.col-status {
  width: 50px;
  text-align: center;
}
table.table th.option,
table.table td.option {
  width: 50px;
  text-align: center;
}
table.table-condensed > tbody > tr > td,
table.table-condensed > tbody > tr > th,
table.table-condensed > tfoot > tr > td,
table.table-condensed > tfoot > tr > th,
table.table-condensed > thead > tr > td,
table.table-condensed > thead > tr >th {
  padding: 5px 10px;
}

table.table td:not(.option) a {
  color: inherit;
}

table.table td:not(.option) a:hover {
  text-decoration: underline;
}

/*
 * BOTTONI
 */
.btn.btn-xs {
  padding: 2px 7px;
}

.btn-default {
  color: #253c54;
  background-color: #fff;
  border-color: #fff;
}

.btn-default:hover {
  background-color: #253c54;
  color: #fff;
  border-color: #253c54;
}

.btn-success {
  color: #fff;
  background-color: #0ab784;
  border-color: #0ab784;
}

.btn-success:hover {
  background-color: #0a9c6a;
  border-color: #0a9c6a;
}

.btn-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  background-color: #d32535;
  border-color: #d32535;
}


/*
 * TABS
 */
@media (min-width: 769px) {
  .panel-flat .heading-elements.panel-tabs > .nav-tabs > li > a {
    padding-top: 17px;
    padding-bottom: 17px;
  }
}


/*
 * IMAGE BOX
 */
.image-box {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  background: #ffffff;
  margin-bottom: 10px;
}
.image-box > .image {
  border-bottom: 1px solid #eeeeee;
}
.image-box > .options {
  padding: 5px 0;
  display: table;
  width: 100%;
}
.image-box > .options > a,
.image-box > .options > span {
  display: table-cell;
  width: auto;
  text-align: center;
  vertical-align: middle;
  height: 30px;
  font-size: 17px;
  color: #c0c0c0;
  -webkit-transition: color 120ms linear;
  -moz-transition: color 120ms linear;
  transition: color 120ms linear;
  border-right: 1px solid #eee;
}
.image-box > .options > a:hover {
  color: #101010;
}
.image-box > .option > a:last-child {
  border: none;
}



/*
 * BLOCK UI
 */
.blockMsg h3,
.blockMsg h4 {
  margin: 0;
  padding: 0;
}



/*
 * SORTABLE
 */
.sortable {
  -moz-transition: scale 80ms linear;
  -webkit-transition: scale 80ms linear;
  -o-transition: scale 80ms linear;
  transition: scale 80ms linear;
}

.sortable.ui-sortable-helper {
  transform: scale(1.04);
}


.sortable-list > .sortable-box {
  border: 1px solid #eee;
  box-shadow: 0 0 30px -10px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  background: #fff;
}

.sortable-list > .sortable-box .sortable-box-body {
  padding: 10px;
}

.sortable-list > .sortable-box .sortable-box-body a {
  color: #101010;
}

.sortable-list > .sortable-box .sortable-box-options {
  width: 100px;
  position: relative;
  float: right;
}

.sortable-list > .sortable-box .sortable-box-options .options {
  width: 100px;
  display: table;
  height: 65px;
}

.sortable-list > .sortable-box .sortable-box-options a,
.sortable-list > .sortable-box .sortable-box-options span {
  display: table-cell;
  color: #101010;
  vertical-align: middle;
  text-align: center;
}


/*
 * ALERT
 */
.alert.growl {
  opacity: 0;
  position: fixed;
  top: -100px;
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0px;
  border: none;
  padding: 24px 20px 23px !important;
  box-shadow: none;
}

.alert {
  opacity: 1 !important;
}


.alert-success {
	background: #009fe3;
	color: #fff !important;
}

.alert-info {
	background-color: #009fe3;
	color: #fff !important;
}

.alert-danger {
	background-color: #dc3545;
	color: #fff !important;
}

.alert a:hover {
	text-decoration: underline;
}



/*
 * SELECT 2
 */
.navbar-component .select2-container .select2-selection {
  border: none;
  cursor: pointer;
  outline: 0;
  display: block;
  height: 40px;
  min-width: 150px;
  padding: 11px 0;
  line-height: 1.5384616;
  position: relative;
  white-space: nowrap;
  border-radius: 3px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.navbar-component .select2-container {
  margin-right: 10px;
}
.navbar-component.navbar-inverse .select2-selection {
  color: #fff;
  background-color: transparent;
}
.select2-selection--single,
.select2-selection--multiple {
  height: 33px;
}

.select2-selection--multiple .select2-selection__choice,
.select2-selection--multiple .select2-selection__choice .select2-search .select2-search--inline {
  padding: 2.5px 12px;
}

.select2-selection--multiple .select2-search__field {
  padding: 3px 0 !important;
}

.select2-selection--multiple {
  min-height: 32px;
  height: auto;
}


/*
 * DATEPICKER
 */
.datepicker { z-index: 1051 !important; }


/*
 * DROPDOWN
 */
.nav.navbar-nav .dropdown-menu > li > a {
  padding: 5px 15px;
  outline: 0;
}

.dropdown-menu > li > a {
  padding-top: 5px;
  padding-bottom: 5px;
}



/*
 * IMAGE PREVIEW
 */
 #avatar-box { background: #f8f8f8; } 
 
.image-preview-box { position: relative;  margin: 0 auto; background-color: #fff !important; background-repeat: no-repeat !important; color: #ecf0f1; }
.image-preview-box.cover-box { width: 600px; height: 300px; }
.image-preview-box.locandina-box { width: 180px; height: 255px; }
.image-preview-box:hover label{ opacity: 1; }
.image-preview-box input { line-height: 160px; font-size: 160px; position: absolute; opacity: 0; z-index: 10; }
.image-preview-box label {
  position: absolute;
  z-index: 5;
  opacity: 0.0;
  cursor: pointer;
  background-color: #bdc3c7;
  width: 200px;
  height: 50px;
  font-size: 20px;
  line-height: 50px;
  text-transform: uppercase;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  text-align: center;
  -webkit-transition: opacity 120ms linear;
  -moz-transition: opacity 120ms linear;
  transition: opacity 120ms linear;
}
.image-preview-box .help-block {
  position: absolute;
  margin: 0;
  padding: 0 10px;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .70);
  color: #fff;
  line-height: 35px;
}

.image-preview-box.persona { width: 160px; height: 160px; }
.image-preview-box.link { width: 240px; height: 160px; background-size: contain !important;  }
.image-preview-box.area-tematica { width: 240px; height: 160px; }
.image-preview-box.testimonianza { width: 264px; height: 164px; }

/*
 * MODALS
 */
@media (min-width: 1025px) {
  .modal-lg {
    width: 1100px !important;
  }
}

.panel-footer {
  position: relative;
  padding-left: 0;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.panel-footer > .heading-elements {
  position: static;
  margin-top: 0;
}

.pt-3 {
  padding-top: 3px !important;
}


.search-wrapper {
  max-width: 600px;
  margin: 20px auto 0;
}


.navigation > li ul li a {
  padding-left: 18px !important;
}

.navigation li ul li a > i {
  margin-right: 5px;
}

.navigation > li > ul li:first-child,
.navigation > li > ul li:last-child {
  padding: 0;
}

/*
.sidebar-default .navigation li.open > a, .sidebar-default .navigation li.open > a {
  background: #f5f5f5;
}
*/

.media.text-media {
  position: relative;
  background: #fff;
  border: 1px solid #dfdfdf;
  margin-bottom: 10px;
}

.media.text-media .media-body {
  padding: 25px;
}

.media.text-media .media-options {
  opacity: 0;
  position: absolute;
  right: 10px;
  top: 10px;

  -webkit-transition: opacity 120ms linear;
  -moz-transition: opacity 120ms linear;
  -ms-transition: opacity 120ms linear;
  -o-transition: opacity 120ms linear;
  transition: opacity 120ms linear;
}

.media.text-media:hover .media-options {
  opacity: 1;
}

.media.text-media .media-options:after,
.media.text-media .media-options:before {
  content: '';
  clear: both;
  width: 1px;
}

.media.text-media .media-options a {
  display: block;
  float: right;
  width: 30px;
  text-align: center;
  line-height: 25px;
  border-radius: 15px;
}

.media.text-media .media-options a:not(:first-child) {
  margin-right: 10px;
}


.btn-add-container {
  background: transparent;
  border: 2px dashed #009fe3;
  line-height: 30px;
  color: #009fe3;
  margin-bottom: 20px;

  -webkit-transition: all 120ms;
  -moz-transition: all 120ms;
  -ms-transition: all 120ms;
  -o-transition: all 120ms;
  transition: all 120ms;
}

.btn-add-container:hover,
.btn-add-container:active {
  background: transparent;
  border-color: #253c54;
  color: #253c54;
}


.panel {
  overflow-x: visible !important;
}

.panel.sortable .panel-body {
	border-bottom: 2px solid #fff; 
}

.panel.sortable:hover .panel-body {
	border-bottom: 2px solid #009fe3; 
}

.panel.sortable .panel-body p,
.panel.sortable .panel-body ul,
.panel.sortable .panel-body ol,
.panel.sortable .panel-body li {
	font-size: 15px;
	line-height: 25px;
}

.panel .btn-save {
	display: none;
  -webkit-transition: all 120ms;
  -moz-transition: all 120ms;
  -ms-transition: all 120ms;
  -o-transition: all 120ms;
  transition: all 120ms;
}
.panel:hover .btn-save {
	display: block;
}

.page-container.flex {
  display: flex !important;
  height: calc(100% - 46px - 38px) !important;
}

.page-container.flex .page-content {
  display: flex !important;
  width: 100% !important;
}

.page-container.flex .content-wrapper {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
}

.page-container.flex .sidebar {
  flex: 1 0 auto;
}

.page-container.flex.flex-column .content-wrapper {
  flex-direction: column !important;
}

.flex-container {
  display: flex;
}

.flex-container.rows {
  flex-direction: row;
}

.flex-container.columns {
  flex-direction: column;
}

.flex-grow-1 { flex-grow: 1; flex-basis: auto; }
.flex-grow-0 { flex-grow: 0; flex-basis: auto; }

.flex-shrink-1 { flex-shrink: 1; flex-basis: auto; }
.flex-shrink-0 { flex-shrink: 0; flex-basis: auto; }

.w-100perc { width: 100%; }
.h-100perc { height: 100%; }

.list-group {
  padding: 0;
}

.list-group li.list-group-item {
  padding: 0 20px 0 5px;
  background: #fff;
  border-bottom: 1px solid #e1e3e7 !important;
  -webkit-transition: all 120ms ease;
  -o-transition: all 120ms ease;
  -moz-transition: all 120ms ease;
  transition: all 120ms ease;
  border-left: 2px solid transparent;
}

.list-group.list-group-clickable > .list-group-item:hover,
.list-group.list-group-clickable > .list-group-item.selected { background: #f1f1f1; border-left-color: #fac0c0; }
.list-group.list-group-clickable > .list-group-item.selected {
  padding-left: 25px;
  border-left-color: #db1313;
}


.list-group-content {
  display: table;
  width: 100%;
}

.list-group-content > div {
  display: table-cell;
  vertical-align: middle;
}

.list-group-content > div.list-group-item-position {
  width: 50px;
  text-align: center;
}

.list-group-content > div.list-group-item-points {
  width: 150px;
  text-align: center;
}

.list-group-content > div.list-group-item-title a,
.list-group-content > div.list-group-item-title > span {
  color: inherit;
  display: block;
  line-height: 38px;
}

.list-group-content > div.list-group-item-options {
  width: 100px;
  text-align: center;
}

.list-group-content > div.list-group-item-options > a {
  display: inline-block;
  color: inherit;
  padding: 10px 15px;
}

.context-menu-list {
  padding: 0;
}

.context-menu-list .context-menu-item {
  padding-top: 5px;
  padding-bottom: 5px;
}


.sidebar-default .navigation > li > a {
  border-left: 5px solid #f5f5f5;
}
.sidebar-default .navigation > li.active > a,
.sidebar-default .navigation > li.active > a:hover,
.sidebar-default .navigation > li.active > a:focus {
  background: #253c54;
  border-left-color: #009fe3;
  color: #ffffff;
}

.sidebar a[data-provide=delete] {
  background: #ff0f00 !important;
  color: #ffffff !important;
}

.sidebar-default .navigation > li > a[data-provide=delete] {
  border-left: 5px solid #dc0d00;
}

.sidebar a[data-provide=delete]:hover {
  background: #dc0d00 !important;
  color: #ffffff !important;
}


#images-browser-container,
#attachments-browser-container {
  display: flex;

  flex: 1 1 auto;
  flex-direction: column;
  max-height: 100%;
  position: relative;
}
#images-browser-container > .panel:first-child,
#attachments-browser-container > .panel:first-child {
  display: flex;

  flex: 1 1 auto;
  flex-direction: column;
}

#images-browser-container > .panel:first-child > .panel-body,
#attachments-browser-container > .panel:first-child > .panel-body {
  display: flex;
  flex-direction: column;
  position: relative;

  flex: 1 1 auto;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

#attachments-browser-container .panel-heading {
  -webkit-transition: box-shadow 220ms;
  -moz-transition: box-shadow 220ms;
  -ms-transition: box-shadow 220ms;
  -o-transition: box-shadow 220ms;
  transition: box-shadow 220ms;

  box-shadow: none;
  z-index: 1;
}

#attachments-browser-container .dz-processing {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: rgba(255, 255, 255, .35);
  height: 30px;
}

#image-browser,
#file-browser {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
}

#image-browser > header {
  flex: 0;
  height: 40px;
  border-bottom: 1px solid #e1e3e7;
}

#image-browser > main,
#file-browser > main {
  padding: 20px;
  overflow-y: auto;
  min-height: 400px;
}

#image-browser > .backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .65);
  z-index: 2;
}

#image-browser > aside {
  position: absolute;
  top: 0;
  right: -500px;
  bottom: 0;

  width: 500px;

  background: #fff;
  z-index: 3;
}

.imagebox-wrapper {
  padding: 5px;
}

.imagebox {
  padding: 0px;
  margin-bottom: 10px;

  border: 3px solid transparent;

  -webkit-transition: border 120ms;
  -moz-transition: border 120ms;
  -ms-transition: border 120ms;
  -o-transition: border 120ms;
  transition: border 120ms;
}

.imagebox:hover { border-color: rgba(37, 60, 84, 1); cursor: pointer; }
.imagebox.selected { border-color: #009fe3; }

.imagebox.selected:hover figcaption {
  display: none !important;
}


.imagebox figure > a {
  display: block;
  width: 100%;
  height: auto;
  min-height: 110px;

  position: relative;
  background: url('data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==') 50% no-repeat;
}

.imagebox:hover figure > a {

}

.imagebox.selected figure > a {

}

.imagebox figure figcaption {
  display: table;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.imagebox figure figcaption a {
  display: table-cell;
  color: #ffffff;
  text-align: center;
  vertical-align: middle;
  border-right: 1px solid #aaa;
}

.imagebox figure figcaption a:last-child {
  border: none;
}


/* ------------------------------------------------------------------------------------------------------------------- *
 * FILE ELEMENT
 * ------------------------------------------------------------------------------------------------------------------- */
.file-element {
  position: relative;
  border: none;

  margin-bottom: 2px;
  
  background: #e1e3e7;
  border-radius: 0;
  
  box-shadow: 0 7px 15px rgba(0, 0, 0, .0);

  -webkit-transition: border-color 120ms, box-shadow 120ms, background-color 120ms;
  -moz-transition: border-color 120ms, box-shadow 120ms, background-color 120ms;
  -ms-transition: border-color 120ms, box-shadow 120ms, background-color 120ms;
  -o-transition: border-color 120ms, box-shadow 120ms, background-color 120ms;
  transition: border-color 120ms, box-shadow 120ms, background-color 120ms;
}

.file-element.selected {
  box-shadow: 0 7px 15px rgba(0, 0, 0, .1);
  background: #ffffff;
}

.file-element .file-element-menu {
  position: absolute;
  width: 15px;
  height: 15px;
  right: 5px;
  top: 10px;
  text-align: center;
  color: #ccc;
}

.file-element .file-element-menu > a {
  -webkit-transition: color 120ms;
  -moz-transition: color 120ms;
  -ms-transition: color 120ms;
  -o-transition: color 120ms;
  transition: color 120ms;
  color: #aaa;
}
.file-element .file-element-menu > a:hover { color: #999; }

.file-element .file-element-body {
  padding: 10px;
  overflow: hidden;
}

.file-element .file-element-draggable {
  position: relative;
  width: 15px;
  margin-right: 5px;
  background: #f0f0f0;
}

.file-element .file-element-draggable:after {
  position: absolute;
  content: '';
  width: 1px;
  height: 100%;

  right: 0;
  margin: auto;

  border-left: 3px dashed #cdcdcd;
}

.file-element .file-element-draggable:hover {
  cursor: move;
}

.file-element .file-element-body h6,
.file-element .file-element-body p {
  margin: 0;
}

.file-element .file-element-body h6 {
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 25px;
  font-size: 13px;
  margin-bottom: 5px;
  font-weight: 600;
  color: #355577;
}

.file-element .file-element-body abbr {
  text-decoration: none;
  border: none;
}

.file-element .file-element-type {
  display: block;
  margin: 6px 5px;
  width: 60px;
  float: left;
}

.file-element .file-element-type a {
  display: block;
  width: 50px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 60px;
  overflow: hidden;
  text-align: center;
  background: #009fe3;
  color: #FFF;
}

.file-element .file-element-type a > i {
  font-size: 22px;
  line-height: 46px;
}
/* ------------------------------------------------------------------------------------------------------------------- */

#file-browser main .no-results,
#selected-list .no-results {
  display: flex;
  align-items: center;
  justify-content: center;

  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#file-browser main .no-results > div,
#selected-list .no-results > div {
  text-align: center;
}
#file-browser main .no-results > div h1,
#file-browser main .no-results > div p,
#selected-list .no-results > div h1,
#selected-list .no-results > div p {
  margin: 0;
  padding: 0;
  color: #355577;
}
#file-browser main .no-results > div .result-icon-box,
#selected-list .no-results > div .result-icon-box {
  margin-bottom: 25px;
}
#file-browser main .no-results > div .result-icon-box i,
#selected-list .no-results > div .result-icon-box i {
  font-size: 110px;
  color: #009fe3;
}

#attachments-browser-container #selected-list,
#attachments-browser-container #browser-list {
  display: flex;
  flex: 1 1 auto;
}

#attachments-browser-container #selected-list {
  overflow-y: auto;
}

#attachments-browser-container #selected-list ul {
  padding: 20px 30px;
  margin: 0;
  flex: 1 1 auto;
  z-index: 10;
}

#attachments-browser-container #browser-list {
  overflow: hidden;
  max-width: 400px;
  flex-direction: column;
}

#attachments-browser-container #browser-list .browser-list-search {
  background: #f5f5f5;
  border-bottom: 1px solid #e1e3e7;
}

#attachments-browser-container #browser-list .browser-list-search input {
  border: none;
  display: block;
  background: transparent;
  height: 50px;

  -webkit-transition: background 120ms;
  -moz-transition: background 120ms;
  -ms-transition: background 120ms;
  -o-transition: background 120ms;
  transition: background 120ms;
}
#attachments-browser-container #browser-list .browser-list-search input:focus,
#attachments-browser-container #browser-list .browser-list-search input:active {
  background: #fff;
}

#attachments-browser-container #browser-list ul {
  flex: 1 1 auto;
  overflow-y: auto;
}

#attachments-browser-container #browser-list .file-element {
  box-shadow: none;

  border-left: none;
  border-right: none;

  -webkit-transition: opacity 190ms;
  -moz-transition: opacity 190ms;
  -ms-transition: opacity 190ms;
  -o-transition: opacity 190ms;
  transition: opacity 190ms;
}
#attachments-browser-container #browser-list .file-element .file-element-body:hover {
  cursor: pointer;
}
#attachments-browser-container #browser-list .file-element:hover .file-element-type a,
#attachments-browser-container #browser-list .file-element.selected:hover .file-element-type a {
  background: #355577;
}
#attachments-browser-container #browser-list .file-element:hover .file-element-type i:before,
#attachments-browser-container #browser-list .file-element.selected:hover .file-element-type i:before {
  content: "\e9b8";
}
#attachments-browser-container #browser-list .file-element.disabled {
  opacity: 0.3;
}
#attachments-browser-container #browser-list .file-element.disabled:hover {
  border-top-color: transparent;
  opacity: 1;
}

#attachments-browser-container .file-element .file-element-labelbox {
  border-top: 1px dashed #e1e3e7;
  padding: 15px 15px 30px;
  background: #f0f0f0;
}

#attachments-browser-container #selected-list {
  border-right: 3px solid #009fe3;
  position: relative;
}

#attachments-browser-container #selected-list .file-element:hover .file-element-type a,
#attachments-browser-container #selected-list .file-element.active:hover .file-element-type a {
  background: #355577;
}
#attachments-browser-container #selected-list .file-element:hover .file-element-type i:before,
#attachments-browser-container #selected-list .file-element.active:hover .file-element-type i:before{
  content: "\e90e";
}

.form-group.no-border .cke_chrome {
  border: none;
}

/* ------------------------------------------------------------------------------------------------------------------- *
 * SPINNER
 * ------------------------------------------------------------------------------------------------------------------- */
.lds-ellipsis { display: inline-block; position: relative; width: 64px; height: 64px; }
.lds-ellipsis div { position: absolute; top: 27px; width: 11px; height: 11px; border-radius: 50%; background: #ffffff; animation-timing-function: cubic-bezier(0, 1, 1, 0); }
.lds-ellipsis div:nth-child(1) { left: 6px; animation: lds-ellipsis1 0.6s infinite; }
.lds-ellipsis div:nth-child(2) { left: 6px; animation: lds-ellipsis2 0.6s infinite; }
.lds-ellipsis div:nth-child(3) { left: 26px; animation: lds-ellipsis2 0.6s infinite; }
.lds-ellipsis div:nth-child(4) { left: 45px; animation: lds-ellipsis3 0.6s infinite; }
@keyframes lds-ellipsis1 {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
@keyframes lds-ellipsis3 {
  0% { transform: scale(1); }
  100% { transform: scale(0); }
}
@keyframes lds-ellipsis2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(19px, 0); }
}


/* ------------------------------------------------------------------------------------------------------------------- *
 * WIDGET
 * ------------------------------------------------------------------------------------------------------------------- */
.gallery-widget {
  display: flex;
  flex-direction: column;
  position: relative;
}

.gallery-widget > .nav.nav-tabs {
  flex: 0 0 auto;
}

.gallery-widget .panel-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0 !important;
}

.gallery-widget .panel-body .tab-content {
  display: flex;
  flex: 1 1 auto;
  position: relative;
  flex-direction: column;
}

.gallery-widget .panel-body .tab-content > .tab-pane {
  flex: 1 1 auto;
  position: relative;
}

.gallery-widget .panel-body .tab-content > .tab-pane > .content {
  overflow: hidden;
  overflow-y: auto;

  position: absolute;
  width: 100%;
  height: 100%;

  padding: 10px;
}

.gallery-widget .fab {
  border-radius: 25px;
  position: absolute;
  width: 50px;
  height: 50px;
  
  bottom: -25px;
  left: 50%;
  margin-left: -25px;
    
  z-index: 10;
}


.sortable-chosen {
  background: #fff;
}


.avatar-selector {
  display: flex;
  flex-direction: column;
}
.avatar-selector .selector-body {
  position: relative;
  flex: 1 1 auto;
}
.avatar-selector .selector-body > div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #009fe3 url("/assets/img/bg-cover.png") center center no-repeat;
  background-size: cover;
}
.avatar-selector .selector-body .avatar-controls {
  bottom: 0;
  top: auto;
  padding: 0px;
  background: rgba(37, 60, 84, .90);
  opacity: 0;

  -webkit-transition: opacity 120ms;
  -moz-transition: opacity 120ms;
  -ms-transition: opacity 120ms;
  -o-transition: opacity 120ms;
  transition: opacity 120ms;
}
.avatar-selector .selector-body:hover .avatar-controls {
  opacity: 1;
}
.avatar-selector > div > div {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.avatar-selector input {
  display: none;
}

.flex { display: flex; }
.flex-1-1 { flex: 1 1 auto; }
.flex-1-0 { flex: 1 0 auto; }
.flex-0-1 { flex: 0 1 auto; }
.flex-horizontal { flex-direction: row; }
.flex-vertical { flex-direction: column; }
.flex-align-center { align-items: center; }
.flex-justify-center { justify-content: center; }

.flex h1 {
	color: #355577;
}

*[data-provide="help"] {
  width: 0;
  height: 0;
  display: none;
}


.cke_top {
	padding: 5px 5px 0 5px;
	background: #f5f5f5;
}

.data_di_pubblicazione {
	padding-top: 5px;
	width: 150px;
	float: right;
}

.data_di_pubblicazione i {
	width:30px; 
	color:#d1d2d3;
	line-height:32px;
	font-size: 20px;
	float: left;
}

.data_di_pubblicazione input {
	width:120px; 
	background: none; 
	border-bottom: 1px dashed #d1d2d3;
	font-size: 18px;
	line-height: 30px;
	padding: 0;
	color:#009fe3;
	text-align: center;
	float: left;
}

.modal-title {
	line-height: 1.2;
	font-size: 20px;
	font-weight: 600;
}

.modal-body input,
.modal-body textarea {
    padding: 4px 8px;
}

.modal-header[class*=bg-] {
	border-bottom: 2px solid #fff !important;
}

.modal-content[class*=bg-] .modal-header .close, .modal-header[class*=bg-] .close {
	font-size: 30px;
}

.modal-header[class*=bg-] .close {
	margin-top: -15px;
}

.select2-selection--single:not([class*=bg-]) {
	background: transparent;
}

.cke_chrome {
	border: 0 !important;
}

.panel.ui-sortable-helper,
.panel.ui-sortable-placeholder {
  max-height: 100px;
  overflow: hidden;
}

.panel.ui-sortable-placeholder,
.staff-member.ui-sortable-placeholder {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: #e1e3e7;
  border: 1px dashed #009fe3 !important;
  width: 100%;
  height: 100px;
}
.staff-member.ui-sortable-placeholder {
  background: transparent;
}
.staff-member.ui-sortable-placeholder:after {
  text-align: center;
  font-size: 16px;
}

.panel.ui-sortable-placeholder:after,
.staff-member.ui-sortable-placeholder:after {
  display: block;
  content: 'Rilascia per inserire qui';
  font-size: 26px;
  color: #009fe3;
}

.panel-detail {
  margin-bottom: 10px;
}

.panel-detail header {
  display: flex;
  flex-direction: row;
}

.panel-detail header .btn-group {
  margin-right: 15px;
}

.panel-detail header .panel-title {
  flex: 1 1 auto;
}

.panel-detail header .heading-elements {
  position: static;
  top: auto;
  right: auto;
  height: auto;
  margin-top: auto;
}

.panel.sortable {
  position: relative;
}

.panel.sortable:hover header {
  opacity: 1;
  z-index: 1;
}

.panel.sortable header {
  display: flex;
  position: absolute;
  
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;

  justify-content: flex-end;
  flex-flow: row nowrap;

  -webkit-transition: opacity 120ms;
  -moz-transition: opacity 120ms;
  -ms-transition: opacity 120ms;
  -o-transition: opacity 120ms;
  transition: opacity 120ms;
  
  background: #253c54;
}

.panel.sortable header a:not(:last-child) {
  margin-right: 1px;
}

.panel.sortable p:last-child {
  margin-bottom: 0;
}

.quick-links .navigation > li > a {
	padding: 12px 20px;
	min-height: 44px;
	font-weight: 600;
	background: #253c54;
	color: rgba(255, 255, 255, 1);
	
  -webkit-transition: opacity 120ms;
  -moz-transition: opacity 120ms;
  -ms-transition: opacity 120ms;
  -o-transition: opacity 120ms;
  transition: opacity 120ms;	
}

.quick-links .navigation > li > a:hover {
	background: #008dc9;
}

.navbar-footer .navbar-nav > li > a:hover, .navbar-footer .navbar-nav > li > a:focus {
	color: #fff;
	-webkit-box-shadow: 0 2px 0 0 #009fe3;
	box-shadow: 0 2px 0 0 #009fe3;
}

.navbar-footer {
	border: none !important;
}

#detail-fixedly-top.fixed {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 201;
  background: #253c54 !important;
}

#navbar-second {
	z-index: 202 !important;
}

#detail-fixedly-top .panel-heading,
#detail-fixedly-top .panel-heading .panel-title {

}
#detail-fixedly-top.fixed .panel-heading {
  max-width: 1180px;
  margin: auto;
  background: #253c54 !important;
}

#detail-fixedly-top.fixed .panel-heading .panel-title {
  color: #ffffff;
}

.policy-card {
  background: #ffffff;
  display: flex;
  flex-flow: column nowrap;

  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 12px -2px rgba(0, 0, 0, 0.35);

  margin-bottom: 15px;
}

.policy-card > header {
  display: flex;
  flex: 1 1 auto;
  height: 150px;
  background: #253c54;
  color: #ffffff;
}

.policy-card figure {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.policy-card figure > i {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  color: #111c26;
  opacity: .40;

  width: 100px;
  height: 100px;

  line-height: 100px;
  font-size: 170px;
  margin: 10px -30px auto auto;
}

.policy-card figure figcaption {
  top: 0;
  bottom: auto;
  color: #ffffff;
  opacity: 1;
  visibility: visible;
  font-size: 18px;
}

.policy-card > a {
  display: block;
  text-align: center;
  line-height: 50px;
  font-size: 16px;
  color: #333333;

  -webkit-transition: color 120ms linear, background 120ms linear;
  -moz-transition: color 120ms linear, background 120ms linear;
  -ms-transition: color 120ms linear, background 120ms linear;
  -o-transition: color 120ms linear, background 120ms linear;
  transition: color 120ms linear, background 120ms linear;
}

.policy-card > a:hover {
  color: #ffffff;
  background: #009fe3;
}

.staff-group {
  margin-bottom: 10px;
}

.staff-group .panel-body {
  display: flex;
  flex-flow: column nowrap;
  min-height: 140px;
  padding: 15px 25px 5px 25px !important;
}

.staff-group .panel-body .members-container {
  display: flex;
  flex-flow: row wrap;
  flex: 1 1 auto;
}

.members-container .staff-member {
  width: 130px;
  height: 130px;

  margin-bottom: 10px !important;

  -webkit-transition: border-color 120ms;
  -moz-transition: border-color 120ms;
  -ms-transition: border-color 120ms;
  -o-transition: border-color 120ms;
  transition: border-color 120ms;
}

.members-container .staff-member:not(.btn-add-container):hover {
  border-color: #009fe3;
}

.members-container .staff-member figcaption {
  opacity: 1;
  visibility: visible;
  background: rgba(37, 60, 84, .4);
}

.members-container .staff-member:not(.btn-add-container) {
  border: 2px solid #ddd;
  margin-right: 10px;
}

.members-container .staff-member.ui-sortable-helper {
  font-size: 11px;
}

.staff-member.btn-add-container {
  margin-bottom: 0;
  position: relative;
}

.staff-member.btn-add-container i {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;

  width: 40px;
  height: 40px;
  margin: auto;

  font-size: 36px;
  line-height: 40px;

  text-align: center;
}