
/************************** Modal **********************/
.modal {
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 700px;
}
/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.modal-hero-img {
    width: 100%;
    height: auto;
    max-height: 264px;
    object-fit: cover;
    margin-bottom: 20px;
}

.service.modal .modal-body {
    color: #666;
    text-shadow: 1px 0px 1px #ccc;
}

.modal-content .modal-body {
    color: #666;
    text-shadow: 1px 0px 1px #ccc;
}

.modal-content h3 {
    color: #2d3691;
    text-align: center;
}
.modal-content h4{
    color: #c52127;
}
.modal-footer button {
    background: #2d3691;
    background-image: -webkit-linear-gradient(top, #c82426, #f46231);
    background-image: -moz-linear-gradient(top, #c82426, #f46231);
    background-image: -ms-linear-gradient(top, #c82426, #f46231);
    background-image: -o-linear-gradient(top, #c82426, #f46231);
    background-image: linear-gradient(to bottom, #c82426, #f46231);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-family: Arial;
    color: #ffffff;
    font-size: 14px;
    padding: 10px 20px;
    text-decoration: none;
    text-align: center;
}
.modal-footer button:hover {
    background: #c52127;
    background-image: -webkit-linear-gradient(top, #0068b3, #69b4e3);
    background-image: -moz-linear-gradient(top, #0068b3, #69b4e3);
    background-image: -ms-linear-gradient(top, #0068b3, #69b4e3);
    background-image: -o-linear-gradient(top, #0068b3, #69b4e3);
    background-image: linear-gradient(to bottom, #0068b3, #69b4e3);
    text-decoration: none;
    color: #ffffff;
}
.modal-footer a{
    color: #0068b3;
    font-weight: bold;
}
.modal-footer a:hover{
    color: #2d3691;
}
.close{
    color: #2d3691;
    font-size: xx-large !important;
    opacity: 1 !important;
}
.modal img{
    margin: 0 auto;
    width: 100%;
}