@font-face {
    font-family: 'serif_medium_italicserifMdIt';
    src: url('/serimi-webfont.woff2') format('woff2'),
         url('/serimi-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Style the Image Used to Trigger the Modal */
/* The Modal (background) */
.modal {
   display: none; /* Hidden by default */
   position: fixed; /* Stay in place */
   z-index: 2; /* Sit on top */
   padding-top: 100px; /* Location of the box */
   left: 0;
   top: 0;
   width: 100%; /* Full width */
   height: 100%; /* Full height */
   overflow: auto; /* Enable scroll if needed */
   background-color: rgb(0,0,0); /* Fallback color */
   background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
   margin: auto;
   display: block;
   width: 100%;
   max-width: 800px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#modal-caption {
   margin: auto;
   display: block;
   width: 100%;
   max-width: 800px;
   text-align: center;
   color: white;
   padding: 10px 0;
   height: 150px;
   background-color: black;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #modal-caption {
   -webkit-animation-name: zoom;
   -webkit-animation-duration: 0.6s;
   animation-name: zoom;
   animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
   from {-webkit-transform:scale(0)}
   to {-webkit-transform:scale(1)}
}

@keyframes zoom {
   from {transform:scale(0)}
   to {transform:scale(1)}
}

#modal-caption {
  height: 40px;
}

/* The Close Button */
.close {
   position: absolute;
   top: 15px;
   right: 35px;
   color: #f1f1f1;
   font-size: 40px;
   font-weight: bold;
   transition: 0.3s;
}

.close:hover,
.close:focus {
   color: #bbb;
   text-decoration: none;
   cursor: pointer;
}

/*====================================================================*/

.logo-large, .logo-small {
  font-family: 'serif_medium_italicserifMdIt', sans-serif;
  font-style: normal;
  //background-color: #f0f0f0; //#303030;
  color: #f0f0f0; //#8d090b; //#ff2024; //#ff0f12; //#f00e12; //#C90c0f;
}
.logo-large, .logo-small {
  margin-left: 25px;
  line-height: 1;
}
.logo-large {
  font-size: 60pt;
  margin-bottom:0;
}
.bottom-gradient {
  background-image: url("/bottom-gradient.png");
  background-repeat: repeat-x;
  height: 200px;
}
.color1 {
  /* background-color: #DCffD4; */
  background-color: #304b8c; /*#3531cc;*/
  color: #e0e0f0;
}
.bfs-med-grey {
  /* background-color: #1423F0; */
  /*background-color: #737399;*/
  background-color: #808080;
  color: black;
}
.equipe-red-med {
  /* background-color: #AEE8E2; */
  background-color: #8d090b; /*#C90c0f; /*#3c5eb0;*/
  color: white;
}
.bfs-vlight-grey {
  /* background-color: #FF0000; */
  background-color: #f1f1f1;
  color: black;
}
.equipe-red {
  background-color: #C90c0f;
  color: white;
}
.equipe-red-light {
  background-color: #ff0f12;
  color: black;
}
.equipe-red-dark {
  background-color: #640608;
  color: white;
}
.bfs-dark-grey {
  /* background-color: #E8B6E5; */
  background-color: #303030;
  color: white;
}
body {
  background-color:#101010;
}
div.hnav {
  font-family: 'Hammersmith One', sans-serif;
  font-size: 12pt;
  font-weight: 500;
  margin: 0 auto 0 auto;
}
div.hnav-right, div.hnav-middle, div.hnav-left {
  text-align: center;
  border-color: white;
  border-style: solid;
  display: inline-block;
}
div.hnav-left {
  border-width: 0 0 0 1px;
}
div.hnav-middle {
  border-width: 0 0 0 1px;
}
div.hnav-right {
  border-width: 0 1px 0 1px;
}
div.hnav-right a, div.hnav-middle a, div.hnav-left a {
  box-shadow: border-box;
  text-align: center;
  margin: 0 10px 0 10px;
  text-decoration:none!important;
}
div.hnav-right a:hover, div.hnav-middle a:hover, div.hnav-left a:hover {
  background-color:#C90c0f;
  color:white;
}
div.hnav-right a {

}
div.hnav-middle a {

}
div.hnav-left a {

}
div.small-nav {
  padding: 2px 0 2px 25px;
}
div.small-nav div.menubar {
    width: 35px;
    height: 5px;
    background-color: white;
    margin: 6px 0;
}
div.section {
  margin-left: 4%;
  margin-right: 4%;
  padding-top: 1%;
}
div.section-heading, div.section-heading-descender {
  font-family: 'Hammersmith One', sans-serif;
  line-height: 1.2;
  height: 37px;
  padding-top: 2px;
  font-size: 24pt;
  font-weight: 500;
  padding-left: 2%;
}
div.section-heading-descender {
  height: 44px;
}
div.section-heading span.back-up, div.section-heading-descender span.back-up
{
  text-align: right;
  margin-right: 10px;
  float:right;
}
div.section-heading span.back-up
{
  margin-top: 0;
}
div.section-heading-descender span.back-up
{
  margin-top: 3px;
}
div.section-body {
  font-size: 14pt;
  line-height: 1.2;
  margin-left: 3%;
  padding: 1% 2% 1% 2%;
}
div.section-link {
  margin: 5px;
}
div.section-link a {
  display: block;
  margin: 0 auto 0 auto;
  width: 210px;
  text-align: center;
  border-color: black;
  border-style: solid;
  border-width: 2px;
  border-radius: 5px;
  padding: 3px;
  background-color:#C90c0f;
  color:white;
}
div.section-link a:link, div.section-link {
  text-decoration: none;
}
div.section-link a:hover {
  background-color:#640608;
}
div.section-link a:visited {
  text-decoration: none;
}
div.section-body p {
  margin: 0 0 4pt; 0;
  font-size: 12pt;
}
div.section-body hr {
  width: 100%;
  border-color: #8d090b;
  border-style: solid;
  border-width: 2px;
  margin: 30px auto 10px auto;
}
div.section-sub-heading {
  margin-bottom: 5px;
}
div.section-sub-heading img {
  margin: 0;
  border-style: solid;
  border-color: black;
  border-width: 1px;
}
div.section-sub-body {
  display: table;
}
div.section-sub-body .row {
  display:table-row;
  font-size: 0;
}
div.section-sub-body .gap {
  width: 0.5%;
}
div.section-sub-body .cell {
  display: table-cell;
  overflow: auto;
  text-align: center;
  width: 24.5%;
}
div.section-sub-body .cell .img-wrapper
{
  border-style: solid;
  border-color: black;
  border-width: 1px;
}
div.section-sub-body .cell .img-wrapper img {
  max-width: 100%;
  height: auto;
  margin: 0;
}
div.section-sub-body .cell .img-wrapper img:hover {
  opacity: 0.5;
}
div.section-sub-body .cell .caption {
  font-size: 15px;
  margin-top: 2px;
}
@media (max-width:505px){div.section-sub-body .cell .caption {font-size: 2.8vw;}}
a:active {
  text-decoration: none;
}
div.w3-dropdown-content {
  margin-left: -11px;
  padding: 5px;
  font-size: 20pt;
  border-style: solid;
  border-color: white;
  border-width: 0 1px 1px 1px;
  color: white;
  background-color: #640608;
}
div.w3-dropdown-content a {
  width: 200px;
  margin: 5px 5px 5px 5px;
  border-style: solid;
  border-color: white;
  border-width: 1px;
  padding: 0 0 0 5px;
}
div.w3-dropdown-content a:hover{
  background-color:#C90c0f;
  color:white;
}
span.equipe {
  color: #C90c0f;
}
/* All the @media definitions go at the end to override anything above: */
@media (max-width:600px){div.section, div.section-heading, div.section-body{margin:0!important}}
@media (max-width:349px)
{
  .logo-small{font-size: 22pt;}
  div.section-heading, div.section-heading-descender
  {
    font-size: 18pt;
  }
  div.section-heading{height: 29px;}
  div.section-heading-descender{height: 33px;}
}
@media (max-width:419px) and (min-width:350px)
{
  .logo-small{font-size: 24pt;}
  div.section-heading, div.section-heading-descender
  {
    font-size: 18pt;
  }
  div.section-heading{height: 29px;}
  div.section-heading-descender{height: 33px;}
}
@media (max-width:600px) and (min-width:420px)
{
  .logo-small{font-size: 27pt;}
}

@media (max-width:600px){
    div.section-sub-body .cell .img-wrapper img:hover {
    opacity: 1.0;
  }
}
@media (max-width:380px)
{
  .logo-large{
    font-size: 20pt;
    margin-left: 10px;
  }
}
@media (max-width:464px) and (min-width:381px)
{
  .logo-large{font-size: 25pt;}
}
@media (max-width:600px) and (min-width:465px)
{
  .logo-large{font-size: 30pt;}
}
@media (max-width:720px) and (min-width:601px)
{
  .logo-large{font-size: 40pt;}
}
@media (max-width:900px) and (min-width:721px)
{
  .logo-large{font-size: 50pt;}
}
@media (min-width:901px){
  .logo-large{font-size: 60pt;}
}
