/* MODAL */
.modal-open {overflow:hidden;}
.modal-overlay{
	visibility:hidden;
	opacity:0;
	position:absolute;
	left:0;top:0;
	bottom:0;
	right:0;
	z-index:499;
	background:rgba(0,0,0,0.7);
	text-align:center; /* Center alignment of children*/
}
.modal{
	visibility:hidden;
	opacity:0;
	background:#fff;
	box-shadow:0 4px 16px rgba(0,0,0,.2);
	border:1px solid rgba(0,0,0,.333);
	box-sizing:border-box;
	width:800px;
	position:absolute;
	left:50%;
	top:50%;
	margin-left:-400px;
	margin-top:-180px;
	z-index:500;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}
.modal-body{
/*	overflow-y:scroll;
	height:calc(100% - 75px);
*/}

.modal-body2{
	margin:70px auto;
	padding:3px 6px;
	background:#fff;
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	/*width:50%;*/
	position:relative;
	transition:all 1s ease-in-out;
	line-height:120%;
	text-align:left;
	display:none;
}

.modal-body2 h2 {margin-top:0;color:#333;font-family:Tahoma,Arial,sans-serif;}
.modal-body2 .close {
  position:absolute;
  top:5px;
  right:5px;
  transition:all 200ms;
  font-size:30px;
  font-weight:bold;
  text-decoration:none;
  color:#333;
}
.modal-body2 .close:hover {color:#06D85F;}
/*.modal-body2 .content {max-height:30%;overflow:auto;}*/
.modal-content{
	padding:10px;
	transition:transform 0.7s cubic-bezier(0.165,0.840,0.440,1.000);
	color:#000;font-size:10px;
	white-space:nowrap;
	overflow:scroll;
	/*transform:translateY(-50px);*/
}
.modal.opening .modal-content{transform:translateY(0px);}
/*.modal-content p{
	font-size:15px;
	margin:0 0 5px;
	padding-bottom:0;
}
*/
.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:50px;
	line-height:30px;
	margin:0;
	padding:10px 15px;
	vertical-align:middle;
	border-top-left-radius:5px;
	-moz-border-top-left-radius:5px;
	-webkit-border-top-left-radius:5px;
	border-top-right-radius:5px;
	-moz-border-top-right-radius:5px;
	-webkit-border-top-right-radius:5px;
}
.modal-header-title{
	float:left;
	margin:0;
	padding:0;
	font-size:15px;
	line-height:28px;
	font-weight:400;
	letter-spacing:-0.03em;
	cursor:default;
	color:#000;
}
.modal-header-btn{
	float:right;
	background-color:#4d90fe;
	background-image:-webkit-linear-gradient(top,#4d90fe,#4787ed);
	background-image:linear-gradient(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;
}
/*.modal-table, th, td, tbody, tr {border:1px solid black !important;text-align:center;*/
.modal-table, th, td {border:1px solid black !important;text-align:center;border-collapse:collapse;
vertical-align:middle;padding:0px 1px 0px 3px}
.modal-table {width:100%;background:#FFF}
.modal-messages {margin-top:5px;border:1px solid;padding-left:5px;background:#FFF}

/* 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;
}
.new_removed_radio_options{
	border:1px solid black;
	float:left;
/*	vertical-align:middle; */
}

@keyframes show {
    0% {opacity:0;}
    100% {opacity:1;}
}
@-webkit-keyframes show {
    0% {opacity:0;}.modal-header-title
    100% {opacity:1;}
}
@keyframes hide {
	0% {opacity:1;}
    100% {opacity:0;}
}
@-webkit-keyframes hide {
	0% {opacity:1;}
    100% {opacity:0;}
}

/* SCROLL */
.modal ::-webkit-scrollbar {
	overflow:visible;
	height:13px;
	width:14px;
}
.modal ::-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);
}
.modal ::-webkit-scrollbar-thumb:active {
	background-color:rgba(0,0,0,.4);
}
.modal ::-webkit-scrollbar-button {
	height:0;
	width:0;
}
.modal ::-webkit-scrollbar-track {
	background-clip: padding-box;
	border: solid transparent;
	border-width: 0 0 0 4px;
}
 
@media only screen and (max-width:800px) {
.modal{width:90%;
	left:0 !important;
	margin-left:0 !important;}
/*.modal-body2{width:80%;}*/
}

@media only screen and (max-width:480px) {
/*.modal-body2{width:90%;}*/
}
