/**
 * Copyright (c) 2014-2019, Fintecom Sp. z o.o.
 */

/* bootstrap overriding */
html, body {
    margin:0;
    padding:0;
    height:100%;
    font-size: 13px;
    line-height: 1.3265;
    background-color: transparent;
}

object, embed {
    display: block;
    left: -9999px;
    top: -9999px;
    position: absolute;
}

.gg-phoenix .content-wrapper {
    height: 100%;
    padding-bottom: 50px;
    overflow: hidden;
}

.gg-phoenix #terms {
    height: 100%;
}

body .content-wrapper {
    min-height:100%;
    position: relative;
    background-color: #fff;
}

body .content-wrapper.run-page {
    height: auto;
}

body .content-wrapper.run-page h1 {
    margin: 15px;
    font-size: 16px;
}

.ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
}

.content-wrapper.frameborder {
    min-height: inherit;
    height: 541px;
    width: 290px;
    margin: 0 auto;
    border: 1px solid #c6ccd5;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    -moz-border-radius: 4px;
    background-color: #fff;
}

h1 {
    margin-bottom: 22px;
    font-size: 21px;
    text-align: center;
}

form label {
    margin-left: 5px;
}

form ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

form .captcha-img img {
    border: 1px solid darkgray;
}

form .captcha-label p {
    margin-bottom: 0;
}

form .profile_type {
    width: 48%;
}

form .profile_type:nth-child(2),
form .gender-column label:nth-child(2) {
    margin-left: 5px;
}

form .gender-column label {
    width: 48%;
}
.confirmation-info {
    margin-top: 17px;
}

.frameborder .footer {
    position: absolute;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    -moz-border-radius: 4px;
}

.footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 10px 0 3px;
    background-color: #f1f4f9;
}

.footer > div {
    width: 290px;
    margin: 0 auto;
    padding-left: 10px;
}

.footer p {
    margin-bottom: 7px;
}

.container {
    width: 290px;
    padding-bottom: 30px;
}

.content-wrapper.frameborder .container {
    padding-bottom: 0;
}

.with-footer {
    padding-bottom: 140px;
}

.form-control {
    font-size: 13px;
    padding: 6px;
}

form label {
    font-weight: normal;
}

form .btn:focus,
form .btn:active:focus,
form .btn:active,
form .btn.active:focus {
    outline: 0 none;
}

form label.england_migrated input,
form label.terms_commercial_england input,
form label.terms_marketing_england input,
form label.terms_profiling_england input,
form label.check_all_terms input {
    float: left;
    margin: 1px 5px 0 0;
}

form label.england_migrated span,
form label.terms_commercial_england span,
form label.terms_marketing_england span,
form label.terms_profiling_england span,
form label.check_all_terms span {
    float: left;
    width: 240px;
    line-height: 1em;
    font-size: 11px;
}

form .help-block {
    margin-top: 0;
    margin-bottom: 0;
}

.input-group-addon {
    padding: 6px 5px;
}

/********** captcha widget *********/
.captcha-label {
    float: left;
    margin: 0;
}

.captcha-label.captcha-img {
    float: none;
}

input.captcha {
    display: inline-block;
    width: 95px;
    float: right;
}

#refresh-captcha {
    background: url('../img/refresh-captcha.png') no-repeat;
    width: 18px;
    height: 25px;
    border: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
    float: right;
    margin-top: 5px;
    margin-right: 6px;
}

#refresh-captcha:focus,
#refresh-captcha:active:focus,
#refresh-captcha:active,
#refresh-captcha.active:focus {
    outline: 0 none;
}

/********** create-gg step *********/

#create-gg form button {
    margin-right: 8px;
}

#create-gg form label {
    margin-bottom: 3px;
}

#create-gg .required::after {
    left: -4px !important;
}

#create-gg .form-group {
    position: relative;
    margin-bottom: 6px;
}

#create-gg h1 {
    margin-bottom: 10px;
}

.first-page-modal {
    height: 100%;
    position: relative;
    margin: 2px 0 0 0;
    border: 0 none;
    overflow: auto;
}

.first-page-modal .terms-footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: #f1f4f9;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.first-page-modal h1 {
    font-size: 21px;
    font-weight: 500;
    color: inherit;
    margin-top: 20px;
    margin-bottom: 22px;
}

.first-page-modal .terms-content {
    line-height: 1.5em;
    overflow: auto;
    padding: 15px 15px 50px;
}

.first-page-modal .terms-content p {
    margin: 1em 0;
}

.first-page-modal .terms-content ol {
    padding: 0 1em;
}

.frameborder .first-page-modal {
    position: initial;
    height: 470px;
}

.frameborder .first-page-modal .terms-footer {
    position: absolute;
}

.frameborder .first-page-modal .terms-content {
    padding-bottom: 15px;
}
/********** finish step *********/

