/*
Styles for HTML5 File Drag & Drop demonstration
Featured on SitePoint.com
Developed by Craig Buckler (@craigbuckler) of OptimalWorks.net
*/

#filedrag {
	display: none;
	/*font-weight: bold;*/
	text-align: center;
	/*padding: 1em 0;*/
	/*margin: 1em 0; */
	/*color: #555;*/
	/*border: 2px dashed #555; */
	/*border-radius: 7px;*/
	cursor: default;
	
	/*height: 241px;*/
	padding: 10px;
	border-radius: 16px;
	border: solid 0.5px #3b3838;
	border-style: dashed
}

#filedrag.hover {
	/*color: #f00;*/
	border-color: #f00;
	border-style: solid;
	box-shadow: inset 0 3px 4px #888;
}

#parcourirId {
  cursor: pointer;
}

pre {
	width: 95%;
	height: 8em;
	font-family: monospace;
	font-size: 0.9em;
	padding: 1px 2px;
	margin: 0 0 1em auto;
	border: 1px inset #666;
	background-color: #eee;
	overflow: auto;
}

#messages {
	padding: 0 10px;
	margin: 1em 0;
	border: 1px solid #999;
}

#progress p {
	display: block;
	width: 240px;
	padding: 2px 5px;
	margin: 2px 0;
	border: 1px inset #446;
	border-radius: 5px;
	background: #eee url("progress.png") 100% 0 repeat-y;
}

#progress p.success {
	background: #0c0 none 0 0 no-repeat;
}

#progress p.failed {
	background: #c00 none 0 0 no-repeat;
}

#video {
	border: 1px solid black;
	width: 320px;
	height: 240px;
}

#photoRecto, #photoVerso {
	border: 1px solid black;
	width: 250px;
	height: 250px;
}

#canvas {
	display: none;
}

.camera {
	width: 340px;
	display: inline-block;
}

.output {
	width: 340px;
	display: inline-block;
}

#startbutton {
	display: block;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	bottom: 76px;
	/* padding: 5px;*/
	width: 60px;
	height: 60px;
	text-align: center;
	padding: 6px 0;
	font-size: 12px;
	line-height: 1.42;
	border-radius: 50%;
	border-width: 4px;
	/*background-color: #6a67ce;
        border: 1px solid rgba(255, 255, 255, 0.7);
        font-size: 14px;
        color: rgba(255, 255, 255, 1.0);
        cursor: pointer;*/
}

#cameraMode {
	display: block;
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	bottom: 95px;
	/* padding: 5px;*/
	width: 40px;
	height: 40px;
	text-align: center;
	padding: 6px 0;
	font-size: 12px;
	line-height: 1.42;
	border-radius: 50%;
	margin-left:65%
}

.contentarea {
	font-size: 16px;
	font-family: Arial;
	text-align: center;
}

input:invalid+span:after {
  content: 'Veuillez saisir une date valide';
  padding-left: 5px;
  color : red;
}

body {
    background-color: #E0E0E0
}


.mytooltip {
    display: inline;
    position: relative;
    z-index: 999
}

.mytooltip .tooltip-item {
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: inline-block;
    font-weight: 500;
    padding: 0 10px
}

.mytooltip .tooltip-content {
    position: absolute;
    z-index: 9999;
    width: 100px;
    left: 180%;
    margin: 0 0 20px -180px;
    bottom: 100%;
    text-align: left;
    font-size: 14px;
    line-height: 30px;
    /*-webkit-box-shadow: -5px -5px 15px rgba(48, 54, 61, 0.2);*/
    /*box-shadow: -5px -5px 15px rgba(48, 54, 61, 0.2);*/
   /* background: #2b2b2b;*/
    opacity: 0;
    cursor: default;
    pointer-events: none
}

.mytooltip .tooltip-content::after {
    content: '';
    top: 100%;
    left: 50%;
    border: solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: #2a3035 transparent transparent;
    border-width: 10px;
    margin-left: -10px
}

.mytooltip .tooltip-content img {
    position: relative;
    height: 130px;
    display: block;
    float: left;
    margin-right: 1em
}

.mytooltip .tooltip-item::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 20px;
    bottom: 100%;
    left: 50%;
    pointer-events: none;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
}

.mytooltip:hover .tooltip-item::after {
    pointer-events: auto
}

.mytooltip:hover .tooltip-content {
    pointer-events: auto;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0deg);
    transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0deg)
}

.mytooltip:hover .tooltip-content2 {
    opacity: 1;
    font-size: 18px
}

.mytooltip .tooltip-text {
    font-size: 14px;
    line-height: 24px;
    display: block;
    padding: 1.31em 1.21em 1.21em 0;
    color: #fff
}

input:valid+span:after {
  content: '';
  padding-left: 5px;
}