body{
  background: #aaa;
}

/* 2 div inside invoices */
.flex-container {
display: flex;
}

.box1 {
width: 45%;
/*height: 400px;*/
/*background-color: red;*/
padding: 10px;
border-right: 2px solid;
}

.box2 {
width: 100%;
/*height: 400px;*/
background-color: #F8F8F8;
padding: 10px;
}

/* for pagination */
/*
.circle {
border: 2px solid red;
border-radius: 25px;
width: 10%;
height: auto;
margin-left: 5px;
margin-right: 5px;
}
*/

.currentpage {
border: 2px solid green;
width: 50%;
height: 50%;
margin-left: 5px;
margin-right: 5px;
}

/* forms */
#frm, #passfrm, #userfrm, #invfrm , #detailsfrm {
  border: solid gray 1px;
  width: 35%;
  border-radius: 2px;
  margin: 20px auto;
  background: white;
  padding: 50px;
}

/* filter form in transaction screen */
#filterfrm {
  border: solid gray 1px;
  width: 600px;
  border-radius: 2px;
  margin: 0px auto;  /* no margin before and after */
  background: #e8f5f6; /* lightgray; */
  padding: 20px auto;
}

/* change password form */
#passfrm{
  background: #DAF7A6;
  margin: 30px auto;
}

#userfrm{
  width: 40%;
  margin: 20px auto;
  padding: 40px;
}

#invfrm{
  width: 95%;
  margin: 20px auto;
  padding: 10px;
}

#detailsfrm{
  width: 50%;
  background: #f2f6f6;
  margin: 30px auto;
}

#btn, #btnred, #btngray, #btnfilter {
  color: #fff;
  background: #337ab7;
  padding: 15px 32px;
  font-size: 18px;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  transition-duration: 0.4s;
  with: 20%;
  /*float: right; */
  cursor: pointer;
}

#btnred {
  background: red;
}

#btngray {
  background: gray;
}

#btnfilter {
  color: black;
  background: #fdf55a;  /* gold */
  padding: 5px 5px;
}

#btn:hover {
  background-color: #04AA6D; /* Green */
  color: white;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

#btnred:hover {
  background-color: #AA006D; /* red */
  color: white;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

#btngray:hover {
  background-color: lightgray; /* light gray */
  color: black;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

#btnfilter:hover {
  background-color: #f1ec87; /* light gray */
  color: black;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

#frm label, #passfrm label , #userfrm label, #invfrm label, #detailsfrm label, #filterfrm label{
    width:125px;
    text-transform: uppercase;
}

/* execlude search-button */
input[type=text]:not(.form-control), input[type=password]:not(.form-control), input[type=number] {
  font-size: 18px;
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
}

input[type=text]:focus:not(.form-control) {
  background-color: lightblue;
}

.form-control input[type=text] {
  font-size: 12px;
  padding: 0px 0px;
}

table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 95%;
  margin: 20px;
}

td, th {
  border: 1px solid #dddddd;
  /* removed for arabic/english */
  /* text-align: left; */  
  padding: 15px;
  font-size: 20px;
}

.mytable th {
  font-size: 20px;
  text-align: center; /* because the main th came from bootstrap */
  /*background-color: lightblue;*/
}

tr:nth-child(even) {
  background-color: #dddddd;
}

@media screen and (max-width: 1000px) {
  td, th { font-size: 30px;  }
}

.box2 td, th {
  border: 1px solid #dddddd;
  /* removed for arabic/english */
  /*text-align: left; */
  padding: 15px;
  font-size: 16px;
}


/* navigator buttons */
.fcc-btn, .fcc-btn2, .fcc-btn3 {
  background-color: #199319;
  color: white;
  padding: 15px 25px;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.fcc-btn2 {
  background-color: blue;
  margin-left: 15px;
}

.fcc-btn3 {
  margin-left: 15px;
}

.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

.select-items div,.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

.select-items {
  position: absolute;
  background-color: DodgerBlue;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

input[type=password]:focus {
  background-color: lightblue;
}

.custom-select select {
  appearance: none;
  width: 100%;
  font-size: 1.15rem;
  padding: 0.675em 6em 0.675em 1em;
  background-color: #ff00;
  border: 1px solid #caced1;
  border-radius: 0.25rem;
  color: #000;
  cursor: pointer;
}

.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

.custom-select {
  /*min-width: 350px; */
  font-family: Arial;
}
 
.select-selected {
  background-color: DodgerBlue;
}

.alert {
  padding: 20px;
  background-color: #f44336;
  color: white;
  opacity: 1;
  transition: opacity 0.6s;
  margin-bottom: 15px;
}

.alert.success {background-color: #04AA6D;}
.alert.info {background-color: #2196F3;}
.alert.warning {background-color: #ff9800;}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}
