﻿.hero {
    display:flex;
    /*background-color: red;*/
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
    min-height: 70vh;
    color: #1C3F95;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.loader {
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    /*background:rgb(255, 255, 255);*/
    background: url("<?php echo base_url();?>assets/web/img/spin.gif") 50% 50% no-repeat rgb(249,249,249);
    opacity: .8;
    margin: 0 auto;
}

.box {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
}



.one {
    animation: animacao_1;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    display: relative;
    top: 50%;
    left: 40%;
    background-color: #69D2E7;
}

@keyframes animacao_1 {
    0% {
        top: 50%;
    }

    50% {
        top: 40%;
    }

    100% {
        top: 50%;
    }
}

.two {
    animation: animacao_2;
    animation-duration: 1.5s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    display: relative;
    top: 50%;
    left: 45%;
    background-color: #A7DBDB;
}

@keyframes animacao_2 {
    0% {
        top: 50%;
    }

    50% {
        top: 30%;
    }

    100% {
        top: 50%;
    }
}

.three {
    animation: animacao_3;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-delay: 0.5;
    display: relative;
    top: 50%;
    left: 50%;
    background-color: #E0EaCC;
}

@keyframes animacao_3 {
    0% {
        top: 50%;
    }

    50% {
        top: 40%;
    }

    100% {
        top: 50%;
    }
}

.four {
    animation: animacao_4;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    display: relative;
    top: 50%;
    left: 55%;
    background-color: #F38630;
}

@keyframes animacao_4 {
    0% {
        top: 50%;
    }

    50% {
        top: 30%;
    }

    100% {
        top: 50%;
    }
}


.five {
    animation: animacao_5;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    animation-delay: 1s;
    display: relative;
    top: 50%;
    left: 60%;
    background-color: #FA6900;
}

@keyframes animacao_5 {
    0% {
        top: 50%;
    }

    25% {
        top: 40%;
    }

    50% {
        top: 50%;
    }

    75% {
        top: 40%;
    }

    100% {
        top: 50%;
    }
}

@media screen and (max-width: 768px) {
    .one {
        left: 20%;
    }

    .two {
        left: 35%;
    }

    .three {
        left: 50%;
    }

    .four {
        left: 65%;
    }

    .five {
        left: 80%;
    }
}


label{
    margin-left:5px !important;
}

.hero h1, .hero h2 {
    animation: opacityOn 5s normal infinite;
    animation-delay: 1s;
}

@keyframes opacityOn {
    0% {
        opacity: 1;
    }
    25% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.header-confirmation{
    display:grid;
    width: 100%;
    grid-template-columns:65px 1fr;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.logoPayFri {
    width: 60px;
    height: auto;
}

.hero-pay {
    max-width: 1200px;
    min-height: 70vh;
    color: #1C3F95;
    align-content: center;
    justify-content: center;
    display: flex;
    text-transform: uppercase;
}
.title-pay {
    text-align: center;
    color: #e50695;
    margin-bottom: 10px;
}

.cardPay {
    width: 100%;
    box-shadow: 0 2.8px 10px rgba(0, 0, 0, 0.2);


}

.body-card {
    flex: 1;
    min-height: 70vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding: 20px;
}

.container-card {
    padding: 20px 30px;
    align-items: center;
    justify-content: center;
}

.card-header-pay {
    display: flex;
    height: 70px;
    align-items: center;
    padding: 0 20px;
    background: #ecedf2;
}

.card-header  h4{
    margin:0;
}

.wrapper-paycards{
    display:grid;
    grid-template-columns :  repeat(4, 1fr);
    grid-gap: 10px;
}



.select-paycard {
    height: 220px;
    max-width: 220px;
    min-width: 220px;
    border: 1px solid #e50695;
    display: grid;
    /*flex-direction:row;*/
    grid-template-rows: .5fr 1fr 1fr;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: white;
    box-sizing: border-box;
    /*background-color: red;*/
    justify-items: center;
}


.description-wrapper {
    width:200px;
    padding: 0 10px 0 10px;
}

.no-check {
    display: none !important;
}

.wrapper-check {
    position: relative;
    max-width: 220px;
    min-width: 100px;
}

.box-check {
    width: 20px;
    height: 20px;
    border: 0.5px solid #e50695;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: -30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #e50695;
}


.select-paycard:hover .box-check {
    border: 0.5px solid gray;
}

.select-paycard:hover {
    border: 1px solid gray;
    cursor: pointer;
    background: #f4f4f4;
    box-sizing:border-box;
}


.select-paycard img{
    width:auto;
    height:50px;
    object-fit:cover;
}

.select-paycard p {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-align:center;
    font-size:15px;
}

.total-pay {
    width: 100%;
    height: 50px;
    background: #ecedf2;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 10px;
    margin: 20px auto;
}

.total-pay p {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 25px;
    font-weight: 700;
    margin: 0;
    color: #e50695;
}


.container-buttons {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 10px;
    margin: 30px auto;
}

.btn-cancel {
    width: 30%;
    background: #ecedf1;
    padding: 5px 10px;
    border: none;
    text-transform: uppercase;
    border-radius: 5px;
    color: #797a83;
    outline: none;
}

.btn-pay {
    width: 30%;
    background: #5aca39;
    padding: 5px 10px;
    border: none;
    text-transform: uppercase;
    border-radius: 5px;
    color: white;
    outline: none;
}

@media screen and (max-width: 1024px) {
    .box-check {
        right: -10px;
    }

    .wrapper-paycards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
        justify-items:center;
        align-items:center;
        text-align:center;
    }

    .total-pay p {
        font-size: 20px;
    }

    .total-pay h4 {
        margin-top:7px;
        font-size: 22px;
    }
}

@media screen and (max-width: 500px) {
    .box-check {
        right: -10px;
    }

    .wrapper-paycards {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 20px;
        justify-items: center;
        align-items: center;
        text-align: center;
    }

    .total-pay p {
        font-size: 14px;
    }

    .total-pay h4 {
        margin-top: 7px;
        font-size:14px;
    }

    .btn-cancel {
        width: 45%;
        font-size:14px;
    }

    .btn-pay {
        width: 45%;
        font-size: 14px;
    }

    .header-confirmation {
      
        grid-template-columns: 1fr;
        justify-content:center;
        align-items:center;
        justify-items:center;
        
    }
    
    .logoPayFri{
        width:80px;
    }
}