/* MODAL */
.modal-overlay{
	visibility: hidden;
	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 890000;
}
.modal{
	visibility: hidden;
	opacity: 0;
	background: #fff;
	box-shadow: 0 4px 16px rgba(0,0,0,.2);
	border: 1px solid #f1f2f7;
	position: absolute;
	top: 50%;
	
	z-index: 900000;
}

.alert{
	width: 320px;
/* 	min-height: 150px;	 */
	height:max-content;
	margin-left: auto;
	margin-top: auto;
	transform: translate(-50%, -50%);
	left: 50%;
}
.form{
	height:max-content;
	left: 0;
	top: 0;
}

.modal-body{
	width:100%;
}
.modal-button{
	height:28px;
	width:max-content;
	margin : 0 auto 3px;
}

.modal-content{
	padding: 20px;
	transition: transform 0.7s cubic-bezier(0.165, 0.840, 0.440, 1.000);
	transform: translateY(-50px);
	text-align: center;
/* 	margin: auto 0; */
	width:calc(100% - 40px);
}

.modal-dtl{
	width:100%;	
/* 	padding : 2px; */
}
.modal-dtl-btn{
	font-size : 13px;
	border:none;
	background:none;
	
	margin-right:5px;
	margin-bottom: 5px;
}
.modal-dtl-btn:focus{
	outline:0;
}

.modal-dtl-msg{
/* 	visibility: hidden; */
/* 	opacity: 0; */
		
	width:calc(100% - 30px);
	margin : 3px auto 3px;
	background : gray;
	color:white;
	max-height:0;
	font-size : 12px;
	text-align : center;
	
	
	overflow: hidden;
	-webkit-transition: max-height 200ms ease-out;
    -moz-transition: max-height 200ms ease-out;
    -o-transition: max-height 200ms ease-out;
    transition: max-height 200ms ease-out;
    
    transition: padding 200ms ease;
}

.dtl-show{
	visibility:visible;
	opacity: 1;
	
	border-radius: 2px;
	border: 1px solid #BFBCBC;
	
	max-height : 60px;
	overflow-y : auto;
	
	padding: 10px 5px 10px 5px;
	-webkit-transition: max-height 200ms ease-in;
    -moz-transition: max-height 200ms ease-in;
    -o-transition: max-height 200ms ease-in;
    transition: max-height 200ms ease-in;

}

