.jeg_metabox_body .widget-wrapper {
display: table;
table-layout: fixed;
width: 100%;
}
.jeg_metabox_body .widget-left {
display: table-cell;
vertical-align: top;
padding: 0.5em 1em 0 0;
width: 36%;
}
.jeg_metabox_body .widget-right {
display: table-cell;
position: relative;
}
.widget-right > i {
margin-top: 5px;
clear: both;
display: block;
line-height: 20px;
color: #888;
font-style: normal;
font-size: 12px;
}
.widget-left > label {
font-weight: 500;
padding-bottom: 6px;
display: block;
}
.widget-right > i {
margin-top: 5px;
clear: both;
display: block;
line-height: 20px;
color: #888;
font-style: normal;
font-size: 12px;
} .widget-wrapper.type-checkbox .checkbox-container {
display: block;
margin: 10px 0 15px;
}
.widget-wrapper.type-checkbox input[type='checkbox'] {
display: none;
}
.widget-wrapper.type-checkbox input:checked + .switch {
background: #d4e4ff;
}
.widget-wrapper.type-checkbox .switch {
border: 1px solid rgba(0, 0, 0, 0.1);
margin-top: 5px;
display: inline-block;
width: 35px;
height: 12px;
border-radius: 8px;
background: #ebebeb;
vertical-align: middle;
position: relative;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
transition: background 350ms ease;
}
.widget-wrapper.type-checkbox input:checked + .switch::after {
background: #5f9bff;
transform: translate3d(100%, -50%, 0);
}
.widget-wrapper.type-checkbox .switch::after {
background: #ccc;
border: 1px solid rgba(0, 0, 0, 0.1);
transform: translate3d(0, -50%, 0);
}
.widget-wrapper.type-checkbox .switch::after {
content: '';
display: block;
width: 20px;
height: 20px;
border-radius: 50%;
position: absolute;
top: 50%;
left: -3px;
transition: all 350ms cubic-bezier(0, 0.95, 0.38, 0.98), background 150ms ease;
} .paypal_account_text {
position: relative;
}
.paypal_account_text i.fa {
position: absolute;
top: 45px;
right: 10px;
}
.paypal_account_text .fa-check-circle {
color: #00c851;
}
.paypal_account_text .fa-times-circle {
color: #ff4444;
} .jpwt-donation-widget {
display: flex;
flex-direction: row;
flex-flow: row wrap;
align-items: center;
justify-content: space-between;
background-color: #f5f5f5;
padding: 21px 48px;
text-align: center;
margin-bottom: 20px;
}
.jpwt-donation-widget .jpwt-donation-text-container {
flex: 1 1 100%;
}
.jpwt-donation-widget .jpwt-donation-text-container .jpwt-donation-title {
font-style: normal;
font-weight: 500;
font-size: 24px;
line-height: 28px;
margin: 0 0 10px;
}
.jpwt-donation-widget .jpwt-donation-text-container .jpwt-donation-description {
font-style: normal;
font-weight: normal;
font-size: 14px;
line-height: 16px;
margin: 18px;
}
.jpwt-donation-widget .jpwt-donation-form-container {
flex: 1 1 auto;
overflow: hidden;
}
.jpwt-donation-widget .jpwt-donation-form-wrapper {
display: flex;
align-items: center;
justify-content: center;
}
.jpwt-donation-widget .jpwt-donation-form-container .jpwt-donation-form-wrapper span {
color: inherit;
}
.jpwt-donation-widget .jpwt-donation-submit {
width: auto;
min-width: 137px;
max-width: 100%;
height: 38px;
line-height: 38px;
border-radius: 5px;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
@media screen and (min-width: 768px) {
.jpwt-donation-widget:not(.jeg_col_1o3) {
padding: 25px 27px;
text-align: inherit;
}
.jpwt-donation-widget:not(.jeg_col_1o3) .jpwt-donation-text-container {
flex: 0 1 294px;
}
.jpwt-donation-widget:not(.jeg_col_1o3) .jpwt-donation-text-container .jpwt-donation-title {
font-size: 20px;
line-height: 23px;
}
.jpwt-donation-widget:not(.jeg_col_1o3) .jpwt-donation-text-container .jpwt-donation-description {
margin: 0;
}
.jpwt-donation-widget:not(.jeg_col_1o3) .jpwt-donation-form-container {
flex: 0 0 180px;
}
.jpwt-donation-widget:not(.jeg_col_1o3) .jpwt-donation-submit {
width: 180px;
height: 38px;
line-height: 38px;
border-radius: 5px;
}
}