body {
  overflow: auto;
}

body.no-scroll{
  overflow: hidden;
}

#aside {
  position: relative;
}
#aside .chat.btn {
  position: fixed;
  right: 0px;
  bottom: 0px;
  z-index: 10;
  display: none;
}

#popup,
#popup-view,
#landing-view  {
  overflow-y: scroll;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 210;
  padding: 0 20px;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0 20px;
}

#popup-view,
#landing-view {
  display: none;
}

.rpapop #aside #popup-view .popupForm {
  display: none;
}

#popup-view .dimmed,
#landing-view .dimmed {
  max-width: 800px;
  margin: 0 auto 0;
  /* padding: 30px; */
}

#popup-view form, 
#landing-view form {
  position: relative;
  margin: 54px auto;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
}

#popup-view form .wrapClose, 
#landing-view form .wrapClose {
  position: absolute;
  right: 15px;
  top: 15px;
  padding: 2px;
}

#popup-view form .topArea,
#landing-view form .topArea {
  text-align: center;
  margin: 20px 0 40px;
}
#popup-view form .topArea > h3,
#landing-view form .topArea > h3 {
  font-weight: 600;
  font-size: 28px;
  line-height: 33px;
  padding-bottom: 12px;
}
#popup-view form .topArea > h3 > span ,
#landing-view form .topArea > h3 > span {
  display: block;
}

#popup-view form .topArea > p,
#landing-view form .topArea > p {
  font-weight: 300;
  font-size: 15px;
  line-height: 24px;
  color: #222;
}

#popup-view form .landing{
  display: none;
}

form .inputArea {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:#fff;
  max-width: 530px;
  margin: 0 auto;
}

form .inputArea textarea{
  width: 100%;
  border: 1px solid #B8C6CC;
  border-radius: 12px; 
  height: 128px;
  /* overflow-y: scroll; */
  resize: none;
  box-sizing: border-box;
  padding: 20px;
}
form .inputArea textarea:focus{
  border: 1px solid #1AB6E4;
  outline: none;
}

form .inputArea .categoryArea .dropdownIcon {
  position: absolute;
  right: 20px;
  top: 20px;
  transform: rotate(0deg);
}


form .inputArea .categoryList{
  display: none;
  position: absolute;
  right: 0;
  top: 55px;
  width: calc(100% - 75px);
  border: 1px solid #B8C6CC;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
  padding: 16px;
  z-index: 25;
}

form .inputArea .categoryList.show {
  display: block;
}

form .inputArea .categoryList li:not(:last-of-type) {
  padding-bottom: 12px;
  width: 100%;
}

form .inputArea .categoryList li{
  display: block;
  width: 100%;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #939FA4;
  cursor: pointer;
}
form .inputArea .categoryList li:hover {
  color: #1AB6E4;
}

form .inputArea > div {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
}
form .inputArea > div > img {
  position: absolute;
  right: 17px;
  top: 22px;
  transform: rotate(180deg);
}

form .inputArea > div > .wrapLabel {
  min-width: 54px;
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  text-align: left;
}

form .inputArea .categoryArea {
  position: relative;
}

#category{
  cursor: pointer;
}

#content {
  width: 100%;
  min-height: 140px;
  padding: 16px 12px;
  border: 1px solid #B8C6CC;
  border-radius: 8px;
  outline: none;
}
#content.error {
  border: 1px solid #FF272D;
  color: #FF272D;
}

#content.error::placeholder {
  color: #FF272D;
}
#content.error:focus {
  border: 1px solid #FF272D;
}

form .inputArea div.fileArea {
  position: relative;
}

#file {
  position: absolute;
  width: 92%;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  border: 0;
  color: transparent;
}

input[type="file"] {
  cursor: pointer;
  /* position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  outline: none; */
  color:#777;
}

form input::file-selector-button {
  display: none;
}

.iconClip {
  margin-top: -7px;
}

form .inputArea > div > input {
  padding: 16px 53px 16px 12px;
  border: none;
  outline: 1px solid #B8C6CC;
  border-radius: 8px;
  width: 100%;
  font-size: 12px;
}

form .inputArea > div > input.error {
  outline: 1px solid #FF272D;
  /* color: #FF272D; */
}

form .inputArea > div > input.error::placeholder {
  color: #FF272D;
}

form .inputArea > div > textarea.error:focus,
form .inputArea > div > input.error:focus {
  border: none;
  outline: 1px solid #FF272D;
}

form .inputArea > div > input:focus,
#content:focus {
  outline: none;
  border: 1px solid #1AB6E4;
}

form .agreeArea {
  max-width: 530px;
  margin: 16px auto 12px;
  position: relative;
}

