html {
overflow-y:scroll;
}

body {
  font-family: Verdana, Geneva, Arial, sans-serif;
  background: #EBEBEB; 
  font-size: small;
  margin: 0;
  padding: 0;
  padding-top: 0px;
  -webkit-text-size-adjust: 100%;
}


#footer { vertical-align:bottom; clear:both; }

#footerright {
  float:right;text-align:right; width: auto; margin-right: 8px;
}

#footer #socialbuttons, #footer #rssbuttons { margin-bottom: 5px; }

/* Elements */

.portfolio {
  background: none; 
  padding: 3px; 
  margin-bottom: 4px;
}


#promotion { 
  background: none; 
  padding: 15px; 
  color: inherit; 
  text-align:center;
}

/* Home */ 

/*
table#home {
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
}

table#home td {
  vertical-align: top;
}

td#homeleft { width: 50%; }

#homeright {
  margin: 0;
  margin-left: 15px;
  padding: 0;
}
*/

#homeleft, #homeright { width: 50%; float: left; margin: 0; box-sizing: border-box; min-height: 1px; }
#homeleft img, #homeright img { max-width: 100%; }

/* Forms */

input {
  padding: 1px;
  margin: 2px;
}

select {
  padding: 1px;
  margin: 2px;
}

/* Tables */

table.styled h2 { color: #000000; }

table.styled {
  margin-top: 15px;
  padding: 0;
  border-width: 0;
  background: none;
}

table.styled  td {
  margin: 0;
  padding: 5px;
}

table.styled th {
  text-align: right;
  vertical-align: top;
  padding: 7px 5px 5px 5px;
  font-weight: bold;
  color: #000000;
  letter-spacing: 0.1em;
}

legend {
  color: #000000;
}

/* Images */

#content a img { border:none; }

#content a img.imgthumb, .imgthumb {
	padding: 0px;
	margin: 5px;
	border: 1px solid #6B6B6B;
	background-color: transparent;
	
	
}

.imglarge {
	padding: 0px;
	margin: 10px;
	border: 1px solid #6B6B6B;
	background-color: #969696;
	
}

.imglarge img, .imglarge {

}

.imgbg {
	background-position: center top;
	background-repeat: no-repeat;
}

body#bapage #content img[align=left] { margin: 0 15px 15px 0; }
body#bapage #content img[align=right] { margin: 0  0 15px 15px; }

/* Text */

body, #content, td { 	color: #525252; }

#content, #footer { line-height: 1.5; }

h1 {
	margin: 0;
	padding: 0;
	font-size: 130%;
	color: #595759;
	
	}

h2 {
	margin: 0;
	padding: 0;
	font-size: 120%;
	color: #666666;
	
	}

.txtcontent {
	padding: 5px 0 5px 0;
	}

body#bahome div.txtcontent { clear:both; }
	
.title {
  font-weight: bold;
}

.sml,.litesmltxt {
  font-size: 80%;
}
	
.imglargeinfo {
  text-align: left;
  color: #000000;
  margin: 10px;
}

#headertext {
  padding: 5px;
  color: #696969;
  text-align: left;
}

a.portfoliogroup, h2.portfoliogroup {
  font-size: 120%; 
  text-decoration:underline;
  display:block;
}

.portfolio h2 {
  text-decoration: underline;
}

/* Links */

a {
	color: #555756;
	text-decoration: none;
	font-weight: bold;
	}

a:hover {
  color: #444645;
	text-decoration: underline;
	}

#footer a {
	color: #585857;
	}

#footer a:hover {
	color: #424241;
	}

.pages {
  margin: 2px; 
  padding: 4px; 
  border: 1px solid #999999; 
  color: #525252; 
  background: #cccccc; 
  font-weight: bold;
}

a.pages {
  text-decoration: underline;
  color: #424242;
}

a:hover.pages {
  color: #313131;
}

.showhide { cursor: pointer; }

