#event {
	margin-top: 15px;
}

#event .publish {
	float: right;
}

#event .card {
	padding-left: 15px;
}

#event .card ul {
	margin : 10px 0;
}

#event .card ul.category li,
#event .card ul.territory li,
#event .card ul.place li {
	display: inline-block;
	font-style: italic;
}

#event .card ul.category li:after,
#event .card ul.territory li:after,
#event .card ul.place li:after {
	content: ' |';
}
#event .card ul.category li:last-child:after,
#event .card ul.territory li:last-child:after,
#event .card ul.place li:last-child:after {
	content: '';
}

.pj-events-calendar-panel table.calendar td.calendar-day-event div.day-number span.day {
    font-weight: bold;
    font-size: 140%;
}

.pj-events-calendar-panel {
    margin-top: 20px;
    margin-left: 5%;
    width: 50%;
}

 /* Popup container */
.pj-events-calendar-panel table.calendar .calendarpopup {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* The actual popup (appears on top) */
.pj-events-calendar-panel table.calendar .calendarpopup .calendarpopuptext {
    visibility: hidden;
    width: 160px;
    background-color: #777;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;
}

.pj-events-calendar-panel table.calendar .calendarpopup .calendarpopuptext a,
.pj-events-calendar-panel table.calendar .calendarpopup .calendarpopuptext a:hover,
.pj-events-calendar-panel table.calendar .calendarpopup .calendarpopuptext a:active,
.pj-events-calendar-panel table.calendar .calendarpopup .calendarpopuptext a:visited
{
    color: #fff;
}

/* Popup arrow */
.pj-events-calendar-panel table.calendar .calendarpopup .calendarpopuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #777 transparent transparent transparent;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) */
.pj-events-calendar-panel table.calendar .calendarpopup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s
}

.pj-events-results {
    text-align: center;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}

#event .content {
	clear: both;
	margin-bottom: 20px;
}
@media all and (max-width: 600px) {
	#event .image img{
		max-width: 100%;
		height: auto;
	}
}
