.alert-danger{
    background-color:#f2dede;
    border-color: #ebccd1;
    color: #a94442;
    font-size: 14px;
}
.alert-success{
    background-color:#dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
    font-size: 14px;
 
}
.alert{
    padding:15px;
}
.alert, .thumbnail {
    margin-bottom: 22px;
}
#fliterList input[type='radio']{
	display:none;
}
.category label.active{
	color:#fff;
	background-color:#145073;
}
.category input[type=checkbox]:checked + span {
    background: unset;
    color: unset;
}
/* fair.css */
.fairCalendar {
    margin-top: 2rem;
    padding: 1rem;
    padding-right:190px;
    min-height: 40px;
    font-size: 1.4rem;
    color: #808980;
    border: 1px #dacebf solid;
    font-family: 'Noto Sans Japanese', sans-serif;
    position: relative;
    box-sizing: border-box;
    word-wrap: break-word;
    height:auto;
}
#calendar{
    padding: 1rem;
    font-size: 1.4rem;
    color: #808980;
    font-family: 'Noto Sans Japanese', sans-serif;
    position: relative;
    box-sizing: border-box;
    max-width:100vh;
}
.cal-title{
    margin-top:0;
}
.ui-state-disabled{
    background-image:none;
    opacity:.35;
}
.detail .schedule table td:nth-child(4){
    background-color:unset;
}
.detail .fairdetail table{
    width:100%;
}
#calendar .link a {
    padding: 10px 0;
	display: block;
	color: #fff;
	text-decoration: none;
	background-color: #d16c80;
	transition: background-color 0.2s 0s linear;
	font-size: 1.2rem;
	border: none;
}
#calendar .link {
	margin-top: 0 auto;
	width: 100%;
	cursor: pointer;
	text-align: center;
}

#calendar .link a:hover {
	background-color: #DF8395;
}
.ui-datepicker{
    width:unset;
}
.ui-datepicker .selected a,
.ui-datepicker td.ui-datepicker-week-end.selected a{
	background-color: #86c4e1;
	border: 1px #43728e solid;
	color: #fff;
}
.ui-datepicker td .selected a.ui-state-active {
	background-color: #43728e;
	border: 1px #43728e solid;
	color: #fff;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight{
    border:1px #43728e solid;
    background:#fff9fa;
}
@media only screen and (min-width:768px) {
	.fairCalendar {
		min-height: 70px;
	}
	.cal-title {
		margin: 1rem 0 2rem 0;
	}
	#calendar .link a {
		padding: 0;
		display: block;
		color: #fff;
		text-decoration: none;
		background-color: #43728e;
		transition: background-color 0.2s 0s linear;
		font-size: 2rem;
		border: none;
		line-height: 50px;
		height: 50px;
	}
	#calendar .link {
		margin-top: 0 auto;
		width: 100%;
		cursor: pointer;
		text-align: center;
	}
}
@media only screen and (min-width:1200px) {
	.fairCalendar {
		padding-right:200px;
	}
}
/* gallery.css */
#Grid li.mix {
    display:none;
    opacity:0;
    text-align:center;
}
#Grid li.mix img{
       width:260px;
       height:auto;
       object-fit: cover;
}
.popup_data{
    width:100%;
    vertical-align: top;
    padding-top:10px;
    display:block;
    text-align:center;
}
.popup_data a{
    font-size:3em;
    color:#00305a;
}
.popup_image{
    padding:10px;
    text-align:center;
    vertical-align: top;
    display: block;
}
.popup_image img{
    width:100%;
    height:100%;
    max-height:70vh;
    object-fit: contain;
}

#cboxLoadedContent{
    border:5px solid #fff;
    max-width:95vh;
    margin:auto;
}
.modal_text{
    margin-top: 1em;
    padding: 1em;
    line-height: 1.5;
    font-size: 2em;
    text-align: left;
}
.gallery #gallery-list .inner ul li img{
       width: 100%;
       height:100%;
       object-fit: cover;
}
.main #menu .sub-menu02 li.active a{
	color: #fff;
	background-color: #da8999;
	border: 1px #da8999 solid;
}
#feed-prev-btn .bx-prev {
    display: inline-block;
    padding-top: 165px;
    padding-right: 19rem;
}
.bx-next {
    display: inline-block;
    
    padding-left: 2rem;
}

