@import url("fonts/stylesheet-1.css");
@import url("fonts/stylesheet-2.css");
@import url("fonts/stylesheet-3.css");

:root {
	--fw-main: #ff8700;
	--fw-back: #1d1d1d;
	--fw-text: #444;
	--fw-text-light: #888;
	--fw-text-very-light: #ccc;
	--fw-width: 65%;
	--fw-margin: 20px;
	--fw-smallest-width: 800px;
}

* {
  box-sizing: border-box;
}

::selection {
  background: #ff8700; /* WebKit/Blink Browsers */
}

@font-face { font-family:Proxima Nova Light; src:url(img/proximanovalight.ttf), url(img/proximanovalight.ttf); }	

body {
  font-family: Merriweather;
  padding: 20px;
  background: #f1f1f1;
  color: var(--fw-text);
  
  
	background: url(img/icon-4b-50.png) gray;
	background-position: 11px 20px;
	background-size: auto 45px;
	background-attachment: fixed;
	
	background: #f1f1f1;
  
  /* background-image: url(img/bg-test.jpg);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed; */
  
}

p, li {
	line-height: 1.85em;
}
li {
	padding-bottom: 0.5em;
}

.ProConTable {
	border-collapse: collapse;
}
.ProConTable td {
	width: 50%;
}
.ProConTable thead {
	display: none;
}
.ProConTable thead td {
	/*border-bottom: 1px solid red;*/
	font-weight: bold;
}
.ProConTable thead td {
	color: #a70000;
}
.ProConTable thead td:first-child {
	color: #005500;
}
.ProConTable td ul li {
	list-style: none;
	padding: 0;
	margin-bottom: 1em;
	background: url(img/disadvantage.png) no-repeat 0 5px;
	padding-left: 28px;
}
.ProConTable td:first-child ul li {
	background: url(img/advantage.png) no-repeat 0 5px;
}
.ProConTable ul li:first-child {
	/*padding-top: var(--fw-margin);*/	
}
.ProConTable tbody td {
	vertical-align: top;
}
.ProConTable tbody td ul {
	padding-left: var(--fw-margin);
	margin-left: 0;
}

.WhatWhereTable {
	border-collapse: collapse;
}
.WhatWhereTable td {
	vertical-align: top;
}
.WhatWhereTable thead td {
	font-size: 2em;
	font-weight: bold;
	padding-left: 1em;
}
.WhatWhereTable tbody td {
	padding-bottom: 2em;
}
.WhatWhereTable tbody td {
	width: 50%;
}
.WhatWhereTable tbody tr:nth-child(odd) {
	background: #efefef;
}
.WhatWhereTable tbody tr:nth-child(even) {
	background: #ffdfbb;
}

/* https://stackoverflow.com/questions/14123999/center-a-div-horizontally-and-vertically */
.bgblur {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: black;
	opacity: 0.8;
}
.notification {
	background: white;
	position: fixed;
	width: 75%;
	height: 50%;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	padding: 1em;
	border: 1px solid var(--fw-main);
	
	-webkit-box-shadow: 0px 0px 27px 4px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 27px 4px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 27px 4px rgba(0,0,0,0.75);
	
}

