/*alert Box*/
#alert {
  display: none;
  position: fixed;
  width: 300px;
  height: 150px;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background-color: var(--box-bg);
  border: 2px outset var(--mov);
  text-align: center;
  border-radius: 10px;

  box-shadow: 0 0 50px 10px rgba(0,0,0,.5);

  z-index: 2000;
}

#alertTXT {
	display: flex;
	padding: 10px;
	font-weight: bold;
	height: 80px;
	align-content: center;
	flex-wrap: wrap;
	justify-content: center;
	overflow-wrap: anywhere;
}

#alert a {
	position: absolute;
	padding: 5px 25px 5px 25px;
	bottom: 10px;
	box-shadow: 0px 0px 5px 1px var(--mainShadowColor);
	left: 50%;
	transform: translateX(-50%);
}

/*confirmBox*/
#divBackBG {
	z-index:999;
    display: none;
    position: fixed;
	top:0;
    width: 100%;
    height: 100%;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	background-color: rgba(0,0,0,0.5);
}
#confirm {
	z-index:999;
    display: none;
    position: fixed;
    width: 300px;
    height: 150px;
    top: 50%;
    left: 50%;
	transform: translate(-50%, -50%);
    background-color: var(--box-bg);
    border-style: outset;
    border-width: 2px;
    border-color: var(--mov);
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 0px 50px 10px var(--mainShadowColor);
}
#confirmTXT{
	padding:10px;
	font-weight:bold;
}
#confirm a{
	position: absolute;
	bottom:10px;
	padding: 5px 25px 5px 25px;
	box-shadow: 0px 0px 5px 1px var(--mainShadowColor);
}
/*END confirmBox*/

/*formBox*/
#formBoxWrap {
	display: none;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	z-index: 2000;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#formBox {
	overflow-y: auto;
	display: none;
	position: fixed;
	max-height: 90%;
	min-height: 50px;
	background-color: var(--box-bg);
	border-style: outset;
	border-width: 2px;
	border-color: var(--mov);
	text-align: center;
	border-radius: 10px;
	box-shadow: 0px 0px 50px 10px var(--mainShadowColor);
}

#formBoxTXT {
	display: block;
	padding: 10px;
	font-weight: bold;
	align-content: center;
	flex-wrap: wrap;
	justify-content: center;
}

.closeBtn {
	position: absolute;
	color: #c00;
	font-weight: bold;
	top: 5px;
	right: 20px;
	cursor: pointer;
	background-color: #aaa;
	border-style: outset;
	padding: 2px 5px;
	border-radius: 7px;
	font-size: 12px;
	opacity: 0.5;
}

.closeBtn:hover {
	cursor: pointer;
	opacity: 1;
}

#IMGpreview {
	object-fit: fill;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	background-color: rgba(0, 0, 0, 0.75);
	z-index: 99999;
	display: none;
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}

.imgWrapper {
	height: 140px;
	display: inline-block;
}

.imgWrapper a {
	display: block;
	text-align: center;
	color: #900 !important;
}

.imgWrapper a:hover {
	display: block;
	text-align: center;
	color: #090 !important;
}

@media screen and (max-width: 799px) {
	#formBox {
		width: 95%;
	}
}
@media screen and (min-width: 800px) {
	#formBox {
		width: 50%;
		min-width: 250px;
	}
}