/* COMMON
--------------------------------------------------------------------------------------------------------------------------------------*/
/*
Theme Name: ThÃ¨me Diesefoot
Theme URI: http://www.diesefoot.fr/
Description: ThÃ¨me disesfoot V3
Author: JM CHATONNIER
Version: 1.0
*/
*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
body {
  font-size: 1.4em;
  font-family: Roboto, Myriad pro, Arial, Helvetica, sans-serif;
  letter-spacing: 0px;
  background-color: #ffffff;
  color: #5e6a71;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
}
img {
  border: none;
}
li {
  list-style-type: none;
}
a {
  text-decoration: none;
}

/* PAGE
--------------------------------------------------------------------------------------------------------------------------------------*/
body {
  font-size: 16px;
}

section {
  margin: 0 auto;
  text-align: center;
}

section.main{
  height: 50vh;
  font-size: 2.5em;
}

.section_wrap{
  max-width: 1024px;
  margin: 0px auto;
}

section.main .section_wrap{
  position: relative;
  padding: 100px 15px 0;
  height: 100%;
}

section.bottom{
	padding-top:250px;
  height: 47vh;
}

#main{
	margin-bottom: 50px;
}

.bg-blue{
	background-color: #1FB5B8;
	color: #fff;
}

.btn{
  display: inline-block;
  border: 1px solid lightgrey;
  background-color: #efefef;
  padding: 7px 9px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  text-decoration: none !important;
}

.btn:hover{
  border: 1px solid grey;
  background-color: lightgrey;
}

section.bottom .logo-appli-gab{
  display: none;
}
.logo-appli-gab{
  text-align: center;
}
.logo-appli-gab img {
  max-width : 110px;
  border-radius: 5px;
}
.cpy-website{
	color: #1FB5B8;
  text-decoration: none;
  display: inline-block;
  margin-left: 75px;
  padding: 0px 20px;
  margin-top: 5px;
  border-top: 1px solid rgb(0, 0, 0);
  font-size: 18px;
}

.cpy-block-intro{
	margin-bottom :5px;
}

.spC_block{
  position: absolute;
  bottom: 0%;
  left: 10%;
  transform: translate(0%, 50%);
}
.spC_wrap{
	position:relative;
}

.spC__devices {
  position: relative;
  /*max-width: 200px;*/
  float: left;
  width: 60%;
  min-width: 160px;
}
.spC__devices img {
  display: block;
  width: 100%;
}
.sp__ipad {
    position: relative;
    min-width: 300px;
    margin-right: 150px;
}
.sp__ipad .spC__couv {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 79%;
  transform: translate(-50%, -50%);
}
.sp__ipad .spC__couv--logo {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 45%;
  transform: translate(-50%, -50%);
}
.sp__iphone {
  position: absolute;
  bottom: 0;
  right: -40px;
  max-width: 100px;
}
.sp__iphone .spC__couv {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 70%;
  transform: translate(-50%, -50%);
}
.sp__iphone .spC__couv--logo {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 35%;
  transform: translate(-50%, -50%);
}

.side-right {
  position: absolute;
  bottom: 0%;
  right: 0%;
  transform: translate(0%, 60%);
}

.side-right .txt_bt{
  color: #1FB5B8;
  max-width: 420px;
  margin: 100px auto 0;
}

.logo-dskp-wrap{
  text-align: center;
  margin-bottom: 25px;
}

.logo-dskp-wrap .txt-click{
  margin-bottom: 15px;
}

.list-btn span {
    margin: 5px 25px;
}

.cpy-block{
  font-weight: bold;
  text-align: left;
  margin-left: 140px;
}

.cpy-block img{
  max-width: 220px;
  display: block;
}

.cpy-block .logo-cpy-wrap{
  display: inline-block;
}

#footer {
  background-color: #e2e4e4;
  padding: 15px 0;
  text-align: center;
}

#footer > div{
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 15px;
}

#footer a{
  color: #5e6a71;
  text-decoration: underline;
}

/* BANNER/POPUP COOKIE
--------------------------------------------------------------------------------------------------------------------------------------*/
.bannerCookie {
  display: block;
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background-color: rgba(0, 0, 0, 0.95);
  color: #fff;
  font-size: 14px;
  text-align: center;
  z-index: 999998;
}

.bannerCookie > div {
  padding: 15px 0;
  position: relative;
  margin: 0 auto;
  max-width: 1024px;
}

