body{
    padding-top:+2rem;
    background-color: lavender;
}
.img-box img{
    width: 100%;height:140px;
}
.events .img-box{
    height: 50%;
}
.events .img-box img{
    height: 100%;
}
.events .card-body{
    text-align: center;
}
.modal-dialog{
}
.modal-header{
    height:4.5rem;
}
#modal-content{
    background-color: #333;
    color:deepskyblue;
    border:1px solid deepskyblue;
    border-color: deepskyblue;
}
.modal img{
    width:100%;
}
#modal-title{
    display: block;
    position:absolute;
    left:5%;
    top:1.5%;
}
.modal-index{
    display: block;
    position: absolute;
    left:47%;
    top:2.5rem;
}

#modal-body{
    padding: 0;
}
#prev, #next{
    position: absolute;
    display: block;
    height: 100%;
    width: 35%;
    border-width: 0;
    color: black;
    cursor: pointer;
    background-color: rgba(135, 206, 235,0);
    opacity: 0.7;
}

#prev{
    left:0rem;
}
#next{
    right:0rem;
}
#left, #right{
    top:40%;
    position: absolute;
    font-size:3.5rem;
    color: deepskyblue;
    opacity: 1;
}
#left{
    left:5%;
}
#right{
    right:5%;
}
#prev:hover{
    background-color:  rgba(135, 206, 235,250);
    opacity: 0.2;
    transition: background-color 0.7s;
}
#next:hover{
    background-color:  rgba(135, 206, 235,250);
    opacity: 0.4;
    transition: background-color 0.7s;
}

.img-box{
    background-color: skyblue;
    width:100%;
    color: deepskyblue;
    font-weight: bolder;
    position: relative;
    text-align: center;
    justify-content: center;
    display: flex;
}
.img-box:hover{
    cursor:pointer;
    opacity: 0.5;
    transition: opacity 0.7s;
}
.img-caption{
    background:rgba(0,0,0,0.6);
    padding: 5px;
    border: 1px solid #333;
    border-radius:12px;
    position: absolute;
    user-select: none;
    align-self: center;
}
.flex-box{
    display: flex;
    flex-wrap: wrap;
}
.flex-box button{
    margin: 2px 0px 2px 2px !important;
    
}
.card-group{
    max-width: 100%;
    margin:0 auto;
    align-content: center;
    text-align: center;
    align-self: center;
}
.card-group .card{
    max-width:250px;
    margin: 0 auto;
}
.accordion .card-title{
    font-size: 1.02rem;
}
.save-picture{
    color: black;
}
@media screen and (max-width:363px){
    .modal-title{
        top:3%;
        font-size:1.1rem;
    }
    .modal-index{
        top:3.2%;
        left:50%;
        font-size: 1.2rem;
    }
    .card-title{
        font-size: 1.0rem;
    }
}
@media screen and (max-width:992px){
    .card-body{
        padding:1rem 0 1rem 0;
    }
    .card-group{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        
    }
    .card-group .card{
        width:50%;
        margin-bottom: 0;
        display: inline-block;
    }
    .events .card-group{
        flex-wrap: wrap;
    }
    .events .card{
        width: 100%;
    }
}
@media screen and (min-width:829px){
    .accordion .card-body{
        padding-left: 15%;
        padding-right: 15%;
    }
    
    .card-title{
        font-size: 1.1rem;
    }
}

