/*******************************
             Modal
*******************************/

.ui.modal {
	display: none;
	position: fixed;
	z-index: 1001;
	top: 0%;
	left: 0%;
	text-align: left;
	background: #FFFFFF;
	border: none;
	/*box-shadow: 1px 3px 3px 0px #cccccc, 1px 3px 15px 2px #cccccc;
	border-radius: 0.28571429em;*/
	-webkit-transform-origin: 50% 25%;
	transform-origin: 50% 25%;
	-webkit-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	user-select: text;
	will-change: top, left, margin, transform, opacity;
	behavior: url(../js/PIE.htc);
}
/*.ui.modal > :first-child:not(.icon),
.ui.modal > .icon:first-child + * {
  border-top-left-radius: 0.28571429em;
  border-top-right-radius: 0.28571429em;
}
.ui.modal > :last-child {
  border-bottom-left-radius: 0.28571429em;
  border-bottom-right-radius: 0.28571429em;
}*/


/*******************************
            Content
*******************************/


/*--------------
     Close
---------------*/

.ui.modal > .close {
  cursor: pointer;
  position: absolute;
  top: -2.5em;
  right: -2.5em;
  z-index: 1;
  opacity: 0.8;
  font-size: 1.25em;
  color: #FFFFFF;
  width: 2.25em;
  height: 2.25em;
  padding: 0.625em 0em 0em 0em;
}
.ui.modal > .close:hover {
  opacity: 1;
}

/*--------------
     Header
---------------*/

