/* -- modal alerts --*/
.service-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    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.4); /* Black w/ opacity */
    text-align: center;
}
.service-modal .modal-content {
    position: relative;
    display: inline-block;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    min-width: 150px;
    border: 1px solid #888;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    text-align: left;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
.service-modal-close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.service-modal-close:hover,
.service-modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.service-modal .modal-header {
    padding: 2px 8px 10px;
    background-color: var(--header-modal);
    color: var(--header-modal-color);
}
.service-modal .modal-header-bar {
    padding: 2px 2px 10px;
}
.service-modal .modal-header-content {
    font-size: 1.5rem;
}
.service-modal .modal-body {
    padding: 10px;
    background-color: var(--modal-body);
    color: var(--modal-body-color);
}
.service-modal .modal-footer {
    padding: 2px 10px;
    background-color: var(--modal-footer);
    color: var(--modal-footer-color);
}
.modal-bttn {
    display: inline-block;
    margin: 10px 5px;
    padding: 8px 18px;
    border-radius: 15px;
    background-color: #ddd;
    color: #000;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.modal-bttn:hover {
    background-color: #eee;
}
@media screen and (orientation: portrait){
    .service-modal .modal-body img {
        width: 100%;
    }
}