*{
	box-sizing: border-box;	
}

html, body{
	min-width: 995px;
	width: 100%;
	height: 100%;
	font-family: arial, verdana, "sans serif";
	background-color: #EAEAEA;
}

#loadingBar{
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	height: 5px;
	background-color: #16A085;
	width: 100%;

    background-size: 30px 30px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
                             transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
                             transparent 75%, transparent);            
    animation: animate_loadingStripes 1s linear infinite;       

	-webkit-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;
}

@keyframes animate_loadingStripes {
    100% {background-position: 0 0;} 0% {background-position: 60px 0;}
}

#popUpMessage{
	display: none;
	position: absolute;
	z-index: 9999999;
	width: 100%;
	height: 100%;
  
  	background-color: rgba(22,160,133,0.5);
  	background-size: 30px 30px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
                             transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
                             transparent 75%, transparent);            
    animation: animate_popUpMessageStripes 1s linear infinite;       

	-webkit-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;
}

@keyframes animate_popUpMessageStripes {
    100% {background-position: 0 0;} 0% {background-position: 60px 0;}
}

#popUpMessage>#messageBox{
	display: none;
	background-color: white;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 300px;
	height: 270px;
	margin-top: -135px;
	margin-left: -150px;
	overflow: hidden;

	-webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
	-moz-box-shadow:    0px 0px 2px 0px rgba(0, 0, 0, 0.75);
	box-shadow:         0px 0px 2px 0px rgba(0, 0, 0, 0.75);
}

#popUpMessage>#statusSign{
	display: none;
	-webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75), inset 0px 0px 10px 10px #f1c40f;
	-moz-box-shadow:    0px 0px 2px 0px rgba(0, 0, 0, 0.75), inset 0px 0px 10px 10px #f1c40f;
	box-shadow:         0px 0px 2px 0px rgba(0, 0, 0, 0.75), inset 0px 0px 10px 10px #f1c40f;
	background-color: #f1c40f;
	width: 100px;
	height: 100px;
	border-radius: 110px;
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	margin-left: -50px;
	margin-top: -185px;
	background-image: url(../../media/layout/loadingDots.gif);
	background-repeat: no-repeat;
	background-position: -100px center;
}


#popUpMessage>#statusSign.green{
	-webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
	-moz-box-shadow:    0px 0px 2px 0px rgba(0, 0, 0, 0.75);
	box-shadow:         0px 0px 2px 0px rgba(0, 0, 0, 0.75);
	background-color: #40d47e;
	background-image: url(../../media/layout/okWhite.png);
	background-position: center;
}

#popUpMessage #messageTittle{
	position: absolute;
	width: 100%;
	text-align: center;
	top: 75px;
	font-size: 25px;
}

#popUpMessage #messageText{
	position: absolute;
	width: 100%;
	text-align: center;
	top: 120px;
	font-size: 15px;
	padding: 20px;
}

#popUpMessage .btn{
	/*display: none;*/
	position: absolute;
	bottom: -33px;
	width: 100%;
	height: 30px;
	background-color: #2ecc71;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
	-webkit-box-shadow: 0px -3px 0px 0px #27ae60;
	-moz-box-shadow:    0px -3px 0px 0px #27ae60;
	box-shadow:         0px -3px 0px 0px #27ae60;
	font-size: 15px;
	font-weight: bold;
	color: white;
}


#loadingBar.active{
	opacity: 1;
}


/*********** LOGIN  ************/
#loginPageWrapper{
	width:100%;
	height: 100%;
	background-image: url(../../media/layout/background.jpg);
	background-size: cover;
}

#loginWrapper{
	background-color: white;
	-webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 1);
	-moz-box-shadow:    0px 0px 2px 0px rgba(0, 0, 0, 1);
	box-shadow:         0px 0px 2px 0px rgba(0, 0, 0, 1);
	height: 310px;
	width: 365px;
	background-color: white;
	position: absolute;
	top: 50%; left: 50%;
	margin-top: -155px; 
	margin-left: -182px; 
}

#loginElementsWrapper{
	position: relative;
	width: 100%;
	height: 100%;
}

#loginElementsWrapper>p{
	font-size: 1.8em;
	margin: 32px;

}

