* {
    box-sizing: border-box;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

body {
    padding: 15px;
    color: #5a5a5a;
    width: 100%;
}

input{
    margin-bottom: 1rem;
}

select{
    margin-bottom: 1rem;
}

textarea{
    margin-bottom: 1rem;

}
.form-switch {
    padding-left: 1rem;
}

.content_base{
    margin-left: auto;
    margin-right: auto;
}

ul {
    list-style-type: disc;
}

html {
    font-family: Barlow, serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    -webkit-text-size-adjust: 100%;
    background: #fff;
    color: #444;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.navbar-nav>li.active>a {
    color: #111;
}
.navbar-nav>li>a {
    color: #444;
    transition: .1s ease-in-out;
    transition-property: color,background-color,border-color,box-shadow;
    position: relative;
    z-index: 1;
    font-weight: 400;
    letter-spacing: .35px;
}
.navbar .brand, .navbar .nav>li>a, .navbar-search, .navbar-item, .navbar-nav>li>a, .navbar-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 0.25em;
    box-sizing: border-box;
    min-height: 80px;
    padding: 0 15px;
    font-size: 18px;
    font-family: Barlow Semi Condensed, serif;
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav>li.active>a::before {
    right: 15px;
    background-color: #01a9ac;
}
.navbar-nav>li>a::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    bottom: 25px;
    height: 1px;
    background-color: transparent;
    transition: .1s ease-in-out;
    letter-spacing: .35px;
    transition-property: background-color,border-color,box-shadow,height,left,right,opacity;
    left: 15px;
    right: calc(102% - 15px);
}

.navbar .nav>li>.dropdown-menu, .navbar-dropdown {
    display: none;
    position: absolute;
    z-index: 1020;
    box-sizing: border-box;
    width: 489px;
    padding: 25px;
    background: #0870a0;
    color: rgba(255, 255, 255, .7);
    box-shadow: 2px 2px 4px rgb(0 0 0 / 15%), 4px 10px 15px rgb(0 0 0 / 10%);
}
.navbar-dropdown-nav {
    margin-left: 0;
    margin-right: 0;
    font-size: 14px;
    font-family: Barlow Semi Condensed, serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .7px;
}
.navbar-dropdown-nav>li>a {
    color: rgba(255,255,255,.9);
    padding: 8px 0;
    font-weight: bold;
}
.nav>li>a {
    padding: 8px 0;
}
.nav li>a {
    display: flex;
    align-items: center;
    column-gap: 0.25em;
    text-decoration: none;
}
.dropdown-menu{
    background-color: #0870a0;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 31px;
    font-weight: bolder;
    font-family: Barlow Semi Condensed, serif;
    letter-spacing: .9px;
}

.dropdown-menu>li>a{
    text-decoration: none;
    color: #cccccc;
}
.dropdown-menu>li>a:hover{
    text-decoration: none;
    color: #050505;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 15%), 4px 10px 15px rgb(0 0 0 / 10%);
}

@font-face {font-family: 'Barlow'; font-style: italic; font-weight: 400; src: url(../fonts/font-4d5ea0a9.woff2) format('woff2'), url(../fonts/font-69b1fb2d.woff) format('woff'); }
@font-face {font-family: 'Barlow'; font-style: normal; font-weight: 400; src: url(../fonts/font-c6055aae.woff2) format('woff2'), url(../fonts/font-af864012.woff) format('woff'); }
@font-face {font-family: 'Barlow'; font-style: normal; font-weight: 500; src: url(../fonts/font-7d21879f.woff2) format('woff2'), url(../fonts/font-64bbff90.woff) format('woff'); }
@font-face {font-family: 'Barlow'; font-style: normal; font-weight: 600; src: url(../fonts/font-e987793d.woff2) format('woff2'), url(../fonts/font-a67ed919.woff) format('woff'); }
@font-face {font-family: 'Barlow'; font-style: normal; font-weight: 700; src: url(../fonts/font-b4984c56.woff2) format('woff2'), url(../fonts/font-d150b0e3.woff) format('woff'); }
@font-face {font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 400; src: url(../fonts/font-1498a1bb.woff2) format('woff2'), url(../fonts/font-db5f2503.woff) format('woff'); }
@font-face {font-family: 'Barlow Semi Condensed'; font-style: normal; font-weight: 500; src: url(../fonts/font-b54ef32c.woff2) format('woff2'), url(../fonts/font-470f8eb4.woff) format('woff'); }

/* catalogue film mosaique */
.film-item{
    background-color: #06587e;
    min-height: 35rem;
}

.desc_film{
    background-color: #06587e;
    /*display: table-cell;*/
    vertical-align: middle;
    width: 100%;
    height: 20px;
    padding: 5%;
}

a.chemin_film {
    text-decoration: none;
    color: white;
}

a.film-liste {
    text-decoration: none;
    color: black;
}
.list-group-item{
    padding-bottom: 0;
}

.container-affiche{
    position: relative;
}
.container-affiche-liste{
    margin-bottom: 0;
}
#thematique .form-check {
    min-height: 0;
    margin-bottom: 0;
}

