#footer{position: relative;z-index: 40;background: #85888D;}
#footer::before, #footer::after{content: '';position: absolute;top: 0;width: 50%;height: 100%;z-index: -1;}
#footer::before{left: 0;}
#footer::after{right: 0;}
#footer .scrollButton{display: none;visibility: hidden;opacity: 0;cursor: pointer;position: fixed;right: 43px;bottom: 13px;width: 45px;height: 45px;border-radius: 45px;background-color: #FFF;}
#footer .scrollButton::before{content: '';position: absolute;top: calc(50% - 16px);left: calc(50% - 16px);width: 32px;height: 32px;background: url(/sysimages/icon-scroll-top.png) center center/32px no-repeat;}
#footer .scrollButton.sticky{position: absolute;bottom: calc(100% + 13px);}
#footer .scrollButton.visible{visibility: visible;opacity: 1;}
#footer .scrollButton:hover{background-color: #F2F2F2;}
#footer .wrapper-footer{padding: 22px 0 0;}
#footer .newsletter-footer{padding-bottom: 22px;}
#footer .newsletter-footer .title-newsletter-footer{padding-bottom: 21px;}
#footer .newsletter-footer .custom-input{width: 100%;padding: 1px;border-bottom: 1px solid rgba(255, 255, 255, 0.5);}
#footer .newsletter-footer .custom-input span:first-child{width: 100%;}
#footer .newsletter-footer .wrapper-social-footer{padding-top: 12px;margin: 0 -2px;}
#footer .newsletter-footer .share-icons-social{display: none;}
#footer .menu-footer .title-menu{display: block;margin-bottom: 5px;}
#footer .menu-footer ul{margin: 0;list-style: none;}
#footer .menu-footer ul li:not(:first-child){padding-top: 4px;}
#footer .menu-footer ul li a{display: inline-block;}
#footer .bottom-footer{padding: 28px 0 23px;}
#footer .bottom-footer .logo-footer{display: table;margin: 0 auto;}
#footer .bottom-footer .logo-footer div{max-width: calc(50% + 29px);overflow: hidden;}
#footer .bottom-footer .logo-footer img{display: block;max-width: none;max-height: 57px;}
#main.account + #footer .newsletter-footer{display: none;}
body.BOTH #footer .newsletter-footer{max-width: 620px;margin: 0 auto;}
body.BOTH #footer .newsletter-footer .title-newsletter-footer{text-align: center;}
body.TEMPERATURA #footer .newsletter-footer .share-icons-social.social-TEMPERATURA,
body.ANASOUSA #footer .newsletter-footer .share-icons-social.social-ANASOUSA{display: block;}
body.BOTH #footer .bottom-footer .logo-footer div{max-width: none;}
body.ANASOUSA #footer .bottom-footer .logo-footer div, body.ANASOUSA #footer .bottom-footer .logo-footer img{float: right;}

/* ---------- TABLET ---------- */
body.tablet #footer .wrapper-footer{padding-top: 36px;}
body.tablet #footer .newsletter-footer{text-align: center;}
body.tablet #footer .newsletter-footer .hidden-xs{display: none;}
body.tablet #footer .newsletter-footer .hidden-sm{display: block !important;}
body.tablet #footer .newsletter-footer a{display: inline-block;}
body.tablet #footer .menu-footer{text-align: center;}
body.tablet #footer .menu-footer .column-menu{width: 100%;}
body.tablet #footer .menu-footer .column-menu .row{display: none;}
body.tablet #footer .menu-footer .column-menu ul{margin-bottom: 21px;}
body.tablet #footer .menu-footer .title-menu{padding: 9px 0 8px;cursor: pointer;}
body.tablet #footer .bottom-footer{padding-bottom: 38px;}
body.tablet #footer .newsletter-footer .wrapper-social-footer .column{width: 100%;}
body.tablet.BOTH #footer .newsletter-footer .wrapper-social-footer{display: none;}
/* ---------------------------- */

@media screen and (min-width: 768px){
	body.BOTH #footer .newsletter-footer .share-icons-social{display: block;}
	body:not(.tablet) #footer .newsletter-footer .share-icons-social.social-ANASOUSA{float: right;}
	body:not(.tablet) #footer .menu-footer .row-menu, body:not(.tablet) #footer .menu-footer .row-menu .row{display: table;table-layout: fixed;width: calc(100% + 30px);}
	body:not(.tablet) #footer .menu-footer .row-menu .column{display: table-cell; float: none;}
}

@media screen and (max-width: 767px){
	#footer .wrapper-footer{padding-top: 36px;}
	#footer .newsletter-footer{text-align: center;}
	#footer .newsletter-footer a{display: inline-block;}
	#footer .menu-footer{text-align: center;}
	#footer .menu-footer .column-menu .row{display: none;}
	#footer .menu-footer .column-menu ul{margin-bottom: 21px;}
	#footer .menu-footer .title-menu{padding: 9px 0 8px;cursor: pointer;}
	#footer .bottom-footer{padding-bottom: 38px;}
	#footer .newsletter-footer .wrapper-social-footer{margin: 0;}
	body.BOTH #footer .newsletter-footer .wrapper-social-footer{display: none;}
}
