html, body {
  background-image: url(/themes/event/blessing/blessing2021/images/bodybg.png);
  background-repeat: repeat;
  background-position: bottom center;
  width: 100%;
  height: 100%;
}


/* btn setting */
.event-btn {
  display: inline-block;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  border-radius: 4px;
  position: relative;
  background-color: #333333;
  border-color: #333333;
  border-style: solid;
  border-width: 2px;
  color: white;
}
.event-btn.btn-s {
  font-size: 13px;
  padding: 2px 15px 2px 20px;
  line-height: 12px;
  height: 20px;
}
.event-btn.btn-m {
  font-size: 14px;
  padding: 3px 20px;
  letter-spacing: 0.5px;
  line-height: 2;
  border: 2px solid #fa7173;
}
.event-btn.btn-l {
  width: 100%;
  max-width: 251px;
  height: 48px;
  padding-left: 35px;
  padding-right: 35px;
}


.event-btn.btn-orange { background-color: #cb854d; border-color: #cb854d;color:white;}
.event-btn.btn-orange:hover { background-color: #f1d288; border-color: #f1d288;color:white;}
.event-btn.btn-border-orange { color:#cb854d; border-color: #cb854d; background-color: transparent;}
.event-btn.btn-border-orange:hover { color:white; border-color: #f1d288; background-color: #f1d288;}

/*menu*/

#event_menu {
  width: 100%;
  height: 45px;
  background-color: #f2d288;
}
#event_menu > * {
  height: 100%;
}

#event_menu .mid-page {
  height: 100%;
}

#event_menu .menu-item {
  height: 45px;
  margin: 0px 10px;
  font-weight: bold;
}
#event_menu .menu-item:not(:first-child) a {
  color: #375754;
  padding-left: 25px;
}

#event_menu .menu-item:not(:first-child) a:hover,
#event_menu .menu-item:not(:first-child) a.selected {
  color:#c0424d;
  background:url(/themes/event/blessing/blessing2021/images/menu/menu-here.png) no-repeat left center;
}

#event_menu .fb-widget {
  padding-top: 8px;
}

@media (max-width: 820px) {
  #event_menu .menu-item a {
    margin-left: 3px;
    margin-right: 3px;
  }
}

@media (max-width: 750px) {
  #event_menu .menu_share_fb {
    position: absolute;
    top: 45px;
    z-index: 1;
    right: 0px;
  }
}

@media (max-width: 540px) {
  #event_menu .menu-item a{
    padding-left: 0px;
    margin: 0 10px 0px 0px;
  }
  #event_menu .menu-item:not(:first-child) a {
    padding-left: 0px;
  }

  #event_menu .menu-item a:hover, #event_menu .menu-item a.selected {
    background-image: none !important;
  }
}
@media (max-width: 440px) {
  .menu-item .ttlogo {
    width: 65px;
    margin-top: 3.25px;
    margin-left: -5px;
  }
  .menu-item.ttlogo>img{
    width: 100%;
  }
  #event_menu .menu-item {
    margin: 0px 5px;  
  }
  #event_menu .menu-item a{
    padding-left: 0px;
    margin: 0 0px 0px 0px;
  }
}


/* event_home */
#event_home {
  width: 100%;
  height: 397px;
  background: url(/themes/event/blessing/blessing2021/images/banner/home-banner-bg.png) no-repeat;
  background-position: 42%;
  position: relative;
}
@media (max-width: 540px) {
  #event_home {
    background-image: url(/themes/event/blessing/blessing2021/images/banner/home-banner-bg-mobile.png);
    background-position: center;
  }
}

#event_home .home_pro_btn {
  width: 100%;
  position: absolute;
  bottom: 0px;
  height: 169px;
}

#event_home .home_pro_btn a {
  background: url(/themes/event/blessing/blessing2021/images/banner/home-product.png) no-repeat;
  background-position: calc(43% + 20px);
  width: 100%;
  height: 100%;
  display: block;
}
#event_home .home_pro_btn a:hover {
  background-image: url(/themes/event/blessing/blessing2021/images/banner/home-product-hover.png);
}
@media (max-width: 540px) {
  #event_home .home_pro_btn a, #event_home .home_pro_btn a:hover {
    background-image: none;
  }
}


#event_home_btn {
  /*background: url(/themes/event/circleday/circleday2021/images/home/home-collection-bg.png) top center;*/
  height: 85px;
  text-align: center;
  background-size: contain;
}


#event_home_btn h4{
  color: #333;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
  vertical-align: middle;
  height: 76px;
}