/* page individuelle film*/

.recap-solo{
    background-color: #06587e;
    color: white;
    opacity: 90%;
}

.recap-solo h5{
    margin-top: 5%;
}

.titre-bleu {
    color: #06587e;
    font-weight: bolder;
}

.btnmoins:hover, .btn_moins_filtre:hover, .btnplus:hover, .btn_plus_filtre:hover {
    cursor: pointer;
}
.btnmoins, .btnplus {
    color: #1F698B;
}
.btnmoins:hover, .btnplus:hover {
    color: #4d8608;
}

h5{
    margin-bottom: 0;
}
h4{
    margin-bottom: 0;
}

.badge{
    background-color: #dc3545;
}

:root {
    --pink-light: #ff7eb4;
    --pink: #ff2581;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* epaisseur */

.icon {
    fill: transparent;
    stroke: var(--pink);
    stroke-width: 42;
    cursor: pointer;
    position: absolute;
    right:0;
    top: 0;
}

/*modifier la taille du coeur*/

svg {
    overflow: visible;
    width: 20%;
}

path {
    stroke-dashoffset: 0;
    stroke-dasharray: 1550;
    transform-origin: center;
}

.heart-background {
    position: absolute;
    left: 0;
    right: 0;
    z-index: -1;
    stroke: none;
}

.heart-main:hover path {
    animation: stroke-animation 2s ease-in-out forwards;
}

.heart-main:hover ~ .heart-background path {
    animation: fade-animation 2s ease-in-out forwards;
}


@keyframes stroke-animation {
    0% {
        stroke-dashoffset: 0;
    }
    30% {
        stroke-dashoffset: 1550;
    }
    60% {
        stroke-dashoffset: 3100;
        fill: transparent;
        transform: scale(1);
    }
    80% {
        fill: var(--pink);
        transform: scale(1.1);
    }
    90% {
        transform: scale(1);
    }
    100% {
        stroke-dashoffset: 3100;
        fill: var(--pink);
    }
}

/* For mobile phones: */
[class*="col-"] {
    width: 100%;
    float: left;
}

.modal-dialog{margin-top: 145px;}

@media screen and (max-width: 768px) {
    .display-mobile {display: none;}
    .pagination{
        margin-left: 1%;
        margin-top: 5%;
    }
    .toast-height{height: 200px;line-height: 18px}
    .main-margin-top{margin-top: 120px}
    .thematique-height{height: auto}
    .projetdiff-btn-modal{width: 86%}
    .font-mobile{font-size: smaller}
}

@media only screen and (min-width: 768px) {
    /* For tablets: */
    .col-s-1 {width: 8.33%;}
    .col-s-2 {width: 16.66%;}
    .col-s-3 {width: 25%;}
    .col-s-4 {width: 33.33%;}
    .col-s-5 {width: 41.66%;}
    .col-s-6 {width: 50%;}
    .col-s-7 {width: 58.33%;}
    .col-s-8 {width: 66.66%;}
    .col-s-9 {width: 75%;}
    .col-s-10 {width: 83.33%;}
    .col-s-11 {width: 91.66%;}
    .col-s-12 {width: 100%;}
    .min-s-height {min-height: 38rem;}
    .pagination{
        margin-left: 13%;
        margin-top: 5%;
    }
    .toast-height{height: 200px;line-height: 19px}
    .main-margin-top{margin-top: 90px}
    .thematique-height{height: 800px}
    .projetdiff-btn-modal{width: 92%}
    .modal-dialog{max-width: none}
    .font-mobile{font-size: medium}
    .navbar-nav>li>a{min-height: 56px;}
}
@media only screen and (min-width: 1200px) {
    /* For desktop: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
    .min-height {min-height: 43rem;}
    .pagination{
        margin-left: 13%;
        margin-top: 5%;
    }
    .toast-height{height: 150px}
    .main-margin-top{margin-top: 90px}
    .thematique-height{height: 780px}
    .projetdiff-btn-modal{width: 95%}
    .navbar-nav>li>a{min-height: 80px;}
}

.footer-h6{
    color: #01a9ac!important;
    font-size: 12px;
    line-height: 1.3;
    font-family: Barlow Semi Condensed;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.7px;
}
.footer-mentions>div>a{
    text-decoration: none;
    color: #fff;
}
.footer-mentions>div>a:hover{
    text-decoration: underline;
    color: #ccc;
}
.footer-heading-line>::before {
    right: 100%;
    margin-right: 20px;
}
.footer-heading-line>::after, .footer-heading-line>::before {
    content: "";
    position: absolute;
    top: calc(50% - (calc(0.6px + 0.03em)/ 2));
    width: 80px;
    border-bottom: calc(0.6px + 0.03em) solid #01a9ac;
}
.footer-heading-line {
    overflow: hidden;
}
.footer-heading-line>* {
    display: inline-block;
    position: relative;
}
.footer-text-small {
    font-size: 12px;
    line-height: 1.5;
}