html, body {
  height: 100%;
}

body {
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  box-pack: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -ms-flex-pack: center;
  -webkit-box-align: start;
  -moz-box-align: start;
  box-align: start;
  -webkit-align-items: flex-start;
  -moz-align-items: flex-start;
  -ms-align-items: flex-start;
  -o-align-items: flex-start;
  align-items: flex-start;
  -ms-flex-align: start;
  background-color: #399D89;
  font-family: "Roboto Condensed", sans-serif;
  transition: background 300ms;
}
@media (min-height: 580px) {
  body {
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -ms-flex-align: center;
  }
}

.container {
  position: absolute;
  top: 50px;
  /* left: calc(260px + 7.5vw); */
  left: calc(130px + (100vw - 70vw)/2);
  width: 70vw;
  padding-right: 20px;
  padding-left: 20px;
}

.invoice {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.13);
  margin: 50px 0;
  padding: 50px 30px 30px;
  filter: blur(0px);
  transition: filter 150ms ease-in-out 0s;
}
.invoice header {
  overflow: hidden;
  margin-bottom: 40px;
}
.invoice header section:nth-of-type(1) {
  float: left;
}
.invoice header section:nth-of-type(1) h1 {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  color: #344760;
  font-size: 25px;
  margin-top: 0;
  margin-bottom: 5px;
}
.invoice header section:nth-of-type(1) span {
  color: #b7bcc3;
  font-size: 14px;
  letter-spacing: 2px;
}
.invoice header section:nth-of-type(2) {
  text-align: right;
}
.invoice header section:nth-of-type(2) span {
  font-size: 21px;
  color: #b7bcc3;
  letter-spacing: 1px;
}
.invoice main {
  border: 1px dashed #b7bcc3;
  border-left-width: 0px;
  border-right-width: 0px;
  padding-bottom: 30px;
}
.invoice main section {
  overflow: hidden;
}
.invoice main section:nth-of-type(1) {
  margin-bottom: 30px;
}
.invoice main section:nth-of-type(1) span {
  color: #b7bcc3;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
}

.invoice main section:nth-of-type(2) figure {
  overflow: hidden;
  margin: 4px;
  line-height: 160%;
}

.invoice main section:nth-of-type(2) figure input, .invoice main section:nth-of-type(2) figure textarea {
  display: block;
  width: 90%;
  border: solid 1px #CCC;
  border-radius: 4px;
  padding: 10px 15px;
  margin: auto;
  margin-bottom: 15px;
  font-size: 16px;
}
.invoice main section:nth-of-type(2) figure textarea {
  font-size: 16px;
  font-family: inherit;
  resize: none;
  height: 100px;
}
.invoice main section:nth-of-type(2) figure:last-of-type {
  margin-bottom: 0;
}
.invoice main section:nth-of-type(3) span:nth-of-type(1) {
  width: 72.5%;
  font-weight: bold;
}
.invoice main section:nth-of-type(3) span:nth-of-type(2) {
  margin-right: 0 !important;
}
.invoice footer {
  text-align: right;
  margin-top: 30px;
}
.invoice footer span {
  display: block;
  font-size: 19px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
}
.invoice footer span:after {
  content: "";
  width: 0%;
  height: 4px;
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: inherit;
  -webkit-transition: width 0.2s ease-in-out;
  -moz-transition: width 0.2s ease-in-out;
  transition: width 0.2s ease-in-out;
}
.invoice footer span:hover:after {
  width: 100%;
}
.invoice footer span {
  color: #399D89;
}

.invoice_mini {
  display: inline-block;
  width: 45%;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.13);
  margin: 12px 1%;
  padding: 18px 25px;
  padding-bottom: 12px;
  filter: blur(0px);
  transition: filter 150ms ease-in-out 0s;
  word-wrap: break-word;
}
.invoice_mini section {
  display: inline-block;
  vertical-align: middle;
}
.invoice_mini .info {
  width: calc(100% - 80px);
}
.invoice_mini .info h1 {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  color: #344760;
  font-size: 18px;
  margin-top: 6px;
  margin-left: 12px;
}
.invoice_mini .info span {
  color: #b7bcc3;
  font-size: 14px;
  letter-spacing: 2px;
  margin: auto 12px;
}
.invoice_mini .modifier a {
  display: block;
  font-size: 19px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  color: #399D89;
}
.invoice_mini .modifier a:hover {
  text-decoration: none;
  color: rgba(57, 157, 137, 0.747);
}

