body {
    margin: 0;
    padding: 5px;
    color: #2b2d57;   
    background-color: #f2f3f7; 
    /* position: relative; */
}

a {
    text-decoration: none;
    color: #2b2d57;
}

textarea {
    resize: none;
}

input {   
    margin-bottom: 10px;
    padding: 3px;    
}

button {
    padding: 3px;
}

table {
    font-family: arial, sans-serif;
    font-size: 82%;
    border-collapse: collapse;
    width: 100%;
}
td, th {
    border: 1px solid #F7F7F7;
    text-align: left;
    padding: 6px;
}
.children-even tr:nth-child(even) {
    background-color: #D4D8E3;
}

.even-color:nth-child(even) {    
    background-color:  #e3e7f1;
}

.header {
    padding: 10px;
    text-align: center;
}

.content {
    padding-top: 40px;
    margin-left: 15%;
    width: 70%; 
    margin-bottom: 50px;           
}
@media(max-width:1200px) {
    .content {
        margin-left: 0;
        width: 100%;
    }
}

.top-left {
    position: fixed;
    top: 5px;
    z-index: 1;
}

.top-right {
    position: fixed;
    top: 5px;
    right: 15%;
    z-index: 1;
}
@media(max-width:1200px) {
    .top-right {
        right: 5px;
    }
}

.float-right {
    float: right;
}

.overflow-x-auto {
    overflow-x: auto;
}

.strong {
    font-weight: bold;
}

.center {
    text-align: center;
}

.margin {
    margin: 5px;
}

.padding {
    padding: 5px;
}

.w-100pct {
    width: 100%;
}
.w-70pct {
    width: 70%;
}

.amount-data {
    min-width: 72px;
}

.small {
    font-size: 85%;
}

.smaller {
    font-size: smaller;
}

.btn-menu {
    margin: 5px 3px;
    padding: 5px 10px;
    display: inline-block;
    color: white;
    background-color: lightslategray;
    border-radius: 5px;
    border: none;
    user-select: none;
}
.btn-menu:hover {
    box-shadow: 3px 3px 3px lightslategray;
}
.btn-menu:active {
    transform: scale(1.01);    
}

.btn {
    margin: 5px 3px;
    padding: 5px 10px;
    display: inline-block;
    color: white;
    background-color: lightslategray;
    border-radius: 5px;
    border: none;
    user-select: none;
}
.btn:hover {
    box-shadow: 3px 3px 3px lightslategray;
}
.btn:active {
    transform: scale(1.01);    
}

.projects {
    display: grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
}
@media (max-width:1200px) {
    .projects {
        grid-template-columns: 50% 50%;
    }
}
@media (max-width:540px) {
    .projects {
        grid-template-columns: 100%;
    }
}

.project-card {
    border-radius: 5px;
    box-shadow: 3px 3px 3px; 
    background-color: #D4D8E3;
    margin: 5px;
    padding: 5px;
}
.project-card:hover {    
    box-shadow: 3px 3px 3px grey;     
}
.project-card:active {    
    transform: scale(1.01);
}

.card {
    margin: 10px auto 10px auto;
    padding: 10px;
    box-shadow: 0 0 10px lightslategray;   
    border-radius: 5px;   
    background-color: #D4D8E3;
    width: 50%;
}
@media(max-width:540px) {
    .card {
        width: 90%;
    }
}
.card input[type="text"], .card input[type="number"], .card textarea {
    width: 98%;
}

.login {
    margin: 10px auto 10px auto;
    padding: 10px;
    box-shadow: 0 0 10px lightslategray;   
    border-radius: 5px;   
    background-color: #D4D8E3;
    width: 50%;
}
@media(max-width:540px) {
    .login {
        width: 90%;
    }
}

/* colors */
.white {
    color: white;
}
.grey {
    color: #5D6575;
}
.red {
    color: red;
}
.green {
    color: green;
}
.blue {
    color: blue;
}
.orange {
    color: orange;
}
.yellow {
    color: yellow;
}
.bg-blue {
    background-color: #2196F3;
}
.bg-orange {
    background-color: orange;
}
.bg-red {
    background-color: red;
}
.bg-green {
    background-color: green;
    /* #4CAF50; */
}
.bg-yellow {
    background-color: yellow;
}
.bg-lightslategray {
    background-color: lightslategray;
}
.bg-light-red {
    background-color: #ffdddd;    
}
.bg-light-green {
    background-color: #ddffdd;    
}
.bg-light-blue {
    background-color: #e7f3fe;    
}
.bg-light-yellow {
    background-color: #ffffcc;    
}
.bg-light-grey {
    background-color:  #e3e7f1;
}

/* .progress-bar {
    width: 100%;
    height: 10px;
    border-radius: 4px;
    background-color: #ddd;
}
#progress {
    width: 0%;
    height: 100%;
    background-color: #2196F3;
    border-radius: 4px;
} */

.loader {
    position: fixed;
    z-index: 1;
    top:20%;
    left: 50%;
    margin-left: -60px;
    display: none;
    border: 16px solid #f2f3f7;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    border-bottom: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
  }
  
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }