:root{
	--color-main: #38a145; /*green*/
	--color-sub: #FFEBA1; /*yellow*/
	--color-alt: #FF5B72; /*coral*/
	--color-text: #525252;
	--header-height:3.6em;
	--border-radius: 10px;
} 

body {
	/* background-color:var(--color-sub); */
	font-family: Quicksand, Verdana, Sans Serif;
}

a{
	text-decoration: none;
	color: #38a145;
	
}

.container {
	max-width:425px;
	margin-right: auto;
	margin-left: auto;
}

.card {
    background-color: white;
    padding: 0.4em;
    margin-top: 0.6em;
    margin-right: 0.4em;
    margin-bottom: 1em;
    margin-left: 0.4em;
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
    border-radius: var(--border-radius);
}

.card :first-child {
	margin-top: 0;
}

.card :last-child {
	margin-bottom: 0;
}

.placeholder{
	height: 2.8em;
}

.profileplaceholder{
	height: 5em;
}

.logo{
	font-family: Quicksand, Verdana, Sans Serif;
	color:var(--color-main);
	font-weight: bold;
	font-size: 3em;
	text-align: center;
	

}

[data-role='header'] h1.ui-title {
	color:var(--color-main);
	font-family: Quicksand, Verdana, Sans Serif;
}

[data-role='header'] .nav {
	color:var(--color-main);
	background: linear-gradient(to bottom, rgba(255,235,161,0.8), rgba(255,255,255,0.6));
	font-family: Quicksand, Verdana, Sans Serif;
}

[data-role='footer'] {
	color:var(--color-main);
	background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,235,161,0.8));
	font-family: Quicksand, Verdana, Sans Serif;
}

[data-role='header'] img {
    /* height: 100%; */
    /* width: 45px; */
}

[data-role='footer'] img {
    height: 45px;
}

.ui-input-text, .ui-input-search {
    margin: 0;
    border-width: 0; 

    
}

#page-login {
    background: linear-gradient(to bottom, rgba(255,255,255,0.6),rgba(255,235,161,0.8));
}

#page-signup {
    background: linear-gradient(to bottom, rgba(255,255,255,0.6),rgba(255,235,161,0.8));
}

/*#page-profile{
	background: linear-gradient(to bottom, rgba(255,255,255,0.6),rgba(255,235,161,0.8));
}*/


/*.inputlogin{
	font-family: Montserrat, Verdana, Sans Serif;
 	width: 60%;
 	margin: 1em auto;
 	margin-bottom: 2em;
 	border: none;
 	border-bottom: 1px solid var(--color-main);
 	-webkit-appearance: none;
}*/

.form-button {
    background-color: var(--color-alt);
    color: white;
    font-family: Quicksand, Verdana, Sans Serif;
    display: block;
    width: 100%;
    padding: .4em .5em;
    border-width: 0;
    margin: 0;
    margin-top: 1em;
    border-radius: var(--border-radius);
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);

}

.login{
	color: white;
	text-decoration: none;
}

#form-login-username {
	background-image: url('../img/user_icon.png');
	background-size: 25px auto;
	background-repeat: no-repeat;
	background-position: 6px 2px;
	padding-left: 36px;
	background-color: rgba(255, 255, 255, 0.9);
	/* box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4); */
}

#form-login-password {
	background-image: url('../img/password_icon.png');
	background-size: 25px auto;
	background-repeat: no-repeat;
	background-position: 6px 2px;
	padding-left: 36px;
	background-color: rgba(255, 255, 255, 0.9);
	/* box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4); */
}

#form-signup-username {
	background-image: url('../img/user_icon.png');
	background-size: 25px auto;
	background-repeat: no-repeat;
	background-position: 6px 2px;
	padding-left: 36px;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
}

#form-signup-email {
	background-image: url('../img/mail_icon.png');
	background-size: 25px auto;
	background-repeat: no-repeat;
	background-position: 6px 2px;
	padding-left: 36px;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
}

