@charset "utf-8";


@font-face {
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Josefin Sans'), local('JosefinSans'), url('/fonts/JosefinSans-Regular.ttf') format('opentype');
}

/* Mobile first queries */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
.line-separator {
	display:block;
	margin:10px auto;
	width:95%;
	border-bottom:thin solid #006697;
	max-width:415px;
}
.strong {font-weight:bold;}
.clearboth {clear: both;}
.hidden {display:none;}
.blackBorder {border:medium solid #000;}
.roundBtn {
	-moz-border-radius: 18px;
	-webkit-border-radius: 18px;
	border-radius: 18px;
	background-color: #006697;
    border: 2px solid #ffffff;
    color: #ffffff;
	cursor:pointer;
    font-size: 19px;
    height: 30px;
    line-height: 1.5;
    text-align: center;
    min-width: 3px;
    padding-left: 10px;
    padding-right: 10px;
}
.roundBtn:hover, .sectionlink.active {
	/*background-color: #F90;*/
	background-color: #d8eaf2;
    border: 2px solid #000000;
    color: #000000;
}
.bigblueBtn {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	cursor:pointer;
	padding: 0.2em 1em;
	background-color:#034C6F;
	color:#fff;
	font-size:2em;
	text-decoration:none;
}
.bigblueBtn:hover {
	background-color:#006697;
}
body {
	background-color:#fcfefd;
	overflow-x: hidden;
	max-width: 100%;
	font-size: 1em;
	font-family: 'Josefin Sans',"Trebuchet MS", Arial, Helvetica, sans-serif;
}
#passwordreset {display:none;}
.wrapper {
	width: 320px; 
	height:700px;
	position:relative;
	margin:0 auto; 
}
.header {
	height: 68px;
	background-color:#fff;
	position:relative;
}
.header .logo {
	height: 3.5em;	
	margin:5px 0 0 5px;
}
.header .logo img {
	width:14%;
	height:auto;	
	margin: 2vw 0 0 2vw;
	float:left;
}
.header .logo .logotext {
	color: #006697;
    float: left;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 6vw;
    padding-left: 0.3em;
    padding-top: 1em;
}
.header #menu_lang {
    background-color: #ffffff;
    color: #000000;
	cursor:pointer;
    font-weight: bold;
    padding: 0.3em 0.5em;
	position:absolute;
	top:1em;
	right:1em;
    text-decoration: none;
}
#rightPanel {
	height: auto;
	width: 100%;
	position: initial;
	padding: 20px;
	margin-top: 75px;
}


.cmalogo {
    background-repeat: no-repeat;
    height: 240px;
    position: relative;
    width: 240px;
    margin: 20px auto;
    background-color: #000;
    background-position: 20px 20px;
}
#endorsedByCMA.fr {    background-image: url("../img/endorsedByCMA_fr_w200.png");}
#endorsedByCMA.en {    background-image: url("../img/endorsedByCMA_en_w200.png");}
#nvigorusLogo {
	background-image: url("../img/nvigorousLogo.png");
	background-position: 1px 2px;
	background-repeat: no-repeat;
	color: #006697;
	font-family: "Trebuchet MS",Arial,Helvetica,sans-serif;
	font-size: 0px;
	height: 100px;
	letter-spacing: 0.1em;
	margin:5px auto;
	width: 83px;
	position:relative;
	top:0;
	left:0;
	padding:0;
}

#login, #passwordreset {
	background-color: #fff;	
	z-index:10;
}
#login {
	overflow:hidden;
}
#tunnel{
	z-index: -1000;
}
#toggleLang {
    position: absolute;
    right: 22px;
    top: 7px;
    z-index: 10;
}
.squareBtn {
	background: #006697;
	border: 1px solid #1a87b9;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 17px;
    font-weight: normal;
    line-height: 17px;
    padding: 5px 10px 7px;
}  

#login, #passwordreset {
	width: 90%;
	margin: 0 auto;
	max-width: 400px;
}

#login h1, #passwordreset h1 {
	text-align:center;
	background-color:#006697;
	font-size:1em;
	font-weight:bold;
	color:#ffffff;
	height:2em;
	line-height:2;
	margin-top: 0;
}

#login #logindataentry {
	width: 90%;
	margin: 0 auto;
}


#dialogMessage{display: none;padding: 10px;width: auto;font-size:18px;}
#dialogMessage.active{display:block;background-color: rgba(255, 0, 0, 0.3);border: 2px solid #808080;}

.rememberMe input[type="checkbox"]{width: auto;display: inline-block;vertical-align: baseline;margin: 0 4px 0 0;cursor:pointer;}
.rememberMe label{display: inline-block;font-size: 16px;vertical-align: baseline;color: #999;cursor:pointer;}




#login #login_btn {
	background-color: #006697;
    color: #fff;
    font-size: 1em;
    line-height: 1em;
    margin: 0 auto;
    padding: 0.5em 2em;
    width: 100%;
}
#login #register-link, 
#login #lost-pwd {
	font-size:1em;
	color:#006697;
	font-weight:bold;
	text-align:center;
	cursor:pointer;
}
#login #login_error_php {
	background-color: #900;
    color: #fff;
    font-size: 1em;
    margin: 12px auto 0;
    text-align: center;
    width: 75%;
	max-width:415px;

}
label {
	display:block;
}
ul {
	padding-left:0px;
}
li {
	list-style:none;
	margin-bottom:0.5em;
}
li input, li select {
	width:100%;
}
#passwordreset .bluearrow {
	color: #006697;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 1em;
    margin-left: 10px;
    width: 93%;
}
#passwordreset form {
	width:80%;
	margin:0 auto;
}
#passwordreset form input[type=button] {
	margin-top:10px;
}
#passwordreset div.return_login {
	color:#900;
}



