
* {
	outline: none !important;
}

html {
    position: relative;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body:not(.homeview) {
	background: #eeeeee;
}

body, p, li, h1, h2, h3, h4, h5, h6 {
	text-rendering: optimizeLegibility;
	-moz-font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	font-style: normal;
	color: #444;
}

.header-load {
	position: fixed;
	bottom: -999999px;
}

/***** LINKS *****/

a {
	color: #8583d9;
	text-decoration: none;
	-webkit-transition: 0.25s;
	transition: 0.25s;
}

a:hover,
a:focus
{
	color: #58568f;
	text-decoration: none;
}

/***** COLORS *****/

.white {
	color: #FFF;
}

.black {
	color: #000;
}

.silver {
	color: #D3D7DC;
}

.tan {
	color: #E1DFD0;
}


/***** HEADERS *****/

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6, 
li, a, p {
	font-family: 'Exo 2', 'helvetica neue', helvetica, arial, sans-serif;
	font-weight: 300;
	line-height: 1.5;
}

.btn {
	border-radius: 4;
}

/*h1, .h1 {
	font-size: 60px;
}
h2, .h2 {
	font-size: 50px;
}
h3, .h3 {
	font-size: 40px;
}
h4, .h4 {
	font-size: 30px;
}
h5, .h5 {
	font-size: 20px;
}*/
h6, .h6 {
	font-size: 12px;
	font-weight: 500;
}

p, li {
	font-size: 16px;
	font-weight: 300 !important;
}

header {
	padding: 0;
	color: #fff;
	position: relative;
	padding: 0 0 10px 0;
}

header nav {
	text-transform: uppercase;
	z-index: 1;
	align-items: flex-start !important;
}

.nav-link {
	display: flex !important; 
	align-items: center;
	justify-content: flex-end;
}

.nav-link .icon {
	margin: 5px 7px 0 0;
}

header nav a,
header nav a:visited,
header nav a:focus
{
	color: #fff;
	padding: 10px;
	display: inline-block;
	font-weight: 600;
}

header nav a:hover {
	color: #dad9ff;
}

.header-nav {
	background-color: #3b2610;
	margin:0 25px 0 0;
}

.header-text {
	margin-top: 20px;
}

.header-text * {
	text-align: center;
	position: relative;
	z-index: 1;
	color: #fff;
}

.header-text ul {
	margin-top: 50px;
}

.header-text h2 span {
	font-size: 30px !important;
	display: block;
	clear: both;
}
.header-text h2 div {
	display: block;
	clear: both;
}

.big-title {
	font-weight: 700;
	font-size: 72px;
	text-transform: uppercase;
	margin: 0;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, .2);
	line-height: 1;
}

#home .btn-trans {
	color: #444;
	border: 1px solid #ccc;
	padding: 10px 25px;
	text-transform: uppercase;
	margin: 4px;
	background-image: linear-gradient(#fff, #ebebeb);
	position: relative;
  	z-index: 1;
}

#home .btn-trans:before {
	content: '';    
    display: block;
    height: 100%;
    position: absolute;
    top: 0; 
    left: 0;
    opacity: 0;
    width: 100%;
    z-index: -1;
    transition: opacity 0.45s;
    background-image: linear-gradient(#eee, #ddd);
}

#home .btn-trans:hover:before {
	opacity: 1;
}

header .btn-trans {
	color: #fff;
	border: 1px solid #fff;
	padding: 10px 25px;
}

header .btn-trans:before {
	content: '';    
    display: block;
    height: 100%;
    position: absolute;
    top: 0; 
    left: 0;
    opacity: 0;
    width: 100%;
    z-index: -1;
    transition: opacity 0.45s;
    background-image: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .2));
}

header .btn-trans:hover:before {
	opacity: 1;
}

.btn-container {
	margin-top: 40px;
	margin-bottom: 25px;
}


#logo {
	background: rgba(255,255,255,0) url('../img/pp-icon.png') no-repeat left top;
	background-size: cover;
	height: 50px;
	width: 50px;
	margin: 16px 20px;
	float: left;
}

#pp-logo {
	background: url('../img/pp-icon.png') no-repeat left top;
	background-size: cover;
	height: 50px;
	width: 50px;
	border-radius: 100px;
	margin: 16px 25px;
	float: left;
}

header h1 {
	float: left;
	line-height: 100px;
}


footer {
	background: #111;
	color: #fff;
	text-transform: uppercase;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

footer a {
	color: #fff;
}

.social-icons {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin-right:20px;
}

.social-icons img {
  transition: all 0.5s ease;
  opacity: .5;
  margin: 0 4px 0 4px;
}

.social-icons img:hover {
  transition: all 0.5s ease;
  opacity: 1;
}

.hr {
	margin-top: 3rem;
	margin-bottom: 2rem;
}

#portfolio_item .hr {
	margin-top: 6rem;
	margin-bottom: 6rem;
}

.bar {
	margin: 0 10px 0 10px;
	color: rgba(0,0,0,.2);
}

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 15px;
  background-color: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(0,0,0,.1);
  z-index: 2;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#more-about a {
	display: inline-block;
	margin-top: 25px;
}

