/* 
Theme Name: Golazo Theme - Kids Run
Theme URI: https://golazo.com
Description: Hello, thank you for using our theme. For any help or support, please feel free to contact us at tech@golazo.com
Author: Golazo
Author URI: https://golazo.com
Template: golazo-theme
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: golazo-theme-kidsrun
*/

/*
    Add your custom styles here
*/

.intro{
    min-height: 750px;
    height: calc(100vh - 90px);
    background: none;
}

.intro .intro-title img {
    max-height: 340px;
}

/* Calendar List */

.glz-eventscalendar-list{
    overflow: auto;
}

.glz-eventscalendar-list table thead th{
    background-color: #D52B1E;
    color: #ffffff;
    text-align: left;
}

.glz-eventscalendar-list table thead th.th-register,
.glz-eventscalendar-list table thead th.th-website,
.glz-eventscalendar-list table tbody td.td-register,
.glz-eventscalendar-list table tbody td.td-website{
    text-align:  center;
}

.glz-eventscalendar-list table tbody td a.btn{
    background-color: #D52B1E;
    color: #ffffff;
    border-radius: 30px 30px 30px 30px;
    padding: 10px 20px;
}

.glz-eventscalendar-list table tbody td a.btn i{
    margin-right: 5px;
}

/* Calendar tiles */

.glz-eventscalendar-tiles .glz-event{
    width: 30%;
    float: left;
    border: 1px solid #eee;
    margin: 15px;
    min-height: 200px;
    position: relative;
}

.glz-eventscalendar-tiles .glz-event a:hover .overlay{
    opacity:.95;
    filter:alpha(opacity=95)
}

.glz-eventscalendar-tiles .glz-event a:hover .overlay-gradient{
    display:none
}

.glz-eventscalendar-tiles .glz-event .overlay{
    z-index: 2;
    background: #D52B1E;
    text-align: center;
    padding: 20px 0;
    color: #fff;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    position: absolute;
    height: 100%;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity .25s ease-in-out;
    -o-transition: opacity .25s ease-in-out;
    transition: opacity .25s ease-in-out;
}

.glz-eventscalendar-tiles .glz-event .overlay-gradient {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    position: absolute;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.glz-eventscalendar-tiles .glz-event .event-content{
    padding: 25px;
    position: absolute;
    bottom: 0;
}

.glz-eventscalendar-tiles .glz-event .event-content .event-name {
    margin-top: 15px;
}

.glz-eventscalendar-tiles .glz-event .event-content .event-name h5{
    font-size: 18px;
    margin-top: 4px;
    margin-bottom: 0;
    color: #ffffff;
}

.glz-eventscalendar-tiles .glz-event .event-date{
    font-size: 17px;
    font-weight: 700;
    color: #ccc;
}

.glz-eventscalendar-tiles .glz-event .event-distance {
    display: inline;
    padding: 0.2em 0.6em 0.3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25em;
    background: #D52B1E;
}

.glz-eventscalendar-tiles .glz-event .overlay .event-buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding:0 20px;
    height:100%;
}

.glz-eventscalendar-tiles .glz-event .overlay .event-buttons .btn{
    background: #009640;
    border-radius: 30px;
    padding: 15px 30px;
    display: flex;
    flex-direction: column;
    flex: 2;
}


.glz-eventscalendar-tiles .glz-event .overlay .event-buttons .btn i{
   display: block;
    margin-bottom: 5px; 
}

.glz-eventscalendar-tiles .glz-event .event-badge{
    background: #009640;
    position: absolute;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    text-transform: uppercase;
    z-index: 3;
    height: 35px;
    margin-top: -17.5px;
    padding: 3px 7px;
    border-radius: 30px;
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    line-height: 30px;
}


@media only screen and (max-width: 768px){
    .intro{
        min-height:  450px;
    }
    .intro .intro-title img{
        display: block;
    }

     .glz-eventscalendar-tiles .glz-event{
        width: 100%;
        margin: 0;
        margin-bottom: 20px;
    }
}
