/*
Code CSS projet informatique 2eBAC

  Par Arthur Maertens (AMDC)

  Dernière modification le 16 avril 2019

Tous droits réservés, toute copie sera considérée comme plagiat.
Copyright 2019
*/

/* --- Contenu global du site --- */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Dosis', 'Roboto', 'Lato', sans-serif;
}

body {
  margin: 0;
  max-width: 100vw;
  background: #415e1d url("jardin.jpeg") no-repeat fixed center;
  background-size:cover;
}

img {
  max-width: 100vw;
  z-index: 3;
}

section {
  display: block;
}

p {
  z-index: 9;
}

h1 {
  font-weight:400;
  text-transform: uppercase;
}

table {
  max-width: 55vw;
}

/* --- Contenu textuel des pages --- */

.block {
  margin: 50px auto;
  max-width:75vw;
  padding: 40px;
  background-color: #ffffffcc;
  z-index: 10;
  overflow: auto;
  display:block;
  margin-bottom: 70px;
}

/* --- Forms --- */

form div {
  overflow: hidden;
  position: relative;
  min-height: 35px;
}

form input,
form select,
textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #FFF;
  margin: 0 0 10px 0;
  padding: 0 10px;
  height: 35px;
  font-size: small;
}

textarea {
  resize: vertical;
  padding-top: 8px;
  height: 90px;
}

form .two {
  width: 49.5%;
}

form .two input,
form .two select {
  float: right;
}

form .form-left {
  float: left;
  margin-right: 1%;
}

form .form-left input,
form .form-left select {
  float: left;
}

.no-margin {
  margin:0 !important;
}

.radio {
  height: auto;
  vertical-align: middle;
  line-height: 35px;
}

.radio input {
  width: 2%;
  height: auto;
  margin: auto;
}

.radio-left {

  display: block;
  overflow: auto;
}
      /* --- Input group --- */

      .input-group {
        display: table;
        height: 35px;
        margin-bottom: 10px;
        width:34vw;
      }

      .input-group-addon {
        font-size: 14px;
        font-weight: 400;
        color: #555;
        text-align: center;
        vertical-align: middle;
        background-color: #eee;
        border: 1px solid #ccc;
        width:2vw
      }

      .input-group input,
      .input-group-addon {
        display: table-cell;
      }

      .input-group input {
        max-width: 32vw !important;
        border-right: 0px;
        margin-bottom: 0px;
      }

/* --- Footer --- */

.footer {

  position: fixed;
  bottom: 0;
  width:100%;
  height:60px;
  color: white;
  text-align: center;
  vertical-align: middle;
  line-height: 60px;
  background-color: #414040e3 ;
  z-index: 1;
}

    /* --- Hyperliens --- */

    a {
      color: #7cae3f;
      text-decoration: none;

    }

    .padding-a {
      display: inline-block;
      padding-bottom: 10px;
    }

    a:hover {
      color: #415e1d;
    }

    /* --- Float --- */

    .float-left {
      float:left;
      margin: 0 1vw 0 0;
    }

    .float-right {
      float:right;
      margin: 0 1vw 0 0;
    }

    /* --- Buttons --- */

        .submit {
          cursor: pointer;
          width: 98.5%;
          border: none;
          background: #415e1d;
          color: #FFF;
          padding: 10px;
          font-size: 15px;
        }

        .submit-left,
        .submit-right {
          float: right;
          margin: 0;
          width: 35vw;

        }

        .submit-left {
          margin-left: 0;
        }

/* Border */

.border {
  border-bottom: 1px solid #aeaeae;
  margin-bottom: 10px;
  padding-bottom: 5px;
}


/* login */

.form-wrapper {
  width:300px;
  position: absolute;
  top: 50%;
  left: 48%;
  margin: -184px 0px 0px -155px;
  background: #ffffffcc;
  padding: 15px 25px;
  border-radius: 5px;
  box-shadow: 0px 1px 0px rgba(0,0,0,0.6),inset 0px 1px 0px rgba(255,255,255,0.04);
}

.form-item {
width:100%;
}



.form-item input{
  border: none;
  background:transparent;
  color: grey;
  margin-top:11px;
  font-size: 15px;
  height: 49px;
  padding: 0 16px;
  width: 100%;
  padding-left: 55px;

}
.form-wrapper input[type='password']{
	background: transparent url("img/pass.jpg") no-repeat;
	background-position: 10px 50%;
}
.form-wrapper input[type='text']{
	background: transparent url("img/user.jpg") no-repeat;
	background-position: 10px 50%;

}

.form-item input:focus {
  outline: none;
  border:1.4px solid #cfecf0;
}

.button-panel {
  margin-bottom: 20px;
  padding-top: 10px;
  width: 100%;
}

.button-panel .button {
  background: #415e1d;
  border: none;
  color: #fff;
  cursor: pointer;
  height: 50px;
  font-family: 'helvetica','Open Sans', sans-serif;
  font-size: 1.2em;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.6s linear;
  width: 100%;
  margin-top:10px;
}

.button:hover {
  background: #7dae41;
}

.form-item input, .button-panel .button {
  border-radius: 2px
}

.reminder {
  text-align: center;
}

.reminder a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.reminder a:hover {
  color: #cab6bf;
}