#form-signup-password {
	background-image: url('../img/password_icon.png');
	background-size: 25px auto;
	background-repeat: no-repeat;
	background-position: 6px 2px;
	padding-left: 36px;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
}

#form-signup-password-test {
	background-image: url('../img/password_icon.png');
	background-size: 25px auto;
	background-repeat: no-repeat;
	background-position: 6px 2px;
	padding-left: 36px;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
}

/*#page-map {
	background-image: url(../img/map.png);
}*/

/*
.map {
	position: relative;
}*/

/*.ui-input-text-search {
	background-color: transparent;
	position: fixed;
	bottom: 0;
	right: 0;
	width: 300px;
	border: 1px solid var(--color-main);
	
}*/



.navtitle{
	font-family: Quicksand, Verdana, Sans Serif;
	color: var(--color-main);
	text-align: center;
	margin: auto;
}

.search-wrap-map{
	position: absolute;
	top: 2.5em;
	z-index: 10;
	width: 100%;
	margin-top: 12px;
}

.search-wrap-list {
    position: relative;
    top: 1.4em;
    z-index: 1;
    top: 1.4em;
    width: 100%;
    /*background-color: #fff;*/
}

.filter-bar{
	/* padding-top: 0.8em; */
	position: relative;
	top: -1em;
	background: rgba(255,235,161,0.8);
	width: 260px;
	height: 50px;
	margin-right: auto;
	margin-left: auto;
	box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
	border-radius: var(--border-radius);
}

.filter-bar img{
	padding-top: 0.4em;
}

.category-selector{
	display: block;
    width: 100%;
    background-color: white;
    border: solid #FFCD00;
    border-width: 2px;
    border-radius: var(--border-radius);
    padding: 0.4em 0.5em;
}

.deal-type{
	font-family: Quicksand, Verdana, Sans Serif;
	text-align: center;
	font-size: 1em;
	color: var(--color-main);
	font-size: 1em;
	background-color: white;
}



.addnew {
    font-family: Quicksand, Verdana, Sans Serif;
    font-size: 3em;
    color: var(--color-alt);
    border: 2px solid var(--color-alt);
    position: absolute;
    z-index: 10;
    top: -1.2em;
    background-color: rgba(255,255,255,0.8);
    width: .9em;
    line-height: .85em;
    height: .9em;
    text-align: center;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    top: 90%;
}

.pin-icon{
	width: 30px;
	/* margin: auto; */
	margin-left: 0.2em;
	padding: 0 auto;
	padding-left: auto
	padding-right: auto;
}



.productpagepic img{
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	border-radius: var(--border-radius);
	margin-top:0.6em;
	margin-bottom: 0.4em;
}

.detail-list{
	font-family: Quicksand, Verdana, Sans Serif;
	font-size: 1.2em;
	color: var(--color-text);
	line-height: 1.2em;
}


.detail-list img{
	width:150px;
	margin-right: 0.4em; 
	border-radius: var(--border-radius);
}

.detail-list p>img{
	width: 25px;
	margin-right: 0;
	position: relative;
	top: 0.2em;
}




.profileinfo {
	font-family: Quicksand, Verdana, Sans Serif;
	font-size: 1.2em;
	line-height: 1.2em;
	padding: 0.8em;
	margin-top: 0.2em;
	position:relative;
	color: var(--color-text);
}



.login-logo {
    position: relative;
    top: 30%;
    width: 65%;
}

.form-link {
    display: inline-block;
    padding: 1em 0 0.4em;
    font-size: 0.8em;
    text-align: center;
    color: #999;
    text-decoration: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.form-link a {
    display: inline-block;
    padding: 0.2rem;
    font-size: 1em;
    text-align: center;
    color: var(--color-main);
    text-decoration: none;
}

.modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events:none;
    opacity:0;
    transition:all 300ms;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.8);
}

.modal-content {
    position: relative;
    transition: all 400ms;
    transform:translateY(10em);
}