form .agreeArea .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
}

form .agreeArea .top > div {
  display: flex;
  gap: 5px;
}

form .agreeArea .top > div > h4,
form .agreeArea .top > div > label {
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
}
.agreeArea  input[type="checkbox"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.agreeArea label::after {
	position: absolute;
	content: '';
	width: 20px;
	height: 20px;
	right: 0;
	top: 0;
	text-align: center;
	background: url('/images/ico-agreeArea-check.svg') #BED1D7 no-repeat center;
	cursor: pointer;
}

.agreeArea label.error::after {
	position: absolute;
	content: '';
	width: 20px;
	height: 20px;
  right: 0;
	top: 0;
	text-align: center;
	background: url('/images/ico-agreeArea-check.svg') #BED1D7 no-repeat center;
	cursor: pointer;
	outline: 1px solid #FF272D;
}

.agreeArea label.active::after {
	position: absolute;
	content: '';
	width: 20px;
	height: 20px;
	right: 0;
	top: 0;
	text-align: center;
	background: url('/images/ico-agreeArea-check.svg') #1AB6E4 no-repeat center;
	cursor: pointer;
}


/* form .agreeArea .top .checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  background: url("../../images/ico-agreeArea-check.svg") #BED1D7 no-repeat center
}

form .agreeArea .top .checkbox.active {
  background: url("../../images/ico-agreeArea-check.svg") #1AB6E4
  no-repeat center
} */

form .agreeArea .txtCont {
  border: 1px solid #AEE6F7;
  border-radius: 8px;
  width: 100%;
  height: 200px;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: scroll;
  display: none;
}
form .agreeArea .txtCont.show {
  display: block;
}
form .agreeArea .txtCont > p {
  font-weight: 400;
  font-size: 12px;
  line-height: 21px;
}
form .agreeArea .txtCont > p.rpa {
  text-align: left;
}
form .agreeArea .txtCont > p >span.strong {
  font-weight: 600;
}
form .submitBtn {
  width: 100%;
  padding: 16px 0 ;
  background: #1AB6E4;
  border-radius: 8px;
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  color: #fff;
  margin-top: 20px;
}

form .submitBtn.normal{
  width: 100%;
  padding: 16px 0 ;
  background: #CCD8DC;
  border-radius: 8px;
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  color: #fff;
  margin-top: 20px;
}

form .submitBtn.popup,
form .submitBtn.popup.normal {
  max-width: 530px;
  margin: 20px auto 0;
}


/* 윈도우 alert */
#popup {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
  z-index: 250;
}

#popup .alertBox {
  background: #fff;
  box-sizing: border-box;
  max-width: 400px;
  border-radius: 16px;
  margin: 20% auto;
  filter: drop-shadow(0px 1px 16px rgba(0, 0, 0, 0.16));
}


#popup .alertBox .top {
  padding: 16px;
  color: #1AB6E4;
  border-radius: 16px 16px 0 0;
  font-size: 14px;
  font-weight: 600;
}

#popup .alertBox div {
  font-weight: 400;
  font-size: 16px;
  color: #222;
  text-align: center;
  padding: 40px 20px;
  white-space: pre-wrap;
}

#popup .alertBox .wrapConfirmBtns{
  display: flex;
  align-items: center;
}

#popup .alertBox button {
  width: 100%;
  display: block;
  background: #1AB6E4;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  padding: 16px 0;
  border-radius: 0 0 16px 16px;
}

#popup .alertBox .wrapConfirmBtns button:nth-of-type(1){
  border-radius: 0 0 0 16px;
}
#popup .alertBox .wrapConfirmBtns button:nth-of-type(2){
  border-radius: 0 0 16px 0;
}

#popup .alertBox .confrimBtnList {
  display: flex;
  border-top: 1px solid #1AB6E4;
}

#popup .alertBox .confrimBtnList #alert-ok {
  border-radius: 0 0 16px 0;
}
#popup .alertBox .confrimBtnList #alert-close {
  border-radius: 0 0 0 16px;
  background: #fff;
  color: #1AB6E4;
}

@media screen and (max-width: 1400px) {
  #aside .chat.btn {
    display: block;
  }
}

/* 미디어 쿼리 */
/* 376, 제목 아래 글 줄 바꿈 */
@media screen and (max-width: 376px) {
  #popup-view form .topArea > p > span {
    display: block;
  }
  
  .popupForm .inputArea > div > textarea,
  .popupForm .inputArea > div > input {
    font-size: 10px;
  }
  
  .popupForm .inputArea > div > input.error::placeholder {
    color: #FF272D;
    font-size: 10px;
  }
}