﻿.modalWrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
}


/* fade in/out */
@keyframes modalBgFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: .5;
    }
}

.modalBackground {
    opacity: .5;
    width: 100%;
    height: 100%;
}

@keyframes modalFadeIn {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
.modalContent {
    animation: modalFadeIn .10s ease none;
    background: #FFF;
    box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    position: absolute;
    top: 20%;
    right: 20%;
    left: 20%;
    padding: 30px;
}

#tModalPerson {
    font-size: 20px;
    font-weight: 600;
}

#tModalImgContainer {
    height: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    border-radius: 50%;
    margin-right: 25px;
    display: flex;
    background-color: #AEDA82;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#tModalImg {
    height: 100px !important; 
}

/* mobile version of .modalContent just have 0 trbl, maybe small version with 10% */

@media (max-width: 780px) {
    .modalContent {
        background: #FFF;
        box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.5);
        border-radius: 5px;
        position: absolute;
        top: 10%;
        right: 5%;
        left: 5%;
        padding: 20px;
    }

    #tModalImgContainer {
        height: 75px !important;
        max-width: 75px !important;
        min-width: 75px !important;
        border-radius: 50%;
        margin-right: 25px;
        display: flex;
        background-color: #AEDA82;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    
    #tModalImg {
        height: 75px !important; 
    }
   
}

#tModalClose {
    position: absolute;
    top: 0;
    right: 0;
    margin: 5px;
    background-color: transparent;
    border: none;
    font-size: 25px;
}

#tModalClose:hover {
    opacity: 0.5;
}

#tModalText {
    max-height: 500px;
    overflow-y: scroll;
}

.modalTQuotes {
    height: 25px;
    margin-bottom: 10px;
}
