/* Repixture website CSS */
* {
	font-family: sans-serif;
	image-rendering: crisp-edges;
}
body {
	background-color: #88705f;
	/* Note: This and all other URLs in this CSS assume
	the Repixture website is under the "Repixture" directory */
	/* TODO: Find a way to move the Repixture prefix to some
	config var to make this CSS file more portable */
	background-image: url('/Repixture/assets/images/style/background.png');
	font-family: sans-serif;
	margin-top: 1em;
	margin-bottom: 1em;
	color: white;
}
::selection {
	background-color: #467832;
	color: white;
}
ul.headermenu {
	margin-left: calc(5% + 1.5em + 24px);
	margin-bottom: 0em;
	padding-top: 16px;
}
ul.headermenu li { 
        list-style-type: none; 
        display: inline; 
        margin-left: 0.1em; 
        margin-right: 0.5em; 
        padding-left: 0.0em; 
        padding-right: 0.0em; 
} 
ul.headermenu a:hover { 
        color: #555555;
}
ul.headermenu a:active { 
        color: #FFFFFF;
}
ul.headermenu a { 
	color: #333333;
	font-weight: bold;
        line-height: 2.2; 
        font-size: 120%; 
        padding-left: 0.5em; 
        padding-right: 0.5em; 
        padding-top: 0.0em; 
        padding-bottom: 0.0em; 
        margin-left: 0.1em; 
        margin-right: 0.1em; 
	margin-bottom: 0em;
	border: 16px solid transparent;
	border-radius: 16px;
	border-bottom-width: 0.5em;
        border-image: url('/Repixture/assets/images/style/border_nav.png') 16 16 4 16 stretch;
        background-color: #99855c; 
} 
ul.headermenu a.current-page {
        border-image: url('/Repixture/assets/images/style/border_nav_current.png') 16 16 4 16 stretch;
	background-color: #859b5a;
}

.featuregrid {
	display: inline-grid;
	grid-template-columns: 1fr 1fr;
	font-size: 120%;
}
.featuregrid > div {
	padding-left: 0;
	padding-top: 4px;
	padding-bottom: 0;
	padding-right: 1em;
	background-color: #9f8a60;
        border: 16px solid #837557;
	border-top-width: 8px;
	border-radius: 16px;
        border-image: url('/Repixture/assets/images/style/border_feature.png') 8 16 16 16 stretch;
	margin: 0.25em;
	text-align: left;
}
.feature-text {
	display: inline;
	vertical-align: calc(-0.333em);
}
.feature-icon {
	display: inline;
	float: left;
	margin-right: 1em;
	margin-bottom: 0em;
	margin-top: 0.2em;
	margin-left: 0em;
	vertical-align: middle;
}
code {
        font-family: monospace;
        background-color: #99855c;
        padding-left: 0.3em;
        padding-right: 0.3em;
}
hr {
	border: 1px solid black;
	margin-top: 1em;
	margin-bottom: 1em;
}
a, a:link {
        color: #FFCF60;
}
a:visited {
        color: #FFEF80;
}
a:hover {
        color: #FFB0B0;
}
a:active {
        color: #FFD0D0;
}

kbd {
        font-family: sans-serif;
        background-color: #909090;
        border-style: solid;
        border-width: 1px;
        border-left-color: #FFFFFF;
        border-top-color: #FFFFFF;
        border-right-color: #202020;
        border-bottom-color: #202020;
        padding-left: 0.5em;
        padding-right: 0.5em;
}
.item {
	color: #00FF00;
}
.itemgroup {
	color: #B0FFB0;
}
.concept {
	color: #FFFF00;
}

div.summary {
	background-color: #695d44;
	border: 8px solid #73664b;
	border-radius: 16px;
	border-image: url('/Repixture/assets/images/style/border_summary.png') 8 stretch;
	padding: 0em;
	font-size: 130%;
}
div.summary > p {
	padding-top: 0.1em;
	padding-bottom: 0.1em;
	padding-left: 0.45em;
	padding-right: 0.45em;
}
div.screenshots {
        min-width: calc(608px + 0.5em);
        max-width: calc(608px + 0.5em);
}
div.content, div.screenshots {
	border: 20px solid #73664b;
	border-bottom-width: 28px;
	border-radius: 20px;
	border-image: url('/Repixture/assets/images/style/border_box.png') 20 20 28 20 stretch;
	background-color: #8c7c5b;
	padding: 0.15em;
	margin-bottom: 1em;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

a#titlelink, a#titlelink:link, a#titlelink:visited {
	color: #000;
}
a#titlelink:hover {
	background-color: #FFFFFF;
}
a#titlelink:active {
	color: #FFF;
	background-color: #FF3E0F;
}


h1, h2, h3, h4, h5, h6, br.imgclear {
	clear: left;
}
/* Clearfix hack */
div.flowcontainer::after {
	content: "";
	clear: both;
	display: table;
}

