#mask {
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:#000;
  display:none;
}  
#boxes .window {
  position:fixed;
  left:0;
  /*top:100px;*/
  width:100%;
  height:100%;
  display:none;
  z-index:9999;
  padding:0px;
}
#boxes #dialog {
  padding:0px; 
	  display:none;

}


/* ============================== */
/* ! Layout for desktop version   */
/* ============================== */

.acaMainBox {
	padding:0px; 
	width:22%; 
	height:140px; 
	padding-left:20px;
	float:left;
}

.acaBluBox {
	background:#055394;
	text-decoration:none; 
	color: #FFF;
	height:140px; 
	border-radius: 1.5em; -webkit-border-radius: 1.5em; -moz-border-radius:1.5em; 
	padding:0px;  
	vertical-align:middle; 
	-webkit-box-shadow: 5px 5px 10px rgba(100, 100, 100, 0.5); 
	-moz-box-shadow: 5px 5px 10px rgba(100, 100, 100, 0.5); 
	box-shadow: 5px 5px 10px rgba(100, 100, 100, 0.5); 
}

.acaBluBox1 {
	background:#055394;
	color: #FFF;
	font-size:1.8em; 
	width:100%; 
	padding:0px;  
	height:140px; 
	vertical-align:middle; 
}

.acaGreyBox {
	background:lightgrey;
	color:#000;
	display:none;  
	width:100%; 
	padding:0px; 	
	font-size:0.9em; 
	height:140px; 
	vertical-align:middle; 

}



/* APPLE STYLE NAVIGATION MENU */
#appleNav { margin:0px 0; list-style:none;

    /* Lucinda Grande is the font used on the website from Apple. */
    font-family: "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; letter-spacing:-0.5px; font-size:13px;
    
    /* Apply a subtle text-shadow to the text */
    text-shadow: 0 -1px 3px #202020;


    width:900px; height:29px; 
	
	margin-left:-40px;
    
    /* We want to add the shadow to the complete navigation menu. In order to do that, we'll need to set
    the correct width and height, and also the correct borders, in order to create the perfect drop shadow 
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    border-radius:4px;
    
    -moz-box-shadow: 0px 3px 3px #cecece;
    -webkit-box-shadow: 0px 3px 3px #cecece;
    box-shadow: 0 3px 4px #8b8b8b;*/
}

#appleNav li { display:block; float:left; border-right:1px solid #6a95ba; border-left:1px solid #afc0cf; width:115px; height:29px; border-bottom:1px solid #064982; border-top:1px solid #055394; 

    /* MAIN GRADIENT backgrounds for the buttons. Generated using http://gradients.glrzad.com/ */
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #102b4f), color-stop(0.5, #0d2442), color-stop(0.51, #055394), color-stop(1, #102b4f));
    background-image: -moz-linear-gradient(center bottom, #102b4f 0%, #0d2442 50%, #055394 51%, #838383 100%);
    background-color:#055394; /* Fallback */
}

/* Set the states when HOVERING, except for the last item in the list (the search bar), since it doesn't need to change */
#appleNav li:hover {
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
    background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
    background-color:#383838; /* Fallback */
    
    /* We use the inset of the box shadow to create a subtle inner glow when hovering */
    -moz-box-shadow: inset 0 0 5px 5px #535353;
    -webkit-box-shadow: inset 0 0 5px 5px #535353;
    box-shadow: inset 0 0 5px 5px #535353;
}

/* When the user clicks the button, we simply change the box inset (compared to the "hover") */
#appleNav li:clicked {
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #3F3F3F), color-stop(0.5, #383838), color-stop(0.51, #434343), color-stop(1, #555555));
    background-image: -moz-linear-gradient(center bottom, #3F3F3F 0%, #383838 50%, #434343 51%, #555555 100% );
    background-color:#383838; /* Fallback */
    
    /* We use the inset of the box shadow to create a subtle inner glow when hovering */
    -moz-box-shadow: inset 0 0 5px 5px #535353;
    -webkit-box-shadow: inset 0 0 5px 5px #535353;
    box-shadow: inset 0 0 5px 5px #535353;
}

#appleNav li a { color:white; text-decoration:none; text-align:center; display:block; line-height:29px; outline:none; }

