/**********************************/
/** 360-480-600-680-768-980-1420 **/
/**********************************/
/* Tablet and smaller */
@media only screen and (min-width: 0px) and (max-width: 979px) { #logo, .banner-image { display: none; }
  body.front header#header, body.not-front header#header, body.multisite.front header#header { padding-left: 10px; padding-right: 10px; }
  body.front header#header #name-and-slogan, body.not-front header#header #name-and-slogan, body.multisite.front header#header #name-and-slogan { display: inline; margin-left: 0; margin-top: 10px; }
  body.front header#header #name-and-slogan a, body.not-front header#header #name-and-slogan a, body.multisite.front header#header #name-and-slogan a { z-index: 10001; } }
/* Mobile main menu Main menu switches to mobile version (superfish-smallscreen) at 804px. */
@media only screen and (min-width: 0px) and (max-width: 804px) { #name-and-slogan { position: absolute; top: 0; left: 10px; float: none; }
  #header { background-color: white; }
  #navigation-wrapper { background: transparent; float: right; width: 100%; }
  #navigation-wrapper .search-link { display: none; }
  #navigation { background: transparent; min-width: 0; padding-left: 0; padding-right: 0; }
  .region-navigation { min-width: 0; z-index: 10000; }
  .sf-accordion-toggle { float: right; }
  #superfish-1-toggle { display: block; }
  #superfish-1-toggle span { display: block; height: 0; overflow: hidden; background: url("../images/mobile-main-menu-icon.png") no-repeat center; }
  #superfish-1-toggle.sf-expanded span { background: #242424 url("../images/mobile-main-menu-close.png") no-repeat center; }
  #superfish-1-toggle.sf-expanded span:hover { background-image: url("../images/mobile-main-menu-close-over.png"); }
  #superfish-1-accordion { background-color: #242424; font-weight: bold; font-family: "RobotoCondensed", Arial, sans-serif; font-size: 14pt; text-transform: uppercase; line-height: 2em; color: white; margin-bottom: 10px !important; }
  #superfish-1-accordion li { border-bottom: 1px solid #a4a4a4; }
  #superfish-1-accordion li:hover { background-color: #3e3e3e; }
  #superfish-1-accordion li a { padding: 4px 0 0 25px !important; color: white; text-decoration: none; }
  #superfish-1-accordion li a:hover { color: #78be20; }
  #superfish-1-accordion li ul { background-color: #242424; }
  #superfish-1-accordion li li { font-size: 12pt; text-transform: none; }
  #superfish-1-accordion li li a { padding-left: 45px !important; }
  #superfish-1-accordion li li.sf-clone-parent { border-top: 1px solid #a4a4a4; }
  #mobile-menu-search .container-inline { padding: 4px 0 1px 25px; }
  #mobile-menu-search .form-type-textfield input.form-text { width: 85%; -webkit-border-radius: 5px; -moz-border-radius: 5px; -ms-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; text-indent: 8px; height: 24px; }
  #mobile-menu-search .form-submit { background: transparent url("../images/mobile-menu-search.png") no-repeat center; border: 1px solid white; border: none; padding: 3px 0; text-indent: -9999px; text-transform: capitalize; /* to hide in ie7 */ height: 24px; width: 24px; }
  /*****************************************************/
  /*   Display items in the menu that were hidden      */
  /*****************************************************/
  #navigation ul.menu li.sf-item-10.sf-depth-1, #navigation ul.menu li.sf-item-11.sf-depth-1 { display: block; } }
/* Left Sidebar */
/* Mobile Subsite Menu Using Responsive Menus module https://www.drupal.org/project/responsive_menus Switches to mobile version at 804px (same point as superfish main menu). */
@media only screen and (min-width: 0px) and (max-width: 804px) { #main { padding-top: 44px; }
  .region-sidebar-first { padding-left: 0; }
  .region-sidebar-first .responsive-menus.responsified { position: absolute; top: 0; left: 0; border-top: 2px solid #ff9900; z-index: 1; }
  .region-sidebar-first .responsive-menus.responsified .toggler { box-shadow: none; font-size: 1em; border-radius: 0; padding: 5px 20px; text-align: left; background-color: #5D5D5B; text-transform: uppercase; position: relative; }
  .region-sidebar-first .responsive-menus.responsified .toggler:after { content: '▼'; position: absolute; right: 20px; }
  .region-sidebar-first .responsive-menus.responsified.responsive-toggled .toggler { background-color: #333333; }
  .region-sidebar-first .responsive-menus.responsified.responsive-toggled .toggler:after { content: '▲'; }
  .region-sidebar-first .responsive-menus.responsified .responsive-menus-simple { box-shadow: none; border-radius: 0; padding-bottom: 20px; }
  .region-sidebar-first .responsive-menus.responsified .responsive-menus-simple li.expanded { padding-top: 1em; }
  .region-sidebar-first .responsive-menus.responsified .responsive-menus-simple li a { text-transform: none; border-bottom: none; padding: 2px 20px; }
  .region-sidebar-first .responsive-menus.responsified .responsive-menus-simple li a:hover { color: #88c53f; background-color: #3e3e3e; }
  .region-sidebar-first .responsive-menus.responsified .responsive-menus-simple .nolink { padding: 2px 20px; color: #d8f3b7; color: #62b5e5; }
  .region-sidebar-first .responsive-menus.responsified h2 { padding: 0.5em 20px; margin-bottom: 0; border-bottom: 1px solid white; color: white; }
  .region-sidebar-first .responsive-menus.responsified h2 a { color: white; }
  .region-sidebar-first .responsive-menus.responsified h2 a:hover { color: #88c53f; }
  .region-sidebar-first .responsive-menus.responsified h2:hover { background-color: #3e3e3e; }
  .region-sidebar-first .responsive-menus.responsified h2:hover a { color: #88c53f; }
  .region-sidebar-first .block > div:first-child { padding-top: 10px; border-top: 10px solid #E2E2D9; } }
/* Right Sidebar  */
@media all and (max-width: 959px) { .region-sidebar-second { margin-top: 40px; }
  .region-sidebar-second .block { border-top: none; }
  .region-sidebar-second .block h2.block-title { border-top: 10px solid #E2E2D9; }
  .region-sidebar-first .block:last-child { border-bottom: none; } }
@media all and (max-width: 619px) { #block-csu-announcements-subsite-announcement-info, #block-views-news-subsite-news-block, #block-views-csu-news-aggregator-block, #block-csu-twitter-subsite-twitter-feed { display: none; }
  .two-sidebars .region-sidebar-second .block { width: 100% !important; float: none; margin-left: 0 !important; margin-right: 0 !important; } }
/* Mobile menu toggle / Header logo  Sizing for the mobile main menu toggle box (open/close) and the header logo. They correspond in height. We ratchet down the size of the logo and the toggle box as the browser shrinks. */
@media only screen and (min-width: 0px) and (max-width: 804px) { #name-and-slogan { width: 413.61702px; }
  #superfish-1-toggle { height: 65px; width: 65px; }
  #superfish-1-toggle span { padding-top: 65px; width: 65px; } }
@media only screen and (min-width: 0px) and (max-width: 540px) { #name-and-slogan { width: 367.65957px; }
  #superfish-1-toggle { height: 60px; width: 60px; }
  #superfish-1-toggle span { padding-top: 60px; width: 60px; } }
@media only screen and (min-width: 0px) and (max-width: 510px) { #name-and-slogan { width: 330.89362px; }
  #superfish-1-toggle { height: 56px; width: 56px; }
  #superfish-1-toggle span { padding-top: 56px; width: 56px; } }
@media only screen and (min-width: 0px) and (max-width: 460px) { #name-and-slogan { width: 303.31915px; }
  #superfish-1-toggle { height: 53px; width: 53px; }
  #superfish-1-toggle span { padding-top: 53px; width: 53px; } }
@media only screen and (min-width: 0px) and (max-width: 420px) { #name-and-slogan { width: 284.93617px; }
  #superfish-1-toggle { height: 51px; width: 51px; }
  #superfish-1-toggle span { padding-top: 51px; width: 51px; } }
@media only screen and (min-width: 0px) and (max-width: 360px) { #name-and-slogan { width: 257.3617px; }
  #superfish-1-toggle { height: 48px; width: 48px; }
  #superfish-1-toggle span { padding-top: 48px; width: 48px; } }
/* Tablet with normal main menu Main menu switches to mobile version (superfish-smallscreen) at 804px. */
/* Phone */
@media only screen and (min-width: 0px) and (max-width: 599px) { #footer-wrapper { margin-top: 16px; }
  #footer { padding: 4px 3px 4px; text-align: center; }
  #footer .region-footer-first, #footer .region-footer-middle, #footer #block-boxes-visit-athletics { display: none; }
  #footer .region-footer-last { -webkit-box-flex: 0 0 100%; -moz-box-flex: 0 0 100%; -webkit-flex: 0 0 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; }
  #footer .region-footer-last .block { margin: 2px 0 1px; }
  #footer .region-footer-last h2, #footer .region-footer-last br { display: none; }
  #footer .region-footer-last p { line-height: 0; }
  #footer .region-footer-last .first img, #footer .region-footer-last .last img, #footer .region-footer-last img { margin: 0px 2px; }
  #block-menu-menu-csu-menu-links { display: none; }
  #block-views-front-page-slideshow-block-flex, #block-views-front-page-slideshow-block { padding: 0 !important; } }
/* Front Page Bottom Links */
@media only screen and (min-width: 804px) and (max-width: 979px) { #block-menu-menu-front-page-bottom-links ul.menu li a { font-size: 1.2em; line-height: 30px; } }
@media only screen and (min-width: 600px) and (max-width: 803px) { #block-menu-menu-front-page-bottom-links ul.menu li a { font-size: 1em; line-height: 25px; } }
@media only screen and (min-width: 0px) and (max-width: 599px) { #block-menu-menu-front-page-bottom-links ul.menu { -webkit-flex-direction: column; -moz-flex-direction: column; -o-flex-direction: column; -ms-flex-direction: column; flex-direction: column; border: none; }
  #block-menu-menu-front-page-bottom-links ul.menu li { -webkit-box-flex: 1 1 2.5em; -moz-box-flex: 1 1 2.5em; -webkit-flex: 1 1 2.5em; -ms-flex: 1 1 2.5em; flex: 1 1 2.5em; border-right: none; }
  #block-menu-menu-front-page-bottom-links ul.menu li a { line-height: 1em; } }

/***************************
* Social Media mobile settings
* 

.visible-mobile { display: none !important;
}

@media (max-width: 599px) { .visible-mobile { display: inline !important; }
 .hidden-mobile { display: none !important; }
}

***************************/
@media only screen and (min-width: 805px) and (max-width: 979px) { #name-and-slogan img { content: url(/sites/all/themes/csu/images/mobile/csu-logo.png); } }
@media only screen and (min-width: 0px) and (max-width: 804px) { #name-and-slogan img { content: url(/sites/all/themes/csu/images/mobile/csu-mobile-logo.png); } }