.bx-viewport {
    background: #e5e5e5;
}
.entryTitle {
    padding: 2rem 0;
    text-align: left;
    font-size: 1.4rem;
    color: #00305a;
    font-weight: bold;
}
.txtTopic {
    background: #e5e5e5;
    line-height: 2rem;
    text-align: left;
    font-size: 1.3rem;
}
#feed-prev-btn,
#feed-prev-btn2{
    background-image: url(../images/top/prev.png);
    background-repeat: no-repeat;
    background-position: center;
}
#feed-next-btn,
#feed-next-btn2{
    background-image: url(../images/top/next.png);
    background-repeat: no-repeat;
    background-position: center;
}
.feed-prev-btn .bx-prev {
  opacity: 0;
  display: block;
}
.feed-next-btn .bx-next {
  opacity: 0;
  display: block;
  padding-top: 165px;
}
#feed-next-btn2 .bx-next {
  opacity: 0;
  display: block;
  padding-top: 337px!important;
}
#feed-prev-btn2 .bx-prev {
  opacity: 0;
  display: block;
  padding-top: 337px!important;
}
.arrow {
    position: relative;
}
.feed-prev-btn {
    position: absolute;
}
@media only screen and (min-width:769px) {
    .all_slide {
        display: flex;
        margin-left: 7rem;
    }
    .feed-prev-btn {
        position: absolute;
        left: -1200px;
    }
    #feed-prev-btn,
    #feed-prev-btn2{
        background-image: url(../images/top/prev.png);
        background-repeat: no-repeat;
        background-position: center;
        height: 240px;
    }
    #feed-next-btn,
    #feed-next-btn2{
        background-image: url(../images/top/next.png);
        background-repeat: no-repeat;
        background-position: center;
        height: 240px;
    }
    .feed-prev-btn .bx-prev {
      opacity: 0;
      display: block;
      height: 500px;
      padding-right: 18.5rem;
    }
    .feed-next-btn .bx-next {
      opacity: 0;
      display: block;
      height: 500px;
    }
}

@media only screen and (min-width:1200px) {
   #Grid li.mix img{
           width:260px;
           height:260px;
   }
    .modal_text{
        margin-right:40px;
    }
   .popup_image img{
        width:500px;
        height:auto;
        object-fit: unset;
   }
}

@media only screen and (max-width:768px) {
    .bx-wrapper {
        margin-bottom: 36px!important;
    }
    #brfair .bx-wrapper {
        margin-bottom: 5px!important;
    }
    #feed-next-btn2 .bx-next {
      opacity: 0;
      display: block;
      padding-top: 337px!important;
    }
    #feed-prev-btn2 .bx-prev {
      opacity: 0;
      display: block;
      padding-top: 337px!important;
    }
    .bx-viewport {
        height: auto!important;
    }
    .entryTitle {
        padding: 2rem 0;
        font-size: 1.8rem;
        line-height: 2rem;
    }
    .txtTopic {
        background: #e5e5e5;
        line-height: 2rem;
        text-align: left;
        font-size: 1.3rem;
        padding: 0 2rem;
    }
    #cboxLoadedContent {
        background: #fff;
        width:300px;
        height:300px;
    }
    .feed-prev-btn {
        position: absolute;
        left: 13px;
        top: -381px;
    }
    .feed-next-btn {
        position: absolute;
        left: 303px;
        top: -381px;
    }
    .feed-prev-btn .bx-prev {
      opacity: 0;
      display: block;
      padding-right: 2.5rem!important;
    }
    #brfair .feed-prev-btn {
        position: absolute;
        left: -2px;
        top: -381px;
    }
    #brfair .feed-next-btn {
        position: absolute;
        left: 303px;
        top: -381px;
    }
}
@media only screen and (max-width:425px) {
    .fairCalendar{
        padding-right:30px;
        line-height: 1.4;
    }
    .fairCalendar label{
        top:10px;
    }
}