/*
* Set here for showing the div1 (class=".sidebar") and div2 (class=".main") inline 
* 
*/
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

/*navigtor header*/
.navbar {
  width: 100%;
  background-color: #555;
  overflow: auto;
}

.navbar a {
  float: left;
  padding: 12px;
  color: white;
  text-decoration: none;
  font-size: 17px;
}

.navbar a:hover {
  background-color: #000;
}

.a-right {
	float: right;
}

.active {
  background-color: #04AA6D;
}

/*sidebar*/
.sidebar {
  float: left;
  width: 20%;
  height: 100%;
  background-color: #c8e6c9;
  overflow: auto;
  padding: 0 15px 15px 15px;
  font-size: 14px;
}

.sidebar ul {
  margin: 0;
  padding: 0px;
  list-style-type: none;
}

.sidebar li {
  color:black;
  cursor: pointer;
}

.sidebar li a {
  color:black;
}

.sidebar li a:link {
  text-decoration: none;
}

.sidebar li a:visited {
  text-decoration: none;
}

.sidebar li a:hover {
  text-decoration: underline;
}

.sidebar li a:active {
  text-decoration: underline;
}

.sidebar-active {
  background-color: #ffffff;
  display: block;
}

/*container*/
.container {  /* 2 contains (sidebar | main) */
  display: block;
}

.main {
  float: left;
  padding: 0 15px 15px 15px;
  font-size: 14px;
  width: 80%;
  height: 100%;
}

.abar {
  display: flex;
  padding: 5px 0;
  align-items: center;
}

.abar div {
  flex: 1;
}

/*Button*/
.btn {
  border: none;
  color: white;
  /*padding: 10px 20px;*/
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
  margin: 5px;
  text-align: center;
}

.btn:disabled {
    opacity: 0.6;
    pointer-events: none;
}

.w80 {
	width: 80px;
}

.success {background-color: #04AA6D;} /* Green */
.success:hover {background-color: #46a049;}

.info {background-color: #0088ff;} /* Orange */
.info:hover {background: #015cac;}

.warning {background-color: #ff9800;} /* Orange */
.warning:hover {background: #e68a00;}

.danger {background-color: #f44336;} /* Red */ 
.danger:hover {background: #da190b;}

.default {background-color: #e7e7e7; color: black;} /* Gray */ 
.default:hover {background: #ddd; }


/*Manage details*/
td.details-manage {
  cursor: pointer;
}

/*Row grouping*/
tr.group, tr.group:hover {
  background-color: #fff !important;
  color: #6e0000;
  font-weight: bold;
}

/* Alert */
.isa_info, .isa_success, .isa_warning, .isa_error {
	margin: 10px 0px;
	padding: 12px;
}
.isa_info {
    color: #00529B;
    background-color: #BDE5F8;
}
.isa_success {
    color: #4F8A10;
    background-color: #DFF2BF;
}
.isa_warning {
    color: #9F6000;
    background-color: #FEEFB3;
}
.isa_error {
    color: #D8000C;
    background-color: #FFD2D2;
}
.isa_info i, .isa_success i, .isa_warning i, .isa_error i {
    margin:10px 22px;
    font-size:2em;
    vertical-align: middle;
}

.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;
}

@media screen and (max-width: 600px) {
  .navbar a, .sidebar, .main {
    float: none;
    display: block;
    width: 100%;
  }
  .btn {
    width: 100%;
  }  
}

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

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 360px; /* Could be more or less, depending on screen size */
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Full-width input fields */
.modal input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

img.avatar {
  width: 40%;
  border-radius: 50%;
}