﻿/*
Copyright 2020 Homerus Tekst Service. All rights reserved.
*/
	                                                            /* USED TO SPACE COMMENTS */

/*----- VARIABLES -----*/
:root { 
	--color-creme: rgb(255, 253, 243);                          /* #FFFDF3 */ 
	--color-teal: rgb(0, 90, 112);                              /* #005a70 */
	--color-logo: rgb(55, 125, 150);                            /* a bit lighter than the text */
	--color-orange: rgb(239, 150, 0);                           /* cn, a bit lighter */
	--color-orange: rgb(204, 102, 0);
	--color-grey: rgb(80, 80, 80);                              /* #505050 */;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 1em;                                             /* 16px */
	background-color: var(--color-creme);
	color: var(--color-teal);
}

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/*----- GENERIC STYLES -----*/
article, aside, details, figcaption, figure, footer, header, menu, nav, section { 
	/* display: block;  */
}

body {
	margin: 0;                                                  /* Default is 8px in most browswers; Not sure yet if we want to set this to 0 */
	padding: 0;
	animation: fadeInAnimation ease 1s;
	animation-iteration-count: 1; 
	animation-fill-mode: forwards;
} 
@keyframes fadeInAnimation { 
	0%		{ opacity: 0; } 
	100%	{ opacity: 1; } 
} 

img.protect {
		pointer-events: none;                                     /* Disables right-click events and drag-copying */
}

a:link, a:visited, a:active {
	color: var(--color-teal);
	text-decoration: none;
	padding-bottom: 0;                                          /* Increase this to lower link underline */
	border-bottom: 1px solid var(--color-orange);
	/* Evidently Safari does not like the 'transition all' encouter, and therefore these have changed to 'transition color', since only the color is being transited
	https://stackoverflow.com/questions/15987787/my-website-crashes-safari-both-desktop-and-ios-consistently */
	-moz-transition: color 0.25s linear;                        /* Likely encompassed by the last in this list by modern browsers */
	-webkit-transition: color 0.25s linear;                     /* Likely encompassed by the last in this list by modern browsers */
	-o-transition: color 0.25s linear;                          /* Likely encompassed by the last in this list by modern browsers */
	transition: color 0.25s linear;                             /* Sets the menu hover transition time */
}
a:hover {
	color: var(--color-orange);
	border-bottom: 1px solid var(--color-creme);
}

.center {
	width: 90%;
	margin: auto;
	text-align: center;
}

.pageWrap {
	width: 100%;
	margin: auto;
	font-size: 0.95em;
}

	                                                            /* USED TO SPACE COMMENTS */
/*===========================================
---- HEADER
===========================================*/
.headerContainer {
	display: flex;                                              /* Necessary to contain the child elements. Otherwise, they are not contained. */
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	width: 100%;
	position: relaive;
	margin: auto;
	padding: 15px 0;																						/* Placed between inner content and borders */
	text-align: center;
	white-space: nowrap;
	}

.mastheadContainer {
	width: min-content;
	padding-bottom: 15px;
	z-index: 5;
	border: 0px solid black;
}
.logo {
	padding: 5px 0;
	font-size: 160%;
	font-weight: bold;
	color: var(--color-logo);
	cursor: pointer;
}
.biz {
	margin: auto;
	width: min-content;
	font-size: 90%;
	font-weight: 400;
	font-style: italic;
	letter-spacing: 0.02em;
	color: dimgrey;
	line-height: 1;
	white-space: normal;
}
.biz1 {
	padding-right: 25px;	
}
.biz2 {
	padding-left: 25px;	
}

.menuContainer {
	width: min-content;
	text-align: center;
	z-index: 1;
	border: 0px solid black;
}
a.menu, a.menu:link, a.menu:visited {
	color: var(--color-teal);
	line-height: 1.267rem;
	letter-spacing: 1px;
	font-weight: 400;
	display: inline-block;
	margin: 0 8px;
	padding-bottom: 0px;
	border: 1px solid var(--color-creme);
	-moz-transition: color 0.25s linear;
	-webkit-transition: color 0.25s linear;
	-o-transition: color 0.25s linear;
	transition: color 0.25s linear;
}
a.menu:hover, a.menu:active {
	color: var(--color-orange);
	border-bottom: 1px solid var(--color-orange);
}


