

@media only screen and (max-width: 736px) {
    .leftdiv {
        width: 100%;
        text-align: center;

    }

    .leftdiv ul li, .leftdiv h4 {
        text-align: center; 
    }


    .rightdiv {

        width: 100%;
        text-align: center;
    }

    .rightdiv2 {

        width: 100%;
        text-align: center;
    }

    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .button{
      font-size: 1em !important;
    }
}

@media only screen and (min-width: 737px) {
    .leftdiv {
        width: 50%;
        text-align: center;
        min-height: 160px;

    }

    .leftdiv ul li, .leftdiv h4 {
        text-align: center; 
    }


    .rightdiv {
        float: right;
        position: absolute;
        right: 0;
        top: 146px;
        width: 50%;
        text-align: center;
        min-height: 160px;
    }

    .rightdiv2 {
        float: right;
        position: absolute;
        right: 0;
        top: 57%;
        width: 50%;
        text-align: center;
        min-height: 160px;
    }
}

.contenu {
	margin-bottom: 50px;
}

.titre_photo, .titre_contact {
	color: white;
}

.mail_button:hover {

}



img#lien {
    height: 1.5em;
    top: 35px;
    right: 1.5em;     
    position: absolute;
}

#nav ul li a:hover {
    background: none repeat scroll 0 0 #f35858;
    border-bottom: 4px solid transparent;
    color: #fff;
    /* color: #fff; */
   /* -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out; */
}

#nav ul li a {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    font-size: 1.1em;
    font-weight: normal;
}

#nav ul li a.active {
    background: none repeat scroll 0 0 #f35858;
    border-bottom: 4px solid transparent;
    color: #fff !important;
}

#two footer .button {
            background-color: #fff; 

            border: 2px solid #fff;
            border-radius: 0.25em;
            color: #555;
            cursor: pointer;
            display: inline-block;
            height: 3.5em;
            line-height: 3.3em;
            outline: 0;
            padding: 0 2em 0 2em;
            position: relative;
            text-align: center;
            text-decoration: none;

            -moz-appearance: none;
            -webkit-appearance: none;
            -o-appearance: none;
            -ms-appearance: none;
            appearance: none;

            -moz-transition: all 0.2s ease-in-out;
            -webkit-transition: all 0.2s ease-in-out;
            -o-transition: all 0.2s ease-in-out;
            -ms-transition: all 0.2s ease-in-out;
            transition: all 0.2s ease-in-out;
}

#two footer .button:hover {
    background-color: rgba(255, 255, 255, 0.15); 
    border: 2px solid #fff;
    color: #fff;
}

textarea {
    max-width: 820px;
}

.envelope img{
    position:fixed;
    top:50%;
    left:50%;
    margin-top:-88px;
    margin-left:-123px;
}
.error{
    background-color:#f5f6f7;
    border:1px solid #f5f6f7;
    border-left:none;
    width:180px;
    height:30px;
    /* position:absolute;
    top:4px; */
    color:#555;
    padding: 0 10px;
}



.fieldicon {
  position: absolute !important;
  top:10px;
  right: 10px;
  height: 2em !important;
  color: #f35858;
  display: none;
}

.fielddiv {
  position: relative !important; 
  padding-top: 0px !important;
  margin-top: 25px;
}

.fielddiv input, textarea {
  padding-right: 15px;
}

ul.actions {
    position: relative !important;
}

.required {
  border-color : #f35858 !important;
}

.spinner {
  margin: 10px auto;
  width: 50px;
  height: 50px;
  /* padding-top: 25px; */
  position: absolute;
  top:0;
  display: none;
}

.container1 > div, .container2 > div, .container3 > div {
  width: 15px;
  height: 15px;
  background-color: #888;

  border-radius: 100%;
  position: absolute;
  -webkit-animation: bouncedelay 1.2s infinite ease-in-out;
  animation: bouncedelay 1.2s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.spinner .spinner-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.container2 {
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

.container3 {
  -webkit-transform: rotateZ(90deg);
  transform: rotateZ(90deg);
}

.circle1 { top: 0; left: 0; }
.circle2 { top: 0; right: 0; }
.circle3 { right: 0; bottom: 0; }
.circle4 { left: 0; bottom: 0; }

.container2 .circle1 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.container3 .circle1 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.container1 .circle2 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.container2 .circle2 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

.container3 .circle2 {
  -webkit-animation-delay: -0.7s;
  animation-delay: -0.7s;
}

.container1 .circle3 {
  -webkit-animation-delay: -0.6s;
  animation-delay: -0.6s;
}

.container2 .circle3 {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

.container3 .circle3 {
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}

.container1 .circle4 {
  -webkit-animation-delay: -0.3s;
  animation-delay: -0.3s;
}

.container2 .circle4 {
  -webkit-animation-delay: -0.2s;
  animation-delay: -0.2s;
}

.container3 .circle4 {
  -webkit-animation-delay: -0.1s;
  animation-delay: -0.1s;
}

@-webkit-keyframes bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0.0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
  0%, 80%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 40% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

