/* Estilos para el scrollbar del contenedor */
::-webkit-scrollbar {
    width: 6px; /* Ancho del scrollbar */
}
  
::-webkit-scrollbar-track {
    background-color: transparent; /* Color del fondo del track */
}
  
::-webkit-scrollbar-thumb {
    background-color: #888; /* Color del thumb */
    border-radius: 3px; /* Borde redondeado del thumb */
}
  
  /* Estilos para el scrollbar del thumb al estar en hover */
::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Color del thumb al estar en hover */
}

.custom_container_22 {
    width: 100%;
    height: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
    background-image: url(../../media/assets/fondo_register_desktop.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
}

/* #R_container{
    position: absolute;
    margin-top: 4.23%;
    margin-left: 34%;
} */

.container_form_2{
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 5rem;
    margin-right: 6%;
    width: 34%;
    height: max-content;
    padding-right: 28px;
    padding-left: 27px;
    padding-bottom: 1%;
}

.title_form{
    display: flex;
    justify-content: center;
    height: 4vh;
    align-items: center;
    margin-bottom: 5%;
    margin-top: 5%;
    color: #008da2;
}


.cont_pan{
    display: flex;
    flex-direction: column;
}

#cont_name{
    display: flex;
    height: 100%;
    flex-direction: column;
    margin-bottom: 3%;
}

#name_form{
    background: #008da2;
    width: 237px;
    height: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    color: white;
    border-radius: 1rem;
    font-size: 1.6rem;
}

.input-container {
    position: relative;
}

.input-container label {
    position: absolute;
    top: 0;
    left: 0;
    background: cornflowerblue;
    width: 165px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 1rem;
}

#id_password1, #id_password2 {
    display: none;
}

.empty-field {
    border: 1px solid red;
    border-radius: 1rem;
}

#id_name{
    border: 1px solid #fcc91f;
    border-radius: 1rem;
    width: 100%;
    text-indent: 51%;
    height: 4vh;
}

#id_employment{
    border: 1px solid #fcc91f;
    border-radius: 1rem;
    width: 100%;
    text-indent: 51%;
    height: 4vh;
}

#id_email{
    border: 1px solid #fcc91f;
    border-radius: 1rem;
    width: 100%;
    text-indent: 51%;
    height: 4vh;
}

#id_telephone{
    border: 1px solid #fcc91f;
    border-radius: 1rem;
    width: 100%;
    text-indent: 51%;
    height: 4vh;
}

#id_phone{
    border: 1px solid #fcc91f;
    border-radius: 1rem;
    width: 100%;
    text-indent: 51%;
    height: 4vh;
}

#id_company{
    border: 1px solid #fcc91f;
    border-radius: 1rem;
    width: 100%;
    text-indent: 51%;
    height: 4vh;
}

#id_city{
    border: 1px solid #fcc91f;
    border-radius: 1rem;
    width: 100%;
    text-indent: 51%;
    height: 4vh;
}

#avatar-gender {
    width: max-content;
    height: 281px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

#avatar-gender img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(39% 0, 88% 16%, 98% 67%, 68% 101%, 5% 88%, 0% 31%);
    -webkit-clip-path: polygon(39% 0, 88% 16%, 98% 67%, 68% 101%, 5% 88%, 0% 31%);
}

.avatar-radio:checked + img {
    outline: 2px solid red;
  }

#register-2{
    width: max-content;
    z-index: 100;
    position: relative;
}

#avatar-container-2 {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    grid-template-rows: 50%;
    justify-items: start;
    align-items: start;
    width: max-content;
    height: max-content;
    justify-content: start;
    margin-top: 6%;
}

#avatar-container-2 > label:nth-child(5n+2) {
    margin-top: 100px; /* Ajusta el valor del margen según tus necesidades */
}

#avatar-container-2 > label:nth-child(5n+4) {
    margin-top: 100px; /* Ajusta el valor del margen según tus necesidades */
}

.p_avatar{
    width: 100%;
    color: #00c6bc;
    font-size: 1.7em;
    font-weight: 700;
    display: flex;
    align-items: center;
}

#avatar-container-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(25% 0, 76% 0, 98% 50%, 84% 100%, 15% 100%, 0% 50%);
}

#lg{
    width: 267px;
}

#hm{
    font-size: 3em;
    color: #ffecb9;
}

.sub_register_2{
    display: grid;
    grid-template-columns: 41% 62%;
    justify-items: center;
}

#sub_register_3{
    display: flex;
    position: absolute;
    margin-left: -60%;
    margin-top: -11%;
    z-index: 1;
}

.has-error .error-message {
    color: red;
    display: flex;
    height: 3.6vh;
    width: 100%;
    align-items: center;
    justify-content: center;
}
  
.invalid-email {
    border: 1px solid red;
}

#buttonNext{
    min-width: auto;
    height: auto;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    outline: none;
    overflow: hidden;
    border-radius: 5px;
    border: none;
    background: #008da2;
}

#buttonPrev{
    min-width: auto;
    height: auto;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    outline: none;
    overflow: hidden;
    border-radius: 5px;
    border: none;
    background: #008da2;
}

