@font-face {
	font-family: "Apercu Pro"; 
	src: url("font/ApercuPro-Regular.eot?#iefix") format("embedded-opentype"), 
	url("font/ApercuPro-Regular.woff") format("woff"), 
	url("font/ApercuPro-Regular.ttf") format("truetype"), 
	url("font/ApercuPro-Regular.svg#Apercu Pro") format("svg"); 
} 
@font-face {
	font-family: 'Open Sans Light';
	font-style: normal;
	font-weight: 300;
	src:url(https://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTRa1RVmPjeKy21_GQJaLlJI.woff) format('woff');
 }

body {
	font-family: 'Open Sans Light' !important;
	width: 100%;
	height: auto;
	margin: auto;
	position: relative;
	background-color: white !important;
	text-align: left;
	color: #333333 !important;
}

h1{
	font-family: 'Apercu Pro' !important;
}

h2{
	font-size: 1.5em;
}

.text{
	text-align: left;

}

.my-shadow{
	box-shadow: 0px 6px 8px rgba(44, 44, 44, .4);
}

#user_image{
	display:none;
}

#reference_image{
	display: none;
}

#fileDropBox {
	width: 6em;
	text-align: center;
	color: #333333;
	background-color: #EFEFEF;
	border-style: dashed;
	border-radius: .2em;
	border-width: .1em;
}

#second_row{
	margin-top: 3em;
}

.main_card{
	text-align: center;
}

.left_card{
	padding: .5em !important;
	text-align: left;
}

.left_card *{
	font-size: .7em !important;
}

.middle_card{
	padding: .5em !important;
	text-align: center;
}

.middle_card *{
	font-size: .7em !important;
}

.right_card{
	padding: .5em !important;
	text-align: right;
}

.right_card *{
	font-size: .7em !important;
}

#class_row{
	margin-right: 0em;
	margin-left: 0em;	
}

.mini_img{
	height: 8em;
}

.class_img{
	z-index: 0;
	margin: .5em;
	transition: all .2s ease-in-out; 
	background: white;
}

.class_img:hover{
	z-index: 1;
	transform: scale(1.05);
}

.class_img_min{
	z-index: 0;
	box-shadow: 0px 2px 3px rgba(44, 44, 44, .4);
	transition: all .2s ease-in-out; 
	background: white;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.class_img_min:hover{
	z-index: 1;
	transform: scale(1.05);
}

.prototype{
	margin-top: 5em;
	margin-bottom: 10em;
}

.class_title{
	font-weight: bolder;
}

.normal_text{
	font-size: .8em;

}

.water_class{
	font-size: .8em;
	font-weight: 900;
}

.content {
	flex-flow: row wrap;
/*	height: 90%; */
	align-items: center;
	justify-content: center;
}

.col-md-5{
	margin-top: 2em;
}

.col {
	flex: 1;
	padding: 2em;
	min-width: 33%;
}

#images{
	margin-bottom: 1em;
}

.img_container {
	border: 1px solid red;
	max-width: 90%;
	max-height: 90%;
	margin: auto;
}

.img {
	max-height: 100%;
	max-width: 100%;
	pointer-events: none;
}

.prediction {
	background-color: #EFEFEF;
	width: fit-content;
	width: -moz-fit-content;
	width: -webkit-fit-content;
	height: fit-content;
	height: -moz-fit-content;
	height: -webkit-fit-content;
	margin: 0 auto;
}

.card-body{
	max-width: 100%;
	border: None !important;
	padding: 1em;
	font-size: 1.5em !important;
}

.spinner-border{

	border: 4px solid #f3f3f3;
	border-radius: 50%;
	border-top: 4px solid #efee48;
	width: 4em;
	height: 4em;
	-webkit-animation: spin 2s linear infinite; /* Safari */
	animation: spin 2s linear infinite;
	margin:auto;
}

.spinner_outer{
	padding-top: 2em;
}

/* Safari */
@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(720deg); }
}
  
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(720deg); }
}


.btn{
    background-color:#efee48;
    border-color:#efee48;
	color:black;
	text-decoration: none; 
	border: none; 
	background: none; 
	display: inline-block; 
	box-shadow: none;
	-webkit-appearance: none; 
	outline: none;
	border-radius: 4px; 
	font-size: 1em; 
	opacity: 1;
	cursor: pointer;
	padding: 0.8em;
	display: block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.btn:hover{
    background-color:#d4d441;
    border-color:#d4d441;
    color:black;
}

.btn:active{
    background-color:#efee48;
    border-color:#efee48;
    color:black;
    outline-color:#efee48;
}
.btn:visited{
    background-color:#efee48;
    border-color:#efee48;
    color:black;
    outline-color:#efee48;
}
.btn:focus{
    background-color:#efee48;
    border-color:#efee48;
    color:black;
    outline-color:#efee48;
}

.submit {
	background-color:#efee48;
    border-color:#efee48;
    color:black;
}

.logo{
	position:absolute;
	top: 1em;
	left: 1em;
}

.header {
	color: #333333;
	margin-bottom: 2em;
}

.clf {
	width: 10em !important;
	height: 3em !important;
	margin: 3px auto;
	cursor: pointer;
}

#file { 
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.upload{
	width: 100%;
	margin-top: .5em;
}

#prediction{
	display: none;
}

.uploader{
	width:100% !important;
}

.btn{
	border-radius: 0;
}

label{
	margin-bottom: none !important;
}

#fileDropBox{
	transition: all .2s ease-in-out; 
}

#fileDropBox:hover{
	transform: scale(1.05);
}

.org_img{
	transition: all .2s ease-in-out; 
	width: 7em;
	margin: 0.1em;
	cursor: pointer;
}

.org_img:hover{
	transform: scale(1.05);
}


@media (max-width: 800px) {
  .content {
	flex-flow: column nowrap;
	padding-bottom: 2em;
  }
  
  #col1_header {
	order: 1
  }
  
  #col2_header {
	order: 3
  }
  
  #col3_header {
	order: 5
  }
  
  #col1 {
	order: 2
  }
  
  #col2 {
	order: 4
  }
  
  #col3 {
	order: 6
  }
}