/*Moved mobile menu styles to here.*/
@import url("/templates/CNS_3/css/style_mobile_menu.css");

body {background-image: url('/templates/CNS_3/images/msibg.png'); background-repeat: repeat-x; }
p a, strong, .nav-header {/*color:#007EA3 !important;*/}
h4 {color: #005f86;} 


#newsreel3 {
	border-top: 1px solid #C3C3C8; 
	margin: 10px 0 0 0;
	margin-left: -20px;
	margin-right: -20px;
	width: calc(100% + 40px);
	padding: 25px 20px;
	background: #E4DBD8;
}

body#msi .container-fluid #credo {
	border: none;
	margin: 0;
}

body#msi .container-fluid #credo #makeagift {
	padding: 0;
}

#newsreel3 div#fd.eb .eb-mod-thumb .eb-mod-image {
	border: none;
	padding: 0;
}

/* .jeventslatest .jeviconnotdate {margin: 16px 0px 3px 50px!important;} */

/* .container-fluid-footer {margin-top: 20px;} */

#topnav2 #js-mainnav.megamenu.blue  {box-shadow: none;max-width: 570px;float: right;margin-right: 0px;}
#js-mainnav.megamenu.blue li.mega.first .childcontent-inner { margin-left: 42px;}
#js-mainnav.megamenu.blue .childcontent .moduletable ul li a.headerlink {color:#007EA3 !important;}

li.mega.last .childcontent-inner {margin-left: 10px;}
/* li:nth-of-type(4) .childcontent-inner {margin-left: 166px;} */

#js-meganav-msi li:nth-of-type(5) .childcontent-inner-wrap {display: inline;} 
#js-meganav-msi li:nth-of-type(4) .childcontent-inner-wrap {margin-left: 156px;} 
#js-meganav-msi li:nth-of-type(3) .childcontent-inner-wrap {margin-left: 262px;}
#js-meganav-msi li:nth-of-type(2) .childcontent-inner-wrap {margin-left: 359px;}


/* New menu css */
#topnav2 ul.menuTop  {  width: 58%; float: right; margin: 0 2px 0 25px; position: relative; z-index: 100;} /* THIS IS NOW THE SPAN 12 WIDTH!!! */
#topnav2.span12 ul li {}

#aboutMenuMSI {background: #f7f7f7; display: none; box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.5); margin-top:1px; position: absolute; z-index: 100; /*margin-left: 23px;*/ }
#visitMenu {background: #f7f7f7; display: none; box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.5); margin-top:1px; position: absolute; z-index: 100; /*margin-left: 133px;*/ }
#researchMenu {background: #f7f7f7; display: none; box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.5); margin-top:1px; position: absolute; z-index: 100; /*margin-left: 242px;*/ }
#academicsMenu {background: #f7f7f7; display: none; box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.5); margin-top:1px; position: absolute; z-index: 100; /*margin-left: 242px; */ }
#conditionsMenu {background: #f7f7f7; display: none; box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.5); margin-top:1px; position: absolute; z-index: 100; /*margin-left: 242px;*/  }


.menuWrapper {height: 31px; padding-bottom: 0;}

div[id*="Menu"] {box-sizing: border-box; padding: 10px 10px 10px 10px; border-radius:0 0 5px 5px;}
div[id*="Menu"] ul.nav.menu li a.headerlink {margin-top: 20px;}
div[id*="Menu"] ul.nav.menu li a {margin: 12px 0; display: block;}
#topnav2 ul.nav.menu li[class*='item-'] {margin: 5px 0;}
ul.menuTop li.main {line-height: 30px;}
#topnav2 ul.nav.menu {margin-top: -14px;}
/*  #topnav2 ul.nav.menu li[class*='item-']:hover {background-color: #efefef !important; } */
.childcontent .moduletable ul li {display: block;}
/* .nav {margin-bottom: -20px;} */

/* End new menu CSS */


