/* GENERAL */
html, body {
	font-family: 'Roboto Condensed', sans-serif;
	height:100%;
}

html {
	background: url('../images/quizz/background.jpg') no-repeat center center; 
  	-webkit-background-size: cover; 
  	background-size: cover;
}

img.q_intro {
    max-width: 80px;
    margin-bottom: 20px;
}
body {
	background-color: transparent;
	padding-top: 60px;
}
*:focus {
    outline: none !important;
}

.btn-primary {
	background-color: #56afc3;
	border-color:#56afc3;
}
.btn-primary:hover,.btn-primary:focus,.btn-primary:active {
	background-color:#2B6B7A;
	border-color:#2B6B7A;
}

.btn-primary-inv {
	border-radius: 100px;
	background-color: #0e364f;
	border-color:#0e364f;
}
.btn-primary-inv:hover,.btn-primary-inv:focus,.btn-primary-inv:active {
	background-color:#185F8C;
	border-color:#185F8C;
	color: #fff;
}
.btn-primary-af {
	border-radius: 100px;
	background-color: #b50478;
	border-color:#78024F;
}
.btn-primary-af:hover,.btn-primary-af:focus,.btn-primary-af:active {
	background-color:#78024F;
	border-color:#78024F;
	color: #fff;
}


/* NAVBAR */
.navbar {
	margin-bottom: 0;
	box-shadow: rgba(0,0,0,0.3) 0 0 20px;
}
.navbar-default { 
	border-radius : 0;
	border : none;
	background-color: #ffffff;
}
.navbar-content h1{
	margin :0;
	padding : 0;
	line-height: 50px;
	text-align : center;
	font-size : 20px;
	color : #FFFFFF;
	text-transform : uppercase;
}

.navbar-content img {
	max-height: 40px;
	margin: 10px;
}


/* FORMS ELEMENTS */
.form-control {
	border-radius: 100px;
	border:none;
}
.input-group-btn button {
	border-radius: 100px;
}

#alertform {
	font-weight: bold;
	color: #C00;
}


/* PHONE */

.phone-wrapper {
	position : relative;
	overflow : hidden;
	width : 400px;
	height : 816px;
	margin : 20px auto 10px auto;
	background: url('../images/quizz/iphone.png') no-repeat 0 0 transparent;
	background-size: contain;
}

.phone-hour {
	position: relative;
    width: 100%;
    height: 23px;
    margin-top: 102px;
    line-height: 22px;
    font-size: 13px;
    text-align: center;
    color: #FFFFFF;
}
.indice {
	text-align: center;
    font-style: italic;
    color: #999;
	display: none;
}
.phone-screen {
    position: relative;
    overflow: auto;
    width: 353px;
    height: 595px;
    margin-left: 23px;
    background-color: #ffffff;
    border-radius: 0 0 4px 4px;
}

.phone-content {
	display: table;
	position : relative;
	width:100%;
	height: 100%;
}


/* INTRO */

.intro_bd_logo {
	background: #fff;
	width: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
.intro_bd_logo img {
	max-height: 80px;
    margin: auto;
    padding: 5px;
	width: auto;
}
.intro_bd_visuel {
    padding-top: 10px;
    padding-bottom: 10px;
}
.intro_bd_visuel img {
    width:100%;
}
.text-intro {
	font-family: 'Open Sans', sans-serif;
}

#matricule_container {
	font-family: 'Roboto Condensed', sans-serif;
	width:90%;
	padding: 20px;
	margin: auto;
	transform: scale(1);
	transition: all 0.2s;
	transition-timing-function:ease-in-out;
}


#matricule_container.animate {
	transform: scale(1.5);
}

#matricule {
	transition: all 0.2s;
	transition-timing-function:ease-in-out;
}
.smiley {
	display: inline;
    width: 22px;
    bottom: 4px;
    position: relative;
}
.q-right .q-text {
	margin-bottom: 10px;
}
.content-intro  {
	position:relative;
	display: table-cell;
	vertical-align: top;
	background: #0e364f;
	width : 100%;
	height : 100%;
}

