/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

@import url(https://fonts.googleapis.com/css?family=Questrial);

* {
    -webkit-overflow-scrolling: touch;
}

html {
    color: #ccc;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

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

body {
   
    font-size: 13px;
    /*font-family: 'PT Mono', sans-serif;*/
    font-family: 'Questrial', sans-serif;
}

.black-theme{
    position: fixed;
    width: 100%;
    height: 100%;
     background: #000;
     color: #888;
 }

.white-theme{
    position: relative;
    width: 100%;
    background: #FFF;
    color:#666;
}

a,a:focus, a:active{
    outline: none;
    border:0;
}

.black-theme a{
    color: #ccc;
}

.white-theme a{
    color: #666;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}


#main{
   position: fixed;
   width: 100%;
   height: 100%;   
   overflow: auto;
}

#page-overlay{
    position: fixed;
    width: 0%;
    height: 100%;
    z-index: 10001;
}

#page-overlay.white{
    background: #FFF;
}
#page-overlay.black{
    background: #000;
}



/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    
}

.footer-container,
.main aside {
   
}

.header-container,
.footer-container,
.main aside {
    background: #FFF;
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a {

    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #e44d26;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}


/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */




/*Custom CSS - Parthi */


.right-container{
    
    position: relative;
    width: 100%;
    left: 0px;
    z-index: 1;

}

.right-container-home{
    
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1
}

.main-container{
    /*width: 100%;*/
    box-sizing: border-box;
    margin:0px;
    padding-top: 80px;
}

.main-container.mc{
    padding-top: 0;
}

#portfolio-container{
    margin: 15px;
}

svg#home-svg {

  width: 100%;
  height: 100%;
  margin-top: 0;
  display: block;
  /*visibility: hidden;*/

}

/*
#square,
#star {
  visibility: hidden;
}
*/

#shape-building,#shape-bottle,#shape-lamp,#shape-compass{
    visibility: hidden;
}


.left-container{
    position: fixed;
    width:100%;
    height: 100%;
    z-index: 2;
    background:rgba(0,0,0,0.85);

    left: 100%;

    transition: 0.5s;
}


.left-container.visible{
   
    /*left: 0;*/
}

.left-container .mobile-only hr{
    border:none;
    border-bottom: 1px solid #333;
}



#main-nav{

    position: fixed;
    height: 100%;
    top: 0;
    right: 0;
    width: 0;
    overflow: hidden;
    z-index: 101;
    background: #111;
    text-align: right;
    transition: 0.5s;
}

#main-nav.open{
    /*width: 100%;*/width: 280px;
}

#main-nav ul{
    
    float: right;
    margin: 0;
    min-width: 280px;
    width: 100%;
    list-style: none;
}

#main-nav ul li {
    margin-bottom: 5px;
    font-size:16px;
    color:#666;
}

#main-nav ul li:nth-child() {
    margin-top: 40px;
}

#main-nav ul.mn-list{
     padding: 80px 15px 0 15px;
}

#main-nav ul.mn-infolinks{
    margin-top: 20px;
    padding: 0px 15px;
}

#main-nav ul.mn-infolinks li a{
    color:#666;
}

#main-nav ul li a{
    text-decoration: none;
    font-size:16px;
     color:#ccc;
    /*text-transform: uppercase;*/
}

#main-nav ul li a:hover{
    color: #ccc;
}

#main-nav ul li.nav-connect{
    margin-top: 10px;
    font-size: 14px;
    padding: 10px 0;
    border-top:1px solid #333;
}

.nav-connect p{
    margin-top: 10px;
}

.nav-connect a{
    text-decoration: none;
    color: inherit;
}


#page-container{

     transition: 0.5s;
}

#page-container:after{
    display: table;
    clear: both;
    content: "";
}

#page-container.slide{
    /*transform: translateX(300px);*/
    /*margin-left: 280px;*/
}

.about-nav{
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 40px;
}

.about-nav ul li {
    margin-bottom: 5px;
}