.tabbable .nav {margin-bottom: 20px; }
#ezblog-body .profile-connect .connect-links, #eblog-wrapper #section-author {display: none;}
#showcase { margin-top: 20px; }

.customlogo {margin: 23px 23px 0 23px; z-index: 5;  position: absolute; }
.customnewstitle h2 a{
//	font-size: 26px;
	color: #333;
}

.customnewstitle h2 a:hover {
	color: #bf5700;
}


/*#search { float: right; margin-left: 712px; position: absolute; clear: both; margin-top: 10px;}*/

/*
#search input {font-size: 14px;}
#search tbody {border-top: none;}
#search .gsc-input-box {border: none; background: transparent;}
#search td.gsc-input {width: 200px;}
#search form.gsc-search-box {width: 250px; background: transparent;}
#search .gsib_a {padding: 6px 0px 0;}
#search .gsc-input-box-focus, #search .gsc-input-box-hover {border: none; box-shadow: none;}
.gsc-search-box-tools .gsc-search-box .gsc-input {padding-right: 4px;}
*/
#search input.gsc-search-button-v2 {padding: 4px 20px; background: #454546;}

#search input.gsc-input {
	width: 148px;
	height: 30px;
	background: transparent !important;
	border: none;
	border-radius: 0; 	
  box-shadow: inset 1px 1px 2px #ccc;
  color: #000;
}

.gsc-search-button-v2, .gsc-search-button-v2:hover, .gsc-search-button-v2:focus {
	background: #666666 !important;
} 

#js-meganav-msi.childcontent-inner.clearfix:first-of-type { margin-left: 42px !important; }


p.date { color: #454546; font-weight: bold; margin: 20px 0 0px 10px; padding-top: 99px;}
.moduletableconditions { font-family: 'Benton Sans Cond Reg' !important; color: #454546 !important; display: block; line-height: 1.4em; padding: 10px; font-size: 14px;}
.moduletableconditions li { line-height: 16px; }
.moduletableconditions img { margin-left: 10px; }
#snapshots ul { color: #454546; display: inline-block; height: 120px; margin-right: -5px; max-width: 300px; }
/* #djslider247, #djslider213 { margin-top: 20px; } */
/* #makeagift div[id*=djslider] {padding: 19px 8px 0 0;} */
.customgiftboxmsi { background: none; font-family: 'Benton Sans RE', Helvetica, sans-serif; font-size: 12px; line-height: 16px; margin-top: 10px; }
.customgiftboxmsi img { padding-top: 10px; }

/* CNS RSS Feed Tray -- Title/im order changed by default.php in defaultCNS RSS tmpl folder */

div.srfrContainer ul.srfrList {border-bottom: 1px solid #c3c3c8;}
div.srfrContainer ul.srfrList li {padding: 0; margin-right: 2.25%; vertical-align: top; border-bottom: none;}
div.srfrContainer ul.srfrList li:last-child {margin-right: 0;}
div.srfrContainer ul.srfrList li img.srfrImage {width: 219px;}
li.srfrRow {display: inline-block; max-width: 216px;}
li.srfrRow a {line-height: 16px;}

/*Archives Sidebar */ 
#sidebar2.span4 img {
//	width: 170px;
}

.span3 .moduletablesidebar2:first-of-type {margin-top: 51px;}
.moduletablesidebar2 {margin-top: 5px; overflow: hidden; box-sizing: border-box; font-family: 'Benton Sans RE', Helvetica, sans-serif; font-size: 12px;  border-top: 1px solid #D7D9D8;}
.moduletablesidebar2 h3 {font-size: 30px !important; line-height: 1em !important; text-transform: uppercase; font-family: "Benton Sans Cond Reg", Helvetica, sans-serif; margin-bottom: 10px;}
.mod-months {margin-left: 20px;}

.moduletablerss h3:first-child {margin: 10px 0 5px 0; font-size: 30px !important; text-transform: uppercase; font-family: 'Benton Sans Cond Reg', Helvetica, sans-serif; font-weight: normal;}

span.blog-category {display: none;}
#newsreel2 {display: none;}

.moduletablerss h3:first-child {margin: 10px 0 5px 0; font-size: 30px !important; text-transform: uppercase; font-family: 'Benton Sans Cond Reg', Helvetica, sans-serif; font-weight: normal;}

/*Spotlights frontpage */
.mod-post-title a { color: #cc5500; font-size: 12px; font-weight: normal; font-style: italic; font-family: 'Benton Sans RE'; font-weight:normal !important; margin: 0 0 10px 0; line-height: 1.4em;}
.ezb-mod .ezb-mod .mod-post-image {overflow: hidden; float: left; height: auto; width: 219px;}
.ezb-mod .mod-item {margin-right: 3px;}


/* CALENDAR MESSAGE ALERTS */ 

#calendar .alert.alert-warning {display: none;}

@media screen and (max-device-width : 768px) { 
	body {background: #fff;}
}

@media screen and (min-device-width : 480px) and (max-device-width : 1200px) { 
body {background: #fff;}

}

div#utmsiSeal {
	float: left;
	margin-right: 30px;
	padding-left: 20px;
}

#banner2.span9 {
	width: 100%;
}

div#makeagift.span3 {
	display: none !important;
}

/****** EasyBlog Edits ******/

div#fd.eb .eb-mod-thumb .eb-mod-image,
div#fd.eb .eb-mod-thumb .eb-mod-image img {
//	height: 100% !important;
	max-height: 138px !important;
//	width: auto !important;
//	min-width: 100%;
	max-width: none !important;
//	overflow: hidden;
}

div#fd.eb .eb-mod-thumb .eb-mod-image {
	max-height: 150px !important;
}


#footer {
	padding: 10px 0;
}