.gg-number-block {
    padding: 10px;
    border-bottom: 1px solid #a0ce73;
    color: #5e8a00;
}

.gg-number-block .top-text {
    margin-bottom: 0;
    font-size: 19px;
}

.gg-number-block .gg-number {
    font-size: 25px;
}

.gg-number-block .gg-bottom {
    padding: 0 45px;
}

.name-row {
    margin-top: 20px;
}

.has-error label[id^=finish_form_gender] {
    color: #a94442;
}

.help-block {
    color: #333;
}


/********** run step *********/
.run-page .windows8-run {
    display: block;
    margin: 140px auto 0 auto;
}

/********** modal *********/

.modal {
    overflow-y: auto;
}

.modal-content {
    position: absolute;
    top: 50%;
    margin: -115px auto 0;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.modal-header {
    padding-top: 25px;
    border-bottom: 0;
    font-size: 16px;
    font-weight: bold;
}

.modal-header .close {
    margin-top: -15px;
}

.modal-body {
    padding: 0;
}

.modal-footer {
    border-top: 0;
    text-align: center;
}

.frameborder ~ .modal-backdrop {
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    -moz-border-radius: 4px;
}

/********** errors *********/

#errors {
    padding: 20px;
    text-align: center;
    height: 522px;
    width: 290px;
    background-color: #ffffff;
    margin-left: auto;
    margin-right: auto;
}

#errors p {
    margin-bottom: 40px;
}

/********** remind password *********/

.content-wrapper.frameborder.remind-password {
    height: 377px;
    margin-top: 73px;
}

.remind-password .summary {
    margin-bottom: 22px;
}

.remind-password .frame {
    text-align: center;
    padding: 10px;
    margin: 26px 0;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    -moz-border-radius: 4px;
}

.remind-password .inner-frame {
    margin: 0 0 14px;
    background-color: #fff;
}

.remind-password .inner-frame p {
    margin: 0;
    font-weight: bold;
}

.remind-password .number {
    margin-bottom: 2px;
    font-size: 18px;
}

.remind-password .sms-summary {
    margin-bottom: 0;
    font-size: 11px;
}

.remind-password .sms-summary.sms-terms {
    margin-bottom: 26px;
}

.remind-password .sms-terms span {
    color: #999;
}

.remind-password-summary {
    margin-top: 70px;
    font-size: 11px;
}

.remind-password-summary span {
    color: #666;
}

.frameborder.remind-password .remind-password-summary {
    position: absolute;
    bottom: 0;
}

/********** remind gg number *********/

.remind-ggnumber .summary {
    margin-top: 20px;
    font-size: 11px;
}

.frameborder.remind-ggnumber .summary {
    position: absolute;
    bottom: 0;
}

.remind-ggnumber .summary span {
    color: #666;
}

.remind-ggnumber-success p.resend {
    margin-bottom: 30px;
}

.content-wrapper.frameborder.remind-ggnumber,
.content-wrapper.frameborder.remind-ggnumber-success {
    height: 300px;
    margin-top: 141px;
}

.grecaptcha-badge {
    display: none;
}

.recaptcha-text {
    position: absolute;
    bottom: -10px;
    margin-top: 10px;
    color: #c4c4c4;
    font-size: 11px;
}

.g-recaptcha {
    transform: scale(0.90);
    -webkit-transform: scale(0.90);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

#rc-imageselect {
    margin-left: -5px;
}

p.text-error {
    margin-bottom: 5px;
    color: #a94442;
}

.required:after { 
    color:red;
    font-weight: bold;
    content: "*";
    position: absolute;
    top: -5px;
    left: 6px;
    font-size: 22px;
}

.requiredFields {
    color: red;
    font-weight: bold;
    font-size: 22px;
}

.hidden_required:after {
    content: "" !important;
}

/* DROPDOWN */

ul.dropdown  {
    position: absolute;
    border: 1px solid #9c9c9c;
    background: #fff top left repeat-x;
    z-index: 1000;
    width: 52px;
    text-align: left;
    margin-top: 1px;
    
    overflow:hidden;
    overflow-y:scroll;
    max-height: 115px;

    padding: 0;
    list-style-type: none;
  
    border-bottom-right-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    -webkit-border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    -webkit-border-bottom-left-radius: 3px;
  }
  
  li.dropdown {
    position: relative;
    padding: 5px 5px;
  }
  
  li.dropdown.country {
    float: left;
  }
  
  
  .dropdown.list .dropdown-row.hover,
  .dropdown.list .dropdown-row:hover {
    background-color: #0078d7;
    color: white;
  }
  
  .dropdown.list .dropdown-row.selected {
    font-weight: bold;
  }
  
  .dropdown.list .dropdown-row {
    cursor: pointer;
    overflow: hidden;
    font-size: 13px;
    font-weight: 400;
  }
  
  .enter-phone-info {
      margin-top: 15px;
  }