
/* ---------- Basic Layout Styles ----------- */

html,body,#page  {
    height: 100%;
    margin: 0;
}
#page-wrapper {
    min-height: 100%;
    min-width:inherit;
}
#header {
    background: #fff;
}
#header #logo {
  position: absolute;
  top: 20px;
  padding-right: 20px;
}

#header div.section,
#featured div.section,
#messages div.section,
#main,
#triptych,
#footer-columns,
#content-bottom div.section/*,
#footer*/ {
    width: 100%;
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

#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;*/
  background: #2e2e2e;
  padding: 50px 0;
  margin-left: auto;
  margin-right: auto;
}

#page-title {
    margin: 0 auto;
}

#content-top {
    margin-bottom: 20px;
}

/** custom news, event and staff 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: right; /* LTR */
    position: relative;
}
#sidebar-second {
    /*display: inline;*/
    float: left; /* LTR */
    position: relative;
}
#sidebar-second {
  width: 310px;
  overflow: visible;
}

.one-sidebar #content #sidebar-second{

}
.one-sidebar #content #sidebar-second .section{
    padding: 0;
    overflow: visible;
}
.one-sidebar #content #sidebar-second .section .region{
    overflow: visible;
}
.no-sidebars #content {
    float: none;
    width:inherit;
}

#content-bottom > .section {
    width: 100%;
    margin: 0 auto;
}

#footer p{
    margin-bottom: 0;
}

#header-separator {
    width:100% !important;
}

@media all and (min-width: 960px) {

    #header div.section,
    #featured div.section,
    #messages div.section,
    #main,
    #triptych,
    #footer-columns/*,
    #footer */{
        max-width: 1050px;
    }
    #content,
    #sidebar-first,
    #sidebar-second,
    .region-triptych-first,
    .region-triptych-middle,
    .region-triptych-last,
    .region-footer-firstcolumn,
    .region-footer-secondcolumn,
    .region-footer-thirdcolumn,
    .region-footer-fourthcolumn {
        display: inline;
        float: left; /* LTR */
        position: relative;
    }
    .two-sidebars #content {
        margin-left: 25%;
        margin-right: 25%;
        width: 50%;
    }
    .node-type-event #main-content #content {
        /*width: 690px;*/
        width: 770px;
    }
    .one-sidebar #content {
        width: 770px;
    }
    .no-sidebars #content {
        width: 100%;
    }
    .sidebar-first #content {
        margin-left: 25%; /* LTR */
        margin-right: 0; /* LTR */
    }
    .node-type-event #main-content #content {
        margin-left: 266px;
    }
    .sidebar-second #content {
        margin-left: 280px;
        margin-right: 0;
        float: right;
    }
    #sidebar-first {
        width: 25%;
        margin-left: -100%; /* LTR */
    }
    #sidebar-second {
        width: 260px;
        margin-right: -260px;
        clear: none;
        float: left;
    }
    .node-type-event #sidebar-second{
        width: 260px;
        margin-right: -260px;
    }
    .region-triptych-first,
    .region-triptych-middle,
    .region-triptych-last {
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 33%;
    }
    .region-footer-firstcolumn,
    .region-footer-secondcolumn,
    .region-footer-thirdcolumn,
    .region-footer-fourthcolumn {
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0 10px;
        width: 25%;
    }
}



/* Small Devices  Tablet Portrait and Up */

@media all and (min-width: 769px) and (max-width: 959px) {

    #sidebar-first,
    .region-triptych-first,
    .region-triptych-middle,
    .region-triptych-last,
    .region-footer-firstcolumn,
    .region-footer-secondcolumn,
    .region-footer-thirdcolumn,
    .region-footer-fourthcolumn {
        display: inline;
        float: left; /* LTR */
        position: relative;
    }
    #sidebar-first,
    #sidebar-second {
        width: 50%;
    }
    #sidebar-second {
        margin-left: 50%; /* LTR */
    }
    .one-sidebar #sidebar-first,
    .one-sidebar #sidebar-second {
        width: 100%;
    }
    .one-sidebar #sidebar-second {
        margin-left: 0; /* LTR */
    }
    .region-triptych-first,
    .region-triptych-middle,
    .region-triptych-last {
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0 10px 0;
        width: 33%;
    }
    .region-footer-firstcolumn,
    .region-footer-secondcolumn {
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0 10px;
        width: 50%;
    }
    .region-footer-thirdcolumn,
    .region-footer-fourthcolumn {
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0 10px;
        width: 50%;
    }
    .region-footer-thirdcolumn {
        clear: both;
    }

    #content-bottom {
        padding: 20px !important;
    }

    #page-title {
        width: inherit;
    }

}



/* Extra Small Devices */

@media all and (max-width:768px) {


    #sidebar-second
    {
        float:none;
        clear:both;
        width:100% !important;
    }
    #content-bottom {
        padding: 10px !important;
    }


    #page-title
    {
        width: inherit;
    }
    
    #main-wrapper #footer{
      padding: 20px 0 10px 0;
    }

    .js .block-nice-menus {
      display:none;
    }
    
    .js .slicknav_menu {
      display:block;
    }
    
    #navigation{
      padding: 0;  
    }
    
    #navigation li{
      float: none !important;
    }

}

/* Tiny Devices */

@media all and (max-width:480px) {

}