﻿/* MONTEGRAPPA
$font: 'Helvetica Neue', Helvetica, Arial, sans-serif !default;
$defaultBubble: #DBE3AB !default;
$defaultBubbleUser: #474441 !default;
$color: #474441 !default;
$colorBubbleUser: #FFFFFF !default;
$bgsuccess: #474441 !default;
$bordersuccess: #474441 !default;
$selected: #474441 !default;
$success: #6F8148 !default;
$closebutton: #6F8148 !default;
$successHistoryBorder: #577A4B !default;
$link: #0B4667 !default;
$warning: #D6B292 !default;
$warningHOver: #D07823 !default;
$shadow: #B2B2B2 !default;
$mobilebeakpoint: 499px !default;
$background: #f0e2ca !default;
$backgroundButton: #D6B292 !default;

*/
/*
    $font: 'Helvetica Neue', Helvetica, Arial, sans-serif !default;
    $defaultBubble: #C9E8ED !default;
    $color: #8b95a5 !default;
    $success: #80951D !default;
    $link: #80951D !default;
    $warning: #D6B292 !default;
    $warningHOver: #D07823 !default;
    $shadow: #B2B2B2 !default;
    $mobilebeakpoint: 499px !default;
    $background: #FFFFFF !default;
*/
html, body {
  font-family: "Open Sans", Sans-serif;
  overflow-x: hidden;
}

a, .btn-link {
  color: #0366d6;
}

p {
  margin-bottom: 0rem;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.valid.modified:not([type=checkbox]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid red;
}

.validation-message {
  color: red;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.card-bordered {
  border: 1px solid #ebebeb;
}

.card {
  border: 0;
  border-radius: 0px;
  margin-bottom: 65px;
  -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.03);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.03);
  -webkit-transition: 0.5s;
  padding-bottom: 50px;
  background-color: #F1E7DA;
}

body {
  background-color: #f9f9fa;
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.card-header {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
  padding: 15px 20px;
  background-color: #fff;
  border-bottom: 1px solid rgba(77, 82, 89, 0.07);
}

.card-header .card-title {
  padding: 0;
  border: none;
}

h4.card-title {
  font-size: 17px;
}

.card-header > *:last-child {
  margin-right: 0;
}

.card-header > * {
  margin-left: 8px;
  margin-right: 8px;
}

.btn-secondary {
  color: #4d5259 !important;
  background-color: #e4e7ea;
  border-color: #e4e7ea;
  color: #fff;
}

.btn-xs {
  font-size: 11px;
  padding: 2px 8px;
  line-height: 18px;
}

.btn-xs:hover {
  color: #fff !important;
}

.card-title {
  font-family: Roboto, sans-serif;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 0;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(77, 82, 89, 0.07);
}

.ps-container {
  position: relative;
}

.ps-container {
  -ms-touch-action: auto;
  touch-action: auto;
  overflow: hidden !important;
  -ms-overflow-style: none;
}

.media-chat {
  padding-right: 64px;
  margin-bottom: 0;
}

.media hr {
  margin-left: 0px;
  margin-right: 0px;
  margin-top: -10px;
  margin-bottom: 10px;
}

#Chat {
  width: 500px;
}

#ModaleAbilitaAudio {
  max-width: 500px;
}

.media {
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
}

.media-chat .avatar {
  display: block;
  float: left;
}

.media-chat-reverse {
  float: right;
}

.media-chat-reverse .avatar {
  display: block;
  float: right;
}

.media-chat .media-body {
  float: left;
  backgrond-color: #A97B50;
}

.media-chat-reverse .media-body time {
  background-color: #A97B50;
  width: 50px;
  display: block;
}

.media-chat-reverse .media-body {
  float: right;
}

.avatar {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 64px;
  line-height: 68px;
  text-align: center;
  border-radius: 100%;
  background-color: #f5f6f7;
  color: #8b95a5;
  text-transform: uppercase;
}

.media-chat .media-body {
  -webkit-box-flex: initial;
  flex: initial;
  display: table;
}

.media-body {
  min-width: 450px;
  max-width: 450px;
}

.media-chat .media-body p {
  position: relative;
  padding: 6px 8px;
  background-color: #A97B50;
  border-radius: 3px;
  color: #FFFFFF;
}