.modal.opening .modal-content{
	transform: translateY(0px);
}
.modal-content p{
	font-size: 15px;
	margin: 0 0 15px;
}
.modal-header{
	transition: border-color 0.2s ease;
	box-sizing: border-box;
	background-color: #eee;
	border-bottom: 1px solid rgba(0,0,0,.2);
	font-size: 16px;
	height: 30px;
	line-height: 40px;
	margin: 0;
	padding-left: 26px;
	vertical-align: middle;
}
.modal-header-title{
	float: left;
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 28px;
	font-weight: 500;
	letter-spacing: -0.03em;
	cursor: default;
}
.modal-header-btn{
	float: left;
	background-color: #4d90fe;
	background-image: -webkit-linear-gradient(to top, #4d90fe, #4787ed);
	background-image: linear-gradient(to top, #4d90fe, #4787ed);
	border: 1px solid #3079ed;
	color: #fff;
	border-radius: 2px;
	font-size: 11px;
	font-weight: 600;
	text-align: center;
	white-space: nowrap;
	margin-left: 5px;
	line-height: 26px;
	min-width: 70px;
	outline: 0;
	padding: 0 12px;
	cursor: pointer;
}
.modal-header-btn:hover{
	opacity: 0.8;
}
.modal-header-btn:active {
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
	background: #357ae8;
	border: 1px solid #2f5bb7;
	border-top: 1px solid #2f5bb7;
}

/* STATUS */

.modal.is-full{
	left: 0 !important;
	top: 0 !important;
	width: calc(100% - 30px) !important;
	height: calc(100% - 30px) !important;
	margin: 15px !important;
}
.modal.is-left{
	left: 0px !important;
	right: auto !important;
	top: 0px !important;
	margin: 0px !important;
	height: 100% !important;
}
.modal.is-left{
	left: 0px !important;
	right: auto !important;
	top: 0px !important;
	margin: 0px !important;
	height: 100% !important;
}
.modal.is-right{
	left: auto !important;
	right: 0px !important;
	top: 0px !important;
	margin: 0px !important;
	height: 100% !important;
}
.modal.is-dragging{
	border-color: #66afe9;
	outline: 0;
	box-shadow: 0 0 8px rgba(102,175,233,.6), 0 6px 20px rgba(0,0,0,.2);
}
.modal.opening, .modal-overlay.opening{
	-webkit-animation: show 0.5s ease;
	animation: show 0.5s ease;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
}
.modal.closing, .modal-overlay.closing{
	-webkit-animation: hide 0.5s ease;
	animation: hide 0.5s ease;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
}
@keyframes show {
    0% { opacity: 0; }
    100% {opacity: 1; }
}
@-webkit-keyframes show {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes hide {
	0% { opacity: 1; }
    100% { opacity: 0; }
}
@-webkit-keyframes hide {
	0% { opacity: 1; }
    100% { opacity: 0; }
}


/* SCROLL */
.form ::-webkit-scrollbar {
	overflow: visible;
	height: 13px;
	width: 14px;
}
.form ::-webkit-scrollbar-thumb {
	background-color: rgba(0,0,0,.2);
	background-clip: padding-box;
	border: solid transparent;
	border-width: 3px;
	min-height: 28px;
	padding: 100px 0 0;
	box-shadow: inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07);
}
.form ::-webkit-scrollbar-thumb:active {
	background-color: rgba(0,0,0,.4);
}
.form ::-webkit-scrollbar-button {
	height: 0;
	width: 0;
}
.form ::-webkit-scrollbar-track {
	background-clip: padding-box;
	border: solid transparent;
	border-width: 0 0 0 4px;
}


.modal-body {
	color : #4c4b4b;
}


.modal-icon {
	font-size: 45px;
	color: #65a8f3;
}

.modal-info {
	margin-top: 10px;
	
	font-weight: bold;
	font-size: 22px;	
	
}

.modal-text {
	margin-top: 15px;
	
	font-size: 14px;
	
	white-space: normal;
	word-break : keep-all;
	
	color: #504f4f;
}


.modal-footer {
	margin-bottom : 20px;
	text-align: center;
}

.modal-footer > button {
	border-style: none;
	border-radius: 3px;
	
	padding: 6px 18px;
	
	line-height: 16px;
	vertical-align : middle;
	
	background-color: #65a8f3;
	color: #fff;
	margin : 0 5px  0 5px;
}

.modal-footer > button:hover {
	background-color : #80b2ea;
	cursor: pointer;	
}

.modal-dtl {
	margin-top: 5px;
	text-align: right;	
}

.modal-dtl > .dtl-title {
	margin-right: 10px;
	margin-bottom: 10px;
	font-size: 14px;		
}

.modal-dtl > .dtl-title:hover {
	text-decoration: underline;
	cursor: pointer;	
}

.modal-dtl > .dtl-text {
	border: 1px solid #BFBCBC;	
	border-radius : 3px;
	
	width: 280px;
	margin: 5px auto;
	margin-bottom: 10px;
	
	padding: 15px 10px 15px 10px;
	background-color:  #f5f5f5;
	
	font-size: 13px;
	text-align: left;
	color: #545454;
	
}

.out{
	display: none;
	visibility: hidden;
	max-height: 0px;
	
	-webkit-transition: max-height 200ms ease-out;
    -moz-transition: max-height 200ms ease-out;
    -o-transition: max-height 200ms ease-out;
    transition: max-height 200ms ease-out;
	
}

.in {
	
	-webkit-transition: max-height 200ms ease-in;
    -moz-transition: max-height 200ms ease-in;
    -o-transition: max-height 200ms ease-in;
    transition: max-height 200ms ease-in;
	
	max-height: 80px;
	display: block !important;
	visibility: visible !important;
}


.modal-dtl-btn:hover {
	cursor: pointer;
}


.modal-dtl-msg {	
	background-color: #ece9e9;
	color: #545454;
}

.fa-question-circle{
	color:yellow;	
}
.fa-exclamation-circle{
	color:red;	
}
