.modal {
    width: 100%;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(3px) saturate(30%);
    -webkit-backdrop-filter: blur(10px) saturate(80%);
    -moz-filter: blur(10px) saturate(80%);
    transition: all .3s ease-in-out;
    overflow: scroll;
    align-items: center;
    display: grid;
    overflow-x: auto
}

body.open-modal-languaje,body.open-modal-search {
    overflow: hidden
}

body.open-modal-languaje #modal-languaje,body.open-modal-search #modal-search {
    visibility: visible;
    opacity: 1;
    transition: all .3s ease-in-out
}

.modal div.modal-close {
    position: fixed;
    width: 100%;
    height: 100%
}

#modal-search .modal-content {
    position: fixed;
    margin: auto;
    background: #fff;
    top: 0px;
    width: 100%;
    transition: top .3s ease-in-out;
}

body.open-modal-search #modal-search .modal-content {
    top: 0px;
    transition: top .3s ease-in-out;
}
#modal-search .modal-content div {
    display: grid;
    grid-template-columns: min-content 1fr ;
    width: 980px;
    margin: auto;
}

#modal-search div.modal-content a.close-modal {
    padding: 10px 16px;
    background: #006E8D;
    color: #FFF;
    display: grid;
    align-items: center;
}

#modal-languaje div.modal-content {
    position: relative;
    margin: auto;
    padding: 10px 20px;
    width: 600px;
    height: 140px;
    background: #fff;
    border: 1px solid rgba(175,175,175,.5);
    border-radius: 10px;
}
#modal-languaje div.modal-content {
    width: 300px;
    height: 210px
}
#modal-languaje div.modal-content .button-icon {
    border-radius: 30px;
    border: 1px solid rgba(175,175,175,.8);
    font-size: 17px;
    color: #666!important;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    position: absolute;
    right: 20px;
}
.modal .lang {
    margin: 15px 0 0
}

.modal .lang a {
    display: block;
    border-bottom: 1px solid rgba(0,0,0,.2);
    padding: 15px 0;
    text-transform: capitalize;
    text-align: center;
    color: #333
}

.modal .lang li:last-child a {
    border-bottom: none
}

@media only screen and (max-width:980px) {
    #modal-search .modal-content div {
        width:920px
    }
}

@media only screen and (max-width:920px) {
   #modal-search .modal-content div {
        width:740px
    }
}

@media only screen and (max-width:740px) {
    #modal-search .modal-content div {
        width:650px
    } 
}

@media only screen and (max-width:650px) {
    #modal-search .modal-content div {
        width:580px
    }
}

@media only screen and (max-width:580px) {
    #modal-search .modal-content div {
        width:520px
    }
}

@media only screen and (max-width:520px) {
    #modal-search .modal-content div {
        width:480px
    }
}

@media only screen and (max-width:480px) {
    #modal-search .modal-content div {
        width:420px
    }
}

@media only screen and (max-width:420px) {
    #modal-search .modal-content div {
        width:380px
    }
}

@media only screen and (max-width:380px) {
    #modal-search .modal-content div {
        width:320px;
    }
}
/*  */
.modal_webinar {
    z-index: 100;
    position: fixed;
    display: grid;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(67,80,108,.5);
    backdrop-filter: blur(3px) saturate(30%);
}
.modal_webinar > div {
    position: relative;
    display: grid;
    grid-gap: 10px;
    width: 450px;
    height: max-content;
    background: #FFF;
    padding: 20px;
    border-radius: 10px;
    background-image: url(https://www.lacnic.net/innovaportal/file/4245/2/lacnic-webinars-promo.jpg);
    text-align: center;
    box-shadow: 0 2px 8px 0 rgb(0 0 0 / 10%), 0 0 60px 0 rgb(39 102 149 / 8%);
}
.modal_webinar .close_modal_webinar {
    position: absolute;
    right: -16px;
    top: -13px;
    background: #FFF;
    border-radius: 40px;
    display: grid;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
}
.modal_webinar .close_modal_webinar div {
    display: grid;
    align-items: center;
}
 
.modal_webinar .close_modal_webinar div::before, .modal_webinar .close_modal_webinar div::after {
    display: grid;
    position: absolute;
    content: ' ';
    height: 19px;
    width: 2px;
    background-color: #333;
    align-items: center;
}
.modal_webinar .close_modal_webinar div::before {
    transform: rotate(45deg);
}
.modal_webinar .close_modal_webinar div::after {
    transform: rotate(-45deg);
}
.modal_webinar a, .modal_webinar img {
    margin: auto;
}
.modal_webinar p {
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}