html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
}

body {
  display: grid;
  place-items: center;
  background-color: #f7f7f7;
}

:root {
  --red: #df0c36;
  --grey: #444;
  --light-grey: #ececec;
  --light-blue: #2f7bb4;
}

* {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 10pt;
  box-sizing: border-box;
  color: var(--grey);
}

a {
  text-decoration: none;
  cursor: pointer;
}

/*************************************
*************LANGUAGE*****************
**************************************/

#lang-container{
  width: 350px;
  background-color: #fff;
  border: 1.5px solid var(--light-grey);
}

.lang-container-none{
  display: none;
}

.lang-logo {
  display: grid;
  place-items: center;
  border-bottom: 3px solid var(--red);
  height: 90px;
}

.lang-logo img{
  height: 75px;
}

.lang-text *{
  padding: 5px 15px;
  font-weight: bold;
  font-size: 12pt;
  line-height: 15pt;
}

.lang-text span{
  font-weight:lighter ;
  padding: 0;
}

.lang-choice-container{
  padding: 0 15px;
}

.lang-border{
  /* border: 1.5px solid #ddd; */
  margin-bottom : 10px;
  background-color: var(--light-blue);
  display: block;
}

.lang-border p{
  font-size: 11pt;
  font-weight: bold;
  color: #fff;
  width: 100%;
  display: grid;
   place-items: center;
   height: 35px;
}



/*************************************
************VIDEO*********************
**************************************/

.wrapper {
  width: 80vw;
  height: 90vh;
  display: none;
  grid-template-columns: 30% 70%;
  border: 3px solid var(--light-grey);
  background-color: #ececec;
}

.wrapper-grid{
  display: grid;
}

.wrapper-video {
  grid-template-columns: 100%;
}

/*****************************************
**************INTERNET EXPLORER***********
******************************************/

#ie {
  display: none;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  body {
    display: block;
    overflow: hidden;
  }

  #ie {
    display: block;
    width: 400px;
    background-color: #fff;
    margin: 50px auto;
    box-shadow: 3px 3px 3px #c2c2c2;
  }

  #ie .ieTotalLogo {
    width: 100%;
    display: flex;
    border-bottom: 3px solid #df0c36;
  }

  #ie .ieTotalLogo img {
    max-height: 70px;
    margin: 5px auto;
  }

  .ieInfo {
    width: 100%;
    height: 100%;
    padding: 20px;
    padding-bottom: 5px;
  }

  .ieInfo p {
    color: #777;
    /* font-weight: 700; */
    padding: 10px;
    font-size: 11pt;
    /* text-align: center; */
  }

  .ieInfo span {
    color: #555;
    font-weight: 700;
    font-size: 11pt;
  }

  .wrapper {
    display: none;
  }
}

/******************************************
**************** VIDEO ********************
*******************************************/

/* Menu */

.menu-container {
  display: grid;
  grid-template-rows: 50px calc(100% - 50px);
}

#menu-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.menu-header-a {
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--grey);
  border-top: none;
  font-size: 1.2rem;
  color: var(--grey);
  font-weight: bold;
}

.menu-header-active,
.menu-header-a:hover {
  border-bottom: 2px solid var(--red);
  color: var(--grey);
}

.menu-soustitre {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.menu-soustitre p {
  width: 95%;
  height: calc(90vh - 70px);
  padding: 10px 15px;
  background-color: #fff;
  overflow-y: auto;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4rem;
}

.menu-soustitre p ul {
  padding: 5px;
  margin: 5px;
}

.menu-link {
  width: 100%;
  height: calc(90vh - 70px);
  padding: 15px;
  overflow-y: auto;
}

.menu-link a {
  display: block;
  padding: 10px 0;
  border-bottom: 0.2px solid rgba(77, 77, 77, 0.4);
  position: relative;
  font-weight: bold;
}

.menu-link a::after {
  content: "";
  border-top: 5px solid transparent;
  border-left: 7px solid var(--grey);
  border-bottom: 5px solid transparent;
  position: absolute;
  right: 10px;
  top: 15px;
}

/* Video */

#video-container {
  display: grid;
  grid-template-rows: calc(100% - 130px) 130px;
}

#video-mp4 {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.video-small-size {
  max-width: 70vw;
  max-height: 70vh;
}

.video-full-size {
  max-width: 60vw;
  max-height: 70vh;
}

#video-btn {
  display: grid;
  grid-template-rows: 10px 120px;
}

#video-btn-header {
  width: 100%;
}

#video-btn-header-control {
  height: 100%;
  width: 100%;
  border: 0.5px solid var(--red);
  border-right: none;
  background-color: #fff;
}

#video-btn-header-control-child {
  height: 100%;
  width: 0%;
  background-color: var(--red);
}

#video-btn-footer {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(3, 1fr);
  height: 100%;
  padding: 0 30px;
  background-color: #efefef;
}

#video-btn-footer-left p {
  font-size: 1.2rem;
}

#video-btn-footer-middle {
  margin: auto;
}

#video-btn-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.video-btn-previous {
  height: 50px;
  width: 50px;
  border-radius: 50px;
  background: url("../images/previous-next_b.svg") no-repeat center center;
  background-color: var(--red);
}

.video-btn-play {
  height: 70px;
  width: 70px;
  border-radius: 70px;
  background: url("../images/play_b.svg") no-repeat 26px center;
  background-color: var(--red);
  margin: 0 25px;
}

.video-btn-pause {
  background-image: url("../images/pause_b.svg");
  background-position: center center;
}

.video-btn-next {
  background-image: url("../images/next-previous_b.svg");
}

#video-btn-right {
  display: flex;
  justify-content: flex-end;
}

.video-btn-reduce {
  height: 45px;
  width: 45px;
  border-radius: 70px;
  border: 0.5px solid var(--red);
  background: url("../images/reduire_b.svg") no-repeat center center;
  background-color: var(--red);
  background-size: 20px;
  margin: 0 25px;
}

.video-btn-size {
  background-image: url("../images/agrandir_b.svg");
}

.btn:hover {
  box-shadow: 0 0 7px var(--red);
}

.invisible {
  display: none;
}
