$box-shadow : 0 0 20px 0 rgb(0 0 0 / 10%); 
$color : #6f73f3; 

.page-template-page-paiement,
.page-paiement,
.page-template-page-succes,
.page-succes,
.page-template-page-checkout
.page-checkout
{

    .banner-none{
        .form-wrap{
            top: 0;
        }
    }

    .form-head{
        background-color: $color;
    }

    .app-stripe{
        min-height: 100vh;
        margin-bottom: 100px;
        background-color: #f6fafd;
    }

    .hero-banner{
        max-height: 350px;
        overflow: hidden;
        min-height: 25vh;
    }
    .hero-banner, 
    .hb-inner{
        display: flex;
        justify-content: center;
        align-items: center;
        img{
            display: block;
            width: 100%;
            margin: auto;
        }
    }

    .form-section{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .form-wrap{
        max-width: 700px;
        width: 55%;
        background-color: #fff;
        border-radius: 15px;
        overflow: hidden;
        position: relative;
        top: -200px;
        box-shadow: $box-shadow;
        position: relative;
    }

    h1, h2{
        margin: 0;
        padding: 0;
    }

    h1{
        font-size: 25px;
        text-align: center;
        margin-bottom: 10px;
    }

    h2{
        font-size: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: $color; 
    }

    .stage{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        border-radius: 100%;
        margin-right: 10px;
        color: #fff;
        background-color: #000;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .message{
        padding: 40px 40px 0 40px;
        .fail{
            background-color: #ef7676;
            border-radius: 10px;
            padding: 20px;
            font-size: 15px;
            text-align: left;
            h2{
                text-align: left;
                justify-content: flex-start;
                color: #8d2626;
            }
            p{
                color: #8d2626;
            }
        }
    }

    .accepted{
        max-width: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
        padding: 40px 0 0;
        flex-direction: column;
        
        ul{
            list-style-type: none;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            li{
                width: 33.33%;
                margin: 0 0 10px 0;
                svg{
                    width: 100%;
                    max-width: 40px;
                    path{
                        fill: #fff
                    }
                }
            }
        }
    }

    .step{
        padding-bottom: 40px;
        h1{
            color: #fff;
        }
    }

    form{
        .form-container{
            padding: 30px 50px 50px 50px;
        }
        .form-cta{
            width: 100%;
            button{
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                border: none;
                border-radius: 0;
                background-color: #70f3b0;
                padding: 25px 0;
                color: #fff;
                font-size: 15px;
                cursor: pointer;
                font-weight: bold;
                svg{
                    width: 20px;
                    margin-left: 10px;
                    position: relative;
                    transition: all .2s linear;
                }
                img{
                    width: 10px;
                    margin-left: 10px;
                    fill: #fff
                }
            }
        }
        .form-cta:hover{
            svg{
                transform: translateX(10px);
            }
        }
        .form-row{
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            h2, p{
                display: block;
                width: 100%;
            }
            p{
                font-size: 13px;
                margin: 10px 0;
            }
        }
        .form-col{
            display: flex;
            flex-direction: column;
            width: 49%;
            margin-bottom: 20px;
            .required{
                margin-left: 10px;
                color: #e94747;
            }
            label{
                font-size: 15px;
                margin-bottom: 15px;
            }
            input{
                border: solid 1px #c7c7c7;
                padding: 10px;
                border-radius: 5px;
            }
        }
        .form-info{
            padding: 25px 0;
        }

        .price-wrap{
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            input{
                max-width: 70%;
                border: none;
                position: relative;
                z-index: 1;
                font-size: 25px;
                text-align: right;
            }
            .disable-click{
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 2;
            }
        }

        .fc-price label{
            margin-bottom: 20px;
        }
       
        .fc-fullwidth{
                    /* The switch - the box around the slider */
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    flex-direction: row;
                    width: 100%;
                    margin-bottom: 10px;
                    .ch-info{
                        font-size: 13px;
                        text-align: center;
                        width: 48%;
                        padding: 10px;
                        border-radius: 5px;
                        cursor: pointer;
                        border: solid 1px #c7c7c7;
                        display: flex;
                        justify-content: flex-start;
                        align-items: center;
                        svg{
                            width: 20px;
                            margin-right: 20px;
                        }
                    }


                input{
                    cursor: pointer;
                }
                
                .eur-active{
                    color: #2196F3;
                    border: solid 1px #2196F3;
                }
                
                
        }
    }

    form .form-col.col-origin{
        width: 100%;
        label{
            text-align: center;
        }
    }

    .swith-section{
        // background-color: #f9f9f9;
        padding-top: 20px;
        border-radius: 10px;
        margin-bottom: 30px;
    }

    #stripcom{
        font-size: 13px;
        color: #2196F3;
        margin-top: 10px;
    }

}


