.button
{
    color: #007CFE;
    background-color: #FFFFFF;
    padding: 10px;
    border: 1px solid #007CFE;
    border-radius: 5px;
    margin: 10px 0 10px 0;
    cursor: pointer;
}

.button:focus
{
    color: white;
    background-color: #007CFE;
    padding: 10px;
    border: 1px solid #007CFE;
    border-radius: 5px;
    margin: 10px 0 10px 0;
}

.button:hover
{
    color: white;
    background-color: #007CFE;
    padding: 10px;
    border: 1px solid #007CFE;
    border-radius: 5px;
    margin: 10px 0 10px 0;
}

.info
{
    text-align: center;
    margin: 10px 0 10px 0;
    padding: 5px;
    border-radius: 3px;
}

.error
{
    background-color: #FFEAE8;
    color: #E72D01;
    border: 2px solid #E72D01;
}


.success
{
    background-color: #CCF8CC;
    color: #009900;
    border: 2px solid #009900;
}

.warning
{
    background-color: #FFF0CD;
    color: #FFB506;
    border: 2px solid #FFB506;
}

.note
{
    background-color: #CDEBFD;
    color: #26A5F5;
    border: 2px solid #26A5F5;
}

/* Toast Starts */

/* The toast - position it at the bottom and in the middle of the screen */
toast
{
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 200px; /* Set a default minimum width */
    max-width: 90vw;
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the toast */
    bottom: 30px; /* 30px from the bottom */
}

/* Show the toast when clicking on a button (class added with JavaScript) */
toast.show
{
    visibility: visible; /* Show the toast */
    /* Add animation: Take 0.5 seconds to fade in and out the toast.
	However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the toast in and out */
@-webkit-keyframes fadein
{
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein
{
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout
{
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout
{
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

/* Toast Ends */

/* Event Card Starts */

.event-container
{
    display: flex;
    width: 100%;
    height: 230px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .25), 0 8px 8px 0 rgba(0, 0, 0, .15);
    margin: 20px 0;
}

.event-container .event-bg
{
    width: 40%;
    height: 100%;
    background-size: cover;
    background: #333333 no-repeat center;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.event-container .event-info
{
    width: 60%;
    height: 100%;
    padding: 10px 20px;
}

.event-container .event-info .event-title
{
    display: flex;
    width: 100%;
    height: 50px;
    align-items: center;
}

.event-container .event-info .event-title h4
{
    font-size: 26px;
    font-family: 'Quicksand', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-container .event-info .event-desc
{
    display: flex;
    width: 100%;
    height: calc(100% - 100px);
}

.event-container .event-info .event-desc p
{
    font-size: 16px;
    font-weight: 500;
    color: #565861;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-container .event-info .event-footer
{
    display: flex;
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: space-between;
}

.event-container .event-info .event-footer .event-date p
{
    font-size: 15px;
    font-weight: 600;
    color: #333333;
}

.event-container .event-info .event-footer .event-more
{
    display: flex;
    width: auto;
    height: 100%;
    align-items: center;
}

.event-container .event-info .event-footer .event-more a.btn-more
{
    display: flex;
    width: auto;
    height: 40px;
    align-items: center;
    padding: 0 15px;
    text-decoration: none;
    color: #5f5ffc;
    font-size: 16px;
    font-weight: 600;
    border-radius: 2px;
    will-change: background;
    transition: background 0.3s, color 0.2s ease-in;
}
.event-container .event-info .event-footer .event-more a.btn-more i.material-icons
{
    font-size: 18px;
    font-weight: 500;
    padding: 0 2px;
}

.event-container .event-info .event-footer .event-more a.btn-more:hover
{
    background: #5f5ffc;
    color: #FFFFFF;
}

@media screen and (max-width: 575px)
{
    .event-container
    {
        width: 100%;
        height: 100%;
        background: #FFFFFF;
        flex-direction: column;
    }

    .event-container .event-bg
    {
        width: 100%;
        height: 250px;
        min-height: 250px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0;
    }

    .event-container .event-info
    {
        width: 100%;
    }
}

/* Event Card Ends */