﻿html {
	font-size: 14px;
}

@media (max-width: 1080px) {
	html {
		font-size: 12px;
	}
}


body
{
	margin-bottom: 60px;
	background-color: #ffffff;
	color: #302559;
	font-family: "articulat-cf", "source-serif-pro", Sans-serif;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus
{
	box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.admin-label
{
	margin-left: 10px;
}

.custom-container {
	width: 100%; /* Full width for smaller screens */
	max-width: 1400px; /* Keeps the maximum width for larger screens */
	margin: 0 auto;
}

@media (max-width: 1080px) {
	.custom-container {
		padding: 0 15px; /* Add some padding for narrow screens */
		width: 100%; /* Ensures it doesn't overflow */
	}
}


.form-control {
	height: 40px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: .375rem .75rem;
	line-height: 1;
}

.form-horizontal
{
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
}

.form-horizontal .form-group
{
	flex: 1 0 200px;
}

.loader
{
	border: 5px solid #f3f3f3;
	border-top: 5px solid #302559;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	animation: spin 1s linear infinite;
	visibility: hidden;
	display: inline-block;
	margin-left: 10px;
}

@keyframes spin
{
	0%
	{
		transform: rotate(0deg);
	}

	100%
	{
		transform: rotate(360deg);
	}
}


.logo
{
	width: 120px;
	height: auto;
}

th:hover
{
	background-color: #ddd;
}

th:active
{
	background-color: #bbb;
}

th[data-direction="asc"]:after
{
	content: " ▲";
}

th[data-direction="desc"]:after
{
	content: " ▼";
}

table th, table td
{
	overflow: hidden;
	text-overflow: ellipsis;
}

table {
	width: 100%; /* Make the table take up full width on narrow screens */
	margin-top: 20px;
	overflow-x: auto;
}

@media (max-width: 1080px)
{
	table
	{
		table-layout: auto;
		display: block;
		overflow-x: scroll;
	}

	.id-col, .loglevel-col, .statuscode-col, .message-col, .button-col
	{
		width: auto;
	}
}

.guid {
	font-family: 'Courier New', Courier, monospace;
	color: #888888;
}

#guidSection, #bodyDataSection
{
	margin-bottom: 20px;
}

hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 10px 0;
}


table tbody tr:hover
{
	background-color: #f5f5f5;
	cursor: pointer;
}

.logsource-col
{
	width: 160px;
}

.archicaduser-col
{
	width: 120px;
}

.logdate-col
{
	width: 180px;
}

.loglevel-col
{
	width: 120px;
}

.statuscode-col
{
	width: 50px;
}

.message-col
{
	/*width: 80px;*/
}

.button-col
{
	width: 128px;
}

.hamburger-menu {
	width: 35px;
	height: 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
}

	.hamburger-menu div {
		width: 100%;
		height: 4px;
		background-color: #333;
	}

@media (max-width: 1080px) {
	.navbar-brand {
		font-size: 1em;
	}

	nav {
		padding: 10px;
	}

	.dropdown-menu {
		width: 100%;
		left: 0;
	}
}


.menu-container
{
	position: relative;
}

.dropdown-menu
{
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.dropdown-menu.show
{
	//display: block;
}


.dropdown-menu a
{
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
}


.input-spacing
{
	margin-right: 10px;
}

.modal {
	display: none;
	position: fixed;
	/*z-index: 1050 !important;*/
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
	transition: opacity 0.4s;
}

.modal-content
{
	background-color: #fefefe;
	margin: 10% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 50%;
}

.close
{
	color: #aaa;
	text-align: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.close:hover,
.close:focus
{
	color: black;
	text-decoration: none;
}

header h1
{
	margin: 0;
	padding: 50px;
}

nav
{
	background-color: #173336;
	padding: 10px 0;
}

nav a
{
	color: #218b8b;
	margin: 0 10px;
	text-decoration: none;
}

.navbar-brand
{
	margin-left: 40px;
	font-size: 1.2em;
}

html, body {
	height: 100%;
	margin: 0;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

main {
	flex: 1; /* Make the main content take up the remaining space */
}

footer {
	background-color: #302559;
	color: #ffffff;
	text-align: center;
	padding: 10px 0;
	bottom: 0;
	width: 100%;
	margin-top: auto
}

a
{
	color: #8969ff;
}

a:hover
{
	color: #7bdcb5;
}