#contain_button_form{
    display: flex;
    flex-direction: row;
    gap: 25px;
    height: 100%;
    justify-content: center;
    align-items: center;
}

/*
    REGISTER 3
*/

/* Estilos CSS para los avatares */
.avatar-radio input[type="radio"] {
    display: none; /* Ocultar el radio button real */
}

.avatar-radio{
    height: 17vh;
}

.avatar-radio label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin: 5px;
}

.avatar-radio label img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid white;
}

.avatar-radio input[type="radio"]:checked + label img {
    border-color: blue; /* Estilo de selección del avatar */
}


 /* HIDE RADIO */
 [type=radio] { 
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
  
/* IMAGE STYLES */
[type=radio] + img {
cursor: pointer;
}
  
/* CHECKED STYLES */
[type=radio]:checked + img {
    box-shadow: inset 5 10 100 10px red;
    transform: scale(1.10);
    transition: transform 0.2s ease-in-out;
}


#register-3{
    display: grid;
    grid-template-columns: max-content 28% 14.6%;
    gap: 28px;
}

/*

    PRUEBA IMAGENES
*/

.main {
    display:flex;
    --s: 100px;  /* size  */
    --m: 8px;    /* margin */
    --f: calc(1.732 * var(--s) + 4 * var(--m)  - 1px);
  }
  
  .container {
    font-size: 0; /*disable white space between inline block element */
  }
  
  .container div {
    width: var(--s);
    margin: var(--m);
    height: calc(var(--s)*1.1547); 
    display: inline-block;
    font-size:initial;
    clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
    margin-bottom: calc(var(--m) - var(--s)*0.2885); 
        clip-path: polygon(0% 20%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
    margin-bottom: calc(var(--m) - var(--s)*0.2885);
    /* background: #1991a2; */
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-30deg);
  }
  
  .container::before {
    width: calc(var(--s)/2 + var(--m));
    float: left;
    height: 120%;
    shape-outside: repeating-linear-gradient(     
                     #0000 0 calc(var(--f) - 3px),      
                     #000  0 var(--f));
  }

  .img-container {
    transform: rotate(30deg) !important;
    /* background-image: url(https://colmena.topbrand.interactiva.net.co/images/Colmena%20Footage/Avatar-M4.jpg); */
    background-repeat: no-repeat !important;
    margin-left: 0px !important;
    margin-top: 0px !important;
    background-size: contain !important;
}

.tyc{
	display: flex;
    	align-items: center;
}


/*
    RESPONSIVE
*/

@media only screen and (min-width: 0px) and (max-width: 767.98px) {

    .tyc {
        font-size: 12px;
        display: flex;
        /* justify-content: center; */
        align-items: center;
        flex-direction: column;
    }

    .tyc input {
        font-size: 10px;
    }

    .tyc a {
        text-decoration: none;
    }

    .input-container {
        display: flex;
        height: 70px;
        gap: 2px;
        flex-direction: column;
        margin-bottom: 6%;
    }

    .input-container label {
        position: initial;
        justify-content: center;
    }

    #cont_name {
        display: flex;
        height: 25px;
        flex-direction: column;
        margin-bottom: 2%;
        margin-left: 0;
    }
    
    #name_form{
        background: #008da2;
        width: 100%;
        height: 25px;
        display: flex;
        z-index: 100;
        border-radius: 0.8rem;
        align-items: center;
        margin-bottom: 5px;
        color: white;
        font-size: 1.2rem;
    }

    #register-2 {
        width: 260px;
        z-index: 100;
        position: relative;
        display: flex;
        flex-direction: column;
        /* height: 48vh; */
        margin-bottom: 25px;
    }
    
    .form-container {
        touch-action: manipulation;
    }

    .custom_container_22 {
        width: 100% !important;
        height: auto;
        padding-right: var(--bs-gutter-x, 0.75rem) !important;
        padding-left: 0!important;
        margin-right: auto !important;
        margin-left: auto !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: row !important;
        background: #fcc91f;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .container_form_2 {
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: 2rem;
        width: 54%;
        padding-right: 11%;
        padding-left: 11%;
        padding-bottom: 3%;
    }

    #sub_register_3 {
        display: flex;
        position: initial;
        margin-left: 0;
        margin-top: 0;
        z-index: 1;
        justify-content: center;
    }

    .sub_register_2 {
        display: grid;
        grid-template-columns: 52% 40%;
        justify-items: center;
    }

    #hm {
        font-size: 1.5em;
        color: #ffecb9;
    }

    #lg{
        width: 203px;
    }

    #avatar-gender {
        width: 260px;
        height: 144px;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: row;
    }

    /* #contain_button_form {
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-top: -111px;
        gap: 25px;
    } */

    #buttonPrev{
        display: inline-block;
        min-width: auto;
        height: auto;
        color: rgb(255, 255, 255);
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease 0s;
        position: relative;
        outline: none;
        overflow: hidden;
        border-radius: 5px;
        border: none;
        background: rgb(9, 25, 170);
        padding: 9px 21px;
        margin-left: 0;
    }

    #buttonNext{
        display: inline-block;
        min-width: auto;
        height: auto;
        color: rgb(255, 255, 255);
        padding: 5px 10px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease 0s;
        position: relative;
        outline: none;
        overflow: hidden;
        border-radius: 5px;
        border: none;
        background: rgb(9, 25, 170);
        padding: 2%;
    }

    .p_avatar {
        width: 100%;
        color: #00c6bc;
        font-size: 1.2em;
        font-weight: 700;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        text-align: center;
    }

    .container_form_2 #register-3{
        grid-template-columns: 100%;
        gap: 0;
        grid-template-rows: 74% 15% 7% 0%;
        margin-top: initial;
        height: 100%;
        max-height: 100%;
        justify-items: center;
    }

    #R_container {
        position: initial;
        margin-top: 3%;
        display: flex;
        justify-content: center;
        /* margin-bottom: 4%; */
        width: 100%;
        margin-left: 0;
    }

    .avatar-radio {
        height: 4.5rem;
        width: 100%;
    }

    #avatar-container-2 {
        display: grid;
        grid-template-columns: 20% 20% 20% 20% 20%;
        grid-template-rows: 18% 18% 18% 18% 18%;
        justify-items: center;
        align-items: initial;
        width: 100%;
        height: 100%;
        justify-content: end;
        margin-top: 0%;
    }

    .title_form {
        display: flex;
        height: 4vh;
        margin-bottom: 5%;
        margin-top: 5%;
        color: #008da2;
        width: 100%;
        align-items: center;
        justify-content: center;
        font-size: 0.8em;
    }

    #id_name {
        border: 1px solid #fcc91f;
        border-radius: 1rem;
        width: 100%;
        text-indent: 4%;
        height: 50px;
        padding: 0.3rem 0rem;
    }

    #id_employment {
        border: 1px solid #fcc91f;
        border-radius: 1rem;
        width: 100%;
        text-indent: 4%;
        height: 50px;
        padding: 0.3rem 0rem;
    }

    #id_email {
        border: 1px solid #fcc91f;
        border-radius: 1rem;
        width: 100%;
        text-indent: 4%;
        height: 50px;
        padding: 0.3rem 0rem;
    }

    #id_telephone {
        border: 1px solid #fcc91f;
        border-radius: 1rem;
        width: 100%;
        text-indent: 4%;
        height: 50px;
        padding: 0.3rem 0rem;
    }

    #id_phone {
        border: 1px solid #fcc91f;
        border-radius: 1rem;
        width: 100%;
        text-indent: 4%;
        height: 50px;
        padding: 0.3rem 0rem;
    }

    #id_company {
        border: 1px solid #fcc91f;
        border-radius: 1rem;
        width: 100%;
        text-indent: 4%;
        height: 50px;
        padding: 0.3rem 0rem;
    }

    #id_city {
        border: 1px solid #fcc91f;
        border-radius: 1rem;
        width: 100%;
        text-indent: 4%;
        height: 50px;
        padding: 0.3rem 0rem;
    }

    #contain_button_form {
        display: flex;
        flex-direction: row;
        gap: 25px !important;
        height: 100%;
        justify-content: center;
        align-items: center;
        margin-top: 8% !important;
    }

}

