.btn-primary.btn-outline {
  color: #37424A;
}
.btn-primary {
	background-color: #37424A;
    border-color: #37424A;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary,
.btn-primary:active:focus,
.btn-primary:active:hover,
.btn-primary.active:hover,
.btn-primary.active:focus {
	background-color: #303940;
    border-color: #303940;
}
.btn-primary.disabled,
.btn-primary.disabled:hover,
.btn-primary.disabled:focus,
.btn-primary.disabled:active,
.btn-primary.disabled.active,
.btn-primary[disabled],
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus,
.btn-primary[disabled]:active,
.btn-primary.active[disabled],
fieldset[disabled] .btn-primary,
fieldset[disabled] .btn-primary:hover,
fieldset[disabled] .btn-primary:focus,
fieldset[disabled] .btn-primary:active,
fieldset[disabled] .btn-primary.active {
  background-color: #8696a4;
  border-color: #8696a4;
}
button.btn-primary.dim {
  box-shadow: inset 0 0 0 #4a5964, 0 5px 0 0 #4a5964, 0 10px 5px #999999;
}
button.btn-primary.dim:active {
  box-shadow: inset 0 0 0 #4a5964, 0 2px 0 0 #4a5964, 0 5px 3px #999999;
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
	background-color: #303940;
}
.btn-group.bootstrap-select button{
	border-radius: 1px;
}

#side-menu > li.active {
  border-left-color: #CD1230;
  background: #303940;
}
.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus {
  background-color: rgba(0,0,0,.2);
}
.top-navigation .nav > li a:hover,
.top-navigation .nav > li a:focus {
  background: #fff;
  color: #37424A;
}
.top-navigation .nav > li.active > a {
  color: #CD1230;
}


body {
	background-color: #37424A;
/* 	background-image: url(patterns/header-profile-menu.png); */
/*	background-attachment: fixed; */
}
.pace .pace-progress {
  background: #CD1230;
}

.nav-header {
    padding: 33px 25px;
    background-color: #CD1230;
}
.nav-header .profile-element span {
	color: #FEFEFE;
}

a {
    color: #CD1230;
}
a:focus, a:hover {
    color: #A5051E;
}

ul.nav-second-level {
	background-color: #303940;
}

.form-control:focus,
.single-line:focus {
/*   border-color: #878787; */
  border-color: #CD1230;
}

table tbody tr td a {
	color: #676a6c;
}
table tbody tr td a:focus,
table tbody tr td a:hover {
	color: #161a1d;
}

.ibox-title .label.new,
.ibox-title .label.modified {
	float: none;
	display: none;
}

.card.modify:not(.new) > .ibox > .ibox-title > .ibox-tools .label.modified,
.sub-card.modify:not(.new) > .ibox > .ibox-title > .ibox-tools .label.modified {
	display: inline;
}
.card.new > .ibox > .ibox-title > .ibox-tools .label.new,
.sub-card > .ibox > .ibox-title > .ibox-tools .label.new {
	display: inline;
}

div.title-section{
	font-size: 20px;
	margin-bottom: 10px;
}

.ibox-title {
	border-color: #CD1230;	
}

.btGrid-content .ibox-content-sectionForm {
	display: none;
}

body.fixed-sidebar.mini-navbar .navbar-static-side {
	z-index: 0;
}

.ibox-content-sectionForm {
	position: relative;
}
.ibox-content-sectionForm .overlay.in {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 10;
	background-color: rgba(255, 255, 255, .5);
}
.ibox-content-sectionForm .overlay.in .fa.fa-spinner.fa-spin {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -15px;
	margin-top: -30px;
	color: #666;
	font-size: 25px;
}
.ibox-content-sectionForm .overlay.in div {
	position: absolute;
	top: 50%;
	left: 50%;
	color: #666;
	font-size: 15px;
	width: 300px;
	margin-left: -150px;
	text-align: center;
}

.form-group textarea.form-control{
	width: 100%!important;
}

.form-horizontal .control-label.select-selected-list{
	text-align: left;
}

td.dt-body-center {
	text-align: center;
}

.wrapper-content {
  padding: 20px 10px 30px !important;
}

