.everything-wrapper #detail-tabs2 #tab-3-content {
	margin-left: auto;
	margin-right: auto;
   /* border:1px solid red;*/
}

.everything-wrapper #detail-tabs2  #tab-4-content {
	margin-left: auto;
	margin-right: auto;
   /* border:1px solid red;*/
}

#panel .ui-button {
	display: inline-block;
	font-size: 1.0em;
	color: #888;
	padding: .4em .75em;
	font-weight: 400;
	border: 1px solid #D8DCDF;
}

#panel .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active  {
	font-size: 1.0em;
	color: #3c3c3c;
	font-style: black;
	padding: .4em .75em;
	font-weight: 100;
background: #ffffff 50% 50% repeat-x;
}

#panel .ui-state-hover, .ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus {
	font-size: 1.0em;
	color: #3c3c3c;
	font-style: black;
	padding: .4em .75em;
	font-weight: 100;
background: #d2d2d2 50% 50% repeat-x;
}


#panel {
	width:100%;
	height:100%;
}

#detail-tabs {
padding-bottom: 10px;
border: 1px solid white; !important

}

#detail-tabs2 {
padding-bottom: 30px;
border: 1px solid white; !important

}

#tab-1-content,
#tab-2-content,
#tab-3-content,
#tab-4-content {
	width:95%;
	height:100%;
}

#detail-tabs.ui-state-default, 
#detail-tabs.ui-widget-content .ui-state-default, 
#detail-tabs.ui-widget-header .ui-state-default {
  background: #E6E6E6 !important;
  	border: 2px solid #E6E6E6 !important;

}
#detail-tabs.ui-state-active, 
#detail-tabs.ui-widget-content .ui-state-active, 
#detail-tabs.ui-widget-header .ui-state-active {
  color: #333 !important;
/*  background: #F0F0F0 !important; */
 background: #CCC !important;
   	border: 2px solid #aaa !important;

}
#detail-tabs.ui-state-hover, 
#detail-tabs.ui-widget-content .ui-state-hover, 
#detail-tabs.ui-widget-header .ui-state-hover {
  background: #CCC !important;
 color: #1A5D84 !important;
    	border: 2px solid #aaa !important;

}
#detail-tabs.ui-state-focus, 
#detail-tabs.ui-widget-content .ui-state-focus, 
#detail-tabs.ui-widget-header .ui-state-focus {
  background: #CCC !important;
}
#detail-tabs.ui-state-hover a:link, .ui-state-hover a:visited,
#detail-tabs.ui-state-active a:link, #detail-tabs.ui-state-active a:visited {
	color: #1A5D84;
}

#detail-tabs.ui-tabs .ui-tabs-nav li a {
	font-size: 0.9125em;
	padding: .25em 0.6em;
	color: #1A5D84;
	font-weight: normal;
}

#detail-tabs {
	display: block;
}

#detail-tabs li {
	padding: 2px !important;
}

/*------------------ second tabs--------------------------- */

#detail-tabs2.ui-state-default, 
#detail-tabs2.ui-widget-content .ui-state-default, 
#detail-tabs2.ui-widget-header .ui-state-default {
  background: #E6E6E6 !important;
  	border: 2px solid #E6E6E6 !important;

}
#detail-tabs2.ui-state-active, 
#detail-tabs2.ui-widget-content .ui-state-active, 
#detail-tabs2.ui-widget-header .ui-state-active {
  color: #333 !important;
/*  background: #F0F0F0 !important; */
 background: #CCC !important;
   	border: 2px solid #aaa !important;

}
#detail-tabs2.ui-state-hover, 
#detail-tabs2.ui-widget-content .ui-state-hover, 
#detail-tabs2.ui-widget-header .ui-state-hover {
  background: #CCC !important;
 color: #1A5D84 !important;
    	border: 2px solid #aaa !important;

}
#detail-tabs2.ui-state-focus, 
#detail-tabs2.ui-widget-content .ui-state-focus, 
#detail-tabs2.ui-widget-header .ui-state-focus {
  background: #CCC !important;
}
#detail-tabs2.ui-state-hover a:link, .ui-state-hover a:visited,
#detail-tabs2.ui-state-active a:link, #detail-tabs.ui-state-active a:visited {
	color: #1A5D84;
}