#event_home_btn h4 a {
  color: #375754;
  text-decoration: underline;
  margin: 0px 10px;
}
@media (max-width: 800px) {
  #event_home_btn h4 {
    align-content: center;
    justify-content: center;
  }
}
@media (max-width: 540px) {
  #event_home_btn {
    height: 170px;
  }
  #event_home_btn .page-middle {
    -webkit-flex-direction: column-reverse;
    -moz-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
  }
  #event_home_btn h4 {
    margin-top: -10px;
    justify-content: center;

  }
}

#event_home_btn .home-btn {
  display: inline-block;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  border-radius: 4px;
  position: relative;
  background-color: #cb854d;
  border: 2px solid #cb854d;
  width: 100%;
  max-width: 250px;
  height: 48px;
  font-size: 17px;
  margin: 12px 5px;
  box-shadow: 1px 1px 3px 1px rgba(51, 51, 51, 0.3);
}

#event_home_btn .home-btn:hover {
  background-color: #f1d288;
  border-color: #f1d288;
}

#event_home_btn .home-btn a {
  background: none;
  color: #fff;
  font-weight: bold;
  display: block;
  line-height: 44px;
  border-radius: 4px;
  text-decoration: none;
}

#event_home_btn .home-btn a span:before {
  content: "";
  border-left: 7px solid white;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  position: absolute;
  margin: 16px 0px 0px -16px;
}

.event_list_content {
  height: 540px;
  background: url(/themes/event/blessing/blessing2021/images/event_list_content_bg.png) no-repeat bottom center;
}

.event_display {
  display: block;
  width: 225px;
  height: 231px;
  padding-top: 40px;
}

.event_cover {
position: relative;
}
.event_cover_top {
  width: 225px;
  height: 206px;
  background-size: 140%;
  background-image: url(/themes/event/blessing/blessing2021/images/cover_create.png);
  background-position: 55% 70%;
  z-index: 1;
}

.event_cover img {
  width: 216px;
  height: 162px;
  object-fit: cover;
  object-position: top;
  z-index: 2;
  position: absolute;
  left: 2px;
  top: 11px;
}

.home_list .event_info {
  background-image: url(/themes/event/blessing/blessing2021/images/info_bg.png);
  background-repeat: no-repeat;
  background-position: center;
  height: 150px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  margin-top: 45px;
}


/*for all title parent*/
.title-parent {
  position: relative;
  margin-top: 25px;
}
.title-parent .en {
  position: absolute;
  color: #cb854d;
  top: -23px;
  font-weight: bold;
  left: 0px;
  right: 0px;
  margin: auto;
  text-align: center;
}
.title-parent .title {
  margin-bottom: 0px;
  background-color: #cb854d;
  color: white;
  padding: 2px 25px;
  border-radius: 15px;
  font-size: 14px;
}

#event_content .nav a {
  color: #cb854d;
}
#event_content .nav a:hover {
  color: #f1d288;
}
#event_content .nav span {
  color: #cb854d;
}

/* #event_content .nav a:after{
  content: "|";
  margin: 0px 10px 0px 10px;
} */
#event_content .nav .no-bar:after {
  content: "";
  margin: 0px 5px;
}
#event_content .nav .first-line {
  border-bottom: 3px double #cb854d;
  padding-left: 10px;
  margin-bottom: 5px;
}
@media (max-width: 750px) {
  #event_content>div {
    justify-content: center;
    flex-direction: column;
    align-items: center!important;
  }
  #event_content>div>.mini-hide {
    display: none;
  }
  #event_content .nav .first-line {
    margin-top: 15px;
    align-self: center;
  }
}

.card-block {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-size: contain;
  vertical-align: middle;
}
.card-block[card=card01] { background-image: url(/themes/event/blessing/blessing2021/images/card/t/card01.png); }
.card-block[card=card02] { background-image: url(/themes/event/blessing/blessing2021/images/card/t/card02.png); }
.card-block[card=card03] { background-image: url(/themes/event/blessing/blessing2021/images/card/t/card03.png); }
.card-block[card=card04] { background-image: url(/themes/event/blessing/blessing2021/images/card/t/card04.png); }
.card-block[card=card05] { background-image: url(/themes/event/blessing/blessing2021/images/card/t/card05.png); }
.card-block[card=card06] { background-image: url(/themes/event/blessing/blessing2021/images/card/t/card06.png); }
.card-block[card=card07] { background-image: url(/themes/event/blessing/blessing2021/images/card/t/card07.png); }
.card-block[card=card08] { background-image: url(/themes/event/blessing/blessing2021/images/card/t/card08.png); }

