body{
    margin: 0;
}
body.modal-open{
    overflow: hidden;
    padding-right: 17px;
}




.modal{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    background-color: rgba(0,0,0,0.5);
    font-family: Arial, Helvetica, sans-serif;
    color: #1B1C24;
    display: none;
}


/*** content wrap/elements ***/
.modal-wrap{
    margin: 0 auto auto;
    width: 100%;
    max-width: 610px;
    height: auto;
    padding: 30px;
    border-radius: 4px;
    background-color: #fff;
    transition-property: transform, opacity;
    transition-duration: 250ms, 250ms;
    transition-timing-function: ease-out, ease-in-out;
    opacity: 0;
}
.modal.show .modal-wrap{
    transform: translateY(125px);
    opacity: 1;
}



.modal .modal-header{
    position: relative;
    padding-bottom: 30px;
}


/*** close icon ***/
.modal .modal-close{
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: block;
    min-height: 0;
    min-width: 0;
    padding: 0;
    border-radius: 0;
}
.modal .modal-close:before,
.modal .modal-close:after{
    position: absolute;
    content: '';
    left: 0;
    top: 10px;
    width: 24px;
    height: 2.5px;
    border: 1px solid #1B1C24;
    background-color: #1B1C24;
    border-radius: 12px;
    box-sizing: border-box;
}
.modal .modal-close:before{
    transform: rotate(45deg);
}
.modal .modal-close:after{
    transform: rotate(-45deg);
}
.modal .modal-close:hover:before,
.modal .modal-close:hover:after{
    -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.25);
    -moz-box-shadow: 0 0 3px 0 rgba(0,0,0,0.25);
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.25);
}

.modal .modal-title{
    margin: 0;
    font-size: 22px;
}


/*** button style ***/
.modal .modal-body button{
    display: block;
    margin: auto;
    width: 150px;
    height: 45px;
    border-color: #1b1c24;
    background-color: #1b1c24;
    color: #ffffff;
    font-size: 17px;
    box-sizing: border-box;
    border-radius: 3px;
}
