/************************************************************************************
smaller than 920
*************************************************************************************/
@media screen and (max-width: 1119px) {
	
    img, embed, object, video {
        max-width: 100% !important;
    }
    
    #navmenu ul.nice-menu li a {
        font-size: 18px;
    }

}

/************************************************************************************
smaller than 840
*************************************************************************************/
@media screen and (max-width: 959px) {
    #navmenu ul.nice-menu li a {
        padding: 0 29px;
        font-size: 15px;
    }
}

/************************************************************************************
smaller than 768
*************************************************************************************/
@media screen and (max-width: 768px) {
    #content, #sidebar {
        float: none;
        width: auto;
        clear: both;
    }
}

/************************************************************************************
smaller than 700
*************************************************************************************/
@media screen and (max-width: 767px) {
    body {
        padding-top: 60px;
    }
    
    #utility {
        display: none;
    }
    
    #header {
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-image: none;
        z-index: 99
    }
    
    .slideout-menu-toggle, .search-toggle {
        display: block;
        position: absolute;
        top: 0;
    }
    
    .slideout-menu-toggle {
        height: 40px;
        left: 0;
        padding: 20px 12px 0 12px;
        
    }
    
    .slideout-menu-toggle span {
        width: 30px;
        height: 4px;
        margin-bottom: 5px;
        display: block;
        background: #fff;
        border-radius: 1px;
    }
    
    .search-toggle {
        right: 0;
        height: 60px;
        width: 54px;
        background: url(../images/search-toggle.png) 50% 50% no-repeat;
    }
    
    #logo {
        width: 138px;
        height: 60px;
        float: none;
        background: url(../images/logo-mobile.png) 50% 50% / 114px 28.5px no-repeat;
        margin: 0 auto;
    }
    
    #header a:hover {
        background-color: #3c2248;
    }
    
    #navmenu .header-social {
        display: block;
        float: left;
        width: 100%;
        height: 60px;
        background: #555;
    }
    
    #navmenu .header-social li {
        margin-top: 18px;
    }

    #mobile-search {
        background: #666;
        padding: 12px 0;
        position: fixed;
        top: 60px;
        width: 100%;
        z-index: 9;
    }
    
    #mobile-search .search-box {
        background: none;
        color: #eee;
        border: none;
        font-style: italic;
        position: relative;
        left: 12px;
        height: 21px;
        width: 80%;
    }
    
    #mobile-search .search-button {
        position: absolute;
        right: 12px;
        height: 21px;
        width: 39px;
        background: #333;
        color: #fff;
        border: none;
        border-radius: 3px;
    }
    
    /**** NAVIGATION ****/
    #navmenu {
        position: fixed;
        left: -240px;
        top: 0;
        width: 240px;
        height: 100%;
        background: #656565;
        border-top: 0;
    }
    
    ul#nice-menu-1 ul {
        position: relative !important;
        visibility: visible !important;
    }
    
    #navmenu ul {
        clear: both;
    }
    
    #navmenu ul.nice-menu li {
        float: none;
    }

    #navmenu ul.nice-menu li a {
       padding: 0 18px;
       border-bottom: 1px solid #555;
    }
    
    #navmenu ul.nice-menu li a:hover, #navmenu ul.nice-menu li a.active {
        background: #4d305b;
        color: #fff !important;
    }

    #navmenu ul.nice-menu ul {
        box-shadow: none;
        display: none;
    }

    #navmenu ul.nice-menu ul li a {
        padding: 9px 18px;
        line-height: 17px !important;
        display: block !important;
        border-bottom: none;
    }
    
    #main-container {
        background: none;
    }
    
    #content-wrap {
        float: none;
        width: auto;
        background: none;
        padding: 0;
        margin: 12px;
    }

    #content-wrap-inner {
        padding: 0;
    }
    
    #content {
        background: #fff;
        padding: 18px 0;
        margin-bottom: 18px;
        float: left;
        width: 100%;
    }
    
    #content-inner {
        padding: 0 18px;
    }
    
    #sidebar {
        background: #fff;
        padding: 18px;
    }
    
    #footer {
        clear: both;
    }
    
    .footer-buttons {
      margin-top: 30px;
    }
    
    .view-news .attachment .featured-news-title {
        font-size: 28px;
        line-height: 30px;
    }
    
    .view-job-board .view-content {
        overflow-x: auto;
    }
    
    .view-job-board table {
        width: 700px;
    }
}


/************************************************************************************
smaller than 650
*************************************************************************************/
@media screen and (max-width: 690px) {
    .float {width: 100%; clear: both; margin: 0 0 18px 0;}
    
    
    
}

/************************************************************************************
smaller than 600
*************************************************************************************/
@media screen and (max-width: 600px) {
    .node-aware-issue .field-collection-container {
        float: left;
        width: 94%;
        margin: 0 0 12px 0;
    }
    
    .node-faculty #faculty-info, .node-faculty #faculty-bio, .view-faculty .views-row {
        float: left;
        width: 100%;
        clear: both;
        margin: 0 0 24px 0;
    }
    
    .view-faculty .views-row {
        margin: 0 0 24px 0;
        padding: 0 0 18px 0;
        border-bottom: 3px solid #eee;
    }
    
    /** layouts/columns **/
    .view-col4 {
        width: 48%;
        margin: 0 4% 36px 0;
    }
    
    .view-col4:nth-of-type(2n+1) {
        clear: both;
    }

    .view-col4:nth-of-type(2n) {
        margin-right: 0;
    }
    
    /**** STUDENT STORY VIEW ****/
    .page-admissions .view-student-stories .views-row,
    .view-phd-profiles .views-row {
        width: 46%;
    }
    
    .view-phd-profiles .view-content .views-row:nth-child(3n+1) {
      clear: none;
    }
    
    .view-phd-profiles .view-content .views-row.views-row-odd {
      clear: both;
    }
    
}


/************************************************************************************
smaller than 480
*************************************************************************************/
@media screen and (max-width: 480px) {
	
	.hide480 {display:none;}
        
        .view-president-s-blog h2 {
            font-size: 22px;
        }
        
        .button {
            display: block;
            text-align: center;
        }
        
        .view-news .attachment .featured-news-title {
            font-size: 22px;
            line-height: 24px;
        }
        
        .view-news.view-display-id-page > .view-content .views-field-field-image {
            width: 100%;
            margin: 0 0 18px 0;
        }
        
        .node-news-entry .field-name-field-image {
            float: left;
            margin: 0 0 12px 0;
            width: 100%;
            max-width: none;
        }
        
        .view-aware .attachment-before .views-row {
            float: none;
            padding: 0 18px 18px 18px;
            width: auto;
        }
        
        .view-aware .attachment-before .views-field-field-image {
            width: auto;
            float: none;
            margin: 0 -18px 12px -18px;
        }

}

@media screen and (max-width: 400px) {
    /**** STUDENT STORY VIEW ****/
    .page-admissions .view-student-stories .views-row,
    .view-phd-profiles .views-row {
        width: 100%;
        margin: 0 0 30px 0;
    }
	
}