/*
 Theme Name: CRE Child
 Description: Custom theme created by Sametz Blackstone for MIT Center for Real Estate; child theme modified by Tobin W. Curran
 Author: Tobin W. Curran
 Author URI: tobinwcurran.com
 Template: cre
 */

@import url("../cre/style.css");

/*	README! it's kind of important.
 *
 *  If you're looking to make changes to the TinyMCE editor, you need to make them in the file "editor-style.css"
 * 	I don't have time to figure out the technical reason, but there you have it.  Any rules you set here,
 * 	you have to set them in the editor-style.css file to achieve WYSIWYG.  On the plus side, editor-style.css requires
 * 	less specificity for some reason.
 *
 * 	--TWC 29 January 2013
 *
 */

/*Form Manager Overrides
 * these overrides rely on CSS specificity heirarchy.  i.e. prefixing Form Manager's classes and ids with the "body" tag
 * results in a more specific CSS definition. --TWC 28 Dec 2012
 */
body .fm-form input.submit {
	float: none;
	display: block;
	margin: 0 Auto;
	margin-top: 25px;
}

body #fm-item-custom_list-50dcb1809f388 table > tbody > tr td {
	width: 325px;
}

body #fm-item-custom_list-50dcb1809f388 table > tbody > tr td input {
	display: inline-block;
	float: left;
}

/* This Section is specific to the "Contact Form" form.
 * The IDs below were genertated by Form Manager when the form was created.  I'm not sure how persistent these IDs are, but
 * be sure to inspect the elements if something goes haywire.  Also, they'll undoubtedly change if elements of this form are deleted
 * and/or added. --TWC 28 Dec 2012
 */
body #fm-item-note-50ddecfbc5a4b table > tbody > tr > td,
body #fm-item-note-50ddecfbc5a4b table > tbody > tr > td > label,
body #fm-item-note-50ddfbaace4f4 table > tbody > tr > td,
body #fm-item-note-50ddfbaace4f4 table > tbody > tr > td > label {
	width: 479px !important;
	font-size: 20px;
	color: #FFCB05;
}

/* Each of the following rules set the width of each "label" and its containint "td" for the
 * checkboxes in the "Contact Form".  You could roll all of them into one CSS rule, but this
 * was easier to keep track of -- One Rule for each unique ID.
 *
 * I've put the label text above each rule for your convenience. (be aware tha a user may have changed the
 * label text at some point.. you'll figure it out, I'm sure.)--TWC 28 Dec 2012
 *
 */

/* E-mail notice of info sessions and other events for prospective Master's degree program applicants.*/
body #fm-item-checkbox-50ddebdbc65e3 table > tbody > tr > td,
body #fm-item-checkbox-50ddebdbc65e3 table > tbody > tr > td > label {
	width: 400px !important;
}

/* E-mail newsletter, quarterly notice of events and news.*/
body #fm-item-checkbox-50ddec181a543 table > tbody > tr > td,
body #fm-item-checkbox-50ddec181a543 table > tbody > tr > td > label {
	width: 400px !important;
}

/* Email (PDF) MIT/CRE information packet.*/
body #fm-item-checkbox-50ddf61fde5a1 table > tbody > tr > td,
body #fm-item-checkbox-50ddf61fde5a1 table > tbody > tr > td > label {
	width: 400px !important;
}

/* Information about the Partnership program.*/
body #fm-item-checkbox-50ddf62105099 table > tbody > tr > td,
body #fm-item-checkbox-50ddf62105099 table > tbody > tr > td > label {
	width: 400px !important;
}

/* Information about the Professional Development Institute.*/
body #fm-item-checkbox-50ddf622084e1 table > tbody > tr > td,
body #fm-item-checkbox-50ddf622084e1 table > tbody > tr > td > label {
	width: 400px !important;
}

/* E-mail newsletter, quarterly notice of events and news.*/
body #fm-item-checkbox-50ddf61fde5a1 table > tbody > tr > td,
body #fm-item-checkbox-50ddf61fde5a1 table > tbody > tr > td > label {
	width: 400px !important;
}

/*Images in Posts; A Refinenment in Style
 *
 * Here are two classes intended for a <div> placed around an image in the posts & pages.  Place the <div> around the <img> tag or the [caption] shortcode
 * and assign the appropriate class
 *
 * These classes rely on CSS specificity heirarchy.  viz. prefixing the classes with the "body" tag and the "content" class
 * results in a more specific CSS definition, and accordingly, bumps the classes up in the CSS heirarchy.  If they stop working, try adding
 * "!important" after each of the rules.
 *
 * --TWC 29 January 2013
 *
 *
 */