#pre-footer {
	background: #34495e;
	padding: 5px 0;
}

#pre-footer ul {
	margin-bottom: 0;
}

#footer-links {
	line-height: 162px;
}

#footer-links .row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

section {
	margin: 100px 0;
}

section p {
	font-size: 16px;
}

.md-wrap {
    margin: 0 0 162px 0; /* bottom = footer height */
}

.md-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 162px;
    width: 100%;    
}

.twitter-timeline {
	width: 100%;
	height: 400px;
	padding: 0 10%;
}

#home h2,
#about h2,
#portfolio h2,
#resume h2
{
	margin-top: 0;
	text-align: center;
	text-transform: uppercase;
}

.portfolio-item a {
	padding:10px;
	display:block;
}

.portfolio-item img {
	border: 1px solid transparent;
	margin:0;
	opacity: 1;
	display: inline;
	width: 100%;
	height: auto;
	transition: .5s ease;
	backface-visibility: hidden;
	border-radius: 6px;
}

.portfolio-item img:hover {
	background-color:rgba(0,0,0,.08);
}

#portfolio_item .row .img-fluid:not(.bordered) {
    border-radius: 5px;
}

#portfolio_item .app-preview {
	background-color: #000;
	border: 14px solid #000;
	border-radius: 14px;
}

#portfolio .portfolio-col h1 {
	line-height: 2;
	font-weight: 500;
}

#portfolio .portfolio-col {
	font-weight: 500;
	padding-bottom: 50px;
}

#portfolio .portfolio-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#portfolio .portfolio-col li {
	margin: 0;
	font-size: 1.5em;
}

#portfolio .portfolio-col li a {
	width:100%;
	display: block;
	color:#ffffff;
	font-weight: 500;
	padding:20px;
}

#portfolio .portfolio-col li a:hover {
	color:rgba(255,255,255,0.5);
}

#portfolio .portfolio-cards {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

#portfolio .portfolio-cards .col,
.card-deck
{
	margin-bottom: 30px;
}

.card {
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 2px 8px 0 rgba(0, 0, 0, 0.1) !important;
	overflow: hidden;
	
	-webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.card:hover {
	transform: scale(1.01);
}

#portfolio .portfolio-cards .card .card-image-link {
	overflow: hidden;
	text-align: center;
}

#portfolio .portfolio-cards .card .card-image-link img {
	height: 235px;
	max-height: 235px;
	width: 100%;
}

#portfolio .portfolio-cards .card .card-body {
	position: relative;
	min-height: 160px;
}

#portfolio .portfolio-cards h5 .card-link {
	margin: 0;
	padding: 0;
	font-size: 1.3rem;
}

#portfolio .portfolio-cards .card-footer {
	padding: 0 !important;
	background-color: none !important;
	border-top: none !important;
}

#portfolio .portfolio-cards .card-slider,
#portfolio .portfolio-cards .card-close  {
	position: absolute;
	right: 0;
	bottom: 0;
	margin: 30px 30px 20px 30px;
}

#portfolio .portfolio-cards .card-close  {
	top: 0;
	bottom: none !important;
}

#portfolio .portfolio-cards .card-points {
    padding: 1.25rem 1.25rem 1.25rem 2rem;
    position: absolute;
    background-color: #FFF;
    width: 100%;
    overflow-y: auto;
    top: 100%;
    left: -.01rem;
    height: 100%;
    z-index: 1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
    will-change: opacity, transform;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out
}

.card-technologies {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 24px;
}

.card-technologies div {
	display: flex;
	align-items: center;
}

.card-technologies .img-block {
	display: flex;
	justify-content: center;
	max-height: 20px;
	min-width: 22px;
}

.card-technologies .img-block img {
	max-height: 20px !important;
}

.card-technologies p {
	font-size: 12px;
	margin: 0;
	white-space: nowrap;
}

#portfolio .portfolio-cards h6 {
	font-size: 16px;
	line-height: 1.2;
	min-height: 48px;
}

#portfolio .portfolio-cards .card-points h6 {
	min-height: 16px !important;
	line-height: 1;
}

.creative {
	background-color: #d52a28;
	color:white;
	text-align: center;
	background-image: url('../img/brain-right.png');
	background-repeat: no-repeat;
	background-position: 1% center;
}

.technical {
	background-color: #859940;
	color:white;
	text-align: center;
	background-image: url('../img/brain-left.png');
	background-repeat: no-repeat;
	background-position: 99% center; 
}

.progress-bar {
	background-color: #8583d9;
}

.bordered {
	border: 1px solid #EAEAEA;
	border-radius: 2px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
}

#home .main-container .row {
	margin-top: 25px;
}

.row.skillset {
	margin-top: 25px;
}

