/* Specific overrides for different screen sizes */

/* Smartphone portrait */
@media only screen and (max-width:320px) {
  #page {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
  }
  #header {
    max-height: 1000px;
    /*padding: 0;*/
  }
  #branding,
  .region-header {
    float: none;
    max-height: 1000px;
    width: 100%;
    clear: both;
  }
  .region-header {
    margin: 10px 0;
  }
  #logo {
    padding: 0;
  }
  #site-name {
    font-size: 1.4em;
    padding: 20px 0 0 5px;
  }
  #site-slogan {
    font-size: 1em;
    text-transform: none;
  }
  .region-secondary-content .block {
    margin-bottom: 0;
    font-size: 1em;
  }
  #menu-bar {
    padding: 0 2px;
  }

  #menu-bar .menu-wrapper > ul > li {
    display: block;
    float: none;
    margin: 0;
  }
  #menu-bar .sf-menu {
    height: auto;
    padding: 2px 0;
  }


  .ie6-7 .mbp-c #menu-bar .menu-wrapper  ul,
  .ie6-7 .mbp-c #menu-bar .menu-wrapper  .sf-menu li {
    left: auto;
  }

	.sf-menu.sf-style-none li,
	.sf-menu.sf-style-none.sf-navbar {
		border-bottom: 1px solid #141414;
		-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, .4);
		-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .4);
		box-shadow: 0 1px 0 rgba(255, 255, 255, .4);
	}

	.sf-main-menu ul {
		width: 100% !important;
	}

	.region-header .block-inner {
		margin-right: 0;
	}



}



/* Smartphone landscape */
@media only screen and (min-width:321px) and (max-width:480px) {
  #page {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
  }
  #header {
    max-height: 1000px;
    /*padding: 0;*/
  }
  #branding,
  .region-header {
    float: none;
    max-height: 1000px;
    width: 100%;
    clear: both;
  }
  .region-header {
    margin: 10px 0;
  }
  #site-name {
    font-size: 1.6em;
    padding: 25px 0 0;
  }
  #site-slogan {
    font-size: 1em;
    text-transform: none;
  }
  .region-secondary-content .block {
    margin-bottom: 0;
    font-size: 1em;
  }
  #menu-bar {
    padding: 0 2px;
  }

  #menu-bar .menu-wrapper a {
    display: block;
    padding: 3px 10px;
  }
  #menu-bar .menu-wrapper a:hover,
  #menu-bar .menu-wrapper a:focus  {
    background: rgba(0, 0, 0, 0.5);
  }
  #menu-bar .menu-wrapper > ul > li {
    display: block;
    float: none;
    margin: 0;
    padding: 0;
  }
  #menu-bar  .menu-wrapper ul,
  #menu-bar  .menu-wrapper .sf-menu {
    height: auto;
    padding: 2px 0;
  }


  .region-sidebar-first .block,
  .region-sidebar-second .block {
    width: 100%;
  }
  .ie6-7 .mbp-c #menu-bar .menu-wrapper  ul,
  .ie6-7 .mbp-c #menu-bar .menu-wrapper  .sf-menu li {
    left: auto;
  }

  	.sf-menu.sf-style-none li,
		.sf-menu.sf-style-none.sf-navbar {
		border-bottom: 1px solid #141414;
		-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, .4);
		-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, .4);
		box-shadow: 0 1px 0 rgba(255, 255, 255, .4);
	}

	.sf-main-menu ul {
		width: 100% !important;
	}

}

/* Tablet portrait larger */
@media only screen and (min-width:651px) and (max-width:768px) {
  #page {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
  }
  #site-name {
    font-size: 1.6em;
    padding: 22px 0 0;
  }
  #header {
    max-height: 1000px;
    /*padding: 0;*/
  }

  #header .header-inner {
    padding-bottom: 5px;
  }

}


/* Tablet portrait smaller */
@media only screen and (min-width:481px) and (max-width:650px) {
  #page {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
  }
  #site-name {
    font-size: 1.6em;
    padding: 40px 0 0 20px;
    width: 200px;
  }
  #header {
    max-height: 1000px;
    /*padding: 0;*/
  }
  #branding,
  .region-header {
    float: none;
    max-height: 1000px;
    width: 100%;
    clear: both;
  }
  #header .header-inner {
    padding-bottom: 5px;
  }

}

/* Tablet landscape */
@media only screen and (min-width:769px) and (max-width:1024px) {

	#site-name {
		font-size: 2em;
		line-height: 1.2em;
	}

}

/* Standard layout */
/*@media only screen and (min-width:1025px) {} */
