/* -----------------------------------------------------------------------------------------------
	Event 
-------------------------------------------------------------------------------------------------- */

#event {
    margin-bottom: 40px;
}
.event_mainimage {
    margin-bottom: 40px;
}
.event_mainimage img {
    width:100%;
}

.event_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around; 
    margin-bottom: 40px;
}
.event_image {
    flex: 0 1 auto;
    width: 45%;
}
.event_information {
    flex: 0 1 auto;
    width: 45%;
}


/* -----------------------------------------------------------------------------------------------
	Event  Menu
-------------------------------------------------------------------------------------------------- */
/* event index page */ 
.event_indexpage {
    clear: both;
	overflow:hidden;
       
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around; 
}
.eventblock {
    flex: 0 1 auto;
    width: 31%;
	position: relative;
	margin-bottom: 30px;
	overflow:hidden;
	cursor:pointer;
}
.eventblock_img {
    position: relative;
    margin-bottom: 0;
}
.eventblock_img:before{
    content: "";
    display: block;
    padding-top: 100%;
  }
.eventblock_img img {
  position: absolute;
  width: 100%;
  height: 95%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  object-fit: cover;
  border: 1px solid #cccccc;
  padding: 3px;
}

.eventblock_info {
    background-color: ivory;
    padding: 10px;
    border-radius: 6px;
	text-align: left;
}
.eventblock_info h5 {
    margin: 0 0 1rem 0;
    font-size: 1.6rem!important;
}
.eventblock .btn_submit {
    padding: 4px 0;
    margin-bottom: 6px;
}



/* closed */ 
.eventblock_closed {
    flex: 0 1 auto;
    margin-bottom: 40px;
    width: 23%;
    background: #999999;
}
.eventblock_closed .eventblock_img {
    opacity: 0.9;
}
.eventblock_closed h5 {
    color: #333333;
    margin: 0.5rem;
    font-size: 1.5rem!important;
}

.eventidnex_label_closed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    color: #fff;
    font-size: 1.6rem;
    background-color: rgba(0,0,0, 0.8); 
    padding: 3px 0;
    text-align: center;
}


.td_value {
    text-align: right!important;
    font-weight: bold;
    font-size: 1.8rem;
}






@media screen and (max-width: 480px) {


.event_wrap {
    display: block;
}
.event_image {
    flex: none;
    width: 60%;
    margin: 0 auto 20px auto;
}
.event_information {
    flex: none;
    width: 100%;
}


.eventindex_each {
    width: 48%;
    
}
.eventblock {
    width: 49%;
}
.eventblock_title {
    font-size: 1.6rem;
}
}

