body {
	background-color: #fafafa;
}

.container {
    width: 90%;
    max-width: unset;
}

nav.nav-extended .nav-content {
    height: fit-content;
}

nav, .cus-dropdown-menu {
    background-color: #FFFFFF;
    margin-bottom: 10px;
}

nav ul a, .cus-dropdown-menu li>a {
    color: #b41221;
    -webkit-transition: background-color 0s;
    transition: background-color 0s;
}

.dropdown-content li:hover, .dropdown-content li.active {
     background-color: unset;
}

nav ul a:hover {
     background-color: unset;
}

nav ul a:hover, .cus-dropdown-menu li>a:hover {
    background-color: rgba(0,0,0,0.05);
    color: #555555;
}

.cus-dropdown-menu li.divider {
    background-color: #b41221;
    width: 90%;
    margin: 10px 5%;
    text-align: center;
}

.cus-dropdown-menu {
    width: inherit !important;
}

.submit-custom {
	text-decoration: none;
    background-color: #26a69a;
    text-align: center;
    letter-spacing: .5px;
    float: right;
}

.submit-custom input {
    color: #fff;
    padding: 1em;

}

.custom-navbarextend ul li {
	line-height: 50px;
}

.underline a {
	text-decoration: underline !important;
}

.custom-card {
    padding-left: 5%;
    padding-right: 5%;
}

.custom-card-description {
    padding-top: 5%;
}

.nav-wrapper > .row {
    margin-bottom: 0px;
}
.cus-title {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cus-title > span {
    font-size: 2.3em;
    margin-top: 0;
}

.cus-sub-title {
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.cus-content-card {
    height: 12%;
}

.cus-card-title {
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

a.cus-a-icon > i {
    color: grey;
    vertical-align: middle;
}

.cus-row-date {
    font-weight: 500;
    font-size: 1.3em;
}



/* - - - CODE ROMAIN - - - */
.modal {
    top: 0;
    left: 22.5%;
    right: unset;
    bottom: unset;
}
.modal:target {
    display: block;
    z-index: 99;
}


.true-card {
    min-width: 250px;
    margin: 20px 0;
    background-color: unset;
    box-shadow: unset;
    transition: 0.3s ease-in-out;
}

.true-card .card-title {
    height: max-content;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    background-color: #fbd004;
    border: 1px solid #BBBBBB;
}
.true-card .card-title.ending {
    background-color: #b41221;
    color: #ffffff;
}
.true-card .card-title.ending .black-text {
    color: #ffffff !important;
}

.true-card .card-content {
    width: calc(100% - 10px);
    margin: 5px;
    margin-top: 0;
    border-radius: 0;
    border: solid 1px #bbbbbb;
    border-top: none;
    overflow: hidden;
    transition: 0.5s ease-in-out;
    height: auto;
    padding: 10px;
}

.true-card.cus-true-card .card-content {
    border: unset;
    background-color: rgba(0,0,0,0.05);
    padding: 5px 10px;
}

.cus-true-card .row {
    margin: 10px 0;
}

.true-card.cus-true-card .card-content ul {
    margin: 0;
}

.true-card .card-title h2 {
    font-size: 2vh;
    font-weight: 400;
    margin: 10px 0;
    margin-left: 10px;
    text-transform: uppercase;
    width: 100%;
    overflow: visible;
    text-overflow: ellipsis;
}

.true-card .cus-icon-card {
    height: 100%;
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.true-card .card-content span {
    display: flex;
    justify-content: center;
}

.card-content .row:last-child {
    margin-bottom: 0;
}

.card ul:last-child {
    margin-bottom: 0px;
}

.cus-journal-icons {
    width: 19%;
    min-width: 80px;
    display: inline-flex;
    text-align: end;
}

.cus-journal-line-text {
    width: 80%;
    display: inline-block;
}

.cus-journal-icons > a {
    margin: 0;
    padding: 0;
    width: 30%;
}

.row.cus-date-cours {
    display: flex;
    justify-content: space-between;
}

.cus-date-cours > div {
    width: 40%;
}

.card select {
    display: inline-block;
    height: auto;
}

.cus-content-card a * {
    font-size: 1.5vh;
}

.card-content hr {
    border: none;
    border-bottom: 1px solid #BBBBBB;
}

.nav-wrapper img {
    float: right;
    width: 90%;
    max-width: 300px;
}

.collection-item {
    display: flex;
    justify-content: space-between;
}

.collection-item > a {
    width: 90%;
}



/* - - - MEDIA QUERIES - - - */

 


.cus-column-wrap {
/*    column-gap: 2em;*/
/*    column-count: 1;*/
/*    display: flex; */
    flex-direction: row;
    flex-wrap: wrap;
}

.cus-column-wrap.home {
    display: flex; 
}

.cus-masonry-column {
   display: inline-block;
    width: 100%;
    padding: 10px;
}

.row .col.s3 {
    width: 100%;
}

.row .col.s6 {
    width: 100%;
}

.row .col.s8, .row .col.s4 {
    width: 100%;
}

.cus-img-wrap {
    text-align: center;
}

.cus-img-wrap img {
    float: none;
    margin: 10px auto;
}

@media only screen and (min-width: 750px) {
    .cus-column-wrap {
/*
        column-gap: 2em;
        column-count: 2;
*/
    }
    .cus-masonry-column {
        width: calc(50% - 4px);
    }
}

@media only screen and (min-width: 1150px) {
    .cus-column-wrap {
/*
        column-gap: 2em;
        column-count: 3;
*/
    }
    .cus-masonry-column {
        width: calc(33% - 4px);
    }
    .row .col.s8 {
        width: 66.67%;
    }
    .row .col.s6 {
        width: 50%;
    }
    .row .col.s4 {
        width: 33.33%;
    }
    .row .col.s3 {
        width: 25%;
    }
    .cus-img-wrap {
        text-align: unset;
    }
}

@media only screen and (min-width: 1400px) {
    .cus-column-wrap {
/*
        column-gap: 2em;
        column-count: 4;
*/
    }
    .cus-masonry-column {
        width: calc(25% - 4px);
    }
}

@media only screen and (min-width: 1800px) {
    .cus-column-wrap {
/*
        column-gap: 2em;
        column-count: 4;
*/
    }
    .cus-masonry-column {
        width: calc(20% - 4px);
    }
}

.checkbox[type="checkbox"] {
    position: inherit;
    opacity: 1;
    pointer-events: inherit;
}

.card-today {
    border: 2px solid tomato;
}