#loginElementsWrapper>form{
	width: 100%;
	padding: 0 32px;
    box-sizing: border-box;
    color: #2c3e50;
}

#loginElementsWrapper input{
	background-color: #ecf0f1;
	border: none;
	height: 45px;
	width: 100%;
	margin-bottom: 32px;
	text-align: center;
	line-height: 45px;
	font-size: 1em;
	color: #7e8c8c;
}

#loginElementsWrapper .submitForm{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60px;
	background-color: #34495e;
	-webkit-box-shadow: inset 0px -3px 0px 0px #2c3e50;
	-moz-box-shadow:    inset 0px -3px 0px 0px #2c3e50;
	box-shadow:         inset 0px -3px 0px 0px #2c3e50;
	font-size: 1.8em;
    color: white;
    cursor: pointer;
}


#topMessage{
	width: 100%;
	height: 80px;
	background-color: #e74c3c;
	position: absolute;
	top: -80px;
	text-align: center;
	line-height: 80px;
	color: white;
	font-size: 1.5em;
}


/*********** //LOGIN  ************/
/***********   GRID   ************/

.col12{width: 100%;}
.col11{width: 91.666%;}
.col10{width: 83.333%;}
.col9{width: 75%;}
.col8{width: 66.666%;}
.col7{width: 58.333%;}
.col6{width: 50%;}
.col5{width: 41.666%;}
.col4{width: 33.333%;}
.col3{width: 25%;}
.col2{width: 16.666%;}
.col1{width: 8.333%;}

.marginLeft-col12{margin-left: 100%;}
.marginLeft-col11{margin-left: 91.666%;}
.marginLeft-col10{margin-left: 83.333%;}
.marginLeft-col9{margin-left: 75%;}
.marginLeft-col8{margin-left: 66.666%;}
.marginLeft-col7{margin-left: 58.333%;}
.marginLeft-col6{margin-left: 50%;}
.marginLeft-col5{margin-left: 41.666%;}
.marginLeft-col4{margin-left: 33.333%;}
.marginLeft-col3{margin-left: 25%;}
.marginLeft-col2{margin-left: 16.666%;}
.marginLeft-col1{margin-left: 8.333%;}

.marginTop-col12{margin-top: 100%;}
.marginTop-col11{margin-top: 91.666%;}
.marginTop-col10{margin-top: 83.333%;}
.marginTop-col9{margin-top: 75%;}
.marginTop-col8{margin-top: 66.666%;}
.marginTop-col7{margin-top: 58.333%;}
.marginTop-col6{margin-top: 50%;}
.marginTop-col5{margin-top: 41.666%;}
.marginTop-col4{margin-top: 33.333%;}
.marginTop-col3{margin-top: 25%;}
.marginTop-col2{margin-top: 16.666%;}
.marginTop-col1{margin-top: 8.333%;}

.col12Height{height: 0; padding-bottom: 100%;}
.col11Height{height: 0; padding-bottom: 91.666%;}
.col10Height{height: 0; padding-bottom: 83.333%;}
.col9Height{height: 0; padding-bottom: 75%;}
.col8Height{height: 0; padding-bottom: 66.666%;}
.col7Height{height: 0; padding-bottom: 58.333%;}
.col6Height{height: 0; padding-bottom: 50%;}
.col5Height{height: 0; padding-bottom: 41.666%;}
.col4Height{height: 0; padding-bottom: 33.333%;}
.col3Height{height: 0; padding-bottom: 25%;}
.col2Height{height: 0; padding-bottom: 16.666%;}
.col1Height{height: 0; padding-bottom: 8.333%;}


.floatLeft{float: left;}
.floatRight{float: right;}

.clearFloat{clear: both;}

.fullHeight{display: block; overflow: visible; height: 100%; }

/*********** //GRID   ************/

/***********  GLOBAL    ************/
.textAlignLeft{text-align: left;}
.textAlignRight{text-align: right;}
.textBold{font-weight: bold;}


/*********** //GLOBAL   ************/

/***********  MAIN    ************/
header{
	background-color: #34495e;
	height: 70px;
	line-height: 70px;
	z-index: 999;
}

