/*

Theme Name: Mathlets

Theme URL: http://math.mit.edu

Description: Based on Elements of SEO theme by Drew Stauffer.

Author: Brett Mellor

Author URI: http://math.mit.edu

Version: 0.2

	

*/



body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td,html,label,table,tr,td {margin:0;padding:0;}

table{border-collapse:collapse;border-spacing:0;}

fieldset,img,a img,:link img,:visited img {border:0;}

address,caption,cite,code,dfn,th,var {font-style:normal;font-weight:normal;}

ul {list-style:none;}

caption,th {text-align:left;}

h1,h2,h3,h4,h5,h6 {font-size:100%;}

q:before,q:after {content:'';}



.bold {

	font-weight:bold;

	}



hr {

	border: 0px;

	color: #993333;

	background-color: #993333;

	height: 1px;

	}



b {

	font-weight:bold;

	color:#989898;

	font-style: italic;

}





body {

	color: #323232;

	text-align:center;

	font:12px/18px Verdana, Arial, Helvetica, sans-serif; 

	margin: 10px auto 0px;

	padding: 10px 5px 5px 5px;

	}

	

	

#wrap {

	width:967px;

	text-align:left;

	margin: 0px auto;

	padding: 0px;

	}



#stripe {

	height: 5px;

	}

	

/************************************************

*	Hyperlinks						*

************************************************/



/* #993333 = MIT maroon */



a:link,a:visited	{ color:#993333; text-decoration:none;}

a:hover,a:active	{ color:#993333; text-decoration:underline;}

	

/************************************************

*	Navbar  						*

************************************************/

#nav {

	text-align: center;

        background: #fff;

	margin: 0px 0px 10px 0px;

	padding: 0px;

        /* font-size: 24px */

        text-transform: uppercase

}



#nav ul {

	margin: 10px 0px 0px 0px;

	padding: 0px 0ps 0px 0px;

	}



#nav li {

	display: inline;

	font-weight:bold;

	padding:0 5px 0 10px;

        font-size: 16px;

	}



#nav a:link, #nav a:visited	{ color:#993333; text-decoration:none; }

#nav a:hover, #nav a:active	{ color:#993333; text-decoration:underline; }



#banner { 

	background: url("images/mathlets.jpg") no-repeat; width:965px; height:72px;

	}



/************************************************

*	Content 			  		      * 

************************************************/



#content {

	width: 965px;

	margin: 0px auto;

	padding: 0px 0px 12px 0px;

	overflow:hidden;

	}



#content p{

	padding: 5px 0px 5px 0px;

	margin: 0px;

	line-height: 16px;

        font-size: 12px;

	}

#content small{

	padding: 0px 0px 0px 0px;

        margin: 0px;

        font-size: 11px;

        line-height: 16px;

	}

	

#content h1,
#content h2 {

	color: #121212 !important;

	font-weight: bold !important;

	font-size:18px !important; 

	font-family: Verdana, Arial, Helvetica, sans-serif !important;

	text-transform: uppercase;

	margin: 10px 0px 10px 0px;

	padding: 10px 0px 20px 0px;

	}

	

#content h1 a  {

	color: #14181A;

	text-decoration: none;

	}



#content h1 a:hover {

	color: #525252;

	text-decoration: none;

	}

	

#content p img{

	float: left;

	border: none;

	margin-right: 15px;

	margin-bottom: 10px;

	padding-top: 7px;

	}

	

#content p img.latex {

	float:none;

	display:inline;

	vertical-align: middle;

	max-width: 100%;

	}



#content h2 {

	/* color: #444444; */

        color: #000;

	font-size: 12px;

	font-weight:bold;

	padding: 0px 0px 5px 0px;

	margin: 15px 0px 5px 0px;

	border-bottom: 1px dashed #666666;

	text-transform: uppercase;

	clear:both;

	}



#content h3 {

	color: #000;

	font-size: 14px;

	font-family: Georgia, "Times New Roman", Times, serif;

	font-weight: bold;

        /* font-style: italic; */

	margin: 0px 0px 0px 0px;

	padding: 10px 0px 5px 0px;

	}



#content h4 {	

	font-size: 12px;

	font-weight: bold;

	margin: 5px 0px 0px 0px;

	padding: 5px 0px 0px 0px;

	}

	

#content img.wp-smiley {

	float: none;

	border: none;

	padding: 0px;

	margin: 0px;

	}



#content img.wp-wink {

	float: none;

	border: none;

	padding: 0px;

	margin: 0px;

	}

	

