﻿html {
}

body {
    margin:0;
    padding-bottom : 2rem;
    font-family:Oswald, sans-serif;
}

p {
    font-family:Roboto;
}

.container {
    width:80rem;
    margin: 0 auto;
}

/******* header **********/

.bkg {
    background:url("images/porte_blindee_fichet.jpg");
    background-position: center center;
    min-height: 500px;
    background-size: cover;
}

header {
    border-bottom: 5px solid #ECECEE;
    padding: 5px 0 0;
}

.logo {
    background:url("images/gcp13.png") no-repeat ;
    height:87px;
    width:207px;
    display:inline-block;
}

h1 {
    float:right;
    color: #024675;
    margin: 5px 0;
}

/******* formulaire **********/

.form {
    max-width: 580px;
    float:right;
}

@-moz-document url-prefix()
{
    .form {
        max-width: 620px;
    }
}

#octoform2 {
    background-image: none!important;
    background-color: rgba(255, 255, 255, 0.50)!important;
    border-radius: 0!important;
    border:none!important;
    padding: 1px 0 20px!important;
}

#octoform2 .divetp {
    min-height: 450px!important;
}

#octoform2 .divetp fieldset {
    background-color: rgba(255,255,255,1)!important;
    border-radius: 0!important;
    min-height: 400px!important;
}

#octoform2 .divetp fieldset legend {
    font-size: 125%!important;
    font-family: Roboto, sans-serif!important;
    background-color: #024675!important;
    color: #EFEFEF!important;
    text-align: center;
    padding: 5px 20px 5px!important;
    font-weight: 500;
    width: 100%;
    border-radius: 0!important;
}

#octoform2 .element-group label, #octoform2 .element-group-radio label, #octoform2 .element-group-chkbox label {
    font-family: Roboto, sans-serif !important;
}

#octoform2 #formcmd {
    padding: 0px 20px 20px 20px!important;
}

.form #octoform2 #btnprev , .form #octoform2 #btnnext {
    border-radius: 0!important;
    font-family: Roboto, sans-serif!important;
    border-style: none;
    font-weight: 500;
    padding: 10px 20px!important;
}

#octoform2 div.element-group p label, #octoform2 div.element-group-radio p label.label, #octoform2 div.element-group-chkbox p label.label {
    font-size: 100%;
}

.octoform-thanks {
    background: #fff;
    padding: 2rem;
}

/****** btn devis ********/
.btn-devis {
    position:fixed;
    width:80rem;
    top:0;
}

.btn-devis button {
    visibility:hidden;
    font-size: 125%!important;
    font-family: Roboto, sans-serif!important;
    background-color: #b3c807!important;
    color: #fff!important;
    text-align: center;
    padding: 5px 3rem 5px 1rem!important;
    margin-left:20px;
    margin-right:20px;
    font-weight: 500;
    border: none;
    float:right;
    background-image:url("images/fleche.png");
    background-position: 30.4rem center;
    background-repeat:no-repeat;
    width:540px;
}

/******* bandeau promo *******/
.promo {
    padding-top:2rem;
    padding-bottom:2rem;
}

.pastille {
    background: rgba(228, 0, 10, 0.9);
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    display:flex;
    text-align:center;
}

.pastille p {
    color: #fff;
    font-size: 1.2rem;
    font-family: Oswald;
    letter-spacing: 1px;
    margin: auto;
    line-height: 1;
}

.pastille p span {
    font-size: 2.5rem;
    line-height: 0.7;
}

span.date {
    font-size: 0.8rem!important;
    line-height: 2.5!important;
}

/******* reassurance *******/

section.reassurance {
    background: #ececec;
    display: flex;
    justify-content: center;
    margin-bottom:2rem;
}

section.reassurance figure {
    border-left: 5px solid #fff;
    margin: auto;
    padding-left: 1rem;
}

section.reassurance figure img {
    vertical-align: middle;
}

.rge {
    background:#024675;
    margin:0;
    color:#fff;
    padding:1rem;
    text-align: center;
    border:none!important;
}

/********* clear ******/
.clear {clear:both;}

/******* texte *******/

.texte {
    width:40%;
    margin: 0 auto;
}

/******* Produits *******/

.produits {text-align: center;}
.produits h2 {
    font-family:Oswald, sans-serif;
    color: #024675;
}

.produits div {
    display: inline-block;
    width: 30%;
}

.produits figure {
    display:inline-block;
    position:relative;
    margin: 5%;
}

.produits img {
    border-bottom: 5px solid #b5061a;
    max-width: 100%;
}

.produits figcaption {
    font-size: 16px;
    font-family: Roboto, sans-serif;
    color: #fff;
    padding: 0.6rem 1rem 0.5rem;
    background: #b5061a;
    position: absolute;
    bottom: 5px;
}

/******* Footer *******/
.footer article {
    display:inline-block;
    width:25%;
}

/******* reponsive général **********/

@media screen and (max-width: 1320px) {
    .container , .btn-devis {width: 75rem;}
}

@media screen and (max-width: 1220px) {
    .container , .btn-devis {width: 70rem;}
}

@media screen and (max-width: 74.9375em) {
    .bkg {min-height:400px;}
    .container , .btn-devis {
        width: 95%;
    } 
    .form {
        margin: 0 auto;
        float: none;
    }
    
    .btn-devis button {
        float: none;
        margin: 0 auto;
        display: block;    
    }
    .pastille {margin:0 auto;}
    
    section.reassurance {display:block;}
    
    section.reassurance figure {
        display: inline-block;
        width: 32%;
        margin: 1rem 0 0;
        box-sizing: border-box;
    }
    
    section.reassurance figure img {
        vertical-align: baseline;
    }
    
    .texte {width: 60%;}    
    
}

@media screen and (max-width: 63.9375em) {
}

@media screen and (max-width: 39.9375em) {
    .logo {
        margin:0 auto;
        display: block;
    }
    h1 {
        float:none;
        text-align:center;
    }
    #octoform2 .divetp fieldset {width:100%;}
    figcaption {
        font-size: 1.2rem;
    }
    
    .btn-devis button {
        background-image:none;
        padding-right:1rem!important;
        width:100%;
    }
    section.reassurance figure {
        width: 49%;
    }
    .texte {
        width: 90%;
    }
    
    .produits div {
        display: block;
        width:100%;
    }
}

@media screen and (min-width: 600px) and (max-width: 39.9375em) {
    .btn-devis button {    
        width: 560px;
    }
}

@media screen and (max-width: 450px) {
    section.reassurance figure {
        width: 100%;
        text-align: center;
    }  
}

@-moz-document url-prefix()
{
    @media screen and (max-width: 39.9375em) {
        .container {
            width: 100%;
        } 
        #octoform2 .divetp fieldset {
            padding:0 0 5%!important;
            width:100%!important;
        }
        #octoform2 .divetp fieldset legend {width:auto;}
        #octoform2 fieldset div.element-group, #octoform2 fieldset div {
            padding: 0 5%;
        }
    }
    
}