.md-modal {
    position: fixed;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;


}

.md-show {
    visibility: visible;
}

.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(143, 27, 15, 0.8);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-modal.md-show ~ .md-overlay {
    opacity: 1;
    visibility: visible;
}

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

/* General styles for the modal */

/* 
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the 
perspective effects (not including the modals and the overlay).
*/
.md-perspective,
.md-perspective body {
    height: 100%;
    overflow: hidden;
}

.md-perspective body {

    -webkit-perspective: 600px;
    -moz-perspective: 600px;
    perspective: 600px;
}


.md-modal {
    position: fixed;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 320px;
    height: auto;
    z-index: 2000;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;


}

.md-show {
    visibility: visible;
    overflow-x: hidden;
    overflow-y: auto;
}

.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(0, 0, 0, 0.75);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show ~ .md-overlay {

    opacity: 1;
    visibility: visible;
}

/* Content styles */
.md-content .requestform_tab {
    max-width: 100%;
    margin: 0 auto !important;
    border: 0px solid #eaeaea;
    border-radius: 0;
}

.md-content {

    background: #f3f3f3;
    position: relative;
    border-radius: 0px;
    margin: 20px auto;
    max-width: 860px;
    padding: 0px;
}

.md-content .get_frm label {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 5px;
}

.md-content > div {
    padding: 0;
    margin: 0;

}




.md-content > div ul {
    margin: 0;
    padding: 0;
}

.md-content > div ul li {
    padding: 0 0 0 20px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
}

.md-content > div ul.dlist li:before {
    top: 8px;
}

/*
.md-content button {
    display: block;
    margin: 0 auto;

}*/

.md-close {
    position: absolute;
    right: 0;
    top: 0;
    padding: 15px;
    outline: none;
    background: none;
    border: 0px;
    z-index: 11;
}

.md-close:hover img {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}

/* Individual modal styles with animations/transitions */

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
    -webkit-transform: translateY(20%);
    -moz-transform: translateY(20%);
    -ms-transform: translateY(20%);
    transform: translateY(20%);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

/* Effect 2: Slide from the right */
.md-effect-2 .md-content {
    -webkit-transform: translateX(20%);
    -moz-transform: translateX(20%);
    -ms-transform: translateX(20%);
    transform: translateX(20%);
    opacity: 0;
    -webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
    -moz-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
    transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}

.md-show.md-effect-2 .md-content {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
}

.md-content .requestform_tab .resp-tabs-list {
    padding: 0
}

.request-icon-list {
    width: 215px;
    position: relative;
    display: inline-block;
    padding: 30px 0;
}

.req_form {
    width: calc(100% - 215px);
    display: inline-block;
    padding: 70px;
    background: #ffffff;
}

.req_form p {
    color: #222324;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 30px;
}

.request-key {
    text-align: center;
    padding: 20px;
}

.request-key span,
.request-icon-list p {
    font-size: 16px;
    color: #ffffff;
    display: block;
    width: 100%;
    font-weight: bold;
}

.request-icon-list p {
    text-align: center;
    padding: 0 5px;
}

.request-key p {
    color: #fff;
    margin-top: 20px;
}

.divider {
    border-bottom: 1px solid rgba(15, 50, 78, .20);
    margin-bottom: 35px;
}

/* popup icon */
.request-icon-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: #0f324e;
}

.request-key .icon {
    position: relative;
    margin-bottom: 10px;
    display: inline-block;
}

.request-key .icon:before {
    content: "";
    position: absolute;
    display: block;
    left: -15px;
    top: -10px;
    width: 61px;
    height: 51px;
    border-radius: 0%;
    background-color: #1ca8e5;
    z-index: -1;
    transition: all 300ms ease-out;
    transform: rotate(-9deg);
}

@media(max-width:1024px) {
    .md-modal {
        max-width: 90%;
        min-width: auto;

    }

    .req_form {
        padding: 50px;
    }

    .md-content {
        max-width: 95%;
        /*padding: 30px;*/
    }
}

@media(max-width:767px) {
    .req_form {
        padding: 30px;
        width: 100%;
    }

    .top-header-modal .mrgb30 {
        margin-bottom: 30px;
    }

    .md-content .request-icon-list {
        display: none;
    }

}

@media(max-width:680px) {
    .req_form {
        padding: 15px;
    }

    .md-effect-1 .popup_close_btn {
        right: 20px;
    }
}