#branding{
    
    display: none;
    
    text-transform: uppercase;

    /* Safari */
    -webkit-transform: rotate(-90deg);
    
    /* Firefox */
    -moz-transform: rotate(-90deg);
    
    /* IE */
    -ms-transform: rotate(-90deg);
    
    /* Opera */
    -o-transform: rotate(-90deg);

    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

    z-index: 99;
}

.white-theme #branding a{
    color: #333;
}

#home-container{
    position: fixed;
    width: 100%;
    height: 80%;
    top: 10%;
    box-sizing: border-box;
    padding: 20px;
}

#home-svg{
   position: relative;
   margin-top: -50px;
}

#contact{
    position: fixed;
    bottom: 50px;
    left: 50px;
    font-size: 16px;
}
#contact a{
    text-decoration: none;
}

#contact a:hover{
    text-decoration: underline;
}

#mobile-main-nav{


    width: 100%;
    height: 50px;
    background:#111;
    position: fixed;
    z-index: 10001;
}

.nav-icon{

    float: right;
    padding: 15px;
    padding-left: 0px;
    position: relative;
    z-index: 1001;
    cursor: pointer;
}

.nav-icon span.icon-bar+.icon-bar{
  margin-top: 4px;
}


.navicon {
  position: relative;
  width: 20px;
  height: 2px;
  background: #FFF;
  border-radius:2px;
  cursor: pointer;
  display: inline-block;
}

.navicon:before, .navicon:after {
  display: block;
  content: "";
  width: 20px;
  height: 2px;
  background: #FFF;
  border-radius:2px;
  position: absolute;
  z-index: -1;

  transition: 0.25s;
}

.navicon:before {
  top: -8px;
}

.navicon:after {
  top: 8px;
}

.open:not(.steps) .navicon:before,
.open:not(.steps) .navicon:after {
  top: 0 !important;
}

.open .navicon:before,
.open .navicon:after {
  transition: 0.25s;
}

/* Minus */
.open {
  /*transform: scale(0.75);*/
}

/* × and + */
.open.plus .navicon,
.open.x .navicon {
  background: transparent;
}
.open.plus .navicon:before,
.open.x .navicon:before {
  transform: rotate(-45deg);
}
.open.plus .navicon:after,
.open.x .navicon:after {
  transform: rotate(45deg);
}

.open.plus {
  transform: scale(0.75) rotate(45deg);
}

.branding-mobile{
    text-decoration: none;
    padding: 18px;
    display: inline-block;
    text-transform: uppercase;
}

a.branding-mobile{
    color: #FFF;
    letter-spacing: 5px;
}

.mobile-only{
    display: block;
}

div[class*="col"]:after {
  content: "";
  display: table;
  clear: both;
}


.row{
    clear: both;   
}

.row:after{
  content: "";
  display: table;
  clear: both;
}

.col100, .col90, .col80, .col70, .col60, .col50, .col40, .col30, .col20, .col10{
    width: 100%;
    float: left;
    margin-bottom: 10px;
}

div[class*="col"] img.responsive{
    width: 100%;
}

.grid-item{
    
}

.about-section{
    position: relative;
    margin-bottom: 100px;
}

.about-section a{
    text-decoration: none;
}

.pub-item a{
    text-decoration: underline;
}

.as-title{   
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;  
}

.page-opening{
    font-size: 26px;
    font-weight: normal;
    max-width: 845px;
}

.page-sub-opening{
    font-size: 16px;
    /*max-width: 550px;*/
    margin-top: 20px;
}

.publications{
    /*max-width: 500px;*/
}

.publications p{
    margin-bottom: 20px;
}

.pub-cnt{
    
}

.pub-item{
    margin-bottom: 8px;
}

.work-link{
    font-size: 36px;
    margin-top: 50px;
}

.work-link a{
    color: #ccc;
}

.portfolio-title{
    margin-bottom: 30px;
}

.portfolio-title h2{
    margin-top: 0; 
    font-weight: normal;
}

.portfolio-title p{
    max-width: 400px;
    font-size: 14px;
}


.grid-sizer{
    width: 50%;
}

.clients-section{

}

.cs-item{
    
    margin-bottom: 8px;
}

/*Parthi */


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}



