:root{
    --theme-color : #3999EF;
    --theme-color-2 : #ff7b45;
    --theme-color-3 : #71c05b;
    --theme-color-opacity : #3999EFa1;
    --theme-color-text : #FFFFFF;
    --theme-color-hover : #De0728;
    --theme-color-hover-text : #FFFFFF;
}

.btn-msg {
    font-family: "Roboto", sans-serif;
    transition: all ease-out 0.1s;
}

.btn-msg:hover {
    transform: scale(1.1);
}

.btn-msg:active,.btn-msg:focus {
    transform: scale(0.99);
    box-shadow: inset 0 0 10px 2px #000;
}

.back_msg { 
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #00000000;
    z-index: 1000;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    transition: all ease-out 0.2s;
}

.box_msg {
    width: 500px;
    min-height: 35vh;
    max-height: 90vh;
    /* background: #FFF; */
    background: linear-gradient(rgba(22, 22, 22, 0.44), rgba(22, 22, 22, 0.44), rgba(22, 22, 22, 0.44));
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2000;
    border-radius: 20px;
    box-shadow: 0 0 15px 2px #000000;
    transition: all ease-out 0.5s;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 20px;
} 

#head_msg {
    position: relative;
    top: 0;
    text-align: center;
    font-size: 18px;
    min-height: 30%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    padding: 2.5%;
    border-radius: 20px 20px 0 0;
    color: #fff;
}

#content_msg {
    position: relative;
    top: 0;
    padding: 10PX 25px;
    text-align: center;
    font-size: 16px;
    color: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
} 

#footer_msg {
    position: relative;
    padding: 2.5% 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    border-radius: 0 0 20px 20px;
    color: #fff;
}

.btn-action-msg {
    width: 30%;
    font-size: 20px;
    text-align: center;
    padding: 15px;
    background: #26a334;
    color:#FFF;
    border-radius: 20px;
    box-shadow: 0 0 5px 2px #000;
}

.btn-close {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 40px;
    width: 40px;
    border: 0px;
    display: flex;
    background: #d10606;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: #FFF;
    font-weight: 600;
    box-shadow: 0 0 10px 2px #575757;
}

.msg-anim-bounce-in {
	/*animation-name: bounce-in;
	animation-duration: 0.3s;
	animation-timing-function: linear;
	animation-delay: 0s;
	animation-iteration-count: 1;
	animation-direction: normal;
	animation-fill-mode: none;*/
		
	/* shorthand*/
	animation: bounce-in 0.3s linear 0s 1 normal none;
}
@keyframes bounce-in {
		
	0% {
		opacity:0;
		transform:scale(.3);
	}
	50% {
		opacity:1;
		transform:scale(1.0);
	}
	70% {
		transform:scale(0.9);
	}
	100% {
		transform:scale(1);
	}
}

.msg-anim-puff-out {
	/*animation-name: puff-out-center;
	animation-duration: 0.3s;
	animation-timing-function: linear;
	animation-delay: 0s;
	animation-iteration-count: 1;
	animation-direction: normal;
	animation-fill-mode: none;*/
		
	/* shorthand*/
	animation: puff-out-center 0.3s linear 0s 1 normal none;
}
@keyframes puff-out-center {
		
	0% {
		transform:scale(1);
		filter:blur(0);
		opacity:1;
	}
	100% {
		transform:scale(2);
		filter:blur(4px);
		opacity:0;
	}
}

