/* 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-dynamic-form {
    background-color: white;
    padding: 40px 29px 14px 22px !important;
    margin: -25px 0px 0px -1px;
    border-radius: 20px;
    width: 535px;
    /* box-shadow: 0px 6px 25px 0px rgba(0, 18, 255, 0.08); */
}

.ic-class-form-row{
    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: 5px !important;
}

@media (min-width: 768px) {
    #contacto .ic-dynamic-form[data-progressive-ready="1"] .ic-class-form-row[data-progressive-secondary="true"] {
        overflow: hidden;
        max-height: 260px;
        opacity: 1;
        transform: translateY(0);
        transform-origin: top center;
        transition: max-height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    opacity 0.3s ease,
                    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    margin 0.45s ease,
                    padding 0.45s ease;
        will-change: max-height, opacity, transform;
    }

    #contacto .ic-dynamic-form[data-progressive-ready="1"]:not([data-progressive-state="expanded"]) .ic-class-form-row[data-progressive-secondary="true"] {
        max-height: 0 !important;
        opacity: 0;
        transform: translateY(-8px);
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        pointer-events: none;
    }
}

.ic-class-form-label {
color: #000414;
font-family: Manrope;
font-size:14px;
font-style: normal;
font-weight: 400;
line-height: 160%; /* 22.4px */
letter-spacing: 0.28px;
}

#firstname-input {
    width: 215px;
}
#lastname-input {
    width: 223px;
}

.ic-class-form-row.field-row-lastname {
    position: absolute;
    top: 15px;
    right: 30px;
    width: 247px;
}


#country-select {
    /* width: 213px;*/
}
#phone-input {
    /* width: 281px; */
}

.ic-class-form-row.field-row-phone {
	position: absolute;
	top: 176px;
	left: 255px;
	width: 248px;
}

.ic-class-form-row.field-row-country {
	position: relative;
	top: 0px;
	left: 2px;
	width: 237px;
}

    
.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: #000414!important;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 25.6px */
    letter-spacing: 0.32px;
    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;
    border-radius: 8px!important;
    border: 1px solid #c1ccfd!important;
    background: #ffffff!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 {
    outline: none;
    box-shadow: none;
    font-weight: 400;
    /* color: #fff !important; */
    background-color: #fff!important;
    border: 1px solid rgba(193, 204, 253, 0.50) !important;
    border-radius: 8px !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);
    }

#contacto .ic-dynamic-form input[type="checkbox"],
#contacto .ic-dynamic-form .ic-class-form-check-input,
#modalPopUpForm input[type="checkbox"],
#modalPopUpForm .ic-class-form-check-input {
    accent-color: #000414;
}

.ic-class-form-row .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: #000414;
    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: #2C52FD;
    text-decoration: underline!important;
}

@media (min-width: 768px) {
    .ic-class-form-check-label-legal a {
        display: inline-block;
        white-space: nowrap;
        word-break: keep-all;
        overflow-wrap: normal;
    }
}

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-success
{
    color: #000414!important;
    background-color: #fff !important;
    border-color: #fff !important;
    box-shadow:none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background-size 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    background-image: radial-gradient(circle, #2C52FD 0%, #2C52FD 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0 0;
    will-change: transform, background-size;
}

.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: #2C52FD !important;
    border-color: #2C52FD !important;
    background-size: calc(100% + 30px) 200px;
    transform: translateZ(5px);
    box-shadow:none;
    outline: none;
}

@media (hover: hover) {
    .ic-dynamic-form .btn-success:hover,
    .ic-class-form-button-submit.btn.btn-success:hover {
        color: #fff !important;
        background-color: #2C52FD !important;
        border-color: #2C52FD !important;
        background-size: calc(100% + 30px) 200px;
        transform: translateZ(5px);
        box-shadow: none;
        outline: 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: #2C52FD;
    text-decoration: underline;
}

#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 all and (max-width:1199px){
    
        #firstname-input {
            width: 100%;
        }
        #lastname-input {
            width: 100%;
        }

        .ic-class-form-row.field-row-lastname {
            position: relative;
            top: 0px;
            right: 0px;
            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;
      }

      .ic-class-form-check-label-legal {
    margin-left: 20px;
    margin-top: -16px;
    flex-basis: 100%
}

}


@media (max-width: 1199px) {
    
 
.ic-class-form-row.field-row-phone {
	position: relative;
	top: 0;
	left: 0;
    width: 100%;
}

#country-select {
	width: 100%;
}
.ic-class-form-row.field-row-country {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
}
#phone-input {
	width: 100%;
}

    }

@media (min-width: 768px) and (max-width: 1024px) {
    .ic-dynamic-form {
        width: 100%;
        max-width: none;
    }

    .ic-class-form-row {
        align-items: stretch;
    }
}
  
