/*=======================================================================================
| Template Name: AWS Amazon Rekognition Video - Deep Learning Powered Video Analysis
| Theme URL: https://codecanyon.net/user/berkine
| Author: Berkine
| Author URL: https://codecanyon.net/user/berkine
| Version: 1.0
| File name: styles.css
| Date Created: 20.08.2020
========================================================================================= */


/* -------------------------------------------- */
/*             TABLE OF CONTENTS
/* -------------------------------------------- */
/*   00 - PRELOAD STYLES			            */
/*   01 - GLOBAL STYLES 			            */
/*   02 - NAVIGATION MENU		                */
/*   03 - VIDEO PROCESSING RESULTS	            */
/*   04 - MAIN VIDEO PLAYER BOX  	            */
/*   05 - WEBCAM CONTAINER STYLES      	        */
/*   06 - PURCHASE BUTTON & AWS LOGO            */
/*   07 - COPYRIGHT      			            */
/*   08 - MOBILE RESPONSIVE STYLES              */



/* ==========================================================================           
 *
 *    00 - PRELOAD STYLES
 *
 * ========================================================================== */

.no-js #loader { display: none;  }

.js #loader { display: block; position: absolute; left: 100px; top: 0; }

.se-pre-con {
			position: fixed;
			left: 0px;
			top: 0px;
			width: 100%;
			height: 100%;
			z-index: 9999;
			background: url(../img/preload.gif) center no-repeat #fff;
}



/* ==========================================================================           
 *
 *    01 - GLOBAL STYLES
 *
 * ========================================================================== */

body {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #292929;
}

section {
	background: #F9F9F9;
	padding-bottom: 64px;
}

section .container {
	padding-left: 0px;
	padding-right: 0px;
}

h3 {
	color: #292929;
	text-transform: uppercase;
	margin-bottom: 4rem;
	font-weight: 700;
	font-size: 20px;
}

h6 {
	font-size: 10px;
	color: #292929;
	font-weight: 600;
	text-transform: uppercase;
}

section {
 background: top left url('../img/background.jpg') no-repeat fixed;
 background-size: cover;
}

section #box {
	padding-left: 15rem;
	padding-right: 15rem;
}

section #outer-wrapper {
	background: #FFF;
	border-top: 9px solid #292929;
	box-shadow: 0 6px 8px 2px rgba(16,16,16,0.7);
	padding: 4rem;
	padding-bottom: 2rem;
	width: 100%;
	position: relative;
}

section #outer-wrapper h3 {
	text-align: center;
	font-size: 20px;
	letter-spacing: 0.5px;
	margin-bottom: 1rem;
	color: #292929;
	font-weight: 800;
}

section #outer-wrapper h5.subtitle {
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	color: #292929;
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 4rem;
	text-align: center;
}

section #outer-wrapper h5 span {
	color: #3794ff;
}

section #video-analysis,
section #webcam-analysis {
	margin-bottom: 8rem;
}



/* ==========================================================================           
 *
 *    02 - NAVIGATION MENU
 *
 * ========================================================================== */

#top-nav {
	background: #292929;
	box-shadow: 0 3px 6px rgba(16,16,16,0.7);
	margin-bottom: 64px;
}

#top-nav .container {
	padding-left: 0;
	padding-right: 0;
}

.navbar {
	padding-left: 0;
	padding-right: 0;
	padding-top: 0px;
	padding-bottom: 0px;
	line-height: 50px;
	font-weight: 700;
	z-index: 100;
	-webkit-transition: all ease-in 0.2s;
	transition: all ease-in 0.2s;
}

.navbar-nav {
  	width: 100%;
  	display: flex;
  	justify-content: flex-end;
}

.navbar-nav li.nav-item a.nav-link {
  	text-transform: uppercase;
  	padding: 0px 15px;
  	letter-spacing: 1px;
  	color: #FFF;
  	font-size: 12px;
}

.navbar-nav li.nav-item:hover a.nav-link {
	color: #3794ff;
}

.navbar-brand {
  	color: #FFF;
  	font-size: 14px;
  	text-transform: uppercase;
  	font-weight: 800;
}

.navbar-brand span {
  	color: #3794ff;
}

.navbar-brand:hover {
	color: #FFF;
}

.dropdown-menu {
	padding: 0;
	font-size: 12px;
	margin-top: 3px;
	border-radius: 0;
	background: #292929;
	box-shadow: 0px 4px 7px 1px rgba(16,16,16,0.7);
}

.dropdown-item {
	color: #FFF;
	text-transform: uppercase;
	font-weight: 700;
	border-bottom: 1px solid #1c1c1a;
}

