@font-face {
  font-family: Helvetica-Bold;
  src: url("assets/fonts/Helvetica-Bold.ttf")
}

@font-face {
  font-family: OSSC;
  src: url('assets/fonts/OleoScriptSwashCaps-Regular.ttf')
}

body {
  font-family: OSSC;
  background: #ffffff;
  margin: 0;
  text-align: center;
  color: #4d4d4d;
}

input {
  font-family: OSSC;
}

h1.logo {
  color: white;
  font-family: OSSC;
}

p {
  letter-spacing: 1px;
  font-size: 14px;
  margin-top: 0%;
  color: #333333;
}

.flex {
  /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

img.con {
  border-radius: 50%;
  height: 100px;
  width: 100px;
}

img.error {
  height: 100px;
  width: 100px;
}

.box {
  padding: 30px 25px 10px 25px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  background: white;
  margin: 30px auto;
  width: 360px;
  border-radius: 15px;
  vertical-align: middle
}

h1.box-logo a {
  text-decoration: none;
  border-radius: 30px;
}

h1.box-title {

  color: #4f4f4f;
  font-weight: 300;
  padding: 15px 25px;
  line-height: 30px;
  font-size: 25px;
  text-align: center;
  margin: -27px -26px 6px;
  border-radius: 30px;
}

h2.box-title {

  color: #4f4f4f;
  font-weight: 300;
  text-align: center;
}

.box-button {

  border-radius: 15px;
  background: #4050B5;
  text-align: center;
  cursor: pointer;
  font-size: 19px;
  width: 100%;
  height: 51px;
  padding: 0;
  color: #fff;
  border: 0;
  outline: 0;
}

.box-register {
  text-align: center;
  margin-bottom: 0px;
}

.box-register a {
  text-decoration: none;
  font-size: 15px;
  color: #666;
}

.box-input {
  font-size: 14px;
  border: 1px solid #ddd;
  margin-bottom: 25px;
  padding-left: 10px;
  border-radius: 15px;
  width: 100%;
  height: 50px;
}

.box-input:focus {
  outline: none;
  border-color: #5c7186;
}

.sucess {
  text-align: center;
  color: white;
}

.sucess a {
  text-decoration: none;
  color: #58aef7;
}

p.errorMessage {
  background-color: #e66262;
  border: #AA4502 1px solid;
  padding: 5px 10px;
  color: #FFFFFF;
  border-radius: 3px;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td,
th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;

}

.success {
  padding: 5px;
}

.success p {
  color: #4d4d4d;
  text-align: center;
}

h1 {
  color: #4d4d4d;
  text-align: center
}


/*Waves*/
.header {
  position: relative;
  text-align: center;
  background: white;
  color: white;
}


.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
}

.content {
  position: relative;
  height: 20vh;
  text-align: center;
  background-color: white;
}


a {
  text-decoration: none;
}

.success {
  padding: 50px;
  text-align: center;
}

.success p {
  color: #4d4d4d;
  text-align: center;

}

.success h1 {
  text-align: center;
  color: #4d4d4d;

}

.success h2 {
  text-align: center;
  color: #4d4d4d;

}

.success a {
  text-align: center;

  text-decoration: none;
}

.retour-card {
  text-decoration: none;
  color: #8f8f8f;
  width: 100px;
  padding: 10px;
  border-radius: 20px;
  background: #3a3a3a;
  position: relative;
  text-align: center;
}

.retour-card a {
  text-decoration: none;
  color: #f7f7f7;
}


/* BOX + Ombres */

.flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-container>div {
  background-color: #ffffff;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  width: 500px;
  margin: 10px;
  text-align: center;
  vertical-align: middle;
  border-radius: 30px;

  align-items: center;
  padding-bottom: 1%;
  padding-top: 1%;
  z-index: 2;
}

.flex-container2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-container2 > div {
  background-color: #ffffff;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  width: 500px;
  margin: 10px;
  text-align: center;
  vertical-align: middle;
  border-radius: 30px;

  align-items: center;
  padding-bottom: 1%;
  padding-top: 1%;
}

.flex-base {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-base>a {
  background-color: #0570a1;
  color: white;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  width: auto;
  margin: 10px;
  text-align: center;
  vertical-align: middle;
  border-radius: 30px;

  align-items: center;
  padding-bottom: 1%;
  padding-top: 1%;
  padding-left: 1%;
  padding-right: 1%;
}

.flex-ds {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-ds>div {
  background-color: #ffffff;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  width: -webkit-fill-available;
  margin: 10px;
  text-align: center;
  vertical-align: middle;
  border-radius: 30px;
  align-items: center;
  padding-bottom: 1%;
  padding-top: 1%;
  padding-left: 1%;
  padding-right: 1%;
}

.tr-black td {
  color: rgb(255, 255, 255);
  background-color: #313a46;
  text-align: center;
}

.td-action-white a {
  text-decoration: none;
  color: #313a46;
}

.td-action-white a:hover {
  transform: scale(1.1);
}

td,
th {
  border: 1px solid #4d4d4d;
  text-align: left;
  padding: 8px;
  text-align: center;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#hover {
  position: relative;
  top: 0;
  transition: top ease 0.5s;
}

#hover:hover {
  top: -10px;
}


/*NAV*/
* {
  box-sizing: border-box;
}

.nav {
  height: 50px;
  width: 100%;
  background-color: #FBAB7E;
  background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);  
  position: fixed;
  z-index: 3;
}

.nav > .nav-header {
  display: inline;
}

.nav > .nav-header > .nav-title {
  font-size: 22px;
  color: #fff;
  padding: 10px 10px 10px 10px;
  float: left;
}

.nav > .nav-btn {
  display: none;
}

.nav > .nav-links {
  display: inline;
  float: right;
  font-size: 18px;
}

.nav > .nav-links > a {
  display: inline-block;
  padding: 13px 10px 13px 10px;
  text-decoration: none;
  color: #efefef;
}

.nav > .nav-links > a.hover:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.nav > #nav-check {
  display: none;
}

@media (max-width:720px) {
  .nav > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 0px;
  }
  .nav > .nav-btn > label {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 13px;
  }
  .nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
    background-color: rgba(0, 0, 0, 0.3);
    
  }
  .nav > .nav-btn > label > span {
    display: block;
    width: 25px;
    height: 10px;
    border-top: 2px solid #eee;
    z-index: 3;
  }
  .nav > .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    background-color: #333;
    height: 0px;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 50px;
    left: 0px;
    z-index: 3;
  }
  .nav > .nav-links > a {
    display: block;
    width: 100%;
    z-index: 3;
  }
  .nav > #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
    
  }
  .nav > #nav-check:checked ~ .nav-links {
    height: calc(100vh - 50px);
    overflow-y: auto;
    z-index: 3;
  }
}

.flex-retour {
  display: flex;
  justify-content: center;
  align-items: center;
}



.flex-retour>a {
  text-decoration: none;
  background-color: #a10505;
  color: #ffffff;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  width: auto;
  margin: 10px;
  text-align: center;
  vertical-align: middle;
  border-radius: 30px;
  font-family: Arial, Helvetica, sans-serif;
  align-items: center;
  padding-bottom: 1%;
  padding-top: 1%;
  padding-left: 1%;
  padding-right: 1%;
}