.media-chat .media-body .meta {
  color: #FFFFFF;
}

.media > * {
  margin: 0 8px;
}

.media-body div.meta {
  padding: 0;
  font-size: 0.7em;
  margin-top: -4px;
  margin-bottom: 11px;
}

.media-chat .media-body time {
  background-color: #79BAC8;
  width: 50px;
  display: block;
}

.media-meta-day {
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
  margin-bottom: 0;
  color: #333333;
  font-weight: 400;
}

.media {
  padding: 16px 12px;
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
}

.media-meta-day::before {
  margin-right: 16px;
}

.media-meta-day::before,
.media-meta-day::after {
  content: "";
  -webkit-box-flex: 1;
  flex: 1 1;
  border-top: 1px solid #ebebeb;
}

.media-meta-day::after {
  content: "";
  -webkit-box-flex: 1;
  flex: 1 1;
  border-top: 1px solid #ebebeb;
}

.media-meta-day::after {
  margin-left: 16px;
}

.media-chat.media-chat-reverse {
  padding-right: 12px;
  padding-left: 64px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  flex-direction: row-reverse;
}

.media-chat {
  padding-right: 64px;
  margin-bottom: 0;
}

.media {
  padding: 0px;
  margin-top: 20px;
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
}

.media-chat-reverse {
  position: relative;
}

.media-chat-reverse .media-body {
  float: right;
  padding: 10px;
  background-color: #A97B50;
  color: #333333;
  -webkit-border-radius: 5px;
  -webkit-box-shadow: 0px 0px 6px #B2B2B2;
  margin-right: 20px;
  margin-top: -20px;
}

.media-chat-reverse .avatar {
  border: 2px solid #A97B50;
}

/*
.media-chat-reverse .media-body:before {
    background-color: inherit;
    box-shadow: 1px 0 -1px 1px $shadow;
    content: "\00a0";
    display: block;
    height: 20px;
    top: 25px;
    right: 90px;
    position: absolute;
    transform: rotate( 45deg );
    -moz-transform: rotate( 45deg );
    -ms-transform: rotate( 45deg );
    -o-transform: rotate( 45deg );
    -webkit-transform: rotate( 45deg );
    width: 20px;
}
*/
.media-chat {
  position: relative;
}

.media-chat .media-body {
  float: left;
  padding: 10px;
  background-color: #A97B50;
  -webkit-border-radius: 5px;
  -webkit-box-shadow: 0px 0px 6px #B2B2B2;
  margin-left: 20px;
  margin-top: -20px;
}

.media-chat .avatar {
  border: 2px solid #A97B50;
}

.media-chat .meta {
  text-align: right;
}

/*
.media-chat .media-body:before {
    background-color: inherit;
    box-shadow: -1px 1px 1px 0 #DEDEDE;
    content: "\00a0";
    display: block;
    height: 20px;
    top: 25px;
    left: 90px;
    position: absolute;
    transform: rotate( 45deg );
    -moz-transform: rotate( 45deg );
    -ms-transform: rotate( 45deg );
    -o-transform: rotate( 45deg );
    -webkit-transform: rotate( 45deg );
    width: 20px;
}
*/
.border-light {
  border-color: #f1f2f3 !important;
}

.publisher {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  padding: 12px 20px;
  background-color: #fff;
  bottom: 0px;
  width: 510px;
}

.publisher > *:first-child {
  margin-left: 0;
}

.publisher > * {
  margin: 0 8px;
}

.publisher-input {
  -webkit-box-flex: 1;
  flex-grow: 1;
  border: none;
  outline: none !important;
  background-color: transparent;
}

button,
input,
optgroup,
select,
textarea {
  font-family: Roboto, sans-serif;
  font-weight: 300;
}

.publisher-btn {
  background-color: transparent;
  border: none;
  color: #333333;
  font-size: 16px;
  cursor: pointer;
  overflow: -moz-hidden-unscrollable;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}

.file-group {
  position: relative;
  overflow: hidden;
}

.publisher-btn {
  background-color: transparent;
  border: none;
  color: #cac7c7;
  font-size: 16px;
  cursor: pointer;
  overflow: -moz-hidden-unscrollable;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}