.bootstrap-select .btn .badge{
	top: 1px;
}

.input-group .twitter-typeahead:first-child .tt-input, .input-group .twitter-typeahead:first-child .tt-hint {
	border-bottom-left-radius: 1px;
    border-top-left-radius: 1px;
}

.data-table-filter{
	display: none;
}
.data-table-custom-filter .data-table-filter{
	display: block;
}

.html5buttons .data-table-filter-button {
	color: #FFF;
	background-color: #f8ac59;
	border-color: #f8ac59;
}
.html5buttons .data-table-filter-button:hover,
.html5buttons .data-table-filter-button:focus:active {
	color: #FFF;
	background-color: #fab66b;
	border-color: #fab66b;
}

.data-table-custom-filter{
	display: none;
	padding: 10px 15px 15px;
    background-color: #fafafa;
    border-radius: 4px;
}
.data-table-custom-filter-head{
	margin-bottom: 15px;
    border-bottom: 1px solid #e7eaec;
}
.data-table-custom-filter-footer{
	text-align: right;
}

@media (min-width: 768px) {
	.data-table-custom-filter .form-group{
		margin-right: 25px;
    	margin-bottom: 15px;
	}	
}
#side-menu > li.activeItem,
#side-menu > li.activeItem a,
#side-menu > li.activeItem a:hover,
#side-menu > li.activeItem a:focus{
	background-color: #CD1230;
}

.dropzone {
	border: 1px dashed #CD1230 !important;
}

.nav-second-level li:last-child{
	margin-bottom: 0;
}

.datepicker {
  border-radius: 1px;
}
.datepicker .datepicker-days tbody tr td.day.disabled,
.datepicker .datepicker-months tbody tr td span.month.disabled,
.datepicker .datepicker-years tbody tr td span.year.disabled,
.datepicker .datepicker-decades tbody tr td span.decade.disabled,
.datepicker .datepicker-centuries tbody tr td span.century.disabled {
	background: #f9f9f9;
}


.pwstrength_viewport_progress .password-verdict {
	white-space: nowrap;
}






body.popUpForm-visible {
	overflow: hidden;
}

.popUpForm {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(255, 255, 255, .75);
}
.popUpForm .popUpFormFrame {
	border: 0;
}

body.popUpForm-container #wrapper > nav,
body.popUpForm-container #page-wrapper nav
 {
	display: none;
}
body.popUpForm-container #page-wrapper {
	margin-left: 0;
}


.tokenfield .twitter-typeahead {
    float: none;
    width: 100%;
}

.onoffswitch-inner:before {
	background-color: #CD1230;
}

.onoffswitch-label, .onoffswitch-switch {
	border: 2px solid #CD1230;
}

.note-editor.note-frame .note-editing-area .note-editable{
	background-color: #fbfbfb;
}

.twitter-typeahead .tt-menu.tt-open {
	overflow: auto;
	max-height: 200px;
}

.col-centered {
	text-align: center;
}

.summernote-container{
	font-size: 10px;
}
.summernote-container .note-editor .note-editing-area .note-editable ul,
.summernote-container .note-editor .note-editing-area .note-editable ol {
	margin-bottom: 0;
}

.note-editor p {
    margin: 0 0 2px;
}

.bootstrap-select .dropdown-menu ul.dropdown-menu li a span.text {
	word-wrap: break-word;
	white-space: normal;
}


th.dt-center, td.dt-center { 
	text-align: center; 
}

div.dataTables_wrapper div.dataTables_length select {
	width: 90px;
}

.input-daterange .input-group-addon {
    width: auto;
    min-width: 16px;
    padding: 4px 5px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    text-shadow: 0 1px 0 #fff;
    vertical-align: middle;
    background-color: #eeeeee;
    border-width: 1px 0;
    margin-left: -5px;
    margin-right: -5px;
}

.btn-sq {
  width: 100px !important;
  height: 100px !important;
  font-size: 14px;
}

/* .token-input { width: 100% !important; } */

input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
}

.tokenfield.form-control {
	width: 100%;
}

a.calendario-ricerca-appuntamento-a {
	color: #666;
}

.fc-content span.fc-title {
    white-space: pre-line;
}