#btnLogout{
	background-color: #c0392b;
}

#selectedStore{
	height: 100%;
	cursor: pointer;
}

#selectedStore:hover{
	background-color: #475B6F;
}

#storeImg{
	background-color: white;
	background-position: center;
	background-size: 100%;
	width: 50px;
	height: 50px;
	position: relative;
	top: 10px;
	left: 10px;
	border-radius: 30px;
	-webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
	-moz-box-shadow:    0px 0px 2px 0px rgba(0, 0, 0, 0.75);
	box-shadow:         0px 0px 2px 0px rgba(0, 0, 0, 0.75);
}

#storeName{
	position: absolute;
	color: #ecf0f1;
	font-size: 15px;
	font-weight: bold;
	top: 0px;
	left: 70px;
}

#headerMenu>ul{
	margin-right: 20px;
}

#headerMenu>ul>li{
	height: 100%;
	padding: 0 20px;
	float: right;
	display: inline-block;
	color: #ecf0f1;
	cursor: pointer;
	-webkit-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;
}

#headerMenu>ul>li.active{
	background-color: #425466;
}

nav{
	background-color: #EAEAEA;
	top: 70px;
}

.navName{
	color: grey;
	position: relative;
}

.navName>span{
	position: absolute;
	top: 15px;
	left: 15px;
}

.navIcon{
	font-size: 25px;
	text-align: center;
	position: relative;
	border-bottom: solid #D9D9D9 1px;
}
.navIcon>span{
	position: absolute;
	top: 25%;
	left: 0;
	right: 0;
}

.navSeparator{
	border-bottom: solid #D9D9D9 1px;
}

#iconDashBoard{
	-webkit-box-shadow: inset 3px 0px 0px 0px #1abc9c;
	-moz-box-shadow:    inset 3px 0px 0px 0px #1abc9c;
	box-shadow:         inset 3px 0px 0px 0px #1abc9c;
	-webkit-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;
	cursor: pointer;
}

#iconDashBoard.active {
	-webkit-box-shadow: inset 0px -3px 0px 0px #16a085;
	-moz-box-shadow:    inset 0px -3px 0px 0px #16a085;
	box-shadow:         inset 0px -3px 0px 0px #16a085;
	background-color: #1abc9c;
	color: white;
}

#iconSync{
	-webkit-box-shadow: inset 3px 0px 0px 0px #e74c3c;
	-moz-box-shadow:    inset 3px 0px 0px 0px #e74c3c;
	box-shadow:         inset 3px 0px 0px 0px #e74c3c;
	-webkit-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;
	cursor: pointer;
}

#iconSync.active {
	-webkit-box-shadow: inset 0px -3px 0px 0px #c0392b;
	-moz-box-shadow:    inset 0px -3px 0px 0px #c0392b;
	box-shadow:         inset 0px -3px 0px 0px #c0392b;
	background-color: #e74c3c;
	color: white;
}



#pageContent{
	border-top: solid #16a085 3px;
	-moz-box-shadow:    inset  3px 0px 3px -3px rgba(0,0,0,1), inset  -3px 0px 3px -3px rgba(0,0,0,1);
    -webkit-box-shadow: inset  3px 0px 3px -3px rgba(0,0,0,1), inset  -3px 0px 3px -3px rgba(0,0,0,1);
    box-shadow:        inset  3px 0px 3px -3px rgba(0,0,0,1), inset  -3px 0px 3px -3px rgba(0,0,0,1);
	-webkit-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;
	border-top: solid #16a085 3px;

	background-color: #F1F1F1;
	overflow: visible;
	height: auto;
	display: block;
}

#contentTitle{
	background-color:  white;
	height: 45px;	
	-moz-box-shadow:    inset  3px 0px 3px -3px rgba(0,0,0,1), inset 0px -1px 0px 0px rgba(50, 50, 50, 0.2), inset  -3px 0px 3px -3px rgba(0,0,0,1);
    -webkit-box-shadow: inset  3px 0px 3px -3px rgba(0,0,0,1), inset 0px -1px 0px 0px rgba(50, 50, 50, 0.2), inset  -3px 0px 3px -3px rgba(0,0,0,1);
    box-shadow:        inset  3px 0px 3px -3px rgba(0,0,0,1), inset 0px -1px 0px 0px rgba(50, 50, 50, 0.2), inset  -3px 0px 3px -3px rgba(0,0,0,1);
    line-height: 45px;
    color: #7f8c8d;
    padding-left: 15px;
    font-size: 14px;
}

