#content img {
	max-width: 100%;
	height: auto;
}


@media screen and (min-width: 680px) {	
	ul#global-nav {
		display: block;
	}	
}
	
@media screen and (max-width: 920px) {

	.mobileonly {
		display: block;
	}
	body {
		position: relative;
	}
	
	body#birdlist #content table.birdlisttable {
		width: 100%;
		overflow: scroll-x;
	}
	body#birdlist #content table.birdlisttable tr td.sci {
		display: none;
	}
	/* layout
	-----------------------------------------------
	*/
	.menu_but_wrap {
		text-align: center;
		border-bottom: 1px solid #CCC;
		margin-bottom: 10px;
	}
	.menu_but {
		height: auto;
		line-height: 40px;
		border: 0;
		display: inline;
		border: 1px solid #DEDEDE;
		margin: 3px auto;
		background-color: #EFEFEF;
		float: none;
		padding: 8px 12px;
		white-space: nowrap;
		font-weight: bold;
		font-size: 1.5em;
		width: 50%;
	}
	#wrapper {
		width: 96%;
	}
	
	#wrapper-shadow {
		width: 98%;
	}
		
	#page {
		width: 98%;
		-webkit-box-shadow: 0px 2px 14px rgba(50, 50, 50, 1);
		-moz-box-shadow:    0px 2px 14px rgba(50, 50, 50, 1);
		box-shadow:         0px 2px 14px rgba(50, 50, 50, 1);
		background-image: none;
	}
	
	#page_gray {
		width: 98%;
	}

	#header {
		width: 100%;
		height: auto;
	}
	#header img {	
		width: 100%;
		height: auto;
		max-height: 150px;
	}
	#footer {
		width: 98%;
	}

	#header_nav {
		height: auto;
		margin-bottom: 0;
		text-align: center;
	}
	ul#global-nav {
		display: none;
	}
	
	#header_nav ul#global-nav, ul#global-nav {
		height: auto;
		text-overflow: auto;
		padding-bottom: 30px;
		background: #FFF url(../img/nav_shadow.png) bottom center no-repeat;
		background-size: 100%;
		text-align: center;
	}
	#header_nav ul#global-nav li, ul#global-nav li {
		height: auto;
		line-height: 40px;
		border: 0;
		display: block;
		border: 1px solid #DEDEDE;
		margin: 3px;
		background-color: #EFEFEF;
		float: none;
		padding: 6px 12px;
		white-space: nowrap;
	}
	
	#header_nav ul#global-nav li a, ul#global-nav li a {
		display: block;
		font-size: 1.1em;

	}
	#header_nav ul#global-nav li.rightside, ul#global-nav li.rightside {
		border-right: 1px solid #DEDEDE;
	}
	.col-one {
		width: 30%;
	}
	
	.col-two {
		width: 30%;
	}
	
	.col-two img {
		height: auto;
		width: 100%;
		max-width: 300px;
	}
	
	.col-three {
		width: 30%;
	}
	
	#upcoming-tours p {
		margin-bottom: 1em;
	}
	
	img.socialbut {
		max-width: 47px;
	}
	#footer_wrapper {
		padding: 0;
		text-align: center;
		width: 98%;
		font-size: 1.2em;
	}
	#footer_wrapper ul {
		
	}
	#footer_wrapper ul li {
		width: 100%;
		margin: 1em 0px;
		float: none;
		text-align: center;
	}
	
	#price-info-block {
		width: 45%;
	}
		
	#tour-title {
		width: 96%;

	}
	#tour-title .split {
		width: 45%;
	}
	
	
	/* tour navigation
	---------------------------
	*/
	#tour-nav {
		text-align: center;
		clear: both;
		margin: 8px 16px 10px 16px;
		background-color: #E6E6E6;
	}
	#tour-nav ul {
		margin: 0 0 0 0;
		text-align: center;
		padding: 8px;
		list-style: none;
	}
	#tour-nav ul li  {
		background-color: #FFF;
		text-align: center;
		margin: .5em .5em .5em .5em;
		display: inline;
		border: 1px solid #E6E6E6;
		float: none;
		padding: 8px 10px;
		
	}
	#tour-nav ul li a {
		float: none;
		padding: 0;
		color: #999;
		display: inline;
		white-space: nowrap;
		line-height: 40px;
	}
	
	#tour-nav ul li a {
		display: inline;	
	}	
	
	#tour-nav ul li.current {
		text-decoration: none;
		background-color: #FFF;
		border: 1px solid #b7b7b7;
		border-top: 0;
		color: #222;
		font-weight: bold;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	#tour-nav ul li a {
		text-decoration: none;
		color: #222;
		font-weight: bold;
	}
	
	#tour-nav ul li.current a {
		color: #8d4630;
		font-weight: bold;
		text-decoration: underline;
	}
	
	ul#tours-misc {
		float: left;
	}

	form .instruct {
		position: relative;
		width: 100%;
		margin: 8px 0;
	}

	#gallery-images .left {
		margin: 0;
		float: none;
		width: 100%;		
	}
	
	#gallery-images .right {
		margin: 0;
		float: none;
		width: 100%;		
	}

	#gallery-images img {
		width: 100%;
	}
}