#detail-tabs2.ui-tabs .ui-tabs-nav li a {
	font-size: 0.9125em;
	padding: .25em 0.6em;
	color: #1A5D84;
	font-weight: normal;
}

#detail-tabs2 {
	display: block;
}

#detail-tabs2 li {
	padding: 2px !important;
}




	.everything-wrapper .ap-header #wide-header {
display:block;
}

.everything-wrapper .ap-header #iphone-header {
display:none;
}	
		
	
#price-shiller-respond-wide{
display:none; 
}

#price-shiller-respond-mobile{
display:block;
height:auto;
margin-left:12px;
width:100%;
}

/*#everything-wrapper .home-price-wrapper-respond #price-shiller-respond-mobile .housing-chart-header #iphone-p-txt {

margin-top: 24px;
border:1px solid red;
}*/

.everything-wrapper{
max-width:800px;
margin: 0 auto;
padding-bottom: 40px;
}
.mali-profile-wrap #plane {
display:block;
}

.mali-profile-wrap #plane2 {
display:none;
}

	.apple-market-cap-chart-wrap{
	position:relative;
	float:left;
	width:98%;
	border-bottom: solid;	
	border-bottom-width:1px;
	border-bottom-color:#f0f0f0;
	padding-left:1%;
	padding-top:10px;
	padding-bottom:10px;
	margin-bottom:20px;
	}

	.apple-market-cap-chart { 
	position:relative;
	float:left;
	width:100%; 
	height:340px;		
	max-height:340px;
	margin-left:-10px;
    -webkit-tap-highlight-color: rgba(0,0,0,0);                
	} 
	
	.everything-wrapper #video-embed-panel .video-profile-wrap #video-embed-container{
	    margin: 1em 1em 1em 0;
        width: 100%;
	}
	
	
	.apple-marketValueFootnote{
	position:relative;
	margin-left:0px;
	margin-top:8px;
	font-size:.8em;
	color:#999;
	}

.keybox1 {
	width: 30px;
	height: 15px;
	border: 2px solid #7fa8b9;
	float: left;

}
.keybox2{
	width: 30px;
	height: 15px;
	background: #ede9ea;
	border: 1px solid #ede9ea;
	float: left;

}

.keybox3{
	width: 30px;
	height: 15px;
	border: 2px solid #770805;
	float: left;

}


td {	

	vertical-align:top;
	padding: 3px;
	/* border: 1px solid black; */
}

#video-embed-panel .mali-profile-wrap #mapkey {
  color: #646464;
  font-size: 0.874em;
  line-height: 1.35em;
  font-style: normal;
}

.mapkey {
	display:flex;
	white-space: pre;
}
	
	img[usemap] {
		border: none;
		height: auto;
		max-width: 100%;
		width: auto;
}
	
.effort-header{
text-transform:uppercase;
font-size:.8em;
margin-bottom:6px;
color:#999;
}

.country-name{
font-weight:bold;
margin-bottom:4px;
}

.effort-intro{
margin-bottom:20px;
}

.mali-profile-mobile-wrap{
 	max-width:800px; 
	display:block;
	position:relative;
	float:left;
	width:98%;
	border-top: solid;	
	border-top-width:1px;
	/*border-top-color:#f0f0f0;*/
	border-bottom: solid;	
	border-bottom-width:2px;
	/*border-bottom-color:#f0f0f0;*/
	border-right: solid;
	border-right-width:2px;
	/*border-right-color:#f0f0f0;*/
	border-left: solid;
	border-left-width:1px;
	/*border-left-color:#f0f0f0;*/
	padding-left:1%;
	padding-right:1%;
	padding-top:2%;
	padding-bottom:2%;
	margin-bottom:10px;
	margin-right:10px;

}

