/*
Theme Name: Urchinweb
Theme URI: https://urchin.org/themes/urchin
Author: Bassam Kurdali and Fateh Slavitskaya
Author URI: https://urchn.org
Description: Updated Theme for the Urchin Studio site, written from scratch based on our old theme based on blogum
Version: 0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: studio, portfolio, reel
Text Domain: urchinweb

*/

/* General */




html {overflow-y:scroll;}

body {
    background-color:   lightgrey;
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-size: .8em;
    font-weight: 400;
    border: 0;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 1.4em;
    text-transform: uppercase;
    font-weight: 500;
}

h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 500;
}

h3 {
    font-size: 1.1em;
    font-weight: bolder;
    text-transform:capitalize;
}

.heading-title{
    font-weight: 400;
    text-transform: none;
}

.heading-capitalize{
    font-weight: 400;
    text-transform: capitalize;
}

h4 {
    font-size: 1em;
    font-weight: bold;
    text-transform:capitalize;
}

a {
    color:#88aa00;
    font-style: normal;
    text-decoration: none;
    transition: color 500ms ease 0ms ;
    -webkit-transition: color 500ms ease 0s;
    -moz-transition:color 500ms ease 0s;
}
a:hover{
    color:lightgrey;
}

hr {

}

pre {
 
    white-space: pre-wrap;
    width:100%;
}

li{
    list-style-image: url('images/bullet.svg');
}

/* Header */

#header {
    position: fixed;
    background-color:white;

    z-index:  600;

    border: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 900px;
}

.nav {
    width: auto;
    margin-top: 4em;
      transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -webkit-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
    }

.nav.shrink {

    margin-top :1em;
      transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
}


.logo {    
    position: relative;
    float:left;
    bottom:1em;

}

.logo h1 {
    font-size:.8em;
    font-weight: 400;
}


.logo img{
    height: 3em;
    margin-right:30px;
    padding-bottom: 0;
 
    
}

.menu {
    position: relative;
    bottom:-0.1em;
    -webkit-margin:0;
    margin: 0px 0px 0px 0px;
    text-transform: uppercase;
    font-size: 1.2em;
    font-variant: normal;
    font-stretch: normal;
    border:0;
    padding:0;
}

.menu ul {
    -webkit-margin:0;
}

.menu li {
    list-style: none;
    float: left;
    
    border: 0;
    margin: 0;
    padding: 0 30px 0 0px;
    -moz-margin:0;
    -webkit-margin:0;
    -moz-padding:0;
    -webkit-padding:0;
}

.menu li:last-child {

    padding: 0 0px 0 0px;
}

.menu li a {
    color: black;
    font-style: normal;
    text-decoration: none;

}

.menu li a:hover {
    color:lightgrey;

}

.menu li .currentlink {
    color: #88aa00;

}

/* Content */

.clear:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.cleardebug{
    height:0;
    font-size: 1px;
    padding:0;
    border:0;
    margin: 0;
    -webkit-margin:0;
}

#holder {
    position:relative;
    width: 100%;
    max-width:1000px;
    margin-left: auto;
    margin-right:auto;
    margin-top:0;
    margin-bottom:0;
    padding:0;
    border:0;
}

#held{
    position:absolute;
    width:auto;
    height: auto;
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 50px;
    background-color: white;
    border-bottom:200px;
    border-bottom-style: solid;
    border-color:lightgrey;
}

#content {
    
    position:relative;
    max-width: 800px;
    top: 3em;
    margin-top: 7em;
    /*margin: 8em 100px 100px 100px;*/
    background-color: white;
}


.current {
}

.projects,
.posts{
}

/* Work page */

.project {
    border: 0;
    padding: 0;
    margin: 0;
    background: black;
    color: white;
    clear:both;
}

.project a{
    color:#ccff00;
    font-weight:bold;
}

.preview,
.dummy{
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    clear:both;
}

.preview{
    cursor: pointer;
}


.dummy{
    background:white;
}

.preview img,
.dummy img {
    max-width: 100%;
    display:block;
    border:0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-color:black;
    
}
.projectpreview {
    background-color: darkblue;
}


.preview .overlay::after{
    content:"\f04b";
    font-family: FontAwesome;
    font-size:1em;
    line-height: 0em;
    display:inline;
    position:relative;

    bottom: 0em;
    height:0;
    margin-left:2em;
    padding:0;
    border:0;
    overflow:hidden;
    
    
    
}