div.section.downloadApp {
	padding-top: 5px;
	padding-bottom: 5px;
}


.flexRow {
	display: flex;
	box-sizing: border-box;
	height: 100%;
}

.flexColumn {
	position: relative;
	flex: 50%;
	box-sizing: border-box;
}


div.theme div.flexColumn.right {
	font-size: 1.25rem;
	padding: 25px;
	margin: auto;
}


div.theme.downloadApp div.flexColumn.left, div.theme.downloadApp div.flexColumn.right {
	padding: 0;
	width: 50%;
}


.qrCode {
	margin:auto;
	width: 100px;
	height: 100px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.appCode {
	width: 135px;
	height: 54px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin: auto;
	margin-top: 20px;
}

div.ios div.qrCode {
	background-image: url('/images/qrcodes/nvigorus-ios-qr-code.png');
}

.fr div.ios div.appCode {
	background-image: url('/images/qrcodes/ios_white_fr.png');
	width:135px;
}

div.ios div.appCode {
	background-image: url('/images/qrcodes/ios_white.png');
}


div.android div.qrCode {
	background-image: url('/images/qrcodes/nvigorus-android-qr-code.png');
}


div.android div.appCode {
	background-image: url('/images/qrcodes/google-play-black.png');
	width: 135px;
}


.fr div.android div.appCode {
	background-image: url('/images/qrcodes/google-play-black_fr.png');
}



@media screen and (max-width: 640px) {

	div.flexRow {
		width: 100%;
		float: unset;
		margin: auto;
	}

	div.theme.downloadApp div.flexRow{
		display: flex;
	}

	div.theme.downloadApp div.flexColumn.left,
	div.theme.downloadApp div.flexColumn.right  {
		float:right;
	}

	div.android div.appCode,
	div.ios div.appCode {
		margin: auto;
		float: initial;
	}
	

	div.android div.qrCode,
	div.ios div.qrCode {
		margin: auto;
		float: initial;
	}
}




/* Larger than mobile */
@media (min-width: 400px) {
	.header .logo img {
	    width: 9.5%;
	}
	.header .logo .logotext {
	    padding-top: 0.5em;
	}

	.wrapper {
		width: 400px; 
		position:relative;
		margin:0 auto; 
		background-image: url(/img/slide_3_mobile_hd.jpg);
		background-color: #fcfefd;
		background-position: 0 0px;
		background-repeat: no-repeat;
		background-size: cover;
	}
}

/* Larger than phablet */
@media (min-width: 550px) {

	.header {height:76px;}
	.header .logo img {
	    width: 50px;
		margin: 10px 0 0 10px;
	}
	.header .logo .logotext {
	    padding-top: 16px;
		font-size:30px;
	}

	.wrapper {
		width: 550px; 
		position:relative;
		margin:0 auto; 
		background-image: url(../img/slide_3_tablet.jpg);
	}

	.cmalogo {
	    position: absolute;
	    top: 385px;
	    left: 85px;
	}
	#endorsedByCMA.fr {    background-image: url("../img/endorsedByCMA_fr_w200.png");}
	#endorsedByCMA.en {    background-image: url("../img/endorsedByCMA_en_w200.png");}

	#nvigorusLogo {
	    position: absolute;
	    top: 10px;
	    left: 167px;
	}
	#login {
	    overflow: hidden;
	    position: absolute;
	    top: 120px;
		left: 50px;
	}
	#login #lost-pwd {
		margin-bottom:1em;
	}
	#passwordreset {
		overflow: hidden;
	    position: absolute;
	    top: 120px;
		left: 50px;
	}
	#userforgotname, #userforgotemail {
		width:66%;
		float:left;
		margin-right:3%;
		max-width:260px;
	}
	#passwordreset form input[type="button"] {
	    margin-top: 1px;
	}
	#password_reset_name_btn, #password_reset_email_btn {
		width:31%;
		float:left;
		max-width:95px;
	}
	.explain {
	    clear: both;
	    margin-top: 2em;
	}

}
/* Larger than tablet */
@media (min-width: 750px) {
	
	.wrapper {
		width: 750px; 
		position:relative;
		margin:0 auto; 
		background-image: url(../img/slide_3_desktop.jpg);
	}
	#_login {
		font-size: 2vw;	
		width: 36vw;
		margin: 0 auto;
	}
}	
	/* Larger than desktop */
@media (min-width: 1000px) {
	.wrapper {
		width: 1000px; 
		position:relative;
		margin:0 auto; 
		background-image: url(../img/slide_3_retina.jpg);
	}
	#_login {
		font-size: 20px;
		margin: 0 auto;	
	}
	#_passwordreset {
	    font-size: 20px;
		width: 50%;
		text-align: center;
	}
	
	#homepage{
		border-radius: 0 0 25px 25px;
	}
}

@media (max-width: 480px) {
	#login, #passwordreset {
		width: 100%;
	}
	
	#login #logindataentry {
		width: 90%;
	}
}
