/* 

Banzai Media Backoffice v 1.0.1

Index:

01: Main
02: Navbar
03: Sidebar
04: Form
05: Tables
06: Sezioni del Backoffice
07: Gallery

*/


/* 01: Main */

body {
	padding-top: 60px;
	overflow-x: hidden;
}

.main {
	padding: 40px 40px 40px;
	border-left: 1px solid #eee;
	position: relative;
}

.ps-active .main {
	height: 100vh;
}

.main .page-title {
	margin-bottom: 30px;
    padding-bottom: 30px;
	border-bottom: 1px solid #eee;
	color: #222;
}

.main .page-title h1 {
	font-size: 32px;
	font-weight: 700;
	margin: 0 15px 0 0;
	display: inline-block;
	vertical-align: middle;
}

.main .page-title h1 small {
	font-size: 100%;
	display: inline-block;
	padding-left: 10px;
	text-decoration: underline;
	font-weight: 700;
	color: #222;
}

.main .page-title p {
	margin-bottom: 0;
}

.main .page-title > ul.nav {
	margin-top: 12px;
}

@media (min-width: 1200px) {
	.main .page-title > ul.nav {
	margin-top: -6px;
	float: right
	}
}

/* Campi input inline */

@media (min-width: 768px) {
	.form-control.x-small {
	width: 3em;
	}
	.form-control.small {
	width: 6em;
	}
	.form-control.normal {
	width: 18em;
	}
	.form-control.medium {
	width: 24em;
	}
	.form-control.large {
	width: 32em;
	}
	.input-group.date {
	width: 10em;
	}
}

/* Separatore orizzontale */

span.sep {
	display: inline-block;
	padding: 0 5px;
}

/* Padding figli albero */

span.sep-tree {
	padding: 0 20px;
}

/* Nav Tabs */

.nav-tabs > li {
	padding-left: 10px;
	padding-right: 10px;
}

.nav-tabs > li > a,
.nav-tabs > li.active > a {
	color: #333;
}

.nav-tabs > li > a {
	border-radius: 0;
	border-width: 0 0 4px 0;
	border-style: solid;
	border-color: transparent;
	padding: 15px 5px;
	font-weight: 700;
	font-size: 14px;
}

.nav-tabs > li.active > a {
	background-color: transparent;
	border-width: 0 0 4px 0;
	border-style: solid;
	border-color: transparent;
}

.nav-tabs > li > a:hover {
	border-color: transparent;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
	background-color: transparent;
	border-width: 0 0 4px 0;
	border-bottom-color: #337ab7;	
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
	background-color: transparent;
	color: #337ab7;
}

.tab-content {
	padding: 30px 0;
}

/* 02: Navbar */

.navbar {
	min-height: 60px;
    border: 0;
}

.navbar-default,
.navbar-inverse {
	background-color: #141414;
}

.navbar .container-fluid {
	padding-left: 30px;
    padding-right: 30px;
}

.navbar-logo {
	float: left;
	height: 30px;
	width: 120px;
	margin: 15px 0;	
}

