/*
Theme Name: John Mullin
Version: 2.0
*/

/*
 * Web Fonts from fontspring.com
 *
 * All OpenType features and all extended glyphs have been removed.
 * Fully installable fonts can be purchased at http://www.fontspring.com
 *
 * The fonts included in this stylesheet are subject to the End User License you purchased
 * from Fontspring. The fonts are protected under domestic and international trademark and 
 * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
 * distributing this font software.
 *
 * (c) 2010-2014 Fontspring
 *
 *
 *
 *
 * The fonts included are copyrighted by the vendor listed below.
 *
 * Vendor:      The Questa Project
 * License URL: http://www.fontspring.com/licenses/the-questa-project/webfont
 *
 *
 */

@font-face {
    font-family: 'questa_sansregular';
    src: url('./fonts/2-Questa_Sans_Regular-webfont.eot');
    src: url('./fonts/2-Questa_Sans_Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('./fonts/2-Questa_Sans_Regular-webfont.woff2') format('woff2'),
         url('./fonts/2-Questa_Sans_Regular-webfont.woff') format('woff'),
         url('./fonts/2-Questa_Sans_Regular-webfont.ttf') format('truetype'),
         url('./fonts/2-Questa_Sans_Regular-webfont.svg#questa_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* MAIN STYLES */

.clearfix:before,  
.clearfix:after {  
    content:" ";  
    display:table;  
}  
.clearfix:after {  
    clear:both;  
}  
.clearfix {  
    *zoom:1;  
}  

html{
    height:100%;
    overflow-x:hidden;
	overflow-y:scroll;
}

body {
    margin:0;
    padding:0;
    font-family:'questa_sansregular',"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    font-weight:normal;
    font-style:normal;
    font-size:100%;
    line-height:1.6875;
}

#wrapper {
    margin:0 auto;
}

img {
    max-width:100%;
	height:auto;
    width:auto; /* for ie 8 */
}

/* CONTENT STYLES */

#masthead {
    padding: 5em;
    margin-left: 6em;
}

#masthead h1 a {
    font-family:'questa_sansregular',"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    color: #000;
    text-decoration: none;
}

.menu-contain {
    font-family:'questa_sansregular',"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    font-size: 2em;
}

.menu-contain ul {
    list-style: none;
}

.menu-contain a { color: #000; text-decoration: none; }

.menu-contain a:hover { color: #999; text-decoration: none; }

.container {
    margin-bottom: 100px;
}

body#index a#index-nav,
body#hanoi a#hanoi-nav,
body#angkorwat a#angkorwat-nav,
body#diana1 a#diana1-nav,
body#diana2 a#diana2-nav,
body#diptychs a#diptychs-nav,
body#frescoes a#frescoes-nav,
body#idaho a#idaho-nav,
body#la-alleyways a#la-alleyways-nav,
body#la-marina1 a#la-marina1-nav,
body#la-marina2 a#la-marina2-nav,
body#la-playa-del-rey a#la-pdl-nav,
body#nyc1 a#nyc1-nav,
body#nyc2 a#nyc2-nav,
body#nw-ind a#nw-ind-nav,
body#portraits a#portraits-nav,
body#res-parks a#res-parks-nav,
body#sf-presidio-day a#sf-presidio-day-nav,
body#sf-presidio-night a#sf-presidio-night-nav,
body#sf-presidio-grid a#sf-presidio-grid-nav,
body#wyoming a#wyoming-nav,
body#video a#video-nav,
body#cv a#cv-nav {
	color: #999;
}

.navbar-default .navbar-brand,
.navbar-default .navbar-toggle .icon-bar
{ color: #fff; }

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #000;
}

.navbar-default .navbar-nav {
    font-family:'questa_sansregular',"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a { 
    color: #fff;
    font-family:'questa_sansregular',"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    font-size: 1.5em;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover { color: #fff; }

.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:visited,
.navbar-default .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #000;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:visited,
.navbar-default .navbar-nav > li > a:focus { 
    color: #fff; 
}

nav.navbar.navbar-default.navbar-fixed-top div.navbar-collapse.collapse.in ul.nav.navbar-nav li.dropdown.open ul.dropdown-menu li.dropdown-sub {
    color: #fff;
    font-family:'questa_sansregular',"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    font-size: 1.em;
    margin-left: 2em;
}

nav.navbar.navbar-default.navbar-fixed-top div.navbar-collapse.collapse.in ul.nav.navbar-nav li.dropdown.open ul.dropdown-menu li.dropdown-sub ul li a {
    color: #fff;
    font-family:'questa_sansregular',"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    font-size: 1em;
}

.project-title-mobile p {
    font-family:'questa_sansregular',"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    text-transform: uppercase;
    font-size: 2em;
    margin: 0;
    padding: 0;
}

.navbar-collapse {
    max-height: none;
    height: 100vh !important;
    padding-bottom: 5em;
}

/* GALLERY STYLES */

.controls {
    font-family:'questa_sansregular',"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
    font-size: 2em;
}

.controls a { color: #000; text-decoration: none; }
.controls a:hover { color: #999; text-decoration: none; }

/* Flexible iFrame */

.Flexible-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.Flexible-container iframe,
.Flexible-container object,
.Flexible-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 767px) {
    
#main-menu, #masthead { display: none; }
    
.gallery { margin: 50px 0; padding: 0; }

.navbar-default {
    background-color: #000;
    border: none;
}

.navbar-toggle {
    border: none;
    padding: 10px;
}


}

@media only screen and (min-width: 768px) {
 
.navbar { display: none; }

.project-title-mobile { display: none; }

}