/* Styling of the search field */
#appleNav form input { width:100px; height:10px; margin-left:9px; margin-top:6px; border:none; padding-left:5px; padding-right:5px; color:#eee;

    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;

    /* We use the CSS3 multiple backgrounds for the input field: The magnifier image and the gradient background */    
    background-image: url("images/magnifier.png"), -webkit-gradient(linear, left bottom, left top, color-stop(0, #747474), color-stop(0.5, #6E6E6E), color-stop(0.51, #7E7E7E), color-stop(1, #8D8D8D));
    background-image: url("images/magnifier.png"), -moz-linear-gradient(center bottom, #747474 0%, #6E6E6E 50%, #7E7E7E 51%, #8D8D8D 100%);
    background-repeat: no-repeat;
    
    background-color:#6E6E6E; /* Fallback 
    
    -moz-box-shadow: inset 0 2px 1px 1px #363636;
    -webkit-box-shadow: inset 0 2px 1px 1px #363636;
    box-shadow: inset 0 2px 1px 1px #363636;*/
}

/* Rounded corner for the first in last item. Shorthand: Top left, Top right, Bottom right, Bottom left.
We also remove the borders, since they don't need them. */

#appleNav li:first-child {
    -moz-border-radius:4px 0 0 4px;
    -webkit-border-radius:4px 0 0 4px;
    border-radius:4px 0 0 4px;
    
    border-left:none;
}

/* The first child image - the logo - has to be centered. Because of the image dimensions, we manually need to shift it a bit. */
#appleNav li:first-child a img {
   vertical-align:middle; margin-top:-2px;
}

#appleNav li:last-child {
    -moz-border-radius:0 4px 4px 0;
    -webkit-border-radius:0 4px 4px 0;
    border-radius:0 4px 4px 0;
    
    border-right:none;
    
    /* The width of the last menu item (search bar) is bigger than the others */
    width:109px;
}

/* Fade in animation (Webkit only) */
@-webkit-keyframes showMenu {
    from { opacity: 0; top:-20px; }
    to   { opacity: 1; }
}

#appleNav {
     -webkit-animation: showMenu 1s; position:relative;
}



	.maintext{
		float:left;
		width:100%;
		padding-top:0px;
	}




	.mainimage{
		float:right;
		width:100%;
		padding-top:10px;
	}

	.threeboxgroup{
	 margin-left: auto;
	 margin-right: auto;
	 max-width:800px;
	 width:90%;	
	}


	body {
		
	}

	.container {
	padding-left: 20px;
	padding-right: 20px;
	}
	
	.row {
	width: 100%;
	max-width: 900px;
	min-width: 400px;
	margin: 0 auto;
	overflow: hidden;
	}
	
	.rowhead {
	width: 100%;
	max-width: 900px;
	min-width: 400px;
	margin: 0 auto;
	}
	
	.onecol, .twocol {
	margin-right: 3.8%;
	float: left;
	min-height: 1px;
	}
	
	.row .onecol {
	width: 4.85%;
	}
	
	.row .twocol {
	width: 13.45%;
	}
	
	.row .threecol {
	width: 22%;
	float: left;
	padding-right:7px;
	}
	
	.row .fivecol {
	width: 22%;
	float: left;
	padding-right:7px;
	}

	img, object, embed {
	max-width: 100%;
	}
	
	
	a img {
		border:none;
	}
	
	.header{
		width: 100%;
		height: 0px;
		/*background-image: url('../img/png.png');
		background-repeat: repeat-x;*/
		margin-bottom: 60px;
		padding-top: 10px;

	}
	
	.header .logo {
	/*background-image: url('http://thepremiertutors.org/logo.png');
	background-repeat: no-repeat;*/
	height: 100%;
	width: 100%;
	}
	
	#logo {
	display: block;
	text-indent: -9999px;
	}
	
	.header .head{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	}
	
	.content{
		width: 100%;
	}
	
	.content .body{
		width: 50%;
		padding-top:20px;
		padding-bottom:20px;
	}
	
	.content .sidebar{
		width: 37%;
		margin-right: 0;
		padding-top:40px;
		padding-bottom:50px;
	}
	
	.footer .foot{
		/*background-image: url('../img/1wd-logo.png');
		background-repeat: no-repeat;
		background-position: center;
		padding-top: 50px;*/
		width: 100%;
	}
	
	.foot{
		text-align: center;
	}
	
	.footerText{
	font-size: 0.8em;
	/*text-align:left;
	margin-right:20px;*/
	text-outline: 10px 10px 10px #fff;
	}
	
	div.spacer
  {
	clear:both; 
	width:95%;
	height:50px;
	max-width:100%;
}