.navbar-logo > img {
	display: block;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.navbar-nav > li > a {
	text-transform: uppercase;
}

.navbar .navbar-main > li > a:hover,
.navbar .navbar-main> li > a:focus,
.navbar .navbar-main > .open > a,
.navbar .navbar-main > .open > a:hover,
.navbar .navbar-main > .open > a:focus {
	background-color: rgba(255,255,255, .2);
}

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

.dropdown-header,
.dropdown-menu > li > a {
	font-size: 14px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.navbar .circle {
	display: none;
}

.navbar .navbar-toggle {
	border: 0;
	margin: 15px 0 0;
}

.navbar .navbar-toggle:hover,
.navbar .navbar-toggle:focus {
	background-color: rgba(255,255,255, .2);
}

.navbar .navbar-toggle .icon-bar {
	background-color: #fff;
}

.navbar-form {
	margin: 15px 0 0 0;
}

.navbar-form .form-control {
	height: 30px;
	padding: 5px 10px;
	border-color: rgba(0, 0, 0, 0.1);
	border-radius: 0;
}

.navbar-main > li > .active > .navbar-label {
	position: relative;
}

.navbar-main > li > .active > .navbar-label:before {
	content: "";
	position: absolute;
	width: 100%;
	bottom: -5px;
	border-bottom: 2px solid #fff;
}

@media (min-width: 991px) {
	.navbar .container-fluid {
	padding-left: 40px;
    padding-right: 40px;
	}
	.navbar .navbar-collapse {
	text-align: center;
	}
	.navbar .navbar-main {
	display: inline-block;
	float: none;
	text-align: center;
	}
	.navbar-nav > li {
	float: none;
	display: inline-block;
	}
	.navbar-nav > li > a {
	display: inline-block;
	text-decoration: none;
	font-size: 16px;
	font-weight: 300;
	padding: 20px 10px;
	line-height: 20px;
	}
	.navbar .circle {
	display: inline-block;
	width: 34px;
	height: 34px;
	background-color: rgba(255,255,255, .2);
	-webkit-border-radius: 34px;
	border-radius: 34px;
	}
	.navbar-right .dropdown-label {
	display: none;
	}
	.navbar-right > .projects-menu > a,
	.navbar-right > .user-menu > a {
	height: 34px;
    width: 34px;
    padding: 5px;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
	}
	.navbar .navbar-right > li > a:hover .circle ,
	.navbar .navbar-right > li > a:focus .circle {
	background-color: rgba(255,255,255, .1);
	}
	.navbar-right > .projects-menu > a,
	.navbar-right > .user-menu > a {
	padding: 13px 10px;
	}
}

@media (min-width: 1281px) {
	.navbar-nav > li > a {
	padding-left: 15px;
	padding-right: 15px;
	}
}

@media (max-width: 991px) {
	.navbar .navbar-nav .open .dropdown-menu > li > a:hover,
	.navbar .navbar-nav .open .dropdown-menu > li > a:focus {
	background-color: rgba(255,255,255, .2);	
	}
	.dropdown-menu .divider {
	background-color: rgba(255,255,255, .1);
	}
}

/* 03: Sidebar */

.sidebar {
	display: none;
}

@media (min-width: 991px) {
	.sidebar {
	padding: 36px 0;
	display: block;
	position: fixed;
	top: 60px;
	bottom: 0;
	left: 0;
	z-index: 100;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: #f5f5f5;
	border-right: 1px solid #eee;
	text-align: right;
	}
}

.sidebar .nav > li > a {
	color: #999;
	font-size: 16px;
}

.sidebar .nav > li:hover > a,
.sidebar .nav > li.active > a {
	color: #337ab7;
}

.sidebar .nav > li:hover > a > span,
.sidebar .nav > li.active > a > span {
	border-bottom: 1px solid #337ab7;
}

/*
 *  04: Form
 */

fieldset {
	margin-bottom: 30px;
}

legend {
	font-size: 18px;
	color: #333;
	font-weight: 700;
	padding-bottom: 10px;
}

.form-control.text-picker[readonly] {
	background-color: #fff;
	cursor: pointer;
}

.btn-xs,
.btn-sm,
.btn-lg {
	font-size: 14px;
    line-height: 1.4;
    border-radius: 3px;
    font-weight: 700;
}

.btn-xs {
	height: 30px;
	padding: 4px 10px;
	font-size: 14px;
}

.btn-sm {
	height: 40px;
	padding: 5px 10px;
}

.btn-lg {
	height: 40px;
	padding: 8px 20px;
    text-transform: uppercase;
}

.input-sm {
    border-radius: 3px;
    font-size: 15px;
    height: 40px;
    padding: 6px 10px;
}

select.input-sm {
	height: 40px;
	line-height: 40px;
}

.search-form {
	background-color: #fff;
	margin: 0 auto 30px;
	padding: 20px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
	border-radius: 3px;
}

.search-info {
	display: inline-block;
	font-style: italic;
	font-size: 14px;
	color: #4a4a4a;
}

.first a.move-up,
.last a.move-down,
.table > tbody > tr:first-child > td > a.move-up,
.table > tbody > tr:last-child > td > a.move-down,
.table > tbody > tr:first-child > td > div > a.move-up,
.table > tbody > tr:last-child > td > div > a.move-down,
.table > tbody > tr:first-child > td > span > a.move-up,
.table > tbody > tr:last-child > td > span > a.move-down,
.images-list > div:first-child div.image-actions > .actions > a.move-up,
.images-list > div:last-child div.image-actions > .actions > a.move-down,
.answers-list > div:first-child div.answer-header > .actions > a.move-up,
.answers-list > div:last-child div.answer-header > .actions > a.move-down {
	visibility: hidden;
}

.sections > div:first-child div.section-header > .actions > a.move-up,
.sections > div:last-child div.section-header > .actions > a.move-down,
.sections > div.video-leaf div.section-header > .actions > a.move-up,
.sections > div.video-leaf div.section-header > .actions > a.move-down,
.sections div.panel:first-child div.panel-heading .actions > a.move-up,
.sections div.panel:last-child div.panel-heading .actions > a.move-down,
.fragments > div:first-child div.fragment-header > .actions > a.move-up,
.fragments > div:last-child div.fragment-header > .actions > a.move-down {
	display: none;
}

.collapsed .actions .collapse-item {
	display: none;
}

.actions a,
.actions > span {
	padding-right: 4px;
	white-space: nowrap;
}

.image-edit-box {
	display: inline-block;
	max-width: 100%;
}

.image-edit p.image-actions,
.file-edit p.file-actions {
	background-color: #f5f5f5;
	text-align: right;
}

div.image-actions,
div.file-actions {
	background-color: #f5f5f5;
	text-align: right;
	padding: 3px 0;
	margin-bottom: 10px;
}

.image-actions {
	margin: 0;
}

.image-actions .actions a {
	color: #2a2a2a;
	text-decoration: underline;
}

#image_preview .form-group {
	margin-bottom: 0;
}

#image_preview .form-control-static {
	padding: 0;
}

