* {
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

span {
    font-family:  'Verdana', 'Open Sans', sans-serif;
}


.primary-bg {
    background-color: #7FA1E0;
}

.secondary-bg {
    background-color: #97BE36;
}

button.secondary-bg:hover {
    opacity: 0.9;
    background-color: #9ED6AD;
}

button.primary-bg:hover {
    opacity: 0.9;
    background-color: #7FA1E0;
}

.text-white {
    color: #ECF1FA;
}

.text-dark {
    color: black
}

.header {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.header .row {
    display: flex;
    align-items: center;
}


.header h1 {
    font-weight: 400;
}


footer {
    background-color: #5E5E5E;
    padding: 20px; 
    color: #fcfcfc;  
    width: 100%; 
    margin-top: auto
}

input {
    display: block;
    width: 100%;
}

textarea {
    display: block;
    width: 100%;
    height: 184px;
    resize: none;
}


input, textarea {
    padding: 10px; 
    outline: 0;
    margin-bottom: 20px;
    border: 2px solid #d3ddf2;
    border-radius: 8px;
    color: black;
}

input:focus, textarea:focus {
    border: 2px solid #c5ce0c;
}


.label {
    display: block;
    width: 100%;
    position: relative;
}

label span {
    position: absolute; 
    left: 10px;
    top: -12px; 
    transform-origin: 0 0;
    display: block;
    padding: 0 5px;
    background: transparent;
    color: #7d9bd5;
    background: white;
    font-size: 16px;
    transition: all .3s ease-in-out;
}

textarea ~ span {
    left: 10px;
    top: -12px; 
    font-size: 16px;
}

.tags {
    display: flex;
    flex-wrap: nowrap; 
}

.tags span {
    display: block;
    background: #CFCFCF;
    color: #EEEEEE;
    padding: 0 4px;
    margin-right: 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
}

.button {
    outline: none;
    border:0;
    box-shadow: unset;
    margin-bottom: 20px;
    font-weight: 600;
    padding: 10px;
}

.user {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: max-content;
    align-items: center;
}

img {
    display: block;
    width: 50px;
}

/* TABLE */

.table {
    width: 100%;
    margin-top: 50px;
    padding: 0 !important;
}

.thead {
    display: flex;
    width: 100%;
    padding: 0.2rem  0.75rem;
}

.thead .th {
    color: #ECF1FA;
    font-weight: 500;
    background-color: transparent;
}

.tbody .tr:nth-child(2n) {
    background-color: #ECF3FF;
}

.tbody .td {
    color: #B8B8B8
}

.tbody .tr .td, .thead .th {
    padding: 10px;
    background-color: transparent !important;
    font-size: 17px;
}

.tbody .tr {
    display: flex;
    width: 100%;
    padding: 0.2rem  0.75rem;
}

.tr.selected, .tr.selected .tr {
    background-color: #ECF3FF;
}

.tr.selected .td {
    color: #87a7e2;
}

.tr:not(:nth-child(1)) {
    border-top: 1px solid #d3ddf2;
}


.th:nth-child(1), .td:nth-child(1) {
    width: 150px;
}

.th:nth-child(2), .td:nth-child(2) {
    width: 100px;
}

.th:nth-child(3), .td:nth-child(3) {
    width: 40%;
}

.th:nth-child(4), .td:nth-child(4) {
    width: 40%;
}

.th:nth-child(5), .td:nth-child(5) {
    width: 100px;
}

/* SWITCH */

.switch-label {
    display: flex;
    align-items: center; 
    padding: 8px;    
    margin-bottom: 20px;
}

.switch {
    width: max-content; 
}

.switch input {    
    width: 50px !important;
    height: 25px !important;
    margin: 0;
}

.switch input:checked {
    outline: unset;
    box-shadow: 0 0 0 0 transparent !important;
    background-color: #9ED6AD;
    border: none;
}

.form-switch .form-check-input:focus {  
    box-shadow: 0 0 0 0 transparent !important;

}

.switch ~ span {
    position: static; 
    background: transparent;
    transform: unset;
    font-size: 16px;
    margin-left: 5px;

}