@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }

    #mobile-main-nav{
        /*display: none;*/
        background: none;
    }

    .nav-icon{
        float: left;
        padding: 0;
        margin: 30px;
    }

   
    .navicon.dark, .navicon.dark:before, .navicon.dark:after {
      background:#333;
    }
    
    .branding-mobile{
        display: none;
    }
    
    #branding{

        display: block;
        position: fixed;
        bottom: 160px;
        left: -88px;
        z-index: 1001;
        /*text-transform: uppercase;*/
    }

    #branding a{
        font-size: 16px;
        text-decoration: none;
        letter-spacing: 15px;
        /*text-transform: uppercase;*/
    }

    .mobile-only{
        display: none;
    }

    
    .left-container{
        position: fixed;
        width:270px;
        height: 100%;
        z-index: 2;
        background:none;
        display: block;
        left: 0;
    }



    #main-nav{
        
        position: fixed;
        height: 100%;
        top: 0;
        right: auto;
        left: 0;
        width: 0;
        overflow: hidden;
        z-index: 101;
        background: #111;

        transition: 0.5s;

        text-align: left;
    }

    #main-nav.open{
        width: 280px;
    }

    #main-nav ul{
        float: left;
        width: 280px;
    }

    #main-nav ul.mn-list{
        padding: 80px 30px 0 30px;
    }

    #main-nav ul.mn-infolinks{
        padding: 0px 30px;
    }
    
    .right-container{
        position: relative;
        width: calc(100% - 50px);
        left: 50px;
        z-index: 1;
    }

    #portfolio-container{
        margin-right: 0px;
    }

    .page-opening{

    }



    .as-title{

        position: absolute;
        width: 100px;
        text-align: right;
        top: 48px; 
        left: -100px;
        margin-bottom: 0;

        /* Safari */
        -webkit-transform: rotate(-90deg);
        
        /* Firefox */
        -moz-transform: rotate(-90deg);
        
        /* IE */
        -ms-transform: rotate(-90deg);
        
        /* Opera */
        -o-transform: rotate(-90deg);

        /* Internet Explorer */
        filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    }

    .as-title.op-title{
        top: 50px;
    }

    .work-link{
        margin-top: 80px;
    }

    div[class*="col"]{
        padding-right: 10px;
    }

    div[class*="col"]:last-of-type {
        /*padding-right: 0;*/
    }

    .col90{
        width: 90%;
    }
    .col80{
        width: 80%;
    }
    .col70{
        width: 70%;
    }
    .col60{
        width: 60%;
    }
    .col50{
        width: 50%;
    }
    .col40{
        width: 40%;
    }
    .col30{
        width: 30%;
    }
    .col20{
        width: 20%;
    }
    .col10{
        width: 10%;
    }

   .page-opening{

   }

   .main-container{
        /*padding-top: 50px;*/
        padding-left: 8px;
    }

    .main-container.abt-cnt{
        padding-left: 60px;
    }

    .page-sub-opening{
        max-width: 680px;
    }
}


@media only screen and (max-height: 600px) and (min-width: 768px){
    
    .nav-icon{

        float: right;
        padding: 15px;
        padding-left: 0px;
        margin: 0px;
    }

    .navicon.dark, .navicon.dark:before, .navicon.dark:after {
      background:#FFF;
    }
    
    #branding{
        display: none;
    }
    
    .branding-mobile{
        display: inline-block;
    }

    #mobile-main-nav{
        background:#111;
    }

    .right-container{
        width: 100%;
        left: 0;
    }

    #portfolio-container{
       margin:10px;
       margin-right:5px;
    }

    #main-nav{

        left: auto;
        right: 0;
       
        text-align: right;
    }
    
    #main-nav ul{
        float: right;

    }

}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

    .right-container{
        position: relative;
        width: calc(100% - 270px);
        left: 270px;
        z-index: 1;
    }


    #home-container{
        padding: 0;
        padding-left: 10%;
    }
    
    .main-container{
        /*padding-top: 50px;*/
        padding-left: 40px;
    }

    #portfolio-container{
        margin-left: 20px;
        padding-left: 0px;
    }
    
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}