.preview .overlay{
    position:absolute;
    display: block;
    text-align:right;
    font-size: 1em;
    text-transform: uppercase;
    width:98%;
    padding-top: 20%;
    

    background-image:none;
    
    filter:alpha(opacity=80);
    -moz-opacity:0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
    z-index:400;
}


.darkoverlay{
    color: black;
}
.lightoverlay{
    color:white;
}

.full {
    display: none;
    border: 0;
    padding: 0;
    margin: 0;
    padding-bottom:20px;

}

.full img {
    display:block;}

.full video {
    display:block;
}

.full .textbox{
    margin: 30px 50px 0px 50px;
}

.full .textbox h1{
    font-size: 1.2em;
    font-weight: bolder;
    color: lightgrey;
}

.full .textbox h2{
    font-size: 1.2em;
    font-weight: 400;
    color: lightgrey;
}

.full .bottombar,
.full .titlebar{
    cursor: pointer;
    display:block;
    text-align: right;
    padding-top: .5em;
    padding-bottom: .5em;
    padding-right:1em;
    font-size: 1.2em;
    color:darkgrey;
}


iframe {
    width: 100%

}

.aspect-ratio {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 51%;
}

.aspect-ratio iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0; top: 0;
}

.yt {}

.ytsrc{
    display:none;}

/* Footer */



/* Search */

.endleft,
.search {
    float:left;
    margin:0;
    padding: 0;
    border:0;
}

.search button {
    border:0;
    margin:0;
    margin-left:5px;
    padding:0;
    background-color:white;
    color:darkgrey;
    transition: color 500ms ease 0ms ;
    -webkit-transition: color 500ms ease 0s;
    -moz-transition:color 500ms ease 0s;
   
}

.search button:hover{
    color:lightgrey;
}

#searchform {
    border:0;
    padding:0;
    margin:0;
    margin-left:0px;
}

#searchform fieldset:focus {

}


#searchform fieldset{
    display:inline;
    border:0;
    margin:0;
    padding:0;
}


#searchform fieldset button{
    border:0;
    margin:0;
    padding:0;
  
}

#searchform fieldset input {
    overflow:hidden;
    border:0;
    padding:0;
    margin:0;
    color:darkgrey;
    transition: color 500ms, background-color 500ms ;
    -webkit-transition: color 500ms, background-color 500ms ;
    -moz-transition:color 500ms, background-color 500ms ;

}


#searchform fieldset input:focus {
    background-color: #eeeeee;
    color:black;
}
}

#iconbar {


    display:inline;
    padding:0;
    margin:0;
    border:0;

}

#iconbar ul{
    margin:0;
    padding:0;
    border:0;
    -webkit-margin:0;
}

#iconbar li{
    display: inline-block;
    list-style: none;
    padding:0;
    margin:0;
    border:0;
    margin-left:20px;
}

#iconbar li:first-of-type{
    margin-left: 0;
    padding-left:0;
    border-left:0;
}

#iconbar li a{
    color: #999999;
    text-transform: uppercase;
}

.endstufffirst,
.endstuff{
    clear:both;
    width:100%;
    margin:0;
    padding:0;
    border:0;
    margin-top:20px;
    text-align:right;
    text-transform: uppercase;
    color:darkgrey;
}

.endstufffirst
{
    margin-top:40px;
}

.endstuff ul{
    float: right;
    margin-left:0;
    margin-right:0;


    
}


.endleft ul{
    float:left;
    margin-left:0;
    margin-right:0;
    padding:0;
    border:0;
}
.endstuff li{
    list-style:none;
    text-align: left;
}
.endstuff li a{
    margin-left:0;
}

.endstuff a{
    color:darkgrey;
    margin-left:1em;
    margin-top: 0px;
}

.endstuff a:hover{
    color:lightgrey;
}

/* About Page */

.posts:first-child .bio-textbox p{
    margin-top:0;
}
.bio{
    position:relative;
    display: block;
    min-height: 100%;
    clear: both;
    margin-top:0;
    clear:both;
    
}

.bio-extras{
    display:block;
    position: relative;
    clear: both;
}

.bio-image{
  
    position: relative;
    float: left;
    margin-right:10px;
    display:block;
    
}

.bio-textbox{
    position:relative;
    display:block;
}

/* front page */

.front_page{
    
    margin-top:0;

}

.front_page p:first-of-type{
    margin-top: 2.2em;
}


.reelholder{
    display:block;
    width:100%;
    margin: 0;
    border:0;
    padding:0;

    background-size: cover;
    background-clip:content-box;
    background-repeat: no-repeat;
}