.affiliation .img-thumbnail {
  max-height: 80px;
}
.affiliation .item-price {
  white-space: nowrap;
}

a.disabled {
	pointer-events: none;
	color: #999999;
	cursor: not-allowed;
}

.progress .progress-striped {
	max-width:600px;
	margin:auto
}

.btn-outline {
	background-color: transparent;
	color: #2a2a2a;
	border: 1px solid rgba(0,0,0,.3);
	font-style: normal;
}

.jq-sort-obj {
	padding: 0;
	margin:0;
	list-style: none;
}

.jq-sort-obj li {
	background-color: #f2f2f2;
	padding: 5px 20px;
	border-top: 1px solid rgba(0,0,0,.05);
}

.jq-sort-obj li:first-child {
	border: 0;
}

.check-feedback {
	display: none;
}
.has-error .check-feedback {
	display: block;
}

/*
 * 05: Table
 */

/* Tabelle */
  
.table > thead > tr > td,
.table > tbody > tr > td, 
.table > tfoot > tr > td, 
.table > thead > tr > th, 
.table > tbody > tr > th, 
.table > tfoot > tr > th {
	padding: 10px;
}

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
	padding: 10px;
}

.table > thead > tr > th {
    vertical-align: middle;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
}

.table thead th a {
	color: #222;
}

.actions a {
	font-size: 14px;
}

.actions .glyphicon {
	font-size: 12px;
	padding-right: 2px;
}


/*
 * 06: Sezioni del Backoffice
 */

/* Inserimento contenuto */

.content-form .help-block {
	margin-bottom: 0;
}

@media (min-width: 992px) {
	.content-form .help-block {
	padding-left: 0;
	}
}

form .help-block.error-info {
	display: none;
}

form .has-error .help-block.error-info{
	display: block;
}

.format, .format:hover, .format:active {
	padding-right: 10px;
	white-space: nowrap;
	text-decoration: none;
}

.image-ratio,
.image-status {
	padding: 10px;
}

.image-ratio {
	border-bottom: 1px solid rgba(0,0,0,.05);
}

.format.text-danger .glyphicon-ok,
.image-status.text-danger .icon-ok {
	display: none;
}

.format.text-success .glyphicon-remove,
.image-status.text-success .icon-remove {
	display: none;
}

#image_name .source {
	font-style: italic;
}
#image_name .image-actions {
	margin-top: 10px;
}

#videos_other_langs a.move-up {
	display: none;
}

.video-check .alert {
	padding: 7px 15px;
	margin-bottom: 0;
	margin-top: 5px;
}

.svg-xs img {
	width: 16px;
	height: 16px;
}

.svg-sm img {
	width: 32px;
	height: 32px;
}

.svg-md img {
	width: 64px;
	height: 64px;
}

/* Lista */

h3.results-title {
	color: #222;
	font-size: 18px;
	font-weight: 700;
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
	padding-bottom: 10px;
}

h3.results-title > small {
	color: #337ab7;
}

.pagination {
	margin: 0;
}

.pagination-box {
	margin-bottom: 30px;
}

.table > tbody > tr.selected > td {
	background-color: #c4e3f3 !important;
}