html body div.content div.postImageRight {
	float: right;
	margin-left: 20px;
}

html body div.content div.postImageLeft {
	float: left;
	margin-right: 20px;
}

/*	Remember! it's kind of important.
 *
 *  If you're looking to make changes to the TinyMCE editor, you need to make them in the file "editor-style.css"
 *
 * 	--TWC 29 January 2013
 *
 */

/*Here is the style section for the Events Plugin
 *
 */

html body div.content div.event-item{
	margin-bottom: 15px;
}

html body div.content div.event-item h3, html body div.content div.event-item h4 {

}

html body div.content div.event-item h4 span.event-speaker-name,
html body div.content div.event-item h4 span.event-time-name,
html body div.content div.event-item h4 span.event-location-short-name,
html body div.content div.event-item h4 span.event-sponsor-name {
	font-family: 'Raleway', sans-serif;
	font-size: 90%;
	letter-spacing: 1.5 normal;
}

/*--This sections builds on the Main nav and Sub-main Nav sections in the S-B style.css
 *  starting on line 304.  I've just added targets for new category items. */

/*-- Main nav --*/
.category-partners #menu-item-238 a,
.category-student-profiles #menu-item-235 a,
.category-theses-abstracts #menu-item-235 a,
.category-student-research-projects #menu-item-235 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2008 #menu-item-235 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2009 #menu-item-235 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2010 #menu-item-235 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2011 #menu-item-235 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2012 #menu-item-235 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2013 #menu-item-235 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2014 #menu-item-235 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2015 #menu-item-235 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2016 #menu-item-235 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2017 #menu-item-235 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2018 #menu-item-235 a, /*-New Category selector --TWC-*/
#main_nav .menu .current-menu-parent a,
#main_nav .menu .current-menu-item a,
#main_nav .menu .current-menu-parent a:hover,
#main_nav .menu .current-menu-item a,
#main_nav .menu .current-page-ancestor a {
	background-color: rgb(235, 189, 7);
	color: rgb(50,50,50) !important;
}

.category-partners #menu-item-238 .sub-menu a,
.category-student-profiles #menu-item-235 .sub-menu a,
.category-theses-abstracts #menu-item-235 .sub-menu a,
.category-student-research-projects #menu-item-235 .sub-menu a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2008 #menu-item-235 .sub-menu a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2009 #menu-item-235 .sub-menu a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2010 #menu-item-235 .sub-menu a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2011 #menu-item-235 .sub-menu a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2012 #menu-item-235 .sub-menu a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2013 #menu-item-235 .sub-menu a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2014 #menu-item-235 .sub-menu a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2015 #menu-item-235 .sub-menu a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2016 #menu-item-235 .sub-menu a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2017 #menu-item-235 .sub-menu a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2018 #menu-item-235 .sub-menu a, /*-New Category selector --TWC-*/
#main_nav .menu .current-menu-parent .sub-menu a,
#main_nav .menu .current-menu-item .sub-menu a,
#main_nav .menu .current-menu-parent .sub-menu a:hover,
#main_nav .menu .current-menu-item .sub-menu a,
#main_nav .menu .current-page-ancestor.sub-menu a {
	background-color: none !important;
}