.reelholder .aligncenter,
.reelholder .alignnone,
.reelholder img{
    border:0;
    margin:0;
    padding:0;
    width:100%;
}
.reelholder video{

    display: none;
    position: relative;
    width:100%;
    border:0;
    padding:0;
    margin:0;
}


.baseimage{
    display:block;
    position:relative;
    opacity: .8;
    margin:0;
    border:0;
    padding:0;
    cursor: pointer;
    transition: opacity 500ms ease 0ms ;
    -webkit-transition: opacity 500ms ease 0s;
    -moz-transition:opacity 500ms ease 0s;
}

.baseimage:hover{
    opacity:0.1;
}

/* 404 */

.error404 img {
    width:100%;
    margin:0;
    padding:0;
    border:0;
    margin-bottom:20px;
    
}

/* blog */

.full .bottombar{
    cursor: auto;
}

.post .full {
    background: white;
}

.post .full .titlebar{
    background: white;
    background-image:url(images/x.svg);
    background-repeat:no-repeat;
    background-position: right, center;
    padding-bottom:0em;
    padding-top:0em;
    margin:0;
    text-align:center;
    color: darkviolet;
    margin-top:2.5em;
    
}

.post .full .titlebar:hover{
    background-image:url(images/xbright.svg);
}
.post .full .titlebar h2{
    padding-top: .4em;
    padding-bottom: .4em;
    font-weight: 600;
}
.post .full .titlebar a{

}



.all_posts{
}

.page_content,
.post_content{
    max-width: 800px;
}
.post_content {


}

.page_content .alignnone,
.page_content .aligncenter,
.post_content .alignnone,
.post_content .aligncenter{

  
    width:100%;
    overflow: hidden;
    height: 100%  ;
    margin-bottom:1em;
    margin-top:1em;
}

.page_content .alignleft,
.page_content .alignright,
.post_content .alignleft,
.post_content .alignright{
    display:inline-block;
    max-width: 50%;
    height:auto;      
}

.page_content .alignleft,
.post_content .alignleft{
    float:left;
    margin-right:1em;
}

.page_content .alignright,
.post_content .alignright{
    float:right;
    margin-left:1em;
}

.page_content video,
.post_content video{

    width:100%;
    height: auto;
}

.postpreview {
    background-color: darkblue;
}

.nofilter{}

.darkfilter{
    filter: brightness(.6) contrast(.5);
}

.lightfilter{
    filter: brightness(1.8) contrast(.8);
}

.post .preview .overlay {
    background-image:none;
    text-align: left;
    margin-left:2%;
    padding-top:0;
    text-overflow: hidden;
    display:block;
    text-transform:none;
    font-weight: 400;
    width:96%;
    overflow: hidden;
    margin-top:1%;
 }


.post .preview .overlay::after{
    content:none;

    
}

.post .preview .overlay h2 {
    opacity: 1;
    padding:0;
    margin:0;
    margin-top:.2em;
    margin-left:1em;
    font-weight:bold;
}
.post .preview .overlay p {
    font-size: .8em;
    padding:0;
    margin:0;
 
    opacity: .5;
    color:#aaaaaa;
    display: none;
    overflow: hidden;
    max-height: 300%;
    margin-top:1em;
    margin-left:2px;

}
.post .preview .overlay p::first-line {
    opacity:.6;
    -moz-opacity:.6;
    -khtml-opacity:.6;
    color:white;

  
}

.post .preview .darkoverlay p{
    color: #333333;
}
.post .preview .darkoverlay p::first-line{
    color:black;
}

.post_author{}
.post_comment{}
.post_more{
float:left;
}

.post {

    clear:both;
}

.postsingle{
    background: white;
    clear:both;
}
/* pagination */
.pagination{
    margin-top:.5em;
}
.newerposts{
    float:right;
}

/* Comments */

#comments{
    margin-top:1em;

    background-clip:border-box;


}
.comment_text img{
    width:100%;
}
#comments_heading{
    margin-bottom:1em;
}
#comments_qty{}
.add_comment{
    float: right;
}
.comment_list{
    display:block;
    clear: both;
    border:1px;
    border-style: solid;
    border-color:lightgrey;
    background-color: #fafafa;
    padding-left:1em;
    padding-right:1em;

}

.comment_outer_list{
    margin:0;
    margin-top: 4em;
    padding: 0;
    list-style: none;
    
}
.comment_meta{}
.comment_text{
    padding-bottom:1em;
    border:0;
    border-bottom: 1px;
    border-style:solid;
    border-color:#efefef;
    margin-bottom: 1em;
}

