
@font-face {
  font-family: OpenSans-Regular;
  src: url('../fonts/openSans/OpenSans-Regular.ttf');
}

.button.invite-selected{
  transition: 1s;
}

.admin-table {
  border-spacing: 1;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.admin-table * {
  position: relative;
}
.admin-table td, .admin-table th {
  padding-left: 8px;
}
.admin-table thead tr {
  height: 34px;
  background: #ffff;
  color: #2d2c2c;
}
.admin-table tbody tr {
  height: 50px;
}
.admin-table tbody tr:last-child {
  border: 0;
}
.admin-table td, .admin-table th {
  text-align: left;
}
.admin-table td.l, .admin-table th.l {
  text-align: right;
}
.admin-table td.c, .admin-table th.c {
  text-align: center;
}
.admin-table td.r, .admin-table th.r {
  text-align: center;
}

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

tbody tr {
  font-family: OpenSans-Regular;
  font-size: 15px;
  color: #808080;
  line-height: 1.2;
  font-weight: unset;
}

tbody tr:hover {
  color: #555555;
  background-color: #f5f5f5;
  cursor: pointer;
}
.textarea-field {
  margin-top: 0px;
  margin-bottom: 10px;
  height: 240px !important;
}

* {
  box-sizing: border-box;
}

.list-group-custom {
  list-style-type: none;
  padding: 0;
  margin: 0;
  height: 200px;
  overflow: auto;
}

.list-group-item-custom {
  border: 1px solid #ddd;
  margin-top: -1px; /* Prevent double borders */
  background-color: #f6f6f6;
  padding: 12px;
}
.button-edit{
  background: #28a745 !important;
  border-color: #28a745 #28a745 #28a745 !important;
  box-shadow: 0 1px 0 #28a745 !important;
  color: #fff !important;
  text-decoration: none !important;
  width: 100px !important;
  margin: 15px 0 !important;
  outline: none !important;
  text-shadow: 0 -1px 1px #28a745, 1px 0 1px #28a745, 0 1px 1px #28a745, -1px 0 1px #28a745 !important;
}
 .edit-row{
  text-decoration: none !important;
  color: #fff !important;
  outline: none !important;

 }
 .button-delete{
  background: #dc3545 !important;
  border-color: #dc3545 #dc3545 #dc3545 !important;
  box-shadow: 0 1px 0 #dc3545 !important;
  color: #fff !important;
  text-decoration: none !important;
  width: 100px !important;
  margin-bottom: 10px !important;
  text-shadow: 0 -1px 1px #dc3545, 1px 0 1px #dc3545, 0 1px 1px #dc3545, -1px 0 1px #dc3545 !important;
}

.button-edit:hover{
  background: #33ce57 !important;
  border-color: #33ce57 #33ce57 #33ce57 !important;
  box-shadow: 0 1px 0 #33ce57 !important;
  color: #fff !important;
  text-shadow: 0 -1px 1px #33ce57, 1px 0 1px #33ce57, 0 1px 1px #33ce57, -1px 0 1px #33ce57 !important;

}
.button-delete:hover{
  background: #ec5665 !important;
  border-color: #ec5665 #ec5665 #ec5665 !important;
  box-shadow: 0 1px 0 #ec5665 !important;
  color: #fff !important;
  text-shadow: 0 -1px 1px #ec5665, 1px 0 1px #ec5665, 0 1px 1px #ec5665, -1px 0 1px #ec5665 !important;

}
.search-autocomplete-chapter{
  width: 99% !important;
  height: 7% !important;
  margin-top: 15px !important;
}
.display-block{
  display: block !important;
}
.button-submit{
  width: 100% !important;
  background-color: #4CAF50 !important;
  color: white !important;
  padding: 14px 20px !important;
  margin: 8px 0 !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}
.input-create-chapter {
  width: 100% !important;
  padding: 12px 20px !important;
  margin: 8px 0 !important;
  display: inline-block !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  height: 44px !important;
}
.switch-display {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
}

.switch-display input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-display {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.toggle-display:before {
  position: absolute;
  content: "";
  height: 9px;
  width: 9px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .toggle-display {
  background-color: #123351;
}

input:focus + .toggle-display {
  box-shadow: 0 0 1px #123351;
}

input:checked + .toggle-display:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded toggle */
.toggle-display.round {
  border-radius: 17px;
}

.toggle-display.round:before {
  border-radius: 50%;
}

.flex-container {
  display: flex;
  flex-direction: column;
}

.flex-container > button {
  background-color: #f1f1f1;
  width: 100px;
  margin: 10px;
  text-align: center;
  line-height: 75px;
  font-size: 30px;
}

.error-message-chapters {
  width: 100% !important;
  text-align: center !important;
  padding: 12px !important;
  color: #fff !important;
  background:#ec0000 !important;
  display: block !important;
  font-size: 18px !important;
  box-shadow: -1px 0px 18px -5px rgba(0,0,0,0.49)!important;
  -webkit-box-shadow: -1px 0px 18px -5px rgba(0,0,0,0.49) !important;
  -moz-box-shadow: -1px 0px 18px -5px rgba(0,0,0,0.49) !important;
}
.error-message-chapters  span {
  border-radius: 3px !important;
  padding: 2px 15px !important;
  margin-left: 7px !important;
  color: #fff !important;
}
.ui-dialog-titlebar{
  line-height: 20px !important;
}