@font-face {
    font-family: 'Aire Exterior';
    src: url('AireExterior.ttf') format('truetype');
  }


body { 
    color: black;
    background-color: white;
    font-family: Roboto, Arial;
    line-height: 2rem;
}

::-moz-selection { /* Code for Firefox */
    color: white;
    background: #E32D3D;
  }
  
  ::selection {
    color: white;
    background: #E32D3D;
  }

a { 
    color: #E32D3D; 
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #8C1C31; /*831a1f / ff2850*/
    text-decoration: none;
}

a.btn, .btn {
    border: 1px solid #e32d3d;
    border-radius: 0;
    padding: 1rem 2.5rem;
    background-color: #e32d3d;
    color: #ffffff;
    text-transform: uppercase;
    font-family: 'Aire Exterior';
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

a.btn:hover, .btn:hover {
    background-color: none;
    color: #e32d3d;
    border-color: #e32d3d;
}

a.btn.white {
    background-color: transparent;
    color: #e32d3d;
}

a.btn.white:hover {
    background-color: #e32d3d;
    color: #ffffff;
}

h2 {
    font-family: 'Aire Exterior';
    font-size: 3rem;
    text-transform: uppercase;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

h3 {
    font-family: 'Aire Exterior';
    text-transform: uppercase;
}

/* MENU */
nav.navbar {
    background-color: black;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand img {
    width: 160px;
}

li.nav-item {
    margin-left: 2rem;
}

a.nav-link {
    color: white;
    font-family: 'Aire Exterior', 'Arial';
    text-transform: uppercase;
    font-size: 1.75rem;
}

a.nav-link:hover {
    color: #E32D3D; /* #ff2850 */
}

.page-header {
    height: 650px;
    background: rgba(0,0,0, 0.75);
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: darken;
    display: flex;
    align-items: center;
}

.page-header small {
    color: #E32D3D;
    font-size: 1.5rem;
}

h1.h1-title {
    font-family: 'Aire Exterior';
    text-transform: uppercase;
    color: white;
    font-size: 7rem;
    line-height: 0.85;
}

h1.h1-title small {
    color: #e32d3d;
    font-size: 3.8rem;
}

#edit-submit-galeries {
    border: 1px solid #e32d3d;
    border-radius: 0;
    padding: 0.5rem 2.5rem;
    background-color: #e32d3d;
    color: #ffffff;
    text-transform: uppercase;
    font-family: 'Aire Exterior';
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}


.page-content {
    margin-top: -150px;
    background-color: white;
}

section.galeries {
    background-color: #E32D3D;
    color: white;
}

.views-exposed-form .form-item {
    width: 30%;
    display: inline-block;
    margin-left: 3rem;
}

.inner-card {
    height: auto;
    display: block;
    margin-right: 0;
    overflow: hidden;
}

.card-image-container {
    overflow: hidden;
    height: 360px;
}

.card-image-container picture {
    display: block;
}

.card-image-container picture img {
    width: 100%;
    height: auto;
}


.inner-card .card-info .title h3 {
    color: #fff;
    font-size: 4rem;
    line-height: 4rem;
    text-transform: uppercase;
}

.boxcard {
    /*background-color: black;*/
    height: 360px;
}

.boxcard.galerie, .boxcard.all-galeries {
    height: 290px;
}

section.galeries .boxcard.galerie, .boxcard.all-galeries {
    height: 250px;
}


.boxcard.boxcard.all-galeries .inner-card {
    background-color: #e32d3d;
    border: 1px solid #ffffff;
}

.boxcard a {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.75);
    background-blend-mode: darken;
}

.boxcard a:hover {
    background-color: rgba(0, 0, 0, 0.25);
    color: #E32D3D;
}

.boxcard .inner-card {
    display: flex;
    align-items: self-end;
    height: 100%;
    position: relative;
}

.boxcard .inner-card img {
    width: 100%;
    height: 100%;
    filter: brightness(0.25);
}

.boxcard a:hover .inner-card img {
    filter: brightness(0.75);
}


.boxcard.all-news .inner-card {
    background-color: #FFFFFF;
    border: 1px solid #e32d3d;
}

.boxcard.all-news .inner-card h3 {
    color:#e32d3d;
}

.boxcard.all-galeries .inner-card h3 {
    color:#FFFFFF;
    font-size: 3rem;
    line-height: 3rem;
}

.boxcard.all-news .inner-card:hover {
    background-color: #e32d3d;
    color: #ffffff;
}

.boxcard.all-news .inner-card:hover h3{
    color: #ffffff;
}

.boxcard.all-galeries .inner-card:hover {
    background-color: #ffffff;
    color: #e32d3d;
}

.boxcard.all-galeries .inner-card:hover h3{
    color: #e32d3d;
}

.boxcard .inner-card .card-info {
    font-family: 'Aire Exterior', 'Arial';
    position: absolute;
    padding-bottom: 30px;
    padding-left: 30px;
    padding-right: 30px;
    max-width: 100%;
}

.boxcard.news .card-info .title h3 {
    font-size: 2.25rem;
    line-height: 2rem;
}

.boxcard.galerie .card-info .title h3 {
    font-size: 1.5rem;
    line-height: 1.25rem;
}

.boxcard.news .inner-card .card-info p.date, .boxcard.galerie .inner-card .card-info p.date{
    margin: 0;
    font-weight: normal;
    font-family: arial;
    line-height: 1.5;
}

article.membre {
    margin-top: 1rem;
}

article.membre h3 {
    margin-bottom: 0;
}

article.membre p {
    border-bottom: 1px solid #000;
    color: #666;
}

table.entrainements {
    width: 100%;
}

th {
    border-bottom: 0px;
    text-align: center;
    padding-right: 0px;
}

table.entrainements tr {
    height: 3.5em;
    border-bottom: 1px solid #000;
}

table.entrainements td {
    height: 100%;
    text-align: center;
    border: 1px solid #000;
    width: 12.5%;
    color :  #000;
}

table.entrainements td span {
    width: 100%;
    vertical-align: middle;
    display: inline-block;
    line-height: normal;
}

table.entrainements .salle-2, .salle-2 {
    color: #ffffff;
    background-color: #E32D3D;
}

table.entrainements .salle-1, .salle-1 {
    color: #ffffff;
    background-color: rgba(0,0,0,0.75)
}

figure.youtube-container {
    text-align: center;
}

section.cta {
    background-color: rgba(0, 0, 0, 0.5);
    height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 160px;
    background-blend-mode: darken;
}

section.cta a.btn {
    font-size: 2rem;
    margin-left: 1rem;
}

.label a {
    color: #FFF;
    text-decoration: none;
    font-weight: normal;
}

.form-item input {
    border: none;
    border-bottom: 1px solid;
    font-size: 1.5rem;
    width: 100%;
    margin-top: 0.75rem;
}

.form-item textarea {
    width: 100%;
    font-size: 1.75rem;
    margin-top: 0.75rem;
    border: none;
    border-bottom: 1px solid;
}

form label {
    font-family: 'Aire Exterior', 'Arial';
    font-size: 1.75rem;
    margin-top: 2rem;
    text-transform: uppercase;
}

form .btn {
    width: auto;
    font-size: 1.75rem;
    margin: auto;
    margin-top: 2rem;
}

/* FOOTER */
footer {
    background: black;
}

footer ul {
    display: flex;
}

footer li {
    list-style: none;
    margin-left: 1rem;
}

footer li img {
    height: 40px;
}

footer svg {
    color: #ffffff;
}

footer svg:hover {
    color: #E32D3D;
}

#copyright {
    background-color: #151515;
    font-size: small;
    color: #888888;
}