.skillset .card-body {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.skillset .card-body .image-container {
	font-size: 10px;
	min-width: 100px;
	padding: 4px;
	text-align: center;
}

.skillset .card-body .image-container img {
	max-height: 60px;
	max-width: 150px;
	padding: 10px 10px 4px 10px;
	display: table-cell;
	margin: 0 auto;
}

.main-container {
	padding-top: 50px;
	padding-bottom: 100px;
}

.progress-bar {
	text-align: left;
	padding-left: 10px;
}

.portfolio-blocks {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}

.portfolio-blocks a {
	height: 250px;
	width: 250px;
	background: #3498db;
	margin: 25px;
	display: block;
	text-align: center;
	position: relative;
	color: #fff;
}

.portfolio-blocks span {
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 100%;
}

.portfolio-blocks a:hover {
	background: #2980b9;
}

#recommendations p {
	margin-bottom: 50px;
}

#projects .main-container .row,
#experience .main-container .row
{
	margin-bottom: 50px;
}

#resume h3{
	margin-top: 0;
}

#resume blockquote {
	font-size: 14px;
}

#experience h3,
#projects h3
{
	font-size: 20px;
}
#projects h3
{
	font-weight: bold;
}
#experience h3 a,
#projects h3 a {
	color: #444;
	text-decoration: underline;
}

#experience h3 a:hover,
#projects h3 a:hover
{
	color: #444;
	text-decoration: none;
}

#experience li,
#projects li
{
	line-height: 1.2;
	margin-bottom: 15px;
}

@media (max-width : 950px){

	header nav a {
		text-shadow: 1px 1px 3px rgba(0,0,0,.3);
	}

	#logo {
		float: none;
		margin: 0px auto;
		margin-top: 16px;
		height: 50px;
		width: 50px;
		-webkit-filter: drop-shadow(5px 5px 5px rgba(0,0,0,.3));
  		filter: drop-shadow(5px 5px 5px rgba(0,0,0,.3));
	}

}

@media (max-width : 768px){

	.nav-link .text {
		font-size: 14px;
	}

	.navbar-nav {
		flex-direction: row;
	}

	.nav-link {
		margin-right: 16px;
	}

}


@media (max-width : 650px){

	
	.big-title{
		font-size: 48px;
	}
	
/*	.btn-trans {
		display: block;
		margin-top: 10px;
	}
	
	#about #selfies {
		display: block;
	}
	
	#about #selfies img {
		width: 150px;
		height: 150px;
		display: block;
		margin: auto;
	}

	#about #selfies img:last-child {
		margin-right: auto;
	}
		
	.vine-embed {
		width: 100% !important;
	}

	#footer-links {
		line-height: 32px;
		margin-top: 55px;
	}*/
	
}

@media (max-width : 563px){
	.nav-link {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	.nav-link .icon {
		margin: 0;
		font-size: 32px;
	}
	.nav-link .text {
		font-size: 10px;
	}
}

@media (max-width : 415px){

	.big-title{
		font-size: 28px;
	}

	h3 {
		font-size: 22px;
	}

	h5 {
		font-size: 14px;
	}

	.nav-link {
		margin: 0 14px;
	}

	.navbar-nav {
		width: 100%;
		justify-content: center;
		padding: 20px 0 0 0;
	}

	#home header {
		background-position: -100px 0px !important;
	}
}

/***** SELECTION *****/

::selection {
    background-color: #34495e;
    color: #f5f5f5;
 }
::-moz-selection {
	background-color: #34495e;
	color: #f5f5f5;
}

.header-canvas {
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:0;
}

.paroller {
	min-height: 400px;
	background-repeat: no-repeat !important;
	background-position: center; 
	background-size: cover !important;
}
.paroller:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
    background: rgba(0, 0, 0, 1);
    transition: opacity 0.9s;
	-webkit-transition: opacity 0.9s;
	opacity: .4;
}
.paroller.mozaic:before {
	opacity: 0 !important;
}
.paroller.darker:before {
	opacity: .6;
}
#portfolio p {
	color: #333;
}


#slideout {
	display: flex;
	position: fixed;
	width: 90px;
	top: 50%;
	right: -60px;
	margin-top: -180px;
	-webkit-transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
	border: 1px solid #ccc;
	background: #E4E4E4;
	z-index: 2;
	border-radius: 4px;
	opacity: .5;
}
#slideout_label {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30px;
}
#slideout_label_text {
	transform: rotate(270deg);
	white-space: nowrap;
}
#slideout_inner {
	background: black;
	border-radius: 4px;
}
#slideout_inner img {
	flex: 1;
	width: 50px;
	height: 50px;
	margin: 5px;
	border-radius: 4px;
	opacity: .5;
	transition: opacity 0.45s;
}
#slideout_inner img:hover {
	opacity: 1;
}
#slideout:hover {
  right: 0;
  background: #fff;
  opacity: 1;
}

@media (hover: none) {
	#slideout {
		display: none;
	}
}

.modal-content {
	border: none;
	border-radius: 6px;
}
.modal-body, .modal-header {
	border: none;
	background-color: #111;
}
.modal-header h5, .close {
	color: white;
	text-shadow: none;
}
.close:not(:disabled):not(.disabled):hover {
	color: #cccccc;
}
.modal-body {
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}
.modal-body .social-icons {
	padding: 0 0 30px 0;
}