.bannerCookie .user-cookie-alert{
  display: inline-block;
  vertical-align: middle;
  width: 80%;
}

.bannerCookie a{
  color: #fff;
  text-decoration: underline;
}

.bannerCookie button{
  color: #000;
  margin-left: 25px;
  font-size: 20px;
}


/* Modal
--------------------------------------------------------------------------------------------------------------------------------------*/
.modal.show{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,.7);
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  visibility: visible !important;
  text-align: left;
}


.modal .modal__wrapper {
  background-color: #fff;
  color: #000;
  max-width: 950px;
  border: 1px solid #2e2e2e;
  position: relative;
  font-size: 16px;
  margin: 0 10px;
}

.modal .modal__close {
  position: absolute;
  top: 2px;
  right: 10px;
  cursor: pointer;
  color: white;
  background-color: transparent;
  border: 0;
  font-size: 2.2em;
  transform: rotate(45deg);
  padding: 0;
}

.modal .modal__header {
  background-color: #424244;
  color: #ffffff;
}

.modal .modal__title {
  margin: 0;
  text-align: center;
  padding: 10px;
  font-size: 20px;
}

.modal .modal__content {
  padding: 15px 15px;
  /*max-height: 75%;*/
  max-height: 470px;
  overflow-y: auto;
}

.modal .modal__content .title {
  font-weight: 700;
  margin-bottom: 3px;
}

.modal .text {
  margin: 0 0 7px;
}

.modal .sub-title {
  margin: 0;
}

.modal .separator {
  height: 1px;
  width: 80%;
  background: #2e2e2e;
  margin: 15px auto;
}

.modal .modal__footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-around;
  padding: 15px 15px;
  border-top: 1px solid #2e2e2e;
}

.modal-detail-cookie{
  display: none;
}

/* RESPONSIVE
--------------------------------------------------------------------------------------------------------------------------------------*/
@media (max-height: 600px) and (min-width: 900px) {
  body{
    font-size: 10px;
  }

  section.bottom{
    padding-top: 180px;
    height: auto;
  }

  .logo-appli-gab img {
    max-width: 90px;
  }

  .side-right .txt_bt {
    margin-top: 60px;
  }

  .spC__devices {
    width: 40%;
  }
  .sp__ipad {
    min-width: 190px;
  }

  .sp__iphone {
    max-width: 70px;
  }
}
@media (max-height: 770px) and (min-width: 900px) {
  section.main .section_wrap {
    padding-top: 10px;
  }
}

@media (max-width: 900px) {
  section.main{
    margin-top: 170px;
    height: auto;
    font-size: 1.5em;
  }

  section.bottom {
    padding-top: 100px;
    height: auto;
  }

  section.bottom .logo-appli-gab{
    display: block;
    margin-bottom: 30px;
  }

  section.main .section_wrap {
    position: relative;
    padding: 170px 15px 70px;
  }

  .sp__ipad {
		min-width: 180px;
		margin-right: 115px;
	}

	.sp__iphone {
		max-width: 70px;
	}

  .spC_block{
    bottom: auto;
    top:0%;
    left: 50%;
    /*left: 47%;*/
    transform: translate(-25%, -50%);
  }

  .spC__devices{
    width: 42%;
  }

  .side-right {
    transform: translate(0%, 50%);
  }

  .side-right .txt_bt,
  .side-right .logo-dskp-wrap{
    display: none;
  }

  .side-right {
    /*bottom: 0%;
    left: 50%;
    right: 0;
    transform: translate(-50%, 50%);*/
    width: 100%;
  }

  .cpy-block{
    font-weight: bold;
    text-align: center;
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .spC__devices {
    width: 53%;
  }

  .bannerCookie .user-cookie-alert{
    padding: 0 20px;
    width: 100%;
    margin-bottom: 15px;
  }
}

@media (max-width: 490px) {
  section.main .section_wrap{
    padding-bottom: 40px;
  }

  section.bottom {
    padding-top: 50px;
    height: auto;
  }

  .side-right {
    position: static;
    transform: none;
    margin-top: 50px;
  }

  .list-btn span {
    position: static;
    transform: none;
    display: block;
    margin: 0 auto;
  }

  .list-btn span:not(:first-child) {
    margin-top: 25px;
  }

  .spC_block {
    transform: translate(-45%, -50%);
  }

  .sp__ipad {
    margin-right: 0;
  }
}

@media (max-width: 300px) {
  .spC_block {
    transform: translate(-50%, -50%);
  }
}
