/* RHQ.BE - LAB - LAYOUT.JS - 2019 */
/* By Raza Haq Qazi - haqqazi.com - twitter @rhaqqazi - google+ +razahaqqazi - github @rhq - be.linkedin.com/in/haqqazi/ */



/* Normalize */
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	    -ms-text-size-adjust: 100%;
}
body {
	margin: 0;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
audio, canvas, progress, video {
	display: inline-block;
	vertical-align: baseline;
}
audio:not([controls]) {
	display: none;
	height: 0;
}
[hidden], template {
	display: none;
}
a {
	background: transparent;
	outline: none;
}
a:active, a:hover {
	outline: 0;
}
abbr[title] {
	border-bottom: 1px dotted;
}
b, strong {
	font-weight: bold;
}
dfn {
	font-style: italic;
}
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}
mark {
	background: #ff0;
	color: #000;
}
small {
	font-size: 80%;
}
sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
img {
	border: 0;
}
svg:not(:root) {
	overflow: hidden;
}
figure {
	margin: 1em 40px;
}
hr {
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	height: 0;
}
pre {
	overflow: auto;
}
code, kbd, pre, samp {
	font-family: monospace, monospace;
	font-size: 1em;
}
button, input, optgroup, select, textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}
button {
	overflow: visible;
}
button, select {
	text-transform: none;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
	-webkit-appearance: none;
	cursor: pointer;
}
button[disabled], html input[disabled] {
	cursor: default;
}
button::-moz-focus-inner, input::-moz-focus-inner {
	border: 0;
	padding: 0;
}
input {
	line-height: normal;
}
input[type="checkbox"], input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}
input[type="search"] {
	-webkit-appearance: textfield;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}
legend {
	border: 0;
	padding: 0;
}
textarea {
	overflow: auto;
}
optgroup {
	font-weight: bold;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
td, th {
	padding: 0;
}
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
/*
.clearfix {
    *zoom: 1;
}
*/



/* Global */
html, body {
	width: 100%; height: 100%;
	margin: 0; padding: 0;
	font-family: arial, sans-serif;
	font-size: 7px;
	line-height: 1.6;
	background-color: #f1f1f1;
}
.layout a {
    display: inline-block;
    margin: 5px 5px;
    padding: 3px 10px;
    color: #fff;
    text-decoration: none;
    border-radius: 2px;
    opacity: 1;
}
.layout a:hover { opacity: .6; }
.layout a.active { opacity: 1; }
.layout a:visited { color: #fff; text-decoration: none; }
.layout ul {
    margin: 0; padding: 0;
    list-style: none;
}
.layout ul li {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}



/* Layout - Color(s) */
.layout #title { background-color: #666; }
.layout #goback { background-color: #666; }
.layout #download { background-color: #52a93e; }
.layout #mt, .layout #sw,
.layout #tw, .layout #li,
.layout #gh { background-color: #222;}
.layout #bg, .layout .bg { background-color: #b77893 !important; }
.layout #ic, .layout .ic { background-color: #d86459 !important; }
.layout #php, .layout .php { background-color: #787bb3 !important; }
.layout #js, .layout .js { background-color: #f7e032 !important; color: #000 !important; } /* background-color: #02a3a3 !important; */
.layout #jq, .layout .jq { background-color: #0769ad !important; }
.layout #wg, .layout .wg { background-color: #33FF90 !important; }
/* .layout #angular, .layout .angular { background-color: #DE4131 !important; } */
.layout #angular, .layout .angular { background-color: #fff !important; color: #DE4131; }
.layout #react, .layout .react { background-color: #282c34 !important; color: #61dafb !important; }
.layout #all { background-color: #666; }



/* Layout - Header */
header.layout {
    display: none;
}


/* Layout - Main */
main.layout {
    width: 100%; height: 100%;
    display: block;
    padding: 5px 5px;
    font-size: 2.5rem;
    box-sizing: border-box;
}
main.layout ul li { float: left; }


/* Layout - Footer */
footer.layout {
    width: 100%; height: auto;
    display: block; position: fixed;
    bottom: 0; left: 0;
    padding: 5px 5px;
    font-size: 2.5rem;
    background-color: #d8d8d8;
    box-sizing: border-box;
    z-index: 999999;
}
footer.layout nav {
    overflow: hidden;
}
footer.layout nav ul#primary ul,
footer.layout nav ul#secondary ul {
    display: inline-block;
    vertical-align: middle;
}
footer.layout nav ul#primary,
footer.layout nav ul#primary li
{ float: left; }
footer.layout nav ul#secondary,
footer.layout nav ul#secondary li
{ float: right; }



/* Layout - Mediaqueries */
@media screen and (max-width: 508px) {
    /* body[data-page="home"] footer.layout #sw { display: none; } */
	footer.layout #sw { display: none; }
	footer.layout #all { display: none; }
}
@media screen and (max-width: 385px) {
    /* body[data-page="home"] footer.layout #mt { display: none; } */
    body[data-page="home"] footer.layout nav ul#primary { display: none; }
}
@media screen and (max-width: 370px) {
    /* body[data-page="home"] footer.layout { display: none; } */
}



/* Layout - Footer */
footer.layout div.brand {
    position: fixed;
    top: 15px; right: 15px;
    display: inline-block;
    margin: 0; padding: 0;
	font-size: 2rem;
	border-radius: 50px !important;
}
footer.layout div.brand p {
    position: relative;
    margin: 0; padding: 0;
	color: transparent !important;
	background-color: transparent !important;
}
footer.layout div.brand p a {
    position: relative;
    display: inline-block;
    margin: 0; padding: 15px 20px 15px 47.5px; /* padding: 15px 22.5px 15px 47.5px; */
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px !important;
}
footer.layout div.brand p a::before {
    content: " ";
    position: absolute;
    left: 13.5px; top: 10.5px;
    display: block;
    width: 30px; height: 30px;
    background-repeat: no-repeat;
    background-position: center;
}
footer.layout div.brand p.react a {
    color: #61dafb;
    background-color: #282c34;
}
footer.layout div.brand p.react a::before {
	background-size: 130%;
    background-image: url("../img/react.svg");
}
footer.layout div.brand p.angular a {
    color: #DE4131;
    background-color: #fff;
}
footer.layout div.brand p.angular a::before {
	background-size: 90%;
    background-image: url("../img/angular.svg");
}



/* REACT FIX */
footer.layout nav ul li {
	width: auto !important;
	margin: 0;
}
footer.layout nav ul li a {
	font-size: 2.5rem !important;
}
