@charset "utf-8";
/* CSS file for onko.tr
 * Author name : Armagan Tekdoner @ grifare.net
 * Release date: August 2025
 * File URL: onko.tr/css/default.css
 */
 
/* This website uses Bootstrap
 * its CDN is https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css
 * and the CDN for icons is https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css
 */

/* Responsive design break points (Bootstrap 5)
 * Extra small (xs): Less than 576px
 * (No breakpoint class prefix)
 * Small (sm): 576px and up
 * Class prefix: sm
 * Medium (md): 768px and up
 * Class prefix: md
 * Large (lg): 992px and up
 * Class prefix: lg
 * Extra large (xl): 1200px and up
 * Class prefix: xl
 * Extra extra large (xxl): 1400px and up
 * Class prefix: xxl.
 * The layout is not intended for screens smaller than 320px
 * and breaks below 300px
 * smallest-screen-content class is used for them 
 */

 /* Largest image width used is 1300px
	* Considering the purpose of the website the intention is to avoid giant photos and difficult to read text for being too wide
  */

/* Colour pallette
 * https://coolors.co/2c363f-7d122b-eae3f2-f5f6f4
 * https://www.onko.tr/website-documentation/OnkoColourPalette-base#63408a.pdf
 */	

/* Fonts
 * Verdana: Preferred font. The browser will attempt to use Verdana first.
 * Geneva: A fallback. If Verdana is not available on the user's system (which is rare, but possible), the browser will try Geneva. Geneva is a very similar font to Verdana and is commonly found on macOS systems.
 * sans-serif: This is the final fallback, a generic font family keyword. If neither Verdana nor Geneva is available, the browser will use its default sans-serif font. This ensures that text is always displayed, even if the user has an unusual system configuration.
*/	

html {
	/* Base font size, makes relative units easier to use */
	/* It is usually 16px */		
  font-size: 100%;
	/* Include padding/border in element size for predictable layout. */
  box-sizing: border-box; 
}
/* Inherit box-sizing for consistent sizing across all elements */	
	*,
	*::before,
	*::after {
		box-sizing: inherit;
	}

body {
	font-family: Verdana, Geneva, sans-serif;
  font-size: 1rem;	
/* very light background colour*/	
	background-color: #f5f6f4;
/* dark font colour --gunmetal */
	color: #2c363f;
/* for improving text rendering, especially for smaller font sizes */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Remove the default browser outline for the general focus state */
:focus {
  outline: none;
}

/* Add a visible outline ONLY when the browser determines it should be shown (e.g., keyboard navigation) */
/* focus outline for the entire website */
:focus-visible,
#logo:focus-visible,
a[lang]:focus-visible,
a.in-page-link:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid #7d122b; /* --claret */
	text-decoration: none;
}	

/** BEGIN skip to main content link **/
#skip-links {
  position: absolute;
  margin-top: -1000px;
	width: 20%;
	text-align: center;
	margin-left: 40%;
  text-decoration: underline;
	background-color: #2c363f; /* --gunmetal */
	color: #f5f6f4;
}
/* link appears on focus by overwriting -1000px */
	#skip-links:focus-visible {
		margin-top: 2px;
		margin-bottom: 2px;		
	}
/** END skip to main content link **/	


/* info banner that appears when redirected from onko.com.tr */
div#redirection-info {
	display: none;
}
		/* onko.tr announcement */
		.alert-info{
			background-color: #f5f6f4; /* page background colour*/	
			color: #2c363f; /* page colour --gunmetal */
			border: 2px solid #2c363f;
			p {
				margin: 0;
				padding: 0;
			}
		}

/** BEGIN main navigation **/
/* pushes the logo and language div down */
div#logo-and-language{
	margin-bottom: -3.98rem;
}
	@media (max-width: 991.98px) {
	/* pulls the logo and language div up */
		div#logo-and-language{
			margin-bottom: 0;
		}
	}

header.rebecca-purple {
  background-color: #eae3f2; /* lighter rebecca-purple */
}

a {
	/* makes sure links are not hidden behind when there are negative margins */	
	z-index: 10;
	/* overwrites teh default Bootstrap link colour */
	color: #2c363f; /* --gunmetal */
}

/* ONKO logo top left */
img#logo {
	box-shadow: none;
	width: 120px;
	height: auto;
	margin-bottom: 4px;
}

.nav-link:hover {
	cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #63408a; /* --rebecca-purple */
	text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

/* prevents the focus outline from appearing on mouse down */
a:active,
#navbarNav:active {
  outline: none;
}

a[lang], /* language toggle English text link */
a.in-page-link { /* links in body text */
	text-decoration: underline;
	text-decoration-color: #63408a; /* --rebecca-purple */
}

	a[lang] { /* language toggle English text link */
		text-decoration-thickness: 4px;
		text-underline-offset: 6px;
	}
	a.in-page-link { /* links in body text */
		text-decoration-thickness: 2px;
		text-underline-offset: 0.2rem;
		padding: 0.2rem;			
	}

	a[lang]:hover,
	a.in-page-link:hover {
		color: #f5f6f4;
		background-color: #525a49;		
		text-decoration: none;
	}


.nav-item {
	margin-right: 0.5rem;
}

/* change text and background colours of the current page link */
.current-page {
	color: #f5f6f4;
	background-color: #525a49; /* --rebecca-purple */
	text-decoration: none;
	pointer-events: none; /* Disables mouse events */
	cursor: default; /* Changes cursor */
	user-select: none; /* Prevents text selection */
	
	/* vendor prefixes for broader compatibility */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */	
}
	.current-page:focus,
	.current-page:hover,
	.current-page:active	{
		background-color: transparent;
	}
	
.map-wrapper{
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}	

/* when the mobile menu opens */
button[aria-expanded="true"] + div {
  margin-left: 1rem;
}
/* main navigation ends */



/** BEGIN footer **/
footer {
	background-color: #eae3f2; /* light rebecca-purple */
	font-size: 0.875rem;
}

	footer a {
		padding: 0.3rem;
		text-decoration: underline;
		text-decoration-color: #63408a; /* --rebecca-purple */
		text-decoration-thickness: 1px;
		text-underline-offset: 0.1rem;		
	}

	footer a:hover {
		color: #f5f6f4;
		background-color: #525a49;
		text-decoration: none;
	}
/** END footer **/

/** general rules **/
/* responsive images */
figure {
/* Prevents figure clipping, allowing content to extend beyond its bounds */
	overflow: visible;
}
	img {
		max-width: 100%;
		height: auto;
		overflow: auto;
		box-shadow: 0px 8px 20px -8px rgba(44, 54, 63, 0.4);		
	}
	figcaption {
		text-align: left;
    margin-bottom: 1rem;
		font-size: .875em;
	}

::selection {
  padding: 0.1rem;
  background-color: #63408a; /* --rebecca-purple */
	color: #f5f6f4;	
}
mark {
  padding: 0.1rem;
  background-color: #eae3f2; /* light rebecca-purple */
}

/* individual images */
img#sgk{
	max-width: 130px;
	box-shadow: none;		
}

/* videos */
/* larger video on screens small and up */
@media (min-width: 576px) {
  #onko-video-large {
		display: block;
	}
  #onko-video-small {
		display: none;
	}	
}
/* smaller video on screens extra small and down */
@media (max-width: 575.99px) {
  #onko-video-large {
		display: none;
	}
  #onko-video-small {
		display: block;
	}	
}


/* end of onko.tr CSS file */