/* PHONES */
@media screen and (max-width: 767px) {
	/* Steps bar */
	.cGallerySteps {
		margin-top: 10px;
	}
		.cGallerySteps > li:not( .cGallerySteps_active ),
		.cGallerySteps > li span:before, .cGallerySteps > li span:after, .cGallerySteps > li a:before, .cGallerySteps > li a:after {
			display: none;
		}

		.cGallerySteps > li:before {
			display: inline-block;
			width: 32px;
			height: 32px;
			line-height: 32px;
			border-radius: 32px;
			vertical-align: middle;
			font-size: 18px;
			margin-right: 5px;
			margin-bottom: 0;
		}

	.cGalleryDialog_header {
		height: 65px;
	}

	.ipsDialog_content .cGalleryDialog_content {
		top: 65px;
	}

	/* Step 1: Choose album */
	.cGallerySubmit_albumChoice {
		margin-top: 0;
	}

		.cGallerySubmit_albumChoice > .ipsGrid_span6:first-child {
			margin-bottom: 30px;
		}

		#elGallerySubmit_albumChooser {
			min-height: none;
		}

	/* Step 2: Upload images */
	.cGallerySubmit_uploadImages .cGallerySubmit_bottomBar {
		height: 60px;
	}

	/* Info panel */
	.cGallerySubmit_strip, .cGallerySubmit_infoForm, .cGallerySubmit_bottomBar, .cGallerySubmit_infoPanel {
		position: absolute;
	}

	html[dir] .cGallerySubmit_strip {
		top: 0;
		left: 0;
		right: 0;
		width: auto;
		height: 100px;
		white-space: nowrap;
		overflow-y: hidden;
	}

		.cGallerySubmit_strip ul {
			white-space: nowrap;
			overflow: visible;
		}

		.cGallerySubmit_strip li {
			white-space: nowrap;
			margin-bottom: 0;
			margin-right: 15px;
			display: inline-block;
		}

		.cGallerySubmit_strip .cGalleryTrimmedImage {
			width: 70px;
			height: 70px;
			border-width: 3px;
		}

			.cGallerySubmit_strip .cGalleryTrimmedImage a {
				width: 70px;
				height: 70px;
			}

		.cGallerySubmit_strip .cGallerySubmit_current:after {
			display: none;	
		}
	html[dir] .cGallerySubmit_infoForm {
		position: absolute;
		top: 100px;
		bottom: 0;
		left: 0;
		right: 0;
		padding-left: 20px;
		padding-right: 20px;
	}

	/* Bottom bar of the image info step */
	.cGallerySubmit_bottomBar {
		height: 115px;
	}

	#elGallerySubmit_bottomBar > ul {
		display: block;
	}

		/* Reset all items so they're blocks */
		#elGallerySubmit_bottomBar > ul > li {
			display: block;
			margin: 0;
		}

		/* Make buttons a bit smaller */
		#elGallerySubmit_bottomBar > ul > li .ipsButton {
			width: 100%;
			line-height: 32px;
			font-size: 12px;
		}

		/* Copyright/credit buttons - half-width so they share a line */
		#elGallerySubmit_bottomBar > ul > li:first-child,
		#elGallerySubmit_bottomBar > ul > li:first-child + li {
			width: 48%;
		}

		#elGallerySubmit_bottomBar > ul > li:first-child {
			float: left; /* Copyright - move left */
		}
		#elGallerySubmit_bottomBar > ul > li:first-child + li {
			float: right; /* Credit - move right */
		}

		/* Notify option - add padding */
		#elGallerySubmit_bottomBar > ul > li:first-child + li + li {
			clear: both;
			padding: 7px 0;
		}

			/* Notify option - make toggle a bit smaller (and the text) */
			#elGallerySubmit_bottomBar > ul > li:first-child + li + li .ipsToggle {
				zoom: 0.8;
			}
			#elGallerySubmit_bottomBar > ul > li:first-child + li + li label {
				font-size: 12px;
			}

		/* Main submit button */
		#elGallerySubmit_bottomBar > ul > li:last-child {
			float: none;
		}

	.ipsApp button.cGallerySubmit_button {
		position: static;
	}

		.ipsApp button.cGallerySubmit_button.cGallerySubmit_prevButton {
			float: left;
		}
		.ipsApp button.cGallerySubmit_button.cGallerySubmit_nextButton {
			float: right;
		}
}