#itemsFilter{
	text-align: right;
    padding-right: 15px;
}

#pageContentWrapper{
	min-height: 100%;
	padding: 5px 10px;
	overflow-y: hidden; /* HIDE overflow; I know, it doesn't make much sense */
    position: relative;}

#contentTitleArrow{
	margin-top: -1px;
	height: 10px;
	background-image: url(../../media/layout/contentTitleArrow.png);
	background-repeat: no-repeat;
	background-position: 25px 0px;
}

#currentCart{
	background-color: #EAEAEA;
	top: 70px;
	right: 0;
}

#currentCartItems>p{
	margin: 30px 0;
	text-align: center;
}

/*********** //MAIN   ************/

#familiesTtl, #encomendaListTtl{
	height: 35px;
	background-color: #16A085;
	border-bottom: solid white 2px;
	text-align: center;
	line-height: 32px;
	font-size: 14px;
	font-weight: bold;
	color: #ECF0F1;
}

#familiesList{


}

.familyName{
	display: inline-block;
	min-height: 30px;
	line-height: 28px;
	color: #34495E;
	font-size: 14px;
	padding: 0 20px;
	text-align: left;
	border-bottom: solid #D9D9D9 1px;
	cursor: pointer;
	-webkit-transition: all .15s;
	-o-transition: all .15s;
	transition: all .15s;
}


.familyName:hover{
	background-color:  #E1E1E1;
}

.itemsNumber{
	height: 20px;
	line-height: 20px;
	font-size: 10px;
	background-color: #D4D4D4;
	text-align: center;
	border-radius: 8px;
	position: relative;
	top: -2px;
}


#currentCartItems table{
	width: 98%;
	margin-left: 2px;
}


#currentCartItems tr > th{
	border-bottom: solid black 2px;
	font-size: 14px;
	color: #34495E;
}

tr > td{	
	font-size: 12px;
	padding: 3px 0;

	color: #34495E;
	border-bottom: solid #F1F1F1 1px;
}

#currentCartItems input{
	border: none;
	height: 17px;
	width: 100%;
	text-align: right;
}
/*
				tr > td > span:hover, .icon-left:hover{	
					color: #448E84;
					cursor: pointer;
				}

				table{
					margin-left: 5px;
					margin-bottom: 15px;
					border-bottom: solid #aaa 1px;
				}

				tbody tr:nth-child(odd) {
				   background-color: #ddd;
				}
*/

.removeIcon{
	width: 17px;
	height: 17px;
	margin-left: 3px;
	border-radius: 10px;
	background-color: #E74C3C;
	color: white;
	font-weight: bolder;
	line-height: 15px;
	text-align: center;
	font-size: 13px;
	cursor: pointer;
}


/********* items ********/
.itemWrapper{
	box-sizing: initial;
	width: 150px;
	height: 200px;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
	-webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow:    0px 0px 3px 0px rgba(0, 0, 0, 0.5);
	box-shadow:         0px 0px 3px 0px rgba(0, 0, 0, 0.5);
	background-color: white;
	position: relative;
	color: #34495E;
}

.itemPicture{
	width:150px;
	height: 150px;
	background-size: cover;
}

.itemName{
	position: absolute;
	top:5px;
	left: 0;
	max-width: 140px;
	background-color: rgba(255,255,255,0.5);
	font-size: 14px;
	padding: 3px;
}

.itemPrice{
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 4px 4px;
	font-size: 18px;

}
.item>input{
	border: none;
	background-color: #EAEAEA;
	position: absolute;
	bottom: 4px;
	right: 24px;
	height: 20px;
	width: 40px;
	text-align: center;
	font-size: 14px;
	line-height: 20px;

}

.itemAddBtn{
	position: absolute;
	bottom: 4px;
	right: 4px;
	width: 20px;
	height: 20px;
	background-color: #16A085;
	text-align: center;
	color: white;
	line-height: 20px;
	font-size: 22px;
	cursor: pointer;
}

