/*
* Theme: Portfolio
* Author: Jace Fincham
* Version: 1.2.43
* Copyright: 2018-2025
*/

/*------------------------------------*\
    CUSTOM PROPERTIES
\*------------------------------------*/

:root {
	--rscms-admin-bar-height: 30px; /* move to core */
	
	--theme-header-height: 50px;
	--theme-footer-height: 42px;
	
	/* Colors */
	
	--theme-code-func: #69f;
	--theme-code-var: #f75;
	--theme-code-str: #3f5;
}

/*------------------------------------*\
    BASIC LAYOUT
\*------------------------------------*/

*,
*::before,
*::after {
	box-sizing: border-box;
}

*:focus {
	outline: 0;
}

html {
	/* height: 100%; */
}

body {
	color: #fff;
	font-family: 'Segoe UI', Helvetica, sans-serif;
	font-size: 100%;
	/* height: 100%; */
	height: calc(100vh - var(--rscms-admin-bar-height));
	margin: 0;
	position: absolute;
	  top: 0;
	width: 100%;
}

body.logged-in {
	margin-top: var(--rscms-admin-bar-height); /* 1.875rem */
}

body::before {
	background-color: #222;
	background-image: url('/content/uploads/2020/grey-background.png');
	background-size: cover;
	content: '';
	height: 100%;
	position: fixed;
	  z-index: -1;
	width: 100%;
	will-change: transform;
}

ul,
li {
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

a {
	color: #68a4d6; /* #fa4341 */
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:focus,
a:active {
	color: #3874a6; /* #b84066 */
}

/* Icons */

.icon-up {
	background-color: rgba(70,130,180,0.8);
	border-radius: 4px;
	cursor: pointer;
	display: none;
	font-size: 18px;
	padding: 10px;
	position: fixed;
	  right: 15px;
	  bottom: 40px;
	  z-index: 1000;
	transition: background-color 0.4s;
}

.icon-up:hover {
	background-color: rgba(104,164,214,0.8); /* #68a4d6; */
}

/** GitHub **/

.icon-gh {
	color: #f0f6fc;
}

/** LinkedIn **/

.icon-li {
	color: #0073b2;
}

/** Facebook **/

.icon-fb { /* deprecated */
	color: #4b67a1;
}

/** Instagram **/

.icon-ig {
	color: #f46f30;
}

/** Twitter **/

.icon-tw {
	color: #00a9e6;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.clear::before {
    content: '';
    display: table;
}

.clear::after {
    clear: both;
    content: '';
    display: table;
}

.clearfix { /* deprecated */
    clear: both;
}

/* Header */

.header {
	background-color: transparent;
	height: var(--theme-header-height);
	padding: 14px 10px;
	position: fixed;
	  z-index: 999;
	transition: background-color 0.6s;
	width: 100%;
}

.header.fixed {
	background-color: rgba(70,130,180,0.9);
	/* #4682b4 */
}

/** Page title **/

#title {
	font-family: Consolas, monospace;
	font-size: 0.875em;
	font-weight: bold;
	line-height: 22px;
	text-shadow: none;
	transition: text-shadow 0.4s;
	position: absolute;
	  top: 14px;
	  left: 10px;
}

.fixed #title {
	text-shadow: -1px 1px 2px rgba(0,0,0,0.85);
}

#title h1 {
	display: inline;
	font-size: inherit;
	font-weight: inherit;
	margin: 0;
}

#title a {
	color: #fff;
	text-decoration: none;
}

/** Menu **/

.nav-menu.menu-id-2 {
	font-size: 1em;
	text-align: center;
}

.nav-menu.menu-id-2 ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu.menu-id-2 ul > li {
	display: inline-block;
	font-weight: bold;
	position: relative;
}

.nav-menu.menu-id-2 ul > li > a {
	color: #fff;
	padding: 4px 8px 6px;
	text-decoration: none;
	transition: all 0.4s;
}