.content-filters {
	margin-bottom: 10px;
}


.content-specials, .content-data {
	margin-top: 10px;
}
.content-data>span {
	margin-right: 10px;
}

small.section-type {
	color: #a1a1a1;
	text-transform: uppercase;
}

/* Lista immagini */

button .active-label {
  display: none;
}

button.active .active-label {
  display: inline;
}

button.active .inactive-label {
  display: none
}


td.image-gallery-preview {
	width: 100px;
}

td.image-gallery-preview > a {
	display: inline-block;
	overflow: hidden;
	height: 70px;
	width: 90px;
}

td.image-gallery-preview > a > img {
	width: 100%;
}

/* Ritaglio immagini */

#has_image {
	overflow: visible;
}

.image-crop-container {
	margin-bottom: 15px;
}

.image-crop-container img {
	height: 432px;
	max-width: 768px;
}

.image-crop-controls .controls-bottom {
	margin-top: 10px;
}

@media (min-width: 1100px) {
	.image-crop-container {
	float: left;
	max-width: 800px;
	}
	.image-crop-controls {
	float: left;
	height: 432px;
	max-width: 200px;
	margin-left: 15px;
	position: relative;
	}
	.image-crop-controls .btn.btn-default,
	.image-crop-controls .btn.btn-danger {
	min-width: 160px;
	margin-bottom: 6px;
	}
	.image-crop-controls .controls-bottom {
	position: absolute;
	bottom: 0px;
	left: 0px;
	}
}

.panel-danger .crop-done {
	display: none;
}

.panel-success .crop-create {
	display: none;
}

/* Section */

.section {
	margin-bottom: 30px;
}

