/********** view.jsp & store.jsp **********/

.stores-portlet .portlet-msg-success{
	display: none;
}

p{
	font-family: 'Open Sans',sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 23px;
    padding-bottom: 15px;
    padding-top: 10px;
    text-align: justify;
    width: 100%;
}

svg {
    max-height: 400px;
    width: auto;
}

.svg-floor{
	float: right;
	width: 77%;
	text-align: center;
    /*line-height: 400px;*/
    position: relative;
    height: 400px;
}

object {
	width: 60%;
	height: 100%;
	position: relative;
	display: table-cell;
    text-align: center;
    vertical-align: middle;
} 

.plantas {
	background-color: #fff;
	overflow: hidden;
    background-color: #F8F8F8;
    border-color: #A8A8A8;
    border-image: none;
    border-style: solid;
    border-width: 1px;
}

.floor-selector, .category-selector {
	/*background-color: #e8e8e8;*/
	line-height: 70px;
	/*border: 1px solid #A8A8A8;*/
	/*width: 100%;
	margin-top: 20px*/;
	font-family: 'Economica', sans-serif;
	font-weight: 400;
	font-size: 24px;
	text-align: center;
}

.floor-selector a {
	text-transform: uppercase;
	text-decoration: none;
	color: #333;
	margin: 5px 17px;
	line-height : 40px;
	display:block;
}

.category-selector, .floor-selector a:hover {
	color: #0a1e5a;
    transition: all 0.3s ease-out 0s;
}

.category-selector {
	/*padding: 5px 5px 20px 0px;*/
	text-decoration: none;
	color: #333;
	font-size: 24px;
	text-transform: uppercase;
	line-height: 50px;
}

.category-selector *{
	text-decoration: none;
	color: #333;
}


.hover-store {
	border: 1px solid #A8A8A8;
	border-bottom: 0;
	/*height: 220px !important;*/
	background-color: #F8F8F8;
	overflow: hidden;
	line-height: 10px !important;
	padding: 5px;
	
}

.cat-page-link {
	font-size: 22px;
	margin: 20px auto;
	padding: 10px;
	text-align: center;
	font-family: 'Economica', sans-serif;
	border: 1px solid #A8A8A8;
	background-color: #F8F8F8;
	width: 300px !important;
	transition: all 0.3s ease-in-out;
}

.cat-page-link a {
	text-transform: uppercase;
	text-decoration: none;
	color: #222222;
}

.cat-page-link:hover {
	background-color: #FF9933;
	transition: all 0.3s ease-in-out;
	cursor: pointer;
}

.no-store-selected, .empty-space {
	height: inherit;
	/*line-height: 215px;*/
	font-family: 'Economica', sans-serif;
	font-size: 22px;
	text-align: center;
	text-transform: uppercase;
	color: #888888;
	height: 70px;
	line-height: 40px;
}

.no-store-selected span{
	display: inline-block;
    margin-top: 15px;
}

.store-selected {
	display: none;
	font-size: 24px;
	text-transform: uppercase;
	float: left;
	font-family: 'Open Sans', sans-serif;
	background-color: #F8F8F8;
	width: 100%;
	height: 70px;
}

.active-store-selected {
	display: inline;
}

.store-logo {
	float: left;
}

.store-logo {
	padding: 5px 20px;
	/*width: 120px;
	height: 120px*/
}

.store-name {
	max-width: 80%;
	text-align: left;
	font-family: 'Economica', sans-serif;
	line-height: 35px;
}

.store-description {
	font-size: 13px;
	/*max-width: 80%;*/
	/*min-height: 140px;*/
	overflow: hidden;
	text-transform: none;
	text-align: justify;
	line-height: 20px;
	padding-right: 15px;
	padding-top: 10px;
	text-overflow: ellipsis;
	max-width: 803px;
	cursor: pointer;
	min-height: 20px !important;
	margin-left: 129px;
	margin-bottom: 10px;
}

.read-more{
	padding-left: 129px;
	text-align: left !important;
}

.read-more span{
	cursor: pointer;
	font-family: "Economica", sans-serif;
	font-size: 14px;
}

.read-more span span{
	padding-left: 5px;
}

.read-more span:hover{
	text-decoration: underline;
}

.store-logo img {
	max-width: 90px;
	max-height: 65px;
}