.nav-menu.menu-id-2 ul > li > a:hover {
	background-color: rgba(136, 136, 136, 0.6);
	border-radius: 4px;
	text-shadow: -1px 1px 2px rgba(0, 0, 0, 0.45);
}

.fixed .nav-menu.menu-id-2 ul > li > a {
	text-shadow: -1px 1px 2px rgba(0,0,0,0.45);
	transition: all 0.4s;
}

.fixed .nav-menu.menu-id-2 ul > li > a:hover {
	background-color: #68a4d6;
	border-radius: 4px;
}

.nav-menu.menu-id-2 ul > li > a:hover + .sub-menu {
	display: block;
}

.nav-menu.menu-id-2 > ul > li:not(:last-child) {
	margin-right: 8px;
}

.nav-menu.menu-id-2 .sub-menu {
	background-color: rgba(0,0,0,0.7);
	border-radius: 4px;
	display: none;
	font-size: 15px;
	position: absolute;
	  top: 26px;
	  left: 0;
	text-align: left;
}

.nav-menu.menu-id-2 li:hover > .sub-menu {
	display: block;
}

.sub-menu li {
	display: block !important;
}

.sub-menu li a {
	border-radius: 4px;
	color: #fff;
	display: block;
	padding: 0.5rem 0.625rem !important;
	text-decoration: none;
	text-shadow: -1px 1px 2px rgba(0,0,0,0.45);
	transition: all 0.4s;
	white-space: nowrap;
}

.sub-menu li a:hover {
	background-color: rgba(136,136,136,0.6);
}

.fixed .sub-menu li a:hover {
	background-color: #68a4d6;
}

.nav-menu.menu-id-2.mobile {
	background-color: #5b5b5b;
	padding-top: 14px;
	position: absolute;
	  top: 0;
	  right: -180px;
	text-align: right;
	transition: right 0.5s;
	width: 180px;
}

.nav-menu.menu-id-2.mobile.open {
	box-shadow: -1px 1px 6px 4px rgba(0, 0, 0, 0.6);
	right: 0;
}

.nav-menu.menu-id-2.mobile ul > li {
	border-top: 2px dashed #505050;
	display: block;
}

.nav-menu.menu-id-2.mobile ul > li:not(:last-child) {
	margin-right: 0;
}

.nav-menu.menu-id-2.mobile ul > li > a {
	display: block;
	line-height: 1;
	padding: 10px 18px 12px;
}

.nav-menu.menu-id-2.mobile ul > li > a:hover {
	border-radius: 0;
}

.nav-menu.menu-id-2.mobile .sub-menu {
	display: none !important;
}

.nav-menu.menu-id-2.mobile .menu-toggle {
	color: #fff;
	padding: 10px;
	position: absolute;
	  top: 6px;
	  left: -36px;
	transition: left 0.5s 0.5s;
}

.nav-menu.menu-id-2.mobile.open .menu-toggle {
	background-color: #f00;
	border-bottom-right-radius: 3px;
	box-shadow: 1px 1px 5px #400;
	padding: 3px 10px 5px 9px;
	top: 0;
	left: 0;
	transition: left 0s;
}

/* LOCAL NAVIGATION */

#local-navigation {
	position: absolute;
	  top: 0;
	  right: 0;
}

#local-navigation ul {
	list-style: none;
	margin: 14px 4px 14px 0;
	padding: 0;
}

#local-navigation #nav-list li {
	display: inline-block;
	font-weight: bold;
	position: relative;
}

#local-navigation #nav-list li:not(:last-child) {
	margin-right: 8px;
}

#local-navigation #nav-list li a {
	color: #fff;
	padding: 4px 8px 6px;
	text-decoration: none;
	transition: 0.4s;
}

#local-navigation #nav-list li a:hover {
	background-color: rgba(136,136,136,0.6);
	border-radius: 4px;
	text-shadow: -1px 1px 2px rgba(0,0,0,0.45);
}

.fixed #local-navigation #nav-list li a {
	text-shadow: -1px 1px 2px rgba(0,0,0,0.45);
	transition: 0.4s;
}