#contentleft {

	float: left;

	width: 670px;

	margin: 12px 10px 12px 0px;

	padding: 0px;

	}



#contentleft h2 {

	margin-right:12px;

	}



#contentleft ul {

	list-style-type: disc;

	list-style-position:outside;

	margin: 0px 10px 0px 16px;

	padding: 5px 0px 5px 0px;

	}



#contentleft .single {

	margin: 10px 0px 0px 0px;

	padding: 0px 0px 10px 0px;

	}

	

blockquote{

	margin: 0px 15px 10px 15px;

	padding: 0px 10px 0px 25px;

	background: #333333;

	border-top: 1px solid #EFEFEF;

	border-bottom: 1px solid #EFEFEF;

	}

	

#content blockquote p{

	color:#fff;

	margin: 0px 0px 10px 0px;

	padding: 10px 0px 0px 0px;

	}



.date {

	color:#A97965;

	font-family: Georgia, "Times New Roman", Times, serif;

        font-size: 10px;

}



.bt-links {

	/* background: #EFEFEF; */

	/* border: 1px solid #DDDCDC; */

	margin: 0px 0px 0px 0px;

	padding: 0px 0px 0px 0px;

	/* font-family: Georgia, "Times New Roman", Times, serif; */

        font-size: 10px;

        font-weight: normal;

        color: #616161;

}



/************************************************

*	Right Sidebar 					     	    * 

************************************************/

	

#right-sidebar {

	float: right;

	width: 214px;

	margin: 10px 0px 10px 0px;

	padding: 0px 12px 10px 12px;

	border-left: 1px solid #E2DDDE;

	border-right: 1px solid #E2DDDE;

	font:11px/18px Verdana, Arial, Helvetica, sans-serif; 

	}



#right-sidebar ul {

	list-style: none;

	margin: 0px;

	padding: 0px;

	}

	



#right-sidebar ul li {

	background:transparent url("images/bullet.gif") 0px 11px no-repeat; 

	display: block;

	padding: 4px 0px 0px 10px;

	margin: 0px;

        font-size: 11px;

	}





#feed {

	background:  url("images/rss.gif") 183px 0px no-repeat; /* 0px = horizontal position for left, 6px = vertical position from top */

	padding: 4px 0px 4px 10px;

}



/* #right-sidebar a:link, #right-sidebar a:visited  { color:#444; text-decoration:none; outline:none; } */

/* #right-sidebar a:hover, #right-sidebar a:active  { color:#444; text-decoration:underline; outline:none; } */

	

	

#right-sidebar p{

	padding: 3px 0px 0px 0px;

	margin: 0px;

	line-height: 16px;

	}



#right-sidebar li {list-style: none; }	



/************************************************

*	Footer  						*

************************************************/



#footer {

	background:  url("images/foot.gif") repeat-x;

	width: 965px;

	margin: 0px auto;

	text-align: left;

	position: relative;

	line-height: 17px;

	font:10px/18px Verdana, Arial, Helvetica, sans-serif; 

	padding-top:8px;

	}



#footer td {

	font:10px/18px Verdana, Arial, Helvetica, sans-serif;

	}



#footer p {

	color: #AAB3B4;

	margin:10px 0px 10px 0px;

	padding-top: 13px;

	}



#footer a:link, #footer a:visited { color:#AAB3B4; }

#footer a:hover, #footer a:active { color:#AAB3B4; }



#footer img {

	margin-right:8px;

	height:31px;

	width:88px;

	}



/************************************************

*	Search Form									*

************************************************/



#searchdiv {

	margin: 10px 10px 10 px 5px;

	padding: 10px;

	}

	

#searchform {

	margin: 10px 10px 10px 0px;

	padding: 10px 5px;

	overflow: hidden;

	}

	

#s {

	color: #323232;

	font-size: 11px;

	padding: 2px;

	margin: 10px 0px 10px 0px;

	border: 2px solid #323232;

	}

	

#sbutt {

	background: #878787;

	color: #FFFFFF;

	font-size: 12px;

	font-family: Verdana, Helvetica, Sans-Serif;

	padding: 10px 20px 10px 20px;

	margin: 10px 10px 10px 10px;

	border: 2px solid #333333;

	cursor:pointer;

	}

	

/************************************************

*	Comments									*

************************************************/

	



#commentblock {

/*	background: #efefef; */

	color: #000;

	padding: 10px 5px 5px 5px;

	margin: 0px;

/*	border-top: 1px solid #4C666A;

	border-bottom: 1px solid #4C666A;  */

	}

	

