/*
Licensed Materials - Property of IBM
694906H
(c) Copyright IBM Corp. 2020 All Rights Reserved
US Government Users Restricted Rights - Use, duplication or disclosure restricted
by GSA ADP Schedule Contract with IBM Corp.
*/
import styled from 'styled-components';
// import carbonVariables from '@exo/frontend-theme-agro/src/CarbonVars';
const Container = styled.div`
@media only screen and (min-width: 700px) {
.kTnuBe {
max-width: 350px;
}
}
`;
// BLOCK 1
const Main = styled.div`
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
margin-top: 2rem;
width: 100%;
@media screen and (max-width: 500){
display: flex;
flex-direction: column;
}
.bx--radio-button__appearance,
.bx--radio-button:checked+.bx--radio-button__label .bx--radio-button__appearance {
border-color: #4ba656;
}
.bx--radio-button:checked+.bx--radio-button__label .bx--radio-button__appearance::before {
background-color: #4ba656;
}
.bx--loading__stroke {
stroke: #0a881e;
}
.button-modal .bx--btn--primary {
background-image: none;
background-color: #3c8530;
}
.button-modal .bx--btn--primary {
background-image: none;
background-color: #3c8530;
}
`;
const SectionLink = styled.div`
display: flex;
flex-direction: row;
justify-content: end;
width: 100%;
.text-no-underline {
text-decoration: none;
font-size: 14px;
}
`;
const Title = styled('p')`
color: #0d70bf;
font-size: 18px;
font-weight: 700;
margin:0 0 15px;
.black {
color: #000;
}
`;
const BoxAddress = styled.div`
display: flex;
flex-direction: column;
@media (min-width: 1051px){
width: 32%;
margin-bottom: 15px;
}
@media (max-width: 1050px){
width: 100%;
margin-bottom: 15px;
}
@media (max-width: 715px) {
width: 100%;
margin-bottom: 15px;
}
.title-address {
width: 100%;
font-size: 20px;
font-weight: 600;
color: #a7a8ab;
padding: 0 0 15px 0px;
}
.alias-address {
font-size: 16px;
font-weight: 600;
color: #a7a8ab;
}
.paragr-address {
font-size: 14px;
color: #a7a8ab;
}
.box-infor {
display: flex;
flex-direction: column;
width: 100%;
padding: 16px ;
background-color: #f0f0f0 ;
border: 1px solid #d8dcdd ;
border-radius: 4px;
}
.sector-button {
display: flex;
width: 100%;
padding: 10px 0 5px;
}
`;
const BoxProduct = styled.div`
display: flex;
flex-direction: column;
//width: 33%;
color: #a7a8ab !important;
@media (min-width: 1051px){
width: 33%;
margin-bottom: 15px;
margin-right: 0;
}
@media (max-width: 1050px){
width: 100%;
margin-bottom: 15px;
margin-right: 0;
}
@media (max-width: 715px) {
width: 100%;
margin-bottom: 15px;
margin-right: 0;
}
.box-infor {
display: flex;
flex-direction: column;
width: 100%;
padding: 16px ;
background-color: #f0f0f0 ;
border: 1px solid #d8dcdd ;
border-radius: 4px;
}
.title-itens {
width: 100%;
font-size: 20px;
font-weight: 600;
color: #a7a8ab;
margin-bottom: 20px;
}
.mt-1 {
margin-top: .5rem;
}
`;
const BoxPayment = styled.div`
display: flex;
flex-direction: column;
//width: 33%;
@media (min-width: 1051px){
width: 33%;
margin-bottom: 15px;
}
@media (max-width: 1050px){
width: 100%;
margin-bottom: 15px;
}
@media (max-width: 715px) {
width: 100%;
margin-bottom: 15px;
}
.box-infor {
display: flex;
flex-direction: column;
width: 100%;
padding: 16px ;
border: 1px solid #d8dcdd ;
border-radius: 4px;
}
.box-radio-button > div {
display: flex;
width: 100%;
}
`;
const PaymentCondition = styled('div')<{background?: boolean}>`
display: flex;
flex-direction: column;
.radio-button-style {
border: 1px solid #cccccc78;
-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.1);
border-radius: 5px;
background-color: ${props => (props.background ? '#F8FFFB' : 'white')};
padding: 15px;
margin-bottom: 0.8rem;
display: flex;
justify-content: space-between;
width: 100%;
}
.radio-button-condition {
display: flex;
}
.bx--radio-button__label {
font-weight: bold;
font-size: 16px;
}
.bx--radio-button-helper {
font-weight: 500;
padding-left: 28px;
margin-bottom: 0;
font-size: 12px;
}
.box-infor-bill {
display: flex;
flex-direction: column;
padding: 5px;
width: 100%;
}
.infor-address-bill {
flex-direction: row;
display: flex ;
justify-content: space-between;
padding-bottom: 5px;
font-size: 15px;
}
.infor-footer-bill {
font-size: 14px;
font-style: italic;
text-align: justify;
color: #6d6e71;
margin: .8rem 0 1rem ;
}
.infor-non-payment {
text-align: center;
}
`;
const FormCard = styled.div`
.flex-date-cvv {
margin-top: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
};
.bp_sop_cardexpirationdate,
.bp_sop_cardcvvc {
width: calc(50% - 10px);
};
.container_address_charge {
margin: 1.5rem 0 0.8rem 0;
}
.adress_charge{
color: #000000;
font-weight: bold;
font-size: 15px;
};
.checkbox{
margin-bottom: 1rem;
};
.bp_sop_cardholdername{
margin-top: 1rem;
};
.bp_sop_codeholder{
margin-top: 0.3rem;
};
.bp_sop_payment_options{
margin-top: 1rem;
margin-bottom: 0.5rem;
};
.bp_sop_cardnumber {
display: flex;
};
.bp_sop_cardnumber input {
flex: 1;
};
.bp_sop_cardnumber .card-flag {
width: 60px;
height: 50px;
margin-top: 1rem;
margin-left: 10px;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
};
`;
export {
Main,
SectionLink ,
Title,
BoxAddress,
BoxProduct,
BoxPayment,
Container,
PaymentCondition,
FormCard
}