@font-face {
    font-family: 'Myriad Pro Bold Condensed';
    src: url('fonts/MyriadPro-BoldCondensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
	height: 100%;	
	font-family: 'Open Sans', sans-serif;
	color: #212121;
}

.small {
	font-size: 0.75em;
}

.background-white {
	background-color: #ffffff!important;
}

.background-blue-grey {
	background-color: #D1D9E0;
}

.background-grey {
	background-color: #E7EBEF;
}

.border-grey {
	border: 2px solid #BBC3CB!important;
} 

.ok {
    color: #99C355;
}

p {
    line-height: 1.2;
}

.color-white {
	color: #ffffff;
}

.break {
    display: none;
}

.box-shadow-grey {
	-moz-box-shadow: 7px 7px 10px 0px #cccccc;
	-webkit-box-shadow: 7px 7px 10px 0px #cccccc;
	-o-box-shadow: 7px 7px 10px 0px #cccccc;
	box-shadow: 7px 7px 10px 0px #cccccc;
}

.alert-error {
    background-color: #ffffff;
    border-color: #cc0000;
    color: #333333;
}

#kc-locale-dropdown a {
    color: #4d5258;
    background: 0 0;
    padding: 0 15px 0 0;
    font-weight: 300;
}

#kc-locale-dropdown a:hover {
    text-decoration: none;
}

a#kc-current-locale-link {
    display: block;
    padding: 0 5px;
}

a#kc-current-locale-link::after {
    content: "\2c5";
    margin-left: 4px;
}

.login-pf a:hover {
    color: #CC9600;
}

#kc-logo {
    width: 100%;
}

#kc-logo-wrapper {
    background-image: url(../img/keycloak-logo-2.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 62px auto 0;
}

div.kc-logo-text {
    background-image: url(../img/keycloak-logo-text.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 0 auto;
}

div.kc-logo-text span {
    display: none;
}

#kc-header {
    color: #ededed;
}

#kc-header-wrapper {
	font-size: 29px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2em;
    padding: 25px 10px 25px;
    background-color: white;
    white-space: normal;
}

#kc-info {
    padding-bottom: 200px;
    margin-bottom: -200px;
}

#kc-info-wrapper {
    font-size: 13px;
}

#kc-form-options span {
    display: block;
}

#kc-form-options .checkbox {
    margin-top: 0;
    color: #72767b;
}

#kc-terms-text {
    margin-bottom: 20px;
}

#kc-registration {
    margin-bottom: 15px;
}

/* TOTP */

ol#kc-totp-settings {
    margin: 0;
    padding-left: 20px;
}

ul#kc-totp-supported-apps {
  margin-bottom: 10px;
}

#kc-totp-secret-qr-code {
    max-width:150px;
    max-height:150px;
}

#kc-totp-secret-key {
    background-color: #fff;
    color: #333333;
    font-size: 16px;
    padding: 10px 0;
}

/* OAuth */

#kc-oauth h3 {
    margin-top: 0;
}

#kc-oauth ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#kc-oauth ul li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    padding: 10px 0;
}

#kc-oauth ul li:first-of-type {
    border-top: 0;
}

#kc-oauth .kc-role {
    display: inline-block;
    width: 50%;
}

/* Code */
#kc-code textarea {
    width: 100%;
    height: 8em;
}

/* Social */

#kc-social-providers ul {
    padding: 0;
}

#kc-social-providers li {
    display: block;
}

#kc-social-providers li:first-of-type {
    margin-top: 0;
}

.zocial,
a.zocial  {
    width: 100%;
    font-weight: normal;
    font-size: 14px;
    text-shadow: none;
    border: 0;
    background: #f5f5f5;
    color: #72767b;
    border-radius: 0;
    white-space: normal;
}
.zocial:before {
  border-right: 0;
  margin-right: 0;
}
.zocial span:before {
    padding: 7px 10px;
    font-size: 14px;
}
.zocial:hover {
    background: #ededed !important;
}

.zocial.facebook,
.zocial.github,
.zocial.google,
.zocial.microsoft,
.zocial.stackoverflow,
.zocial.linkedin,
.zocial.twitter {
    background-image: none;
    border: 0;

    box-shadow: none;
    text-shadow: none;
}

/* Copy of zocial windows classes to be used for microsoft's social provider button */
.zocial.microsoft:before{ content: "\f15d"; }
.zocial.stackoverflow:before{ color: inherit; }

@media (min-width: 768px) {
    #kc-container-wrapper {
        position: absolute;
        width: 100%;
    }

    #kc-locale {
        position: relative;
        text-align: right;
        z-index: 9999;
    }
}

