:root, [data-bs-theme=light] {
    --bs-body-font-size: 0.85rem;
}
[v-cloak] > * { display:none; }
[v-cloak]::before {
  content: " ";
  display: block;
  position: absolute;
  width: 80px;
  height: 80px;
  background-image: url(../images/loader.svg);
  background-size: cover;
  left: 50%;
  top: 50%;
}
body {
	font-family: "Open Sans", Helvetica, sans-serif;
}
header {
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.2);
}
.header-top {
    background: #666;
    text-align: center;
    color: #FFF;
    padding: 8px;
}
.fa-facebook-square {
    color: #316FF6;
}
.fa-instagram {
    color: #cd486b;
}
/******** event block ***********/
#event-views {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
.event-view-col {
    flex: 1 0 auto;
    max-width: 100%;
    padding: 0 12px;
	margin-bottom: 16px;
	width: 100%;
}
.event {
    display: flex;
	flex-direction: column;
    flex-wrap: wrap;
	margin: 0 -4px;
    box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
	font-size: 14px;
	min-height: 260px;
	height: 100%;
	background-color: #FFF;
}
.event-title,.grid-view .event-title {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.detail-view .event-img{
    padding: 8px;
    flex: 1 0 auto;
    max-width: 100%;
	height: 250px;
	position: relative;
}
.event-img img{
	height: auto;
    max-height: 250px;
    padding: 8px;
    max-width: 100%;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: auto;
}
.event-desc, .grid-view .event-desc {
    padding: 8px;
    flex: 1 0 auto;
	display: flex;
    max-width: 100%;
	flex-direction: column;
    justify-content: space-between;
}
.grid-view .event-info > *{
	flex: 0 0 auto;
    width: 100%;
}
.grid-view .event {
	flex-direction: column;
}
.grid-view .event-img{
    padding: 8px;
    max-width: 100%;
	height: 250px;
	position: relative;
}
.table-view .event-img,
.table-view .event-info {
    display: none;
}
.table-view .event-desc {
    max-width: 100%;
}
.table-view .event {
    min-height: auto;
}
.table-view  .event-btns {
	margin-top: 0 !important;
}
/******** footer *************/
.main-footer {
    background: #333;
    color: #FFF;
    text-align: center;
    padding: 15px;
}

@media (min-width: 768px){
	.grid-view .event-view-col {
		max-width: 50%;
	}
	.event {
		flex-direction: row;
	}
	.event-desc{
		max-width: 80%;
	}
	.event-img {
		max-width: 20%;
	}
	.detail-view .event-address{
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.event-title {
		-webkit-line-clamp: 2;
	}
}
@media (min-width: 992px){
	.grid-view .event-view-col {
		max-width:  33.33%;
	}
}
@media (min-width: 1200px){
	.grid-view .event-view-col {
		max-width: 25%;
	}
}
