* {
    font-family: Arial;
    font-size: 12px;
    color: #000;
    line-height: 20px;
    margin:0;
    padding: 0;
}
html, body {
    height: 100%;
    background-color: #FFF;
}
div.content_wrap {
    position: relative;
    width: 800px;
    margin: 0 auto;
}
div.topbar {
    position: relative;
    background-color: #F2F2F2;
    padding: 5px 0;
    text-align: right;
    min-height: 1.7em;
}
div.topbar a {
    color: #00F;
}
div.topbar a.selected,
div.topbar a:hover {
    color: #B0F;
    text-decoration: none;
}
div.logo {
    position: absolute;
    top: 8px;
    left: 18px;
    width: 150px;
    height: 100px;
    z-index: 99;
}
div.tagline {
    position: absolute;
    top: 24px;
    left: 240px;
    width: 400px;
    height: 44px;
}
div.header {
    position: relative;
    height: 30px;
    margin: 0; padding: 0;
}
div.content {
    padding: 20px 0 100px 0;
}
div.content_bg_gradient {
    padding-bottom: 80px;
}

div.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 6px 0 20px 0;
    background-color: #f2f2f2;
}
div.footer .content_wrap {
    display: flex;
    flex-direction: row;
}
div.footer .content_wrap span,
div.footer .content_wrap a {
    color: #666;
    font-size: 12px !important;
}
div.ftr_content_1,
div.ftr_content_2 {
    position: relative;
    padding: 10px 10px 0 10px;
    color: #666;
    font-size: 12px !important;
}
div.ftr_content_1 {
    border-left:none;
    padding-left: 20px;
    flex-grow: 3;
}
div.ftr_content_2 {
    flex-grow: 2;
    font-style: oblique;
}
div.footer ul.footer-links li {
    float:left;
    padding-top: 5px;
    margin-right: 20px;
    vertical-align: middle;
}
div.footer ul.footer-links li * {
    vertical-align: middle;
}
div.footer ul.footer-links li img.footer-logo {
    margin-left: 6px;
    margin-top: -3px;
    max-height: 25px;
}
div.footer .ftr_content_2 ul.footer-links {
    float: right;
}


ul, li {
    list-style: none;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* SIDEBAR */
div.payment {
    padding: 30px 0 0 0;
}
div.payment_info {
    background-color: #F2F2F2;
    padding: 16px 25px;
    width: 240px;
    float:right;
    clear:none;
    margin-top: 16px;
}
div.payment_info div.payment_info_divider {
    height: 16px;
}
div.payment_info .deco {
    margin-top: 16px;
    padding-top: 16px;
}
div.payment_info .deco p {
    color: #000;
}
div.payment_info div.deco.payment_session_id {
    text-align: center;
    color: rgba(0,0,0,0.25);
    font-size: 14px !important;
    padding-top: 14px;
}
div.payment_info_value {
    font-size: 16px !important;
    color: #000;
    padding: 8px 0px;
}
div.payment_info h3 {
    font-size: 16px;
    line-height: 34px;
    color: rgba(179,179,179,1);
}

/* FORM ELEMENTS */
div.processingWrap,
form.payment_form {
    width: 490px;
    float:left;
    clear:none;
}
div.form_input.checkbox {
    padding-top: 20px;
    vertical-align: middle;
}
div.form_input strong {
    font-size: 18px;
    line-height: 34px;
    color: rgba(159,190,8,1);
}
div.form_input label.info {
    font-size: 12px;
    line-height: 34px;
    color: rgba(179,179,179,1);
}
div.form_input label.checkbox {
    display: inline-block;
    padding-left: 12px;
    font-size: 12px;
    line-height: 12px;
    color: rgba(179,179,179,1);
    vertical-align: middle;
}

div.form_input {
    padding: 16px 0 16px 20px;
    width: 450px;
}
div.form_input select,
div.form_input input {
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 3px 3px 5px #EEE;
    width: 390px;
    color: #444;
    height: auto;
    font-size: 18px !important;
    padding: 6px !important;
}
div.form_input select *,
div.form_input input {
    font-size: 18px !important;
}
div.form_input input.checkbox {
    width: 20px;
    vertical-align: middle;
}
div.form_input select.error,
div.form_input input.error  {
    border-color:#ed541d;
    background-color:#fef5f1;
}
div.form_input label.error  {
    color: #8c2e0b !important;
    background-color:#ffdede;
}
div.form_input_0  {
    display:inline-block;
    float:left;
    clear:none;
}
div.form_input_20 { width:100px; }
div.form_input_40 { width:180px; }
div.form_input_60 { width:240px; }
div.form_input_80 { width:320px; }

div.form_input_20 input { width: 70px;}
div.form_input_40 input { width: 140px;}
div.form_input_60 input { width: 220px; }
div.form_input_80 input { width: 290px; }

/* BUTTONS */
div.form-buttons {
    padding-top: 60px;
    max-width: 425px;
}
div.form-buttons button {
    position: relative;
    background-color: #F2F2F2;
    border-radius: 6px;
    box-shadow: 3px 3px 5px #EEE;
    border: 1px solid #888;
    margin: 0 1px 10px 20px;
    width: 190px;
    font-size: 18px;
    line-height: 34px;
    color: #888;
}
div.form-buttons button#button_do_payment {
    float:right
}
div.form-buttons button.active {
    cursor: pointer;
}
div.form-buttons button.active:hover,
div.form-buttons button.active:active {
    background-color:#DDD;
    color: #666;
}
div.form-buttons button.active.button_do_payment {
    background-color: #F90;
    color: #FFF;
    margin-left: 20px;
    border-color: #DB6E03;
}
div.form-buttons button.active.button_do_payment:hover,
div.form-buttons button.active.button_do_payment:active {
    background-color:#F60;
}


