/* Theme Name: Profolio
 CSS Document */

html{
	margin:0 auto;
}
body{
	color:#090909;
	max-width:1366px;
	margin:0 auto;
}
h1{
	margin-top:0px;
}
a{
	text-decoration:none;
}
a:hover{
	text-decoration:none;
	color:#d0d0d0;
}
a:focus {
  color: #f5cc2a
}
#page-header{
  position: relative;
	background-color:#cdd3d2;
  background-size: cover;
  background-position: center center;
  height: 278px;
	padding:62px 0;
	color:white;
}
.site-logo{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  padding-left: 5%;
  padding-right: 10%;
  background: linear-gradient(90deg, rgba(0,0,0,0.6), transparent);
}
.site-logo img {
  object-fit: contain;
  object-position: center center;
  height: 100%;
}
#site-title{
	font-size:3em;
	line-height:1em;
}
#header-subtitle{
	display: block;
	margin-top:10px;
}
#site-nav{
	border-bottom:1px #090909;
	border-top:1px #090909;
	min-height:50px;
}
#site-nav ul{
	margin:0;
	padding: 0;
}
#site-nav li, #logo-scrolled{
	list-style-type:none;
	float:left;
	padding:15px 20px;
	color:white;
	-webkit-transition: margin-left ease-out 0.5s;
    -moz-transition: margin-left ease-out  0.5s;
    -o-transition: margin-left ease-out  0.5s;
    transition: margin-left ease-out 0.5s;
}
#logo-scrolled{
	font-weight:bold;
	margin-left:-206px;
	display:none;
}
#site-nav a{
	color:white;
}
#social-media{
	float: right;
    margin-top: 5px;
    margin-right: 15px;
}
#social-media>a{
		float:left;
		width: 35px;
		height: 35px;
		padding:0 20px;
		background-size:contain;
    background-repeat: no-repeat;
    background-position: center center;
}
#social-media .gplus{
		background-image: url(images/google-plus-256-white-on-trans.png);
		margin-top:10px;
}
#social-media .linkedin{
		background-image: url(images/linkedin-256-white-on-trans.png);
}
#social-media .facebook{
		background-image: url(images/icons/facebook.png);
}
#social-media .twitter{
		background-image: url(images/icons/twitter.png);
}
#page-content-wrapper{
	position:relative;
	margin-top:26px;
}
#content{
	margin-left:25%;
	width:75%;
}
#sidebar{
	position: absolute;
	top: 0;
	padding-left: 25px;
}
.featured p{
	font-size:1.3em;
}
section ul{
	padding-left:18px;
}
.col-first{
	clear:both;
}
#page-footer{
	color:white;
	margin-top:15px;
	padding-bottom:25px
}
#page-footer h3{
	margin-bottom:0px;
}
#page-footer h3,#page-footer a{
	color:white;
}
#page-footer p{
	margin-top:0;
}
img{
	max-width:100%;
}

/*MAPS CSS*/
#map-container{
	height:476px;
	margin-bottom: 1.5em;
	background-color:white!important;
}
#map-container>div{
	width:90%!important;
	left:inherit!important;
}
/*HEADER SCROLL CSS*/
.scrolled #page-content-wrapper{
}
.scrolled #site-nav{
}
.scrolled #logo-scrolled{
	margin-left:0px;
}

/* CONTACT FORM */

.wpcf7 input, .wpcf7 textarea{
	width:100%;
}
.wpcf7 input.wpcf7-submit{
	width:auto;
	background-color: rgb(240,240,240);
    box-shadow: none;
    border: #d4d4d4 1px solid;
}