.card-pf form.form-actions .btn {
    float: right;
    margin-left: 10px;
}

.login-pf-page .login-pf-brand {
  margin-top: 20px;
  max-width: 360px;
  width: 40%;
}

.card-pf {
  background: #fff;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 500px;
  border-top: 0;
  box-shadow: 0 0 0;
}

/*tablet*/
@media (max-width: 840px) {
    .login-pf-page .card-pf{
      max-width: none;
      margin-left: 20px;
      margin-right: 20px;
      padding: 20px 20px 30px 20px;
    }
}

.login-pf-page .login-pf-signup {
  font-size: 15px;
  color: #72767b;
}

@media (min-width: 768px) {
  .login-pf-page .login-pf-social-section:first-of-type {
    padding-right: 39px;
    border-right: 1px solid #d1d1d1;
    margin-right: -1px;
  }
  .login-pf-page .login-pf-social-section:last-of-type {
    padding-left: 40px;
  }
  .login-pf-page .login-pf-social-section .login-pf-social-link:last-of-type {
    margin-bottom: 0;
  }
}

.login-pf-page .login-pf-social-link {
  margin-bottom: 25px;
}
.login-pf-page .login-pf-social-link a {
  padding: 2px 0;
}

.login-pf-page.login-pf-page-accounts {
  margin-left: auto;
  margin-right: auto;
}

/***********************/
/**	HEADER **/
/***********************/

#kc-header > .container-fluid {
	background-color: white; 
}

.color-infos {
	color: #f6b200;
}

.block-info {
    background-color: #212121;
}
	
/***********************/
/**	CONTENT **/
/***********************/
.exclamation-orange {
    background-color: #EDB400;
    height: 75px;
    padding: 0px 10px 0px 10px;
    font-size: 50px;
    text-align: right;
    font-weight: bold;
    float: left;
    width: 30px;
	margin-right: 10px;
}

.triangle-orange {
    width: 20px;
    border: 38px solid transparent;
    border-left: 20px solid #EDB400;
    float: left;
    height: 60px;
    position: absolute;
    left: 30px;
}
 
.fenetre-connexion {
    background-color: #ffffff;
    -moz-box-shadow: 7px 7px 10px 0px #cccccc;
    -webkit-box-shadow: 7px 7px 10px 0px #cccccc;
    -o-box-shadow: 7px 7px 10px 0px #cccccc;
    box-shadow: 7px 7px 10px 0px #cccccc;
}

.home-title {
    text-transform: uppercase;
    margin-top: 0;
    color: #363636;
    text-align: center;
    font-family: "Myriad Pro Bold Condensed", sans-serif !important;
    line-height: 30px;
}

.title-connexion {
    color: #363636;
    font-family: "Myriad Pro Bold Condensed", sans-serif !important;
    margin-bottom: 0px;
}

.block-video {
	height: 380px;
}

.fa-eye-slash {
    background-image: url("../img/voir-TS-off-01.svg");
}

.fa-eye {
	background-image: url("../img/voir-TS-on-01.svg");
}

.fa-env {
    background-image: url(../img/mail-TS.svg)!important;
    position: absolute;
    width: 25px;
    height: 20px;
    z-index: 10;
    top: 11px;
    background-repeat: no-repeat;
    left: 6px;
}

.fa-lock {
    background-image: url(../img/mdp-TS.svg);
    position: absolute;
    width: 15px;
    height: 20px;
    z-index: 10;
    top: 9px;
    background-repeat: no-repeat;
    left: 26px;
}

.fa-eye, .fa-eye-slash {
    margin-top: -28px;
    position: absolute;
    z-index: 10;
    padding-right: 15px;
    right: 15px;
    cursor: pointer;
    background-repeat: no-repeat;
    height: 20px;
    width: 25px;
    margin-right: 5px;
}

.btn-custom {
	color: #fff;
	font-weight: 400; 
	text-align: center; 
	vertical-align: middle; 
	font-size: 1rem; 
	line-height: 1.5;
	border-radius: 0.25rem;
	transition: color 0.15s ease-in-out, 
	background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; 
	background-color: #EDB400;
	font-weight: 600;
}

.btn-custom:hover, .btn-custom:focus, .btn-custom:active {
	background-color: #CC9600 !important;
	color: white !important;
	border-color: #CC9600!important;
	outline-color: #CC9600 !important;
}

.btn-light {
    background-color: #BBC3CB;
    color: #fff;
    font-weight: 600;
}

