#boxModal {
    display: none;
    position: fixed;
    height: 100%;
    z-index: 301;
    width: 100%;
    -webkit-animation: popup 0.5s ease-in-out;
    animation: popup 0.5s ease-in-out;
}
#wrapperPopup {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.error_msg {
    font-size: 1.4rem;
    color: rgb(255, 251, 0);
    padding: 10px;
    text-align: center;
}
.popup {
    -webkit-transform: translateY(-300%);
    -ms-transform: translateY(-300%);
    transform: translateY(-300%);
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background-color: white;
    border-radius: 8px;
    /* -webkit-animation: popup 0.5s ease-in-out;
    animation: popup 0.5s ease-in-out; */
    overflow: hidden;
    max-width: 90%;
    max-height: 90%;
    position: relative;
}
.popup.active {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}
@-webkit-keyframes popup {
    from {
        /* transform: scale(0.9); */
        opacity: 0;
    }
    to {
        /* transform: scale(1); */
        opacity: 1;
    }
}
@keyframes popup {
    from {
        /* transform: scale(0.9); */
        opacity: 0;
    }
    to {
        /* transform: scale(1); */
        opacity: 1;
    }
}

#wrapperPopup .header {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 2.4rem;
    color: white;
}
#wrapperPopup .header .closePopup {
    position: absolute;
    cursor: pointer;
    top: -15px;
    right: -15px;
    width: 19px;
    height: 19px;
}

.loginPopup {
    width: 400px;
    padding: 28px 32px;
    background-image: -o-linear-gradient(316deg, #288eff, #002650 100%);
    background-image: linear-gradient(134deg, #288eff, #002650 100%);
}
.loginPopup .descr {
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 1.25;
    letter-spacing: 0.09px;
    text-align: center;
    color: #fff;
    margin: 40px 0;
}

.loginPopup img {
    width: auto;
}

.loginPopup .header .logo {
    height: 24px;
}
.loginPopup h1 {
    margin-top: 38px;
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 0.73;
    letter-spacing: 0.07px;
    color: #fff;
}
.loginPopup p.txt {
    margin-top: 8px;
    font-size: 1.6rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.25;
    letter-spacing: 0.09px;
    color: #fff;
}

.loginPopup .inputs {
    margin-top: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.loginPopup .buttons {
    margin-top: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.loginPopup .buttons.alertBtns {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.loginPopup .forgot {
    margin-top: 16px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
}
.loginPopup .forgot a {
    text-decoration: underline;
    color: white;
}
.boxPassword {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
}
.boxPassword .eye {
    content: "";
    display: block;
    background-image: url(../img/icon/hide.svg);
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    right: 20px;
    width: 26px;
    height: 26px;
    background-size: contain;
    top: 10px;
    cursor: pointer;
}
.boxPassword.showPwd .eye {
    background-image: url(../img/icon/show.svg);
}
.boxPassword .input {
    padding-right: 50px;
}

.inputs .input,
.buttons .btn {
    margin-bottom: 8px;
}
.input {
    font-size: 1.6rem;
    padding: 13px 27px;
    border-radius: 30px;
    color: white;
    border: 1px solid transparent;
    background-color: rgba(0, 0, 0, 0.11);
}
.input.sm {
    color: #000;
    font-size: 1.4rem;
    padding: 5px 10px;
    border-radius: 24px;
    -webkit-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.11);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.11);
    background-color: #f7f7f7;
}
input:focus {
    border: 1px solid #fff;
}

.input::-webkit-input-placeholder {
    color: white;
}

.input::-moz-placeholder {
    color: white;
}

.input:-ms-input-placeholder {
    color: white;
}

.input::-ms-input-placeholder {
    color: white;
}

.input::placeholder {
    color: white;
}
.input.sm::-webkit-input-placeholder {
    color: #7a7a7a;
}
.input.sm::-moz-placeholder {
    color: #7a7a7a;
}
.input.sm:-ms-input-placeholder {
    color: #7a7a7a;
}
.input.sm::-ms-input-placeholder {
    color: #7a7a7a;
}
.input.sm::placeholder {
    color: #7a7a7a;
}
.btn {
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
    padding: 15px 27px;
    border-radius: 30px;
    font-weight: 600;
    color: white;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.11);
}
a.btn {
    text-decoration: none;
    text-align: center;
}
a.btn:hover {
    opacity: 1;
}
.btn:hover::after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 30px;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

.btn.sm {
    font-size: 1.4rem;
    padding: 7px 10px;
    border-radius: 24px;
}
.btn.sm:hover::after {
    border-radius: 24px;
}

.btn.fill {
    background-color: white;
    color: #073e7b;
}
.btn.fill.blue {
    background-color: #073e7b;
    color: white;
}

/*search*/

#wrapperPopup .searchPopup .header .closePopup {
    right: -32px;
    top: 0;
}
.searchPopup {
    overflow: auto;
    width: 780px;
    height: 568px;
    padding: 16px 48px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow: hidden;
}
#wrapperPopup .searchPopup .header {
    color: #000;
    font-size: 16px;
    font-weight: 600;
}
.searchPopup .closePopup img {
    height: 16px;
}
.searchPopup .searchBox {
    margin-top: 16px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}
