body {font-family: Arial, Helvetica, sans-serif;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in prop */
    z-index: 100000; /* Sit on top */
    padding-top: 100px; /* 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 */
}

.div_for_close_btn_big_image{
    width: auto;
    display: block;
    text-align: -webkit-center;
}

.div_for_close_btn_big_image p{
    font-size: 28px;
    padding: 5px 10px;
    background: var(--black-color);
    opacity: 0.5;
    color: var(--white-color);
    width: 50px !important;
    height: 50px;
    border-radius: 50%;
    z-index: 5;
}

.div_for_close_btn_big_image:hover p{
    opacity: 0.8;
}
img.modal-content{
	width: auto;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    max-width: 60% !important;
    max-height: 60% !important;
    width: auto;
    height: auto;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    overflow: hidden;
    border-radius: 21px;
}


/* 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}
}

/* The Close Button */
.close {
    color: white;
    float: left;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: var(--main-color);
    color: var(--white-color);
}

.modal-body {
    padding: 2px 16px;
    height: 50vh;
    color: var(--black-color);
    position: inherit;
    overflow: auto;
}

.modal-footer {
    padding: 2px 16px;
    background-color: var(--main-color);
    color: var(--white-color);
    font-size: 10px;
    overflow: hidden;
}

.inside_modal_body {
    overflow: auto;
    line-height: 40px;
}