.dropdown-item:last-child {
	border-bottom: none;
}

.dropdown-item:hover {
	color: #FFF;
	background-color: #3794ff;
	transition: all .1s ease;
}



/* ==========================================================================           
 *
 *    03 - VIDEO PROCESSING RESULTS BOX
 *
 * ========================================================================== */

/* -------------------------------------------- */
/* 		Result Upper Tabs
/* -------------------------------------------- */

#results {
	margin-bottom: 3rem;
}

.results-box {
	border: 1px solid rgba(57,73,76,.2);
	text-align: center;
	padding: 1rem;
	position: relative;
}

.results-box:hover {
	box-shadow: 0px 3px 6px 1px rgba(29,29,29,0.4);
	transition: all ease 0.4s;
	cursor: pointer;
}

.results-label {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 800;
}

/* -------------------------------------------- */
/* 		Result Contents
/* -------------------------------------------- */

.card {
	border-radius: 0;
	margin-bottom: 1rem;
}

.card:last-child {
	margin-bottom: 0;
}

.card .card-header {
	background-color: #FFF;
}

.card .card-header a {
	font-size: 12px;
	text-transform: uppercase;
	outline: none;
	text-decoration: none;
	font-weight: 600;
	color: #212932;
}

.card .card-header a:hover {
	color: #3794ff;
	cursor: pointer;
}

.card .card-body {
	padding: 0.5rem;
}

.card .card-body .custom-label {
	font-size: 10px;
	padding: 0.5rem 1rem;
}

.card .card-body .left {
	float: left;
	padding: 0.5rem 1rem;
	background: #f1faff;
	margin-right: 0.5rem;
	font-size: 10px;
	margin-bottom: 0.5rem;
}

.card .card-body .label p {
	font-size: 10px;
	margin-bottom: 0.5rem;
	font-weight: 800;
}

.card .card-body #first-label-info {
	margin-bottom: 1rem;
}

.card .card-body table thead th {
	color: #3794ff;
	font-size: 10px;
	border-top: none;
	text-transform: uppercase;
	border-bottom: 1px solid #dee2e6;
}

.card .card-body table td {
	font-size: 10px;
}

.confidence {
	text-align: right;
}

.no-content {
	font-size: 10px;
	margin-left: 1rem;
}

/* -------------------------------------------- */
/* 		Response Label Container
/* -------------------------------------------- */

#label-container {
 	border: 1px solid rgba(57,73,76,.2);
 	padding: 1rem;
 	min-height: 360px;
 	position: relative;
 	margin-bottom: 1.5rem;
 }

#comparison #label-container {
	min-height: 500px;
}

#label-container #columns {
	margin-bottom: 0.7rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(57,73,76,.2);;
}

#label-container .left {
	float: left;
}

#label-container .right {
 	float: right;
 } 

/* -------------------------------------------- */
/* 		Response Labels
/* -------------------------------------------- */

#labels {
	position: relative;
}
#labels .label {
	display: flex;
	justify-content: space-between;
 	background-color: #FFF;
 	color: #212932;
 	font-size: 10px;
	padding-left: 0;
	margin-bottom: 0.3rem;
	list-style: none;
}

#labels .age-range {
	margin-bottom: 1rem;
}

.progress {
	border-radius: 0;
	margin-bottom: 1rem;
	height: 0.9rem;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}

/* -------------------------------------------- */
/* 		Loading Animation
/* -------------------------------------------- */

.loading-webcam {
	position: relative;
	top: 33%;
	left: 45%;
}

.loading {
	position: absolute;
	top: 33%;
	left: 41.5%;
}

.deactivated {
	display: none;
}

.mask {
	opacity: 0.5;
}



/* ==========================================================================           
 *
 *    04 - MAIN VIDEO PLAYER BOX
 *
 * ========================================================================== */

 #video-outer-box {
 	border: 1px solid rgba(57,73,76,.2);
 	background: #FFF;
 	align-content: center;
    justify-content: center;
    display: flex;
    align-items: center;
    text-align: center;
 }

#video-inner-box  {
 	min-height: 360px;
 	overflow: hidden;
 	position: relative;
 }

 #my-video {
 	height: 360px;
 	max-width: 100%;
 }

#timestamp img {
	display: block;
	max-width: 100%;
}
/* -------------------------------------------- */
/* 		Video Utilities
/* -------------------------------------------- */

#video-utilities {
	margin-top: 1.5rem;
	display: inline-flex;
	width: 100%;
}

#video-utilities h6 {
	margin-bottom: 1.2rem;
	font-weight: 800;
}