.searchPopup .searchBox .label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-right: 9px;
}
.searchPopup .searchBox .btn {
    width: 172px;
    text-align: center;
    margin-left: 20px;
}
.searchPopup .searchBox .input_search {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
}
.searchPopup .searchBox .input_search .input {
    padding-left: 30px;
}

.searchPopup .searchBox .input_search span {
    content: "";
    background-image: url(../img/icon/cerca.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    display: block;
    left: 8px;
    top: 8px;
    width: 16px;
    height: 16px;
    opacity: 0.3;
}
.searchPopup .searchBox .input_search .input:focus + span {
    opacity: 1;
}

.searchPopup .dateBox {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 16px;
}
.searchPopup .dateBox .right {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.searchPopup .dateBox > div,
.searchPopup .dateBox .right > div {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.searchPopup .dateBox .sections label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-right: 9px;
}
.searchPopup .dateBox .selectBox {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.searchPopup .dateBox .sections .selectBox .select span {
    width: 200px;
}

#searchForm {
    padding-bottom: 16px;
    border-bottom: solid 1px #e2e2e2;
}

.searchPopup .results {
    padding-top: 33px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: auto;
}
.searchPopup .results .non_available {
    font-size: 1.8rem;
    text-align: center;
    color: gray;
}
.searchPopup .results .fine_load {
    text-align: center;
    color: gray;
    font-size: 1.4rem;
}
.searchPopup .results li {
    margin-bottom: 23px;
}
.searchPopup .results li a {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 100px 16px 1fr;
    grid-template-columns: 100px 1fr;
    gap: 16px;
}
.searchPopup .results li a:hover {
    text-decoration: none;
}
.searchPopup .results li .img {
    border: 1px solid #666666;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100px;
    height: 100px;
    margin-right: 20px;
    border-radius: 4px;
}
.searchPopup .results li .date {
    opacity: 0.6;
    font-size: 1.3rem;
    font-weight: normal;
    color: #073e7b;
}
.searchPopup .results li .name {
    font-size: 1.4rem;
    font-weight: bold;
    font-style: normal;
    color: #000;
    margin: 8px 0;
}
.searchPopup .results li .descr {
    opacity: 0.85;
    font-size: 1.5rem;
    font-weight: normal;
    color: #000;
    line-height: 1.5rem;
    letter-spacing: 0.19px;
    height: 32px;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}
.searchPopup .results li .highlight {
    color: #000;
    font-size: 1.5rem;
    border-top: 1px #000 dashed;
    padding-top: 5px;
    margin-top: 5px;
}
.searchPopup .results li .highlight strong {
    opacity: 0.85;
    display: inline-block;
    background-color: yellow;
}
