/*   
Theme Name: Jane Tingley 2016
Theme URI: http://janetingley.com
Description: Theme designed by Mathieu Legault, Adapted for Wordpress by Max Stein
Author: Mathieu Legault
Author URI: http://legault.me / http://manwho.codes
Version: 1
*/

/* Toggle Styles */

*{
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
}

html,body
{
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

body{
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

p{
    margin-bottom: 20px;
    line-height: 25px;
    color: #9a9a9a;
}

h1, h2, h3, h4, h5, h6{
    font-weight: normal;
}

a{
    color: #2a7ed2;
}

a:hover{
    text-decoration: none;
}

.clear{
    clear: both;
    display: block;
}

.page-title{
    font-size: 50px;
    float: left;
    font-weight: 700;
}

.header{
    padding-bottom: 120px;
}

.footer{
    border-top: 1px solid #e9e9e9;
    color: #9a9a9a;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 40px;
}

.go-top>a>span{
    background: #9a9a9a;
    padding: 15px;
    color: white;
}

.go-top>a>span:hover{
    color: white;
    background: #2a7ed2;
}

#wrapper {
    padding-left: 0;
}

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 250px;
    width: 0;
    height: 100%;
    margin-left: -250px;
    overflow: hidden;
    background: #fff;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
    cursor: pointer;
    opacity: 0.6;
}

#wrapper.toggled #page-content-wrapper * {
    pointer-events: none;
}

.project-thumbs{
    overflow: hidden;
    margin-bottom: 30px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.project-thumbs>div{
    background-repeat: no-repeat;
    background-position: center; 
    background-size:cover;
    padding-bottom: 100%;
    display: block;
    width: 100%;
}

.project-thumbs-hover{
    position: absolute;
    overflow: hidden;
    background: rgba(12, 12, 12, 0.8);
    opacity: 0;
    top: 0;
    bottom: 0;
    right: 15px;
    left: 15px;
}

.project-thumbs-hover h3, .project-thumbs-hover p{
    zoom: 1;
    filter: alpha(opacity=0);
    -webkit-opacity: 0;
    -moz-opacity: 0;
    opacity: 0;
    -webkit-transform: translate(0,15px);
    -moz-transform: translate(0,15px);
    -ms-transform: translate(0,15px);
    -o-transform: translate(0,15px);
    transform: translate(0,15px);
    -webkit-transition: all .15s 75ms cubic-bezier(.25,.46,.45,.94);
    -moz-transition: all .15s 75ms cubic-bezier(.25,.46,.45,.94);
    -o-transition: all .15s 75ms cubic-bezier(.25,.46,.45,.94);
    transition: all .15s 75ms cubic-bezier(.25,.46,.45,.94);
    
    text-overflow: ellipsis;
    overflow: hidden;
}

.project-thumbs-hover div {
    color: white;
    width: 100%;
    margin: auto;
    bottom: 0px;
    position: absolute;
    padding: 20px;
}

.project-thumbs-hover div p{
	margin-bottom: 0;
}

.project-thumbs-hover:hover, project-thumbs-hover:active, project-thumbs-hover:focus {
    opacity: 1;
}

.project-thumbs-hover:hover h3, .project-thumbs-hover:hover p{
    zoom: 1;
    filter: alpha(opacity=100);
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);
    -webkit-transition: all .3s .1s cubic-bezier(.455,.03,.515,.955);
    -moz-transition: all .3s .1s cubic-bezier(.455,.03,.515,.955);
    -o-transition: all .3s .1s cubic-bezier(.455,.03,.515,.955);
    transition: all .3s .1s cubic-bezier(.455,.03,.515,.955);
}

.subtitle, .tags{
    color: #9a9a9a;
    float: left;
    clear: both;
}

.info{
    float:right;
    color: #9a9a9a;
    margin-top: 46px;
    display: none;
}

.info li{
    float: left;
    list-style: none;
    margin-left:20px;
    border-bottom: 2px solid white;
}

.info li a{
    color: #9a9a9a;
}

.underline a span{
    border-bottom: 2px solid rgba(0, 0, 0, 0);
}

.underline a:hover span{
    border-bottom: 2px solid #2a7ed2;
}

.active{
    border-bottom: 2px solid #2a7ed2 !important;
}

.scroll-top{
    position: static;
}

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

/* Sidebar Styles */

.logo{
    with:200px;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: 60px;
    margin-top: 47px;
}

.sidebar-nav li {
    margin: 12px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #9a9a9a;
}

.sidebar-nav li a:hover {
    text-decoration: none;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
    margin-bottom: 30px;
    margin-top: 0;
}

.sidebar-nav > .sidebar-brand a {
    color: #9a9a9a;
    border-bottom: none;
    display: inline;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #000;
    background: none;
    border-bottom: none;
}

.hamburger-icon{
    display: inline;
    float: right;
    margin-right: 20px;
    margin-top: 32px;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 250px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 250px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 30px;
        position: relative;
        max-width: 900px;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }

    .hamburger-icon{
        display: none;
    }

    .info{
        display: inline;
    }
    
    .page-title{
        margin-top: 7px;
        margin-bottom: 5px;
    }
}

/* mobile css */
@media only screen and (max-device-width: 480px) {
    .page-title{
        font-size: 30px;
    }

    .hamburger-icon{
        margin-right: 0;
        margin-top: 22px;
    }
}

@media(max-width: 1200px) and (min-width: 992px){
    .project-thumbs-hover>div{
        padding: 10px;
    }
}

@media(min-width:1250px) {
        
    .go-top-bar{
        width: 100%;
        padding-top: 20px;
    }

    .go-top{
        width: 44px;
        margin: auto;
        text-align: middle;
    }
    
    .scroll-top{
        position: fixed;
        bottom: 0;
        right: 0;
        padding: 40px;
        display: none;
    }
    
    .go-top{
        text-align:inherit;
    }
}

/* Slide animation */

@-webkit-keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInUp {
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp;
}

/* FOR WORDPRESS THEME **/

.current-menu-item span{
    border-bottom: 2px solid #2a7ed2 !important;
}

ul.subtitle {
	padding:0px; margin:0px; padding-bottom:14px;
}

ul.tags {
	padding:0px; margin:0px;
}

ul.subtitle li a, ul.tags li a {
    text-decoration: none;
    color: #9a9a9a;
}

ul.subtitle li, ul.tags li {
	display:inline; padding-right:20px;
}

//.logo-container img {  background:#9a9a9a; }

#gallery { padding:5px 0px; }
.gallery-img { display:inline; }
.gallery-img img { /*width:60px; height:60px;*/ border:1px solid #eee; }

.gallery-img img:hover { opacity:0.8; }

.embed-responsive { margin-bottom:14px; }
.img-responsive { margin:0px auto; background:#000; max-height:70vh; }
#featured_img { background:#000; position:relative; }

.info a:focus { text-decoration:none; }