.children{
    list-style: none;
    margin:0;
    padding:0;
}

.respond{
    display:block;
    margin-top:5em;
    clear:both;
}
.respond_meta{}
.comment_form{
    clear:both;
}
.comment_message{}
.user_data{
    float:left;
    display: inline;
    width:20%;
    border:0;
    border-right:1px;
    border-color: #efefef;
    border-style:solid;
}

.user_data p:first-of-type{
    margin-top: 0;
}

.focus{
    background-color: #fafafa;
    border:0px;
    border-style:solid;
    border-color: #efefef;
    padding-top:.5em;
    padding-bottom:.5em;
    padding-left:1em;
    width:80%;
}
.comment_inputy_stuff{
    background: #fafafa;
    border:1px;
    border-style:solid;
    border-color:lightgrey;
}
.commentform{}
.comment_field{
    float: right;
    left: 20%;
    width:78%;
    background: #fafafa;
    border:0px;
    border-color:lightgrey;
    border-style:solid;
}

#comment{
    width: 98%;
    border-left:0;
    border:0;
    margin:0;
    padding:0;
    margin-top:.8em;
    
    background: none;
    max-width:98%;
    min-width:98%;
    min-height: 8em;
    resize: none;
    
}

.comment_submit{
    clear: both;
    width:100%
    display:block;
    margin-top:2em;
    margin-bottom: 6em;    
    }

.comment_submit input{
    width: 100%;
    padding-top: .3em;
    padding-bottom: .3em;
    
}



/* responsive fixes */

@media screen and (max-width: 770px) {
     #header {
        position: static;
    }
    
    #iconbar {

        position:static;
        display:block;        
    }
    
    
    #held {
        padding-left: 0;
        padding-right: 0;
    }
    .logo img{    
        margin-left:10px;
    }
    .nav{
        margin-top:2em;
    }
    #content{
        margin-top:3em;
    }
    .endstuff{
        width: 98%;
    }
    
    
    .bio-textbox{
        margin-right:10px;
        margin-left:10px;
    }
    
.page_content,    
.post_content {
    margin-left:3%;
    margin-right:1%;

}
.page_content video,
.post_content video,
.page_content .alignnone,
.page_content .aligncenter,
.post_content .alignnone,    
.post_content .aligncenter{
    margin-left: -3%;
    width:104%;
}
    


.error404 p {
    margin-left:10px;
    margin-right:10px;
}
    
    /* pagination */
.newerposts{
    margin-right:10px;
}
    .olderposts{
        margin-left:10px;
    }
    
    
    
}   
   
@media screen and (max-width: 600px) {
    #header {
        position: static;
    }
    
    #iconbar {

        position:static;
        display:block;        
    }
    
    .logo {
        position:static;
        float:inherit;
        width: 80%;
        margin-left: auto;
        margin-right:auto;
    }
    

    .logo img{    
        margin-left:0px;
    }
    
    .nav {
        margin-top: 2em;

    }
    .logo img{
        display:block;
        position: relative;
        margin-left:auto;
        margin-right:auto;
        height: auto;
        width: 100%;
    }

    .menu {
        padding:0;
        padding-top:2em;
        text-align:center;
        width:80%;
        position: relative;
        display:block;
        margin-left:10%;
        margin-right:10%;
        -webkit-padding: 0;
        -webkit-margin: 0;
        align-items: stretch;
        border:0;
    }
    
    .menu ul{
        -webkit-padding: 0;
        -webkit-margin: 0;
        width:100%;
        padding: 0;
        margin: 0;
        border: 0;
        display: flex;
        justify-content: space-between;
    }

    .menu li{
        display:inline;
        float:none;

        border:0;

    }
    
    .menu li:first-child{
        float:left;
        margin-left: 0;
        padding-left:0;
        border-left:0;
        
    }
    .menu li:last-child{
        float:right;
        margin-right: 0;
        padding-right:0;

    }
    .menu li:first-child{
        display:none;
    }
    
    #content {
    
        top: 1em;
        margin-top: 0em;
    }
    
    .post .preview .overlay p {
        margin-top:.2em;
    height: 3em;
        font-size: .7em;
       
    } 
  

}

@media screen and (max-width: 400px) {
    pre{
        margin:0;
        padding:0;
        border:0;
        white-space:pre-wrap;
        overflow: hidden;
        width: 280px;
    }
}

@media screen and (max-width: 300px) {
    pre{
        margin:0;
        padding:0;
        border:0;
        white-space:pre-wrap;
        overflow: hidden;
        width: 230px;
    }
}