form figure label {
  position: relative;
  display: block;
}
form figure label input {
  display: block;
  width: 90%;
  border: solid 1px #CCC;
  border-radius: 4px;
  padding: 10px 15px;
  margin: auto;
  font-size: 16px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
form figure label input#aliasInput {
  display: block;
  width: 90%;
  border: solid 1px #CCC;
  border-radius: 4px;
  padding: 10px 15px;
  padding-left: 223px;
  margin: auto;
  font-size: 16px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
form figure label #debutURLAlias {
  position: absolute;
  top: 11px;
  left: calc(5% + 15px);
  font-size: 16px;
  color: #595959;
}

form figure label input::-webkit-input-placeholder {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #999;
  font: 16px Helvetica, Arial, sans-serif;
  line-height: 160%;
}
form figure label input::-moz-placeholder {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #999;
  font: 16px Helvetica, Arial, sans-serif;
  line-height: 160%;
}
form figure label input:-ms-input-placeholder {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #999;
  font: 16px Helvetica, Arial, sans-serif;
  line-height: 160%;
}
form figure label input::placeholder {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #999;
  font: 16px Helvetica, Arial, sans-serif;
  line-height: 160%;
}
form figure label input:focus, form figure label input.populated {
  padding-top: 28px;
  padding-bottom: 12px;
}
form figure label input:focus::-webkit-input-placeholder, form figure label input.populated::-webkit-input-placeholder {
  color: transparent;
}
form figure label input:focus::-moz-placeholder, form figure label input.populated::-moz-placeholder {
  color: transparent;
}
form figure label input:focus:-ms-input-placeholder, form figure label input.populated:-ms-input-placeholder {
  color: transparent;
}
form figure label input:focus::placeholder, form figure label input.populated::placeholder {
  color: transparent;
}
form figure label input:focus + span, form figure label input.populated + span {
  opacity: 1;
  bottom: 5px;
}
form figure label textarea::-webkit-textarea-placeholder {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #999;
  font: 18px Helvetica, Arial, sans-serif;
}
form figure label textarea::-moz-placeholder {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #999;
  font: 18px Helvetica, Arial, sans-serif;
}
form figure label textarea:-ms-textarea-placeholder {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #999;
  font: 18px Helvetica, Arial, sans-serif;
}
form figure label textarea::placeholder {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: #999;
  font: 18px Helvetica, Arial, sans-serif;
}
form figure label textarea:focus, form figure label textarea.populated {
  padding-top: 28px;
  padding-bottom: 12px;
}
form figure label textarea:focus::-webkit-textarea-placeholder, form figure label textarea.populated::-webkit-textarea-placeholder {
  color: transparent;
}
form figure label textarea:focus::-moz-placeholder, form figure label textarea.populated::-moz-placeholder {
  color: transparent;
}
form figure label textarea:focus:-ms-textarea-placeholder, form figure label textarea.populated:-ms-textarea-placeholder {
  color: transparent;
}
form figure label textarea:focus::placeholder, form figure label textarea.populated::placeholder {
  color: transparent;
}
form figure label textarea:focus + span, form figure label textarea.populated + span {
  opacity: 1;
  bottom: 5px;
}
form figure label span {
  box-sizing: border-box;
  color: #399D89;
  font: 10px Helvetica, Arial, sans-serif;
  position: absolute;
  bottom: -26px;
  opacity: 1;
  text-transform: uppercase;
  text-align: right;
  width: 90%;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
fieldset {
  border: none;
}
fieldset legend {
  text-align: center;
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 30px;
  border-top: 1px dashed #b7bcc3;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  color: #344760;
  font-size: 20px;
  margin-bottom: 5px;
}
#addLink {
  color: #fff;
  background: #B6C6CC;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50px;
  position: absolute;
  right: -5px;
  box-shadow: 2px 2px 7px grey;
  cursor: pointer;
  transition: all 300ms;
  text-align: center;
  font-size: 25px;
  line-height: 55px;
}

input[type=submit] {
  display: none;
}

#inscription input[type=submit], #connexion input[type=submit] {
  display: inherit;
  margin: auto;
}

h3 {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  color: #344760;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 25px;
  text-align: center;
}
#desc {
  text-align: justify;
  line-height: 25px;
  border-bottom: dashed 1px #b7bcc3;
  padding-bottom: 25px;
  padding-top: 25px;
}
main section:nth-of-type(2) a {
  display: block;
  color: inherit;
  letter-spacing: 0.5px;
  color: #344760;
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}
main section:nth-of-type(2) .links a {
  text-transform: uppercase;
  text-decoration: none;
  text-align: left;
}
main section:nth-of-type(2) .links a:hover {
  color: #399D89;
}
main section:nth-of-type(2) .links div {
  opacity: 0;
  margin-left: 25px;
  margin-bottom: 15px;
  transition: all 300ms;
  line-height: 15px;
}
main section:nth-of-type(2) .links:hover div {
  opacity: 1;
  margin-left: 50px;
}

