﻿
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  position: relative; /* Add relative positioning to the modal content */
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 10px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Mobile View */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 90%; /* Adjust width for smaller screens */
    margin: 10% auto; /* Adjust margin for smaller screens */
    padding: 15px; /* Adjust padding for smaller screens */
  }

  .close {
    font-size: 20px; /* Adjust font size for smaller screens */
    top: 5px; /* Adjust top position for smaller screens */
    right: 5px; /* Adjust right position for smaller screens */
  }
  
  .modal {
    z-index: 1;
    background-color: rgba(0,0,0,0.8); /* Darken background for better contrast */
  }
}


/* CssClass="textbox" */
input.textbox, select, textarea {
    font-family: verdana, arial, snas-serif;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    width: 100%;
    font-size: 14px;
    padding: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input.textbox:focus, input.input_text_focus, select:focus, textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.1rem rgba(0,123,255,.25);
}

/* Dropdown Class */
.select-dropdown {
    font-family: verdana, arial, sans-serif;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    width: 100%;
    font-size: 14px;
    padding: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.select-dropdown:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.1rem rgba(0,123,255,.25);
}

/* card*/
.boxcard {
  padding: 20px;
  height:100%;
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
}
.boxcard h3 {
  font-weight: 400;
  margin: -20px -20px 20px -20px;
  padding: 15px 15px;
  font-size: 16px;
  font-weight: 600;
  color: #777777;
  background-color: #f2f2f2;
}

@media only screen and (max-width: 768px) {
.boxcard {
    margin-top: 25px;   
    margin-left: 15px;  
    margin-right: 15px;  
  }
}
@media only screen and (max-width: 768px) {
.box {
    margin-top: 10px;   
    margin-left: 5px;  
    margin-right: 5px;  
  }
}

.btnalign {
display: flex;
flex-direction: row;
justify-content: flex-start;
gap: 4px;
margin-top: 27px;
}
    
@media only screen and (max-width: 600px) {
.btnalign {
        flex-direction: row; 
        margin-top: 6px;
        padding-top: 7px;
        padding-bottom:10px;
        }
}
 /* gridview */   
.gridview-table {
    border-collapse: collapse;
    width: 100%;
}

.gridview-table th, .gridview-table td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
    white-space : nowrap;
}

.gridview-table th {
    background-color: #f2f2f2;
    font-weight: 600;
    color: #777777;
}
    

/* green Button */
.btn-green {
    display: inline-block;
    padding: 5px 8px;
    font-size: 14px;
    line-height: 1.5;
    border: none;
    border-radius: 0.25rem;
    color: #fff;
    background-color: #7BC62A;
    border-color: #7BC62A;
}

.btn-green:hover {
    background-color: #6eb126;
    border-color: #6eb126;
}

/* Blue Button */
.btn-blue {
    display: inline-block;
    padding: 5px 8px;
    font-size: 14px;
    line-height: 1.5;
    border: none;
    border-radius: 0.25rem;
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-blue:hover {
    background-color: #138496;
    border-color: #117a8b;
}

/* print massages on label */
.lblmsg {
    margin: 10px 0px 0px 0px;
    padding: 4px; 
    text-align: center;
    font-size: 14px;    
}

/* asterisk sign */
.asterisk {
    padding-right: 3px;
    color: red;
    vertical-align: middle;
    text-align: center;
    font-size: 14px;
}

/* search-box */
.search-box {
    border-radius: 10px 0 0 10px;
}

.search-button {
    border-radius: 0 10px 10px 0;
}