	

#button {
  display: inline-block;
  background-color: #FF9800;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}
#button:hover {
  cursor: pointer;
  background-color: #333;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}

    .dataTables_wrapper {
   
    font-weight:bold;
    font-size: 16px;
    direction: rtl;
    position: relative;
    clear: both;
    *zoom: 1;
    zoom: 1;
}
table#TableForm.dataTable tbody tr:hover {
  background-color: #ffa;
}
.div-only-mobile {
    display: none;
}

@media screen and (max-width: 849px) {

.div-no-mobile {
    display:none
}

.div-only-mobile {
    display: block;
}

}



.btn {
  border: 2px solid black;
  border-radius: 5px;
  background-color: white;
  color: black;

  cursor: pointer;
}


/* Green */
.success {
  border-color: #04AA6D;
  color: green;
}

.success:hover {
  background-color: #04AA6D;
  color: white;
}

/* Blue */
.info {
  border-color: #2196F3;
  color: dodgerblue
}

.info:hover {
  background: #2196F3;
  color: white;
}

/* Orange */
.warning {
  border-color: #ff9800;
  color: orange;
}

.warning:hover {
  background: #ff9800;
  color: white;
}

/* Red */
.danger {
  border-color: #f44336;
  color: red
}

.danger:hover {
  background: #f44336;
  color: white;
}

/* Gray */
.default {
  border-color: #e7e7e7;
  color: black;
}

.default:hover {
  background: #e7e7e7;
}

 #TableForm td {
  vertical-align: middle;
}
 .tool span {
        display: none;
      }
.tool:hover {
        cursor: help;
        position: relative;
      }
  .tool:hover span {
        border: #666 2px dotted;
        padding: 5px;
        display: block;
        z-index: 100;
        background: #e3e3e3;
        right: 70px;
        margin-top: 15px;
        width: 230px;
        position: absolute;
        top: 30px;
        text-decoration: none;
      }
      
@media (max-width: 767px){
.small-box .icon {
/*display: block;*/
}
.small-box {
text-align: right;
}
}
 .modal-body {
      text-align:right;
  }     
  .cover {object-fit: cover;}



        .new-card-form {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            background-color: #f9f9f9;
        }
        .new-card-form h4 {
            margin-bottom: 20px;
            font-family: 'Arial', sans-serif;
            color: #333;
        }
        .form-group {
            display: inline-block;
            margin-right: 15px;
            vertical-align: top;
        }
        .form-group label {
            display: block;
            font-weight: bold;
        }
        .form-group select {
            display: inline-block;
            padding: 8px;
            border-radius: 4px;
            border: 1px solid #ccc;
            box-sizing: border-box;
            width: 200px; /* Adjusted width for inline layout */
        }
        .form-actions {
            margin-top: 20px;
            text-align: center;
        }
        .form-actions button,
        .form-actions a {
            display: inline-block;
            padding: 10px 20px;
            border-radius: 4px;
            color: #fff;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s, transform 0.3s;
            margin: 5px; /* Space between buttons */
            vertical-align: middle; /* Align buttons vertically */
        }
        .form-actions .btn.success {
            background-color: #28a745;
        }
        .form-actions .btn.success:hover {
            background-color: #218838;
        }
        .form-actions .btn.danger {
            background-color: #dc3545;
        }
        .form-actions .btn.danger:hover {
            background-color: #c82333;
        }
        @media (max-width: 768px) {
            .form-group {
                display: block;
                width: 100%;
                margin-bottom: 10px;
            }
            .form-group label {
                display: inline-block;
                width: 100%;
                margin-bottom: 5px;
            }
            .form-group select {
                width: 100%;
            }
            .form-actions {
                text-align: center;
            }
            .form-actions button,
            .form-actions a {
                width: 100%;
                display: block; /* Ensure buttons stack vertically */
            }
        }
    
   
        .custom-alert {
            font-size: 18px;
            display: block;
            margin: 20px auto;
            padding: 15px;
            border-radius: 5px;
            background-color: #f8d7da; /* Light red background */
            color: #721c24; /* Dark red text */
            border: 1px solid #f5c6cb; /* Light red border */
            max-width: 90%;
        }
        .custom-alert strong {
            display: block;
            margin-bottom: 10px;
        }
        @media (max-width: 576px) {
            .custom-alert {
                font-size: 16px;
                padding: 10px;
                max-width: 100%;
            }
        }
    
    
        .custom-alert-info {
            font-size: 18px;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 20px auto;
            padding: 15px;
            border-radius: 5px;
            background-color: #d1ecf1; /* Light blue background */
            color: #0c5460; /* Dark blue text */
            border: 1px solid #bee5eb; /* Light blue border */
            max-width: 90%;
            position: relative;
        }
        .custom-alert-info strong {
            display: block;
            margin-bottom: 10px;
        }
        .custom-alert-info .btn-success {
            font-weight: bold;
            margin-top: 10px; /* Space between text and button */
        }
        @media (max-width: 576px) {
            .custom-alert-info {
                font-size: 16px;
                padding: 10px;
                max-width: 100%;
            }
        }
    
   
        .pdf-container {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 75%; /* Aspect ratio (4:3) */
            overflow: hidden;
        }

        .pdf-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
    