body {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    background-color: #fff;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
    -webkit-font-smoothing: antialiased !important;
    -webkit-overflow-scrolling: touch;
    -moz-osx-font-smoothing: grayscale;
    overflow-y: scroll;
    font-size: 17px;
}

h1 {
    color: #000;
   	font-weight: normal;
   	font-size: 100%;
    margin: 0;
}

h2 {
    color: #000;
   	font-weight: normal;
   	font-size: 100%;
   	margin: 0.8em 0 0.3em 0;
}

a, a:visited, a:hover {
    color: #000;
    text-decoration: none;
}

footer {
    text-align: center;
}

.align-middle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.dot {
    font-size: 70%;
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
    vertical-align: top;
}

.hidden {
    display: none;
}

.floated-image {
    float: left;
}

.float_l {
    float: left;
}

.float_r {
    float: right;
}

.header {
    display: inline-block;
    position: fixed;
    top: 0px;
    right: 0px;
    left: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 100;
    box-shadow: 0px -2px 10px #888;
}

.sub-header {
    display: inline-block;
    position: fixed;
    top: 100px;
    right: 0px;
    left: 0px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 100;
    box-shadow: 0px -2px 10px #888;
}

.header-links {
    margin-top: 0.5em;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0.3em;
    display: table;
}

.header-links a, .header-links div {
    position: relative;
    vertical-align: middle;
    display: table-cell;
}

.header-links span {
    font-size: 70%;
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
    vertical-align: top;
    display: table-cell;
}

.underline {
    font-weight: bold;
}

/*********** Photography ************/

.tag-filters {
    clear: both;
}

.tag-filters a {
    float: right;
    text-align: right;
    font-size: 80%;
    color: rgba(0, 0, 0, 0.5);
}


.tag-filters-left a {
    float: left;
    text-align: left;
    font-size: 80%;
    color: rgba(0, 0, 0, 0.5);
}

.tag-filters a:hover {
    color: #000;
}

.tag-filters .selected {
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    color: #000;
}

.tag-filters span {
    float: right;
    text-align: right;
    font-size: 80%;
    font-weight: bold;
    margin-left: 5px;
    margin-right: 5px;
}

.tag-filters-left span {
    float: left;
    text-align: left;
    font-size: 80%;
    font-weight: bold;
    margin-left: 5px;
    margin-right: 5px;
}

.photo-grid {
    margin-top: 65px;
    -webkit-column-count: 4;
    -webkit-column-gap:   18px;
    -moz-column-count:    4;
    -moz-column-gap:      18px;
    column-count:         4;
    column-gap:           18px;
}

.photo .fancybox {
    display: inline-block;
}

.photo .social {
    display: none;
}

.photo .fancybox img {
    width: 100%;
    float: left;
    margin-bottom: 0px;
    margin-top: 18px;
    margin-left: 0px;
    margin-right: 0px;

    -moz-box-shadow: 5px 5px 13px -2px #444;
    -webkit-box-shadow: 5px 5px 13px -4px #444;
    box-shadow: 5px 5px 13px -4px #444;
}

.loading-graphic {
    left: 50%;
    top: 50%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: absolute;
}

/*********** Fancy Box ************/

.fancybox-nav span {
    opacity: 0.5;
}

.fancybox-title {
    padding-top: 5px;
    padding-left: 7px;
    padding-right: 7px;
    padding-bottom: 5px;
}

.fancybox-title iframe, .fancybox-title a {
    float: right;
    max-width: 150px;
    margin-top: 10px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
}