.fixed #local-navigation #nav-list li a:hover {
	background-color: #68a4d6;
	border-radius: 4px;
}

/* Footer */

.footer {
	height: var(--theme-footer-height);
	padding: 10px;
}

.footer .widget.copyright a {
	font-weight: 600;
	text-decoration: none;
}

.footer .widget.copyright a:hover {
	text-decoration: underline;
}

.footer .widget.social-media a {
	display: inline-block;
	font-size: 1.25em;
	line-height: 1;
	margin-right: 0.5rem;
	text-decoration: none;
	transition: all 0.2s;
}

.footer .widget.social-media a:hover {
	color: #fff;
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

/*------------------------------------*\
    CONTENT
\*------------------------------------*/

.wrapper {
	margin: 0 auto;
	max-width: 1200px;
	min-height: calc(100% - calc(var(--theme-header-height) + var(--theme-footer-height)));
	width: 95%;
}

#content-area,
.article-content {
	background: linear-gradient(to right, #202a33, #606a77 85%, #202a33);
	/*background: #b0b4be;#b0c4ee;*/
	border: 1px solid #fff;
	border-radius: 5px;
	/*box-shadow: 0 0 20px #222;*/
	margin: 50px auto 0;
	padding: 30px 20px;
	/* width: 85%; */
}

.site-section {
	background-color: #000a11; /*#808a99;*/
	border: 1px solid #fff;
	border-radius: 5px; /*box-shadow: inset 0 0 20px #fff;#222;*/
	margin: 30px 0;
	padding: 15px 20px;
}

.site-section:first-child {
	margin-top: 0;
}

.site-section:last-child {
	margin-bottom: 0;
}

.section-header {
	border-image: linear-gradient(to right, transparent, silver, transparent) 1 1 1 1;
	border-style: none none solid;
	border-width: 3px;
	color: #fff;
	font-size: 22px;
	font-weight: 300;
	letter-spacing: 3px;
	margin-top: 0.5em;
	padding-bottom: 8px;
	text-align: center;
	text-transform: uppercase;
}

.section-header em {
	font-size: 17px;
	text-transform: none;
}

.site-section-inside {
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
	width: 80%;
}

.section-header h2 {
	color: #777;
	font-size: 30px;
	font-weight: 300;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.site-section-secondary {
	background-color: #efefef;
}

.sidebar {
	float: right;
	width: 30%;
}

.sidebar h3 {
	background-color: rgba(0,0,0,0.5);
	border-radius: 4px;
	box-shadow: 0 0 4px 1px #fff;
	font-size: 17px;
	font-weight: 300;
	letter-spacing: 3px;
	margin: 0 0 15px;
	padding: 5px 0;
	text-align: center;
	text-transform: uppercase;
}

/* Service boxes */

.service-box {
	line-height: 1;
	padding: 20px 30px;
}

.service-box img {
	display: block;
	margin: 0 auto 15px;
	width: 80px;
}

.service-box h5 {
	color: #999;
	font-size: 20px;
	letter-spacing: 2px;
	margin-bottom: 15px;
	margin-top: 0;
	text-align: center;
	text-transform: uppercase;
}

.service-box p {
	line-height: 1.35;
	/* text-align: justify; */
}

.service-box hr {
	border-image: linear-gradient(to right, transparent, silver, transparent) 1 1 1 1;
	margin: 12px 0;
}

.service-box em {
	font-size: 12px;
	line-height: 1.4;
	margin-bottom: 10px;
}

.service-box ul {
	font-size: 14px;
	line-height: 1.3;
	margin-top: 5px;
	padding-left: 20px;
}

/* Scrollboxes */

.scrollbox {
	max-height: 500px;
	overflow-y: auto;
	padding-right: 10px;
}

.scrollbox::-webkit-scrollbar {
	background-color: #000a11;
	width: 10px;
}

.scrollbox::-webkit-scrollbar-track {
	background-color: #d0c8a4;
	border-radius: 8px;
	box-shadow: inset 0 0 6px rgba(0,0,0,0.6);
}

.scrollbox::-webkit-scrollbar-thumb {
	background-color: #555;
	background-image: linear-gradient(to bottom, #222 0%, #666 30%, #222 100%);
	border-radius: 4px;
	box-shadow: inset 0 0 6px rgba(0,0,0,0.6);
}

/* Buttons */

.button {
	background-color: #3874a6;
	border-radius: 1.5rem;
	color: #fff;
	display: inline-block;
	padding: 0.5rem 1rem;
	text-decoration: none !important;
	transition: background-color 0.1s;
}

.button:focus,
.button:active {
	color: #fff;
}

.button:hover {
	background-color: #68a4d6;
}

.button i {
	margin-left: 0.5rem;
}

/* Code */

.code-inline {
	
}

.code-block {
	
}

.c_func {
	color: var(--theme-code-func);
}

.c_var {
	color: var(--theme-code-var);
}

.c_str {
	color: var(--theme-code-str);
}

/* Formatting */

.center-align {
	text-align: center;
}

/* Forms */

.contact-form {
	margin: 0 auto;
	max-width: 100%;
	padding: 10px;
	width: 550px;
}

.field-container {
	margin-bottom: 0.75rem;
}

.field-container[data-field="comments"] {
	display: none !important;
}

.field-container fieldset {
	background-color: #fff;
	border: 2px solid #aaa;
	border-radius: 0 8px 8px;
	color: #000;
	padding: 0.5rem 0.25rem;
}

.field-label {
	display: block;
	font-size: 0.9em;
	font-weight: 700;
	margin-bottom: 2px;
}

.field-label em {
	color: var(--theme-code-var);
	font-size: 0.9em;
	font-style: normal;
}

.field-input,
.field-textarea {
	border: 2px solid #aaa;
	border-radius: 0 8px 8px;
	font-family: 'Segoe UI', Helvetica, sans-serif;
	font-size: 0.95em;
	line-height: 1.6;
	width: 100%;
}

.field-input {
	padding: 0.5rem 0.25rem;
}

.field-textarea {
	height: 150px;
	padding: 0.25rem;
	resize: none;
}

.field-select {
	border: 2px solid #aaa;
	border-radius: 0 8px 8px;
	font-family: 'Segoe UI', Helvetica, sans-serif;
	font-size: 0.95em;
	line-height: 1.6;
	padding: 0.5rem 0.25rem;
}

.field-checkbox {
	cursor: pointer;
	height: 1.2em;
	margin-right: 0.5em;
	vertical-align: bottom;
	width: 1.2em;
}

.checkbox-label {
	cursor: pointer;
	display: block;
	font-size: 0.85em;
	-webkit-user-select: none;
	user-select: none;
}

.checkbox-label span {
	display: inline-block;
	-webkit-transform: translateY(-0.125em);
	transform: translateY(-0.125em);
}

.invalid.field-input,
.invalid.field-textarea,
.invalid.field-select,
.field-container fieldset.invalid {
	border-color: #f00;
}

.submit-container {
	text-align:center;
}

.form-submit_button {
	background-color: #4682b4;
	border: none;
	border-radius: 4px;
	color: #fff;
	font-size: 0.95em;
	font-weight: 600;
	padding: 6px 24px;
}

#form-messages {
	color: #000;
	/* display: none; */
	font-weight: 600;
	height: 0;
	text-align: left;
	visibility: hidden;
}

#form-messages.submitted {
	height: auto;
	margin-bottom: 0.75rem;
	padding: 0.5rem;
	visibility: visible;
}

#form-messages.success {
	background-color: #e0f9af;
	border-left: 5px solid #2c0;
	/* display: block; */
}

#form-messages.failure {
	background-color: #f9d0c0;
	border-left: 5px solid #f00;
	/* display: block; */
}

