body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #e64823 !important;
    background: linear-gradient(180deg, rgba(230, 72, 35, 0.79) 0%, #f8931d 100%);
	color: white;
    padding: 10px 0;
    text-align: center;
	display: flex;
	justify-content: center;
	padding: 2rem;
    position: relative;
    z-index: 9;

	& .wrapper {
    	width: 100%;
    	max-width: 1200px;
    	display: flex;
    	justify-content: space-between;
	}

	& img {
		width: 100%;
    	max-width: 12rem;
	}

	& nav {
    	& ul {
    		list-style: none;
    		padding: 0;
        
        	& li {
        		display: inline;
    			margin: 0 10px;
            
            	& a {
            		text-decoration: none;
    				color: white;
            	}
        	}
    	}
	}
}


footer {
    background-color: #1E1C1D !important;
	color: white;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9;
}

.toast-container {
    position: fixed;
    top: 15rem;
    right: 1rem;
    z-index: 9;
    max-width: 20rem;

    & .toast {
        display: flex;
        align-items: center;
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

    & .toast-success {
        background-color: #d4edda;
        color: #155724;
    }

    & .toast-error {
        background-color: #f8d7da;
        color: #721c24;
    }

    & .toast-warning {
        background-color: #fff3cd;
        color: #856404;
    }

    & .toast-info {
        background-color: #cce5ff;
        color: #004085;
    }

    & .toast-close {
        background: none;
        border: none;
        color: inherit;
        font-size: 1.2em;
        margin-left: auto;
        cursor: pointer;
    }

}

@keyframes fadein {
    from { top: 0; opacity: 0; }
    to { top: 15rem; opacity: 1; }
}

@keyframes fadeout {
    from { top: 15rem; opacity: 1; }
    to { top: 0; opacity: 0; }
}

.btn-primary {
	background-color: #000000;
	color: white;
	font-weight: bold;
	border-radius: 2rem;
	border: none;
    padding: 0.75rem 2.5rem;
	cursor: pointer;
	text-decoration: none;
	height: fit-content;
	transition-duration: 300ms;

	&:hover {
    	background-color:rgba(0,0,0,0.7);
	}
}

.btn-secondary {
	background-color: #f8931d;
	color: white;
	font-weight: bold;
	border-radius: 2rem;
	border: none;
    padding: 0.75rem 2.5rem;
	cursor: pointer;
	text-decoration: none;
	height: fit-content;
	transition-duration: 300ms;

	&:hover {
    	background-color: #EC7016;
	}
}

.btn-danger {
	background-color: #8c1b1b;
	color: white;
	font-weight: bold;
	border-radius: 2rem;
	border: none;
    padding: 0.75rem 2.5rem;
	cursor: pointer;
	text-decoration: none;
	height: fit-content;
	transition-duration: 300ms;

	&:hover {
    	background-color: #eb2d2d;
	}
}

.text-right {
    text-align: right;
}

.full-bleed-width {
    background-color: #121212;
    box-shadow: 0 0 0 100vmax #121212;
    clip-path: inset(0 -100vmax);
}

.left-bleed {
    background-color: #f2f2f2;
    box-shadow: -100vmax 0 0 100vmax #f2f2f2;
    clip-path: inset(-100vmax 0 -100vmax -100vmax);
    position: relative;

    @media screen and (max-width: 996px) {
        background-color: #f2f2f2;
        box-shadow: 0 0 0 100vmax #f2f2f2;
        clip-path: inset(0 -100vmax);
    }
}

.action-link {
	color: #000;
	background: transparent;
	border: none;
	font-size: 1rem;
	text-decoration: underline;
	cursor: pointer;

    &:hover {
        color: #f8931d;
    }
}

.content {
	display: flex;
	justify-content: center;
	padding: 2rem;

	& .wrapper {
    	width: 100%;
    	max-width: 1200px;
    	padding: 1rem 1rem 5rem 1rem;
    
    	& .welcome-bar {
    		display: flex;
        	width: 100%;
        	justify-content: space-between;
        	align-items: center;
    	}
    
    
    	& form {
        	& input[type="text"], input[type="password"], input[type="date"], input[type="email"], input[type="number"], textarea  {
                padding: 1.25rem;
                border: solid 1px #F8931D;
            	border-radius:7px;
  				vertical-align: middle;
  				background: transparent;
                max-width: 30rem;
        	}
        
        	& p {
        		display: flex;
            	flex-direction: column;
                background-color: white;
            
            	& label {
            		margin-bottom: 0.45rem;
            	}
            
            	& input, textarea {
                	max-width: 30rem;
            	}
        
        	}

            & input[type="checkbox"] {
                align-self: flex-start;
                margin: 0;
                width: 1.25rem;
                height: 1.25rem;
                background-color: #e64823;
                border: 1px solid #e64823;
            }

            & .helptext {
                display: none;
            }
        
            &.fileuploadform, .fileuploadform {
                max-width: 32.75rem;
                color: #EC7016;

                & label {
                    display: none;
                    position: relative;
                }

                & p {
                    border: solid 1px #F8931D; 
                    border-radius: 7px;
                    padding: 0.75rem 1rem;
                    display: flex;
                    justify-content: space-between;
                    position: relative;
                    margin-bottom: 3rem;
                    background-color: white;

                    &:before {
                        content: 'Upload a file:';
                        position: absolute;
                        left: 0;
                        top: -2rem;
                        color: black;
                    }
                }

                & input::file-selector-button {
                    background-color: #EC7016;
                    color: white;
                    font-weight: bold;
                    border-radius: 2rem;
                    border: 1px solid #EC7016;
                    padding: 0.5rem 1.25rem;
                    cursor: pointer;
                    text-decoration: none;
                    height: fit-content;
                    transition-duration: 300ms;
                    margin-right: 1rem;
                }
            }


        	& input::file-selector-button {
        		padding: 1.25rem;
            	border: 1px solid #EC7016;
            	background-color: transparent;
            	border-radius: 7px;
            	cursor: pointer;
            	transition-duration: 300ms;
            	max-width: 30.75rem;
        	}
        
        	& input:hover::file-selector-button {
        		border: 1px solid #f8931d;
                background-color: #f8931d;
        	}
        
        	& select {
        		padding: 1.25rem;
                width: 100%;
                max-width: 32.75rem;
            	border: solid 1px #F8931D;
            	border-radius:7px;
  				vertical-align: middle;
  				background: transparent;
  				-webkit-appearance: none;
  				appearance: none;
                background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 10 10"><polygon points="0,0 10,0 5,5" fill="%23F8931D"/></svg>');
                background-repeat: no-repeat;
                background-position: calc(100% - 1rem) center;
                background-size: 1rem;
                background-color: white;
                z-index: 2;
            }
        
        	& fieldset {
            	margin-bottom: 1rem;
            	border-color:  #e64823;
            
            	legend {
            		font-size: 1.25rem;
                	font-weight: bold;
            	}
            	
            	p {
            		display: flex;
                	flex-direction: column;
                
                	& label {
                		margin-bottom: 0.25rem;
                	}
            	}
        	}
    	}

        & form#filter-form {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 1rem;
            margin-bottom: 1rem;

            & p {
                grid-column: span 1;

                @media screen and (max-width: 996px) {
                    grid-column: span 5;
                    margin-bottom: 0;
                }
            }

            @media screen and (max-width: 996px) {
                gap: 0;
                margin-bottom: 2rem;
            }
        }
	}

	& .container {
		display: grid;
    	grid-template-columns: repeat(12, 1fr);
    	padding: 0.5rem 0;
    	gap: 1rem;
    
    	& .col6 {
    		grid-column: span 6;
        
        	&.rightcol {
        		display: flex;
            	flex-direction: column;
        	}

            @media screen and (max-width: 996px) {
                grid-column: span 12;
            }
    	}
    
    	& .col4 {
        	grid-column: span 4;

            @media screen and (max-width: 996px) {
                grid-column: span 12;
            }
    	}
    
    	& .grid-block {
        	grid-column: span 3;
        	text-decoration: none;
        	background-color: #FAFAFA;
        	color: #F8931D;
        	padding: 1rem;
        	aspect-ratio: 1/0.5;
        	display: flex;
        	flex-direction:column;
        	justify-content: center;
        	align-items: center;
        	border-radius: 7px;
        	font-weight:bold;
        	font-size:1.2rem;
        	text-align:center;
        	justify-content: space-evenly;
        
        	&:hover {
            	background-color: #EC7016;
            	color:white;
        	}
    	}
    
	}

    & table {
        border-collapse: collapse;
        margin-bottom: 3rem;
        text-align: center;
        vertical-align: middle;
        width: 100%;
  
        & thead {
            background-color: #EC7016;
            color: white;
            font-size:0.9rem;

            & th {
                background: #EC7016;
                color:white;
                border:none;
                padding: 1.5rem;
            }

            & th:first-child {
                border-top-left-radius: 10px;
            }

            & th:last-child {
                border-top-right-radius: 10px;
            }
        }
  
        & caption {
            font-weight: bold;
            margin: 0.5rem 0 1rem;
        	text-align:left;
        	color: #E64823;
			font-size: 1.2rem;
			line-height:1em;
        }

        & td {
            border: none;
        	border-bottom:solid 1px #9C6A6A;
            padding: 1.5rem;
        	font-size:0.9rem;
        }
    }
}

h1 {
	font-size:2rem;
}

h3 {
	color: #EC7016;
	font-size: 1.5rem;
	line-height:0.2em;
}

.textLink {
	color: #EC7016;
	font-weight:bold;
}

.textLink:hover {
	color:#E64823;
}