.btn-light:hover {
    color: #fff!important;
    background-color: #8F9499;
}

.btn {
	text-transform: uppercase;
}

.forget-password > a, .remember-me, .back-connexion > a, .need-help > a {
	color: #212121;
    text-decoration: underline;
    font-weight: unset;
}

.span-NT {
    font-size: 12px;
}


/***********************/
/**	FOOTER **/
/***********************/

.footer-1 {
    background-color: #212121;
    border-bottom: 1px solid #555;
}

.footer-2 {
    background-color: #212121;
}

div.rules-list .rules {
    column-count: 2;
    margin-top: 10px;
}

span.rules {
    font-weight: 600;
}

/***********************/
/**	GENERAL **/
/***********************/


#kc-content {
    display: flex;
    min-height: calc( 100vh - 270px);
}

.alert-error {   
	background-color: #fd9595;
	border: 1px solid red;
}

.alert-success {
	background-color: #e9f4e9;
    border: 1px solid #3f9c35;
}

.alert-warning {
	background-color: #fdf2e5;
    border: 1px solid #ec7a08;
}

#ergonomie a {
    color: #333;
    font-weight: bold;
}

.lab {
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 22px;
}

/* Hide the browser's default checkbox */
.lab input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
    height: 20px;
    width: 20px;
    background-color: #fff;
    float: left;
    border: 1px solid #ced4da;
	border-radius: 3px;
	margin-right: 5px;
}

/* On mouse-over, add a grey background color */
.lab:hover input ~ .checkmark {
  background-color: #fff;
}

/* When the checkbox is checked, add a blue background */
.lab input:checked ~ .checkmark {
  background-color: #EDB400;
}

/* Show the checkmark when checked */
.lab input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.lab .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#username {
    background-image: url(../img/mail-TS.svg)!important;
    background-size: 25px;
    background-position: 5px center;
    background-color: #fff!important;
}

input:-webkit-autofill {
	background-color: transparent!important;
}

#password, #password-confirm, #password-new {
    background-image: url("../img/mdp-TS.svg");
    background-size: 15px;
    background-position: 10px center;
}

#username, #password, #password-confirm, #password-new  {
	background-repeat: no-repeat;
   	padding: 7px 0px 5px 35px;
}

.link {
    color: #212121;
    text-decoration: underline;
}

	
.input-group-sm > .form-control:not(textarea), .input-group-sm > .custom-select {
	height: calc(2em + 0.5rem + 2px);
}


@media (max-width: 1200px) {
	.exclamation-orange {
		height: 95px;
		padding: 0px 10px 0px 10px;
		font-size: 60px;
	}
	
	.triangle-orange {
		border: 48px solid transparent;
		border-left: 20px solid #EDB400;
		float: left;
		height: 60px;
	}
}

/**********************************************************
******************* TABLETTE PAYSAGE **********************
/**********************************************************/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) { 
	#containerBlack {
		max-width: 100%!important;
	}
	
	.block-video {
		height: 340px;
		margin-top: 42px;
	}	
	
	.border-left-orange {
		border-left: 8px solid #EDB400;
	}
	
	#ergonomie, .exclamation-orange, .triangle-orange, .logo-taxe-top {
		display: none;
	}
	
	.conditions {
		font-size: 13px;
	}
}	

/**********************************************************
******************* TABLETTE PORTAIT **********************
/**********************************************************/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) { 
	#kc-content {
    	min-height: 80vh;
	}

	#ergonomie, .block-video, .exclamation-orange, .triangle-orange  {
		display: none;
	}
	
	.border-left-orange {
		border-left: 8px solid #EDB400;
	}
	
	.conditions {
		font-size: 13px;
	}
}

@media (max-width: 992px) {
	.br, .block-video {
    	display: none;
	}
}

/*********************************************************
----- TABLETTE PORTAIT
/**********************************************************/

@media (max-width: 768px) {

	#ergonomie, .exclamation-orange, .triangle-orange  {
		display: none;
	}
}

/*********************************************************
----- MOBILE PAYSAGE
/**********************************************************/

@media (max-width: 568px) {
	.home-title {
		font-size: 1.75rem;
	}

	.block-info {
		background-color: #212121;
		line-height: 20px;
		font-size: 12px;
	}
	
	.remember-me, .forget-password {
	    font-size: 12px;
	}
  /* footer */
  .float-left.block-nt {
    clear: left !important;
    float: none !important;
    text-align: center;
  }
  .mentions {
    width: 100% !important;
    margin-top: 1rem;
  }

}

@media (max-width: 330px) {
	.break {
		display: block;
	}
}