#commentblock ol{

        list-style-position: inside;

	margin: 0px 0px 0px 0px;

	padding: 5px 0px 5px 0px;

        font-size: 10px;

        color: #000;

	}

	

.commentdate {

	font-size: 10px;

	padding-left: 0px;

	}

#commentlist li p{

	margin-bottom: 8px;

	line-height: 16px;

	padding: 0px;

	}



.commentname {

	color: #333333;

	margin: 0px;

	padding: 5px 5px 5px 0px;

	}



.commentinfo{

	clear: both;

	}



.commenttext {

	margin: 0px 0px 5px 0px;

	padding: 3px 8px 0px 8px;

	background: #FFF;

	border: 1px solid #DEDEDE;

        font-family: Verdana, Arial, Helvetica, sans-serif; 

        font-size: 10px;

	font-style: normal;

        line-height: 16px;

        color: #323232;

	}



.commenttext-admin {

	clear: both;

	margin: 0px 0px 5px 0px;

	padding: 3px 8px 0px 8px;

font-size: 10px;

color: #c00;

	background: #FFFFFF url("images/comment.gif") no-repeat top;

	}



#commentsformheader{

	padding-left: 10px;

	}



#commentsform{

	text-align: left;

	margin: 0px 10px 0px 10px;

	padding: 0px;

	}



#commentsform form{

	text-align: left;

	margin: 5px 5px 5px 5px;

        padding:0px;

	}



#commentsform p{

	margin: 5px 0px 5px 0px;

        padding: 0px 0px 0px 0px;

        font-style: normal;

        font-size: 11px;

	}



#commentsform form textarea{

	width: 100%;

	}

	

p.comments_link  img{

	margin: 0px;

	padding: 0px;

	border-top-style: none;

	border-right-style: none;

	border-bottom-style: none;

	border-left-style: none;

	}



img.avatar {float:right; margin-right:20px; border: 1px solid #4C666A;}



.awaiting { color: #886353; }



.auth-name { font-family: Georgia, "Times New Roman", Times, serif; font-size: 12px; font-weight: bold; color:#000;}



.auth-time { font-size: 10px; font-weight: normal; color:#616161; font-style:italic;}



#comments, #respond { text-transform:uppercase; font-size: 10px; margin-left: 20px; padding-left: 20px;}





/************************************************

*	Wordpress Suggestions				*

************************************************/



.aligncenter {

	display: block;

	margin-left: auto;

	margin-right: auto;

}



.alignleft {

	float: left;

}



.alignright {

	float: right;

}



.wp-caption {

	border: 1px solid #ddd;

	text-align: center;

	background-color: #f3f3f3;

	padding-top: 4px;

	margin: 10px;

	-khtml-border-radius: 3px;

	-webkit-border-radius: 3px;

	border-radius: 3px;

}



.wp-caption img {

	margin: 0;

	padding: 0;

	border: 0 none;

}



.wp-caption-dd {

	font-size: 11px;

	line-height: 17px;

	padding: 0 4px 5px;

	margin: 0;

}



.runApplet {

	display:block;

	width:130px;

	height:28px;

	line-height:27px;

	font-weight:bold;

	font-size:15px;

	text-align:center;

	-webkit-border-radius:8px;

	-khtml-border-radius:8px;

	border-radius:8px;

	border:2px solid #AAA;

	color:#FFF !important;

	}



.runApplet:hover {

	border:2px solid #FFFF00;

	color:#FFFF00 !important;

	text-decoration:none !important;

	}



/* YD recent posts */

.yd_rp_widget h4 {

	font-weight:normal !important;

	margin-top:2px !important;

	padding:0px !important;

	}



#tcform {

	padding:12px;

	border-radius:9px;

	-webkit-border-radius:9px;

	-khtml-border-radius:9px;

	background:#F4F4F4;

	border:1px solid #E2DDDE;

	}



#tcform table {

	margin-bottom:5px;

	}



#tcform td {

	text-align:right;

	}



#tcform input {

	margin:0px 12px 5px 0px;

	padding:3px 4px;

	border-radius:3px;

	-webkit-border-radius:3px;

	-khtml-border-radius:3px;

	border:1px solid #E2DDDE;

	}



#tcform textarea {

	margin-top:4px;

	margin-bottom:5px;

	padding:3px 4px;

	border-radius:3px;

	-webkit-border-radius:3px;

	-khtml-border-radius:3px;

	border:1px solid #E2DDDE;

	}



.tcf_label {

	font-size:12px;

	}



#contactsubmit:hover {

	border:1px solid #999;

	cursor:pointer;

	}