/* Website title */
#title {
	margin-top: 0.5em;
	margin-bottom: 0.2em;
	margin-left: 0.2em;
	margin-right: 0.2em;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-left: 0.5em;
	padding-right: 0.5em;
	text-align: center;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	margin-left: 0em;
	margin-right: 0em;
	margin-top: 0.5em;
	margin-bottom: 0.2em;
	padding-top: 0em;
	padding-bottom: 0em;
	padding-left: 0.3em;
	padding-right: 0.5em;
}
h1 {
	font-size: 275%;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	border: 16px solid #4d7f43;
	border-bottom-width: 20px;
	border-radius: 20px;
	border-image: url('/Repixture/assets/images/style/border_header_h1.png') 16 16 20 16 stretch;
	background-color: #539646;
}
h2 {
	font-size: 200%;
	border: 16px solid #73664b;
	border-bottom-width: 20px;
	border-radius: 20px;
	border-image: url('/Repixture/assets/images/style/border_header_h2.png') 16 16 20 16 stretch;
	background-color: #8a7752;
}
#header-screenshots {
	margin-bottom: 0.7em;
}
h3 {
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-left: 0.4em;
	font-size: 150%;
	background-color: #99855c;
	border: 8px solid #73664b;
	border-radius: 16px;
	border-image: url('/Repixture/assets/images/style/border_header_h3.png') 8 stretch;
}
h4 {
	border-bottom: 2px solid #594f3a;
	font-size: 140%;
	padding-top: 0;
	padding-bottom: 0;
}
h5 {
	font-size: 130%;
	padding-top: 0;
	padding-bottom: 0;
}
h6 {
	font-size: 120%;
	padding-top: 0;
	padding-bottom: 0;
}

p, li {
	line-height: 1.5;
}

p {
	margin-bottom: 0.5em;
	margin-top: 0.3em;
}
p, ul, ol {
	padding-top: 0.4em;
	padding-left: 0.4em;
	padding-right: 0.4em;
}
ul, ol {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0.5em;
}
ol > li {
	list-style-type: decimal;
}
ul > li {
	list-style-type: square;
}
li {
	padding-bottom: 0.2em;
	padding-left: 0em;
	padding-right: 0em;
	margin-left: 1em;
	margin-top: 0em;
	margin-bottom: 0em;
}
div.flowcontainer {
	display: flex;
	margin-top: 0em;
	margin-bottom: 0.333em;
	margin-left: 5%;
	margin-right: 5%;
	text-align: left;
	padding-bottom:1em;
	padding-left:1.2em;
	padding-right:1.2em;
}

footer {
	margin-bottom: 1.2em;
	margin-left: 1em;
	margin-right: 1em;
	padding: 0.2em;
	background-color: rgba(0,0,0,0.35);
}
img {
	margin-top: 0.5em;
	margin-bottom: 1.0em;
	margin-left: 0em;
	margin-right: 1.5em;
}
img.screenshot {
	image-rendering: initial;
	border: 2px solid #333333;
	margin-left: 0.2em;
	margin-right: 0.2em;
	margin-top: 0.1em;
	margin-bottom: 0.1em;
	display: block;
}
img.icon {
	float: left;
	margin-bottom: 0em;
}
img.logo {
	margin-top: 1.0em;
}

table {
	border: 2px solid #404040;
	background-color: #99855c;
	margin-top: 1em;
	margin-bottom: 1em;
}
th, td {
	border: 1px solid #404040;
	background-color: #9b8e73;
	padding: 0.4em;
	padding-left: 1em;
	padding-right: 1em;
}
th {
	font-weight: bold;
	background-color: #99855c;
}
blockquote {
	border-left: 4px solid #00000080;
	padding-left: 0.8em;
	margin-left: 0.6em;
}

/* Support for small screens */
@media only screen and (max-width: 660px) {
h1 {
	font-size: 140%;
}
h2 {
	font-size: 130%;
}
h3 {
	font-size: 120%;
}
h4 {
	font-size: 115%;
}
h5 {
	font-size: 110%;
}
h6 {
	font-size: 105%;
}
p {
	margin-left: 0.1em;
	margin-right: 0.1em;
}
div.summary {
	font-size: 110%;
}
.featuregrid {
	font-size: 100%;
	grid-template-columns: auto;
}
body, div.flowcontainer {
	padding-left: 0em;
	padding-right: 0em;
}
div.flowcontainer {
	border-left-width: 0;
	border-right-width: 0;
	display: block;
}
div.flowcontainer, #title, body, div.content, div.screenshots {
	margin-left: 0em;
	margin-right: 0em;
}
div.content, div.screenshots {
	border-left-width: 0;
	border-right-width: 0;
	padding-left: 0.4em;
	padding-right: 0.4em;
}
div.screenshots {
        min-width: initial;
}
#title, h1, h2, h3, h4, h5, h6 {
        padding-top: 0em;
        padding-bottom: 0em;
        padding-left: 0.1em;
        padding-right: 0.1em;
        margin-left: 0.1em;
        margin-right: 0.1em;
}
main, footer {
        margin-left: 0em;
        margin-right: 0em;
}
img {
        margin-left: 0.25em;
        margin-right: 0.25em;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
}
img.screenshot {
        margin-left: 0em;
        margin-right: 0em;
}
/* Auto-shrink images to fit. */
img, img.screenshot, img.logo {
        max-width: calc(100% - 0.6em);
        height: auto;
}
div.flowcontainer img {
        float: none;
}
ul.headermenu {
	margin-top: 1em;
	margin-left: 0.25em;
}
ul.headermenu li { 
        margin-left: 0em; 
	font-weight: normal;
}
ul.headermenu a { 
	font-size: 100%;
}

/* Small margins for tiny screens */
@media only screen and (max-width: 1400px) and (min-width: 661px) {
div.flowcontainer, body {
        margin-left: 0em;
        margin-right: 0em;
}
div.content, div.screenshots {
        margin-left: 0.3em;
        margin-right: 0.3em;
}
div.content, div.screenshots {
        padding-left: 0em;
        padding-right: 0em;
}
div.flowcontainer, body {
        padding-left: 0;
        padding-right: 0;
}
div.screenshots {
	width: 100%;
	min-width: initial;
        padding-right: 10px;
}
/* Auto-shrink images to fit.
   Note: This assumes no image used is wider than 1024px */
img {
        max-width: 100%;
        height: auto;
}
}