.modal-head,
.modal-foot {
    background-color: #ffde66;
    color: var(--color-text);
    font-size: 1.4em;
    text-align: center;
    padding: 0.5em 0.5em 0.8em;
}

.modal-body {
    background: var(--color-sub);
    padding: 0.5em;
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
    border-radius: var(--border-radius);
}

/*.modal-body h2{
	font-family: Montserrat, Verdana, Sans Serif;
	font-size: 1.4em;
	padding: 0.4em;
	color: var(--color-main);
	text-align: center;
}*/

.modal-content>:first-child {
	border-radius: 15px 15px 0 0;
	z-index: -10;
	position: relative;
	top: 0.2em;
}
.modal-content>:last-child {
	border-radius: 0 0 15px 15px;
    z-index: -10;
    position: relative;
    top: -0.6em;
}



.modal.active {
	opacity:1;
	pointer-events:initial;
}
.active .modal-content {
    transform:translateY(0);
}





.filter-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events:none;
    opacity:0;
    transition:all 300ms;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.filter-modal-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.1);
}

.filter-modal-content {
    position: absolute;
    top: 105px;
    transition: all 400ms;
    transform: translateY(-10em);
    z-index: 0;
}

.filter-modal-head,
.filter-modal-foot {
    background-color: var(--color-main);
    color: white;
    font-size: 1.2em;
    text-align: center;
    padding: 0.5em 0.5em;
}

.filter-modal-body {
    background: rgba(255,235,161,0.8);
    padding: 0.5em;
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
    border-radius: var(--border-radius);
}

/*
.filter-modal-content>:first-child {
	border-radius: 15px 15px 0 0;
}
.filter-modal-content>:last-child {
	border-radius: 0 0 15px 15px;
}*/



.filter-modal.active {
	opacity:1;
	pointer-events:initial;
}
.active .filter-modal-content {
    transform:translateY(0);
}





.btnbox{
    background-color: rgba(255,255,255,0.7);
    color: var(--color-main);
    padding: 1em;
    margin-top: 0em;
    margin-right: 1em;
    margin-bottom: 0em;
    margin-left: 1em;
    width: 100%;
    border-radius: 10px;
    height: 160px;
    align-items: center;
    text-align: center;
    box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.4);
}

.picturebox {
	border: 3px solid var(--color-main);
	width: 100px;
	height: 100px;
	color: var(--color-main);
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 1em;
	padding-top: 1.8em;
	border-radius: 10px;
	
}


.market-item {
	margin:0.6em;
}
.market-image img{
	border-radius: var(--border-radius);
	vertical-align: middle;
	width: 100px;
    height: 100px;
    object-fit: cover;
}

.mapprofilepic img{
	border-radius: var(--border-radius);
	vertical-align: middle;
	width: 75px;
    height: 75px;
    object-fit: cover;

}

.market-icon,
.market-name {
	padding: 0 1em;
	font-size: 1.4em;
	font-weight: bold;
}




.market-list {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	overflow:auto;
	
}


.gm-style .gm-style-iw-c {
	font-family: Quicksand, Verdana, Sans Serif;
	line-height: 1.2em;
	padding: 0.8em;
	font-size: 1.6em;
	margin-top: 0.2em;
	position:relative;
	color: var(--color-text);
}

.gm-style .gm-style-iw-t {
    position: relative;
    width: 100%;
}

.mg-style{
	font-family: Quicksand, Verdana, Sans Serif;
	line-height: 1.2em;
	padding: 0.8em;
	margin-top: 0.2em;
	position:relative;
	color: var(--color-main);
}

div.gm-style-iw-t {
	 position: relative; 
	/* bottom: -45px; */
}



/* .map-jump {
    bottom: 0 !!important;
}
*/



.hidden {
  display:none;
}

.control-category-input:checked+.control-category-label {
  border-radius: var(--border-radius);
  background-color: rgba(255,235,161,0.5);
}








