@charset "utf-8";


/*누리웹 모든*/

* {
    margin: 0;
    padding: 0;
}

/*풀페이지 민하이 제안*/
html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: "Pretendard", "맑은 고딕", "Malgun Gothic", 돋움, Dotum, Arial, "Apple Gothic", sans-serif;
}

a {
    text-decoration: none;
}

img {
    border: 0;
}

li {
    list-style: none;
}



.event_all {
  height: 100%;
  display: flex;
  flex-direction: column;
}


/*인트로 시작*/

.intro_bg {
  margin-top: -66px;
  min-width: 320px;

  background: url(../../../img/event_img/main_gall_img_event.png) no-repeat center center;
  background-size: cover;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}


.intro_wrap {
  margin: 0 auto;
  max-width: 1150px;
  height: 400px;

  padding: 0 15px 0 15px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


.intro_box {
  display: flex;
  align-items: center;
  height: 100%;
}

.intro_box > h2 {
  font-size: 40px;
  font-weight: 900;
  line-height: 70px;  
  margin: 50px 0 10px 0;
  color: #434343;
  word-break: keep-all;

  /*중간맞추기*/
  text-align: center;
  display: block;

  text-shadow: 0px 0px 30px rgba(255, 255, 255, 0.9);
}


@media only screen and (min-width: 0px) and (max-width: 650px) {

  .intro_box {
    justify-content: center;
  }

  .intro_box > h2 {
    font-size: 30px;
    font-weight: 900;
    line-height: 70px;  
    margin: 50px 0 10px 0;
    color: #434343;
    word-break: keep-all;
  
    /*중간맞추기*/
    text-align: center;
    display: block;
  }
  
}




/*************************
*
*
* 이벤트 피드
*
*
**************************/


/*인트로 시작*/

.event_feed_bg {
  padding: 40px 0px 40px 0px;
  flex: 1 0 auto;
  min-width: 320px;
}


.event_feed_wrap {
  margin: 0 auto;
  max-width: 1150px;
  width: 100%;
  height: auto;

  padding: 0 15px 0 15px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.event_feed_box {
  display: flex;
  flex-direction: column;
  height: 100%;
}


.event_feed_content_item_resourse_all {
  height: 100%;
}

.event_feed_container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event_feed_content {
  width: 100%;
}


#event_feed_filter_select {
  margin-left: 5px;
}


.event_feed_count_filter {
  font-size: 13px;
  font-weight: 700;
  color: #434343;
  margin-right: 7px;
}

.event_feed_count_line {
  font-size: 13px;
  font-weight: 700;
  color: #434343;
  margin-right: 7px;
  border-radius: 5px;
}


/*컨텐츠 박스*/

.event_feed_content_box {
  flex-grow: 1;
}

.event_feed_content_item {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.event_feed_content {
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
}

.event_feed_content > a {
  position: relative;
}

.custom_grid {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.custom_grid_item {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-bottom: 15px;
}

.custom_grid_item:last-child {
  margin-bottom: 0px;
}


/*grid top*/
.grid_top_left {
  width: calc(100% - 15px);
  height: auto;
  margin-right: 15px;
}

.grid_top_right {
  width: 400px;
  height: auto;
  flex-shrink: 0;
}



/*grid bottom*/
.grid_bottom_left {
  width: 400px;
  height: auto;
  flex-shrink: 0;
  margin-right: 15px;
}


.grid_bottom_right {
  width: calc(100% - 15px);
  height: auto;
  display: flex;
}






.content_status {
  position: absolute;
  padding: 15px;

  top: 0px;
  z-index: 3;
  margin-right: auto;
}

.content_status_text {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.content_status_text > h3 {
  display: block;
  padding: 5px 10px 5px 10px;
  backdrop-filter: blur(20px);
  background: rgba(209, 209, 209, 0.1);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;

  font-size: 15px;
  line-height: 26px;
  font-weight: 700;
  color: #ffffff;

  flex-shrink: 0;
}



.content_status_active > .content_status_text > h3 {
  background: rgb(230, 69, 69);

  font-size: 15px;
  line-height: 26px;
  font-weight: 700;
  color: #ffffff;
}

.content_status_upcoming > .content_status_text > h3 {
  background: rgb(239, 144, 0);

  font-size: 15px;
  line-height: 26px;
  font-weight: 700;
  color: #ffffff;
}

.content_status_closed > .content_status_text > h3 {
  background: rgb(117, 117, 117);

  font-size: 15px;
  line-height: 26px;
  font-weight: 700;
  color: #ffffff;

  display: block;
}



.content_tit {
  padding: 15px;
  border-top: 1px solid #eaeaea;
  backdrop-filter: blur(20px);
}


.content_tit > h3 {
  font-size: 20px;
  line-height: 30px;
  font-weight: 900;
  color: #434343;
  overflow: hidden;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  position: relative;
  margin-right: auto;
}


.content_tit > h4 {
  font-size: 14px;
  font-weight: 500;
  color: #a82828;
  display: block;
  margin-bottom: 8px;
}


.content_tit > p {
  font-size: 14px;
  font-weight: normal;
  color: #434343;
  overflow: hidden;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  position: relative;
  margin-right: auto;
  margin-top: 5px;
}





.content_photo {
  position: relative;
  height: 380px;
}

.content_photo > img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover; /* background-size: cover 와 동일 */
  object-position: center; /* 중앙 정렬 */

}

#event_feed_filter_month {
  margin-left: 5px;
}

#event_feed_go_back {
  margin-bottom: 15px;
}

#event_feed_go_back_last {
  margin-top: 15px;
}





@media only screen and (min-width: 0px) and (max-width: 862px) {

  .custom_grid_item {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 15px;
  }


  .grid_top_left {
    width: calc(100%);
    height: auto;
    margin-right: 0px;
    margin-bottom: 15px;
  }

  .grid_top_right {
    width: 100%;
    height: auto;
    flex-shrink: 0;
  }


  .grid_bottom_left {
    width: 100%;
    height: auto;
    flex-shrink: inherit;
    margin-right: 0px;
    margin-bottom: 15px;
  }

  .grid_bottom_right {
    width: calc(100%);
    height: auto;
  }

  .content_photo {
    position: relative;
    padding-bottom: 56.8%;
    height: inherit;
  }

  .content_photo > img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: inherit; /* background-size: cover 와 동일 */
    object-position: inherit; /* 중앙 정렬 */
  }
}


