/*.modal, */
.sampleModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: var(--z-index-first-priority); /* Sit on top */
    padding-top: 50px; /* 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 */
    cursor: default;
}

/* Modal Content */
.modal-sample-content {
    background-color: rgb(254,254,254);
    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);
    padding: 20px;
    width: 80%;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    position: relative;
}

.sample-card {
    border: none;
    text-align: -webkit-center;
    text-align: center;
    text-align: -moz-center;
}

.sample-container {
    padding-right: 30px;
    padding-left: 30px;
}

/* The Close Button */
.close-sample {
    color: #aaaaaa;
    text-align: right;
    text-align: -moz-right;
    font-size: 28px;
    font-weight: bold;
}

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

.zoom-sample {
    -webkit-transition: opacity 2s,-webkit-transform 2s;
    -o-transition: opacity 2s,transform 2s;
    transition: opacity 2s,transform 2s,-webkit-transform 2s;
}

.zoom-sample:hover {
    -ms-transform: scale(1.3); /* IE 9 */
    -webkit-transform: scale(1.3); /* Safari 3-8 */
    transform: scale(1.3);
}

/* 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}
}
