
/* css used in new layout main galleries EG Mammals, Birds, etc... with banners */

.subhdg span{ white-space: nowrap;}

.sml {display: none ; height: 145px; width: 362px}


#box {
    max-width: 2000px; 
    width: 95%;
    background:rgba(000,000,000,0.4);
    margin-top: 20px;
    box-shadow:0px 0px 2px #000 inset;
    -moz-box-shadow:2px 2px 14px #000;
    -webkit-box-shadow:2px 2px 14px #000;
    box-shadow:2px 2px 14px #000 ;margin: 0 auto;
  }

.h2sub {font-family: "Times New Roman", "Trebuchet MS", sans-serif; 
	font-size:18px; color:rgb(144, 142, 158);
	font-weight: 200; 
  font-style: italic;
	text-shadow:1px 1px 1px #000; 
	margin-top: -4px; 
    margin-bottom: 6px;}
    

.banner {margin: 0 auto;  max-width: 2000px; width: auto;
    -webkit-box-shadow: 0px 5px 6px 0px rgba(50,50,50, 0.9);
  -moz-box-shadow:    0px 5px 6px 0px rgba(50,50,50, 0.9);
  box-shadow:         0px 5px 6px 0px rgba(0,0,0, 0.4);
  border-bottom: 20px solid #372e40;}
  

.top, .hdrimg, .subhdg { width: 100%; display: block; text-align: center;}
.line {max-width: 99%; text-align: center; margin:0  auto;  margin-top: 7px; display: block}



/* #thumbs  {    opacity: 0;
  transition: all 2s ease; 
  -webkit-transition: all 2s ease; 
  -moz-transition: all 2s ease; 
  -ms-transition: all 2s ease; 
  -o-transition: all 2s ease; } */

/* for Thumbnail Links */

#thumbs2 {margin: 0 auto;  height: auto; margin-top: 50px; }

#thumbs2 a{
	width:240px;
	height:160px;
	display:inline-block;
	box-shadow:0 1px 3px rgba(0,0,0,0.5);
	border-radius:4px;
	margin: 6px 6px 35px;
	position:relative;
	text-decoration:none;
	
	background-position:center center;
	background-repeat: no-repeat;
	
	background-size:240px auto;
	-moz-background-size:240px auto;
	-webkit-background-size:240px auto;

	border: solid 1px #a285b8;
}


#thumbs2 a:after{

    bottom: -164px;

    color: #FFFFFF;
    content: attr(title);
    display: inline-block;
   font-family: "Myriad Pro", "Trebuchet MS", sans-serif;
   text-transform:uppercase;
   text-shadow:1px 1px 2px #fff;
   font-size:16px;

    max-width: 238px;
    overflow: hidden;
    padding: 2px 8px;
    position: relative;
    text-align: center;
    white-space: nowrap;

}


#thumbs2 a:hover {
     -webkit-box-shadow: 8px 8px 12px rgba(255,255,255,.3);
     -moz-box-shadow: 8px 8px 12px rgba(255,255,255,.3);
     box-shadow: 6px 6px 12px rgba(255,255,255,.3);
     -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=11, Direction=135, Color='#000000')";

     /* For IE 5.5 - 7 */
     filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=135, Color='#ffffff'); 

}



#thumbs2 a div {
    position: absolute;
    left: 16px;  /* extra 6 for offset fix */
    top: 16px;
    right: 16px;
    bottom: 16px;  /* extra 6 for offset fix */
    background: rgb(35,26,43); /* for ie 8 and below */
    background: rgba(35,26,43,0.70);
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    text-align: center;
    opacity: 0;
		border-radius:4px;
		border: 1px solid #393939;
		

text-decoration: none;
-o-transition: all 0.4s linear;
-moz-transition: all 0.4s linear;
-khtml-transition: all 0.4s linear;
-webkit-transition: all 0.4s linear;
-ms-transition: all 0.4s linear;
transition: all 0.4s linear;
}
 



 /* ipad 10.2" (landscape) makes Slighly bigger images ----------- */

 @media screen and (min-device-width: 810px) 
    and (max-device-width: 1080px) 
    and (orientation: landscape) 
        {
         
           #gallerySlider .placeholder img{
             display: inline-block;
             max-height: 85%;
             max-width: 75%;
             vertical-align: middle;
            }
           
        }

@media screen and (max-width: 1024px) {
    #box {width: 100%; }
    }
    
@media screen and (max-width: 768px) {
    #box {width: 98%}
    }

@media screen and (max-width: 480px) {
  h1.top {font-size: 32px; margin-top: 10px;}
  .lrg {display: none}
  .sml {display:inline-block}
  #thumbs h3 span {line-height: 1.3em;} 
         
  #thumbs a {	
    width: 45% !important;
    height: 160px !important;
    margin: 6px 6px 35px;
  }
           
  #thumbs a:after{
    bottom: -170px !important; 
       }
  }

  /* landscape thumbs */
#thumbs	a.land {width: 200px; height: 140px;}
#thumbs a.land:after { bottom: -150px}

@media screen and (max-width: 360px) {
  
  .banner {
  border-bottom: 15px solid #372e40;}

	#thumbs	a.land {width: 45%; height: 140px !important}
  #thumbs a.land:after { bottom: -150px !important} 
  
}	