/*

		Media Mart Custom CSS
		By: Dave Turner <dave@turneris.com>
		For: Media Mart
		Since: 2014-02-19

*/
body {
	min-width: 320px;
}

/*---[	Social Button Tweak  ]---*/
ul.social {
	padding-right: 2.5em;
}

/*---[	Phone Numbers  ]---*/
#mm-upper-right {
	float: right;
	margin-right: 20px;
	position: relative;
	top: 15px;
}

/*---[	Logo  ]---*/
#mm-main-logo {
	float: left;
	z-index: 10000;
	padding-left: 10px;
}
#mm-main-logo img {
	position: relative;
	z-index: 99;
	width: 130px;
}

/*---[	Navigation  ]---*/
.mm-navbar.navbar {
	height: 50px;
	margin-top: 40px;
	z-index: 88;
}
.mm-navbar.navbar .mm-navbar.navbar-collapse {
	height: 50px !important;
	overflow: visible;
}

/*---[	Carousel  ]---*/
.carousel {
	height: 450px;
	margin-bottom: 0px;
}
.carousel .item {
	height: 450px;
	background-color: #425791;
}
.carousel-inner > .item > img {
  height: 450px;
}

/*---[	Alert  ]---*/
#mm-alert {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 101;
	width: 100%;
	min-height: 100%;
	background-color:rgba(0,0,0,0.7);
}
#mm-alert-content {
	margin-top: 20%;
}

/*---[  Sitewide Conventions  ]---*/
#mm-upper-right a[href^=tel], .mm-footer a[href^=tel], body.mm-contact .hidden-xs a[href^=tel] {
	color: inherit;
	text-decoration: inherit;
}


/*---[	Sitewide Layout  ]---*/
.mm-navbar-right {
	margin-right: 20px !important;
	color: white !important;
}
#mm-content {
	margin-top: 150px;
	margin-bottom: 50px;
}

/*---[	Per-Page Layout Tweaks  ]---*/
body.mm-index #mm-content {
	margin-top: 15px;
}
body.mm-about #mm-why-us p {
	margin-left: 32px;
}

/*---[	Sitewide Colors  ]---*/
.mm-footer {
	color: white !important;
	background-color: #425791;
	font-size: 0.8em;
}
.mm-footer .navbar-text, .mm-footer a {
	color: white;
}

/*---[	Per-Page Colors  ]---*/
body.mm-index #mm-upper-right {
	color: white;
}
body.mm-about .glyphicon-ok {
	color: #47a447;
}

/*---[  Price List Leaders  ]---*/
ul.leaders {
    max-width: 100%;
    padding: 0;
    overflow-x: hidden;
    list-style: none
}
ul.leaders li:after {
    float: left;
    width: 0;
    white-space: nowrap;
    content:
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . . . . . ";
}
ul.leaders span:first-child {
    padding-right: 0.33em;
    background: white
}
ul.leaders span + span {
    float: right;
    padding-left: 0.33em;
    background: white;
    position: relative;
    z-index: 1
}

/*---[ General Styles ]--*/
.align-left {
	text-align: left;
}
.align-right {
	text-align: right;
}
.align-center {
	text-align: center;
}

/*---[ Margins ]---*/
.nomargin-top { margin-top: 0px; }
.nomargin-right { margin-right: 0px; }
.nomargin-bottom { margin-bottom: 0px; }
.nomargin-left { margin-left: 0px; }


/*---[ Colours ]---*/
.red, a.red:hover {
	color: #d2322d;
}

/*---[  Responsive Tweaks  ]---*/
.em, .italic {
	font-style: italic;
}

/*---[  Responsive Tweaks  ]---*/
span.max-480 {
	display: none;
}

/*---[  Carousel With 6 Lines goes Up Under Navbar  ]---*/
@media (max-width: 964px) {
	.mm-index .carousel-caption p {
		font-size: 19px;
		line-height: 1.3;
	}
	.mm-index .carousel-caption h1 {
		font-size: 32px;
	}
}
/*---[  Bootstrap Swithces to Fixed Nav  ]---*/
@media (max-width: 767px) {

	/*---[	Logo  ]---*/
	#mm-main-logo {
		position: absolute;
		top: 5px;
		left: 15px;
		padding-left: 0;
		padding-top: 0;
	}
	#mm-main-logo img {
		position: inherit;
	}

	/*---[	Carousel  ]---*/
	.carousel, .carousel .item {
		height: 380px;
	}
	.mm-index .carousel-caption p {
		font-size: 17px;
	}
	.mm-index .carousel-caption h1 {
		font-size: 29px;
	}

	/*---[	Navigation  ]---*/
	.mm-navbar {
		background-color: transparent;
		border-bottom: 0;
	}
	.mm-navbar .navbar-header {
		background-color: #222;
		border-bottom: 1px solid black;
		position: relative;
		z-index: 88;
	}
	.mm-navbar.navbar {
		height: auto;
	}
	.mm-navbar .navbar-collapse {
		z-index: 0;
		position: relative;
		top: -10px;
		width: 250px;
		float: right;
		margin-right: 25px;
		background-color: #222;
		border-right: 1px solid black;
		border-bottom: 1px solid black;
		border-left: 1px solid black;
		border-radius: 12px;
	}
}

/*---[  Carousel H1 Runs into Logo  ]---*/
@media (max-width: 579px) {
	/*---[	Logo  ]---*/
	#mm-main-logo {
		top: 15px;
	}
	#mm-main-logo img {
		width: 100px;
		height: auto;
	}
	.carousel, .carousel .item {
		height: 400px;
	}
}

/*---[  Carousel With 9 Lines Goes Up Under Navbar  ]---*/
@media (max-width: 496px) {
	.carousel, .carousel .item {
		height: 450px;
	}
}

/*---[  Phone Numbers Move To Bottom  ]---*/
@media (max-width: 480px) {
	#mm-upper-right {
		display: none;
	}
	span.max-480 {
		display: inline;
	}
}

/*---[  Carousel With 9 Lines Goes Up Under Navbar  ]---*/
@media (max-width: 422px) {
	/*---[	Carousel  ]---*/
	.carousel, .carousel .item {
	}
	.mm-index .carousel-caption p {
		font-size: 15px;
	}
	.mm-index .carousel-caption h1 {
		font-size: 26px;
	}
}

/*---[  Smaller Carousel Button ]---*/
@media (max-width: 373px) {
	.mm-index .carousel-caption .btn-lg {
		font-size: 16px;
		padding: 9px 14px;
	}
}

/*---[  Smaller Carousel Button ]---*/
@media (max-width: 339px) {
	.carousel, .carousel .item {
		height: 480px;
	}
	.mm-index .img-circle {
		display: none;

	}
}