.empty-space{
	font-family: 'Economica', sans-serif;
}

.store-category{
	text-transform: none;
	font-family: 'Open Sans', sans-serif;
	color: #888;
	font-size: 16px;
	line-height: 25px;
	text-align: left;
	padding-left: 129px;
}

polygon {
	transition: all 0.3s ease-in-out;
	cursor: pointer;
}

polygon:hover {
	transition: all 0.3s ease-in-out;
}

.floor-selector{
	display: inline-block;
	vertical-align: top;
}

.floor-selector:after{
	clear: both;	
}

.floor-selector a:last-child{
	
}

.floor-btn{
	line-height: 50px;
	border-bottom: 1px solid #fff;
}

.tooltip{
	opacity: 1 !important;

}

.tooltip-arrow{
	border-bottom-color: #ccc !important;
}


.tooltip-inner{
	overflow: hidden;
	background-color: #fff !important;
	-webkit-box-shadow: 5px 5px 5px #888;
	box-shadow: 5px 5px 5px #888;
	border: 1px solid #ddd;
	max-width: 150px !important;
	max-height: 150px;
}

.no-store-tooltip{
	background-color: #ccc;
	color: #000;
	text-transform: uppercase;
	font-family: 'Economica', sans-serif;
	padding: 5px 10px;
	font-size: 19px;
	width: 100px;
	line-height: 26px;
}

.tooltip img{
	color: #fff;
	text-transform: uppercase;
	font-family: 'Economica', sans-serif;
	font-size: 19px;
	line-height: 32px;
	max-width: 150px;
	max-height: 150px;
}


.stores-sidebar{
	width: 22%;
	text-align: center;
	float: left;
	padding-bottom: 15px;
}

.align-helper {
    display:inline-block;
    text-align:center;
}

.align-helper::before {
    content:'';
    display:inline-block;
    height: 100%;
    vertical-align:middle;
    width:0px;
}

/********** allcategories.jsp **********/
.all-cats-title {
	font-family: 'Economica', sans-serif;
	font-size: 42px;
	text-transform: uppercase;
	margin-bottom: 30px;
	text-align: center;
	clear: both;
}

.categories {
	font-size: 14px;
	line-height: 30px;
	display: inline-block;
}

.categories a {
	text-decoration: none;
	color: #333;
	font-family: 'Economica', sans-serif;
	font-size: 20px;
	text-transform: uppercase;
	display: block;
	transition: all 300ms linear 0s;
}