/* inner header */
#event_inner_header {
  width: 100%;
  height: 195px;
  background: url(/themes/event/blessing/blessing2021/images/banner/inner_banner2000.png) no-repeat top center;
  background-position-x: 50%;
}
@media (max-width: 540px) {
  #event_inner_header {
    height: 185px;
    background-image: url(/themes/event/blessing/blessing2021/images/banner/inner_banner2000_mobile.png);
    background-position: center;
  }
}


/* event collection list */
#event_content .collect-block {
  background: url(/themes/event/blessing/blessing2021/images/collect-block-bg.png) no-repeat right center;
  background-position:90%;
}

#event_content .event_colletion-list {
  width: 100%;
  flex:1;
}

#event_content .event_colletion-list h3 {
  font-weight: bold;
  letter-spacing: 2px;
  color: #cb854d;
  text-align: left;
}

@media (max-width: 750px) {
  #event_content .event_colletion-list h3 {
    text-align: center;
  }
  #event_content .collect-block {
    height: 535px;
    background-position: center;
    text-align: center;
  }
}
.event_colletion_btn {
  padding: 25px 40px;
}
.event_colletion_btn a {
  background: url(/themes/event/blessing/blessing2021/images/collection_btn.png) no-repeat top right;
  width: 160px;
  height: 160px;
  display: block;
}
.event_colletion_btn a:hover {
  opacity: 0.7;
}
.event_colletion_btn img {
  width: 160px;
  height: 160px;
}


/* start */
.event_step h5 {
  font-size: 18px;
  font-weight: bold;
  color: #375754;
  line-height: 1.5;
}

#event_content .canvas.collect-steps {
    width: 40%;
    max-width: 450px;
    position: relative;
}
#event_content .collect-steps {
    width: 100%;
    height: auto;
    padding: 30px 15px;
    box-sizing: border-box;
    border-radius: 6px;
}
.canvas canvas {
    width: 100%;
}
#yui_img_wrap #yui_img {
  pointer-events: none;
}
@media (max-width: 750px) {
  #event_content .collect-steps {
    flex: 3;
 }
  #event_content .canvas.collect-steps {
    flex: 4;
  }
  #event_content .collect-steps {
    width: calc(100% - 20px);
    padding: 10px;
  }
}

@media (max-width: 540px) {
  .step_form {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  #event_content .canvas.collect-steps {
    width: 100%;
    max-width: initial;
    margin: 0px;
  }
  #event_content .canvas.collect-steps canvas {
    max-width: 375px;
    margin: auto;
    margin-left: auto;
    width: 100%;
    display: block;
  }
}

#canves_click_area {
  position: absolute;
  top: 0%;
  width: 100%;
  height: 100%;
  left: 0%;
  cursor: pointer;
}

.event_step td {
  line-height: 2.5;
  padding: 10px 0;
}

.event_step .start-ipt{
  line-height: 2.5;
}

textarea.event_box {
  width: 100%;
  max-height: 212px;
  max-width: 330px;
  margin: 0px;
}

input[name=submit_preview].disabled{
  pointer-events: none;
  opacity: 0.3;
}

#txt-msg:not(:empty) {
  margin: 5px 0px 10px;
  color: red;
}


/**/
.photo-frame {
  margin: 0 auto;
  position: absolute;
  top: -300px;
  z-index: 999;
  width: 100%;
  background-color: rgba(0,0,0,0.78);
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
  border-radius: 3px;
}
.step_form[type="views"] .photo-frame, .step_form[type="none"] .photo-frame {
    display: none;
}


/* info */
.info-big-hide {
  display: none;
}
@media (max-width: 675px) {
  .info-big-hide {display: block;}
  .info_mini_hide {display: none;}
}
.event_info_right {
  padding: 25px 0;
  margin-left: 18px;
}


.info_user_title {
  font-size: 15px;
  line-height: 24px;
  color: #6c6c6c;
  font-weight: bold;
  padding-left: 5px;
  letter-spacing: 1px;
}

.event_info_date {
  width: 100%;
  border-radius: 3px;
  padding: 15px 15px;
  background: url(/themes/event/circleday/circleday2021/images/home/info_date_bg.jpg) repeat center;
  box-shadow: 1px 1px 1px 1px rgba(61,42,108,0.2);
}
.event_info_date h3 {
  color: black;
  font-size: 24px;
  line-height: 1.5;
  border-bottom: 3px double #3d2a6c;
}
.event_info_date p {
  padding-top: 15px;
}

.user_invite .share_box {
  padding: 15px;
  border-radius: 4px;
  margin: 10px 0;
  color: #333;
  line-height: 2;
  text-align: center;
}

.arrow_box {
  position: relative;
  background: rgba(140, 203, 177, 0.7);
  box-shadow: 1px 1px 1px 1px rgba(61,42,108,0.2);
}
.arrow_box:after {
  right: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(0, 0, 0, 0);
  border-right-color: rgba(140, 203, 177, 0.7);
  border-width: 20px;
  margin-top: -20px;
}