#colors {
  background: rgba(255, 255, 255, 1);
  padding: 10px 20px;
  padding-top: 5px;
  border-radius: 10px;
  width: 90%;
  margin: auto;
  margin-bottom: 15px;
  transition: all 500ms;
  display: flex;
  justify-content: space-around;
}

#colors div {
  transition: all 300ms;
  width: 50px;
  height: 50px;
  border: solid 1px transparent;
  border-radius: 50px;
  cursor: pointer;
}
#colors div:hover {
  transform: scale(1.05);
}
#color399D89 {
  background-color: #399D89;
}
#color8E44AD {
  background-color: #8E44AD;
}
#color837FFF {
  background-color: #837FFF;
}
#colorFE8888 {
  background-color: #FE8888;
}
#color2A2A2A {
  background-color: #2A2A2A;
}
#colorD4C2F2 {
  background-color: #D4C2F2;
}
#colorF3C444 {
  background-color: #F3C444;
}
#color668BCB {
  background-color: #668BCB;
}
#color8B7D72 {
  background-color: #8B7D72;
}
#help {
  position: fixed;
  top: 0;
  left: 25px;
}
#help img {
  width: 35px;
  position: relative;
  top: 20px;
}
#help div {
  position: fixed;
  top: 100px;
  left: 45px;
  width: 350px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  border-top-left-radius: 0;
  opacity: 0;
  color: #344760;
  line-height: 25px;
  text-align: justify;
  transition: opacity 300ms;
}
#help img:hover + div {
  opacity: 1;
}
#new {
  position: fixed;
  top: 10px;
  left: 120px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 300ms;
}
#new:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 17px rgba(34, 47, 60, 0.5);
}
#new a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
#new img {
  width: 40px;
}
#new span {
  color: #344760;
  margin-left: 25px;
  position: relative;
  top: -10px;
}

#mask {
  position: fixed;
  top: 0; bottom: 0; left: 0; right: 0;
  z-index: 99998;
  display: none;
}

#loader-container {
  display: none;
  width: 200px;
  height: 200px;
  color: #8e44ad;
  text-transform: uppercase;
  border: 5px solid #8e44ad;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 300ms ease-in-out 1000ms;
  -webkit-animation: borderScale 1s infinite ease-in-out;
  animation: borderScale 1s infinite ease-in-out;
  animation-delay: 300ms;
  -webkit-animation-delay: 300ms;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 99999;
}
#loader-mask {
  display: none;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 99998;
  opacity: 0;
  background: white;
}
#loadingText {
  font-family: 'Raleway', sans-serif;
  font-size: 2em;
  position: absolute;
  height: 2em;
  top: 80px;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  transition: all 300ms;
}

#tousLesBiblinks {
  width: 100%;
  background: #eeeeee;
  padding: 7px;
  border-radius: 5px;
}
#tousLesBiblinks .modifiable {
  border-bottom: dashed #D3D3D3 1px;
}
#tousLesBiblinks .modifiable a {
  background-color: #305f72;
  color: #FFF;
  padding: 6px 18px;
  padding-bottom: 4px;
  border-radius: 16px;
  text-decoration: none;
  transition: 300ms all;
  margin: auto 15px;
}
#tousLesBiblinks .modifiable a:hover {
  background-color: #399D89;
  padding: 6px 22px;
  padding-bottom: 4px;
}
#tousLesBiblinks .modifiable h4 {
  display: inline-block;
  font-size: 1em;
  margin: 15px auto;
  font-weight: bold;
}
#tousLesBiblinks .modifiable span {
  color: #727272;
  font-weight: lighter;
  font-style: italic;
}

@-webkit-keyframes borderScale {
  0% {
    border: 5px solid;
    opacity: 0.25;
  }
  50% {
    border: 10px solid #8e44ad;
    opacity: 1;
  }
  100% {
    border: 5px solid transparent;
    opacity: 0.25;
  }
}

@keyframes borderScale {
  0% {
    border: 5px solid;
    opacity: 0.25;
  }
  50% {
    border: 10px solid #8e44ad;
    opacity: 1;
  }
  100% {
    border: 5px solid;
    opacity: 0.25;
  }
}