#footer div {
	margin-left: 0;
	padding-right: 0;
}

@media (min-width: 1024px) {
	
	#footer div:first-child {
		width: 300px;
		margin-right: -35px;
	}
	
	#footer div:nth-child(2) p {
		    line-height: 24px;
	}
	
	#footer div:nth-child(3) {
		position: relative;
		left: -25px;
		margin-right: -35px;
	}
	
	#footer div.span2 {
		width: 175px;
	}
	
	div.socialIcons {
		position: relative;
		left: 30px;
		width: 300px;
	}
	
	@-moz-document url-prefix() {
		div.socialIcons {
		position: relative;
		left: 30px;
		}
	}
}

@media only screen and (max-width: 768px) {
	
	#footer div:first-child {
		width: 310px;
		margin-right: -35px;
	}
	
	#footer div:nth-child(2) p {
		line-height: 24px;
	}
	
	
	#footer div:nth-child(2) {
		margin-right: -10px;
	}
	
	#footer div:nth-child(3) {
		position: relative;
		left: -5px;
		margin-right: -35px;
	}
	
	#footer div.span2 {
		width: 175px;
	}
	
	div.socialIcons {
		position: relative;
		left: 30px;
		width: 300px;
	}
	
	div#newsreel3 div.moduletable div#fd .eb-mod .mod-item {
		width: 49.5% !important;
	}
	
	div.srfrContainer ul.srfrList li img.srfrImage {
		width: inherit;
	}
	
	li.srfrRow {
		max-width: 100%;
	}
	
	#explorereel a {
		width: inherit;
		display: inline-block;
	}
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	div.socialIcons img {
		width: 40px;
	}
	
	div.socialIcons img[alt="UT Marine Science Institute"]{
		width: 100px !important;
	}
	
	div#utmsiSeal {
		width: 150px;
	}
}

.eb-mod-hold {
	display: inline-block !important;
	position: relative !important;
	width: 100% !important;
	padding: 0  !important;
	overflow: hidden !important;
}

.eb-mod-hold .eb-mod-img-responsive {
	padding-top: 65% !important;
}

.eb-mod-hold .eb-mod-img-responsive img {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

div#fd.eb .eb-mod-title {
	max-width: 219px;
}