/*------------------------------------*/

/* PAGE: PORTFOLIO (home) */

.portfolio > .wrapper {
	height: 100%;
	max-width: none;
}

.portfolio .article-content {
	background: none;
	border: none;
	height: 100%;
	margin: 0;
	max-width: none;
	padding: 0;
	width: 100%;
}

#hero-wrapper {
	height: 100%;
	position: relative;
	width: 100%;
}

#hero-content {
	font-size: 1.4em;
	margin: 0 5%;
	position: absolute;
	top: 40%;
	text-align: center;
	-webkit-transform: rotate(-10deg);
	transform: rotate(-10deg);
	width: 90%;
}

#content-home {
	width: 100%;
}

#content-home + .footer #inner {
	border: none;
	width: 100%;
}

.content-section {
	background-color: rgba(0,10,17,0.6); /* #000a11 */
	border-top: 1px solid #fff;
	box-shadow: 0 0 10px #000 inset;
	padding: 20px;
	transition: all 0.1s;
}

.content-section:last-child {
	border-bottom: 1px solid #fff;
}

.content-section:hover {
	background-color: #202a33;
	box-shadow: 0 0 40px 5px #000 inset;
}

.content-section h2, .content-section p {
	margin: 0;
}

#projects.content-section h2 {
	margin-bottom: 10px;
}