/* -------------------------------------------- */
/* 	Upload Video Button & Download Data Button
/* -------------------------------------------- */

#upload-box p {
	font-size: 10px;
	margin-bottom: 0;
}

#upload-box p span {
	color: #3794ff;
}

#upload-box p#small {
	text-transform: uppercase;
	font-weight: 800;
	margin-bottom: 0.5rem;
}

#upload-box ul {
	margin-bottom: 0;
	padding-left: 1.1rem;
	list-style-type: square;
}

#upload-box .upload {
	margin-bottom: 0.5rem;
	font-size: 14px;
	overflow: hidden;
}

#upload-box .upload i {
	margin-right: 0.5rem;
	font-size: 12px;
}

#upload-box .upload .upload-video {
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
	width: 1px;
	height: 1px;
}

#upload-box .upload .upload-video + label {
	padding: 0.9rem 2.5rem;
	background-color: #3794ff;
	color: #FFF;
	cursor: pointer;
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
	text-transform: uppercase;
	font-size: 12px;
	margin-bottom: 0;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 2px 1px -1px rgba(0, 0, 0, 0.3), 0 1px 1px 0 rgba(0, 0, 0, 0.14);
}

#upload-box .upload .upload-video + label:hover {
	background: #FF5733;
	color: #FFF;
	transition: all 0.2s ease;
}

#download-data-video button {
	float: left;
	outline: none;
	background: none;
	border: none;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: 600;
	color: #FFF;
	background-color: #3794ff;
	padding: 0.5rem 1rem;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 2px 1px -1px rgba(0, 0, 0, 0.3), 0 1px 1px 0 rgba(0, 0, 0, 0.14);
}

#download-data-video button:hover {
	background: #FF5733;
	transition: all 0.2s ease;
}


/*------------------------------------------*/
/*    Upload Status Messages
/*------------------------------------------*/
 
 #status-message {
 	margin-top: 1rem;
 	margin-bottom: 1rem;
 	padding: 10px;
    text-align: center;
    display: none;
    font-size: 10px;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 2px 1px -1px rgba(0, 0, 0, 0.3), 0 1px 1px 0 rgba(0, 0, 0, 0.14);
}

.success {
  color:#FFF;
  background: #008c00;
}

.error {
  color: #FFF;
  background: #D13212;
}

/* -------------------------------------------- */
/*  Video Analysis Features
/* -------------------------------------------- */

.radio-control:hover > .label-control {
  	color: #3794ff;
  	cursor: pointer;
}

.label-control::before {
  	font-size: 14px;
  	cursor: pointer;
  	color: #3794ff;
}

.input-control {
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
     display: inline-block;
     position: relative;
     color: #3794ff;
     top: 5px;
     height: 20px;
     width: 20px;
     border: 0;
     cursor: pointer;     
     outline: none;
     transition: all 0.2s;
     border: 1px solid rgba(57,73,76,.2);
}

.input-control:checked::before {
     position: absolute;
     font: 12px/1 'Open Sans', sans-serif;
     left: 6px;
     top: 2px;
     content: '\02143';
     transform: rotate(40deg);
}

.input-control:hover {
     background-color: #FFF;
     webkit-box-shadow: 0px 0px 3px 1px rgba(0,102,184,.4);
	-moz-box-shadow: 0px 0px 3px 1px rgba(0,102,184,.4);
	box-shadow: 0px 0px 3px 1px rgba(0,102,184,.4);
	transition: all 0.2s;
	margin-right: 1.3rem;
	border: 1px solid rgba(61, 154, 255, 0.6)
}

.input-control:checked {
     background-color: #3794ff;
     color: #FFF;
     transition: all 0.2s;
     -webkit-box-shadow: 0px 0px 3px 1px rgba(0,102,184,.4);
	-moz-box-shadow: 0px 0px 3px 1px rgba(0,102,184,.4);
	box-shadow: 0px 0px 3px 1px rgba(0,102,184,.4);
}

.input-control:checked + .label-control {
	color: #3794ff;
}

.label-control {
	text-transform: uppercase;
	margin-left: 5px;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 0;
}

.label-control:hover {
	color: #3794ff;
}



/* ==========================================================================           
*
*    05 - WEBCAM CONTAINER STYLES
*
* ========================================================================== */

/*------------------------------------------*/
/*    Webcam Container
/*------------------------------------------*/

#webcam-container {
 	border: 1px solid rgba(57,73,76,.2);
 	padding: 0.5rem;
 	min-height: 360px;
 	position: relative;
 	margin-bottom: 1rem;
}

