.am-portfolio .portfolio_preview_container {
    padding-top: 150px;
    padding-bottom: 90px;
    padding-left: 30px;
    padding-right: 30px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    background-color: #ffffff;
    overflow: auto;
}

@media (max-width: 768px) {
    .am-portfolio .portfolio_preview_container {
        padding-left: 0;
        padding-right: 0;
        padding-top: 40px;
    }
}

.am-portfolio .portfolio_preview_container.open_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .am-portfolio .portfolio_preview_container.open_container {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media (max-height: 960px) {
    .am-portfolio .portfolio_preview_container.open_container {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
}

.am-portfolio .portfolio_preview_container.open_container .ajax_controlls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    bottom: 0;
}

.am-portfolio .portfolio_preview_container .portfolio-preview-image {
    background-color: transparent;
}

.am-portfolio .ajax_controlls {
    background-color: #fff;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    -webkit-transform: none;
    transform: none;
    text-align: center;
    bottom: -100px;
    padding-bottom: 20px;
    padding-top: 20px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.portfolio-details-inner {
    width: 100%;
    height: 100%;
    max-width: 1300px;
}

.events-date {
    z-index: 5;
}

/* -------------------------------------- */

/* POPUP UPDATES */

.popup-updates {
    display: none;
    background-color: #63b3cc;
    position: fixed;
    left: calc(50% - 20px);
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    width: 100%;
    min-height: 400px;
    z-index: 999999;
    margin-bottom: 30px;
    margin: 0 20px;
}
.popup-updates.active {
    display: block;
}
.popup-updates__inner {
    display: flex;
    flex-direction: column;
    max-width: 390px;
    width: 100%;
    margin: 0 auto;
    padding: 90px 10px 60px;
}
.popup-updates__title {
    color: #ffffff !important;
    font-size: 48px;
    font-weight: 400;
    line-height: 120%;
    text-align: left;
}
.popup-updates__text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 45px;
    max-width: 330px;
}
.popup-updates__form {
    display: flex;
    max-width: 475px;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
}

.popup-updates__close {
    border: none;
    background-color: transparent;
    position: absolute;
    cursor: pointer;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
}
.popup-updates__close::before {
    content: "";
    position: absolute;
    height: 30px;
    width: 2px;
    background-color: #ffffff;
    top: 0;
    right: 20px;
    transform: rotate(45deg);
}
.popup-updates__close::after {
    content: "";
    position: absolute;
    height: 30px;
    width: 2px;
    background-color: #ffffff;
    top: 0;
    right: 20px;
    transform: rotate(135deg);
}

#top .gf_browser_chrome.gform_wrapper.gravity-theme.popup-updates__form_wrapper {
    margin: 0;
}

.gform_wrapper.gravity-theme.popup-updates__form_wrapper .gform_footer {
    margin: 0;
    padding: 0;
}

#gform_8 > div.gform_body input:not([type="submit"]) {
    display: inline-block !important;
    background-color: #d9eef3 !important;
    width: 100%;
    padding: 8px 10px !important;
    margin-bottom: 0 !important;
    margin-right: 20px;
    font-size: 21px !important;
    font-family: "WeissenhofGrotesk-Regular" !important;
}
#gform_8 > div.gform_body input:not([type="submit"])::placeholder {
    color: #63b3cc !important;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: "WeissenhofGrotesk-Regular" !important;
}

#gform_8 > div.gform_body .ginput_container.ginput_container_email {
    max-width: 370px;
    width: 100%;
}

#gform_8 > div.gform_footer input[type=submit]#gform_submit_button_8 {
    background-color: #004d9c !important;
    color: #ddedf2 !important;
    font-size: 16px;
    text-transform: uppercase;
    padding: 15px !important;
    max-width: 110px;
    min-width: 110px !important;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: "WeissenhofGrotesk-Regular";
    transition: all .3s;
}

#gform_confirmation_message_8 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

@media(max-width: 375px) {
    .popup-updates__title {
        font-size: 40px;
    }
}


/*# sourceMappingURL=new-style.css.map */
