.page-header .breadcrumb form.form-horizontal #search_customer {
    float: left;
    height: 35px;
    width: 80%;
}

.page-header .breadcrumb form.form-horizontal #search_text {
    float: right;
    height: 35px;
    width: 20%;
}






/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* 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 */
}

/* Modal Content */

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
    height: 770px;
    overflow: scroll;
  padding: 40px 0;
}



/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
button#close_search_model {
    left: inherit !important;
right: 20px!important;
    top: -30px !important;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;

}

.modal-body {padding: 2px 16px;}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}

.input-group-append {
   
       z-index: 1 !important;
}
/*********30/05/2019************/
.modal-body {
	padding: 10px;
}
#table_id tr td:last-child {
	background-color: #1a2a3f;
	color: #fff;
}
#table_id tr td:last-child a {
	color: #fff;
	width: 100%;
	float: left;
	font-size: 12px;
}
.table td, .table th {
	padding: .75rem 12px;
	vertical-align: top;
	border-top: 1px solid #ddd;
}
#table_id tr td:last-child:hover {
	background-color: #5c7b5c;
}
#table_id tbody tr:nth-child(2n):hover {
	background-color: #1a2a3f;
	color: #fff;
}
#table_id tbody tr:nth-child(odd):hover {
	background-color: #5c7b5c;
	color: #fff;
}
#table_id tr td:last-child {

    position: relative;
    padding: 0 !important;
}
#table_id tr td:last-child a {
    padding: 0 27px 0 13px;
}
#table_id tr td a i.fa.fa-external-link {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
}
button#close_search_model {
	right: 23px !important;
	padding: 5px 18px;
	border: 1px solid #db4242;
	color: #fefefe;
	background-color: #db4242;
}
.header-elements .md-form.mt-0 {
	border: 1px solid #9c9;
	float: left;
	width: 100%;
}
.header-elements .md-form.mt-0 #search_customer {
	border: none;
	color: #000;
}
.header-elements .md-form.mt-0 #search_text {
	border: none;
	background-color: #fff;
	color: #fff;
}
.modal-content {
	width: 70%;
}
.header-elements .md-form.mt-0::after {
	position: absolute;
	right: 12px;
	top: 50%;
	content: "\dffdff";
	font-family: "Font Awesome 5 Free";
	content: "\f002 ";
	transform: translateY(-50%);
	font-size: 16px;
	color: #a29c99;
	line-height:0;
}

@media only screen and (max-width:1199px) {
.modal-content {
        height: 500px;

}
}
.header-elements .md-form.mt-0 {
	position: relative;
}

@media only screen and (max-width:767px) {
.close {
    font-size: 28px;
    font-weight: bold;
    position: fixed !important;
    top: 13% !important;
    right: 5%;
    color: #fff !important;
}


.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    overflow: scroll;
    padding: 40px 0;
}
}

@media only screen and (max-width: 599px)
.modal-content {
    height: 380px;
}
}