#keep-going-wrapper {
	display: none;
	position: absolute;
	  bottom: 0;
	width: 100%;
}

#keep-going {
	background-color: rgba(136,136,136,0.5);
	font-size: 12px;
	margin: 0 auto;
	text-align: center;
	width: 70px;
}

.project-block { background-color:#142633; border-radius:4px; box-shadow:0 2px 8px 2px rgba(0,0,0,0.6); float:left; padding:8px; width:32.33%; }
.project-block:nth-of-type(3n + 0) { width:33.33%; }
.project-block:not(:nth-of-type(3n + 0)) { margin-right:1%; }
.project-block h3 { border-image:linear-gradient(to right, transparent, silver, transparent) 1 1 1 1; border-style:none none solid; border-width:3px; font-size:20px; font-weight:300; letter-spacing:3px; margin:0 0 5px; padding-bottom:8px; text-align:center; text-transform:uppercase; }
.project-block img { border-radius:2px; float:left; margin-right:5px; width:100px; }
.project-block a { color:#fff; transition:color 0.3s; }
.project-block a:hover { color:#68a4d6; text-decoration:none; }

/* PAGE: ABOUT ME */

#profile p {
	font-size: 0.95em;
}

#profile-content {
	
}

#profile-content p:first-child {
	margin-top: 0;
}

#profile-image {
	border: 2px solid #fff;
	float: right;
	height: auto;
	margin-left: 10px;
	max-width: 100%;
}

#skills p {
	font-size: 0.95em;
}

#testimonials p {
	font-size: 0.95em;
	margin-top: 0;
}

.testimonial-slider {
	position: relative;
}

.testimonial-slider-track {
	padding: 10px;
	text-align: center;
}

.testimonial-slide {
	display: none;
	  flex-direction: column;
	  justify-content: center;
	/* height: 200px; */
	margin: 0 auto;
	max-width: 1200px;
	width: 80%;
}

.testimonial-slide.active {
	display: flex;
}

.testimonial-author {
	padding: 0 10px;
}

.testimonial-author img {
	border-radius: 50%;
	margin-bottom: 0;
	width: 50px;
}

.testimonial-author h5 {
	font-size: 1.125em;
	margin: 0;
}

.arrow {
	display: flex;
	  align-items: center;
	/* height:200px; */
	position: absolute;
	  top: 0;
}

.arrow.left {
	left: 0;
}

.arrow.right {
	right: 0;
}

.arrow span {
	color: rgba(255,255,255,0.2);
	cursor: pointer;
	font-size: 1.5em;
	transition: color 0.25s;
}

.arrow span:hover {
	color: rgba(255,255,255,0.8);
}

/* PAGE: PROJECTS */

