/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  padding-top: 50px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.select2-container--open .select2-dropdown--below {
    z-index: 9999;
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  overflow: hidden;
}

.header_popup {
    border-bottom: 1px solid #ccc;
    padding-bottom: 12px;
    color: #0073aa;
    font-size: 16px;
    font-weight: bold;
}

.stt {
	text-align: center;
	width: 25%;
}

.normal-title {
	text-align: left;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -3px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.fcode {
	width: 100%;
	border-radius: 4px;
}

.btn_voucher {
    color: #fff !important;
    border-radius: 4px;
}

@media (max-width: 575px) {
	.modal-content {
		width: 88%;
	}	
}
@media (min-width: 576px) {
	.modal-content {
		width: 50%;
	}	
	
}
@media (min-width: 768px) {
	.modal-content {
		width: 50%;
	}	
}

@media (min-width: 992px) {
	.modal-content {
		width: 90%;
	}	
}

/* custom css */
.oneday-textarea-content {
	resize: none;
    overflow-y: scroll;
    height: 180px;
    width: 100%;
    margin-bottom: 10px;
}

.left_box, .right_box {
    width: 100%;
	float: left;
}

.one_box {
	width: 100%;
}

.oneday-control input:not(#is_default), .one_box input:not(#is_default) {
	width: 99%;
}

.oneday-control {
	margin-bottom: 15px;
}

.oneday_actions {
    margin-top: 15px;
}

.one_box_tt {
	margin-top: 10px;
}

#tong_tien_format {
	padding-right: 15px;
}


/*************************/

/* .modal-content .box_view, .modal-content .bao_hang_info {
	max-height: 400px;
	overflow-y: scroll;
} */

/* width */
.modal-content #data-list-mvd::-webkit-scrollbar,
.modal-content .bao_hang_info::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.modal-content #data-list-mvd::-webkit-scrollbar-track,
.modal-content .bao_hang_info::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
.modal-content #data-list-mvd::-webkit-scrollbar-thumb,
.modal-content .bao_hang_info::-webkit-scrollbar-thumb {
  background: #ccc; 
  border-radius: 4px;
}

/* Handle on hover */
.modal-content #data-list-mvd::-webkit-scrollbar-thumb:hover,
.modal-content .bao_hang_info::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

.khach-hang .modal-content,
.can-nang-gia .modal-content,
.modal-cau-hinh-quy-doi
{
	width: 45%;
	overflow-y: scroll;
    max-height: 80%;
}	

.modal-cau-hinh-quy-doi .btn_act_below {
    float: right;
    margin-left: 5px;
}