.viewall-heading {
    font-size: 20px;
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    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 */
}

/* Modal Content/Box */
.modal-content {
    text-align: center;
    font-weight: 300;
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 80%; /* Could be more or less, dependingon screen size */
}

/* The Close Button */
.close {
    color: #ffffff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Header */
.modal-header {
    text-align: center;
    padding: 2px 16px;
    background-color: cornflowerblue;
    color: white;
    border-radius: 9px 9px 0 0;
}

/* Modal Body */
.modal-body {
    padding: 2px 16px;
    margin-left: 20%;
    text-align: justify;
}

@media screen and (max-width: 800px) {
    .modal-body {
        margin-left: 0%;
    }
}

/* Modal Footer */
.modal-footer {
    padding: 12px 16px;
    background-color: #E4F4FF;
    color: white;
    border-radius: 0 0 10px 10px;
}

/* Modal Content */
.modal-content {
    text-align: center;
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    margin-top: 210px;
    margin-bottom: 210px;
    border: 1px solid #888;
    width: 45%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

@media screen and (max-width: 800px) {
    .modal-content {
        width: 85%;
        margin-top: 150px;
    }
}

/* Add Animation */
@-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}
}

