@font-face {
  font-family: 'Sohne';
  src: url('../fonts/sohne/Sohne-Buch.eot');
  src: url('../fonts/sohne/Sohne-Buch.eot?#iefix') format('embedded-opentype'),
      url('../fonts/sohne/Sohne-Buch.woff2') format('woff2'),
      url('../fonts/sohne/Sohne-Buch.woff') format('woff'),
      url('../fonts/sohne/Sohne-Buch.ttf') format('truetype');
}
body{
  font-family: 'Raleway', sans-serif;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}
.box{
	box-shadow: 0 5px 7px rgba(0,0,0,0.2) !important;
}
.sidebar-menu>li>a {
    padding: 14px 5px 14px 15px;
}	
.sidebar-menu .treeview-menu>li>a {
    padding: 10px 10px 10px 15px !important;
    display: block;
}
.form-group{
	margin-bottom: 0 !important
}
.sep-form{
	height: 1px;
	display: block;
	background-color: #f5f5f5;
	margin-top: 4px;
	margin-bottom: 4px;
}

.box-primary label.nonvalido,
.box-warning label.nonvalido,
.box-success label.nonvalido,
.box-info label.nonvalido{
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	font-weight: 600;
	font-size: 11px;
	font-style: italic;
	letter-spacing: 0;
	text-transform: none;
	padding: 2px 15px 0 15px;
	border-radius: 15px 15px 0 0;
	text-shadow: none;
	background-color: transparent !important;
	display: inline-block;
	float: right;
	margin-top: -18px;
}

.box-primary .form-control,
.box-warning .form-control,
.box-success .form-control,
.box-info .form-control{
	height: 45px;
	border: 2px solid #cccccc;
	border-radius: 3px !important;
}

.box-primary .form-control:hover,
.box-primary .form-control:focus{
	border: 2px solid #3c8dbc;
}
.box-warning .form-control:hover,
.box-warning .form-control:focus{
	border: 2px solid #f39c12;
}
.box-success .form-control:hover,
.box-success .form-control:focus{
	border: 2px solid #00a65a;
}
.box-info .form-control:hover,
.box-info .form-control:focus{
	border: 2px solid #00c0ef;
}

textarea{
	resize: vertical;
	overflow: hidden;
	min-height: 100px;
}

#clock{
	padding: 10px;
	color: #ffffff;
	font-size:18px;
	font-style: italic;
	font-weight: 300;
}
#menuToggle{
	padding-top: 13px;
	padding-bottom: 13px;
	font-size: 24px;
}
#menuDropdown li a{
	padding: 8px 15px !important;
}
.tab-pane h4{
	font-size: 22px !important;
}
.tab-pane p,
.tab-pane ul li,
.tab-pane ol li,
.tab-pane a{
	font-size: 15px !important;
	line-height: 24px;
}
.box-primary #testo_dinamico.form-control,
.box-warning #testo_dinamico.form-control,
.box-success #testo_dinamico.form-control,
.box-info #testo_dinamico.form-control{
	height: 250px;
	border: 2px solid #ebebeb;
	border-radius: 3px !important;
}

.wizard-step-panel{
	background-color: #ffffff;
    padding: 10px;
    margin-bottom: 10px;
	min-height: 140px;
}

.wizard-step-panel a{
	text-align: center;
	text-decoration: none;
}
.wizard-step-panel span{
	display: block;
    text-align: center;
    font-size: 50px;
	margin-bottom: 10px;
}
.wizard-step-panel p{
	display: block;
    text-align: center;
	margin-bottom: 0;
	background-color: #ebebeb;
	border-radius: 5px;
	color: #000000 !important;
}

#text_giorni .label{
	font-size: 13px;
    display: inline-block;
    margin-top: 7px;
    margin-left: 7px;
}

.modal {
  text-align: center;
}

@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}
.has-feedback label~.form-control-feedback {
    top: 5px;
    right: 5px;
}

.box-configurazione .row{
	padding-top:5px;
	padding-bottom:5px;
}

.box-configurazione em{
	font-weight: bold;
	margin-bottom: 5px;
}

.wysihtml5-sandbox{
    height: 200px !important;
}

.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(../img/Preloader_3.gif) center no-repeat #fff;
}

.container-check {
	display: block;
	position: relative;
	padding-left: 40px;
	cursor: pointer;
	font-size: 14px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin-bottom: 0;
	line-height: 30px;
}

/* Hide the browser's default checkbox */
.container-check input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 30px;
	width: 30px;
	background-color: #ffffff;
	border:2px solid #999999;
	border-radius: 3px;
	-webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
}

/* On mouse-over, add a grey background color */
.container-check:hover input ~ .checkmark {
	background-color: #ebebeb;
}