.content-intro h5 {
	text-align :center;
	color : #edef8f;
	text-transform: uppercase;
	font-weight: 900;
}

.content-intro .bloc-intro,.content-conclusion .bloc-intro {
	color: #fff;
    width: 85%;
    margin: auto;
    text-align: justify;
    font-size: 12px;
    padding: 0 20px 15px 20px;
}

.content-intro .bloc-intro h3 {
	margin-top: 0;
}

.addfavorite {
	text-align: center;
	opacity: 0;
}

/* MESSAGES */

.content-messages {
	position:relative;
	padding : 10px;
	display: table-cell;
	vertical-align: top;
}
.message hr {
	margin-top: 20px;
    margin-bottom: 0;
}
.message .next-question {
	display: none;
}
.message {
	padding-bottom : 20px;
}
.message .titre {
	font-size: 17px;
    text-transform: uppercase;
    padding-bottom: 15px;
    text-align: center;
}
.message .question{
	display: table;
	table-layout: fixed;
	width: 100%;
	overflow : hidden;
}

.message .question .q-left, .message .responses .q-right  {
	display: table-cell;
    vertical-align: top;
	width: 65px;
}

.message .question .q-left .icon {
	width: 52px;
    height: 52px;
    background: url('../images/quizz/message-avp.png') 0 0 no-repeat;
	background-size: contain;
    display : none;
}

.message .question .q-left p {
	display : none;
}

.message .question .q-right {
	display: table-cell;
	vertical-align: top;
	padding-top:7px;
}

.message .question .q-right .q-text{
	display : none;
	position: relative;
    padding: 7px 10px;
    background: #00aeaf;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 18px;
    color : #fff;
    font-size : 14px;
}



.message .question .q-right .q-text:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 8px 16px 8px 0;
    border-color: transparent #00aeaf;
    display: block;
    width: 0;
    z-index: 1;
    left: -12px;
    top: 9px;
}

.message .question .q-right img {
	display : none;
	margin-left : 1000px;
	margin-top : 10px;
	width: 100%;
}



.message .question img {
	width: 210px;
}
.message .responses {
	display: table;
	table-layout: fixed;
	width: 100%;
	margin-top : 20px;
	overflow : hidden;
}

.message .responses-icon {
	display : none;
	margin-left : 450px;
}

.message .send {
	display : none;
	clear : both;
    background-color: #3691E4;
    border-radius: 100px;
    width: 50px;
    height: 50px;
    margin: 10px auto 0 auto;
    cursor : pointer;
	color: #fff;
}
.message .send.wait {
	opacity:0.2;
}
.message .send:not(.wait):hover {
	background-color : #186BB7;
}

.message .responses .q-left {
	display:table-cell;
	padding-top: 7px;
}

.message .responses .response {
	display : none;
	margin-left : -300px;
	min-height: 35px;
	cursor: pointer;
    position: relative;
	width:100%;
    padding: 7px 10px;
    padding-top: 5px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    background: #0e364f none repeat scroll 0% 0%;
    border-radius: 18px;
    margin-bottom: 4px;
    color: #fff;
    line-height: 25px;
    font-size : 14px;
}

.message .responses .response-first:after {
	content: '';
    position: absolute;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent #0e364f;
    display: block;
    width: 0;
    z-index: 1;
    right: -12px;
    top: 9px;
}

.message .responses .response-first.response-selected:after {
	 border-color: transparent #186BB7;
}

.message .responses .response-selected {
	background-color :#186BB7;
}

.message .responses .response-icon {
	position : relative;
	display : block;
	float: left;
	width: 76px;
    height: 58px;
	margin-left : 0;
	margin-top : 6px;
	margin-right : 6px;
	text-align : center;
}
.message .responses .response-icon span{
	position : absolute;
	left : 0; 
	bottom : 0;
	width : 100%;
	height : 20px;
	line-height : 20px;
	text-align : center;
	color : #666;
	font-size : 11px;
}

.message .responses .response-icon:before, .message .responses .response-icon:after {
	display : none;
}

.message .responses .q-right .icon {
	display : none;
	float : right;
	width: 52px;
    height: 52px;
	background-image: url('../images/quizz/message-avp2.png');
    background-position: 0 0;
	background-repeat: no-repeat;
	background-size: contain;
}

