.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .5;
	
}
button.close {
    padding: 0;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
	
}

.modal-open {
    overflow: hidden;
}

.modal {
    display: none;
    position: fixed;
    top: 10%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    text-align: center;
}

.modal:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.modal-dialog {
    display: inline-block;
    vertical-align: middle;
    width: auto;
    max-width: 90%;
    margin: 20px auto;
    text-align: left;
    position: relative;
}

.modal-content {
    display: inline-block;
    width: auto;
    min-width: 300px;
    max-width: 100%;
    background: #fff;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    background-clip: padding-box;
    outline: 0;
}

.modal.fade .modal-dialog {
    transform: translateY(-25px);
    transition: transform .3s ease-out;
}

.modal.in .modal-dialog {
    transform: translateY(0);
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background: #000;
}

.modal-backdrop.in {
    opacity: .5;
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.modal-body {
    padding: 15px;
}

.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

@media (max-width: 767px) {
    .modal-dialog {
        width: 95%;
        max-width: 95%;
        margin: 10px auto;
    }

    .modal-content {
        width: 100%;
        min-width: 0;
    }
}

#openBtn {
    position: fixed;
    top: 80%;
    right: -48px;
    z-index: 9999;

    width: 140px;
    height: 45px;
    line-height: 45px;

    background: #ff6600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: bold;

    border-radius: 8px 8px 0 0;
    transform: rotate(-90deg);
    transform-origin: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.3);
}

#openBtn:hover,
#openBtn:focus {
    background: #ff6600;
    color: #fff;
    text-decoration: none;
}

/* Send Message Button */
.sendbtn {
    display: inline-block;
    width: 100%;
    padding: 14px 25px;
    margin-top: 15px;

    background: #002b87;
    color: #fff;
    border: none;
    border-radius: 5px;

    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;

    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 4px 10px rgba(255,102,0,.35);
}

.sendbtn:hover {
    background: #e65c00;
    color: #fff;
    box-shadow: 0 6px 15px rgba(255,102,0,.45);
}

.sendbtn:active {
    transform: scale(.98);
}

.sendbtn:focus {
    outline: none;
}
/* ===========================
   Mobile Responsive Settings
=========================== */

@media (max-width: 767px) {

    /* Enquiry Button */
    #openBtn {
        top: 50%;
        right: -45px;
        width: 130px;
        height: 42px;
        line-height: 42px;
        font-size: 14px;
    }


    /* Modal Full Top Position */
    .modal {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 0;
    }


    .modal:before {
        display: none;
    }


    .modal-dialog {
        width: 95%;
        max-width: 95%;
        margin: 0 auto;
        top: 0;
    }


    .modal-content {
        width: 100%;
        min-width: 0;
        margin-top: 0;
        border-radius: 0 0 8px 8px;
    }


    .modal-header {
        padding: 15px;
    }


    .modal-body {
        padding: 15px;
    }


    .modal-footer {
        padding: 15px;
    }


    .close {
        font-size: 28px;
    }


    /* Send Button */
    .sendbtn {
        padding: 13px;
        font-size: 15px;
    }

}


/* Extra small mobile */
@media (max-width: 480px) {

    #openBtn {
        top: 54%;
        right: -20px;
        width: 120px;
        height: 40px;
        line-height: 40px;
        font-size: 13px;
    }


    .modal-dialog {
        width: 100%;
        max-width: 100%;
        margin: 0;
		top:12%;
    }


    .modal-content {
        border-radius: 0;
    }

}
/* Mobile Modal Width 90% */
@media (max-width: 767px) {

    .modal-dialog {
        width: 80%;
        max-width: 80%;
        margin: 12% auto 0;
    }

    .modal-content {
        width: 100%;
        min-width: 0;
        border-radius: 8px;
    }

}


/* Extra Small Mobile */
@media (max-width: 480px) {

    .modal-dialog {
        width: 80%;
        max-width: 80%;
        margin: 12% auto 0;
    }

    .modal-content {
        width: 100%;
        border-radius: 8px;
    }

}