/* ROOT  >------------------------------------- */

:root{
    --font-primary: "Open Sans", sans-serif !important;

    --color-btn: #000414;
    --color-cta-hover: #2C52FD;

    --color-btn: #000414;
    --color-btn-hover: #2C52FD;

    --color-font-color: #1d2351;
    --color-font-midgray:#353535;
    --color-font-lightgray: #d2d3dc;

    --color-bg-midgray: #e6e9f0;
    --color-bg-lightgray: #f2f4f7;
    --color-bg-dark: #11142e;
    --color-bg-white:#FFF;

    --color-form-text:#595959;
    --color-form-stroke:#A5A7B9;
    --color-form-border-focus:#1d2351;
    --color-form-border-title:#FF7800;
    --color-form-error:#ED734E;
}

/* FORM  >------------------------------------- */

.ic-form-title {
    border-radius: 8px 8px 0 0;
    text-align: center;
    background-color: var(--color-bg-white);
    padding: 0px 8px 20px 8px!important;
}

.ic-dynamic-form-container .ic-dynamic-form{
    background-color: transparent;
    border-radius: 0 0 8px 8px;
}

.ic-class-form-row{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ic-class-form-row.col-12.mb-2{
    margin-bottom: 10px !important;
    padding-bottom: 5px;
}

.ic-class-form-row.col-12.mt-4{
    margin-top: 20px !important;
}

.ic-class-form-label {
    display: none;
}

.ic-class-form-input,
.ic-class-form-select,
.ic-class-form-textarea,
textarea{
    border-radius: 4px;
    border: 1px solid #cccccc;
    padding: 11px 10px;

    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: var(--color-font-midgray);
}

.ic-class-form-select{
    padding: 0px 10px;
}

/*
.ic-class-form-input,
.ic-class-form-select{
    height: 38px;
}
*/

form .custom-select,
form .form-control,
form .form-control::placeholder {
    font-size: 16px;
    color: #131834;
    border-radius: 8px;
}


form .form-control:focus{
    box-shadow: none;
    outline: none;
    border: 1px solid var(--color-form-border-focus);
}

form .form-control{
    border-color:  var(--color-form-stroke);
}
.form-control {
    display: flex;
    justify-content: center!important;;
    align-items: center!important;;
    gap: 8px!important;;
    background-color: transparent!important;
    border: 1px solid #C1CCFD!important;
}

.ic-class-form-input,
.ic-class-form-select{
    height: 38px;
}

form textarea{
    min-height:56px;
}

.ic-class-form-input:focus,
.ic-class-form-select:focus,
textarea:focus{
    border: 1px solid var(--color-form-border-focus);
    outline: none;
    box-shadow: none;
    font-weight: 600;
    color: var(--color-font-midgray) !important;
}

.ic-class-form-check-input:not(.ic-class-form-check-legal) {
    margin-left: 10px;
    }

.ic-class-form-check-input + .ic-class-form-check-label {
    font-size: 13px;
    color: var(--color-form-text);
    }


.ic-class-form-check-legal{
    margin-right: 0px;
    align-items: flex-start; /* en caso de que se vea el check */
    margin-top: 14px;
    flex-wrap: wrap;
}

.ic-class-form-check-label-legal{
    padding-bottom: 0px;
    text-align: left;
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
    color: #353535;
    margin-left:10px;  
    margin-top: -2px; 
    flex-basis: calc(100% - 23px);
}

.ic-class-form-check-label-legal + label.error{
    padding-left: 23px;
}

.ic-class-form-check-label-legal a{
    color: #2C52FD;
    text-decoration: underline;
}

.ic-class-form-check-label-legal a:hover,
.ic-class-form-check-label-legal a:focus{
    color: var(--color-cta-hover);
}

.ic-class-form-button-submit{
    margin: 0px auto;
    font-weight: 600;
}

label.error{
    color: var(--color-form-error);
    font-size: 10px;
    margin-top: 3px;
    margin-bottom: 0px;
    margin-right: auto;
    margin-left: 0px;
}
.ic-class-form-input.error,
.ic-class-form-select.error,
textarea.error{
    border-color: var(--color-form-error);
}

.ic-dynamic-form .btn {
    font-family: "TT Firs Neue Variable"!important;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
    cursor: pointer;
    box-shadow: none;
    min-width: 258px;
    width: calc(100% - 60px);
    /*height: 56px;*/
    padding: 13px 33px 14px 33px;
    /*letter-spacing: 0.5px;*/
    border: solid 2px var(--color-btn);
    color: #fff;
    border-radius: 4px!important;
    display: flex;
    justify-content: center;
}

.ic-dynamic-form .btn-success
{
    color: #fff!important;
    background-color: var(--color-btn) !important;
    border-color: var(--color-btn) !important;
    box-shadow:none;
}

.ic-dynamic-form .btn-success:hover,
.ic-dynamic-form .btn-success:focus,
.ic-dynamic-form .btn-success:active,
.ic-dynamic-form .btn-success:visited,
.ic-class-form-button-submit.btn.btn-success:hover,
.ic-class-form-button-submit.btn.btn-success:focus,
.ic-class-form-button-submit.btn.btn-success:active,
.ic-class-form-button-submit.btn.btn-success:visited 
{
    color: #fff!important;
    background-color:  var(--color-btn-hover) !important;
    border-color: var(--color-btn-hover) !important;
    box-shadow:none;
}

@media (max-width: 576px) {
    .fullscreen-modal .modal-dialog {
        width: 100%;
    }

    #submit-btn {
        width: 100%;
    }
  }

