.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.fade.show {
    opacity: 1;
}
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 91050;
    display: none;
    outline: 0;

    .gform_footer {
        text-align:center;
    }
}
.modal, .modal-open {
    overflow: hidden;
}
.fade {
    opacity: 0;
    transition: opacity .15s linear;
}

element {

}
.modal.show .modal-dialog {

    -webkit-transform: translate(0);
    transform: translate(0);

}
.modal.fade .modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    -webkit-transform: translateY(-25%);
    transform: translateY(-25%);
    transform: translate(-50%, -50%);
}

.modal-dialog {

    height: 100%;
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin: auto;

}
.modal-lg {

    max-width: 800px;

}
.modal-dialog {

    max-width: 500px;
    margin: 30px auto;

}
.modal-dialog {

    position: relative;
    // width: auto;
    margin: 10px;

}

.modal-header {
    position:relative;
    a {
        position: absolute;
        top: 0;
        right: 0;
    }

}

.modal-title {
        margin-top: 0px;
    
}
.modal-dialog .modal-content {
    position: relative;
    border-radius: 1rem;
    padding: 40px;
    margin: auto;
}
.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: #fff;
    background-clip: padding-box;
    border: 2px solid rgba(45,47,55,.2);
    border-radius: .3rem;
    outline: 0;
}

.modal-dialog .modal-content .modal-header {

    border-bottom: none;
    -ms-flex-pack: center;
    justify-content: center;

}
.modal-header {

    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 2px solid #eceeef;

}

.modal-body .gform_wrapper {
    text-align:center;
    p {
        max-width: 400px;
    }
}


.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 15px;
}


.modal-dialog .modal-content .modal-body .gform_wrapper {
    margin: 0;
}

.fade {
    opacity: 0;
    transition: opacity .15s linear;
}

.fade.show {
    opacity: 1;
}
.modal-backdrop {
    background-color: none;
    background: linear-gradient(195deg,#0849de,#078e83 60%);
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 91040;
    background-color: #2d2f37;
}

.modal-backdrop.show{
    opacity: 0.89;
}






.btn-close::before, .control-close::before {
    font-size: .5rem;
    width: .5rem;
    height: .5rem;
    transition: all .2s ease-in-out;
}
[class*="icon-"]::before {
    display: inline-block;
    vertical-align: middle;
    font-size: 1rem;
}
.icon-close::before {
    content: "\68";
}
[class*=" icon-"]::before, [class^="icon-"]::before, [data-icon]::before {
    font-family: queens-wharf-brisbane !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


@media screen and (min-width: 800px) {
    .modal-dialog {
        max-width: 800px;
    }
}