.fancybox-skin {
    webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

/*********** About Me ************/

.about-me-background {
    background-image: url('../images/website-text-transparent-outline.gif'), url('../images/shubhra.jpg');
    background-repeat:no-repeat;
    background-position:50px 50px, right top;
    background-color: #fff;
    background-size: auto 85%, auto 100%;
    background-attachment: fixed;
}

.about-me-content {
    display: inline-block;
    position: absolute;
    bottom: 10%;
    width: 98%;
    text-align: center;
    font-size: 100%;
}

.about-me-footer {
    display: inline-block;
    position: absolute;
    bottom: 3%;
    width: 98%;
    text-align: center;
    font-size: 70%;
}

/*********** Projects ************/

header.projects {
    background-color: rgba(1, 1, 1, 0.8);
}

.projects .header-links { 
    color: #FFF;
}

.projects-content h4 {
    padding-top: 10px;
}

.projects .header-links a:visited, .projects .header-links a:hover {
    color: #FFF;
    text-decoration: none;
}

.project-description {
    color: #555;
   	font-weight: normal;
   	font-size: 90%;
    margin-bottom: 1em;
}

h3, h4 {
    color: #555;    
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    margin-bottom: 1em;
    text-align: center;
    font-weight: normal;
    font-family: "Inconsolata", Andale Mono, Monaco, Monospace;
}

h3 {
    font-size: 80%;
}

h4 {
    font-size: 100%;
}

h3::before {
    color: #ddd;    
    content: '/* ';
}

h3::after {
    color: #ddd;
    content: ' */';
}

h4::before {
    color: #ddd;    
    content: '/** ';
}

h4::after {
    color: #ddd;
    content: ' **/';
}

.projects-content h2 + span {
    color: #aaa;    
    font-family: "Inconsolata", Andale Mono, Monaco, Monospace;
}

.container-fluid::after {
    color: #aaa;    
    content: '}';
    margin-left: -10px;
    font-family: "Inconsolata", Andale Mono, Monaco, Monospace;
}

.team2::before {
    color: #aaa;
    display: block;
    content: '// Team of 2';
    font-size: 90%;
    font-family: "Inconsolata", Andale Mono, Monaco, Monospace;
}

.team3::before {
    color: #aaa;
    display: block;
    content: '// Team of 3';
    font-size: 90%;
    font-family: "Inconsolata", Andale Mono, Monaco, Monospace;
}

.image-description {
    color: #888;
   	font-weight: normal;
   	font-size: 70%;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    font-style: italic;
    margin-bottom: 5px;
    margin-top: 5px;
}


.video-content {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.projects-content {
    margin-top: 55px;
}

.projects-content h2, .project-description {
    padding-left: 5px;
    padding-right: 5px;
}

.projects-content h2 {
    display: inline-block;
}

.projects-content a, .projects-content a:visited {
    color: #1B87E0;
}

.projects-content table, .projects-content tr {
    width: 100%;
}

.projects-content iframe, .projects-content video {
    min-width: 300px;
    min-height: 240px;
    width: 80%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.projects-content img {
    width: 200px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.width-33 {
    width: 33%;
}

.width-50 {
    width: 50%;
}

.max-width-200 {
    max-width: 200px;
}

/*********** Responsive Design ************/

@media (min-width: 1200px) {
    #photos {
        -moz-column-count:    4;
        -webkit-column-count: 4;
        column-count:         4;
    }
    #text {
        font-size: 90%
    }
    .about-me-background {
        background-position:40px 40px, right top;
    }
}
@media (max-width: 1200px) and (min-width: 993px) {
    #photos {
        -moz-column-count:    3;
        -webkit-column-count: 3;
        column-count:         3;
    }
    #text {
        font-size: 80%
    }
    .about-me-background {
        background-position:30px 30px, right top;
    }
}
@media (max-width: 992px) and (min-width: 768px) {
    #photos {
        -moz-column-count:    2;
        -webkit-column-count: 2;
        column-count:         2;
    }
    #text {
        font-size: 50%
    }
    .about-me-background {
        background-position:20px 20px, right top;
    }
    .about-me-content {
        bottom: 7%;
    }
    .about-me-footer {
        bottom: 1%;
    }
}

@media (max-width: 767px) and (min-width: 481px) {
    .photo-grid {
       margin-top: 105px;
    }

    .header-links span {
        font-size: 50%;
    }

    .projects-content {
        margin-top: 85px;
    }

    #photos {
        -moz-column-count:    1;
        -webkit-column-count: 1;
        column-count:         1;
    }
    #text {
        font-size: 20%
    }
    .about-me-background {
        background-position:10px 50px, right top;
    }
    .about-me-content {
        bottom: 23px;
    }
    .about-me-footer {
        bottom: 0px;
        font-size: 30%;
    }
    h1 {
        font-size: 100%;
        margin-bottom: 0.2em;
        margin-top: 0.95em;
    }
    .header a {
        font-size: 60%;
    }
    .tag-filters {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .tag-filters a {
        float: none;
    }
    .tag-filters span {
        float: none;
        font-size: 50%s;
    }
    .header-links {
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .projects-content iframe {
        margin-left: -5px;
    }
}

@media (max-width: 480px) and (min-width: 320px) {
    .photo-grid {
	   margin-top: 105px;
    }

    .header-links span {
        font-size: 50%;
    }

    #photos {
        -moz-column-count:    1;
        -webkit-column-count: 1;
        column-count:         1;
    }
    #text {
        font-size: 20%
    }
    .about-me-background {
        background-position:10px 50px, right top;
    }
    .about-me-content {
        bottom: 23px;
    }
    .about-me-footer {
        bottom: 0px;
        font-size: 30%;
    }
    h1 {
        font-size: 100%;
        margin-bottom: 0.2em;
        margin-top: 0.95em;
    }
    .header a {
        font-size: 50%;
    }
    .tag-filters {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .tag-filters a {
        float: none;
    }
    .tag-filters span {
        float: none;
        font-size: 50%;
    }
    .header-links {
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .projects-content iframe {
        margin-left: -5px;
    }
    .projects-content {
        margin-top: 85px;
    }

}