﻿/* ====================================================================================	*/
/* ========================= CAS SharePoint 2013 Template CSS =========================	*/
/* ============================== OmniPage Customization ==============================	*/
/* ====================================================================================	*/

#custom #o1 #pageContent { padding-bottom: 42px; padding-top: 16px; margin-left: -722px; padding-left: 40px; }
#custom #pageLayout { margin-top:54px; margin-left: 248px; width: 722px; border-left: 1px solid rgba(0,0,0,0.3); }
#custom #o1 #s4-bodyContainer {
    background: rgba(255, 255, 255, 1) url("/code/Images/pageBackground-content.png") repeat-x scroll left 144px;
    padding: 0;
}
#custom #currentNavigation { margin-left: -971px; }

.hideLeftNav #custom #pageLayout { width: 970px; margin-left: 0px; border: none; } 
.hideLeftNav #custom #o1 #pageContent { margin-left: 0px; position: static; }

/*These styles will be applied only in desktop resolutions*/
@media only screen and (min-width: 970px) { 
}

/* ====================================================================================	*/
/* ============================= Structural Link Detection ============================	*/
/* ====================================================================================	*/
/* These rules will highlight any link pointing to a Structural Navigation location.	*/
/* This will help users ensure that their links are properly created and compatible		*/
/* with Managed Metadata Navigation. Links to news articles are ignored because news	*/
/* is the one section on the site that still uses structural navigation.				*/
body.authenticated .opBodyText [href*=".aspx"]:not([href*="/news/"]):not([href*="http://"]) { background-color: rgb(216, 200, 158) !important; border: 1px solid rgb(114, 50, 44) !important; color: rgb(114, 50, 44) !important); padding: 1px 3px; }
body.authenticated .opBodyText [href*=".aspx"]:not([href*="/news/"]):not([href*="http://"]):hover:before { position: absolute;  display: block; padding: 25px; margin-left: -120px; margin-top: 30px; max-width: 240px; min-width: 240px; text-align: center; width: 240px; z-index: 10; background-color: rgb(237, 233, 224); border: 1px solid rgba(40, 62, 102, 0.3); color: rgba(40, 62, 102, 0.75); }
body.authenticated .opBodyText [href*=".aspx"]:not([href*="/news/"]):not([href*="http://"]):hover:before {
	content: "STRUCTURAL LINK ALERT: You probably used 'Insert link from Sharepoint' and not 'Insert link from Address'"; }

/* ====================================================================================	*/
/* ============================= Old Site Link Detection ==============================	*/
/* ====================================================================================	*/
/* These rules will highlight any link pointing to a location on an old, non-SharePoint	*/
/* site, typically the site from which this unit is relocating.							*/
/* URLs must be customized for each site.												*/
/* If they have multiple relocation sources, a set of rules should be added for each.	*/
body.authenticated .opBodyText [href^="http://www.history.udel.edu/"] { background-color: rgb(216, 200, 158) !important; border: 1px solid rgb(114, 50, 44) !important; color: rgb(114, 50, 44) !important; padding: 1px 3px; }
body.authenticated .opBodyText [href^="http://www.history.udel.edu/"]:hover:before { position: absolute; display: block; padding: 25px; margin-left: -120px; margin-top: 30px; max-width: 240px; min-width: 240px; text-align: center; width: 240px; z-index: 10; background-color: rgb(237, 233, 224); border: 1px solid rgba(40, 62, 102, 0.3); color: rgba(40, 62, 102, 0.75); }
body.authenticated .opBodyText [href^="http://www.history.udel.edu/"]:hover:before { 
	content: "OLD SITE LINK ALERT: This is probably a link to your old site."; }