.video-profile-wrap{ 
	/*position:relative;*/
	float:left;
	width:98%;
	height: auto;
	/*top: -80px;*/
	/*border-top: solid;*/	
	border-top-width:1px;
	/*border-top-color:#f0f0f0;*/
	/*border-bottom: solid;*/	
	border-bottom-width:2px;
	/*border-bottom-color:#f0f0f0;*/
	/*border-right: solid;
	border-right-width:2px;
	border-right-color:#f0f0f0;*/
	/*border-left: solid;*/
	border-left-width:1px;
	/*border-left-color:#f0f0f0;*/
	padding-left:1%;
	/*padding-right:5%;*/
	/*padding-top:1%;*/
	padding-bottom:1%;
	margin-right:10px;
	/*background-color: orange;*/
	}

#video-embed-panel #topright-subhead { 
	width: 100%;
	padding-top:1%;
	padding-bottom:1%;
	margin-top:10px;
}


#video-embed-panel .mali-profile-wrap{ 
	/*position:relative;*/
	/*float:right;*/
	width:98%;
	top: -80px;
	/*border-top: solid;*/	
	border-top-width:1px;
	/*border-top-color:#f0f0f0;*/
	/*border-bottom: solid;*/	
	border-bottom-width:2px;
	/*border-bottom-color:#f0f0f0;*/
	/*border-right: solid;*/
	border-right-width:2px;
	/*border-right-color:#f0f0f0;*/
	/*border-left: solid;*/
	border-left-width:1px;
	/*border-left-color:#f0f0f0;*/
	padding-left:1%;
	padding-right:1%;
	/*padding-top:1%;*/
	padding-bottom:1%;
	margin-left:10px;
	/*background-color: beige;*/
	}
	
#video-embed-panel .critter-profile-wrap .wrap-rule{ 
	/*position:relative;*/
	width:98%;
	/*top: -80px;*/
	/*border-top: solid;	
	border-top-width:1px;
	border-top-color:#f0f0f0;*/
	/*border-bottom: solid;*/	
	border-bottom-width:2px;
	/*border-bottom-color:#f0f0f0;*/
	/*border-right: solid;*/
	border-right-width:2px;
	/*border-right-color:#f0f0f0;*/
	/*border-left: solid;*/
	border-left-width:1px;
	/*border-left-color:#f0f0f0;*/
	padding-left:1%;
	padding-right:1%;
	/*padding-top:1%;*/
	padding-bottom:1%;
	margin-left:5px;
	margin-right:25px;
	}

#video-embed-panel .critter-profile-wrap #crittersubhead { 
	width: 98%;
	padding-top:1%;
	padding-bottom:1%;
	margin-top:0px;
	background-color: white;
}

#video-embed-panel .critter-profile-wrap .critters #crittersubheadcredit { 
  color: #969696;
  font-size: .6875em;
}

#video-embed-panel .critter-profile-wrap{ 
	float:left;
	/*position:relative;*/
	width:100%;
	/*border-top: solid;*/	
	border-top-width:1px;
	/*border-top-color:#f0f0f0;*/
	/*border-bottom: solid;*/	
	border-bottom-width:2px;
	/*border-bottom-color:#f0f0f0;*/
	/*border-right: solid;*/
	border-right-width:2px;
	/*border-right-color:#f0f0f0;*/
	/*border-left: solid;*/
	border-left-width:1px;
	/*border-left-color:#f0f0f0;*/
	padding-left:1%;
	padding-right:1%;
	padding-top:2%;
	padding-bottom:1%;
	margin-right:10px;
	/*background-color: pink;*/
	}
	
#video-embed-panel .critter-profile-wrap .critters{ 
	float:left;
	/*position:relative;*/
	width:170px;
	height:270px;
	border-top: solid;	
	border-top-width:1px;
	border-top-color:#f0f0f0;
	border-bottom: solid;	
	border-bottom-width:2px;
	border-bottom-color:#f0f0f0;
	border-right: solid;
	border-right-width:2px;
	border-right-color:#f0f0f0;
	border-left: solid;
	border-left-width:1px;
	border-left-color:#f0f0f0;
	margin-right:5px;
	margin-left:5px;
	margin-top:10px;
	margin-bottom:10px;
	padding-right:5px;
	padding-left:5px;
	padding-top:5px;
	padding-bottom:5px;
	/*background-color: yellow;*/
	}
	