.msg-anim-bounce-out {
	/* animation-name: bounce-out-zoomout;
	animation-duration: 1s;
	animation-timing-function: linear;
	animation-delay: 0s;
	animation-iteration-count: 1;
	animation-direction: normal;
	animation-fill-mode: forwards;*/
		
	/*shorthand*/
	animation: bounce-out-zoomout 0.3s linear 0s 1 normal forwards;
}
@keyframes bounce-out-zoomout {
		
	0% {
		transform:scale(1);
		animation-timing-function:ease-out;
	}
	5% {
		transform:scale(.95);
		animation-timing-function:ease-in;
	}
	10% {
		transform:scale(1);
		animation-timing-function:ease-out;
	}
	20% {
		transform:scale(.84);
		animation-timing-function:ease-in;
	}
	30% {
		transform:scale(1);
		animation-timing-function:ease-out;
	}
	45% {
		transform:scale(.7);
		animation-timing-function:ease-in;
	}
	65% {
		transform:scale(1);
		animation-timing-function:ease-out;
		opacity:1;
	}
	100% {
		transform:scale(0);
		animation-timing-function:ease-in;
		opacity:0;
		display:none;
	}
}
.msg-fade-in {
/* 	animation-name: fade-in;
	animation-duration: 2s;
	animation-timing-function: linear;
	animation-delay: 0s;
	animation-iteration-count: 1;
	animation-direction: normal;
	animation-fill-mode: forwards;*/
		
	/* shorthand*/
	animation: fade-in 0.3s linear 0s 1 normal forwards;
}
@keyframes fade-in {
		
	0% {
		opacity:0;
	}
	100% {
		opacity:1;
		display:flex;
	}
}
.msg-fade-out {
/* 	animation-name: fade-out;
	animation-duration: 2s;
	animation-timing-function: linear;
	animation-delay: 0s;
	animation-iteration-count: 1;
	animation-direction: normal;
	animation-fill-mode: forwards;*/
		
	/* shorthand*/
	animation: fade-out 0.3s linear 0s 1 normal forwards;
}
@keyframes fade-out {
		
	0% {
		opacity:1;
	}
	100% {
		opacity:0;
		display:none;
	}
}

/*Auto Complete*/
/*the container must be positioned relative:*/
.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    width: 90%;
    margin: auto;
    position: absolute;
    margin-top: -10px;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 1px 10px 15px 6px rgb(44 44 44 / 40%);
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
    color: #333333;
    border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important; 
    color: #ffffff; 
}


:root {
  --my-shadow-color: #000;
  --my-delay-time: 10s;
}

.chart-word-cloud{
  height: 100%;
  width: 100%;
  text-align: center;
  border-radius: 0.5em;
}

.chart-word-cloud .contentWords {
    position: absolute;
    margin: 0;
    min-width: 10%;
    max-width: 30%;
    font-size: 2%;
    color: #FFFFFF;
    filter: blur(1px); 
    opacity: 30;
    transition: all 10s ease, transform 1s ease, opacity 1s ease, filter 1s ease;
    transform: scale(1);
    /*transform: translateX(-50%);
    top: calc(50% - 1ex);
    left: 50%;*/
    z-index: 1;
}

.chart-word-cloud .contentWords:hover, .chart-word-cloud .detachWord{
  filter: blur(0px);
  opacity: 100;
  color: rgba(220, 220, 220, 0.6);
  transform: scale(1.3);
  text-shadow: 0 0 5px var(--my-shadow-color) !important;
}

.chart-word-cloud .activeWord {
    z-index: 100 !important;
    filter: blur(0px) !important;
    opacity: 100% !important;
    /* text-shadow: 0 0 10px var(--my-shadow-color) !important; */
    transform: scale(1.5) !important;
    background: #3999EF !important;
    color: #FFF !important;
    border-radius: 5px !important;
    border: 3px solid;
    box-shadow: 0 0 5px #000 !important;
    font-size: 15px !important;
    padding: 5px !important;
    transition: all 0.5s ease !important;
    width: 100%;
}

/* Popup container - can be anything you want */
.chart-word-cloud .popup {
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.chart-word-cloud .popup .popuptext {
    visibility: hidden;
    min-width: 100%;
    background-color: #3999EF;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: -50px;
    margin-left: -50%;
    font-size: 12px;
    border: 3px solid #FFF;
}

/* Popup arrow */
.chart-word-cloud .popup .popuptext::after {
    content: "";
    position: absolute;
    /*filter: drop-shadow(0px 3px 3px black);*/
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    /* border: 3px solid #FFF; */
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
    z-index: 1;
}

/* Toggle this class - hide and show the popup */
.chart-word-cloud .popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
  box-shadow: 0 0 5px #000 !important;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}