html, body{
	height: 100%;
	width: 100%;
	background-color: #f4f4f4;
}
html { font-size: 10px; } 


@media (max-width: 1200px) {
  html:not(.print) { font-size: 9px; } 
}

@media (max-width: 1070px) {
  html:not(.print) { font-size: 8px; } 
}

@media (max-width: 930px) {
  html:not(.print) { font-size: 7px; } 
}

body { 
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    font-family: "alright", Helvetica, Arial, sans-serif;
}

#pages {
	padding-top: 9rem;
	width: 100rem;
	margin: auto;
}

.template {
	display: none;
}

#login {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: #fff;
	visibility: hidden;
	display: none;
	z-index: 1000;
}

#login.active {
	visibility: visible;
	display: block;
}

#login > iframe {
	width: 100%;
	height: 100%;
}

#login.active + #app {
	display: none;
}

#edit {
	padding: 20px 40px;
	display: none;
}

#edit.active {
	display: block;
}

#edit input, #edit select, #edit textarea {
	width: 100%;
}

#edit table {
}

#edit table tr.bad {
	background-color: #ffb7b7;
}

#edit table td {
}

#my {
	padding: 20px 40px;
	display: none;
}

#my.active {
	display: block;
}

#my .certificates_list {
	padding-bottom: 4rem;
	padding-top: 4rem;
	padding-left: 5%;
	padding-right: 5%;
}

#my .certificates_list li {
	position: relative;
	font-size: 1.5rem;
	list-style-type: circle;
	cursor: pointer;
}

#my .certificates_list li span {
    position: absolute;
    top: -12px;
    border-radius: 2px;
    background-color: #2A6A92;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    height: 13px;
    font-size: 11px;
    left: -15px;
    padding: 1px 4px 0;
}

#certificate {
	padding: 20px 40px;
	display: none;
	background-color: #f4f4f4;
}

#certificate.active {
	display: block;
}

#certificate .template_top_page {
	background-color: #fff;
	padding-bottom: 4rem;
	padding-top: 4rem;
	padding-left: 5%;
	padding-right: 5%;
	font-size: 1.3rem;
}

#certificate .template_bottom_page {
	background-color: #fff;
	padding-bottom: 4rem;
	padding-top: 4rem;
	padding-left: 5%;
	padding-right: 5%;
	text-align: center;
}

#certificate .template_bottom_page img {
	max-height: 100px;
}

#certificate .template_top_page .floatleft {
	float: left;
}

#certificate .template_top_page .floatright {
	float: right;
}


#certificate .template_header {
	background-image: url(pics/background.jpg);
	background-size: cover;
	padding-top: 4rem;
	padding-bottom: 6rem;
}

#certificate h1 {
	position: relative;
	text-align: center;
	font-weight: bold;
	font-size: 2rem;
	margin-bottom: 2rem;
	color: #fff;
}

#certificate h1::after {
	content: "";
    position: absolute;
    width: 10%;
    height: 0.2rem;
    background-color: #d22;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
}

#certificate h2 {
	text-align: center;
	font-size: 1.8rem;
	color: #fff;
}

#certificate .print {
	display: block;
	margin-bottom: 2rem;
}

#certificate .template_content {
	width: 90%;
	margin-top: -3rem;
	margin-left: 5%;
	background-color: #fff;
	padding-left: 5rem;
	padding-right: 5rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

#certificate .template_content .content .full {
	width: calc(100% - 2rem);
	margin: 1rem;
}

#certificate .template_content .content .mid {
	width: calc(50% - 2rem);
	margin: 1rem;
	float: left;
}

#certificate .template_content .content h3 {
	font-size: 1.5rem;
	font-weight: bold;
	color: #054075;
	margin-bottom: 1rem;
}

#certificate .template_content .content h3 img {
	margin-right: .5rem;
}

#certificate .template_content .content .content_rubriques {
	font-size: 1.3rem;
	background-color: #f4f4f4;
	margin-bottom: 2rem;
	padding: 1rem;
	min-height: 12rem;
}

#certificate .table {
	display: table;
	table-layout: fixed;
	background-color: #f4f4f4;
	border-style: solid;
	border-width: 2px;
	border-color: #054075;
	border-radius: 3rem;
	width: 100%;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#certificate .table .bloc {
	display: table-cell;
	border-right-style: solid;
	border-right-width: 2px;
	border-right-color: #054075;
}

#certificate .table .bloc:last-child {
	border:none!important;
}

#certificate .table .bloc h3 {
	text-align: center;
	color: #054075;
	padding: 1rem;
	font-size: 1.5rem;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #054075;
}

#certificate .table .bloc p {
	text-align: center;
	padding-top: 1.5rem;
	padding-bottom: 1rem;
	font-size: 1.5rem;
}

#certificate .footer {
	font-size: 1.5rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
	color: #054075;
	font-style: italic;
}

#certificate .signature {
	display: table;
	table-layout: fixed;
	width: 100%;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#certificate .signature h3 {
	font-size: 1.5rem;
	text-transform: uppercase;
	display: table-cell;
	vertical-align: top;
}

#certificate .signature p {
	display: table-cell;
	text-align: center;
}

