/*
 * MOD_IC_EVENT_LIST
 * iCagenda by JoomliC
 * iCrounded css file for iCagenda event list module
 *
 * @layout      icrounded
 * @author      Cyril Rezé (Lyr!C) - https://www.joomlic.com
 * @version     3.14.4 2017-08-14
 * @since       1.0
 */


/*
 * EVENT LIST STYLES
 */

#ic_eventlist {
        width: 100%;
}

/*  SECTIONS  */
.ic-section {
        width: 100%;
        padding: 0;
        margin: 0;
        display: -webkit-flex;
        -webkit-flex-direction: row;
        -webkit-flex-wrap: wrap;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
}

/*  COLUMN SETUP  */
.ic-col {
        display: block;
        float: left;
        margin: 0 0.2% 4px 0.2%;
}

/*  GROUPING  */
.ic-group:before,
.ic-group:after {
        content: "";
        display: table;
}
.ic-group:after {
        clear: both;
}

/*  GRID OF COLUMNS  */
.ic-col1 {
        width: 100%;
        margin: 0 0 4px 0;
}
.ic-col2 {
        width: 49.6%;
}
.ic-col3 {
        width: 32.933333333%;
}
.ic-col4 {
        width: 24.6%;
}

/*  DISPLAY 3 COLS IF 4 SELECTED AT LESS THAN 980 PX AND MORE 768 PX */
@media (min-width: 768px) and (max-width: 980px) {
        .ic-col4 {
                width: 32.933333333%;
        }
}

/*  DISPLAY 2 COLS IF 3 OR 4 SELECTED AT LESS THAN 767 PX AND MORE 481 PX */
@media (min-width: 481px) and (max-width: 767px) {
        .ic-col3 {
                width: 49.6%;
        }
        .ic-col4 {
                width: 49.6%;
        }
}

/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */
@media only screen and (max-width: 480px) {
        .ic-col2 {
                width: 100%;
        }
        .ic-col3 {
                width: 100%;
        }
        .ic-col4 {
                width: 100%;
        }
}

/* Messages Info */
.ic-msg-no-event {
        font-size: 0.8em;
        text-align: center;
}


/* Style Background alternative */
.icrounded_eventlist {
        background: #f7f7f7;
        background: rgba(247,247,247,0.9);
        -moz-transition: all 0.3s; /* Firefox 4 */
        -webkit-transition: all 0.3s; /* Safari and Chrome */
        -o-transition: all 0.3s; /* Opera */
        transition: all 0.3s;
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        -o-border-radius: 6px;
        border-radius: 6px;
/*        padding: 2px !important; */
        font-size: 13px;
}
.icrounded_eventlist:nth-child(2n+1) {
        background: #ededed;
        background: rgba(237,237,237,0.9);
        -moz-transition: all 0.3s; /* Firefox 4 */
        -webkit-transition: all 0.3s; /* Safari and Chrome */
        -o-transition: all 0.3s; /* Opera */
        transition: all 0.3s;
}

/* Style Background hover */
.icrounded_eventlist:hover{

}

/* Style Content */
.icrounded_eventlist a {
        text-decoration: none;
}
.icrounded_eventlist a:link,
.icrounded_eventlist a:visited {
        color: #333;
        text-decoration: none;
}
.icrounded_eventlist a:hover {
        text-decoration: none;
        cursor:pointer;
}

/* Style Div */
.icrounded_eventlist .ic-inline-block {
        display: inline-block;
        margin: auto 0px;
}
.icrounded_eventlist .ic-block {
        display: block;
        margin: auto 3px;
}
.icrounded_eventlist .ic-event-div {}
.icrounded_eventlist .ic-date-img-box {
        float: left;
        text-align: center;
        margin: 4px 6px 4px 4px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -o-border-radius: 5px;
        border-radius: 5px;
        box-sizing: content-box;
}


.icrounded_eventlist .ic-date-img-box {
         width           : 55px!important;
         height          : 80px!important;
         }

.ic-date-div {
         width           : 55px!important;
         }
.icrounded_eventlist .ic-date-div {
        float: left;
        padding-top: 15%;
  }
.icrounded_eventlist .ic-day {
        line-height:1.5;
        font-size: 1.8em;
        font-weight: bold;
}
.icrounded_eventlist .ic-month {
        line-height:1.2;
        font-size: 1.3em;
        font-weight: normal;
}
.icrounded_eventlist .iceventlist-title {
        padding-top: 3px;
        line-height:1.5;
        font-size: 1.2em;
        font-weight: bold;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        -o-hyphens: auto;
        hyphens: auto;
}
.icrounded_eventlist .iceventlist-venue {
        line-height: 15px !important;
        font-size: 12px;
}
.icrounded_eventlist .iceventlist-city,
.icrounded_eventlist .ic-datetime-div {
        line-height: 1.5;
        font-size: 0.9em;
}
.icrounded_eventlist .ic-datetime-label {
        font-weight: bold;
}
.icrounded_eventlist .iceventlist-desc {
        font-size: 12px;
}


.icrounded_eventlist .iceventlist-registration-info {
}
.icrounded_eventlist .ic-reg {
        font-size: 10px;
        margin: 0 2px;
        padding: 0 5px;
        text-align: center;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        -o-border-radius: 3px;
        border-radius: 3px;
        box-shadow: 0px 0px 1px #333;
        cursor: pointer;
}
.icrounded_eventlist span.ic-reg.available {
        background: white;
        color: black;
}
.icrounded_eventlist span.ic-reg.ticketsleft {
        background: green;
        color: white;
}
.icrounded_eventlist span.ic-reg.registered {
        background: blue;
        color: white;
}

/* Features Icons */
.icrounded_eventlist .iceventlist-features-container {
        margin: 0px;
}
.icrounded_eventlist .iceventlist-feature-icon {
        float: none;
        display: inline-block;
        margin: 0px 0.5px;
}