.message .responses .q-right p {
	display : none;
	float : right;
	clear: both;
}

.message .date-msg {
	display : inline-block;
	width : 52px;
	font-weight: 300;
    color: #7d7d7d;
    font-size: 12px;
    text-align :center;
}
.message .date-msg strong {
	margin-left : 2px;
}

.message-error{
	display : none;
	color: #666;
    background-color: #f1F1F1;
    padding: 7px 10px 7px 10px;
}

.message-error img {
	margin-top : 10px;
}

.message .resultat{
	display: table;
	table-layout: fixed;
	width: 100%;
	overflow : hidden;
    padding-top: 20px;
}

.message .resultat .q-left  {
	display: table-cell;
    vertical-align: top;
	width: 65px;
}

.message .resultat .q-left .icon {
	width: 52px;
    height: 52px;
    background: url('../images/quizz/message-avp.png') 0 0 no-repeat;
	background-size: contain;
    display : none;
}

.message .resultat .q-left p {
	display : none;
}

.message .resultat .q-right {
	display: table-cell;
	vertical-align: top;
	padding-top:7px;
}

.message .resultat .q-right .q-text{
	display : none;
	position: relative;
    padding: 7px 10px;
    background: #00aeaf;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 18px;
    color : #fff;
    font-size : 14px;
}



.message .resultat .q-right .q-text:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 8px 16px 8px 0;
    border-color: transparent #00aeaf;
    display: block;
    width: 0;
    z-index: 1;
    left: -12px;
    top: 9px;
}

.message .resultat .q-right .q-text.faux{
    background: #dc8107;
}

.message .resultat a,.message .resultat a:hover,.message .resultat a:focus,.message .resultat a:active {
	color: #fff;
	text-decoration: underline;
	font-weight: bold;
}
.message .resultat .q-right .q-text.faux:after {
    border-color: transparent #dc8107;
}


/* CONCLUSION */
.content-conclusion {
	font-family: 'Open Sans', sans-serif;
	position:relative;
	padding : 0;
	display: table-cell;
	vertical-align: top;
	height: 100%;
	background: #00aeaf;
	color: #fff;

}

.content-conclusion .logo {
	opacity : 0;
	padding-top : 10px;
}

.content-conclusion .logo img {
	max-height : 75px;
}

.content-conclusion .c_prenom {
    position: relative;
    margin-top: 10px;
    padding-bottom: 30px;
}
.content-conclusion h3.c_10_secs {
	padding-bottom: 20px;
}

.content-conclusion .c_prenom h3 {
	font-weight: 600;
	font-size: 0px;
	text-align :center;
	color : #333;
	margin: 0;
	position: absolute;
	width: 100%;
}

.content-conclusion h4 {
	font-weight: 600;
	color : #edef8f;
	font-size : 15px;
	text-align : center;
	margin-top: 0;
	margin-left : -1000px;
	text-transform: uppercase;
}
.content-conclusion h3 {
	font-size : 15px;
	text-align : center;
	margin: 0;
	margin-bottom: 3px;
}
.content-conclusion h3.c_envieplus {
	margin-top: 20px;
}

.c_envieplus,.c_cliquenous {
	color:#919191;
	opacity: 0;
}
.content-conclusion h5 {
	margin-top : 20px;
	margin-left : -1000px;
	color : #e61b1b;
}
	
.content-conclusion .contact, .content-conclusion .share {
	border-top : 1px solid #eee;
	opacity : 0;
}
	
.content-conclusion .contact h4, .content-conclusion .share h4  {
	color : #000;
}

.date_f {
    width: 85%;
    margin: auto;
    text-align: center;
    font-size: 12px;
	opacity: 0;
}
.date_f h6 {
	margin-top: 20px;
	margin-bottom: 0;
	font-weight: bold;
	text-transform: uppercase;
}
.contact_f {
	background: #d62a3c;
	color: #fff;
	font-size: 12px;
	padding: 15px;
	margin-top: 15px;
	text-align: center;
	font-weight: bold;
	opacity: 0;
}
.contact_f a {
    color: #fff;
}