.page-checkout{



.hidden {
    display: none !important;
  }
  
  #payment-message {
    color: rgb(105, 115, 134);
    font-size: 16px;
    line-height: 20px;
    padding-top: 12px;
    text-align: left;
    padding-bottom: 20px;
  }
  
  #payment-element {
    margin-bottom: 24px;
  }

  h2{
      margin-bottom: 20px;
  }

  ul{
      margin: 0;
  }

  #button-text{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Buttons and links */
  button {
    background: #5469d4;
    font-family: Arial, sans-serif;
    color: #ffffff;
    border-radius: 4px;
    border: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
  }
  button:hover {
    filter: contrast(115%);
  }
  button:disabled {
    opacity: 0.5;
    cursor: default;
  }
  
  /* spinner/processing state, errors */
  .spinner,
  .spinner:before,
  .spinner:after {
    border-radius: 50%;
  }
  .spinner {
    color: #17894b;
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
  }
  .spinner:before{
    position: absolute;
    content: "";
  }
  .spinner:before {
    width: 10.4px;
    height: 20.4px;
    background: #17894b;
    border-radius: 20.4px 0 0 20.4px;
    top: -0.2px;
    left: -0.2px;
    -webkit-transform-origin: 10.4px 10.2px;
    transform-origin: 10.4px 10.2px;
    -webkit-animation: loading 2s infinite ease 1.5s;
    animation: loading 2s infinite ease 1.5s;
  }
  .spinner:after {
    width: 10.4px;
    height: 10.2px;
    background: #5469d4;
    border-radius: 0 10.2px 10.2px 0;
    top: -0.1px;
    left: 10.2px;
    -webkit-transform-origin: 0px 10.2px;
    transform-origin: 0px 10.2px;
    -webkit-animation: loading 2s infinite ease;
    animation: loading 2s infinite ease;
  }
  
  @-webkit-keyframes loading {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes loading {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  
  @media only screen and (max-width: 600px) {
    form {
      width: 80vw;
      min-width: initial;
    }
  }
  

}

.page-template-page-succes,
.page-succes
{
    h1{
        margin: 0;
        padding: 0 0 40px 0;
    }

    .form-wrap{
        top: 0;
    }

    .form-head {
        background-color: #77cf7a;
    }
    .step {
        padding-bottom: 0;
    }

    .accepted{
        margin-bottom: 15px;
    }
}  




@media screen and (max-width: 1100px){

    .page-template-page-paiement,
    .page-paiement,
    .page-template-page-succes,
    .page-succes,
    .page-checkout,
    .page-template-page-checkout
    {
        .form-wrap{
            width: 60%;
        }
    }

}

@media screen and (max-width: 980px){

    .page-template-page-paiement,
    .page-paiement,
    .page-template-page-succes,
    .page-succes,
    .page-checkout,
    .page-template-page-checkout
    {
        .form-wrap{
            width: 80%;
        }
    }

}

@media screen and (max-width: 600px){
    .page-template-page-paiement,
    .page-paiement,
    .page-template-page-succes,
    .page-succes,
    .page-checkout,
    .page-template-page-checkout
    {
        .banner-none .form-wrap{
            margin-top: 0;
        }
        h2{
            text-align: center;
        }
        .form-wrap{
            width: 100%;
            top: 0;
            box-shadow: unset;
            border-radius: 0;
        }
        form{ 
            .form-col{
                width: 100%;
            }
            .form-container {
                padding: 0 25px 40px 25px;
            }
            .fc-fullwidth{
                flex-wrap: wrap;
            }
            .fc-fullwidth .ch-info {
                width: 100%;
                margin-bottom: 15px;
            }
            .form-cta {
                width: 86%;
                margin: auto;
                border-radius: 10px;
                overflow: hidden;
            }
        }
    }
    .page-template-page-checkout{
        li{
            font-size: 14px;
        }
    }

    .page-template-page-succes{
        .form-wrap{
            width: 90%;
            margin: auto;
            border-radius: 5px;
            overflow: hidden;
        }
        .form-head{
            padding: 30px;
        }
    }
}