/**====== Style CSS - AI ======**/


/**====== Global Result ======**/
.AI-Global-Result-Error {
    color: #a94442;
}

.AI-Global-Result-Success {
    color: #3c763d;
}

.AI-Global-Result-Normal {
    color: inherit;
}


/**====== Global Display ======**/
.AI-Global-Display-On {
    display: initial;
}

.AI-Global-Display-Off {
    display: none;
}

.AI-Global-Display-Inline {
    display: inline;
}

/**====== Global Position ======**/
.AI-Global-Display-center {
    margin: auto;
}

.AI-Global-Master-App-Div {
    width: 100%;
    height: 100%;
    margin: auto;
}

/**====== Specific - Recaptcha Google ======**/
.AI-Spec-Display-Recaptcha {
    padding-left: 8%;
}


/*==== Global Loader (small point) ====*/
.AI-Global-preloader {
    width: auto;
    padding-top: 20px;
    height: 15px;
    text-align: center;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.AI-Global-preloader > div {
    margin: 2px;
    background-color: #4680ff;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    -webkit-animation: stretchdelay 0.7s infinite ease-in-out;
    animation: stretchdelay 0.7s infinite ease-in-out;
}
.AI-Global-preloader .circ2 {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}
.AI-Global-preloader .circ3 {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}
.AI-Global-preloader .circ4 {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}
.AI-Global-preloader .circ5 {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}
.AI-Global-preloader .loader-md {
    height: 13px;
    width: 13px;
}
.AI-Global-preloader .loader-lg {
    height: 18px;
    width: 18px;
}



/*===== Global Loader (circle) =====*/
#AI-Global-loader-big {
    width: 350px;
    height: 350px;
    display: block;
    transform-origin: 50% 50%;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

#AI-Global-loader-circle-big {
    fill: none;
    stroke: #4680ff;
    stroke-width: 1;
    animation: draw 3s ease-in-out infinite;
}

@keyframes draw {
    0% {
        stroke-dasharray: 20, 282.6;
    }
    50% {
        stroke-dasharray: 200, 282.6;
    }
    100% {
        stroke-dasharray: 20, 282.6;
    }
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/*===== Form Loader (circle) =====*/
.AI-form-master {
    position: relative;
}

.AI-form-loader {
    background-color: black;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.7;
    display: none;
    z-index: -1;
}

.AI-form-loader-block {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.AI-Global-loader-medium {
    width: 100px;
    height: 100px;
    display: block;
    transform-origin: 50% 50%;
    /*top: calc(50% - 50px);*/
    top: calc(50% - 5px);
    left: calc(50% - 50px);
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.AI-Global-loader-circle-medium {
    fill: none;
    stroke: #4680ff;
    stroke-width: 1;
    animation: draw 3s ease-in-out infinite;
}



/*==== Notification - Add/Overload AI-CSS for notification Growl ====*/
.alert {
    min-width: 250px;
}

.alertIcon {
    margin-right: 5px;
}

.growl-animated.alert-info-inverse {
    background-color: rgba(33, 150, 243, 1);
    border-color: transparent;
    color: #ffffff;
}

.growl-animated.alert-success-inverse {
    background-color: rgba(76, 175, 80, 1);
    border-color: transparent;
    color: #ffffff;
}

.growl-animated.alert-warning-inverse {
    background-color: rgba(255, 193, 7, 1);
    border-color: transparent;
    color: #ffffff;
}

.growl-animated.alert-danger-inverse {
    background-color: rgba(244, 67, 54, 1);
    border-color: transparent;
    color: #ffffff;
}

/**====== User media (avatar / banner) ======**/
#AI_UserMedia_Modal {
  z-index: 10050;
}
.modal-backdrop.AI_UserMedia_Backdrop,
body > .modal-backdrop {
  z-index: 10040;
}
.AI_UserMedia_BannerWrap {
  position: relative;
}
.AI_UserMedia_BannerWrap > .card-block.user-info {
  /* Let banner camera receive clicks in empty overlay areas */
  pointer-events: none;
}
.AI_UserMedia_BannerWrap > .card-block.user-info .profile-image,
.AI_UserMedia_BannerWrap > .card-block.user-info .user-title {
  pointer-events: auto;
}
.AI_UserMedia_BannerWrap > .AI_UserMedia_EditBanner {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 30;
  opacity: 1;
  pointer-events: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.AI_UserMedia_EditLabel {
  font-size: 12px;
  font-weight: 600;
}
.AI_UserMedia_AvatarWrap {
  position: relative;
  display: inline-block;
  z-index: 30;
  width: 100px;
  height: 100px;
}
.AI_UserMedia_AvatarWrap img,
#AI_UserProfile_AvatarImg {
  width: 100px !important;
  height: 100px !important;
  max-width: 100px !important;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}
.AI_UserMedia_AvatarWrap .AI_UserMedia_EditAvatar {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  padding: 0;
  border-radius: 50%;
  background: #1b8bf9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  pointer-events: auto !important;
}
.AI_UserMedia_DropZone {
  border: 2px dashed #90a4ae;
  border-radius: 6px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.15);
}
.AI_UserMedia_DropZone--active {
  border-color: #1b8bf9;
  background: rgba(27, 139, 249, 0.12);
}
.AI_UserMedia_CropWorkspace {
  margin-top: 8px;
}
.AI_UserMedia_CropStage {
  max-height: 360px;
  min-height: 200px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.AI_UserMedia_CropStage img,
#AI_UserMedia_CropImage {
  display: block;
  max-width: 100%;
}
#AI_UserMedia_CropImage:not([src]),
#AI_UserMedia_CropImage[src=""] {
  display: none !important;
}
.AI_UserMedia_Preview {
  width: 100px;
  height: 100px;
  overflow: hidden;
  margin: 8px auto 0;
  border: 1px solid #455a64;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.15);
}
.AI_UserMedia_ModalFooter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.AI_UserMedia_ModalFooter .mr-auto {
  margin-right: auto;
}
.AU_UserAvatarThumb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
img.ai-user-avatar-shell {
  width: 40px !important;
  height: 40px !important;
  object-fit: cover;
}