/*----- SUB-main_nav -----*/
#main_nav .sub-menu {
	display: none; /*-- Do not display by default unless we are on a page that is a parent or contains children pages--*/
}
.category-partners #menu-item-238 .sub-menu,
.category-theses-abstracts #menu-item-235 .sub-menu,
.category-student-profiles #menu-item-235 .sub-menu,
.category-student-research-projects #menu-item-235 .sub-menu, /*-New Category selector --TWC-*/
.category-theses-abstracts-2008 #menu-item-235 .sub-menu, /*-New Category selector --TWC-*/
.category-theses-abstracts-2009 #menu-item-235 .sub-menu, /*-New Category selector --TWC-*/
.category-theses-abstracts-2010 #menu-item-235 .sub-menu, /*-New Category selector --TWC-*/
.category-theses-abstracts-2011 #menu-item-235 .sub-menu, /*-New Category selector --TWC-*/
.category-theses-abstracts-2012 #menu-item-235 .sub-menu, /*-New Category selector --TWC-*/
.category-theses-abstracts-2013 #menu-item-235 .sub-menu, /*-New Category selector --TWC-*/
.category-theses-abstracts-2014 #menu-item-235 .sub-menu, /*-New Category selector --TWC-*/
.category-theses-abstracts-2015 #menu-item-235 .sub-menu, /*-New Category selector --TWC-*/
.category-theses-abstracts-2016 #menu-item-235 .sub-menu, /*-New Category selector --TWC-*/
.category-theses-abstracts-2017 #menu-item-235 .sub-menu, /*-New Category selector --TWC-*/
.category-theses-abstracts-2018 #menu-item-235 .sub-menu, /*-New Category selector --TWC-*/
#main_nav .current-menu-item .sub-menu,
#main_nav .current-menu-ancestor .sub-menu,
#main_nav .current-page-ancestor .sub-menu {
	border-bottom: 1px solid rgb(200, 200, 200);
	display: block;
	margin: 0 20px;
	padding-bottom: 10px;
	position: absolute;
	left: 0;
	top: 57px;
	width: 960px;
}
#main_nav .sub-menu li {
	margin-right: 0;
}
#main_nav .sub-menu li a {

	border-left: 1px solid rgb(256, 256, 256);
	font: normal 138.5%/1 "BebasNeueRegular", "Helvetica", sans-serif;
	height: auto;
	padding: 0 0.5em;
}
#main_nav .sub-menu li:first-child a {
	border: none;
	margin: 0;
}
.category-page,
.category-page:hover,
.category-partners #menu-item-209 a,
.category-theses-abstracts #menu-item-93 a,
.category-student-profiles #menu-item-93 a,
.category-student-research-projects #menu-item-93 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2008 #menu-item-93 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2009 #menu-item-93 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2010 #menu-item-93 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2011 #menu-item-93 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2012 #menu-item-93 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2013 #menu-item-93 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2014 #menu-item-93 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2015 #menu-item-93 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2016 #menu-item-93 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2017 #menu-item-93 a, /*-New Category selector --TWC-*/
.category-theses-abstracts-2018 #menu-item-93 a, /*-New Category selector --TWC-*/
#main_nav .current-menu-item .sub-menu li a:hover,
#main_nav .current-menu-parent .sub-menu li a:hover,
#main_nav .sub-menu a:hover,
#main_nav .current-menu-item .sub-menu .current-menu-item a,
#main_nav .current-menu-parent .sub-menu .current-menu-item a,
#main_nav .sub-menu .current-page-ancestor a,
.menu li.active a {
	background-color: rgb(255,255,255) !important;
	color: rgb(235,189,7) !important;
}

#main_nav .sub-menu a {
	background: none !important;
}

#main_nav .current-menu-item .sub-menu li,
#main_nav .current-menu-parent .sub-menu li,
#main_nav .current-menu-item .sub-menu li a,
#main_nav .current-menu-parent .sub-menu li a,
#main_nav .current-menu-item .sub-menu li a:hover,
#main_nav .current-menu-parent .sub-menu li a:hover {
	background: none;
}

/*
 * Changes to the Body
 */

.container_16 .content a{
	color: rgb(50,50,50);
	text-decoration: underline !Important;
}

.container_16 .content a:underline {
	color: rgb(235,189,7);
	text-decoration: underline !Important;
}



/*Changes to the footer:*/

#mit {
	border-top: none;
	/*background: url(images/double_border_top.gif) top repeat-x;*/
	color: rgb(235, 189, 7);
	font: normal 123.1%/1 "BebasNeueRegular", "Helvetica", sans-serif;
	letter-spacing: 5px;
	padding-top: 0;
}

#mit a{
	color: rgb(97, 8, 18);
	text-decoration: none;
}

#mit a:hover{
	color: rgb(97, 8, 18);
	text-decoration: underline;
}

#footer-logos {
	border-top: 4px double #993333;
	/*background: url(images/double_border_top.gif) top repeat-x;*/
	color: rgb(235,189,7);
	font: normal 123.1%/1 "BebasNeueRegular", "Helvetica", sans-serif;
	letter-spacing: 5px;
	padding-top: 15px;
}

#footer-logos div#SA-n-P-logo img {
	float: left;
	margin-top: -10px;
}

#footer-logos div#SA-n-P-logo img {
	width:70px;
}

#footer-logos div#footer-mit-logo img {
	float: left;
	padding-left: 25px;
}
#page_content.grid_9 div.content div.toggleVideo iframe {
	width:640px;
	height:360px;
}

/* Custom CSS */

/* Headline Link Color */

.featured_post a{
	color: #ebbd07;
}

/* Table Border */

.content td { 
	border: 1px solid #555;
}

/* Logo Width */

#logo img {
	width:400px;
}