.ui.modal > .header {
  display: block;
  background: #FFFFFF;
  margin: 0em;
  padding: 1.25em 1.5em;
  box-shadow: none;
  color: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.modal > .header:not(.ui) {
  /*font-size: 1.42857143em;*/
  line-height: 1.2857em;
  font-weight: 600;
}

/*--------------
     Content
---------------*/

.ui.modal > .content {
  display: block;
  /*width: 100%;*/
  font-size: 1em;
  line-height: 1.4em;
  padding: 1.5em;
  /*background: #FFFFFF;*/
}

.ui.modal > .image.content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

/* Image */
.ui.modal > .content > .image {
  display: block;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  width: '';
  -ms-flex-item-align: top;
      -ms-grid-row-align: top;
      align-self: top;
}
.ui.modal > [class*="top aligned"] {
  -ms-flex-item-align: top;
      -ms-grid-row-align: top;
      align-self: top;
}
.ui.modal > [class*="middle aligned"] {
  -ms-flex-item-align: middle;
      -ms-grid-row-align: middle;
      align-self: middle;
}
.ui.modal > [class*="stretched"] {
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch;
}

/* Description */
.ui.modal > .content > .description {
  display: block;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
  min-width: 0px;
  -ms-flex-item-align: top;
      -ms-grid-row-align: top;
      align-self: top;
}
.ui.modal > .content > .icon + .description,
.ui.modal > .content > .image + .description {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 auto;
          flex: 0 1 auto;
  min-width: '';
  width: auto;
  padding-left: 2em;
}
/*rtl:ignore*/
.ui.modal > .content > .image > i.icon {
  margin: 0em;
  opacity: 1;
  width: auto;
  line-height: 1;
  font-size: 8em;
}

/*--------------
     Actions
---------------*/

.ui.modal > .actions {
	background: #F9FAFB;
	border-top: 1px solid rgba(34, 36, 38, 0.15);
	text-align: right;
	padding-top: 1em;
	padding-right: 0em;
	padding-bottom: 1em;
	padding-left: 0em;
}
.ui.modal .actions > .button {
  margin-left: 0.75em;
}

/*-------------------
       Responsive
--------------------*/


/* Modal Width */
@media only screen and (max-width: 767px) {
  .ui.modal {
    width: 95%;
  }
}
@media only screen and (min-width: 768px) {
  .ui.modal {
    width: 88%;
  }
}
@media only screen and (min-width: 992px) {
  .ui.modal {
    width: 850px;
  }
}
@media only screen and (min-width: 1200px) {
  .ui.modal {
    width: 900px;
  }
}
@media only screen and (min-width: 1920px) {
  .ui.modal {
    width: 950px;
    margin: 0em 0em 0em 0em;
  }
}

/* Tablet and Mobile */
@media only screen and (max-width: 991px) {
  .ui.modal > .header {
    padding-right: 2.25em;
  }
  .ui.modal > .close {
    top: 1.0535em;
    right: 1em;
    color: rgba(0, 0, 0, 0.87);
  }
}

/* Mobile */
@media only screen and (max-width: 767px) {
  .ui.modal > .header {
    padding: 0.75em 1em !important;
    padding-right: 2.25em !important;
  }
  .ui.modal > .content {
    display: block;
    padding: 1em !important;
  }
  .ui.modal > .close {
    top: 0.5em !important;
    right: 0.5em !important;
  }
  /*rtl:ignore*/
  .ui.modal .image.content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .ui.modal .content > .image {
    display: block;
    max-width: 100%;
    margin: 0em auto !important;
    text-align: center;
    padding: 0em 0em 1em !important;
  }
  .ui.modal > .content > .image > i.icon {
    font-size: 5em;
    text-align: center;
  }
  /*rtl:ignore*/
  .ui.modal .content > .description {
    display: block;
    width: 100% !important;
    margin: 0em !important;
    padding: 1em 0em !important;
    box-shadow: none;
  }
  
/* Let Buttons Stack */
  .ui.modal > .actions {
    padding: 1em 1em 0em !important;
  }
  .ui.modal .actions > .buttons,
  .ui.modal .actions > .button {
    margin-bottom: 1em;
  }
}

/*--------------
    Coupling
---------------*/

.ui.inverted.dimmer > .ui.modal {
  box-shadow: 1px 3px 10px 2px rgba(0, 0, 0, 0.2);
}


/*******************************
             Types
*******************************/

.ui.basic.modal {
  background-color: transparent;
  border: none;
  border-radius: 0em;
  box-shadow: none !important;
  color: #FFFFFF;
}
.ui.basic.modal > .header,
.ui.basic.modal > .content,
.ui.basic.modal > .actions {
  background-color: transparent;
}
.ui.basic.modal > .header {
  color: #FFFFFF;
}
.ui.basic.modal > .close {
  top: 1em;
  right: 1.5em;
}
.ui.inverted.dimmer > .basic.modal {
  color: rgba(0, 0, 0, 0.87);
}
.ui.inverted.dimmer > .ui.basic.modal > .header {
  color: rgba(0, 0, 0, 0.85);
}

/* Tablet and Mobile */
@media only screen and (max-width: 991px) {
  .ui.basic.modal > .close {
    color: #FFFFFF;
  }
}


/*******************************
             States
*******************************/

.ui.active.modal {
  display: block;
}


/*******************************
           Variations
*******************************/


/*--------------
    Scrolling
---------------*/


/* A modal that cannot fit on the page */
.scrolling.dimmable.dimmed {
  overflow: hidden;
}
.scrolling.dimmable.dimmed > .dimmer {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.scrolling.dimmable > .dimmer {
  position: fixed;
}
.modals.dimmer .ui.scrolling.modal {
  position: static !important;
  margin: 3.5em auto !important;
}

/* undetached scrolling */
.scrolling.undetached.dimmable.dimmed {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.scrolling.undetached.dimmable.dimmed > .dimmer {
  overflow: hidden;
}
.scrolling.undetached.dimmable .ui.scrolling.modal {
  position: absolute;
  left: 50%;
  margin-top: 3.5em !important;
}

/* Coupling with Sidebar */
.undetached.dimmable.dimmed > .pusher {
  z-index: auto;
}
@media only screen and (max-width: 991px) {
  .modals.dimmer .ui.scrolling.modal {
    margin-top: 1em !important;
    margin-bottom: 1em !important;
  }
}

/*--------------
   Full Screen
---------------*/

.ui.fullscreen.modal {
  width: 95% !important;
  left: 2.5% !important;
  margin: 1em auto;
}
.ui.fullscreen.scrolling.modal {
  left: 0em !important;
}
.ui.fullscreen.modal > .header {
  padding-right: 2.25em;
}
.ui.fullscreen.modal > .close {
  top: 1.0535em;
  right: 1em;
  color: rgba(0, 0, 0, 0.87);
}

/*--------------
      Size
---------------*/

.ui.modal {
  font-size: 1em;
}

/* Small */
/*.ui.small.modal > .header:not(.ui), .ui.tiny.modal > .header:not(.ui) {
  font-size: 1.3em;
}*/

/* Small Modal Width */
@media only screen and (max-width: 767px) {
  .ui.small.modal, .ui.tiny.modal, .ui.mini.modal {
    width: 95%;
  }
}
@media only screen and (min-width: 768px) {
  .ui.small.modal {
    width: 70.4%;
  }
}
@media only screen and (min-width: 992px) {
  .ui.small.modal {
    width: 680px;
  }
}
@media only screen and (min-width: 1200px) {
  .ui.small.modal {
    width: 720px;
  }
}
@media only screen and (min-width: 1920px) {
  .ui.small.modal {
    width: 760px;
    margin-top: 0em;
		margin-right: auto;
		margin-bottom: 0em;
		margin-left: auto;
  }
	.ui.tiny.modal {
		width: 560px;
		margin-top: 0em;
		margin-right: auto;
		margin-bottom: 0em;
		margin-left: auto;
  }
	.ui.mini.modal {
    width: 400px;
    margin-top: 0em;
		margin-right: auto;
		margin-bottom: 0em;
		margin-left: auto;
  }
}

/* Large Modal Width */
.ui.large.modal > .header {
  font-size: 1.6em;
}
@media only screen and (max-width: 767px) {
  .ui.large.modal {
    width: 95%;
  }
}
@media only screen and (min-width: 768px) {
  .ui.large.modal {
    width: 88%;;
  }
}
@media only screen and (min-width: 992px) {
  .ui.large.modal {
    width: 1020px;
  }
}
@media only screen and (min-width: 1200px) {
  .ui.large.modal {
    width: 1080px;
  }
}
@media only screen and (min-width: 1920px) {
  .ui.large.modal {
    width: 1140px;
    margin-top: 0em;
		margin-right: auto;
		margin-bottom: 0em;
		margin-left: auto;
  }
}

/* 사용자 추가 CSS*/
.ui.mini.modal {
  width: 400px;
}
.ui.modal .ui.button {
	margin-left: 0em;
	border-radius: 0em;
}
.ui.modal > .header {
	padding: 20px;
	font-weight: 600;
	color: #ffffff;
	background-color: #454A5E;
	font-size: 1.125em;
	position: relative;
}
.ui.modal > .header .close {
	position: absolute;
	height: 17px;
	width: 17px;
	top: 20px;
	right: 1em;
	background-image: url(../images/exit.png);
	background-repeat: no-repeat;
	background-position: center center;
	display: block;
	z-index: 10000;
	cursor: pointer;
}

#fieldlist {
	margin: 0;
	padding: 0;
}
#fieldlist li {
	list-style: none;
	padding-bottom: .7em;
	text-align: left;
}
#fieldlist label {
	display: block;
	padding-bottom: .3em;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.85em;
	color: #444;
}
#fieldlist li.status {
	text-align: center;
}
#fieldlist li .k-widget:not(.k-tooltip), #fieldlist li .k-textbox {
	margin: 0 5px 5px 0;
}
.confirm {
	padding-top: 1em;
}
.valid {
	color: green;
}
.invalid {
	color: red;
}
#fieldlist li input[type="checkbox"] {
	margin: 0 5px 0 0;
}
span.k-widget.k-tooltip-validation {
  display;
  inline-block;
	width: 100%;
	text-align: left;
	border: 0;
	padding: 0;
	background: none;
	box-shadow: none;
	color: red;
	font-size: 0.85em;
	margin-top: 0.5em;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
}
.k-tooltip-validation .k-warning {
	display: none;
}
.ui.modal .k-textbox {
	width: 100%;
}
.ui.modal .k-tooltip-validation .k-i-warning {
	vertical-align: text-bottom;
}