.section-header {
	border-bottom: solid 1px #eee;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

section-header h3 {
	padding: 0;
	margin: 0;
}

.fragment {
	margin-bottom: 30px;
}

.fragment {
	padding: 15px 0;
}

.fragment-header {
	border-bottom: solid 1px #eee;
	padding-bottom: 15px;
}

.fragments-table > tbody {
	background-color: #555555;
}

/* Quiz */

.answers-list .answer {
	margin-bottom: 10px;
	padding: 10px 15px;
	background-color: #f3f1f6;
}

.answers-list .answer .form-control {
	margin-bottom: 10px;
}

/* Tags */

.tags-tree-item {
	padding: 3px 8px;
}

.tag-legend span {
	display: inline-block;
	margin-right: 5px;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
	border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.root-tag-item {
	font-weight: bold;
}

/* Commenti */

.table-comments > tbody > tr > td {
	padding: 10px 5px;
}

.comment {
	margin-bottom: 10px;
}

.comment-subject {
	font-size: 16px;
	font-weight: 700;
}

.comment-parent {
	border-left-width: 8px;
	border-left-style: solid;
}

.comment-reply {
	border-left-width: 8px;
	border-left-style: solid;
}

.comment-edit-text {
	margin-bottom: 10px;
}

.comment-text {
	word-break: break-all;
}

/* Tabelle */

.day-selector {
	padding-top: 10px;
	margin-bottom: 20px;
}

.day-selector h2 {
margin-top: 0;
font-size: 18px;
color: #337ab7;
}

.table-scheduling > thead > tr > th,
.table-scheduling > tbody > tr > th,
.table-scheduling > tfoot > tr > th,
.table-scheduling > thead > tr > td,
.table-scheduling > tbody > tr > td,
.table-scheduling > tfoot > tr > td {
	border-right: 1px solid #bbb;
	padding: 8px 4px;
}

.table-scheduling > thead > tr > th,
.table-scheduling > tbody > tr > th,
.table-scheduling > thead > tr > td,
.table-scheduling > tbody > tr > td {
	border-bottom: 1px solid #999;
}

.table-scheduling > thead > tr > th.expand,
.table-scheduling > tbody > tr > td.expand,
.table-scheduling > tfoot > tr > td.expand {
	padding: 8px 14px;
	white-space: nowrap;
}

.table-scheduling > thead > tr > th > .week-days {
	display: none;
	font-weight: normal;
}

.table-scheduling > thead > tr > th.expand > .week-days {
	display: block;
}

.table-scheduling > thead > tr > th.current,
.table-scheduling > tbody > tr > th.current,
.table-scheduling > tfoot > tr > th.current,
.table-scheduling > thead > tr > td.current,
.table-scheduling > tbody > tr > td.current,
.table-scheduling > tfoot > tr > td.current {
	background-color: #f3f1f6;
}

.table-scheduling-list>tbody>tr>td>.item-placeholder,
.table-scheduling-list.empty-list>tbody>tr.empty:hover>td>.item-placeholder {
	display: none;
}

.table-scheduling-list.empty-list>tbody>tr>td>.item-placeholder {
	display: inline;
	color: #aaa;
}

.table-scheduling > thead > tr > th {
	text-align: center;
	width: 14%;
}

.table-scheduling p {
	font-size: 12px;
	margin: 10px 0 0 0;
}

.table-scheduling .table-scheduling-list  {
	background-color: transparent;
	table-layout: fixed;
	margin: 0;
}

.table-scheduling > tbody > tr > td.expand .table-scheduling-list {
	table-layout: auto;
}

.table-scheduling-list > tbody > tr > th,
.table-scheduling-list > tbody > tr > td {
	padding: 2px;
	font-size: 12px;
	height: 23px
}

.table-scheduling-list > tbody > tr:last-child > td {
	border-bottom: 1px solid #ddd;
}

.table-scheduling-list > tbody > tr > td {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.table-scheduling-list > tbody > tr > td span.item-add {
	display: none;
}

.table-scheduling-list > tbody > tr.empty:hover > td span.item-add {
	display: inline;
}

td.expand .table-scheduling-list > tbody > tr > td.item-controls {
	display: table-cell;
}

td.disabled-list .remove,
td.disabled-list .autoload,
td.disabled-list .table-scheduling-list > tbody > tr > td.item-controls > div,
td.disabled-list .table-scheduling-list > tbody > tr.empty:hover > td span.item-add,
.table-scheduling-list > tbody > tr.empty > td.item-controls > div {
	display: none
}

.table-scheduling-list tr.action-running {
	opacity: 0.4;
}

/* Tabella Contenuti */
  
.table-content,
.table-gallery {
	color: #555;
	font-size: 14px;
	margin-bottom: 30px;
}

.table-content small,
.table-content .small,
.table-gallery small,
.table-gallery .small {
	font-size: 14px;
}

.table-content > thead > tr > th,
.table-gallery  > thead > tr > th {
	padding: 20px 10px;
}

.table-content > tbody > tr > td,
.table-gallery > tbody > tr > td {
	padding: 10px 10px;
}

.table-content > thead > tr > th:first-child,
.table-content > tbody > tr > td:first-child,
.table-gallery > thead > tr > th:first-child,
.table-gallery > tbody > tr > td:first-child {
	padding-left: 20px;
}

.table-content > thead > tr > th:last-child,
.table-content > tbody > tr > td:last-child,
.table-gallery > thead > tr > th:last-child,
.table-gallery > tbody > tr > td:last-child {
	padding-right: 20px;
}

.table-content > thead > tr > th,
.table-content > thead > tr > td,
.table-gallery > thead > tr > th,
.table-gallery > thead > tr > td {
	border: 0;
}

.table-content .caret,
.table-gallery .caret {
	visibility: hidden;
}
.table-content .dropup .caret,
.table-content .dropdown .caret,
.table-gallery .dropup .caret,
.table-gallery .dropdown .caret {
	visibility: visible;
}

.table-content .dropup,
.table-content .dropdown,
.table-gallery .dropup,
.table-gallery .dropdown {
	font-weight: 700;
	text-decoration: underline;
}

.content-info {
	font-size: 18px;
	font-weight: 700;
	color: #2a2a2a;
}

.content-info a.content-edit {
	position: relative;
}

.content-info small,
.content-info .small {
	font-weight: 400;
	color: #4a4a4a;
}

.content-edit .glyphicon {
	visibility: hidden;
	width: 14px;
	height: 14px;
	font-size: 14px;
}

.content-edit:hover .glyphicon {
	visibility: visible;
}

.img-cover {
	position: relative;
	width: 90px;
	height: 90px;
	overflow: hidden;
	background-color: #fff;
	background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

.img-thumbnail {
	border: none;
	padding: 0;
	border-radius: 0;
}

.img-cover .id-label {
	position: absolute;
	left: 0;
	bottom: 0;
	display: inline-block;
	height: 24px;
	padding: 2px 8px;
	background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    border-radius: 0;
    z-index: 10;
}

.content-status {
	font-size: 12px;
	text-transform: uppercase;
}

.status-circle {
	width: 8px;
	height: 8px;
	border-radius: 8px;
	display: inline-block;
	background-color: #555;
}

.published .status-circle {
	background-color: #3c763d;
}

.draft .status-circle {
	background-color: #8a6d3b;
}

.ready .status-circle {
	background-color: #337ab7;
}

.scheduled .status-circle {
	background-color: #337ab7;
}

.off .status-circle {
	background-color: #a94442;
}

.published.draft-rev .status-circle {
	background-color: #337ab7;
}


/* Immagini Forum */

ul.thread-images {
	list-style: none;
	padding-left: 0;
}

ul.thread-images li {
	display: inline-block;
	margin-bottom: 15px;
	margin-right: 15px;
	cursor: pointer;
	position: relative;
}

ul.thread-images li button,
ul.thread-images li a {
	position: absolute;
	top: 5px;
	display: none;
}

ul.thread-images li button {
	left: 5px;
}

ul.thread-images li a {
	right: 5px;
}

ul.thread-images li span.new-image{
	left: 5px;
	background-color: #fff;
	color: #337ab7;
	position: absolute;
	bottom: 5px;
	border-radius: 3px;
}

ul.thread-images img {
	height: 150px;
	border: 1px solid #fff;
}

ul.thread-images li:hover img {
	opacity: 0.7;
}

ul.thread-images li.active {
	box-shadow: 0px 0px 2px 6px #337ab7;
}

ul.thread-images li:hover button,
ul.thread-images li:hover a {
	display: inline;
}

/* Overlay ricerca contenuti */

.table-search .remove {
	display: none;
}

.table-search .selected .remove {
	display: inline;
}

.table-search .selected .select {
	display: none;
}

/* Typeahead */

.input-group .twitter-typeahead{
	float:left;
	width:100%
}

.input-group .twitter-typeahead .form-control:not(:first-child):not(:last-child) {
	border-radius: 4px 0px 0px 4px;
}

.tt-dropdown-menu {
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
	font-size: 14px;
}

.tt-suggestion.tt-cursor > p {
	background-color: #f3f1f6;
}

.tt-suggestion.tt-cursor > p.sponsored {
/*background-color: #C5B7DE;*/
}

.tt-suggestion > p {
	margin: 0;
	padding: 6px 12px;
	line-height: normal;
}

.tt-suggestion > p.sponsored {
/*background-color: #E5D7FE;*/
}

.tt-suggestion.tt-cursor > p.sponsored > em,
.tt-suggestion > p.sponsored > em {
	color: #337ab7;
	font-size: 85%;
}

.tt-dataset-contents {
/*  width: 32em; */
	font-size: 12px;
}

span.twitter-typeahead {
	width: 100%;
}

/* Datepicker */

.bootstrap-datetimepicker-widget td.active,
.bootstrap-datetimepicker-widget td span.active {
	background-color: #337ab7;
}

.bootstrap-datetimepicker-widget td.active:hover {
	/*background-color: #2a2141;*/
}

/* Seo checker */

#seo_checker {
	background-color: #222;
	color: #fff;
	font-size: 14px;
}

#seo_checker .panel {
	background-color: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

#seo_checker .panel-heading {
	padding: 20px;
	border: 0;
	margin: 0 0 20px 0;
}

#seo_checker .panel-title {
	font-size: 30px;
	font-weight: 300;
	padding-right: 30px;
}

#seo_checker .list-group-item {
	padding: 10px 20px;
	margin: 0 0 10px 0;
	border: 0;
	background-color: transparent;
}