.category {
	/*float: left;*/
	display: inline-block;
	width: 31%;
	background-color: #F8F8F8;
	margin: 9px;
	text-align: left;
	background: none repeat scroll 0 0 #FFFFFF;
	-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.category img {
	margin-top: 10px;
	margin-left: 10px;
	margin-bottom: 3px;
}

.category a:hover {
	background-color: rgba(10,30,90,0.8);
    color: #FFFFFF !important;
}

.category span{
	position: relative;
	bottom: 14px;
	margin-left: 10px;
}

.back {
    background-color: #C0C0C0;
    border: 1px solid #B0B0B0;
    color: #333333;
    font-family: 'Economica',sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
    padding: 5px 10px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    float: right;
    margin-top: 20px;
}

.back a {
	text-decoration: none;
	color: inherit;
}

.back:hover {
	color: #0a1e5a;
    transition: all 0.3s ease-out 0s;
}

/********** category.jsp **********/

.category-page-title{
	font-family: 'Economica', sans-serif;
	text-transform: uppercase;
	text-align: center;
	font-size: 38px;
	margin-bottom: 40px;
}

.category-page-title img{
	position: relative;
	top: 5px;
	margin-right: 20px;
}

.category-page-title .search-icon{
	top: 2px;
}

.store {
	display: inline-block;
	background-color: #f8f8f8;
	border: 1px solid #C0C0C0;
	margin-bottom: 10px;
	width: 100%;
	text-align: left;
}

.stores {
	line-height: 24px;
	clear: both;
}

.stores a {
	text-decoration: none;
	color: #333;
	display: block;
	
}

.catpage-logo {
	text-align: center;
	display: table-cell;
	height: 80px;
	width: 123px;
	vertical-align: middle;
	background: #fff;
	
}

.catpage-logo img {
	max-width: 103px;
	max-height: 80px;
	vertical-align: middle;
	padding: 0px 10px;
}

.catpage-name {
	font-family: 'Economica', sans-serif;
	text-transform: uppercase;
	font-size: 24px;
	padding: 0 20px;
	display: table-cell;
	vertical-align: middle;
}

.active-store {
	fill: #33CCCC !important;
	fill-opacity: 1 !important;
}

.no-stores{
	text-align: center;
	font-family: 'Economica', sans-serif;
	font-size: 24px;
	text-transform: uppercase;
	margin: 50px 0;
	background-color: #F8F8F8;
	padding: 30px;
	border: 1px solid #A8A8A8 !important;
	line-height: 34px;
	color: #888888;
}

.btn-container{
	text-align: center;
	display: block;
	padding-top: 15px; 
}

.learn-btn{
	background-color: #D4D4D4;
    border-color: #C8C9CA #9E9E9E #9E9E9E #C8C9CA;
    border-image: none;
    border-radius: 4px 4px 4px 4px;
    border-style: solid;
    border-width: 1px;
    color: #34404F;
    cursor: pointer;
    font-family: 'Economica',sans-srif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px #FFFFFF;
}

.stores-table{
	width:100%;
 	font-family: 'Economica',sans-serif;
    font-size: 24px;
    text-transform: uppercase;
}

.stores-table tr{
	display: block;
	margin-bottom: 10px;
	border: 1px solid #c0c0c0;
	background: #f8f8f8;
}

.stores-table td{
	height: 80px;
}

.stores-table tr  td{
	width: auto;
	padding-left: 30px;
	text-align: left;
	}
	
.stores-table tr td:FIRST-CHILD{
	width: 123px;
	padding: 5px;
	background: #fff;
	}

.stores-table img{
	vertical-align: middle;
	
}


.search-form{
	margin: 10px auto;
	overflow: hidden;
}

.search-form > *{
	float: right;
	margin: 5px 5px 0 0;
		
}

.search-label{
	font-family: "Economica", sans-serif;
	Font-size: 21px;
}

.search-form input{
	margin-right: 5px;
	height: 17px;
	padding-left: 5px!important;	
}

.search-form button{
	cursor: pointer;
}

.results-info{
	margin-bottom: 30px;
}

.results-info span{
	font-weight: bold;
}

/************************* MEDIA QUERIES **********************************************/

@media(max-width: 980px){
	
	.category{
		width: 45%!important;
	}
	.category span{
		font-size: 19px;
	}
	
		.floor-selector a{
		font-size: 23px;
	}
	
	.search-form input{
		width: 60%;
	}
	
	.svg-floor{
		height: auto;
	}	
}


@media (max-width : 750px){
	
	.floor-selector a, .category-selector a{
		font-size: 18px;
		margin: 5px;
	}
}




@media (max-width : 633px){
	
	.floor-selector{
		width: auto;
		border: none;
		float: none;
	}
	
	.floor-selector a{
		display:inline-block;
		line-height:  30px;
		font-size: 20px;
	}
	/*
	.floor-selector a:first-child{
		display:block;
		padding: 10px 5px;
	}*/
	
	.svg-floor{
		width: 100%;
	}
	
	.hover-store{
	display: none;
	}
	
	.categories {
		display: block !important;
	}
	
	.category {
		display: block !important;
		width: 95%!important;
		text-align: left;
	}
	
	.stores-table, .catpage-name{
		font-size: 20px;
	}	
	
	.search-form{
		float: left;
	}
	.category-selector {
		float: left;
		padding-bottom: 5px;
		padding-left: 5px;
	}
	.floor-selector{
		width: 100%;
		line-height: 55px;
	}
		.floor-selector a{
		display: inline-block;
	}
	
	.stores-sidebar{
		width: 100%;
	}
	
	.category-selector{
		margin-right: 15px;
		margin-left: 0;
		padding-top: 5px;
		float: right;
	}
}


@media(max-width: 330px) {
	.search-form{
		float: none;
	}
	
	.search-form div{
		margin-right: auto;
		margin-left: auto;
		float:none;
	}
	
	.category-selector {
		float: none;
		width: 100%;
		display: inline;
		margin-right: 0;
	}
}