@media (max-width: 768px) {
	body {
		background: #fff;
	}
	
	body#msi.otherhome {
		padding-left: 0;
		padding-right: 0;
	}
	
	body#msi > div.custom {
		margin-top: 50px;
	}
	
	body#msi > div#pagecontainer > div.container-fluid {
		padding: 0;
	}
	
	body#msi.otherhome > div#pagecontainer > div.row-fluid > div#showcase {
		margin-top: 0;
		margin-bottom: 20px;
	}
	
	body#msi.otherhome #eventscol,
	body#msi.otherhome #explorereel div#explorerow div.moduletableexplore div.customexplore h2,
	body#msi.otherhome div#newsreel div.moduletablerss h3,
	body#msi.otherhome div#newsreel div.moduletablerss div.srfrContainer ul.srfrList li.srfrRow h3,
	body#msi.otherhome div#newsreel3 div.moduletablenewstitle div.customnewstitle h2,
	body#msi.otherhome div#newsreel3 div.moduletable div#fd div.eb-mod div.mod-item div.eb-mod-title {
		padding-left: 10px;
	}
	
	body#msi.otherhome div#newsreel3 div.moduletablemorenewstitle div.custommorenewstitle h3,
	body#msi.otherhome div#newsreel div.custommorenewstitle h3 {
		padding-right: 10px;
	}
	
	div#fd.eb .mod-items-grid > .mod-grid {
		width: 50% !important;
	}
	div#fd.eb .mod-items-grid > .mod-grid-3 {
		clear: both;
	}
	
	body#msi #menusearch div[id*="nextend-accordion-menu-"] dl dt,
	body#msi #menusearch div[id*="nextend-accordion-menu-"] dl dt a,
	body#msi #menusearch div[id*="nextend-accordion-menu-"] dl dt a span{
		font-size: 16px !important;
		padding-top: 10px !important;
	}
	body#msi #menusearch div[id*="nextend-accordion-menu-"] {
		background: #333f48;
	}
	body#msi #menusearch #search {
		display: none;
	}
}

@media screen and (max-width: 480px) {
	div#fd.eb .mod-items-grid > .mod-grid {
		width: 100% !important;
	}
	div#fd.eb .mod-items-grid > .mod-grid img {
		width: 100% !important;
	}
	div#newsreel3 div.moduletable div#fd .eb-mod .mod-item {
		width: 100% !important;
	}
	div#newsreel3 div.moduletable div#fd .eb-mod .eb-mod-thumb .eb-mod-image {
		width: 100% !important;
		height: auto !important;
		max-height: none !important;
	}
	div#fd.eb .eb-mod-thumb .eb-mod-image, div#fd.eb .eb-mod-thumb .eb-mod-image img {
		max-height: none !important;
	}
}

div#fd.eb .eb-mod-img-responsive img {
	min-height: 100%;
	width: auto;
}

/*********  New MSI Map  ***********/

div#msiMap div#msiSubMap{
	position: relative;
	top: 0;
	left: 0;
//	margin-top: -68%;
}

div#mapText p span.orange,
div#mapDL p span.orange {
	color: #bf5700;
}

div#msiMap img {
	width: 100%;
	height: auto;
}

div#msiMap div[id*="pop-"] {
	position: absolute;
	top: 55%;
	left: 10%;
	width: 40%;
	max-width: 40%;
	min-height: 14.94%
	display: block;
	visibility: hidden;
}

div#msiMap div[id*="pop-"] p {
	padding: 35px 10px 10px 20px;
	border: 1px solid black;
	background: rgba(255, 255, 255, 0.75);
	box-shadow: 2px 2px 2px #888888;
}

div#msiMap div[id*="pop-"] img {
	width: 100%;
	height: auto;
	margin-top: -10%;
	margin-left: -2.5%;
	margin-bottom: 10px;
}