#seo_checker .list-group-item-heading {
	font-size: 16px;
	font-weight: 400;
	margin: 0 0 5px 0;
	padding: 0;
}

#seo_checker .text-success {
    color: #7ab700;
}

#seo_checker .text-danger {
	color: #e9001c;
}

#seo_checker .text-info {
	color: #ddd;
}

#seo_checker .close-panel-btn {
	position: absolute;
	width: 28px;
	height: 28px;
	right: 22px;
	top: 20px;
	text-decoration: none;
}

#seo_checker .close-panel-btn img {
	display: block;
	width: 28px;
	height: 28px;
}

#seo_checker_open {
	display: none;
}

/* Body Edit preview */

div#parafrasi_preview span.jq_css_approfondimento,
div[data-tipo=longform] span.jq_css_approfondimento {
	background-color: #e5f1cc;
	border-radius: 2px;
}

div#parafrasi_preview span.jq_css_nota,
div[data-tipo=longform] span.jq_css_nota {
	background-color: #fdeed3;
	border-radius: 2px;
}

div[data-tipo=longform] p.jq_css_titoloamargine,
div[data-tipo=longform] li.jq_css_titoloamargine {
	background-color: #f6cdd2;
	border-radius: 2px;
}

div#parafrasi_preview span.jq_css_glossario,
div[data-tipo=longform] span.jq_css_glossario {
	background-color: #d5cbf3;
	border-radius: 2px;
}