#webcam-container video {
	width: 100%;
	height: auto;
}

#take-picture button,
#download-data-webcam button {
	float: right;
	outline: none;
	background: none;
	border: none;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: 600;
	color: #FFF;
	background-color: #3794ff;
	padding: 0.5rem 1rem;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 2px 1px -1px rgba(0, 0, 0, 0.3), 0 1px 1px 0 rgba(0, 0, 0, 0.14);
}

#take-picture button:hover,
#download-data-webcam button:hover {
	background: #FF5733;
	transition: all 0.2s ease;
}

/*------------------------------------------*/
/*    Webcam Image Result
/*------------------------------------------*/

#results-container h5 {
	text-align: left;
	background: #212932;
	color: #FFF;
	font-size: 10px;
	text-transform: uppercase;
	padding: .7rem;
	margin-bottom: 0;
}

/*------------------------------------------*/
/*    Webcam Image
/*------------------------------------------*/

#photo-holder {	
	margin-bottom: 1rem;
	display:none;
	align-content: center;
    justify-content: center;
}

#photo-wrapper {
 	min-height: 300px;
 	overflow: hidden;
 	position: relative;
}

#photo-wrapper img {
	display: block;
	max-width:100%!important; 
	z-index: 0;
	position: relative;
}

#photo-wrapper canvas {
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
}

/*------------------------------------------*/
/*    Webcam Image Metadata
/*------------------------------------------*/

#photo-metadata {
	margin-bottom: 1rem;
}

.inner-box {
	border: 1px solid rgba(57,73,76,.2);
	padding: 1rem;
}

#photo-results #columns {
	margin-bottom: 0.7rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #1c1c1a;
}

#photo-results {
	margin-bottom: 1rem;
}

#photo-results .left {
	float: left;
}

#photo-results .right {
	float: right;
}

#response-time span {
	text-transform: lowercase;
}

.no-content-webcam {
	font-size: 10px;
}



/* ==========================================================================           
 *
 *    06 - PURCHASE BUTTON & AWS LOGO
 *
 * ========================================================================== */

#purchase-button {
	margin-left: 2rem;
}

#purchase-button a {
	background: #D13212;
	border: 1px solid #D13212;
	padding: 15px 60px;
	text-transform: uppercase;
	color: #FFF;
	outline: none;
	font-size: 12px;
  	text-decoration: none;
}

#purchase-button a:hover {
	background: #292929;
	border: 1px solid #D13212;
	color: #D13212;
	transition: all 0.2s ease;
}

/* -------------------------------------------- */
/* 		AWS Logo
/* -------------------------------------------- */

#logo p {
	font-family: 'Poppins', sans-serif;
	margin-bottom: 0px;
	text-transform: uppercase;
	font-size: 10px;
	font-weight: 800;
	padding-left: 13px;
	margin-bottom: -5px;
}

#logo img {
	width: 80px;
	margin-left: 15px;
}



/* ==========================================================================           
 *
 *    07 - COPYRIGHT
 *
 * ========================================================================== */

#copyright {
	margin-top: 1.5rem;
}

#copyright p {
	font-weight: 600;
	margin-bottom: 0;
	font-size: 10px;
	color: #FFF;
}

#copyright a {
	text-decoration: none;
	outline: none;
}

#copyright a:hover {
	color: #ffc107;
}


/* ==========================================================================           
 *
 *    08 - MOBILE RESPONSIVE STYLES
 *
 * ========================================================================== */

@media only screen and ( max-width: 660px ) 
{

	section #outer-wrapper {
		padding-left: 0;
		padding-right: 0;
	}
	
	section #box {
		padding-left: 0;
		padding-right: 0;
	}

	#demo .box-wrapper {
		padding-left: 0;
		padding-right: 0;
	}

	#logo {
		margin-left: 0;
		margin-bottom: 0;
		left: 37%;
	}

	#logo p {
		padding-left: 0;
	}

	#logo img {
		margin-left: 0;
	}
	
	#video-utilities {
		padding-left: 1rem;
	}

	#upload-box {
		margin-top: 1rem;
	}

	#results-container {
		margin-top: 2rem;
	}

	#take-picture,
	#download-data-webcam {
		text-align: center;
	}

	#take-picture button,
	#download-data-webcam button {
		float: none;
	}

	#purchase-button p {
		font-size: 12px;
	}

	#purchase-button a {
		font-size: 12px;
	}
	
	#copyright {
		padding-left: 1rem;
	}

	#copyright p {
		font-size: 8px;
	}
}

@media only screen and ( max-width: 320px ) 
{
	#logo {
		left: 35%;
	}
}