.event_fin_fb {
  margin: 1px 0 1px 5px;
  display: inline-block;
  height: 27px;
  padding: 0 5px;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 2;
  border-radius: 4px;
  cursor: pointer;
  box-sizing: border-box;
  border: 1px solid #4B68B8;
  background: #4B68B8;
  color: #fff!important;
}
.event_fin_fb:hover {
  opacity: 0.7;
}

@media (max-width: 750px){
  .user_invite {
    margin-top: 30px;
  }
  .arrow_box:after {
    right: initial;
    top: 7px;
    border-bottom-color: rgba(140, 203, 177, 0.7);
    border-right-color: transparent;
    border-width: 0px 10px 13px 10px;
    left: 20%;
  }
}

/* gallery */
#event_list .event_list_content_ul {
  margin: 0 auto;
  background: url(/themes/event/blessing/blessing2021/images/gallery-bg.png) repeat center 36px;
  background-repeat: repeat-y;
  max-width: 980px;
}
.flex-container.event_list_content_ul:after {
  display: none;
}
.event_list_content_ul li {
  margin: 0px 3px;
}

.event_list_content_ul .event_display {
  width: 160px;
  height: 210px;
  padding-top: 0px;
  position: relative;
}
.event_list_content_ul .rescue-tips {
    display: none;
    position: absolute;
    top: -55px;
    left: -4px;
    right: 11px;
    opacity: 0.8;
}
.event_list_content_ul li:hover .rescue-tips {
  display: inline-block;
}
.event_list_content_ul .rescue-tips .tips-bg {
    background-color: #000;
    color: #fff;
    padding: 5px 10px 10px 10px;
    width: 160px;
    max-height: 90px;
    overflow: hidden;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: 6px;
    line-height: 1.5;
    box-sizing: border-box;
    margin: auto;
}
.event_list_content_ul .rescue-tips .tips-bottom {
    width: 10px;
    height: 8px;
    position: absolute;
    background: url(/images/tintint/common/icon/gray_buble_bottom.png?s=1) no-repeat;
    margin-left: 47%;
}

.event_list_content_ul  .event_cover {
  height: 100%;
  width: 100%;
  /* overflow-x: hidden; */
}
.event_list_content_ul .event_cover_top {
  width: 160px;
  height: 100%;
  background-size: 110%;
  background-image: url(/themes/event/blessing/blessing2021/images/cover_create.png);
  background-position-x: center;
  background-position-y: top;
  z-index: 1;
  position: relative;
  left: -20px;
  top: -16px;
  zoom: 1.26;
}
.event_list_content_ul .event_cover img {
  width: 153px;
  height: 113px;
  object-fit: cover;
  object-position: top;
  z-index: 2;
  position: absolute;
  left: 0px;
  top: 36px;
}

.arrow-prev, .arrow-prev-disable, .arrow-next, .arrow-next-disable { position: absolute; width: 50px; height: 302px;}
.arrow-prev, .arrow-prev-disable { left: -75px; top: 70px; background: url(/themes/event/circleday/circleday2021/images/home/calendar_pre_bg.png) no-repeat; }
.arrow-prev { background-position-x: -56px; }
.arrow-prev:hover { background-position-x: -107px; }
.arrow-prev-disable { background-position-x: 0px; }
.arrow-next, .arrow-next-disable { right: -75px; top: 70px; background: url(/themes/event/circleday/circleday2021/images/home/calendar_nex_bg.png) no-repeat; }
.arrow-next { background-position-x: -51px; }
.arrow-next:hover { background-position-x: 0px; }
.arrow-next-disable { background-position-x: -98px; }


/*slot*/
.slot-endding h4 {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
}
.slot-endding p {
  text-align: center;
  font-size: 15px;
  color: #fff;
  line-height: 1.8;
  font-weight: bold;
  margin: 10px 0;
}
.event_submit_radius {
  color: #333;
  line-height: 2;
  text-align: center;
}

/* footer */

.home-footer {
  height: 50px;
  background-color: transparent;
  /*box-shadow: 0px 0px 12px -3px;*/
}
.home-footer > a, .home-footer > span {
  font-size: 13px;
  color: #36514d;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.5;
  display: block;
  width: 360px;
  box-sizing: border-box;
  padding-top: 4px;
  margin: auto;
}
.home-footer > a {
  width: 200px;
}

.cutoff-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  margin-top: 30px;
  background: #cb854d;
  padding: 3px 25px;
  display: inline-block;
  text-decoration: none;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  letter-spacing: 1px;
}