/* processing */
div.processingWrap div.processing {
    padding: 40px 0 16px 40px;
    width: 450px;
}
div.processingWrap h1 {
    font-size: 24px;
    line-height: 34px;
    color: rgba(237,30,121,1);
}
div.processingWrap h2 {
    font-size: 18px;
    line-height: 34px;
    color: rgba(38,55,82,1);
    font-weight: normal;
}
div.processingWrap div.processing img#loadingAnimation {
    margin-left:90px;
}

/* MESSAGES */
div.messages {
    display: none;
    padding: 20px 0 0 20px;
}
div.messages_status {
    background-position: 8px 8px;
    background-repeat: no-repeat;
    border: 1px solid;
    border-radius: 6px;
    padding: 10px 10px 10px 50px;
    margin: 6px 0;
}
div.messages_status.status_success {
    background-image: url(/images/icon_status_success.png);
    border-color: #bbee77;
    color:#234600;
    background-color:#edffd8;
}
div.messages_status.status_notice {
    background-image: url(/images/icon_status_notice.png);
    border-color: #ff8800;
    color:#ff8800;
    background-color:#ffecd5;
}
div.messages_status.status_error {
    background-image:url(/images/icon_status_error.png);
    color:#8c2e0b;
    border-color:#ed541d;
    background-color:#ffdede;
}
.vp_show {
    display: none;
}
.vp_hide {
    display: inline;
}
.nonjshide {
    display:none;
}
button.disabled,
button.disabled:hover {
    text-decoration: none !important;
}

.languageContainer {
  margin-top: 21px;
  background-color: #e1e2df;
  padding: 5px;
  width: 128px;
  border-radius: 6px;
  margin-left: 263px;
  left: 50%;
  position: absolute;
  text-align: center;
  cursor: pointer;
  opacity:0.5;
}
.languageContainer *
{
  color: #888;
}
.languageContainer:hover, .languageContainer.active
{
  opacity: 1;
}
.languageContainer.mistercash
{
  background-color: #f2f2f2;
}

.languageContainer.amex
{
  margin-top: 9px;
  background-color: transparent;
  border: 1px solid #b5b5b5;
}
.languageContainer.postepay
{
  margin-top: -4px;
  background-color: transparent;
}

#bigFlags
{
  box-shadow: 2px 4px 12px -1px #999;
  left: 50%;
  margin-left: -260px;
  z-index: 10;
  position: absolute;
  width: 520px;
  height: auto;
  background-color: #e1e2df;
  padding: 10px;
  top: 1px;
  text-align: center;
}

#bigFlags *
{
  color: #888;
}

#bigFlags .block:hover
{
  background-color: rgba(0,0,0,0.1);
}

#bigFlags .block:hover .label
{
  color: #333;
  text-decoration: underline;
}

#bigFlags.hidden
{
  display:none;
}

#bigFlags .block
{
  margin: 5px;
  padding: 5px;
  display: inline-block;
  background-color: transparent;
  border-radius: 5px;
}