/*===========================================
---- BANNER
===========================================*/
/* This container should have width of 100% (relative to .pagew=Wrap), but cannot detect the height of its backgroundImage so that its height can be explicitly set.
Thankfully, when padding-bottom is specified in percent, that value is relattive to its width and therefore can be set to the same proporrtion as the embedded image,
and therefore permitting a platen that remains the correct size for all media.
*/
.bannerContainer {																	
	display: block;
	position: relative;                                         /* Necessary to achieve absolute positioning of the quote revolver */
	clear: both;
	margin: auto;
	width: 100%;
	padding-bottom: 20.4%;                                      /* As the basis for % is the element width, this scales proportionately to the background image */
	background-image: url("../images/masthead_980px.jpg");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: contain;
	border-top: 1px solid var(--color-teal);
	border-bottom: 1px solid var(--color-teal);
}

	                                                            /* USED TO SPACE COMMENTS */
/*===========================================
---- CONTENT
===========================================*/
.content {
	width: 90%;
	margin: auto;
	position: relative;
	color: var(--color-teal);
	line-height: 1.5;
	letter-spacing: 0.005em;                                    /* Text seems to read better when kerned a little */
}

.line {
	width: 100%;
	height: 2px;
	background-color: var(--color-teal);
	text-align: center;
}

.line span {
	position: relative;
	top: -20px;
	font-style: italic;
	font-weight: 600;
	font-size: 180%;
	padding: 0 16px;
	color: var(--color-teal);
	background-color: var(--color-creme);
	white-space: nowrap;
}

.title > p {
	margin-top: 0;
	margin-bottom: 1.2em;
}

.check {
	font-weight: bold;
	text-align: center;
	vertical-align: top;
	font-size: 140%;
	color: var(--color-orange);
	position: relative;
	top: -3px;
	padding: 0 2px;
}

.nobr {
	white-space: nowrap;
}

.fcukoff {
	unicode-bidi: bidi-override; direction: rtl;
}

#BOTTOM_BAR {
	position: fixed;
	z-index: 100; 
	bottom: 0; 
	width: 980px;
	height: 25px;
	margin: 0 auto;
	padding-top: 10px;
	border-bottom: none;
	text-align: center;
	background-color: grey;
	color: white;
	font-size: 14px;
	letter-spacing: 0.005em;                                    /* Seems to read better when kerned a little */
	border-radius: 5px 5px 0 0;
}

a.bottom-bar:any-link, a.bottom-bar:hover {
	text-decoration: underline;
	color: white;
	font-size: 14px;
	letter-spacing: 0.005em;                                    /* Seems to read better when kerned a little */
	border-bottom: none;
}

	                                                            /* USED TO SPACE COMMENTS */
/*===========================================
---- PORTFOLIO
===========================================*/
a.portfolio-menu {
	line-height: 1.5;
	border: 0 solid red;
}
a.portfolio-menu:any-link {
	margin: 0 20px;
	text-align: center;
	white-space: nowrap;
}
a.portfolio-active {
	color: var(--color-orange);
	border-bottom: 1px solid var(--color-creme);
}

.portfolio-arrow-container {
	width: 8%;
	cursor: pointer;
	vertical-align: middle;
	text-aign: center;
}
.portfolio-arrow-container img {
	display: inline;
	min-width: 20px;
	max-width: 30px;
	width: 42%;
	height: auto;
	position: relative;
	top: -25px;
	opacity: 0.2;
	-moz-transition: all 0.25s linear;                          /* Likely encompassed by the last in this list by modern browsers */
	-webkit-transition: all 0.25s linear;                       /* Likely encompassed by the last in this list by modern browsers */
	-o-transition: all 0.25s linear;                            /* Likely encompassed by the last in this list by modern browsers */
	transition: all 0.25s linear;                               /* Sets the menu hover transition time */
}
.portfolio-arrow-container:hover img {
	opacity: 0.5;
}

