/* Gig-Guide Styles */
/* Copyright Freshwater IT 2025 */

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: local('Lato Light'), local('Lato-Light'), url('/fonts/Lato-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local('Lato Regular'), local('Lato-Regular'), url('/fonts/Lato-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: local('Lato Bold'), local('Lato-Bold'), url('/fonts/Lato-Bold.ttf') format('truetype');
}

* {
 font-family: Lato, Arial, sans-serif;
}

:root {
	--gg-navbar-height : 54px;
}


body {
	padding-top: var(--gg-navbar-height);
}

.navbar { }
.navbar.gg-fixed-height { height:var(--gg-navbar-height); }
.navbar-brand { margin-left:5px; font-size:0px;}
.navbar-brand img, .navbar-brand img.gg-icon, 
.navbar-brand img.gg-icon-logo { height:16px; }

.navbar ul.navbar-nav .nav-link.active .bi { color:var(--bs-primary); }
.navbar ul.navbar-nav .nav-link.active { /* background:rgba(0,0,0,.05);border-radius:8px; */ }

.navbar ul.navbar-nav .nav-link.active .bi { color:var(--bs-white); }
.sidebar.navbar ul.navbar-nav .nav-link:hover {  background:rgba(255,255,255,.2);border-radius:8px;color: var(--bs-white)  }
.navbar ul.navbar-nav .nav-link.active {  background:var(--bs-primary);border-radius:8px;color: var(--bs-white) }
.navbar ul.navbar-nav .nav-link { color:var(--bs-secondary);}



.navbar .nav-item img {height:18px;}

/* Bootstrap Tabs */
.nav-tabs .nav-link {
	color: var(--bs-secondary); /* Default color for secondary */
}
.nav-tabs .nav-link.active {
	color: #fff; /* Text color for active tab */
	background-color: var(--bs-primary); /* Primary background for active tab */
}


/* a:link, a:visited { color:#D50058 } */


.dropZone { background-color: #f8f9fa; height:125px; }
.dropZone.active {background-color: #e9ecef;}

header { font-size:0.9em; }

footer { font-size:0.7em; color:#aaa; z-index:1;}
footer a:link, footer a:visited { color:#aaa;text-decoration:none }

#container {
	position:relative;
	margin-left:0px;
}

#overlay {
	display:none;
	z-index:1000;
	position: fixed;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.1);
}
#overlay div { margin:25% auto 0 auto; width:30px; }

#main-content {
	margin-left: 0;
	transition: all 0.5s;
	margin-bottom:26px;
}





a:focus, button:focus { outline: none; }
a { text-decoration:none }