#video-embed-panel .critter-profile-wrap #critter-box1{
	width:170px;
	height:270px;
	margin-right:1px;
	padding-left:14px;
	margin-top:10px;
	margin-bottom:10px;
	}
#video-embed-panel .critter-profile-wrap #critter-box2{ 
	width:170px;
	height:270px;
	margin-right:1px;
	padding-left:14px;
	margin-top:10px;
	margin-bottom:10px;
	
	}
#video-embed-panel .critter-profile-wrap #critter-box3{ 
	width:170px;
	height:270px;
	margin-right:1px;
	padding-left:14px;
	margin-top:10px;
	margin-bottom:10px;
	}
#video-embed-panel .critter-profile-wrap #critter-box4{ 
	width:170px;
	height:270px;
	margin-right:1px;
	padding-left:14px;
	margin-top:10px;
	margin-bottom:10px;
	}
#video-embed-panel .critter-profile-wrap #critter-box5{ 
	width:170px;
	height:270px;
	margin-right:1px;
	padding-left:14px;
	margin-top:10px;
	margin-bottom:10px;
	}
#video-embed-panel .critter-profile-wrap #critter-box6{ 
	width:170px;
	height:270px;
	margin-right:1px;
	padding-left:14px;
	margin-top:10px;
	margin-bottom:10px;
	}
	
#video-embed-panel .critter-profile-wrap #critter-box7{ 
	width:170px;
	height:270px;
	margin-right:1px;
	padding-left:14px;
	margin-top:10px;
	margin-bottom:10px;
	}
#video-embed-panel .critter-profile-wrap #critter-box8{ 
	width:170px;
	height:270px;
	margin-right:1px;
	padding-left:14px;
	margin-top:10px;
	margin-bottom:10px;
	}
	
.effort-table-wrap{
 	max-width:800px; 
	display:block;
	position:relative;
	float:left;
	width:98%;

	border-top: solid;	
	border-top-width:1px;
	border-top-color:#f0f0f0;
	border-bottom: solid;	
	border-bottom-width:2px;
	border-bottom-color:#f0f0f0;
	border-right: solid;
	border-right-width:2px;
	border-right-color:#f0f0f0;
	border-left: solid;
	border-left-width:1px;
	border-left-color:#f0f0f0;
	padding-left:1%;
	padding-right:1%;
	padding-top:2%;
	padding-bottom:2%;
	}
	
		.mali-narrow-table{
	width:98%;
		}
	
	.mali-row-hover:hover{
	/*background-color:#f0f0f0;*/
	}	
	
	.photo-cap{
	color:#999999;
	font-size:.8em;
	}
			
	.mali-narrow-table th {
	font-size:.7em;
	width:98%;
	padding: 1% 1% 1% 1%;
	color:#333;
	vertical-align:bottom;
	}
	
	.mali-narrow-table td.mali-header-align-right{
	font-size:.7em;
	width:200px;
	padding: 1% 1% 1% 1%;
	color:#333;
	vertical-align:bottom;
	text-align:right;
	}	
	
	.mali-narrow-table td.mali-header-align-left{
	font-size:.7em;
	width:15%;
	padding: 1% 1% 1% 1%;
	color:#333;
	vertical-align:bottom;
	text-align:left;
	}

	.mali-narrow-table td.mali-header-align-left-contribution{
	font-size:.7em;
	width:75%;
	padding: 1% 1% 1% 1%;
	color:#333;
	vertical-align:bottom;
	text-align:left;
	}

	.mali-narrow-table td {
	font-size:.8em;
	line-height:1.4em;
	color:#333;
	padding: 1% 1% 1% 1%;
	border-bottom: 1px solid #d2d2d2;
	vertical-align: top;
	}

	.mali-narrow-table td.mali-align-right{
	padding:1% 1% 1% 1%;
	text-align:right;
	}	
	
	.mali-narrow-table td.mali-align-left{
	font-weight:bold;
	padding: 3% 1% 3% 1%;
	text-align:left;
	}	
	
	.mali-narrow-table td.mali-align-left-contribution{
	padding: 3% 1% 3% 1%;
	text-align:left;
	}
	
	.mali-narrow-table td.mali-align-right .vert-align{
	vertical-align:bottom;
	width:50%;
	}
	
	#head1 {
	display:none;
	}	

	.chart-head {
	margin-top:10px;
	margin-bottom:10px;
	font-size:1em; 
   	color:#333;          
	} 
	