@media only screen and (min-width: 40.063em) { }


@media screen and (max-width: 63.9375em){
    .page-header {
        height: 450px;
    }

    h1.h1-title {
        font-size: 3.2rem;
    }

    h1.h1-title small {
        font-size: 2.5rem;
    }

    li.nav-item {
        margin-left: 1rem;
        line-height: 2.25rem;
        color: #666;
        border-bottom: 1px solid;
    }
 } 

 @media only screen and (max-width: 40em) {
    .navbar-brand img {
        width: 90px;
    }

    .page-header {
        height: 200px;
    }

    .accueil .page-header {
        height: 250px;   
    }

    h2 {
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .page-content {
        margin-top: 0;
    }

    .views-exposed-form .form-item {
        width: 90%;
        margin-left: 5%;
    }

    #edit-submit-galeries {
        margin-bottom: 1rem;
        margin-top: 1rem;
        margin-left: 33%;
        width: 33%;
    }

    section.cta {
        padding-top: 65px;
    }

    table.entrainements {
        font-size: 0.75rem;
    }

    .boxcard {
        height: 230px;
        margin-bottom: 1rem;
    }

    .boxcard.news {
        height: 270px;
    }

    .boxcard.galerie, .boxcard.all-galeries {
        height: 190px;
    }
}