/* We use this media query to add styles to any device that supports media queries */
@media only screen {
	#to_the_top {
	  width: 40px;
	  -webkit-border-radius: 2px;
	  -moz-border-radius: 2px;
	  border-radius: 2px;
	  text-align: center;
	  right: 20px;
	  bottom: 20px;
	}

	.mobile_navigation_toggle_active {
		display: none;
	}

}

@media only screen and (max-width: 768px) {
	#to_the_top {
	  width: 100%;
	  line-height: 40px;
	  -webkit-border-radius: 0px;
	  -moz-border-radius: 0px;
	  border-radius: 0px;
	  text-align: center;
	  right: 0px;
	  bottom: 0px;
	  -webkit-box-shadow: none;
	  -moz-box-shadow: none;
  	box-shadow: none;
	}

	.mobile_navigation_toggle_active {
		display: block;
	}

	#mobile_navigation_toggle {
	  display: block;
	}

	#navigation_wrapper {
		display: none;
	}

	nav#mobile_navigation {
		display: block;
	}

	#sidebar {
		margin-top: 40px;
	}

	#title_nav_section {
		text-align: center;
		padding: 20px 0;
	}

	#logo {
		float: none;
		text-align: center;
		margin-right: 0;
		padding: 0;
	}

	#logo img {
		display: block;
		margin: 0 auto;
	}

	#content_divider_line {
		margin-bottom: 0px;
	}

	h1#site_title {
		float: none;
	}

	#extraContent1 .columns,
	#extraContent2 .columns,
	#extraContent3 .columns,
	#extraContent4 .columns {
		margin-bottom: 20px;
	}

	#extraContent1 .columns:last-child,
	#extraContent2 .columns:last-child,
	#extraContent3 .columns:last-child,
	#extraContent4 .columns:last-child {
		margin-bottom: 0px;
	}

	input[type="text"],
	input[type="password"],
	input[type="date"],
	input[type="datetime"],
	input[type="datetime-local"],
	input[type="month"],
	input[type="week"],
	input[type="email"],
	input[type="number"],
	input[type="search"],
	input[type="tel"],
	input[type="time"],
	input[type="url"],
	textarea {
	  width: 90%;
	 }

}


@media only screen and (max-width: 480px) {

	#site_slogan {
		font-size: 0.9em;
	}

	#title_wrapper {
		height: inherit;
		padding-top: 20px;
		padding-bottom: 20px;
	}


}


/* Used to alter styles for screens at least 768px wide. This is where the grid changes. */
@media only screen and (min-width: 768px) {
	#site_title {
		font-size: 1.6em;
	}
}

/* Used to alter styles for screens at least 1280px wide. */
@media only screen and (min-width: 1280px) {
	#site_title {
		font-size: 1.8em;
	}
}

/* Used to alter styles for screens at least 1440px wide. */
@media only screen and (min-width: 1440px) {}

/* Apply styles to screens in landscape orientation */
@media only screen and (orientation: landscape) {}

/* Apply styles to screens in portrait orientation */
@media only screen and (orientation: portrait) {}

/* We also use Modernizr to add a .touch class to the body when applicable */
/* You can prepend this class to anything and it will style only for touch devices */
.touch .your-element {}