@media screen and (max-width: 680px) {

	
	#price-info {
		clear: both;
		float: none;
	}
	#price-info-block {
		display: block;
		width: 100%;
		border-right: 0;
		float: none;
	}
	
	#price-info h2 {
		padding: 0;
	}
	
	#price-info h3 {
		float: none;
		margin-top: 1em;
	}
	
	#tour-title {
		width: 96%;

	}
	#tour-title .split {
		width: 96%;
	}
	
	#header_nav ul#global-nav li, ul#global-nav li {
		height: auto;
		margin: 0px;
		padding: 8px 4px;
		line-height: 35px;
	}
	#header_nav ul#global-nav, ul#global-nav {
		padding-bottom: 20px;
	}
	
	.hide-from-tiny {
		display: none;
	}
	#home-top-half h1 {
		text-align: center;
		font-size: 2.8em;
	}
	#home-top-half h2 {
		text-align: center;
		font-size: 1.9em;
	}
	.col-one {
		float: none;
		width: 100%;
	}
	.col-one .whiteblock img {
		float: right;
	}
	.col-two {
		float: none;
		width: 100%;
		margin-left: 0;
	}
	.col-two img {
		float: none;
	}

	.col-three {
		float: none;
		width: 100%;
	}
	
	#feature p {
		display: block;
	}
	

	.toursearch {
		display: none;
	}
	
	
	ul#tours-region {
		float: none;
		width: 100%;
	}
	ul#tours-misc {
		margin-top: 0;
		float: none;
		width: 100%;
	}

	#leader-bio img {
		float: none;
		width: 100%;
		max-width: 300px;
	}

}


@media screen and (max-width: 400px) {
	#page {
		width: 98% !important;
	}
	#wrapper-shadow {
		width: 100%;
	}
	#wrapper {
		width: 100%;
	}

}

/* TOUR PAGE SUBNAVIGATION */

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

        #tour-nav ul li.icon {
            display: none !important;
        }
    }

    /* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
    @media screen and (max-width: 768px) {
	    
	    #tour-nav ul {
		    position: relative;
	    }
	    
        #tour-nav ul li {
            display: none;
            margin: 0;
            line-height: 2em;
        }

        #tour-nav ul li.icon {
            display: block;
            margin-right: 10px;
			position: absolute;
            right: 0;
            top: 8px;
            width: 28px;
            border: 0;
        }

        #tour-nav ul li.current {
            display: block !important;
            text-align: left;
            max-width: 70%;
            float: left;
            width: 70%;
        }

        #tour-nav ul li.icon, #tour-nav.responsive li.icon {
            display: inline-block !important;
            text-align: left;
            
            text-align: center;
        }

        #tour-nav.responsive {
            position: relative;
        }

        #tour-nav.responsive li {
            float: none;
            display: block !important;
            text-align: left;
            width: 70%;
        }
        #tour-nav.responsive li.current {
            float: none;
            max-width: 100%;
        }

    }