.dropshadow{
border-radius:1em; -webkit-border-radius:1em;-webkit-box-shadow:0 1px 3px rgba(0,0,0, .4); -moz-box-shadow:0 1px 3px rgba(0,0,0, .4); 
}

div.footerInfo
  {
	clear:both; 
	width:95%;
	height:60px;
	max-width:100%;
	  font-family: 'Droid Sans', sans-serif;
	  font-size:14px;
	  color:#a7a9ac;
	  text-align:center;
	  letter-spacing:0em;	
	  margin-left:40px;
}
	
	img {
	
	/* This centers the image */
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 5px;
	/* This adds the border */
	padding:0px;
	/*border:solid;
	border-color: #dddddd #aaaaaa #aaaaaa #dddddd;
	border-width: 1px 2px 2px 1px;
	background-color:white;*/
	}
	
	p {
	font-family: 'Droid Sans', sans-serif;
	font-size: 0.8em;
	color: #9b9999;
	line-height: 20px;
	}
	
	a {
	font-family: 'Droid Sans', sans-serif;
	color:royalblue; /*#55394; tb2*/
	}
	
	ul {
	list-style-type: none;
	}
	
	li {
	float: left;
	}
	
	ul a {

	}
	
	h1 a {
	color: #333;
	}
	
	h1 {
	color: #000;
	font-size:4em;
	letter-spacing:-3px;
	line-height:0.8em;
	font-family: 'Droid Sans', sans-serif; 
	font-weight:normal;
	margin:0px;
	padding-bottom:10px;
	padding-top:10px; 
	}
	
	h2 {
	clear:both;
	font-size:1.2em; 
	color:#0b5394;	
	font-family: 'Droid Sans', sans-serif;
	padding-top:10px;
	font-weight:normal;
	padding-bottom:10px;
	}
	
	.tbright{
	margin-right:90px;
	margin-top:0px;
	font-size:1.1em; 
	padding-bottom:50px;
	}

	.tpttag{
	margin-top:-50px;
	margin-bottom:-10px;
	font-size:1.1em; 
	}



#splashpage{
  position:fixed;
  left:0;
  top:0;
  width:100%;
  height:100%;
  z-index:9999;
  padding:0px;
	  display:none;
}  

#splashpage-iframe{
  position:absolute;
  left:0;
  top:0;
  z-index:9000;
  background-color:#000;
  width:100%;
  height:100%;
	  display:none;
}  

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

	body {

	}

	h1{
		font-size:4em;	
	}

	h2{
		font-size:1.1em;	
	}
	
	p{
		font-size:0.8em;	
	}
	
	.mainimage{
		width:100%;
	}
	
	
	.footerText{
	font-size: 0.7em;
	}
	
	#appleNav {

    /*width:900px; height:29px; */
	width:100%;
	}
}



/* ============================= */
/* ! Layout for mobile version   */
/* ============================= */

@media handheld, only screen and (max-width: 640px) {
	
	body {
	font-size: 1em;
	-webkit-text-size-adjust: none;
	/*background:#000;
	color:#fff;
	}
	
	p {
	color:#fff;	
	}
	
	ul a {
	color: #fff;*/
	}
	
	h1 {
	font-size:5em;
	}
	
	.row, body, .container {
	width: 100%;
	min-width: 0;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 0px;
	padding-right: 0px;
	}
	
	.row .onecol, .row .twocol, .row .threecol, .row .fourcol, .row .fivecol, .row .sixcol, .row .sevencol, .row .eightcol, .row .ninecol, .row .tencol, .row .elevencol, .row .twelvecol {
	width: auto;
	float: none;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 20px;
	padding-right: 20px;
	}
	
	img
	{

	}
	
	.mainimage{
	width:80%;
	float:left;
	padding:20px;
	}
}





/* ========================================== */
/* ! Provide higher res assets for iPhone 4   */
/* ========================================== */

@media only screen and (-webkit-min-device-pixel-ratio: 2) { 

/*	.logo {
		background: url(logo2x.jpg) no-repeat;
		background-size: 212px 303px;
	}*/
	
}