/* Homepage */

.navbar-inverse {
	margin-bottom: 0;
}

.intro {
	margin: 40px auto 0px;
}

.search-bar-container {
	background-color: #1C2C34;
	padding: 15px 0;
}

.search-bar {
	font-size: 0;
}

.container .search-bar .form-control {
	display: inline-block;
	height: 35px;
}

.container .search-bar .keyword {
	width: 35%;
	border-width: 1px;
	border-radius: 3px 0 0 3px;
	box-shadow: none;
}

.container .search-bar .location,
.container .search-bar .category {
	width: 30%;
}

.container .search-bar .location {
	border-width: 1px 0 1px 0;
	border-radius: 0;
}

.container .search-bar .category {
	border-width: 1px;
	border-radius: 0 3px 3px 0;
}

.stores {
	margin-top: 40px;
}

.stores .store {
	padding-top: 15px;
	padding-bottom: 15px;
}

.stores .store .img {
	display: block;
	background-color: #EDEDED;
	height: 140px;
	padding-top: 24px;
}

.stores .store .img img {
	display: block;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	margin: 0 auto;
	transition: all 0.3s;
}

.store_overlay {
    position:absolute;
    width:100%;
    height:100%;
    background-color:rgba(28, 44, 52, 0.9);
    display:none;
    margin-left: -15px;
    margin-bottom: -15px;
    margin-top: -15px;
}

@media (min-width: 990px) {
.stores .store:hover .store_overlay {
    display:block;
}
}


.store_overlay h1 {
    color: #ffffff;
    font-size: 24px;
}

.store_overlay .center {
    left: 0;
    line-height: 0px;
    margin: auto;
    margin-top: -50px;
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
}

/*.stores .store .img:hover img {
	transform: scale(1.1);
}*/

.stores .store figcaption {
	background-color: #f8f8f8;
	width: 100%;
	padding: 10px;
	border: 0 solid #ddd;
	border-width: 0 1px 3px 1px;
	text-align: center;
	border-radius: 0 0 3px 3px;
}

.stores .store figcaption span {
	display: block;
}

.stores .store figcaption .title {
	line-height: 18px;
	font-size: 16px;
}

.stores .store figcaption .category {
	margin-top: 5px;
	line-height: 14px;
	font-size: 14px;
	color: #a1a1a1;
}

/* Store List */

.company-info {
	background-color: #f5f5f5;
	margin-bottom: 40px;
	padding: 70px 0;
	border-bottom: 1px solid #ddd;
}

.company-logo {
	background-color: #e7e7e7;
	width: 100%;
	max-width: 400px;
	height: 200px;
	line-height: 200px;
	margin: 0 auto;
	padding: 0 25px;
	border-radius: 3px;
	box-shadow: inset 0 4px 11px -5px rgba(0,0,0,.2);
        text-align: center;
}

.company-logo img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	vertical-align: middle;
}

.company-face h1 {
	font-weight: bold;
	font-size: 30px;
	color: #333;
	text-transform: uppercase;
        text-align: center;
}

.company-face h4 {
	font-weight: bold;
	font-size: 18px;
	color: #333;
	text-transform: uppercase;
        text-align: center;
}

.company-details {
	color: #333;
}

.company-details .content-box {
	background-color: #fff;
	margin-bottom: 15px;
	border-radius: 3px;
}

.company-details .stats {
	padding: 15px;
	font-size: 0;
}

.company-details .stats .stat {
	display: inline-block;
	height: 18px;
	line-height: 18px;
	margin-right: 20px;
	font-size: 16px;
	vertical-align: bottom;
}

.company-details .stats .stat .fa {
	margin-right: 5px;
	font-size: 18px;
	vertical-align: middle;
}

.company-details p {
	margin: 0;
	padding: 20px;
	line-height: 140%;
	font-size: 14px;
}

.overlay {
	background: transparent; 
	position: relative; 
	width: 100%;
	height: 250px;
	top: 250px; 
	margin-top: -250px;
}

/* Media Queries */

@media (min-width: 0px) {

	body.header-fixed {
		padding-top: 70px;
	}

	body.header-fixed header {
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
	}

}

@media (max-width: 767px) {

	body.header {
		padding-top: 70px;
	}

	body.header header {
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
	}

}

@media (min-width: 990px) {

	.search-bar-container {
		width: 100%;
		position: fixed;
		top: 70;
		left: 0;
		z-index: 9998;
	}
}

@media (max-width: 991px) {

	.container .search-bar  {
		padding: 0 15px;
	}

	.container .search-bar .form-control,
	.container .search-bar .btn {
		display: block;
		width: 100%;
		margin: 5px 0;
		float: none;
	}

	.container .search-bar .form-control {
		border-radius: 3px;
	}
}

.city-name {
   font-size: 32px;
   font-weight: 900;
   height: 100px !important;
   vertical-align: middle;
   text-align:center;
   text-transform: uppercase;
   color: #333;
}

#home .intro {
   /* text-align:center; */
}

.search_title {
text-align:center;
}

.modal-dialog { margin-top: 75px !important; }

@media (min-width: 990px) {
.intro_text {
width: 50%;
float: left;
padding: 15px;
}
.video {
width: 50%;
float: right;
position: relative;
padding-bottom: 28%;
padding-top: 0px;
height: 0;
}
.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
        z-index: 2;
}
}
@media (max-width: 990px) {
.intro_text {
width: 50%;
float: left;
padding: 15px;
}
.video {
width: 50%;
float: right;
position: relative;
padding-bottom: 28%;
padding-top: 0px;
margin-top: 36px;
height: 0;
}
.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
}
@media (max-width: 768px) {
.intro_text {
width: 100%;
text-align:center;
}
.video {
width: 100%;
position: relative;
padding-bottom: 56.25%;
padding-top: 0px;
height: 0;
}
.video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
}

@media (min-width: 990px) {
#logo-card {
    max-height: 300px;
    max-width: 300px;
}
}
@media (max-width: 990px) {
#logo-card {
    max-height: 300px;
    max-width: 300px;
}
}
@media (max-width: 768px) {
#logo-card {
    max-height: 250px;
    max-width: 250px;
}
}
@media (min-width: 992px) {
    .dropdown-menu > li > a {
        font-size: 18px;
    }
}

#map {
    height: 400px;
}

#locations {
    height: 400px;
    padding: 15px;
}

#locations legend {
    margin-bottom: 5px;
}

#locations .stats {
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 1px solid #efefef;
}

#locations .stats:hover {
    cursor: pointer;
}