.pj-panel {
	margin: 1em 0;
	text-align: center;
}

.pj-panel__inner {
	border-radius: 4px;
	box-shadow: 0px 4px 8px 4px rgba(0,0,0,0.5);
	display: flex;
	height: 250px;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
	width: 250px;
}

.pj-panel__title {
	background-color: rgba(0,0,0,0.9);
	filter: blur(2px);
	font-size: 1.1em;
	font-weight: 400;
	letter-spacing: 2px;
	margin: 0;
	opacity: 0;
	padding: 1em 0.25em;
	position: absolute;
	  bottom: 0;
	  left: 0;
	  z-index: 9;
	text-transform: uppercase;
	transition: all 0.35s;
	visibility: hidden;
	width: 100%;
}

.pj-panel__inner:hover .pj-panel__title {
	filter: blur(0);
	opacity: 1;
	visibility: visible;
}

.pj-panel__image {
	border-radius: 5px;
	transition: all 0.35s;
}

.pj-panel__image:hover,
.pj-panel__title:hover + .pj-panel__image {
	filter: blur(2px);
	transform: scale(1.1);
}

/* Individual Project pages */

.project .featured-image {
	border: 2px solid #fff;
	float: right;
	margin: 0 0 0.625em 0.625em;
	max-width: 100%;
}

/** PAGE: PROJECTS -> CALCULATOR **/

.version-list {
	
}

.version-sub li {
	font-size: 14px;
	font-style: italic;
	list-style: disc inside;
	margin: 2px 0;
	padding-left: 10px;
}

.navitem {
	cursor: pointer;
	position: relative;
}

#menu-top li:nth-child(1) {
	left: -30px;
}

#menu-top li:nth-child(3) {
	left: -10px;
}

#header > nav .subnav {
	background-color: steelblue;
	border: 2px solid gainsboro;
	display: block;
	left: 10px;
	margin: 0;
	max-height: 350px;
	opacity: 0;
	overflow: auto;
	padding: 8px;
	position: absolute;
	top: 27px;
	transition-property: opacity, visibility;
	transition-duration: 0.3s;
	transition-delay: 0.1s;
	visibility: hidden;
	width: 700px;
}

#menu-top li:nth-child(1):hover + ul,
#menu-top li:nth-child(3):hover + ul,
#header > nav .subnav:hover {
	opacity: 1;
    visibility: visible;
}

#form-wrapper {
	float:left;
	margin-bottom:20px;
	text-align:center;
	width:70%;
}

#hiddendisplay {
	background-color: transparent;
	color: #eee;
	border: none;
	font-size: 16px;
	padding: 2px;
	text-align: center;
	text-shadow: -1px 1px 2px black;
	width: 390px;
}

#calculator {
	background-color: whitesmoke;
	border: 1px dashed darkgray;
	margin: 1em auto 0;
	padding: 10px 3px 5px 4px;
	width: 392px;
}

#display {
	background-color: blanchedalmond;
	border: 1px solid black;
	border-radius: 3px;
	font-size: 22px;
	height: 30px;
	margin: 0 0 5px;
	padding: 2px;
	width: 370px;
}

.buttons input {
	background-color: gainsboro;
	background-image: linear-gradient(to bottom, gainsboro 0, silver 100%);
	border-color: darkgray dimgray dimgray darkgray;
	border-style: solid;
	border-width: 1px;
	border-radius: 4px;
	color: #222;
	display: inline-block;
	font-size: 16px;
	font-weight: bold;
	margin: 5px;
	padding: 2px;
	text-align: center;
	width: 50px;
}

.buttons input:hover {
	cursor: pointer;
}

.buttons input:active {
	background: gray;
}

.buttons input b {
	font-family: Verdana;
	font-weight: normal;
}

.buttons input i {
	font-size: 11px;
	font-style: normal;
	left: 1px;
	position: relative;
	top: -7px;
}

/* PAGE: 404 */

.error-box {
	margin-top: 15%;
	text-align: center;
}