/* https://benmarshall.me/responsive-iframes/ */
.ytVideo {
	
	overflow: hidden;
	/*padding-top: 56.25%;*/
	/* 16:9 video (ratio 0.5625) scaled to 65% width (which is the width of the blog paragraphs and headlines) */
	padding-top: 36.56%;
	position: relative;
}
.ytVideo iframe {
	border: 0;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.toc {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Header/Blog Title */
.header {
  padding: 30px;
  font-size: 40px;
  text-align: center;
  background: white;
}

.header ::selection, a::selection {
	color: white;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
  float: left;
  width: 75%;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 25%;
  padding-left: 20px;
}

/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/* Add a card effect for articles */
.card {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
.footer {
  padding: 20px;
  background: #ddd;
  margin-top: 20px;
}

.footer a, a:link, a:hover, a:visited {
	color: #444;
	text-decoration: none;
}

.header h1 {
	text-align: left;
	font-weight: normal;
	color: var(--fw-main);
	background: white;
	padding: 10px 20px;
}
.header h2 {
	text-align: left;
	font-weight: normal;
	color: white;
	background: var(--fw-main);
	padding: 10px 20px;
	
	color: white;
	background: var(--fw-back);
	
}

.header h1 {
	margin: 0;
	margin-bottom: 20px;
	display: inline-block;
	font-size: 1.3em;
}
.header h2 {
	margin: 0;
	display: inline-block;
	font-size: 0.8em;
}

.header h3 {
	margin: 0;
	font-weight: normal;
	display: inline-block;
	font-size: 0.5em;
	
	color: var(--fw-back);
	background: white;
	
	padding: 10px 20px;
}

.header {
	text-align: left;
	background: url(img/header-3.jpg) center center;
	background: var(--fw-main);
	background-size: cover;
	min-height: 300px;
	overflow: hidden;
	
	
	background: url(img/icon-4b.png) #ff8700 no-repeat left center;
	background-position: 30px;
	background-size: auto 80%;
	
	background: url(img/icon-4b-50.png) #ff8700;
	background-position: 28px;
	background-size: auto 16%;
	background-size: auto 45px;
	
}

.header img {
	height: 300px;
	float: right;
	margin-right: 0px;
}


.menu {
	display: flex;
	width: 100%;
	margin: 0;
	padding: 0;
	margin-top: 20px;
	list-style-type: none;
	background: white;
}
.menu li {
	display: inline-block;
	height: 40px;
	padding: 0;
	line-height: 40px;
	margin: 0;
	padding-right: 20px;
	color: black;
	background: #f1f1f1;
}
.menu li a, .menu li a:visited, .menu li a:link {
	text-decoration: none;
	color: black;
	padding: 0 0.7em;
	display: block;
	background: white;
}
.menu li a:hover {
	background: var(--fw-main);
}


.follow {
	list-style: none;
	margin: 0;
	padding: 0;
	display: block;
}
.follow li {
	display: inline-block;
	margin: 0;
	padding: 0;
	vertical-align: middle;
	width: 40px;
	height: 40px;
	margin-right: 10px;
	line-height: 40px;
}
.follow li img {
	width: 40px;
	height: 40px;
	filter: grayscale(90%);
}
.follow li img:hover {
	filter: grayscale(0%);
}
.follow li:last-child {
	width: auto;
}

.tags {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.7em;
}
.tags li {
	display: inline-block;
	padding: 0.3em;
	padding-right: 0.5em;
	margin: 0;
	margin-right: 10px;
	margin-bottom: 10px;
	border-radius: 3px;
	color: #eee;
	background: var(--fw-back);
}
.tags li:before {
	position: relative;
	display: inline-block;
	content: '';
	width: 6px;
	height: 6px;
	margin-left: 2px;
	margin-right: 6px;
	background-color: #fff;
	border-radius: 100%;
}

.banner {
	height: 300px;
	background-size: cover;
	background-position: center center;
}
.banner:hover {
}
.banner a, .banner a:link, .banner a:visited, .banner a:hover {
	display: block;
	width: 100%;
	height: 100%;
	font-size: 0;
}

.card h1, .card h2, .card h3, .card h4, .card h5 {
	font-weight: normal;
}
.card a, .card a:link, .card a:visited {
	color: var(--fw-main);
	text-decoration: underline;
}
.card h2 a, .card h2 a:link, .card h2 a:visited {
	color: black;
	text-decoration: none;
}
.card h2 a:hover {
	color: var(--fw-main);
}
.card h5 {
	margin-top: -1em;
}

.main p, .main pre, .main li, .main h1, .main h2, .main h3, .main table {
	width: var(--fw-width);
}
.main p img {
	width: 100%;
	border: 1px solid var(--fw-text-very-light);
	padding: 5px;
}

.caption {
	font-size: 0.8em;
	color: var(--fw-text-light);
	display: block;
	margin-top: 0em;
	margin-bottom: 3em;
	font-style: italic;
	text-align: center;
}

.main {
	background-color: white;
	padding: 20px;
	margin-top: 20px;
}
.main h1 {
	font-size: 2.5em;
	font-weight: bold;
	margin-bottom: 0;
}
.main h2 {
	font-size: 2em;
	font-weight: bold;
	margin-top: 3em;
	margin-bottom: 1.5em;
}
.main h3 {
	color: var(--fw-text-light);
	font-size: 1em;
	font-weight: normal;
	margin-top: 0.5em;
	margin-bottom: 4em;
}
.main a, .card a:link, .card a:visited {
	color: var(--fw-main);
	text-decoration: none;
}
.main h1 a, .main h1 a:link, .main h1 a:visited {
	color: black;
	text-decoration: none;
}
.main h1 a:hover {
	color: var(--fw-main);
}

.constrTable {
}
.constrTable td img {
	width: 100%;
	border: 1px solid var(--fw-text-very-light);
	padding: 5px;
}
.constrTable td:first-child {
	width: 50%;
}
.constrTable td:last-child h3 {
	font-weight: normal;
	font-size: 1.8em;
	color: black;
	margin-top: 0;
	margin-bottom: 1em;
}
.constrTable td:last-child {
	display: block;
	padding: 20px;
}
.constrTable td:last-child ul {
	width: 100%;
	margin: 0;
	margin-left: 20px;
	padding: 0;
	list-style: disc;
}
.constrTable td:last-child ul li {
	width: 100%;
	padding: 0;
	margin: 0;
	margin-bottom: 1em;
}


.constrDetails {
	list-style: none;
	width: var(--fw-width);
	margin: 0;
	padding: 0;
}
.constrDetails li {
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
}
.constrDetails li:nth-child(odd) {
	width: 60%;
}
.constrDetails li:nth-child(odd) img {
	width: 100%;
	border: 1px solid var(--fw-text-very-light);
	padding: 5px;
}
.constrDetails li:nth-child(even) {
	width: calc(40% - 20px);
}
.constrDetails li:nth-child(even) {
	padding: 20px;
}
.constrDetails li:nth-child(even) h3 {
	width: 100%;
	font-weight: normal;
	font-size: 1.8em;
	color: black;
	margin-top: 0;
	margin-bottom: 1em;
}
.constrDetails li:nth-child(even) p {
	width: 100%;
}

.constrDetailsHorizontal {
	list-style: none;
	width: var(--fw-width);
	margin: 0;
	padding: 0;
}
.constrDetailsHorizontal li {
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
}
.constrDetailsHorizontal li:nth-child(odd) {
	width: 100%;
	border-left: 5px solid #ff8800;
	padding-left: 15px;
}
.constrDetailsHorizontal li:nth-child(odd) img {
	width: 100%;
	border: 1px solid var(--fw-text-very-light);
	padding: 5px;
}
.constrDetailsHorizontal li:nth-child(even) {
	width: 100%;
	border-left: 5px solid #ff8800;
	padding-left: 15px;
	margin-bottom: 25px;
	padding-bottom: 0;
}
.constrDetailsHorizontal li:nth-child(even) h3 {
	width: 100%;
	font-weight: normal;
	font-size: 1.8em;
	color: black;
	margin-top: 0;
	margin-bottom: 1em;
}
.constrDetailsHorizontal li:nth-child(even) p {
	width: 100%;
}

.componentsList {
	padding-left: 20px;
	margin-bottom: 20px;
}
.componentsList td:first-child {
	text-align: right;
}
.componentsList td {
	vertical-align: top;
	padding: 0.2em;	
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
	
	.leftcolumn, .rightcolumn {
		width: 100%;
		padding: 0;
	}

	.header h1 {
		font-size: 7vw;
	}
	.header h2 {
		font-size: 4vw;
	}
	
	.menu {
		display: block;
		background: #f1f1f1;
	}
	.menu li {
		display: block;
		width: 100%;
		padding-right: 0;
		margin-bottom: 20px;
	}
	.menu li input {
		display: block;
		width: 100%;
	}
	.menu li:last-child {
		margin-bottom: 0;
	}
	.main p, .main pre, .main li, .main h1, .main h2, .main h3, .main table, .ytVideo iframe {
		width: 100%;
	}
	
	.ytVideo {
		padding-top: 56.25%;
	}
	
	.constrTable {
		background: red;
	}
	.constrTable td:first-child {
		min-width: 50%;
	}
	.constrTable td:last-child {
		width: auto;
	}
	
	.constrDetails {
		width: 100%;
	}
	.constrDetails li:nth-child(even) {
		padding: 0;
		padding-bottom: 5em;
	}
	.constrDetails li:nth-child(even) h3 {
		margin: 0;
	}
	.constrDetails li:nth-child(odd) {
		width: 100%;
	}
	.constrDetails li:nth-child(even) {
		width: 100%;
	}
  
}

