.fit-image{
    height: 100%;
    width: 100%;
}

#my-grid{
    margin-top: 50px;
}

.grid-padding{
    padding: 0 8px;
}

.grid-padding img{
    margin-bottom: 15px;
    transition: 0.8s ease;
}

.grid-padding img:hover{
    box-shadow: 0 10px 40px 0 rgba(0,0,0,.8);
    transition: 0.8s ease;
}

.col-sm-4{
    padding-right: 30px;
}

/* The Modal */

.modal{ 
    display: none;
    position: fixed;
    z-index: 100;
    padding: 5px 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .9);

}

.modal-content{
    position: relative;
    margin: auto;
    padding: 0;
    width: 85%;
    max-width: 1200px;
    border: none;
    background-color: transparent;
}

.my-slides{
    text-align: center;

}

/* Adjust Image Size*/

.portrait-image{
    width: 60%;
}



.close{
    color: #ffffff;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 48px;
    font-weight: bold;
    transition: 0.3s ease;
}

close:hover, .close:focus{
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;

}

/* Next and Previous Button*/

.prev, .next{
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #ffffff;
    font-weight: bold;
    font-size: 3em;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* Position the Next Button to the right */
.next{ 
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Hovering effect for Previous and Next Buttons*/

.next:hover, .prev:hover{
    background-color: rgba(0, 0, 0, .8);
    border-radius: 50%;
}

.numbertext{
    color: #ffffff;
    font-size: 18px;
    padding: 8px 50px;
    
    
}