.itemFavorite span:before{
	position: absolute;
	right: 4px;
	top: 150px;
	font-size: 22px;
	-webkit-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;
	cursor: pointer;
	text-align: right;
}

.itemFavorite.active span:before{
	content: "\e604";
	color: #f1c40f;
	text-shadow:         0px 0px 2px rgba(0, 0, 0, 0.5);
}

#pageNumbers{
	float: left;
	width: 100%;
	text-align: center;
	padding: 15px;
}

#pageNumbers>div{
	width: 25px;
	height: 25px;
	border-radius: 13px;
	background-color: #34495E;
	text-align: center;
	line-height: 25px;
	color: white;
	font-weight: bold;
	font-size: 14px;
	-webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.35);
	-moz-box-shadow:    0px 0px 2px 0px rgba(0, 0, 0, 0.35);
	box-shadow:         0px 0px 2px 0px rgba(0, 0, 0, 0.35);
	display: inline-block;
	margin: 2px;
	cursor: pointer;
}

#pageNumbers>div.current{
	background-color: #16A085;
}

/*******  //items *******/

/******* filter ************/

select{
    font-size: 14px;
    line-height: 25px;
    border: none;
    height: 25px;
    background: url(../../media/layout/selectArrow.gif) no-repeat right #EAEAEA;
    -moz-appearance: none;
    -webkit-appearance: none;
    padding-right: 30px;
    margin-left: 5px;
}

/*encomenda*/

#closeEncBtn{
	display: none;
	background-color: #2ecc71;
	height: 30px;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
	-webkit-box-shadow: 0px 3px 0px 0px #27ae60;
	-moz-box-shadow:    0px 3px 0px 0px #27ae60;
	box-shadow:         0px 3px 0px 0px #27ae60;
	font-size: 13px;
	font-weight: bold;
	color: white;
}

.encomendaFechoBtns{
	background-color: #2ecc71;
	height: 30px;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
	-webkit-box-shadow: 0px 3px 0px 0px #27ae60;
	-moz-box-shadow:    0px 3px 0px 0px #27ae60;
	box-shadow:         0px 3px 0px 0px #27ae60;
	font-size: 13px;
	font-weight: bold;
	color: white;
	margin: 20px;	
}

#encConfirmBtn{
	display: none;
}

/*moradas*/
.moradaCliente{
	-webkit-box-shadow: inset 0px -35px 0px 0px #16A085, 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow:    inset 0px -35px 0px 0px #16A085, 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
	box-shadow:         inset 0px -35px 0px 0px #16A085, 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
	background: white;
	margin: 20px;
	position: relative;

	-webkit-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;
	cursor: pointer;

	width: 280px;
	height: 120px;
}

.moradaCliente span{
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 35px;
	line-height: 35px;
	color: white;
	text-align: center;
	font-size: 14px;

}

.moradaCliente>p:nth-child(1){
	padding: 10px;
	padding-bottom: 0px;
	font-weight: bold;
	font-size: 14px;
}

.moradaCliente>p:nth-child(2){
	padding-left: 10px;
	padding-bottom: 0px;
	font-size: 14px;
}

.moradaCliente.selected{
	-webkit-box-shadow: inset 0px 0px 0px 4px #16A085, 0px 0px 10px 0px rgba(0, 0, 0, 1);
	-moz-box-shadow:    inset 0px 0px 0px 4px #16A085, 0px 0px 10px 0px rgba(0, 0, 0, 1);
	box-shadow:         inset 0px 0px 0px 4px #16A085, 0px 0px 10px 0px rgba(0, 0, 0, 1);
	 -ms-transform: scale(1.02,1.02); /* IE 9 */
    -webkit-transform: scale(1.02,1.02); /* Safari */
    transform: scale(1.02,1.02);
}

.moradaCliente.selected > span{
	visibility: hidden;
}

/*development*/
.redLine{
	-webkit-box-shadow: inset 0px 0px 0px 1px red;
	-moz-box-shadow:    inset 0px 0px 0px 1px red;
	box-shadow:         inset 0px 0px 0px 1px red;
}
