@font-face {
    font-family: 'Material Design Icons';
    src: url("../fonts/materialdesignicons-webfont.71e595c1d720.eot");
    src: url("../fonts/materialdesignicons-webfont.71e595c1d720.eot?#iefix") format('embedded-opentype'),
         url("../fonts/materialdesignicons-webfont.a271983fa104.woff2") format('woff2'),
         url("../fonts/materialdesignicons-webfont.bacf5546ee8b.woff") format('woff'),
         url("../fonts/materialdesignicons-webfont.d10c665412f8.ttf") format('truetype'),
         url("../fonts/materialdesignicons-webfont.0cea4be6cf6e.svg#material_design_iconsregular") format('svg');
    font-weight: normal;
    font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  color: #295684;
}

a:hover{
	color: #444971;
}
a:focus {
  outline: none;
}

.link{
	display: block
}
.link:after{
	font-family: 'Material Design Icons';
	content: '\F14F';
}
body {
  background-color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  color: #295684;
  font-size: 0.8em;
  overflow-x: hidden;
  line-height: 24px;
}

.top{
  margin-top: 30px;
}

.pipe{
  color: red;
}

/* FD: bof...
.text{
  width: 40vw;
}
*/

p.text.big {
    font-size: 14px;
    margin: 1.5em 0;
}
.bold{
  font-weight: bold;
}

.paragraph {
    margin: 1em 0;
}
/*------------------ Header ----------------------- */

.header {
  width: 100%;
  height: 80px;
  background: #444971;
}

.header-logos{
  margin-left: 30px;
  position: absolute;
}

.header-logos img{
  width: 160px;
}

.samarcande-logo{
    position: relative;
    bottom: -3px;
}

.pc-logo{
    position: relative;
    bottom: -9px;
}

.header-pipe{
    border-left: 1px solid #ffffff;
    height: 35px;
    display: inline-block;
    position: relative;
    top: 20px;
    margin: 0 8px;
}

.fwb-header{
  float: right;
}

.triangle {
  border-bottom: 80px solid white;
  border-left: 20px solid transparent;
  position: relative;
  top: -19px;
}

.logo-fwb-header{
  float: right;
  background: white;
  width: 120px;
  height: 80px;
}

.logo-fwb-header img{
    height: 67px;
    position: relative;
    left: 24px;
    top: 8px;
}

.breadcrumb{
	margin: 20px 0 0 30px;
}

/*------------------ content ----------------------- */

.content {
  width: 60vw;
  max-width: 800px;
  background: white;
  height: 100%;
  margin: 0 auto;
}

.container{
    margin: 0 auto;
  padding: 30px 30px 40px 30px;
}

.main-title{
  color: #62525D;
  font-weight: bold;
  border-bottom: 1px solid #42446B;
  padding-bottom: 6px;
  font-size: 18px;
  margin-bottom: 30px;
}

.separator {
    line-height: 1px;
    margin: 2em 0;
    border: none;
    height: 1px;
    background-color: #295684;  /* Modern Browsers */
}
/*------------------ login ----------------------- */

form{
  margin: 30px 0 30px;
  /* width: 23vw; */
}


input[type=text], input[type=password], textarea {
  width: 23vw;
  height: 40px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 1px solid #295684;
  font-family: Arial, Helvetica, sans-serif;
  padding: 0 1em;
}

input[type=text], input[type=password] {
    max-width: 20em;
}

input[type=date]{
  width: 13vw;
  height: 40px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 1px solid #295684;
  font-family: Arial, Helvetica, sans-serif;
}

input[type=text].error, input[type=password].error, textarea.error, input[type=date].error {
  border: 1px solid red;
}

.form-row.error .errorlist {
    color: red;
}
.form-row.error input {
    border: 1px solid red;
}

label {
    margin-top: 1em;
    display: block;
    }

label.checkboxlabel {
    display: block;
    width: 100%;
    position: relative;
    padding-left: 1.5em;
}
label.checkboxlabel input {
    position: absolute;
    left: 0; top: 5px;
}
textarea {
    width: 100%;
    height: 4em;
}
p.errornote {
    border: 1px solid red;
    color: red;
    padding: 2em 1em;
    margin: 1em 0;
    text-align: center;
}

input::placeholder{
  font-size: 14px;
  color: #295684;
  padding: 4px 15px 0;
}

input[value="jj/mm/aaaa"]{
  font-size: 14px;
  color: #295684;
  padding: 4px 15px 0;
}

input[type=submit], button {
  padding: 10px 20px;
  border: none;
  color: white;
}

input[type=submit] {
  background: #295684;
  margin-right: 5px;
}
input[type=submit]:hover{
  background: #3775B3;
}

button{
  background: #aaaaaa;
  border: none;
}

button.default {
  background: #295684;
}

.forgot-password{
  float: right;
}

.buttons{
  margin-top: 40px;
}

/*------------------ Envoi ----------------------- */

.connexion-info{
  float: right;
  position: relative;
  top: -18px;
}

/* ----------------  messages  -------------------- */
.box.box--message {
    border: 1px solid rgb(41, 86, 132);
    padding: 1em;
}

/*------------------ footer ----------------------- */

footer {
  margin: 0 auto;
  text-align: center;
  padding-bottom: 20px;
}

.fwb-logo{
  margin-top: 7px;
}

@media  (max-width: 950px){
   input[type=text], input[type=password], textarea, input[type=date]{
    width: 40vw;
  }
  .content{
    width: 90vw;
  }
  .text {
    width: 70vw;
  }
  form{
    width: 70vw;
  }
  .forgot-password{
    float: none;
  }
    label{
    display: block;
  }
}

@media  (max-width: 450px){

  .header{
    height: 70px;
  }

  .header-logos img{
    width: 100px;
  }

  .logo-fwb-header img{
    height: 55px;
    left: 5px;
    top: 12px;
  }

  .logo-fwb-header{
    width: 70px;
    height: 70px;
  }

  .pc-logo{
    bottom: -7px;
  }

  .triangle {
    border-bottom: 80px solid white;
    border-left: 20px solid transparent;
    position: relative;
    top: -24px;
    right: -1px;
  }
  .forgot-password{
       float: none;
  }

  input[type=text], input[type=password], textarea, input[type=date]{
    width: 80vw;
  }
}

@media  (max-width: 320px){
  .header-logos img{
    width: 90px;
  }

  .logo-fwb-header img{
    height: 45px;
    left: 2px;
  }

  .logo-fwb-header{
    width: 53px;
  }

  .triangle {
    border-bottom: 80px solid white;
    border-left: 20px solid transparent;
    position: relative;
    top: -24px;
    right: -1px;
  }
}