.dropdown-menu { font-size:0.9em;}
.dropdown-menu a { color:#555;}
.dropdown-menu button { color:#555;}
.dropdown-menu label { color:555;}
.dropdown-item i { margin-right:10px; }
.dropdown-header { font-size:0.8em; }
.dropdown-menu-scrollable
{
  max-height:200px;
  overflow-y:auto;
  padding-bottom:16px;
}

textarea:hover, 
input:hover, 
textarea:active, 
input:active, 
textarea:focus, 
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
.btn:active,
.btn.active
{
    outline:0px !important;
    -webkit-appearance:none;
    box-shadow: none !important;
}
form { margin-bottom:0;}

table.table thead th {font-size:0.8em;text-transform: uppercase;}
table.table th {font-size:0.8em;text-transform: uppercase;}
table.table th a:link, table.table th a:visited {text-decoration:none; color:var(--bs-gray-900)}
table.table th a:link i, table.table th a:visited i {color:var(--bs-primary)}
table.table td {vertical-align: middle; } /* Set middle as default */
table.table.gg-td-align-top td {vertical-align: top; } /* Override */
label.col-form-label { color:var(--bs-gray-600); }
.gg-label { color:var(--bs-gray-600); }
table.table.table-hover td { cursor:pointer }
table.table tfoot td { font-weight:bold; padding-top:10px;}



.gg-open-address-popup {cursor:pointer}
.gg-open-address-window {cursor:pointer}


.gg-search-results {
	position:absolute;
	top: 100%;
	left: 0;
	width: 100%;
	max-height:50vh;
	max-width:200vw;
	overflow:scroll;
	display: none;
}

.gg-search-results .dropdown-item {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.badge.gg-badge-bubble { 
	border:1px solid var(--bs-border-color); 
	color:var(--bs-dark);
	background:var(--bs-light);
	padding-top: 6px;padding-bottom: 6px;
	margin-bottom:3px;margin-right:3px;
}
.badge.gg-badge-bubble i { cursor:pointer;margin-left:6px; }
.gg-autocomplete-info { height:12px;visibility:hidden }
.gg-autocomplete-info.active { visibility:visible; }
.gg-autocomplete-info i { display:inline-block; margin-top:3px; }
.gg-autocomplete-info span { display:inline-block; margin-left:6px; }



.sidebar {
	width: 220px;
	height: 100vh;
	position: fixed;
	transition: transform 0.5s;
	z-index: 1100;
	font-size: 0.9em;
	padding-left: 10px;
	padding-right: 5px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	transform: translateX(-100%);
	/* top: var(--gg-navbar-height); */
	top:0;
}

.sidebar.show {
	transform: translateX(0);
}
.sidebar .navbar-nav li.nav-item { /* margin-bottom:10px; */ }

.sidebar a.navbar-brand {
	margin-top:5px;
	margin-bottom:16px;
}

.sidebar ul.navbar-nav li div,
.sidebar ul.navbar-nav li a {
	padding-left: 10px;
	margin-bottom:10px;
}

.sidebar-overlay {
	display: none;
	position: fixed;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.3);
	z-index: 999;
	opacity: 0;
	transition: all 0.3s ease-in-out;
}

.sidebar-overlay.show {
	display: block;
	opacity: 1;
}

.sidebar .bi {
	margin-right: 10px;
}

.sidebar span {
	display: inline;
}

@media (min-width: 374px) {
	.navbar-brand img { height:20px;}
}



/* Small devices (sm) ≥ 576px */
@media (min-width: 576px) {
	.navbar-brand img {
		height: 24px;
		margin-top: 0;
	}

}

/* Medium devices (md) ≥ 768px */
@media (min-width: 768px) {
	.navbar-brand img {
		height: 28px;
		margin-top: 0;
	}

	.sidebar {
		width: 55px;
		padding-left: 10px;
		padding-right: 0px;
		transform: translateX(0);
	}

	.sidebar ul.navbar-nav li div,	
	.sidebar ul.navbar-nav li a {
		padding-left: 7px;
		margin-right:9px;
	}
	
	.sidebar .bi {
		display: inline;
		font-size: 1.5em;
	}

	.sidebar span {
		display: none;
	}

	#main-content {
		margin-left: 55px;
	}
	:root {
		--main-content-margin: 55px;
	}

	.sidebar-overlay.show {
		display: none;
	}


}

/* Large devices (lg) ≥ 992px */
@media (min-width: 992px) {


}

/* Extra Large devices (xg) ≥ 1200 */
@media (min-width: 1200px) {
	.navbar-brand img {
		height: 26px;
		margin-top: 0;
	}
	.sidebar {
		width: 160px;
		padding-left: 10px;
		padding-right: 3px;
	}

	.sidebar ul.navbar-nav li div,	
	.sidebar ul.navbar-nav li a {
		padding-left: 10px;
	}

	.sidebar span {
		display: inline;
	}

	.sidebar .bi {
		display: inline;
		font-size: 1em;
	}

	.sidebar a.navbar-brand {
		margin-top:4px;
		margin-bottom:14px;
	}


	#main-content {
		margin-left: 160px;
	}
	:root {
		--main-content-margin: 160px;
	}

}


/* Legacy */

.status_6 {
	color : #44f;
	}
 .status_5 {
	color : #0a0;
	}
 .status_4 {
	color : #aa0;
	}
 .status_3 {
	color : #77f;
	}
 .status_3_1, .status_3_2, .status_3_3, .status_3_4, .status_3_5, .status_3_6  {
	color : #f8f;
	}
 .status_2 {
	color : #ef9500;
	}
 .status_1 {
	color : #ff2222;
	}
 .status_0 {
	color : #0cc;
	}

 .status_6_bar {
	background-color : #44f;
	}
 .status_5_bar {
	background-color : #0a0;
	}
 .status_4_bar {
	background-color : #aa0;
	}
 .status_3_1_bar, .status_3_2_bar, .status_3_3_bar, .status_3_4_bar, .status_3_5_bar, .status_3_6_bar  {
	background-color : #f8f;
	}
 .status_3_bar {
	background-color : #77f;
	}
 .status_2_bar {
	background-color : #ef9500;
	}
 .status_1_bar {
	background-color : #ff2222;
	}
 .status_0_bar {
	background-color : #0cc;
	}
