.btn {
    padding: 8px 12px;
    border-radius: 5px;
    margin: 2px 5px;
    cursor: pointer;
    width: fit-content;
    width: -moz-fit-content;
    outline: none;
    background-color: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition-duration: .3s;
    display: inline-block;
    text-decoration: none;
}

.btn-outline:hover,
.btn-outline:focus {
    box-shadow: 0px 0px 0px 1.5px black inset
}

.btn-outline-white:hover {
    box-shadow: 0px 0px 0px 1px white inset;
}

i.btn {
    font-family: "Font Awesome 5 Free";
}

.btn-outline {
    border: 2px solid black;
    color: black;
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
}

.btn-outline-red {
    border: 2px solid #c40000;
    color: #c40000;
}

.btn-outline-red:hover,
.btn-outline-red:focus {
    box-shadow: 0px 0px 0px 1.5px #c40000 inset
}

.btn-outline-blue {
    border: 2px solid #007bff;
    color: #007bff;
}

.btn-outline-blue:hover,
.btn-outline-blue:focus {
    box-shadow: 0px 0px 0px 1.5px #007bff inset
}

.btn:disabled {
    border: 2px solid #868686!important;
    color: #868686!important;
    cursor: default;
}

.border-black {
    border: 2px solid black;
}

.border-white {
    border: 2px solid white;
}

