/* -------------------------------------- */

/* Tags */

button {
    border-width: 1px;
    border-style: outset;
    border-image: initial;
    border-radius: 3px;
    font-size: 17px;
}

button:hover {
    /* background-color: rgb(216, 216, 216); */
    cursor: pointer;
}

button:disabled,
button[disabled] {
  background-color: #cccccc;
  color: #666666;
  cursor: default;
}

button:disabled:hover,
button[disabled]:hover {
  background-color: #cccccc;
  color: #666666;
  cursor: default;
}

table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
  
table td, table th {
    border: 1px solid rgb(151, 151, 151);
    padding: 8px;
}

table tr {
    background-color: #f2f2f2;
}

table tr:nth-child(even), tbody tr:nth-child(even){background-color: #ffffff;}

table tr:hover {background-color: #ddd;}
  
table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #0c98da;
    color: white;
    position: sticky; 
    top: 0; 
    z-index: 1;
    border-top: 0px;
}

td input {
    width: 70px;
}

/* -------------------------------------- */

/* Class */

.bold {
    font-weight: bold;
}

.center {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 94px);
    flex-direction: column;
}

.horizontal-center {
    text-align: center;
}

/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
    display: -webkit-box;
}
  
/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    /* display: block; */
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}
  
/* Change the color of links on hover */
.topnav a:hover {
    /* background-color: #ddd; */
    color: white;
    text-decoration: underline;
}
  
/* Add an active class to highlight the current page */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}
  
/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

.subnav {
    float: left;
    overflow: hidden;
}
  
.subnav .subnavbtn {
    font-size: 16px;  
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}
  
.subnav:hover .subnavbtn {
    text-decoration: underline;
}

.subnav-inner {
    display: inline-block;
}
  
.subnav-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: rgb(73, 73, 73);
    width: 100%;
    z-index: 1;
    text-align: center;
}
  
.subnav-content a {
    /* float: left; */
    text-decoration: none;
}
  
.subnav:hover .subnav-content {
    display: block;
}

.user-login-div {
    text-align: right;
}

.config-button {
    background-color: #0c98da;
    color: white;
    padding: 6px;
    margin: 4px;
    border: none;
    cursor: pointer;
    opacity: 0.9;
    font-size: large;
    font-weight: bold;
}

.config-modification-button {
    margin-left: 5px;
}

.config-button:hover {
    opacity: 1;
}

.cancelbtn, .deletebtn {
    width: 45%;
}

.cancelbtn {
    background-color: #ccc;
    color: black;
    margin-left: 15px;;
}

.deletebtn {
    background-color: #f44336;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 50%;
    height: 250px;
    overflow: auto;
    background-color: #ebebeb;
    padding-top: 40px;
    margin: auto;
    border: #000000;
    border-style: inset;
    text-align: center;
}

.modal-btn {
    padding: 14px 20px;
}
  
.modal-content {
    background-color: #fefefe;
    margin: 5% auto 15% auto;
    border: 1px solid #888;
    width: 80%;
}

.close {
    position: absolute;
    right: 35px;
    top: 15px;
    font-size: 40px !important;
    font-weight: bold;
    color: #000000;
}
  
.close:hover, .close:focus {
    color: #f44336;
    cursor: pointer;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.nnsa-btn {
    border-width: 1px;
    border-style: outset;
    border-image: initial;
    border-radius: 3px;
    font-size: 17px;
}

.nnsa-btn:hover {
    background-color: rgb(216, 216, 216);
    cursor: pointer;
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button:focus {
    outline: none;
}

.tab button.active {
    background-color: #ccc;
}

.sidenav {
    width: 148px;
    z-index: 1;
    left: 0;
    background-color: #e7e9eb;
    overflow-x: hidden;
    padding-top: 20px;
}
  
.sidenav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 14px;
    color: #818181;
    display: block;
}
  
.sidenav a:hover {
    background-color: #cccccc;
    cursor: pointer;
}

.active-sidenav-item {
    background-color: #0c98da !important;
    color: #ffffff;
}

.list-move,
.list-enter-active,
.list-leave-active {
  transition: all 0.5s ease;
}

.list-enter-from,
.list-leave-to {
  opacity: 0;
  transform: translateX(30px);
  background-color: #fd0;
}

.list-leave-active {
  position: absolute;
}

.pagination {
    justify-content: center;
    align-items: center;
}

.page-container {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 2px 10px;
    margin:5px;
    font-weight: bold;
}

.page-container:hover {
    cursor: pointer;
}

.current-page {
    background: beige;
}

.current-page:hover {
    cursor: default;
}

.page-ellipsis {
    margin: 5px;
    font-weight: bold;
}

.grayscale-image {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}

.sort-arrow {
    display: inline;
}

.readonly {
    cursor: default;
    background-color: rgba(239, 239, 239, 0.3);
    color: rgb(84, 84, 84);
    border-color: rgba(118, 118, 118, 0.3);
}

.config-type-indicator-container {
    font-size: 40px;
    margin: 0;
    line-height: 0;
}

.config-type-indicator {
    display: initial;
    margin: 0px;
}

.blue {
    background-color: #0c98da;
}

.blue:hover {
    background-color: #0b71a0;
}

.blue-text {
    color: #0c98da;
}

.orange {
    background-color: #da6200;
}

.orange:hover {
    background-color: #9f4801;
}

.orange-text {
    color: #da6200;
}

.yellow {
    background-color: #bdc000;
}

.yellow:hover {
    background-color: #989a00;
}

.yellow-text {
    color: #bdc000;
}

.green {
    background-color: #49a100;
}

.green:hover {
    background-color: #387c00;
}

.green-text {
    color: #49a100;
}

.red {
    background-color: #f44336;
}

.red:hover {
    background-color: #ba3228;
}

.red-text {
    color: #f44336;
}

.icon-img {
    width: 48px;
}

/* -------------------------------------- */

/* Ids */

#config-delete-btn {
    background-color: #f44336;
}

#id_name {
    margin-left: 5px;
}

/* -------------------------------------- */

/* Other */


/* -------------------------------------- */