/* When the checkbox is checked, add a blue background */
.container-check input:checked ~ .checkmark {
	background-color: #137cf4;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the checkmark when checked */
.container-check input:checked ~ .checkmark:after {
	display: block;
}

/* Style the checkmark/indicator */
.container-check .checkmark:after {
	left: 8px;
	top: 4px;
	width: 9px;
	height: 14px;
	border: solid white;
	border-width: 0 4px 4px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.container-radio {
	display: block;
	position: relative;
	padding-left: 40px;
	cursor: pointer;
	font-size: 14px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin-bottom: 0;
	line-height: 30px;
}

/* Hide the browser's default checkbox */
.container-radio input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

/* Create a custom checkbox */
.radiomark {
	position: absolute;
	top: 0;
	left: 0;
	height: 30px;
	width: 30px;
	background-color: #ffffff;
	border:2px solid #999999;
	border-radius: 30px;
	-webkit-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
	box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.3);
}

/* On mouse-over, add a grey background color */
.container-radio:hover input ~ .radiomark {
	background-color: #ebebeb;
}

/* When the checkbox is checked, add a blue background */
.container-radio input:checked ~ .radiomark {
	background-color: #137cf4;
}

/* Create the checkmark/indicator (hidden when not checked) */
.radiomark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the checkmark when checked */
.container-radio input:checked ~ .radiomark:after {
	display: block;
}

/* Style the checkmark/indicator */
.container-radio .radiomark:after {
	left: 8px;
	top: 4px;
	width: 9px;
	height: 14px;
	border: solid white;
	border-width: 0 4px 4px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.rangeValue{
  display: inline-block;
  width: 100%;
  padding-bottom: 15px;
}
.value {
  text-align: center;
  font-weight: bold;
  font-size: 10em;
  width: 300px; 
  line-height: 90px;
  margin: 10px auto 40px auto;
  letter-spacing: -.07em;
  text-shadow: white 2px 2px 2px;
  color: #f9c902;
}
input[type="range"] {
  display: block;
  -webkit-appearance: none;
  background-color: #bdc3c7;
  width: 300px;
  height: 5px;
  border-radius: 5px;
  margin: 0 auto;
  outline: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: #c40000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
  transition: .3s ease-in-out;
}
input[type="range"]::-webkit-slider-thumb:hover {
  background-color: white;
  border: 2px solid #c40000;
}
input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.6);
}

.icona-si{
  float: left;
  font-size: 30px;
  margin: -22px 0 0 0;
  display: inline-block;
  color: #05a705;
}
.icona-no{
  float: right;
  font-size: 30px;
  margin: -22px 0 0 0;
  display: inline-block;
  color: #c40000;
}
input.error{
  border-color: #c40000;
}
label.error{
  display: inline-block;
  float: right;
  margin-top: -20px;
  margin-right: 5px;
  font-size: 12px;
  font-style: italic;
  color: #c40000;
}

.btn-codetype{
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 2px solid #cccccc;
  border-radius: 5px;
  box-shadow: none;
  text-decoration: none !important;
  display: inline-block;
  width: 100%;
  background-color: #ffffff;
  padding: 5px 10px;
  color: #000000 !important;
  margin-bottom: 15px;
  position: relative;
  text-align: center;
  font-size: 20px;
}
.btn-codetype:hover{
  outline: 2px solid #058af7;
  outline-offset: -2px;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  color: #003e70 !important;
  background-color: #d6edff;
}
.btn-codetype.selected{
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  color: #003e70 !important;
  outline: 2px solid #058af7 !important;
  outline-offset: -3px;
  background-color: #d6edff;
}
.btn-codetype i{
  color: #cccccc;
  font-size: 24px;
  padding-top: 3px;
  text-align: center;
  display: inline-block;
  width: 100%;
  margin: 0 auto 10px auto;
}
.btn-codetype:hover i{
  color: #058af7;
  font-size: 30px;
  padding-top: 0;
  margin: 0 auto 7px auto;
}
.btn-codetype.selected i{
  color: #058af7;
}
.btn-codetype i.fa-check{
  display: none;
  position: absolute;
  bottom: -13px;
  right: -13px;
  color: #ffffff;
  background-color: #058af7;
  border-radius: 50px;
  width: 30px;
  height: 30px;
  line-height: 0;
  padding: 16px 5px 0;
  font-size: 21px;
  padding-top: 16px;
  margin:  0 auto 0 auto !important;
}
.btn-codetype h4{
  font-size: 18px;
  font-weight: 600;
  color: #616568;
  margin-bottom: 0;
}
.btn-codetype small{
  padding: 0px;
  font-size: 12px !important;
  padding-right: 15px !important;
}
.body-loader{
  display: none;
  width: 100%;
  position: fixed;
  top: 0;
  background-color: rgba(0,0,0,0.7);
  height: 100%;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  position: absolute;
  top: 40%;
  left: 35%;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

/* Track */
::-webkit-scrollbar-track {
  background: #cccccc; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #3c8dbc; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #cccccc; 
}

/*
.userRequest{
  display: inline-block;
  width: 100%;
  text-align: right;
  margin-bottom: 10px;
}
.userRequest div{
  background-color: #deffd9;
  border-radius: 10px;
  padding: 10px 10px 0 10px;
  display: inline-block;
  max-width: 80%;
}
.aiRequest{
  display: inline-block;
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
}
.aiRequest div{
  background-color: #d9e3ff;
  border-radius: 10px;
  padding: 10px 10px 0 10px;
  display: inline-block;
  max-width: 80%;
}
*/

.direct-chat-text{
  font-size: 16px;
}