.justify-between {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.justify-around {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.justify-end {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.justify-start {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.text-white {
    color: white;
}

.text-grey {
    color: grey;
}

.text-darkgrey {
    color: darkgrey;
}

.text-red {
    color: red;
}

.card-outline {
    border: 2px solid black;
    border-radius: 5px;
    padding: 20px;
}

.pointer-events-none {
    pointer-events: none;
}

.input {
    width: 100%;
    border: 0px;
    font-size: 18px;
    outline: none;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.07);
    border-radius: 5px;
    padding: 8px 10px;
    transition-duration: .2s;
    border-bottom-width: 0px;
    box-shadow: 0 0px 0 black inset;
}

.input-wysiwig {
    padding: 0px;
}

.input-wysiwig>.input-wysiwig-write,
.input-wysiwig>.input-wysiwig-edit {
    padding: 8px 10px;
}

.input:focus {
    box-shadow: 0 -2px 0 black inset;
}

.input-white {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    box-shadow: 0 0px 0 white, 0 0px 0 white inset;
}

.input-white:focus {
    box-shadow: 0 1px 0 white, 0 -1px 0 white inset;
}

input[type=radio]:checked+label.option {
    color: black;
    background-color: white;
}

.float-right {
    float: right;
}

.background-white {
    background-color: white!important;
}

.margin-y {
    margin-top: 40px;
    height: 0.1px;
}

.margin-left {
    margin-left: 30px!important;
}

.notification {
    width: 100%;
    margin-bottom: 10px;
    animation: notification-start;
    animation-duration: 1s;
    pointer-events: auto;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    z-index: 310;
}

.notif-danger {
    background-color: #ff5050;
    border: 2px solid #c40000;
    color: white;
}

.notif-danger .notif-background {
    background-image: linear-gradient(to left, #ff50505c, #ff5050), url(../images/danger.gif);
}

.notif-success {
    background-color: #38a538;
    border: 2px solid green;
    color: white;
}

.notif-success .notif-background {
    background-image: linear-gradient(to left, #38a53854, #38a538), url(../images/success.gif);
    background-position: 50% 40%;
}

.notif-info {
    background-color: #17a2b8;
    border: 2px solid #157180;
    color: white;
}

.notif-warning {
    background-color: yellow;
}

.notif-message {
    margin: 10px;
    margin-right: 30px;
    box-sizing: border-box;
    position: relative;
}

@keyframes notification-start {
    from {
        max-height: 0px;
        border-width: 0px;
    }
    to {
        max-height: 75px;
        border-width: 2px;
    }
}

@keyframes notification-end {
    from {
        max-height: 75px;
        border-width: 2px;
    }
    to {
        max-height: 0px;
        border-width: 0px;
    }
}

.close-notif {
    position: absolute;
    font-size: 30px;
    right: 10px;
    cursor: pointer;
    z-index: 1;
}

.notif-background {
    width: 30%;
    height: 100%;
    right: 0;
    position: absolute;
    top: 0;
    pointer-events: none;
}

.close-notif-animation {
    animation: notification-end;
    animation-duration: 1s;
}

.flex-columns {
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 1000px) {
    .flex-columns {
        flex-direction: column;
    }
    .flex-columns div {
        padding: 0px!important;
    }
}


/*.flex-columns div:nth-child(1) {padding-right: 10px;}
.flex-columns div:nth-child(2) {padding-left: 10px;}*/

.flex-columns div {
    flex: 1;
}

.profil-pic-200 {
    width: 200px;
    height: 200px;
    border-radius: 1000px;
    background-position: center;
    background-size: cover;
    margin: 0px auto;
}

.profil-pic-150 {
    width: 150px;
    height: 150px;
    border-radius: 1000px;
    background-position: center;
    background-size: cover;
    margin: 0px auto;
}

.profil-pic-100 {
    width: 100px;
    height: 100px;
    border-radius: 1000px;
    background-position: center;
    background-size: cover;
    margin: 0px auto;
}

.responsables-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card-profil {
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    width: 50%;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}
@media only screen and (max-width: 600px) {
    .card-profil {
        width: 100%;
    }
}

.card-profil-totem {
    font-family: 'Permanent Marker';
    text-shadow: -2px 0 3px white, 0 2px 3px white, 2px 0 3px white, 0 -2px 3px white;
    font-size: 30px;
}

.card-profil-nom {
    font-style: italic;
    color: grey;
}

.card-profil-citation {
    margin: 15px;
    font-style: italic;
    color: #6583a5;
}

.badges {
    font-size: 12px;
    padding: 10px 0px;
}

.table {
    width: 100%;
}

.table tr {
    box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.16) inset;
}

.table tr td,
.table tr th {
    padding: 10px 15px;
}

.open-popup,
.cursor-pointer {
    cursor: pointer;
}

.popup {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.16);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition-duration: 0.5s;
    z-index: 5;
}

.popup.popup-show {
    opacity: 0;
    pointer-events: auto;
}

.popup-center {
    width: 100%;
    max-width: 500px;
    max-height: 80%;
    background-color: white;
    position: absolute;
    border-radius: 5px;
    padding: 20px;
    box-sizing: border-box;
    pointer-events: none;
    transform: scale(.9);
    transition-duration: .3s;
    overflow: auto;
}

.popup.popup-show .popup-center {
    pointer-events: auto;
    transform: scale(1);
	box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.16), 0px 3px 6px rgba(0, 0, 0, 0.23);
}

.popup.popup-large .popup-center {
    max-width: 80%;
}

@media only screen and (max-width: 1000px) {
    .popup.popup-large .popup-center {
        max-width: 95%;
    }
}

.checkbox {
    width: 35px;
    height: 20px;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.checkbox:checked:before,
input[type=checkbox]:checked+.checkbox:before {
    background-color: #28a745;
}

.checkbox:before {
    content: '';
    width: 35px;
    height: 20px;
    background-color: #6c757d;
    border-radius: 10px;
    display: block;
    position: absolute;
    transition-duration: .2s;
}

.checkbox:checked:after,
input[type=checkbox]:checked+.checkbox:after {
    margin-left: 16px;
}

.checkbox:after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    position: absolute;
    background-color: #ffffff;
    border-radius: 9px;
    margin-top: 1px;
    margin-left: 1px;
    transition-duration: .2s;
}

.badge {
    padding: 2px 4px;
    border-width: 2px;
    border-style: solid;
    font-size: 13px;
    border-radius: 5px;
    margin: 5px;
    display: inline-block;
    text-shadow: none;
}

.overflow {
    overflow: auto;
}

.overflow-none {
    overflow: hidden;
}

.big-text {
    font-size: 5vh;
}

.progress {
    width: 100%;
    height: 15px;
    background-color: lightgrey;
    border-radius: 5px;
    overflow: hidden;
}

.progress>div {
    display: block;
    background-color: green;
    width: 0%;
    height: 100%;
    border-radius: 5px;
}

.progress.animated>div {
    transition-duration: .2s;
}

.album {
    width: 31%;
    height: 250px;
    background-color: white;
    margin: 1%;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.251);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.album-nom {
    font-family: 'Circular';
    flex: 2;
    display: flex;
    flex-direction: column-reverse;
    font-size: 30px;
    padding: 0 10px;
    cursor: pointer;
    text-shadow: 0 0px 6px black;
    text-decoration: none;
    color: white;
}

.album-no-vignette {
    background-image: url(../images/albums/images-solid.svg)!important;
    background-size: 200px;
    background-position: 145% 30%;
    background-repeat: no-repeat;
    text-shadow: 0 0px 0px black;
    color: black;
}

.album-details {
    flex: 1;
    background-color: #efefef;
    display: flex;
    flex-direction: row;
    padding: 0 10px;
}

.album-description {
    flex: 7;
    align-items: center;
    display: flex;
    padding: 10px 0px;
}

.album-edit {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}