div[data-tipo=longform] span.jq_css_parafrasi {
	background-color: #4dffb8;
	border-radius: 2px;
}

div[data-tipo=longform] span.jq_css_parafrasi:nth-of-type(even) {
	background-color: #99ffd6;
}

div.anteprima_frammento img.error {
	border: solid 1px #0d47a1
}

/* Panels */

.panel-heading {
	padding-top: 20px;
	padding-bottom: 20px;
}

/*
 * 07: Gallery
 */

.cover {
	font-size: 30px;
	left: 20px;
	position: absolute;
	top: 1px;
	color: #DDD;
	cursor: pointer;
}

.cover:hover {
	color: #528604;
}

.cover-success {
	color: #528604;
}

img.thumb-img {
	max-height: 250px;
	max-width: 100%;
}

div.thumbnail.compact img.thumb-img {
	max-height: 150px;
	max-width: 100%;
}

div.thumbnail {
	background-color: #f7f7f7;
}

div.thumbnail:hover {
	cursor: move;	
}

.thumb-box {
	height: 475px;
}

div.thumbnail.compact .thumb-box {
	height: 150px;
}

div.thumbnail.compact .thumb-info-box {
	display: none;
}

div.thumbnail .thumb-info-box-show {
	display: none;
}

div.thumbnail.compact .thumb-info-box-hide {
	display: none;
}

div.thumbnail.compact .thumb-info-box-show {
	display: inline;
}

.thumb-info-box {
	background-color: #f6f6f6;    
	padding-top: 5px;
}

.thumb-img-box {
	text-align: center;
}

.thumb-actions {
	padding-top: 5px;
	text-align: right;
}

.jq-thumb-box {
	padding: 10px;
}

/* Immagini Area Select */

.imgareaselect-border1 {
	background: url(../images/border-anim-v.gif) repeat-y left top;
}

.imgareaselect-border2 {
	background: url(../images/border-anim-h.gif) repeat-x left top;
}

.imgareaselect-border3 {
	background: url(../images/border-anim-v.gif) repeat-y right top;
}

.imgareaselect-border4 {
	background: url(../images/border-anim-h.gif) repeat-x left bottom;
}

.imgareaselect-border1, .imgareaselect-border2,
.imgareaselect-border3, .imgareaselect-border4 {
	filter: alpha(opacity=50);
	opacity: 0.5;
}

.imgareaselect-handle {
	background-color: #fff;
	border: solid 1px #000;
	filter: alpha(opacity=50);
	opacity: 0.5;
}

.imgareaselect-outer {
	background-color: #000;
	filter: alpha(opacity=50);
	opacity: 0.5;
}

.how-to-block {
	width: 30%;
	margin-bottom: 50px;
}

.how-to-link {
	display: block;
}

.how-to-img {
	max-width: 400px;
	border: 1px solid #ccc;
	display:block;
	margin-bottom: 20px;
}

.background.active span.glyphicon {
	visibility: visible !important;
}

.btn span.icon-white {
	color: white;
}
.btn span.icon-black {
	color: black;
}

/* Content Block Editor (vuejs) */

.fragment-text a[id]:not([href]) {
	cursor: default;
	display: inline-block;
	/*-webkit-user-select: all;*/
	/*-webkit-user-modify: read-only;*/
	/*-moz-user-select: all;*/
	/*-moz-user-modify: read-only;*/
	/*-ms-user-select: all;*/
	/*user-select: all;*/
	/*user-modify: read-only;*/
	width: 12px !important;
	height: 12px !important;
	border: 1px dotted #3a3a3a;
	margin: 0 2px;
	background: #d5d5d5 url(/common/js/tinymce/skins/lightgray/img/anchor.gif) no-repeat 50%
}

.ms-drop {
	right: 1px !important;
}
.ms-choice {
	border: none !important;
}
.ms-drop > ul > li > label > span {
	margin-left: 4px !important;
}