a.rss { padding-left: 15px; background: url(../imgs/rss.png) no-repeat left; }

/* Search  */

div#searchresults ul { list-style: none; }
div#searchresults li { float: left; }

.searchtext {
  width: 80px;
  border: 1px solid #383838;
  margin:0;
  padding:1px;
  border: 1px solid gray;
  color: gray; 
  font-size: 90%;
  vertical-align:middle;
}

.searchsubmit { 
  padding:0;
  margin:0;
  vertical-align:middle;
  margin-top:1px;
}

/* Notices */

div.notice, .notice {
  background: #FCDBDB url(../imgs/notice.gif) no-repeat;
  padding: 5px 5px 5px 30px;
  border: 1px solid red;
  border-left: 3px solid red;
  margin: 10px;
  color: #000;
}

div.notice a, div.notice a:hover, .notice a, .notice a:hover {
  color: red;
}

.info {
  background: #DDFCD5 url(../imgs/info.gif) no-repeat;
  padding: 5px 5px 5px 30px;
  border: 1px solid #2DC818;
  border-left: 3px solid #2DC818;
  margin: 10px;
  color: #000;
}

.info a, .info a:hover {
  color: #2DC818;
}

/* All tables */

table {
  width: 100%;
}

td {
  padding: 0px;
  vertical-align: top;
}

/* Misc */

.lighttran { padding: 10px; background: rgba(255,255,255,0.3); margin: 10px  0 10px 0; }

.darktran { padding: 10px; background: rgba(0,0,0,0.3); margin: 10px  0 10px 0; }

.round { 
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}

.center {
  text-align: center;
}

.clear { 
  clear: both;
}

.pad {
  padding: 15px;
}
.vpad { 
 padding: 10px 0 10px 0;
}
#headertext { font-size: 200%; padding: 10px;  }
 
.newsrbar {
float:right;
width: 200px;
line-height: 2em;
}

ul.newscategories {
list-style: none;
margin-left: 0;
padding-left: 1em;
}

.autohelp { 
margin-top: 150px;
clear: both;
}

#loader { text-align: center; font-size: x-small; }

@media (min-width: 768px) {
  [class*='col-'] {
    float: left; box-sizing: border-box; }

  .grid-pad > [class*='col-'] {
    padding: 40px 20px 40px 0; }

  .grid-pad > [class*='col-']:first-of-type {
    padding-left: 20px; }

  [class*='col-']:first-of-type {
    padding-left: 0; }

  .col-2-3 {
    width: 66.66%; }

  .col-1-2 {
    width: 50%; }

  .col-1-3 {
    width: 33.33%; }

  .col-1-4 {
    width: 25%; }

 .col-2-4 {
    width: 50%; }

  .col-1-8 {
    width: 12.5%; }

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

}

    body { margin: 0; padding: 0; }
    #content {
    color: #525252;
    padding: 10px; 
    min-height: 400px; 
    background: #FFFFFF;
    border-bottom: 4px solid #969696;
    width: 940px;
    margin: auto;
    }
    #container {  padding: 0; margin: 0;  }

    ul#nav {
    background: #bcbcbc;
    border-bottom: 4px solid #969696;
    position: absolute;
    top: 0px;
    width: 100%;
    right: 0;
    padding: 10px;
    margin: 0;
    display: inline;
    list-style: none;
    font-size: 90%;
    text-align: center;
    line-height: 30px;
    
    }

    ul#nav li { 
    display: inline;
    padding: 0;
    margin: 0;
    list-style: none;
    }

    ul#nav a:link, ul#nav a:visited { 
    padding: 10px;
    margin: 0 4px 0 4px;
    text-decoration: none; 
    color: #696969;
    }

    ul#nav a:hover, ul#nav a:active { 
    }

    ul#nav a.selected { 
    text-decoration: underline;
    }

  #navinner { margin-left: auto; margin-right:auto; }

  #navwrapper { 
    background: #bcbcbc;
    border-bottom: 4px solid #969696;
    position: absolute;
    top: 0px;
    width: 100%;
    padding: 7px;
    right: 0;
    }

    ul.sf-menu { 
    font-size: 90%;     
     
    }

    ul.sf-menu li a:link, ul.sf-menu li a:visited { 
    text-decoration: none; 
    color: #696969;
    }  
    
    ul.sf-menu li li a:link, ul.sf-menu li li a:visited { 
    border: none;
    background: #c8c8c8;
    }           

    ul.sf-menu li li a:hover, ul.sf-menu li li a:active { 
    background: #c8c8c8;
    }     
    
    .sf-menu li:hover, .sf-menu li.sfHover, .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
    background: #c8c8c8;
    outline:    0;
    } 