@media only screen and (min-width: 768px) and (max-width: 991.98px) {

    .custom_container_22 {
        width: 100%;
        height: 100%;
        padding-right: var(--bs-gutter-x, 0.75rem);
        padding-left: var(--bs-gutter-x, 0.75rem);
        margin-right: auto;
        margin-left: auto;
        background-image: url(../../media/assets/fondo_register_responsive.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
    }

    .container_form_2 {
        display: flex;
        flex-direction: column;
        padding: 70px;
        background: white;
        border-radius: 5rem;
        margin-right: 0;
        width: 45%;
    }

    #sub_register_3 {
        display: flex;
        position: absolute;
        margin-left: -15%;
        margin-top: -33%;
        z-index: 1;
    }

    #buttonPrev{
        display: inline-block;
        min-width: auto;
        height: auto;
        color: rgb(255, 255, 255);
        padding: 5px 10px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease 0s;
        position: relative;
        outline: none;
        overflow: hidden;
        border-radius: 5px;
        border: none;
        background: rgb(9, 25, 170);
        padding: 4%;
    }

    #buttonNext{
        display: inline-block;
        min-width: auto;
        height: auto;
        color: rgb(255, 255, 255);
        padding: 5px 10px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease 0s;
        position: relative;
        outline: none;
        overflow: hidden;
        border-radius: 5px;
        border: none;
        background: rgb(9, 25, 170);
        padding: 4%;
    }

    .container_form_2 #register-3{
        display: grid;
        grid-template-columns: max-content;
        gap: 28px;
    }

    #avatar-container-2 {
        display: grid;
        grid-template-columns: max-content max-content max-content;
        justify-items: center;
        align-items: center;
        width: max-content;
        height: max-content;
    }

    .avatar-radio {
        height: 12vh;
    }

    #R_container { 
        position: absolute;
        margin-top: 7.5%;
        margin-left: 8%;
    }

}