/* AI DEMO HTML RESULT BLOCK */

.prediction {
	display:flex;
}

.prediction .predicted-result {
	min-width:15%;
	max-width:30%;
}

.prediction .predicted-image {
	margin:0 10px;
	text-align: center;
	min-width:70%;
}

.prediction .predicted-image img {
	border-radius:10px;
	max-height:500px;
}

.prediction .predicted-tags {
	display: inline-block;
	overflow: auto;
	max-height: 500px;
	min-width:15%;
	max-width:30%;
}

.prediction .predicted-tags .tag {
	display: inline-block;
	border: 0 !important;
	border-radius: 3px;
	padding: 4px 10px;
	margin: 3px;
	color: white;
	background-color: darkgray;
}

.prediction .classification-frame {
  	position:absolute;
  	border: 3px groove transparent;
  	border-radius: 3px;
  	background-color: transparent !important;
}

.prediction .predicted-tags div[class*='tag-class-'], .prediction .classification-frame[class*='frame-class-'] {
	background-color: green;
	border-color: green;
}

.prediction .predicted-tags .tag-class-child {
	background-color: red !important;
}
.prediction .classification-frame.frame-class-child {
	border-color: red !important;
}

.prediction .predicted-tags .tag-class-adult {
	background-color: blue !important;
}
.prediction .classification-frame.frame-class-adult {
	border-color: blue !important;
}

.prediction .predicted-tags .tag-class-senior {
	background-color: magenta !important;
}
.prediction .classification-frame.frame-class-senior {
	border-color: magenta !important;
}

.prediction .predicted-tags .tag-class-pose {
	background-color: gray !important;
}
.prediction .classification-frame.frame-class-pose {
	border-color: gray !important;
}

/* LOADING WHEEL */

.loading {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
}

.loading-wheel {
    width: 50px;
    height: 50px;
    margin-top: -40px;
    margin-left: -40px;
    
    position: absolute;
    top: 50%;
    left: 50%;
    
    border-width: 8px;
    border-radius: 50%;
    -webkit-animation: spin 1s linear infinite;
}

.style-1 .loading-wheel {
    border-style: solid;
    border-color: #57AB27 transparent;
}

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