/* JFA Designs: browser scrollbars + phone layout. Desktop look is unchanged. */
.scroll-pane{overflow:auto !important;}
@media (max-width:1000px){
 body{font-size:13px;}
 #main{width:auto !important;padding:0 12px;box-sizing:border-box;}
 #logo,#nav{float:none !important;width:auto !important;text-align:center !important;}
 #logo img{max-width:100%;height:auto;}
 #nav #proper{padding-top:8px;}
 #nav a{margin:0 5px !important;display:inline-block;padding:4px 0;}
 #nav #sub{padding-right:0 !important;padding-top:4px;}
 #mainpic,#flashbox,#aboutbox,#gallery,#pressthumbs{width:auto !important;max-width:100%;box-sizing:border-box;}
 #mainpic{height:auto !important;aspect-ratio:950/400;}
 #mainpic #homepic{height:100% !important;}
 #mainpic #homepic span img{width:100%;height:auto;}
 #homepic > div{width:100% !important;height:auto !important;aspect-ratio:950/400;background-size:contain !important;background-position:center !important;}
 #homepic > div table{display:none;}
 #galleryflash{display:flex;flex-wrap:wrap;justify-content:center;}
 #galleryflash a{flex:1 1 33%;}
 #galleryflash img{width:100%;height:auto;}
 img{max-width:100%;height:auto;}
 .jcarousel-container,.jcarousel-clip{width:auto !important;}
 .jcarousel-clip{overflow-x:auto !important;-webkit-overflow-scrolling:touch;}
 .jcarousel-list{left:0 !important;width:max-content !important;}
 .jcarousel-prev,.jcarousel-next{display:none !important;}
 #pressleft,#pressright,#aboutbox #bodyleft,#aboutbox #bodyright,#aboutbox #photoright{float:none !important;width:auto !important;text-align:left;}
 #pressleft img{width:100%;}
 #pressright,#aboutbox .scroll-pane{height:auto !important;max-height:none !important;overflow:visible !important;}
 #sform input[type=text],#sform textarea{width:100%;box-sizing:border-box;}
 #sform div[style*=padding-left]{padding-left:0 !important;text-align:center;}
 #inner_footer > div{float:none !important;width:auto !important;text-align:center !important;}
 #inner_footer > div > div{padding-top:20px !important;}
}
