.wc_paygreen_paymentbox {
    margin-top: 20px;
}

.wc_paygreen_span {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    -o-align-items: flex-start;
    align-items: flex-start;
    justify-content: center;
    /* trouver les mêmes pour les autres navigateurs etc...*/
    font-weight: normal;
    cursor: pointer;
}

.wc_paygreen_span img {
    float: none !important;
    max-height: none !important;
    margin: 0 5px 0 0;
    opacity: .7;
}

.wc_paygreen_input:checked+.wc_paygreen_span .wc_paygreen_span--header {
    font-weight: bold;
}

.wc_paygreen_input:checked+.wc_paygreen_span:before {
    background: #000;
}

.wc_paygreen_input:checked+.wc_paygreen_span img {
    opacity: 1;
}

.wc_paygreen_span .wc-pg-amount {
    display: none;
}

.wc_paygreen_input:checked+.wc_paygreen_span .wc-pg-amount {
    display: block;
}

.wc_paygreen_insite_container {
    display: none;
    width:100%;
    grid-area: insite;
}

.wc_paygreen_input:checked + .wc_paygreen_insite_container {
    display: block;
}

.wc_paygreen-insite { 
    width: 100%;
    max-width: 650px;
    background-color: white;
}

.wc_paygreen_input:checked+.wc_paygreen_span .wc_paygreen-insite {
    display: block;
}

.wc_paygreen-insite--iframe-container iframe {
    width: 100%;
    height: 400px;
    max-width: 650px;
}

.wc_paygreen_span--content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

.wc_paygreen_input {
    grid-area: input
}

.wc_paygreen_btn {
    grid-area: label
}

.wc_paygreen_btn_container {
    display: grid;
    grid-template-columns: 16px 1fr ;
    grid-template-rows: auto 1fr ;
    grid-template-areas: "input label" "insite insite" ;
}

/* logo paiement sécurisé par PayGreen dans le footer */

#block_paygreen_infos {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

#block_paygreen_infos img {
    margin: 15px;
    max-height: 45px;
    opacity: .8;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

#block_paygreen_infos img:hover {
    opacity: 1;
}

/* Paygreen insite details amount */

.wc-pg-amount * {
    box-sizing: border-box;
}

.wc-pg-amount {
    max-width: 650px;
    width: 100%;
    background-color: white;
    border-bottom: 2px solid #33ad73;
    position: relative;
}

/* Resume */

.wc-pg-amount__resume {
    padding: 20px 20px 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 114px;
}

.wc-pg-amount__resume__content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.wc-pg-amount__resume__mode {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #636363;
    text-transform: uppercase;
    flex-wrap: wrap;
    letter-spacing: 1px;
}

.wc-pg-amount__resume__details {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 16px;
}

.wc-pg-amount__resume__details_content {
    box-shadow: 0px 0px 5px #dbdbdb;
    padding: 4px 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.wc-pg-amount__resume__details__main {
    font-size: 1em;
    font-weight: bold;
    color: #434343;
}

.wc-pg-amount__resume__details__sub {
    font-size: 0.8em;
    font-weight: bold;
    color: #33ad73;
}

.pg-actions {
    padding: 10px;
    text-align: center;
    grid-column: 2;
}

.pg-actions a {
    font-size: 0.9em;
    color: #aaaaaa;
    text-align: center;
}

.pg-actions>.pg-timetable-shower {
    font-size: 0.9em;
    color: #aaaaaa !important;
    text-align: center;
    font-weight: bold;
}

.pg-actions>.pg-timetable-shower:hover {
    color: #00a99d !important;
}

/* Timetable */

.wc-pg-amount-timetable {
    background-color: #fafafa;
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    z-index: 10;
    height: 400px;
    max-width: 650px;
    position: absolute;
}

.wc-pg-amount-timetable__title {
    color: #858585;
    margin-bottom: 10px;
}

.wc-pg-amount-timetable__list {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
}

/* Timetable tem */

.pg-timetable__item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    font-size: 0.9em;
    font-weight: bold;
    border-left: 2px solid #dbdbdb;
    padding: 4px 10px;
    min-height: 35px;
}

.pg-timetable__item__badge {
    padding: 1px 8px;
    font-weight: bold;
    border-radius: 4px;
    width:90px;
    text-align: center;
}

.pg-timetable__item__amount {
    margin: 0 20px;
}

.pg-badge--default {
    background-color: #dbdbdb;
    color: #636363;
}

.pg-badge--active {
    background-color: #00a99d;
    color: white;
    font-weight: bold;
}

.pg-timetable__item__amount {
    color: #434343;
}

.wc-pg-amount__active {
    color: #00a99d;
}

.wc-pg-amount-timetable__actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pg-btn {
    padding: 10px;
    border-radius: 4px;
}

.pg-btn-fill {
    background-color: #33ad73;
    color: white;
    font-weight: bold;
}

.pg-btn-fill:hover {
    background-color: #2a9e62;
}

.arrow-container {
    width: 100%;
    position: relative;
    height: 0;
}

.arrow-down {
    position: absolute;
    right: calc(50% - 20px);
    top: 12px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #33ad73;
    z-index: 96;
}

.clean-popin-style {
    padding: 0px !important;
    border-radius: 0 !important;
}

.holds-the-iframe {
    position: relative;
}

.pg-timetable-shower {
    cursor: pointer;
}

.hidden {
    display: none;
}