.noUi-connect {
	background-color: #CD1230; 
}

.toast-info {
	background-color: #fff;
	color: #333!important;
}
.toast-info:before {
	color: #333!important;
}

.toast-info .toast-close-button {
	color: #999;
}




/* Scrollbar start */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar:hover {
    width: 12px;
    height: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
    border-radius: 3px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: #CD1230; 
    border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #a7001b;
    width: 12px;
    border-radius: 4px; 
}

/* Scrollbar end */


#toast-container {
	z-index: 99999;
    
    overflow: auto;
    max-height: calc(100% - 24px);
    padding-right: 10px;
    right: 2px;
}

.toast-info.preventivo {
	background-color: #37424A;
}
.toast-info.preventivo .toast-title,
.toast-info.preventivo .toast-message{
	color: #FFF;
}
#toast-container > .toast-info.preventivo:before {
	color: #FFF!important;
}
.toast-info.preventivo .btn-primary{
	background-color: #FFF;
	border-color: #FFF;
	color: #37424A;
}
.toast-info.preventivo .btn-primary:hover {
	background-color: #fafafa;
	border-color: #fafafa;
}

/*Inizio Wizard*/
.wizard > .steps .current a, .wizard > .steps .current a:hover, .wizard > .steps .current a:active {
    background: #37424A;
    color: #fff;
}

.wizard > .actions a, .wizard > .actions a:hover, .wizard > .actions a:active {
    background: #37424A;
}

.wizard > .content > .body .has-error input {
     border-color: #a94442;
}

.wizard > .content {
	overflow: auto;
}
/*Fine Wizard*/

.token-input { width: 100% !important; }

.timeline-item .content {
    border-right: 1px solid #e7eaec;
}


.panel-primary {
    border-color: #CD1230;
}

.panel-primary > .panel-heading {
    background-color: #CD1230;
    border-color: #CD1230;
}

.label-primary, .badge-primary {
    background-color: #CD1230;
    color: #FFFFFF;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 3px;
}

.tt-menu {
	z-index: 999999999 !important;
}

.daterangepicker .ranges li.active {
	background-color: #CD1230 !important;
}

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #CD1230 !important;
}

div.summernote-container .note-toolbar.panel-heading {
	position: unset !important;
    width: auto !important;
}

@media (min-width: 1600px) {
	.container {
	    width: 1600px;
	}
}

.navbar-toggle {
    background-color: #CD1230;
}

.top-navigation .navbar-nav .dropdown-menu > .active > a {
    color: #CD1230;
}

.jvectormap-zoomin, .jvectormap-zoomout, .jvectormap-goback {
    background: #CD1230;
}

@media (min-width: 768px) {
	#page-wrapper {
	    min-height: 1000px;
	}
}

@media (min-width: 992px) {
	.modal-lg {
	    width: 900px;
	}
}


.orgchart {
	width: 100%;
	height: 100%;
}
.orgchart .node .title {
    width: 200px;
    font-size: 1rem;
     background-color: #CD1230;
}

.orgchart .node .content {
    height: 100%;
    font-size: 1rem;
    font-weight: bold;
}

.orgchart .node .title .symbol {
	display: none;
}

.orgchart .lines .downLine {
    background-color: #CD1230;
}

.swal2-confirm {
	margin-right: 7px;
}
.swal2-cancel {
	margin-left: 7px;
}

th input.dt-searchable {
	display: table-cell !important; 
	width: 100% !important;
}

tr.serchable-row th {
    background-color: #e1e1e1;
}

