/* ///////////////////////////////// */
/*               Events              */
/* ///////////////////////////////// */

@media only screen and (min-width: 0px) {
    @keyframes spinner {
        0% {
          transform: translate3d(-50%, -50%, 0) rotate(0deg);
        }
        100% {
          transform: translate3d(-50%, -50%, 0) rotate(360deg);
        }
      }
    .spin::before {
        top: 20%;
        animation: 1.5s linear infinite spinner;
        animation-play-state: inherit;
        border: solid 5px #cfd0d1;
        border-bottom-color: #c9301c;
        border-radius: 50%;
        content: "";
        height: 40px;
        position: absolute;
        left: 50%;
        transform: translate3d(-50%, -50%, 0);
        width: 40px;
        will-change: transform;
      }
      .no-spinner {
        display: none;
      }
      div {
        scroll-margin-top: 4rem;
      }
      picture {
        display: flex;
        align-items: center;
        justify-self: center;
      }
      main {
        margin-top: 4rem;
        padding: 2rem 1rem 3.5rem 1rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        min-height: 95vh;
        height: auto;
        width: 100%;
        font-size: 1rem;
    }
    
    .main > div {
        height: 100%;
        width: 100%;
        max-width: 1100px;
        background-color: #fff;
        border-radius: 2rem;
        margin: 0rem;
    }
    
    .main div .bottom {
        margin-bottom: 2.75rem;
    }

    .main > div > hr {
        margin-bottom: 2.5rem;
    }
    
    h1 {
        margin: 0rem 0rem 2rem 0rem;
        font-size: 3.5rem;
    }
    
    h2 {
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 1rem;
        font-weight: bolder;
        line-height: 1.5;
        margin-bottom: .5rem;
    }
    
    main a {
        display: block;
        color: white;
        font-weight: 500;
        padding: .5rem .5rem;
        border-radius: .5rem;
        color: rgb(187, 48, 29);
        border: .15rem solid rgb(187, 48, 29);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#42a5f5",endColorstr="#68bb6a",GradientType=1);
        width: 98%;
        max-width: 8rem;
        text-align: center;
    }
    .events-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    #events-container > div:nth-child(1){
        border-left: .33rem solid rgb(187, 48, 29);
    }
    .events-container .event {
        display: flex;
        flex-direction: row;
        align-items: center;
        border-top: .1rem solid rgb(199, 199, 199);
        border-right: .1rem solid rgb(199, 199, 199);
        border-left: .1rem solid rgb(199, 199, 199);
        border-bottom: .1rem solid rgb(199, 199, 199);
        width: 100%;
        min-height: 6rem;
        background-color: rgb(241, 241, 241);
    }
    .date {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: 5rem;
        padding: 1rem 0rem;
    }
    .date > .month {
        text-transform: uppercase;
    }
    
    .date > .day {
        font-weight: bold;
        font-size: 1.5rem;
    }
    
    .event-info {
        font-size: .8rem;
        line-height: 1.5;
        padding: 1.5rem 0rem 1.6rem 0rem;
        padding-right: .75rem;
        width: 80rem;
    }
    .event-info > div {
        display: flex;
        flex-direction: row;
    }
    .event-info > .location {
        margin-bottom: 1rem;
        margin-right: .75rem;
    }
    .time {
        margin-bottom: .25rem;
    }
    .event-info img {
        margin-right: .5rem;
    }
    .event-image {
        display: none;
        justify-content: center;
        align-items: center;
        width: (16/9 * 90vw);
        height: 100%;
        border-radius: .75rem;
    }
    .event-img {
        align-self: center;
        justify-self: center;
        margin: 0rem 1.5rem;
        height: 117px;
        width: 209px;
        object-fit: cover;
        border-radius: .75rem;
        -webkit-box-shadow: 0px 1px 63px -25px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 1px 63px -25px rgba(0,0,0,0.75);
        box-shadow: 0px 1px 63px -25px rgba(0,0,0,0.75);
    }
}

@media only screen and (min-width: 768px) {
    .spin::before {
        top: 35%;
    }
    .main > div {
        padding: 0rem 3rem 3rem 3rem;
    }
    .event-image {
        display: flex;
    }
    .date {
        min-width: 6rem;
    }
    .event-info {
        font-size: .9rem;
        width: 40rem;
    }
}

@media only screen and (min-width: 1024px) {
    .event-info {
        font-size: .9rem;
        width: 100rem;
    }
}

@media only screen and (min-width: 1300px) {  
}

.main {
    background-color: #fff;
}