/*** 主にモーダル画面のデザイン ***/
.modal-content{
	max-height: 90vh;
	overflow-y: auto;
}

.modal-content::-webkit-scrollbar{
	width: 5px;
}
.modal-content::-webkit-scrollbar-track{
	background: #fff;
	border: unset;
	box-shadow: none;
}
.modal-content::-webkit-scrollbar-thumb{
	background: #ccc;
	border-radius: 10px;
}

.modal-dialog .close_area{
	position: absolute;
  right: -0.25rem;
  top: -2.5rem;
  padding: 1.25rem;
  cursor: pointer;
  background-image: url(../image/icon-cross.png);
  background-size: 28px;
  background-repeat: no-repeat;
  background-position: center center;
}

.modal-content .close_area:hover{
	opacity: 0.7;
}
3
.main::-webkit-scrollbar{
	width: 5px;
}
.main::-webkit-scrollbar-track{
	background: #fff;
	border: unset;
	box-shadow: none;
}
.main::-webkit-scrollbar-thumb{
	background: #ccc;
	border-radius: 10px;
}

#commentListModal .modal-dialog{
  width: 80vw;
	max-width: 1200px;
}

#historyListModal .modal-dialog{
  width: 75vw;
	max-width: 600px;
}

/* 動画詳細表示Modal */
#detailModal{
	background: rgba(0,0,0,0.5);
}

#detailModal .modal-dialog{
  width: 65vw;
	max-width: 1000px;
  margin: 0 auto;
	top: 50%;
	left: 0%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
}

/* 動画詳細表示Modal */
#selectAppModal{
	background: rgba(0,0,0,0.5);
}

#selectAppModal .modal-dialog{
  margin: 5rem auto 0 auto;
	width: 500px;
	max-width: 90vw;
}

#selectAppModal .modal-content{
	overflow-y: auto;
	max-height: 80vh;
}

/* 検索画面Modal */
#searchModal{
	background: rgba(0,0,0,0.5);
}

#searchModal .modal-dialog{
  margin: 5rem auto 0 auto;
	width: 500px;
	max-width: 90vw;
}

#searchModal .modal-content{
	overflow-y: auto;
	max-height: 80vh;
}

#searchModal .modal-footer{
	border-top: unset;
	justify-content: unset;
	padding: 0 0.75rem 0.5rem;
}

#searchModal .modal-footer #searchBtn{
	position: absolute;
  right: 0.75rem;
	padding: 0.375rem 2rem;
}

/* 作成リスト画面Modal */
#ApplicationListModal{
	background: rgba(0,0,0,0.5);
}

#ApplicationListModal .modal-dialog{
  margin: 5rem auto 0 auto;
	width: 500px;
	max-width: 90vw;
}

#ApplicationListModal .modal-content{
	overflow-y: auto;
	max-height: 80vh;
}

#ApplicationListModal ul{
	margin-left: 20px;
}
#ApplicationListModal ul li:first-child{
	margin-top: 0;
}
#ApplicationListModal ul li{
	margin-top: 20px;
	color: #0000ee;
	text-decoration: underline;
	cursor: pointer;
}

#ApplicationListModal .modal-footer .close_area {
  position: absolute;
  right: 0.75rem;
  padding: 0.375rem 2rem;
}


.detailViewModal{
	background: rgba(0,0,0,0.5);
}


/* PCサイズ */
@media screen and (min-width: 768px) {


}

/* スマホサイズ */
@media screen and (max-width: 767px) {

  #detailModal .modal-dialog{
		width: unset;
	  max-width: 90vw;
	  max-height: 85vh;
	}

}