#bigFlags .block .label
{
  text-align: center;
}

.intflag {
  background-repeat: no-repeat;
  display: inline-block;
  position: relative;
  width: 98px;
  height: 64px;
  top: 1px;
  background-size: auto;
  border-radius: 9px;
  background-image: url(/images/flags_sized/flags_normal.png) !important;
}

#lang-toggle-flag {
  width: 40px;
  height: 27px;
  border-radius: 6px;
  border: solid 1px #999;
  background-image: url(/images/flags_sized/flags_smaller.png) !important;
  background-size: 175px 321px;
}

#lang-toggle-flag.da { background-position:      0   -1px; }
#lang-toggle-flag.de { background-position:  -41px      0; }
#lang-toggle-flag.es { background-position:  -81px   -1px; }
#lang-toggle-flag.mx { background-position:  -41px -121px; }
#lang-toggle-flag.fr { background-position: -121px      0; }
#lang-toggle-flag.en { background-position:   -2px  -41px; }
#lang-toggle-flag.it { background-position:  -41px  -40px; }
#lang-toggle-flag.nl { background-position:  -80px  -41px; }
#lang-toggle-flag.no { background-position: -120px  -41px; }
#lang-toggle-flag.pl { background-position:  -80px -121px; }
#lang-toggle-flag.pt { background-position:      0  -81px; }
#lang-toggle-flag.ru { background-position:  -41px  -80px; }
#lang-toggle-flag.sv { background-position:  -80px  -81px; }
#lang-toggle-flag.tr { background-position: -120px  -81px; }
#lang-toggle-flag.fi { background-position:      0 -122px; }
#lang-toggle-flag.jp { background-position:   -1px -164px; }
#lang-toggle-flag.gr { background-position:  -41px -164px; }
#lang-toggle-flag.hr { background-position:  -81px -164px; }
#lang-toggle-flag.hu { background-position: -120px -164px; }
#lang-toggle-flag.cz { background-position: -122px -122px; }
#lang-toggle-flag.sl { background-position:      0 -206px; }
#lang-toggle-flag.ro { background-position:  -41px -206px; }
#lang-toggle-flag.us { background-position:  -81px -206px; }

.intflag.da { background-position:      0      0; }
.intflag.de { background-position: -100px      0; }
.intflag.es { background-position: -200px      0; }
.intflag.mx { background-position: -400px -134px; }
.intflag.fr { background-position: -300px      0; }
.intflag.en { background-position: -402px      0; }
.intflag.it { background-position:      0  -67px; }
.intflag.nl { background-position: -100px  -67px; }
.intflag.no { background-position: -200px  -67px; }
.intflag.pl { background-position: -200px -134px; }
.intflag.pt { background-position: -300px  -67px; }
.intflag.ru { background-position: -400px  -67px; }
.intflag.sv { background-position:      0 -134px; }
.intflag.fi { background-position: -100px -134px; }
.intflag.tr { background-position: -300px -134px; }
.intflag.jp { background-position: -100px -199px; }
.intflag.gr { background-position:      0 -199px; }
.intflag.cz { background-position: -200px -199px; }
.intflag.hr { background-position: -300px -199px; }
.intflag.hu { background-position: -400px -199px; }
.intflag.sl { background-position:      0 -264px; }
.intflag.ro { background-position: -100px -264px; }
.intflag.us { background-position: -200px -264px; }

#lang-toggle
{
  margin-top: 2px;
  cursor: pointer;
}

#lang-toggle img
{
  top: -9px;
  position: relative;
  margin-left: 7px;
}

.wallet-container {
    position: relative;
    float:left;
    width: 424px;
    display: none;
    padding: 20px 0 10px 0;
    margin-left: 20px;
}

.wallet-container-flex {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
}

.wallet-container .wallet-btn  {
    height: 40px;
    width: 404px;
    text-align: center;
    padding: 0;
}

.wallet-container-flex .wallet-btn + .wallet-btn {
    margin-top: 12px;
}

.wallet-container .wallet-btn-line {
    width: 404px;
    border-bottom: 1px solid #E2E2E2;
    padding-top: 10px;
}

.wallet-container .wallet-btn-or {
    position: absolute;
    bottom: 1px; left: 50%;
    width: 40px;
    margin-left: -30px;
    text-align: center;
    background-color: #FFF;
    color: #E2E2E2;
}