html,body
{
    margin: 0;
    padding: 0;
    
}

html
{
/*
-webkit-font-smoothing: antialiased;
*/
	
}


body
{
    font: 16px/1.2 'lucida grande',arial,sans-serif;/*  'Helvetica Neue', */
/*    -webkit-font-smoothing:antialiased; */
    
    text-align: center;
    color: #111;
    background-color: #fff;
    margin: 0;
    padding: 0;
}


/* kills webkit elasticity */
/* when this is on _here_, the header on the apps page is ruined */
/*
html {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  height: 100%;
  width: 100%;
  overflow: auto;
}

*/


#header
{
	position: fixed;

	margin: 0;
	padding: 0;

	top: 0px;
	left: 0px;
	width: 100%;
	height: 79px; /* 76 + 3px border = 79 */

	border-bottom: 3px solid #d9d9d9;
	z-index: 1000;
	text-align:center;
	background-image: -moz-linear-gradient(top, #ededed, #f5f5f5);
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #ededed), color-stop(1.0, #f5f5f5));

	-webkit-box-shadow: 0px 1px 7px rgba(106,90,205,1.0);
	-moz-box-shadow: 0px 1px 7px rgba(106,90,205,1.0);
	box-shadow: 0px 1px 7px rgba(106,90,205,1.0);
	
}
@media only screen and (max-device-width: 480px) {
	#header {
	display:none;
	height: 40px; /* 76 + 3px border = 79 */
	}
}





#banner
{
    width: 980px;
    margin: 0 auto;
    padding: 0;
    height: 79px; /* 76 + 3px border = 79 */
    
}
@media only screen and (max-device-width: 480px) {
	#banner {
	 width: 100%;
	 height:40px;
	}
}




#titleblock
{
  /*   position: absolute; */
    position: relative;
    height: 51px;
    left: -16px;
    top: 8px;
    margin: 0;
    padding: 0;
    z-index: 100;
    
    background: url(https://dougscripts.com/itunes/pix/banner_131008.png) no-repeat bottom left;
   /*  banner_131008.png has drop shadow fx */
}

#titleblock a,
#titleblock a:link,
#titleblock a:active,
#titleblock a:visited
{
    display: block;
    background-color: transparent;
    height: 40px;
    width: 560px;
    text-indent: -9999px;
    text-decoration: none;
    -webkit-transition: none;
    -moz-transition: none;
}
#titleblock a:hover
{
    background-color: transparent;
    border-top: none;
    border-bottom: none;
    text-decoration: none;
}
@media only screen and (max-device-width: 480px) {
	#titleblock {
	display:none;
	}
}





#container
{
    position: relative;
    top: 80px; 
    background-color: transparent;
    
    width: 980px;
    
 /* width could be better responsive with iPad */
    margin: 0 auto;
    padding: 0;
    z-index: 0;
    text-align: left;
}

@media only screen and (max-device-width: 480px) {
	#container {
	 width: 100%;
    	top: 0; /* this should be temp until miniheader can be made  */
	}
}






#appbanner
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 254px; /* 156px; */
    background-color: #ededed;
    border-bottom: 3px solid #d9d9d9;
    z-index: 0;
    background-image: -moz-linear-gradient(top, #ededed, #f5f5f5);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #eaeaea), color-stop(1.0, #f5f5f5));
    
    -webkit-box-shadow: 0px 2px 5px rgba(106,90,205,1.0);
    -moz-box-shadow: 0px 2px 5px rgba(106,90,205,1.0);
    box-shadow: 0px 2px 5px rgba(106,90,205,1.0);
}

#appheader
{
    height: 257px; /* 159px; */
    margin: 0 0 10px 0;
    padding: 0;
    background-color: transparent;
    z-index: 10;
}







#appcontainer
/* same as old container */
{
    position: relative;
    top: 0px; 
    background-color: transparent;
    
    width: 980px;
    
 /* width could be better responsive with iPad */
    margin: 0 auto;
    padding: 0;
    z-index: 0;
    text-align: left;
}




#content
{
    position: relative;
    margin: 16px 0 0 0;
    padding: 0;
    width: 700px; /* 698px; */
    
       z-index: 0;
 
}

#wrapper2
{
    width: 958px;
 /* -2 for border */
}

#wrapper2 #content
{
    padding: 0 0 0 0;
    width: 100%;
 /* -2 for border */
}

#right
{
    margin: 1em 0 0 0;
    padding: 0;
    float: right;
    width: 260px;
    background-color: transparent;
}

#wrapper2 #right
{
    margin: 1em 0 0 0;
    padding: 0;
    float: right;
    background-color: #f00;
    width: 20px;
    visibility: hidden; /*was disply*/
}
@media only screen and (max-device-width: 480px) {
	#right {
	/* display:none; */
	}
}

#extra, #extrass, #appextra
{
    float: left;
    text-align: center;
    width: 679px;
}

#wrapper2  #extra, #extrass, #appextra
{
    float: left;
    text-align: center;
    width: 97%;
}
@media only screen and (max-device-width: 480px) {
	#extra {
	width:100%;
	text-align:left;
	margin-left:-20px;
	}
}