.file-group input[type=file] {
  position: absolute;
  opacity: 0;
  z-index: -1;
  width: 20px;
}

.text-info {
  color: #A97B50 !important;
}

.dots {
  height: 10px;
}

.button {
  background-color: #DDDDDD !important;
  padding: 5px;
}

.button-active {
  background-color: #adeb50 !important;
  color: #333333 !important;
}

.button-disabled {
  opacity: 0.5;
}

.text-chips {
  padding: 0px;
}

.grid-striped .row:nth-of-type(odd) {
  background-color: #fd7e14;
}

.grid-striped .row:nth-of-type(even) {
  background-color: #ffc391;
}

.grid-striped {
  border: 1px solid #fd7e14;
  padding-left: 5px;
  padding-right: 5px;
}

.chips_Button .btn {
  border-radius: 2.2rem;
}

.chips_Tile .tile-img {
  position: relative;
}

.tile-img {
  border-radius: 10px;
  border: 1px solid #474441;
  overflow: hidden;
}

.tile-img:hover {
  cursor: pointer;
  transform-origin: center center;
  animation: scale 100ms ease-in-out forwards;
}

.Hidden {
  display: none;
}

.chips_Tile .tile-img .buttonText {
  position: absolute;
  bottom: 0px;
  padding: 10px;
  opacity: 0.8;
  font-size: 1.2em;
  text-align: center;
}

.chips_Tile .buttonText {
  border-radius: 5%;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem #aaa !important;
}

.btn-success {
  color: #fff;
  background-color: #038161;
  border-color: #038161;
}

.btn-warning {
  color: #333;
  background-color: #D6B292;
  border-color: #D6B292;
}

.btn-warning:hover {
  color: #333;
  background-color: #D07823;
  border-color: #D07823;
}

.btn {
  padding: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
  background-color: #D6B292;
}

@media only screen and (max-width: 499px) {
  #Chat {
    width: 100%;
    padding-right: 0px;
  }
  .media-body {
    min-width: 90%;
    max-width: 90%;
  }
  .publisher {
    width: 100%;
  }
  .publisher .avatar {
    display: none;
  }
}
/* css di sviluppo */
#ModaleMic {
  position: relative !important;
  display: block;
}

#MicGif {
  width: 128px;
}

.recbtn2 {
  width: 32%;
  height: 100%;
}

.recbtn2 {
  border-radius: 15px !important;
  background: #79BAC8;
  color: #FFFFFF;
}

.recbtn2:disabled {
  background: lightgrey;
}

.mic-icon {
  position: absolute;
  right: 40px;
}

.textBold {
  font-weight: bold;
}

.readmore {
  text-decoration: underline;
  margin-top: 10px;
  margin-bottom: 10px;
  display: block;
  color: #0B4667;
}

.readmore .fa, .readmore .fas {
  text-decoration: none;
  margin-right: 5px;
  color: #0B4667;
}

#hideChatbot {
  left: 0px;
  position: absolute;
  top: 0px;
  background-color: #A97B50 !important;
  padding: 8px 10px 8px 10px;
  margin: 0px;
  border-radius: 0px 30px 30px 0px;
  color: #fff !important;
  cursor: pointer;
}

#hideChatbot img {
  margin-left: 5px;
}

.avatarMini {
  width: 32px !important;
  height: 32px !important;
}

#menu {
  position: absolute;
  right: 20px;
}

.card-header {
  height: 50px;
}

#chat-content {
  background-color: #F1E7DA;
}

.imgs img, .imgs svg {
  max-height: 36px;
  max-width: 36px;
  padding:3px;
}

td.imgs {
  width: 42px;
}

.page-content {
  background-color: #F1E7DA !important;
}

.btnSelected {
  background-color: #038161;
}

.btnSelectedHistory {
  border: 2px dashed #577A4B;
}
.sticky-top{
color: #A97B50;
}
.card-header .personality{
display:none;
}
.card-header .lens {
    right: 70px !important;   /* prima era 120px */
}

.card-header #AudioNo {
    right: 120px !important;  /* prima era 170px */
}
.thumbs{
display:none;
}
.meta div:first-child {
    display: none;
}
.attachment{
	display:none;
}
.publisher textarea{
	width: calc(100% - 50px)!important;
}