#footer {
	padding: 10px;
	font-size: 80%;
	background: none;
	color: #6E6E6D;
	width: 940px;
	margin: auto;
	}

#header {
	padding: 10px;
  background: none;
  color: #696969;
  width: 960px;
  margin: auto;
  margin-top: 50px;
  }      

@media (max-width: 1000px) {
#container { width: auto; max-width: 960px; }

#container { width: 100%; }
#header { background-size: contain !important; }
body#baphoto .imglarge { max-width: 95% !important; box-sizing: border-box; }
body#baphoto  img.largeimg { max-width: 100%; height: auto !important; }
body#baphoto .infocontainer { max-width: 100%; box-sizing:border-box; }
.purchaseform select { max-width: 45vw; }
#content img { max-width: 100%; box-sizing:border-box; }
#my_slideshow { display: block !important; overflow:hidden; max-width: 100% !important;  }

}

@media (max-width: 768px) { 
#content,#footer,#header { width:auto; }

body { font-size: .8em; padding-top: 0; }  
#header, #content { margin: 0 !important; width: 100% !important; box-sizing:border-box;  }
#headertext { padding: 5px; font-size: 100%; }
#content { padding: 5px; }
#container { border: none; }
.respnavinner { width:100% !important; }
#navwrapper { position: relative; box-sizing:border-box;  }
#navinner, #navwrapper { width: 100% !important; margin: 0 !important;  }
div#homeleft, div#homeright { float: none !important; width: 100% !important; }
body#baabout #content img { float: none !important; margin:auto !important; display:block; } 
body#baportfolio .imgthumb { max-width: 80%; }
.cartpreview { width: 100% !important; }
table.styled { font-size: 0.8em; }
table.styled textarea { 
width: 100% !important;
}
table.styled td { max-width: 200px; }
table.styled input, textarea { max-width: 100% !important; }
.galleria-container { max-height: 480px !important; }
#footer { width: auto; float:none; margin:0; }
ul#nav { width: auto; }
ul#nav, ul#nav2 { position: relative !important; padding: 0 !important; }
ul#nav *, ul#nav2 *, ul.sf-menu { border: none !important; margin:0 !important; box-sizing: border-box; }
ul#nav2 > li { width: 50% !important; text-align: center;  }
ul#nav li { width: 50% !important; text-align: center; display: inline-block; box-sizing:border-box; margin: 0; border: none; }
ul#nav li a { width: 100%; display: inline-block; line-height: 3em; background: none !important; }
body#baadmin ul#nav li, body#baadmin ul#nav2 li { float: left; }
body#baadmin #contentwrap { clear: both; }
body#bapage #content .pad > img { max-height: 300px; }
.gcell img { max-width: 80% !important; }
.socialnews,.socialphotos,.socialpages,.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] { overflow:hidden !important; max-width: 100% !important; }
#content td img.imgthumb { display:block; float:none; max-width: 80%; box-sizing: border-box; }
.options { margin-left: 0 !important; }
#promotion { max-width: 100%; margin: 0; box-sizing:border-box; }

}