/* Form Custom Styles for Pop UP  >------------------------------------- */

.rowPopUp{
    width: 906px !important;
}

.customColumn{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#modalPopUpForm.ic-dynamic-form-container{
    -moz-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

#modalPopUpForm.ic-dynamic-form{
    background-color: white;
    padding: 0 !important;
}

#modalPopUpForm .ic-class-form-row{
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    max-width: 373px;
}

#modalPopUpForm .ic-class-form-label {
    display: none;
}

#modalPopUpForm .ic-class-form-input,
#modalPopUpForm .ic-class-form-select,
#modalPopUpForm  textarea{
    border-radius: 4px;
    border: 1px solid #EEEEEE;
    padding: 11px 10px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: var(--color-form-text);
}

#modalPopUpForm  .ic-class-form-select{
    padding: 0px 10px;
}

#modalPopUpForm  .ic-class-form-input,
#modalPopUpForm .ic-class-form-select{
    height: 45px;
    max-width: 373px;
}

#modalPopUpForm  .ic-class-form-input:focus,
#modalPopUpForm  .ic-class-form-select:focus,
#modalPopUpForm  textarea:focus{
    border-color: var(--color-font-midgray);
    outline: none;
    box-shadow: none;
    font-weight: 600;
    color: var(--color-font-midgray);
}

#modalPopUpForm .ic-class-form-check-legal{
    margin-right: 0px;
    align-items: flex-start; /* en caso de que se vea el check */
}

#modalPopUpForm .ic-class-form-check-label-legal{
    padding-bottom: 20px;
    text-align: center;
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
    color: var(--color-form-text);
}

#modalPopUpForm .ic-class-form-check-label-legal a{
    color: var(--color-cta);
    text-decoration: underline;
}

#modalPopUpForm .ic-class-form-check-label-legal a:hover,
#modalPopUpForm .ic-class-form-check-label-legal a:focus{
    color:var(--color-cta-hover);
}

#modalPopUpForm .ic-class-form-button-submit{
    margin: 0px auto;
    font-weight: 600;
}

#modalPopUpForm label.error{
    color: var(--color-form-error);
    font-size: 10px;
    margin-top: 3px;
    margin-bottom: 0px;
}

#modalPopUpForm .ic-class-form-input.error,
#modalPopUpForm .ic-class-form-select.error,
#modalPopUpForm textarea.error{
    border-color: var(--color-form-error);
}

@media (max-width: 576px) {
    .fullscreen-modal .modal-dialog {
        width: 100%;  
    }

    #submit-btn {
        width: 100%;
    }
  }

@media all and (max-width:991px){
    .ic-dynamic-form{
       /* margin-top:-8px;*/
    }
}


@media (max-width: 576px) {

    #submit-btn {
        width: 100%;
    }

  }


@media all and (max-height: 557px) {

    h3.ic-form-title {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .ic-dynamic-form{
        /*max-height: calc(100vh - 84px);*/
        min-height:calc(100vh - 39px);
        border-color: transparent!important;
        padding-top:12px;
    }

    .ic-class-form-row.col-12.mb-2 {
        margin-bottom: 8px!important;
        align-items: center;
    }

}


@media (max-width: 767px) {
    
    .form-control {
      padding: 20px!important;
      }
    }
  