@media only screen and (max-width : 767px) {
	#page-header{
		padding:52px 0;
	}
	#logo-scrolled{
		display:none;
	}
	#menu-main-menu li{
		float:none;
		text-align: center;
	}
	#menu-main-menu{
		display:none;
	}
	.mob-active #menu-main-menu{
		display:block;
	}
	#menu-button{
		display: block;
		background: url(images/menu-alt-white.png) no-repeat;
		cursor:pointer;
		width: 35px;
		margin: 9px 25px 8px;
		height: 25px;
		background-size: contain;
    float: left;
	}
	#footer-quote{
		text-align:center;
	}
	#header-subtitle{
		display:none;
	}
}
@media only screen and (max-width : 767px) {
	#sidebar{
		position:relative;
		width:100%;
		text-align:center;
	}
	.img-wrapper{
		height: 200px;
		width: 200px;
		overflow: hidden;
		border-radius: 51%;
		-webkit-border-radius: 51%;
		-moz-border-radius: 51%;
		margin: 0 auto;
	}
	.img-wrapper img{
		margin-top:-25px;
	}
	#content{
		margin-left:0px;
		width:100%;
	}
}
@media only screen and (min-width : 768px) {
	.scrolled #page-content-wrapper{
		margin-top:85px;
	}
	.scrolled #site-nav{
		position:fixed;
		top:0;
		width:100%;
		z-index:10;
		opacity:0.9;
	}
	#site-nav li{
		padding: 15px 40px 15px 0px;
	}
	#site-nav li:last-child {
		padding-right: 0;
	}
	#site-nav{
		padding-left:25px;
	}
	#footer-quote{
		display:none;
	}
}
/*FOOTER TO BOTTOM????????*/

/* BLOG INDEX */

.blog-posts-index {
  display: flex;
  flex-direction: column;
}
@media (min-width: 650px) {
  .blog-posts-index {
    flex-direction: row;
  }
}
.blog-posts-index ul.years {
  flex: 1;
  padding-left: 8px;
}
.blog-posts-index ul.years > li > h1 {
  padding-bottom: 1em;
  margin-bottom: 1em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  margin-right: 3rem;
}
.blog-posts-index ul.months > li {
  padding-bottom: 0.4em;
  margin-bottom: 1em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.6);
  margin-right: 3rem;
}
.blog-posts-index ul.posts > li {
  margin-bottom: 0.4em;
}
.blog-posts-index li {
  list-style-type: none;
}
.blog-posts-index .post-previews {
  flex: 2;
  padding: 0 15px;
}
.blog-posts-index .post-preview-container {
  width: 50%;
  float: left;
  padding: 0 10px;
}
.blog-posts-index .post {
  margin: 2em 0;
}
.blog-posts-index a {
  transition: opacity 0.3s ease;
}
.blog-posts-index span.post-date {
  font-style: italic;
  opacity: 0.6;
}
.blog-posts-index .month-button {
  cursor: pointer;
}

.show-more-posts-btn {
  background-color: transparent;
  border: 1px blue solid;
  color: black;
  padding: 0.4em 1em;
  margin: 0 auto;
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
  clear: both;
}

.show-more-posts-btn:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.show-more-posts-btn:active {
  outline: none;
}


/* BLOG PAGE */

/* Blog page */
@media (min-width: 650px) {
  .blog-page .blog-page-inner {
    width: 65%;
    max-width: 75em;
    min-width: 30em;
    margin: 0 auto;
  }
}
.blog-page h1, .blog-page h2 {
  margin: 0.5em 0;
  line-height: 1.2em;
  padding-top: 2px;
}
.blog-page img {
  max-width: 100%;
  height: auto;
  display: block;
}
.blog-page img.alignleft {
  float: left;
  padding-right: 1.2em;
}
.blog-page img.alignright {
  float: right;
  padding-left: 1.2em;
}
.blog-page img.aligncenter {
  margin: 0 auto;
}
.blog-page .single-column-center {
  float: none !important;
  margin: 0 auto !important;
}

.blog-page-inner {
  padding: 0 25px;
}

.blog-page-inner iframe {
  width: 100%!important
}

@media only screen and (min-width: 641px) {
  .post-preview-container:nth-of-type(2n+1) {
    padding-right: 1em;
    clear: both;
  }

  .post-preview-container:nth-of-type(2n) {
    padding-left: 1em;
  }
}