#extrass
{
/*padding-bottom:60px;*/
}

#appextra
{
    padding-bottom: 40px;
}

/* return to applscripts section in apps pages */
#appreturn
{
    margin: 0;
    padding: 0;
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 28px;
    background-color: red;
    background-color: #ededed;
    border-top: 3px solid #d9d9d9;
    background-image: -moz-linear-gradient(bottom, #f5f5f5, #ededed);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.0, #f5f5f5), color-stop(1.0, #ededed));
    -webkit-box-shadow: 0px -2px 5px rgba(106,90,205,1.0);
    -moz-box-shadow: 0px -2px 5px rgba(106,90,205,1.0);
    box-shadow: 0px -2px 5px rgba(106,90,205,1.0);
    opacity: 1.0;
    z-index: 1000;
}

#appreturn p
{
    margin: 0;
    color: #E21C20;
    padding: 0.3em 0 0 0;
    text-shadow: 0 1px white;
    font-weight: bold;
    line-height: 1;
    text-align:center;
}


/* apps at bottom */
#appsblurb
{
    margin: 0;
    padding: 0;
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 60px;
    background-color: red;
    background-color: #ededed;
    border-top: 3px solid #d9d9d9;
    background-image: -moz-linear-gradient(bottom, #f5f5f5, #ededed);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.0, #f5f5f5), color-stop(1.0, #ededed));
    -webkit-box-shadow: 0px -2px 5px rgba(106,90,205,1.0);
    -moz-box-shadow: 0px -2px 5px rgba(106,90,205,1.0);
    box-shadow: 0px -2px 5px rgba(106,90,205,1.0);
    opacity: 1.0;
    z-index: 1000;
    text-align: left;
}

.appsblurbcontainer
{
/*
	overflow-x:hidden;
	overflow-y:hidden;
	margin:auto auto;
	color:#E21C20;
	padding:0.3em 0 0 0;
	text-shadow:0 1px white;
	font-weight:bold;
	line-height:1;
	width:960px;
	height:60px;
*/
}
@media only screen and (max-device-width: 480px) {
	#appsblurb {
	display:none;
	}

}

#footer
{
    clear: both;
    width: 100%;
}


.socplace {
	visibility:hidden;  
	position:absolute;
	top:10px;
background:transparent;
z-index:1001;
}
.socmenu {
	position:absolute;
	top:10px;


	margin: 0 ;
	 margin-left:746px;
	padding: 0;
	list-style: none;
	 background: transparent; 
	opacity:0.25;
    	 -webkit-transition:opacity .3s linear 2s; z-index:1002
}
@media only screen and (max-device-width: 480px) {
	.socmenu {
	display:none;
	}

}

.socmenu:hover {
	opacity:1.0;
    	 -webkit-transition:opacity .2s linear .1s; 
	text-decoration: none;
	border-bottom:none;
}
.socmenu li {
	padding: 0;
	margin: 0;
	margin-right: 1em;
	height:26px;
	list-style: none;
/* 	background-repeat: no-repeat; */
}

.socmenu li a {
}

.socmenu li a:link, 
.socmenu li a:visited {
	display: block;
	text-decoration: none;
	text-indent: -9999px;
	height: 26px;
	border-bottom:none;
}

.socmenu li a:hover,
.socmenu li a:active {
	text-decoration: none;
	border-bottom:none;
}

.socfil {
	width:2px;
}



.twit {background-image: url(https://dougscripts.com/itunes/pix/soc/twit.png); width: 26px; background-repeat:no-repeat;}
.twit a  {background-image: url(https://dougscripts.com/itunes/pix/soc/twith.png);opacity:0.3;} 

.face {background-image: url(https://dougscripts.com/itunes/pix/soc/face.png); width: 26px; background-repeat:no-repeat;}
 .face a  {background-image: url(https://dougscripts.com/itunes/pix/soc/faceh.png);opacity:0.3;} 

.tube {background-image: url(https://dougscripts.com/itunes/pix/soc/tube.png); width: 26px; background-repeat:no-repeat;}
 .tube a  {background-image: url(https://dougscripts.com/itunes/pix/soc/tubeh.png);opacity:0.3;} 

.rss1 {background-image: url(https://dougscripts.com/itunes/pix/soc/rss1.png); width: 26px; background-repeat:no-repeat;}
 .rss1 a {background-image: url(https://dougscripts.com/itunes/pix/soc/rss1h.png);opacity:0.3;} 

.rss2 {background-image: url(https://dougscripts.com/itunes/pix/soc/rss2.png); width: 26px; background-repeat:no-repeat;}
 .rss2 a  {background-image: url(https://dougscripts.com/itunes/pix/soc/rss2h.png);opacity:0.3;} 


/*  ul.socmenu li a:hover {background: none;} */
.socmenu li {float: left;}
.socmenu:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}


/* this class should not display in desktop/tablet browsers   */
.only_mobile {
	display:none;
}