.btn-primary-portal.btn-outline {
  color: f01c1c;
}
.btn-primary-portal {
	background-color: #FFFFFF;
    border-color: #f01c1c;
    color: #f01c1c;
}
.btn-primary-portal:hover,
.btn-primary-portal:focus,
.btn-primary-portal:active,
.btn-primary-portal.active,
.open .dropdown-toggle.btn-primary-portal,
.btn-primary-portal:active:focus,
.btn-primary-portal:active:hover,
.btn-primary-portal.active:hover,
.btn-primary-portal.active:focus {
	background-color: #FFFFFF;
    border-color: #f01c1c;
    color: #f01c1c;
}
.btn-primary-portal.disabled,
.btn-primary-portal.disabled:hover,
.btn-primary-portal.disabled:focus,
.btn-primary-portal.disabled:active,
.btn-primary-portal.disabled.active,
.btn-primary-portal[disabled],
.btn-primary-portal[disabled]:hover,
.btn-primary-portal[disabled]:focus,
.btn-primary-portal[disabled]:active,
.btn-primary-portal.active[disabled],
fieldset[disabled] .btn-primary-portal,
fieldset[disabled] .btn-primary-portal:hover,
fieldset[disabled] .btn-primary-portal:focus,
fieldset[disabled] .btn-primary-portal:active,
fieldset[disabled] .btn-primary-portal.active {
  background-color: #8696a4;
  border-color: #8696a4;
}
button.btn-primary-portal.dim {
  box-shadow: inset 0 0 0 #4a5964, 0 5px 0 0 #4a5964, 0 10px 5px #999999;
}
button.btn-primary-portal.dim:active {
  box-shadow: inset 0 0 0 #4a5964, 0 2px 0 0 #4a5964, 0 5px 3px #999999;
}

.btn-info-portal {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #23c6c8;
}
.btn-info-portal:hover,
.btn-info-portal:focus,
.btn-info-portal:active,
.btn-info-portal.active,
.open .dropdown-toggle.btn-info-portal,
.btn-info-portal:active:focus,
.btn-info-portal:active:hover,
.btn-info-portal.active:hover,
.btn-info-portal.active:focus {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #23c6c8;
}
.btn-info-portal:active,
.btn-info-portal.active,
.open .dropdown-toggle.btn-info-portal {
  background-image: none;
}
.btn-info-portal.disabled,
.btn-info-portal.disabled:hover,
.btn-info-portal.disabled:focus,
.btn-info-portal.disabled:active,
.btn-info-portal.disabled.active,
.btn-info-portal[disabled],
.btn-info-portal[disabled]:hover,
.btn-info-portal[disabled]:focus,
.btn-info-portal[disabled]:active,
.btn-info-portal.active[disabled],
fieldset[disabled] .btn-info-portal,
fieldset[disabled] .btn-info-portal:hover,
fieldset[disabled] .btn-info-portal:focus,
fieldset[disabled] .btn-info-portal:active,
fieldset[disabled] .btn-info-portal.active {
  background-color: #26d7d9;
  border-color: #26d7d9;
}

.btn-button-portal.btn-outline {
  color: f01c1c;
}
.btn-button-portal {
    background-color: #FFFFFF;
    border-color: #999999;
    color: #f01c1c;
}
.btn-button-portal:hover,
.btn-button-portal:focus,
.btn-button-portal:active,
.btn-button-portal.active,
.open .dropdown-toggle.btn-button-portal,
.btn-button-portal:active:focus,
.btn-button-portal:active:hover,
.btn-button-portal.active:hover,
.btn-button-portal.active:focus {
    background-color: #FFFFFF;
    border-color: #999999;
    color: #f01c1c;
}
.btn-button-portal.disabled,
.btn-button-portal.disabled:hover,
.btn-button-portal.disabled:focus,
.btn-button-portal.disabled:active,
.btn-button-portal.disabled.active,
.btn-button-portal[disabled],
.btn-button-portal[disabled]:hover,
.btn-button-portal[disabled]:focus,
.btn-button-portal[disabled]:active,
.btn-button-portal.active[disabled],
fieldset[disabled] .btn-button-portal,
fieldset[disabled] .btn-button-portal:hover,
fieldset[disabled] .btn-button-portal:focus,
fieldset[disabled] .btn-button-portal:active,
fieldset[disabled] .btn-button-portal.active {
  background-color: #8696a4;
  border-color: #8696a4;
}
button.btn-button-portal.dim {
  box-shadow: inset 0 0 0 #4a5964, 0 5px 0 0 #4a5964, 0 10px 5px #999999;
}
button.btn-button-portal.dim:active {
  box-shadow: inset 0 0 0 #4a5964, 0 2px 0 0 #4a5964, 0 5px 3px #999999;
}