/*-----------------------------------------------------------------------------------------------------
		Projet :
		Website :

		Copyright (C) 2014 - 2019

-------------------------------------------------------------------------------------------------------*/
/* Media Queries
-------------------------------------------------------------------------------------------------------*/

@media screen and (max-width: 686px) {
  .flex-row {
    flex-direction: column;
  }
  .container-1 {
    width: 80%;
    max-height: 100%;
  }
  #global-div {
    margin-top: 60px;
  }
  #puces,
  .container-4 {
    height: 100%;
  }
  .list-element {
    justify-content: center;
    width: 80%;
    margin: auto;
  }
  #puces {
    margin: auto;
  }
  #opentime-resume,
  #puces img,
  #acces-spe img,
  #essai-gratuit img,
  .vertical-line::after,
  .form-img,
  .background-img {
    display: none;
  }
  .button-form,
  .button-form:focus,
  .button-form:hover {
    width: 60%;
    border-radius: 15px;
  }
}

@media only screen and (max-width: 685px) {
  .desktop-only {
    display: none !important;
  }

  .desktop-tablet-only {
    display: none !important;
  }

  .tablet-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .header {
    height: 80px;
  }

  .header .grid-container {
    padding: 0;
  }

  .header .logo {
    display: none;
  }

  .menu {
    width: 100%;
    float: none;
  }

  .menu ul {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .menu li {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
  }

  .menu li a {
    padding: 0;
    text-align: center;
    height: 40px;
    padding: 0;
    display: table-cell;
    vertical-align: middle;
    width: 1%;
  }

  .menu ul li a:hover,
  .menu ul li a.current {
    background: #f7bc0f;
    color: #FFF;
  }

  .flex-row {
    flex-direction: column;
  }
  .container-1 {
    width: 80%;
    max-height: 100%;
  }
  #global-div {
    margin-top: 60px;
  }
  #accueil div.content {
    max-width: 500px;;
  }
  #puces,
  .container-4 {
    height: 100%;
  }
  #puces div {
    justify-content: center;
    width: 80%;
    margin: auto;
  }
  #puces {
    margin: auto;
  }
  #tarifs div.content-img {
    margin: auto;
  }
  #paper-img,
  .vertical-line::after,
  .form-img,
  .background-img {
    display: none;
  }
  .input-form {
    height: 5vw;
    font-size: 3.2vw;
  }
  .button-form,
  .button-form:focus,
  .button-form:hover {
    width: 60%;
    height: 5vw;
    font-size: 3.2vw;
    border-radius: 15px;
  }


  .screen-area {
    overflow: hidden;
    padding-bottom: 60px;
  }

  .screen-area .phone {
    right: 10%;
  }

  .content .mobile-teasing {
    bottom: -60px;
    position: absolute;
    width: 100%;
    margin: 0 -10px;
    background: #202b3c;
    padding: 10px;
    color: #f7bc0f;
  }

  .big-screen {
    padding-top: 17px;
    background: url("../images/browser.png") no-repeat 0 0;
    width: 300px;
    height: 195px;
  }

  .title-icon.left-icon {
    position: relative;
    padding-left: 0;
    text-align: center;
  }

  .title-icon.left-icon + p {
    padding-left: 0;
    text-align: center;
  }

  .title-icon.left-icon:before {
    background: url("../images/icons.png") no-repeat -200px 0;
    width: 50px;
    height: 50px;
    position: relative;
    margin: 0 auto 10px auto;
  }

  .price li span {
    height: 60px;
    padding-top: 0;
    display: table-cell;
    vertical-align: middle;
  }

  .price li:first-child span {
    height: 70px;
    font-size: 26px;
    padding-top: 0;
  }

  .signup form {
    padding: 20px 0 0 0;
    margin: 0 -10px;
  }

  .signup form fieldset {
    float: none;
    width: 100%;
    min-height: 0;
    border-bottom: 1px solid #efefef;
    padding-bottom: 20px;
  }

  .signup form fieldset + fieldset {
    border-left: none;
  }

  .signup form fieldset + fieldset + fieldset {
    border: none;
  }

  .signup form .itemsform-submit {
    text-align: center;
    width: auto;
    display: block;
  }

  .signup form fieldset + .itemsform:after {
    right: 50%;
    margin-right: -20px;
  }
}
/* RETINA Display */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3 / 2), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
  .title-icon:before,
  .title-icon.left-icon:before {
    background-image: url("../images/icons_@2X.png");
    background-size: 250px auto;
  }
}
