* {
    color: #20a1b2;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
    padding: 0;
}

/* Page login */

#home {
    background-image: url("../img/nature2.webp");
    background-size: cover;
    height: 100vh;
}

.home-content {
    background-color: #fff3;
    width: 60%;
    padding: 2em;
    margin: auto;
    position: absolute;
    top: 30vh;
    left: 20%;
    box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.7), -1px 2px 10px rgba(255, 255, 255, 0.3) inset;
}

#inscription {
    display: none;
}

#inscription, #connexion {
    width: 80%;
    margin: auto;
}

#connexion h2, #inscription h2 {
    text-shadow: 1px 1px 1px #20a1b2;
    margin: 1em 0;
    color: white;
}

#connexion .action-btn, #inscription .action-btn {
    width: 60%;
    margin-top: 1.2em;
}

#connexion .form-line:last-child, #inscription .form-line:last-child {
    margin-right: -150px;
    margin-bottom: -20px;
}

.text-center {
    text-align: center;
}

.links p a {
    color: white;
}

/* Page membre */

.membre {
    background-image: url("../img/nature2.webp");
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

.bg h1 {
    color: white;
}

.bg h2 {
    color: #20a1b2;
}

hr {
    color: white;
    border: 1px solid white;
    margin: 10px 0 0;
}

.bg {
    background-color: #3b3b3b;
    padding: 2em 0 1.5em;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.group {
    padding: 1.5em 0 0;
    width: 45%;
}

.group:first-child {
    border-right: 1px solid white;
    padding-right: 3em;
}

.text-right {
    text-align: right;
}

.tasks, .tasks-form {
    margin: 1em 0 0;
    width: 100%;
}

.tasks, th, td {
    border: 1px solid white;
    border-collapse: collapse;
    padding: 5px;
    color: white;
}

.tasks th {
    background-color: white;
    text-align: left;
    color: darkslategray;
}

/* Partie formulaire */

label {
    color: white;
}

input {
    margin-bottom: 1em;
    width: 100%;
    height: 2em;
    border: none;
    border-radius: 5px;
    padding: 5px;
}

button[type="submit"] {
    cursor: pointer;
    background-color: #20a1b2;
    border: none;
    border-radius: 50px 0 0 50px;
    padding-bottom: 8px;
    font-size: 1em;
    width: 100%;
}

.form-line {
    width: 100%;
}

.form-line label {
    padding-right: 10px;
}

.form-line:first-child {
    width: calc(100% - 10px);
}

.form-line:last-child {
    width: 50%;
    margin: auto;
    margin-top: 20px;
    margin-right: -2.6em;
    display: flex;
}

.mod {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-weight: 400;
    margin-left: 1.8em;
    color: white;
}

.mod::after {
    content:"\2794";
    border-radius: 50px;
    color: white;
    font-size: 1.5em;
    background-color: #20a1b2;
    padding: 14px 18px 16px 17px;
    position: relative;
    z-index: 0;
    top: 3px;
    left: 60px;
}

/* Partie calendrier */

.calendar {
    padding: 2em 0;
    background-color: #fff5;
}

.nav-arrow {
    width: 60%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-top: -25px;
    margin-bottom: 20px;
}

.left-arrow {
    display: inline-block;
    border-top : 10px solid transparent;
    border-right : 20px solid #20a1b2;
    border-bottom : 10px solid transparent;
}

.right-arrow {
    display: inline-block;
    border-top : 10px solid transparent;
    border-left : 20px solid #20a1b2;
    border-bottom : 10px solid transparent;
}

.table-calendrier, td {
    border: 1px solid lightgray;
    border-collapse: collapse;
}

.table-calendrier, .membre-header {
    width: 60%;
    margin: auto;
}

.table-calendrier tr td {
    width: 100px;
    height: 70px;
    background-color: white;
    padding: 0;
}

.table-calendrier tr td a {
    display: block;
    text-decoration: none;
    width: calc(100% - 20px);
    height: inherit;
    padding: 10px;
}

.table-calendrier tr td:hover {
    box-shadow: inset 2px 2px 5px #b4b4b4, inset -2px -2px 5px #b4b4b4;
    cursor: pointer;
}

.current {
    font-weight: bold;
    font-size: 2em;
}

.current-day {
    font-weight: normal;
}

.out {
    color: lightgray;
    font-size: 1.5em;
}

.out-day {
    color: darkgray;
}

.hours {
    display: inline-block;
    color: #20a1b2;
    padding: 10px;
    font-weight: 200;
}

/* Tiny Editor */

#tiny {
    height: 180px;
    overflow: hidden;
}