@charset "utf-8";

button {
    background-color:inherit;
}

.modal-open {
    cursor:pointer;
    padding: .6rem .2rem 0 .2rem;
    color: white;
    border-radius: 4px;
    outline: none;
    border: none;
}

/*
CURRENT ONE
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:rgba(0,0,0,0.5);
    z-index: 20000;
    display:none;
    animation: modal-open .5s;
}
*/

/* FAVORITE MODAL */
.modal {
    cursor: pointer;
	border-radius:12px;
	display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background:rgba(0,0,0,0.5);
    z-index: 20000;
    width:600px;
	max-width: 80%;
    animation: modal-open .7s;
}

/*
SMALLER MODAL
.modal {
    display:none;
    position: fixed;
    z-index:20000;
    left:0;
    top:0;
    width:100%;
    height: 100%;
    overflow:auto;
    background-color: rgba (0,0,0, .5);
}
*/

.modal-content {
    background: #ffffff;
    border-radius: 12px;
    cursor:auto;
    margin: 14%;
    margin-left: auto;
    margin-right: auto;
    padding: .4rem 1rem;
    width:80%;
    z-index: 20004;
}

.modal-header {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .1rem;
    padding: 4px 0;
}

.modal-header .modal-close {
	cursor: pointer;
    float: right;
    font-size: 1rem;
	font-weight:700;
    background: #f7f7f7;
    border:1;
    outline: 0;
    padding: 2px 6px;
    border-radius: 50%;
}

.modal-body {
    color: #7b7b7b;
    display:flex;
    flex-wrap:wrap;
    flex-direction:row;
    justify-content: space-between;
    padding-left:1rem;
}

.modal-body .modal-section {
    height: auto;
    padding:1.5rem .2rem 1.6rem .2rem;
    width: 26%;
}

.modal-section .modal-section-title {
    font-size:.5rem;
    letter-spacing: .1rem;
    padding-left:.2rem;
}

.modal-footer {
    background-color:white;
    border-top:1px solid grey;
    color:grey;
    padding:  12px 4px 8px 4px;
    letter-spacing: .1rem;
    text-align: center;
    width:100%;
}

.modal-footer .modal-close{
	cursor:pointer;
    padding: 8px 16px;
    font-size: 1.25rem;
    border: none;
    outline: none;
    border-radius: 4px;
    color: #1a73e8;
}


@keyframes modal-open {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}