div#msiMap div[id*="pop-"] div[id*="btn-"] a {
	position: absolute;
	display: block;
	visibility: visible;
	height: 5.35%;
}

div#msiMap div[id*="pop-"]:hover {
	visibility: visible;
}

div#msiMap div[id*="pop-"] div[id*="btn-01"] a {
	margin-top: -103.5%;
	left: 110.5%;
	width: 5.35%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-02"] a {
	margin-top: -127%;
	left: 156%;
	width: 5.35%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-03"] a {
	margin-top: -114%;
	left: 85%;
	width: 5.35%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-04"] a {
	margin-top: -122%;
	left: 118.5%;
	width: 5.35%;
	height: 12.5%
}
/*
div#msiMap div[id*="pop-"] div[id*="btn-05"] a {
	margin-top: -118.5%;
	left: 130.5%;
	width: 5.35%;
}
*/

div#msiMap div[id*="pop-"] div[id*="btn-05"] a {
	margin-top: -92%;
	left: 189%;
	width: 7.5%;
	height: 12.5%
}
/*
div#msiMap div[id*="pop-"] div[id*="btn-06"] a {
	margin-top: -138.5%;
	left: 143%;
	width: 5.35%;
}

div#msiMap div[id*="pop-"] div[id*="btn-07"] a {
	margin-top: -153.5%;
	left: 145%;
	width: 5.35%;
}
*/

div#msiMap div[id*="pop-"] div[id*="btn-06"] a {
	margin-top: -60%;
	left: 99%;
	width: 7.5%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-07"] a {
	margin-top: -138.5%;
	left: 63%;
	width: 7.5%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-08"] a {
	margin-top: -59.5%;
	left: 123.5%;
	width: 5.35%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-09"] a {
	margin-top: -81.5%;
	left: 100%;
	width: 5.35%;
	height: 12.5%
}
/*
div#msiMap div[id*="pop-"] div[id*="btn-10"] a {
	margin-top: -88%;
	left: 35%;
	width: 7.5%;
}
*/

div#msiMap div[id*="pop-"] div[id*="btn-10"] a {
	margin-top: -84.5%;
	left: 119.5%;
	width: 7.5%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-11"] a {
	margin-top: -56%;
	left: 63%;
	width: 7.5%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-12"] a {
	margin-top: -123%;
	left: 183.5%;
	width: 7.5%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-13"] a {
	margin-top: -85%;
	left: 138%;
	width: 7.5%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-14"] a {
	margin-top: -40%;
	left: 22%;
	width: 7.5%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-15"] a {
	margin-top: 82%;
	left: -11.5%;
	width: 7.5%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-16"] a {
	margin-top: 100%;
	left: -17.5%;
	width: 7.5%;
	height: 12.5%
}
/*
div#msiMap div[id*="pop-"] div[id*="btn-15"] a {
	margin-top: -158.5%;
	left: 195%;
	width: 7.5%;
}

div#msiMap div[id*="pop-"] div[id*="btn-14"] a {
	margin-top: -31%;
	left: 11.5%;
	width: 7.5%;
}

div#msiMap div[id*="pop-"] div[id*="btn-15"] a {
	margin-top: 80%;
	left: -15%;
	width: 7.5%;
}

div#msiMap div[id*="pop-"] div[id*="btn-16"] a {
	margin-top: 106.5%;
	left: -22%;
	width: 7.5%;
}
*/

div#msiMap div[id*="pop-"] div[id*="btn-17"] a {
	margin-top: 113%;
	left: 126%;
	width: 7.5%;
	height: 12.5%
}

div#msiMap div[id*="pop-"] div[id*="btn-18"] a {
	margin-top: 115.5%;
	left: 102%;
	width: 7.5%;
	height: 12.5%
}

div#mapDL {
//	margin-top: 68%;
}

#conditions h3 {
	color: #bf5700;
	font-weight: bold;
	font-family: "Benton Sans Cond Reg", Helvetica, sans-serif;
	text-transform: uppercase;
	font-size: 14px !important;
}


