body.modal-open {
    padding-right: 0 !important;
}

h2,
p,
legend,
span,
label {
    color: #353535;
}

.checkbox-primary a {
    text-decoration: underline !important;
}

/* coockie message */

.cc_message{
  color: white !important;
}

/* CUSTOM RADIO-S */

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 22px;
    display: inline-block;
    color: #666;
    height: 25px;
    font-size: 14px;
}

[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #eda860;
    border-radius: 100%;
    background: #fff;
}

.has-error [type="radio"]:checked + label:before,
.has-error [type="radio"]:not(:checked) + label:before {
    border: 2px solid #a94442;
}

[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #eda860;
    position: absolute;
    top: 5px;
    left: 5px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}


/* FINISH CUSTOM RADIO-S */

/* CUSTOM CHECKBOX */
.btn-confirmar-investimento{
    border: 2px solid #E38084;
    color: #E38084;
    border-radius: 3px;
    -ms-transition: all .5s ease-out;
    transition: all .5s ease-out;
    background-color: white !important;
    font-weight: 700;
}

.btn-confirmar-investimento:hover{
    color: white;
    background-color: #E38084 !important;
}

.display-alert-span{
    display: block !important;
}

.remove-alert-span{
    display: none;
}


.checkbox {
    padding-left: 20px;
}

.checkbox label {
    display: inline-block;
    position: relative;
    padding-left: 5px;
}

.checkbox input[type="checkbox"] {
    opacity: 0;
}


.checkbox-primary input[type="checkbox"]:checked + label::before {
    background-color: #eda860 !important;
    border:1px solid #eda860 !important;
}

#form_investimento .checkbox-primary input[type="checkbox"]:checked + label::before {
    background-color: #DD7C81 !important;
    border:1px solid #DD7C81 !important;
}

.labelfocus::before {
    border:2px solid #E38085 !important;
}




.investidor-checkbox input[type="checkbox"]:checked + label::before {
    background-color: #E38085 !important;
    border-color: #E38085 !important;
}

.checkbox-primary input[type="checkbox"]:checked + label::after {
    color: #fff;
}

.checkbox input[type="checkbox"]:checked + label::after {
    font-family: 'FontAwesome';
    content: "\f00c";
}

.checkbox label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    margin-left: -20px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background-color: #fff;
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    border-radius: 50px;
}

.checkbox label::after {
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    top: 0;
    margin-left: -20px;
    padding-left: 3px;
    padding-top: 1px;
    font-size: 11px;
    color: #555555;
}

/* FINISH CUSTOM CHECKBOX */

/* PARTIAL REGISTO/SIGN-UP */

.signup_login_bg {
    /* padding-top: 120px;
    padding-bottom: 50px; */
}

.signup_login_bg.sign_up_big_box {
    /*    min-height: 100%;*/
    height: auto !important;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup_login_bg .box_new_signup {
    display: none;
}

.signup_login_bg.sign_up_big_box .box_new_signup {
    display: block;
}



.signup_login_bg .box_new_signup {
    position: relative;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    -o-transform: none !important;
    -ms-transform: none !important;
}


@media screen and (max-width: 1024px) {
    .box-login_signup {
        max-width: 500px !important;
        width: 100% !important;
    }
}

.sw-theme-circles > ul.step-anchor {
    position: absolute;
    top: -20px;
    right: 0;
}

.sw-theme-circles > ul.step-anchor > li > a {
    width: 30px;
    height: 30px;
    padding: 2px;
    border-color: #f5f5f5 !important;
    background: #f5f5f5 !important;
    color: #bbb !important;
}

/* este estilo para paginas sign-up */

.bc_image_body .sw-theme-circles > ul.step-anchor > li.active > a {
    border-color: #eda860 !important;
    background: #eda860 !important;
    color: white !important;
}

.bc_image_body .sw-theme-circles > ul.step-anchor > li{
	width: auto;
}

.sw-theme-circles > ul.step-anchor > li {
    margin-left: 20px;
}

.sw-theme-circles > ul.step-anchor:before {
    top: 14px;
    width: 60%;
    height: 2px;
    background-color: #f5f5f5;
    border-radius: 3px;
    z-index: 1;
    right: 3px;
}

.form-check {
    margin-left: 20px;
    margin-bottom: 20px;
}

.form-check span {
    margin-left: 29px;
    font-size: 13px;
}

.disabled {
    display: none;
}

.has-error label::before {
    border: 1px solid #a94442;
}


/* INVESTIDOR */

.form_group_register .form-check {
    float: left;
    width: 42%;
    text-align: center;
}


/* POPUP GERAL */

/*
.modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
}

@media (max-width:768px) {
    .modal-dialog {
        top: 0;
        transform: translateX(-50%) !important;
        margin: 0 !important;
    }
}
*/

/* POPUP SUCESSO REGISTO */

#sucesso_registo {
    padding-right: 0 !important;
}

@media (min-width:769px) {
    #sucesso_registo .modal-dialog {
        position: absolute;
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
    }
}

@media (max-width:768px) {
    .titulo_sucesso_registo {
        font-size: 15px;
        font-weight: bold;
    }
    p_sucesso_registo {
        font-size: 13px;
        margin-top: 30px;
    }
}

/* POPUP TUTORIAL USER */

.tutorial_popup_section .number_tutorial {
    position: absolute;
    top: 6px;
    left: -25px;
    background-color: #eda860;
    color: #fff !important;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    padding-top: 3px;
    padding-right: 2px;
    font-weight: 800;
    -webkit-box-shadow: inset 0 0 0 3px #fff!important;
    box-shadow: inset 0 0 0 3px #fff!important;
    border: 2px solid #eda860;
}

@media (max-width:768px) {
    .tutorial_popup_section .number_tutorial {
        top: 8px;
        left: -21px;
    }
}

.tutorial_popup_section p {
    padding-left: 5px;
}

.tutorial_popup_section h4 {
    margin-bottom: 20px;
}


/******** checkbox form investir *******/



/* .roundedOne */
.roundedOne {
  width: 28px;
  height: 28px;
  position: relative;
  margin: 20px auto;
  background: #fcfff4;
  background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  border-radius: 50px;
  box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
  label {
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    left: 4px;
    top: 4px;
    background: linear-gradient(top, #222 0%, #45484d 100%);
    border-radius: 50px;
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,1);
    &:after {
      content: '';
      width: 16px;
      height: 16px;
      position: absolute;
      top: 2px;
      left: 2px;
      background: $activeColor;
      background: linear-gradient(top, $activeColor 0%, $darkenColor 100%);
      opacity: 0;
      border-radius: 50px;
      box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
    }
    &:hover::after {
      opacity: 0.3;
    }
  }
  input[type=checkbox] {
    visibility: hidden;
    &:checked + label:after {
      opacity: 1;
    }
  }
}
/* end .roundedOne */


/******* end of checkbox investir *****/