.appIcon {

	margin:3px;

	vertical-align:-7px;

	}



.launchLegend td {

	padding:3px 6px;

	font:12px/18px Verdana, Arial, Helvetica, sans-serif;

	}



.launchLegend img {



	}



/************************************************

*	Applets listing page				*

************************************************/

	

#applets {

	margin-left:0px !important;

	list-style:none !important;

	columns:253px 3;

	-webkit-columns:253px 3; /* Safari and Chrome */

	-moz-columns:253px 3; /* Firefox */

	}



#applets li {

	margin:0px 0px 4px 0px;

	padding:1px 11px 3px 9px;

	width:268px;

	background:transparent url("images/bullet.gif") 0px 10px no-repeat;

	display:inline-block;

	}



.trigger {

	display:inline-block;

	vertical-align:middle;

	margin-left:3px;

	margin-top:3px;

	}



.tooltip {

	display:none;

	background:#FFF;

	padding: 3px 12px 12px 12px;

	position: absolute;

	z-index: 9999;

	width: 296px;

	text-align:left;

	box-shadow: 0px 0px 5px #AAA;

	-webkit-box-shadow: 0px 0px 5px #AAA;

	}



.tooltip .ttclose {

	float:right;

	text-align:right;

	font-size:10px;

	cursor:pointer;

	}



.tooltip img {

	clear:both;

	margin-top:4px;	

/*	width:296px !important; */

	}



body .tooltip {

	border-width: 2px;

	}



/************************************************

*	Single applet page				*

************************************************/





/* tabs *************************************** */



/* this stuff for when not using jquery-ui css

.ui-tabs-nav li {

	float:left;

	margin:0px 4px 0px 0px;

	border-top-right-radius:4px;

	border-top-left-radius:4px;

	border-top:1px solid black;

	border-left:1px solid black;

	border-right:1px solid black;

	}



.ui-tabs-nav li a {

	padding:0px 14px;

	line-height:24px;

	}



.ui-tabs-panel {

	border-top:1px solid black;

	padding-top:12px;

	clear:both;

	}



.ui-state-active li {

	}

*/



/* this stuff for overriding jqueryui css */ 



.ui-widget-header {

	background:none !important;

	border-width:0px 0px 1px 0px !important;

	}



.ui-widget-content {

	border:none !important;

	padding:0px !important;

	}



.ui-tabs-panel {

	border:none !important;

	padding:0px !important;

	}



.ui-tabs {

	padding:0px !important;

	}



.ui-tabs-nav {

	margin-top:6px !important;

	margin-bottom:9px !important;

	border-bottom-left-radius:0px !important;

	border-bottom-right-radius:0px ! important;

	}



#tabs-description img {

	margin-right:12px;

	margin-bottom:12px;

	float:left;

	}



#applet_selector {

	margin:12px; 0px;

	}



#applet_selector a {

	font-weight:bold;

	}



#applet_selector a:link, #applet_selector a:visited	{ color:#993333; text-decoration:none; outline:none;}

#applet_selector a:hover, #applet_selector a:active	{ color:#993333; text-decoration:underline; outline:none;}



#mathlet-frame {

	display:block; 

	margin:auto;

	width:836px;

	}



li.activity {

	line-height:20px;

	}



.language {

	display:inline-block;

	padding:2px 18px;

	margin-right:6px;

	border:1px solid #555555;

	border-radius:4px;

	background:#F4F4F4;

	}



#demo_video {

	display:block;

	margin:auto;

	}



.youtube-player {

	display:block;

	margin:auto;

	}



.demo-video-list li {

	line-height:24px;

	}



#site-map {

	border-spacing:2px;

	border-collapse:separate;

	}



#site-map th {

	font-weight:bold;

	padding:6px; 12px;

	font-size:12px;

	line-height:18px;

	}



#site-map td {

	background:#F9F6F6;

	padding:6px; 12px;

	border-spacing:2px;

	font-size:12px;

	line-height:18px;

	}



.yes {

	width:10px;

	height:10px;

	vertical-align:1px;

	}



li.about {

	font-size:12px;

	line-height:18px;

	}



.latex {

	border:0;

	float:none;

	display:inline;

	}

#mathlets-page h2 {
	margin: 2rem 0 1rem 0;
}

#mathlets-page ul.submenu {
	display: flex;
    font-size: 1.1rem;
    text-decoration: underline;
    margin-top: 2rem;
    justify-content: center;
}

#mathlets-page ul.submenu li {
	margin-right: 30px;
}