
/* ---------- Basic Layout Styles ----------- */

html,body,#page  {
    height: 100%;
    margin: 0;
}
#page-wrapper {
    min-height: 100%;
    min-width: 1050px;
}
#header {
    background: #fff;
}
#header #logo {
    position: absolute;
    top: 20px;
    padding-right: 20px;
}
#header #faculty-site-name {
  position: absolute;
  top: 21px;
  left: 160px;
  font-size: 30px;
}
#header #faculty-site-name a {
  color: #231f20;
  line-height: 1.35em;
  text-decoration: none;
}
#header-separator {
    background-color: #ffcc00;
    display: block;
    height: 10px;
    left: 0;
    position: absolute;
    top: 80px;
    width: 960px;
}
#header #name-and-slogan {
    position: absolute;
    top: 26px;
    left: 205px;
}
#header div.section,
#main{
    width: 1050px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

#navigation {
    background: #2e2e2e;
    border-bottom: 2px solid #262626;
    height: auto;
    min-height: 36px;
    padding: 0;
    position: relative;
    width: 100%;
    z-index: 100;
}

#navigation .region-navigation,
#highlighted .region-highlighted {
    margin: 0 auto;
    max-width: 1050px;
}

#main-wrapper {
    background-color: #f6f6f6;
    padding-bottom: 20px;
}
#main-wrapper #main-content{
    min-height: 300px;
    padding-bottom: 20px;
}
#main-wrapper #footer{
    background: #f6f6f6 url(../images/layout/footer-top-border.png) repeat-x 0 0;
    margin-left: auto;
    margin-right: auto;
}

#page-title {
    width: 1050px;
    margin: 0 auto;
    line-height: 1.5em;
}

#content-top {
    margin-bottom: 20px;
}

/** custom news and event node pages **/
.node-type-news #main #content #block-system-main > .content,
.node-type-staff #main #content #block-system-main > .content {
    border: 1px solid #d7d7d7;
    background: #fff;
    padding: 25px 20px 10px 20px;
}

#content {
    display: inline;
    float: left; /* LTR */
    position: relative;
}
#content.with-title h1 {
    margin-bottom: 30px;
}

#sidebar-second {
    /*display: inline;*/
    float: right; /* LTR */
    position: relative;
}
#sidebar-second {
    width: 310px;
    overflow: visible;
}
.one-sidebar #content {
    width: 640px;
}
.one-sidebar #content.full {
     width: 1050px;
}

.one-sidebar #content #sidebar-second .section{
    padding: 0;
    overflow: visible;
}
.one-sidebar #content #sidebar-second .section .region{
    overflow: visible;
}
.no-sidebars #content {
    width: 1050px;
    float: none;
}

#content-bottom {
    background: #d7d7d7;
    padding: 20px 0;
    /* box-shadow: 0 4px 8px -8px #999999 inset; */
    -moz-box-shadow:    inset  0  8px 8px -8px #999999, inset  0 -8px 8px -8px #999999;
    -webkit-box-shadow: inset  0  8px 8px -8px #999999, inset  0 -8px 8px -8px #999999;
    box-shadow:        inset  0  8px 8px -8px #999999, inset  0 -8px 8px -8px #999999;
}
#content-bottom > .section {
    width: 1050px;
    margin: 0 auto;
}

#footer p{
    margin-bottom: 0;
}

#main-wrapper #footer{
  background: none repeat scroll 0 0 #2e2e2e;
  margin-left: auto;
  margin-right: auto;
  padding: 50px 0;
}

/* Iframes and Videos inside body fields */
#block-system-main .node .field-name-body iframe {
    max-width: 100%;
    width: 100% !important;
}
#block-system-main .node .field-name-body div.media-youtube-video {
    text-align: center;
    width: 100%;
}
#block-system-main .node .field-name-body iframe.media-youtube-player {
    height: 270px !important;
    width: 480px !important;
}
/* Heading inside body fields */
#block-system-main .node .field-name-body h1 {
    line-height: 1.5em;
}
