/*
 * OnlineFreeApps.com - Created by Ralph Hervas
 * File: /home/comonlinefreeapp/public_html/themes/altum/assets/css/ofa.css
 * File name: ofa.css
 * URL: https://OnlineFreeApps.com/
 * Modified: 2026-11-28 20:05
 * Changes: Own styles of the public pages. Loaded after the vendor styles by themes/altum/views/wrapper.php.
 * Version: 1.0
 * New Version Changes: First version: logo sizes. Home page logo centred, up to 500px wide. Footer logo 320px wide. Header logo of the other pages 3.5rem high.
 */

/* ---------------------------------------------------------------------------
   1. Logo in the header of every public page
   --------------------------------------------------------------------------- */
.navbar-logo {
	height: 3.5rem;
	max-height: 3.5rem;
}

/* ---------------------------------------------------------------------------
   2. Home page only (body class ofa-page-index): logo in the centre of the
      header, as wide as the space allows, never wider than 500px.
      Change the two 500px values to make it smaller or larger.
   --------------------------------------------------------------------------- */
.ofa-page-index .navbar-main .navbar-logo {
	width: 100%;
	max-width: 500px;
	height: auto;
	max-height: none;
}

/* Wide screens: three columns - empty | logo | menu */
@media (min-width: 992px) {
	.ofa-page-index .navbar-main > .container {
		display: grid;
		grid-template-columns: 1fr minmax(0, 500px) 1fr;
		align-items: center;
	}

	.ofa-page-index .navbar-main .navbar-brand {
		grid-column: 2;
		grid-row: 1;
		margin: 0;
		padding: 0;
		justify-content: center;
	}

	.ofa-page-index .navbar-main .navbar-collapse {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}

	.ofa-page-index .navbar-main .navbar-nav {
		flex-wrap: wrap;
		justify-content: flex-end;
	}
}

/* Phones and tablets: logo centred in the space left of the menu button */
@media (max-width: 991.98px) {
	.ofa-page-index .navbar-main .navbar-brand {
		flex: 1 1 0;
		min-width: 0;
		margin-right: .5rem;
		justify-content: center;
	}
}

/* ---------------------------------------------------------------------------
   3. Logo in the footer of every public page
      Change 320px to make it smaller or larger.
   --------------------------------------------------------------------------- */
.footer-logo {
	width: 320px;
	max-width: 100%;
	height: auto;
	max-height: none;
}
