/*fav.css*/


body {
  margin: 0;
  padding: 0;
}

.modal {
  position: absolute;  
  z-index: 10;		
  display: none;
  top:-90px;
  width: 99.7%;
  height: 120%;
  background: #777777a3;			
}

.dialog {		
  position: absolute;
  z-index: 11;
  /* 將對話框水平置中。 */
  left: 50%;	
  transform: translate(-50%, 0%);			
  top: -30px; /* 設定對話框的起始位置。 對話框滑動的距離與時間會影響淡入效果，可以自行嘗試調整。 */
  width:100%;
  max-width:360px;
  opacity: 0; /* 將對話框設為透明。 */
  display: none; /* 隱藏對話框。 */
  /*width: 90%;  對話框寬度。 */
  background: white;
  box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  line-height: 1.7em;
}

.title {
font-weight:700;
  text-align: center;
  padding: 8px;
  font-size: 20px;
  background: #1f7038ad;    		
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: white;
  border: 1px #f2e6e6 solid;
  box-shadow: 0px 2px 8px 1px rgb(0 0 0 / 15%);
}

.contentx {
  padding: 4px 8px;
}

.buttons {
  /* 加上這兩個CSS，可以讓button移動到對話框下方。 */
  /*position: absolute;
  right: 0px;
  */
  text-align: right;
  padding: 8px 14px;
}

.okBtn {
  display: inline-block;
  background: #092b68b3;
  color: #ffffffeb;		    
  border-radius: 8px;
  border: 1px solid white;
  padding: 4px 8px;
  cursor: pointer;
}

.cancelBtn {
  display: inline-block;
  background: #88012B;
  font-weight:600;
  color: #ffffffeb;		    
  border-radius: 8px;
  border: 1px solid white;
  padding: 5px 15px;
  cursor: pointer;  
}