.rick-ug-button-tile-left img {
	float: left;
}
.rick-ug-button-tile-right img {
	float: right;
}

.portfolio-display td {
	border: 0px solid teal;
}

/* These style the slide captions, placed here to overwrite those specified in 'unite-gallery.css' */
.ug-gallery-wrapper .ug-textpanel-title{
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 400;
	color: #005a70;		
	text-align: center;
	z-index: 2;	
}
.ug-tile .ug-textpanel-title{
	font-size: 9px;		
}


	                                                            /* USED TO SPACE COMMENTS */
/*=======================================================
	QUOTATION REVOLVER
=======================================================*/
/*
Challenging to style a list, as ul and li are not containers per se.
Note that each has default padding and margin, which it is best to remove. Ditto the default bullets.
*/
.quotes {
	border: 0px solid black;
	z-index: 10;
	position: absolute !important;
	bottom: 0;
	left: 0;
}

.quotes ul {
	border: 0px solid green;
  list-style-type: none;                                      /* Remove default bullets */
  margin: 0;                                                  /* Remove default margins */
  padding: 0;                                                 /* Remove default padding */
}

.quotes li {
	border: 0px solid blue;
	background-image: linear-gradient(to right, rgba(255,255,255,0.65), rgba(255,255,255,0.1));		
}

.quotes blockquote {
	border: 0px solid red;
	text-align: left;
  margin: 0;                                                  /* Remove default margins */
}

.quotes p {
	border: 0px solid blue;
  margin: 0;                                                  /* Remove default margins */
	color: darkBlue;
	white-space: nowrap;
	text-align: left;
}
.quote-norm {
	font-size: 100%;
}
.quote-long {
	font-size: 90%;
}
.quote-giver {
	font-size: 87%;
	padding-left: 20px;
	font-style: italic;
	color: maroon;
	text-align: left;
}

	                                                            /* USED TO SPACE COMMENTS */
/*=======================================================
----	TROUBLESHOOTING HELPERS
=======================================================*/
.detectMedia {
	text-align: center;
	padding: 5px 10px;
	vertical-align: middle;
	border-width: 2px;
	border-style: solid;
	background-color: var(--color-creme);
	font-size: 11px;
	margin-left: 0;                                             /* Used for troubleshooting */
	margin-right: 0;                                            /* Used for troubleshooting */
}

.verticalLine {
	border-left: 1px solid rgba(0,0,64,0.2);
	height: 1000px;
	position: fixed;
	left: 50%;	margin-left: 0;
	top: 0;
	z-index: 2;
}



/*-- NOTES & CSS REFERENCES
Re font-size: 1em = 16px
.content a   selects all <a> encompassed by <div class="content">

https://www.w3.org/Style/CSS/specs.en.html
https://www.w3schools.com/cssref/default.asp
https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax
https://haizdesign.com/css/fading-link-colour-with-css3/
https://www.geeksforgeeks.org/how-to-define-colors-as-variables-in-css/
https://webdesignerwall.com/tutorials/responsive-design-with-css3-media-queries
https://webdesignerwall.com/tutorials/css3-media-queries
https://css-tricks.com/styling-underlines-web/
https://www.geeksforgeeks.org/how-to-create-fade-in-effect-on-page-load-using-css/
https://www.freecodecamp.org/news/how-to-center-anything-with-css-align-a-div-text-and-more/
https://www.w3schools.com/css/css3_gradients.asp 
https://css-tricks.com/a-complete-guide-to-calc-in-css/
https://necolas.github.io/normalize.css/


CENTERING THINGS
https://www.w3schools.com/howto/howto_css_center-vertical.asp																	-- BERST


MEDIA QUERIES
https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
https://www.w3schools.com/css/css_rwd_mediaqueries.asp


https://developer.apple.com/library/archive/documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/AnimatingCSSTransitions/AnimatingCSSTransitions.html

--*/