@media only screen and (min-width:490px) {
	
	.everything-wrapper .mali-profile-wrap{
	display:block;
	/*float: left;*/
	width: 98%;
	height: auto;
	margin-left:auto;
	margin-right:auto;
    margin-bottom: 10px;
	/*border: 1px solid gold;*/
	}
	
	.everything-wrapper #video-embed-panel{
	display:block;
	float: left;
	width: 98%;
	height: auto;
	margin-left:2px;
	margin-right:2px;
    margin-bottom: 10px;
	/*border: 1px solid hotpink;*/	
	}
	
	.mali-profile-mobile-wrap{
	display:none;
	}
		#head2 {
		display:none;
	}
		#head1 {
		display:block;
	}

	/*.everything-wrapper #video-embed-panel .video-profile-wrap{
    margin-top: 10px;
    border:1px solid green;
	}*/
	
	
}
	
	@media only screen and (min-width : 640px) and (max-width : 645px) {

	#video-embed-panel .mali-profile-wrap{
	/*float: right;*/
	width:98%;
	/*margin-top:90px;*/
	/*background-color: green;*/
	}
	

	#price-shiller-respond-wide{
display:block;
margin-left:1%;
}

#price-shiller-respond-mobile{
display:none;
}

	.everything-wrapper #video-embed-panel .video-profile-wrap #video-embed-container{
	    margin: 1em 1em 10 0;
        width: 100%;
        height: 188px;
        background-color: black;
	}
}



@media only screen and (max-width:500px) {
.video-profile-wrap{ 
	float:left;
	width: 100%;
	height: 700%;
	margin-bottom: 20px;
	/*background-color: turquoise;*/
	}

	#video-embed-panel .mali-profile-wrap{
	/*float: left;*/
	width:100%;
	/*margin-top:90px;*/
	/*background-color: beige;*/
	}
	#video-embed-panel .critter-profile-wrap .critters{ 
    float:left;
	margin-left: 20px;
	margin-right: 20px;
	width:43%;
	}
 
	}

@media only screen and (max-width:320px) {
.video-profile-wrap{ 
	/*float:left;*/
	width: 98%;
	height: 700%;
	margin-bottom: 20px;
	/*border: 1px solid turquoise;*/
	/*background-color: turquoise;*/
	}

	#video-embed-panel .mali-profile-wrap{
	/*float: right;*/
	width:98%;
	/*border: 1px solid red;*/
	}
	
	#video-embed-panel .critter-profile-wrap .critters{ 
    float:left;
	margin-left: 50px;
	margin-right: 50px;
	/*width:94%;*/
	}

.everything-wrapper .ap-header #wide-header {
display:none;
}

.everything-wrapper .ap-header #iphone-header {
display:block;
margin-bottom: 10px;
font-size:1.5em;
}	
	
	.mali-profile-wrap #plane {
display:none;
}

.mali-profile-wrap #plane2 {
display:block;
		margin-left: auto;
		margin-right: auto;
}

}

@media only screen and (min-width : 750px) and (max-width : 1024px) {

        .video-profile-wrap{ 

	}
	
		#video-embed-panel .critter-profile-wrap .critters{ 
		float:left;
		margin-left: 30px;
		margin-right: 30px;
		/*width:94%;*/
	}
		#price-shiller-respond-wide{
		display:block;
		margin-left:4%;
		
	}
	
		#price-shiller-respond-mobile{
		display:none;
	}

	.everything-wrapper #video-embed-panel .video-profile-wrap #video-embed-container{
	    margin: 1em 1em 1em 0;
        width: 100%;
        height: 410px;
        background-color: black;

	}
	
}

@media only screen and (min-width : 1024px) and (max-width : 1050px) {
	.everything-wrapper #video-embed-panel .video-profile-wrap #video-embed-container{
	    margin: 1em 1em 1em 0;
        width: 100%;
        height: 438px;
        background-color: black;

	}
	
}