#footer .navMarsTabs_sub_footer {
    width:80%;
    float: none;
	margin-left:auto;
	margin-right:auto;
}
.navMarsTabs_sub_footer ul.submenu_footer {
	list-style: none; margin:0px; padding:0px;
}
.navMarsTabs_sub_footer .submenu_footer li {
    padding: 10px 0px 0px 0px; margin:0px;
}   
.navMarsTabs_sub_footer a {
    color: white;
    font-size: 1.4em;
    text-transform: none;
    padding: 0 0px;
    font-weight: bold;
    z-index: 1;
}
.navMarsTabs_sub_footer .submenu_footer li a {
    font-size: 1.1em;
    color: #d2dbe7;
  	text-transform: none;
}
#footer #bottomnav a {
    color: whitesmoke;
    padding: 0 1%;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
}
#footer .toplevel { padding-bottom:20px !important;}
#footer .navMarsTabs_sub_footer { padding-top:40px;}
#footer {box-sizing: border-box;}
#footer  .grid .rowItem {box-sizing: border-box; 
	  -webkit-transition: all 0.5s ease-in-out;
	  -moz-transition: all 0.5s ease-in-out;
	  -o-transition: all 0.5s ease-in-out;
	  -ms-transition: all 0.5s ease-in-out;
	  transition: all 0.5s ease-in-out;
}

#footer .grid .rowItem:nth-of-type(1):nth-last-of-type(2) {/*width:47%; margin-right:2%;*/ /*width:42%; margin-right:4%;*/ width:42%; margin:0 3% !important; }
#footer .grid .rowItem:nth-of-type(2):nth-last-of-type(1) {/*width:47%; margin-left:2%;*/ /*width:42%; margin-left:4%;*/ width:42%; margin:0 3% !important; }
.gridOuter {width:90%; width:calc(100% - 40px); display:table; margin:0 auto;}
.rowItemOuter {width:50%; display:table-cell;}

@media only screen and (max-width:667px) {
.gridOuter {width:100%; display:block;}
.rowItemOuter {width:100%; display:block;}
#footer { font-size:1.1em; }
#footer .grid .rowItem { display:block !important; width:100% !important; margin-left:0 !important; text-align:center; }

#footer .grid .rowItem:nth-of-type(1):nth-last-of-type(2) {margin:0 0% !important; }
#footer .grid .rowItem:nth-of-type(2):nth-last-of-type(1) {margin: 0 0% !important; }

#footer .grid .rowItem:nth-of-type(5):nth-last-of-type(3), 
#footer .grid .rowItem:nth-of-type(6):nth-last-of-type(2), 
#footer .grid .rowItem:nth-of-type(7):nth-last-of-type(1) { margin-top:0; }
}