#certificate .signature img {
	width: 60%;
}

#app header {
	width: 100%;
	position: fixed;
	background-color: #fff;
	height: 9rem;
}

#app header .wrapper{
	position: relative;
	width: 100rem;
	margin: auto;
}

#app header .logo {
	position: absolute;
	height: 9rem;
	width: 12rem;
	left: 4rem;
	background-image: url('pics/logo-onet.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

#app header .login {
	position: absolute;
	height: 7rem;
	width: 7rem;
	top: 1rem;
	right: 4rem;
}

#app header .login #avatar {
	position: absolute;
	right: 0;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	margin-top: 1.5rem;
}

#app header .login:hover .more {
	display: block;
}

#app header .login .more {
	width: 30rem;
	background: #fff;
	border: .1rem solid #ccc;
	border-color: rgba(0,0,0,.2);
	color: #000;
	box-shadow: 0 .2rem 1rem rgba(0,0,0,.2);
	display: none;
	outline: none;
	position: absolute;
	right: 0;
	top: 6.5rem;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-moz-user-select: text;
	padding: 1rem;
}

#app header .login .more:before {
	content: '';
	background: #fff;
	border: inherit;
	border-color: inherit;
	box-shadow: inherit;
	position: absolute;
	right: 1.3rem;
	top: -.5rem;
	width: 1rem;
	height: 1rem;
	transform: rotate(45deg);
	z-index: -1;
}

#app header .login .more:after {
	content: '';
	background: #fff;
	position: absolute;
	right: 1.3rem;
	top: -.4rem;
	width: 1rem;
	height: 1rem;
	transform: rotate(45deg);
	z-index: 1;
}

#app header .login .more #avatar_more {
	width: 12rem;
	height: 12rem;
	border-radius: 50%;

}

#app header .login .more #username {
	display: inline-block;
	vertical-align: top;
	margin-left: 2rem;
	margin-top: 2rem;
	font-size: 1.5rem;
}

#app header .login .more #logout {
	display: block;
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	font-size: 1.5rem;
}

#app header nav {
	width: 50rem;
	margin: auto;
	height: 9rem;
	line-height: 10rem;
	font-size: 1.5rem;
	font-weight: bold;
	text-transform: uppercase;
	color: #003974;
}

#app header nav a {
	position: relative;
	color: #5e5e5e;
	text-align: center;
	text-decoration: none;
	margin-right: 2rem;
	padding-right: 2rem;
	border-right: solid #5e5e5e .1rem;
}

#app header nav a:last-child {
	color: #5e5e5e;
	text-decoration: none;
	margin-right: 0;
	padding-right: 0;
	border-right: none;
}

#app header nav a:hover {
	color: #db001a;
}

#app header nav a .news {
	position: absolute;
	background-color: #003974;
	color: #fff;
	top: -1rem;
	left: calc(100% - 2rem);
	border-radius: .2rem;
	font-size: 1rem;
	line-height: 100%;
	padding: 0.2rem;
	text-align: center;
	text-decoration: none;
}

.form-style-1 {
    font-size: 1.5rem;
}

.form-style-1 label{
    margin:0 0 3px 0;
    padding:0px;
    display:block;
    font-weight: bold;
}
.form-style-1 input[type=text],
.form-style-1 input[type=date],
.form-style-1 input[type=datetime],
.form-style-1 input[type=number],
.form-style-1 input[type=search],
.form-style-1 input[type=time],
.form-style-1 input[type=url],
.form-style-1 input[type=email],
textarea,
select{
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    border:1px solid #BEBEBE;
    padding: 7px;
    margin:0px;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    -ms-transition: all 0.30s ease-in-out;
    -o-transition: all 0.30s ease-in-out;
    outline: none;
    font-size: 1.5rem;
}
.form-style-1 input[type=text]:focus,
.form-style-1 input[type=date]:focus,
.form-style-1 input[type=datetime]:focus,
.form-style-1 input[type=number]:focus,
.form-style-1 input[type=search]:focus,
.form-style-1 input[type=time]:focus,
.form-style-1 input[type=url]:focus,
.form-style-1 input[type=email]:focus,
.form-style-1 textarea:focus,
.form-style-1 select:focus{
    -moz-box-shadow: 0 0 8px #003974;
    -webkit-box-shadow: 0 0 8px #003974;
    box-shadow: 0 0 8px #003974;
    border: 1px solid #003974;
}
.form-style-1 .field-divided{
    width: 49%;
}

.form-style-1 .field-long{
    width: 100%;
}
.form-style-1 .field-select{
    width: 100%;
}
.form-style-1 .field-textarea{
    height: 100px;
}
.form-style-1 input[type=submit], .form-style-1 input[type=button]{
    background: #003974;
    padding: 8px 15px 8px 15px;
    border: none;
    color: #fff;
    font-size: 1.5rem;
}
.form-style-1 input[type=submit]:hover, .form-style-1 input[type=button]:hover{
    background: #4691A4;
    box-shadow:none;
    -moz-box-shadow:none;
    -webkit-box-shadow:none;
    font-size: 1.5rem;
}
.form-style-1 .required{
    color:red;
}

