.c_contact {
	margin-top: 30px;
}
.c_contact h4,.c_partage h4 {
	font-size: 14px;
	margin-left: 0;
}
.c_partage {
	margin-top: 20px;
	margin-bottom: 10px;
}

.c_contact .icon, .c_partage .icon {
	display : inline-block;
    background-color: #f9e27a;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    margin : 3px;
    cursor : pointer;
    background-repeat: no-repeat;
	background-position: center;
}

.c_contact .icon.mail{
	background-color: #DF338D;
}
.c_contact .icon.phone {
	background-color:#CB323B;
}
.c_contact .icon.web {
	background-color:#EEA600;
}
.c_partage .icon.linkedin {
	background-color:#007AB8;
}
.c_partage .icon.twitter {
	background-color:#50ABF1;
}
.c_partage .icon.facebook {
	background-color:#3C579B;
}


.c_contact .icon-email {
	background-image: url('../images/quizz/contact-email.png');
	background-size: 17px;
}
.c_contact .icon-phone {
	background-image: url('../images/quizz/contact-phone.png');
	background-size: 17px;
}
.c_contact .icon-web {
	background-image: url('../images/quizz/contact-web.png');
	background-size: 17px;
}

.c_partage .share-linkedin {
	background-image: url('../images/quizz/share-linkedin.png');
	background-size: 17px;
}
.c_partage .share-twitter {
	background-image: url('../images/quizz/share-twitter.png');
	background-size: 17px;
}
.c_partage .share-facebook {
	background-image: url('../images/quizz/share-facebook.png');
	background-size: 17px;
}

.content-conclusion .bloc-intro {
	opacity: 0;

}

.replay {
	text-align: center;
	opacity: 0;
	text-transform: uppercase;
	margin-bottom: 5px;
}




.content-intro h2, .content-messages h2, .content-conclusion h2 {
	margin: -10px -10px 0 -10px;
    padding: 10px 0;
	text-align : center;
	font-size : 18px;
	line-height : 30px;
	background-color : #f0892d;
	color : #ffffff;
	text-transform : uppercase;
}





/* MODAL */

.modal-header {
    padding: 4px 8px 0 0;
    border-bottom: none;
}

.modal-body {
    padding: 4px;
}

/* TOOLTIP */
.tooltip.error .tooltip-arrow {
	border-top-color:#f00;
}
.tooltip.error .tooltip-inner {
	background-color:#f00;
}




@media screen and (max-width: 450px) {
	html {
		background-image: none;
	}

	html,body {
		height: 100%;
	}
	body {
		padding-top: 0;
	}
	.navbar {
		display: none;
	}
	.panel.connect {
		margin-top: 0;
	}
	.main-container {
		height: 100%;
		padding-left : 0;
		padding-right : 0;
		background-color : #ffffff;
	}
	.intro_bd_logo img {
		max-height: 60px;
		margin: auto;
		padding: 10px;
	}
	.intro_bd_visuel {
		padding: 0;
	}
	.intro_fleche {
		width: 20px;
		position: absolute;
		bottom: 30px;
		left: 12%;
	}
	.phone {
		height: 100%;
	}
	
	.phone-wrapper {
		margin : 0 auto;
		width : 100%;
		background: none;
		height: 100%;
		
	}
	
	.phone-hour {
		display : none;
	}
	
	.phone-screen {
		margin : 0 auto;
		width : 100%;
		height: 100%;
	}
	
	.content-intro .entete, .content-messages h2 {
		background-color : #ffffff;
		color : #f0892d;
	}
	.content-intro h2, .content-messages h2 {
		background-color : #ffffff;
		color : #f0892d;
	}
	.hidden-mobile {
		display: none!important
	}
	.content-conclusion .c_prenom {
		margin-top: 15px;
	}
	.c_grandir {
		margin-bottom: 0;
	}
	.c_partage {
		margin-top: 5px;
		margin-bottom: 0px;	
	}
	.content-conclusion h3.c_envieplus {
    margin-top: 10px;
	}
	.c_contact {
		margin-top: 10px;
	}
}

