.maralayoutmiddle { --dnav-x:3px; }
@media (max-width:1002px) { .wsx-c { margin-right:3px; } }
@media all and (orientation:portrait) and (max-width:845px), (max-width:845px) and (max-aspect-ratio:13/9) { .wsx-c { margin-right:2px; } }
.reminder-container { position: relative; z-index: 2147483647; pointer-events: auto; }
@media (min-width: 1150px) {
.ad-container{
position: relative;
left:-260px;
width:970px;
height:90px;
overflow:hidden;
z-index:10;
display:flex;
justify-content:flex-end;
}
}
@media (max-width: 600px) { 
.each-link-min {
	flex-basis:49%;	
}
.pet_showone {
	flex-wrap: wrap;
}
.petwidth_one img {
	max-width:100%;
	height:auto;
}
.petwidth_one {
	min-width:150px;
	width:150px;
	max-width:150px;
}

}

@media (max-width: 1002px) { 
.each-link-min {
	flex-basis:32%;	
}
.top-wrapping {
	width:845px;
}
header{
	width:845px;
}
.marapetsmax {
	width:845px;
}
.marapetsend {
	width:845px;
}
.verytoptext {
	font-size:0.917rem;
}
.mara-block {
	width:100%;
	height:70px !important;
}
.mara-container{
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
	justify-content:center;
	align-items:flex-start;
	margin:0 auto;
	padding:0;
	border:0;
	position:relative;
	width:845px;
	height:90px;
	z-index:1000;
	overflow:visible;
}
.ad-container{
  display: flex;
	justify-content:flex-end;
	position: relative;
	width:728px;
	height:90px;
	margin:0;
	padding:0;
	border:0;
	left:0;
	overflow:hidden;
	z-index:10;
	flex-grow:1;
}
.top-nav-menu {
	margin-top:59px;
	width:845px;
	background:#FFFFFF;
	border-radius:12px;
	height:28px;
	margin-bottom:40px;
}
.top-nav-menu > ul{
	list-style:none;
	width:805px;
}
.maralayout.sitecontent {
  width: 740px;
  max-width:740px;
  overflow:hidden;
	position: absolute;
  left:103px;
}
.maralayoutmiddle {
  background-color:#FFF;
  min-height:670px;
  min-width:734px;
  max-width:734px;
  border-radius: 8px;
  margin: 0;
  padding:6px 3px;
  float:left;
}	
.verytoptext {
	font-size:0.917rem;
}
.flex-left {
	padding-left:4px;	
}
.flex-right {
	padding-right:4px;	
}
.tree-search{
 display:block;
 width:100px;
 max-width:100px;
 margin:1px auto;
}
.tree-search-input, .tree-search input[type=text]{
  float:left;	
  width: 100px;
  max-width:100px;
  height:25px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;    
	box-sizing: border-box;
  border: 1px solid #333333;
  border-radius: 10px;
  font-size: 0.917rem; font-family:verdana,arial,helvetica,sans-serif; text-decoration:none;
  background-color: white;
  background-image: url('https://images.marapets.com/sitesearch.png');
  background-position: 1px 1px; 
  background-repeat: no-repeat;
  opacity:0.9;
  padding: 2px 10px 2px 25px;
}
.tree-search input[type=text]:focus {
  width: 100%;
}
.tree-search-shield {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  max-width:103px;
  width:103px;
    flex-direction: row;
	flex-wrap: nowrap;
	justify-content:center;
	align-items:center;
}
.tree-search-shield2 img {
	width:35px;
	height:auto;
}
.tree-search-shield3 img {
	width:17px;
	height:auto;
}
.reminder-container {
  display: flex;
	justify-content:center;
    min-width:115px;
    max-height:80px;
    padding:2px;
}
.sitetemplate_reminders {
 position:relative;
 z-index: 999998;
 margin:0;
 border-radius: 8px;
  width:115px;
    max-height:80px;
}
.sitetemplate_reminders .currencytext img {
	display:none;	
}
.sitetemplate_reminders .verytoptext {
	  font-size:0.877rem;
}
.search-box-menu {
	display:none;	
}

}

@media all and (orientation:portrait) and (max-width: 400px), (max-width: 400px) and (max-aspect-ratio: 13/9) { 
.mobilesearch {
 display:block;
 position:absolute;
 z-index: 2147483600;
 right:6px;
 top:58px;
 margin:0;
}
.sitetemplate_mobilesearch {
  line-height:13px;
  position:absolute;
  background-color:#FFF;
  width:105px;
    max-width:105px;
 max-height:60px;
  border-radius: 10px;
  padding:6px;
  text-align:center;
 overflow:hidden;
 z-index: 2147483600;
 justify-content: space-around;
  justify-content: space-evenly;
  align-items: center;
  align-content: center;
 right:0;
 top:0;
 margin:0;
}
.sitetemplate_mobilesearch-input, .sitetemplate_mobilesearch input[type=text]{
  float:left;	
  width: 95px;
  max-width:95px;
  height:25px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;    
	box-sizing: border-box;
  border: 1px solid #FFF;
  border-radius: 10px;
  font-size: 16px; font-family:verdana,arial,helvetica,sans-serif; text-decoration:none;
  background-color: white;
  background-image: url('https://images.marapets.com/sitesearch.png');
  background-position: 1px 1px; 
  background-repeat: no-repeat;
  opacity:0.8;
  padding: 2px 10px 2px 25px;
}
.sitetemplate_mobilesearch input[type=text]:focus {
  width: 100%;
}
}

@media all and (orientation:portrait) and (min-width: 400px) and (max-width: 845px), (min-width: 400px) and (max-width: 845px) and (max-aspect-ratio: 13/9) { 
.tabletsearch {
 display:block;
 position:absolute;
 z-index: 999998;
 right:0;
 top:55px;
 margin:0;
}
.tabletsearch-input, .tabletsearch input[type=text]{
  float:left;	
  width: 95px;
  max-width:95px;
  height:25px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;    
	box-sizing: border-box;
  border: 1px solid #FFF;
  border-radius: 10px;
  font-size: 16px; font-family:verdana,arial,helvetica,sans-serif; text-decoration:none;
  background-color: white;
  background-image: url('https://images.marapets.com/sitesearch.png');
  background-position: 1px 1px; 
  background-repeat: no-repeat;
  opacity:0.8;
  padding: 2px 10px 2px 25px;
}
.tabletsearch input[type=text]:focus {
  width: 100%;
}
}



@media all and (orientation:portrait) and (max-width: 845px), (max-width: 845px) and (max-aspect-ratio: 13/9) { 
.mara-block .ad-container {
	display:none !important;
	pointer-events:none;
}
.mobileheader {
	position:relative;
	overflow:visible;
}
#sitetemplate_remindersearch {
	position:absolute;
	right:0;
	top:0;
	z-index:2147483647;
	pointer-events:auto;
}
.eachdollhere {
	width:16%;
	max-width:16%;
}
.switchtodesktop {
	display:block;
}
.sitetemplate_reminders {
 position:relative;
 z-index:2147483647;
 right:auto;
 top:auto;
 max-height:60px;
 margin:0;
 pointer-events:auto;
}
.hideonmobile {
	display:none;
}
.hideondesktop {
	display:block;
}
.nav_mobile_hide2 {
	display:none;
}
.nav_mobile_hide3 {
	display:none;
}
.nav_mobile_hide4 {
	display:none;
}
.nav_mobile_hide5 {
	display:none;
}
.mobile_btmbuttons {
	margin-bottom:5px;
	padding:0;
}
.randomeventsbox {
	margin-bottom:0;
}
.pets_show_one {
	max-width:98%;
}
.top-heading {
	display:none;	
}
.mara-block {
	display:none;	
}
.leftbar {
	display:none;	
}
.top-nav-menu {
	display:none;	
}
.googlead {
	display:none;	
}
.ianonly {
	display:none;	
}
.exploremap_vtop {
	display:none;	
}
.exploremap_top {
	padding:0;
	margin:0;
}
.maralayoutmiddle {
 box-sizing: border-box;
  background-color:#FFF;
  min-height:670px;
  min-width:100%;
  width:100%;
  max-width: 100%;
  margin: 0;
  padding: 5px 3px;
  float:left;
}	
.maralayout.sitecontent {
  min-width:100%;
  width:100%;
  max-width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  left:0;
  top:87px;
  display: inline-block;
}
.friendsbackground, .darkerbackground, .maralayoutmiddle {
	border:0;
    border-radius: 0;
}
.marapetsmax {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  margin:0;	
}
.marapetsend {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  margin:0;	
}
.mobile_sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index:999999999999999999999999;
  top: 0;
  left: 0;
  overflow: hidden;
  transition: 0.5s;
  display:block;
  border-right:3px solid #FFFFFF;
}
.mobile_sidebar_signs {
  padding: 0px 35px 0px 140px;
  text-decoration: none;
  color: #818181;
  display: block;
  transition: 0.3s;
}
.mobile_sidebar_signs img {
	margin:0;
	padding:0;
}
.mobile_sidebar2 {
  height: 100%;
  width: 0;
  position: fixed;
  z-index:999999999999999999999999;
  top: 0;
  left: 0;
  overflow: hidden;
  transition: 0.5s;
  display:block;
  background: #E8E8E8;
  border-right:3px solid #FFFFFF;
  vertical-align:middle;
}
.mobileheader {
	width:100%;
	float:left;
	height:85px;
	display:inline-block;
    background-image: url(https://images.marapets.com/decade/mobile_headerbg.png);
	background-repeat: repeat;
	background-position: left top;
}
body {
background-size: cover;
}
.openbtn {
  font-size: 30px;
  cursor: pointer;
  background-color: #E8E8E8;
  color: #000;
  padding: 10px 15px;
  border: none;
}
.mobile_bottombar {
  overflow: visible;
  position: fixed;
  bottom: 0;
  z-index:999999999999999999999999;
  min-width: 100%;
  width: 100%;
  max-width: 100%;
  height:75px;
  max-height:75px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;    
	box-sizing: border-box;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: nowrap;
  flex-direction: row;
  padding-left:2px;
  padding-right:1px;
  margin:0 auto;
  background: url(https://images.marapets.com/mobile_bottombg4.png) repeat-x left bottom;
}
.mobile_bottombar_doll {
  width: 75px;
  max-width: 75px;
  height:75px;
  max-height:75px;
  flex:none;
}
.verytoptext {
	font-size:1rem;
}
.mobile_bottombar_eachicon {
  max-width:100%;
  height:auto;
}
.mobile_bottombar_treeicon {
	border:2px solid #FFFFFF;
	border-radius: 50%;
	height:50px;
	width:50px;
    background: #FFFFFF;
}
.mobile_bottombar_tree {
	padding-bottom:5px;
}
.mySidebarLogo {
  position: absolute;
  top:1px;
  left:3px;
}
.pages_search input {
	padding:3px 8px;
	width:20px;
}
.flex-buttons {
	padding-top:2px;	
	padding-bottom:3px;	
}
}

@media all and (orientation:portrait) and (max-width: 501px), (max-width: 501px) and (max-aspect-ratio: 13/9) { 
ul.pagination input {
	font-size:16px; 
}
.pages_search input {
	font-size:16px; 
}
.copyToClipboard input {
	font-size:1rem;
}
	
.form-control,input[type=text],input[type=password],input[type=email],input[type=number],input[type=tel],input[type=url],select,textarea {
	font-size: 14px;
}

.form-control.focus,.form-control:focus,input[type=text].focus,input[type=text]:focus,input[type=password].focus,input[type=password]:focus,input[type=email].focus,input[type=email]:focus,input[type=number].focus,input[type=number]:focus,input[type=tel].focus,input[type=tel]:focus,input[type=url].focus,input[type=url]:focus,select.focus,select:focus,textarea.focus,textarea:focus {
	font-size: 14px;
}
.sitepages_normal {
	display:none;	
}
.sitepages_mobile {
	display:block;	
}
.mainfeature_npc {
    flex-direction: column;
}
.mainfeature_npc2 {
    flex-direction: column;
}
.mainfeature_npc3 {
    flex-direction: column;
}
.bigger, .huge {
	font-size:1.167rem;
}
.more {
	font-size:1rem;
}


.eachfeature_box {
	width:95%;
    flex-direction: column;
	align-items:center;
}
.itemwidth {
	max-width:25%;
	min-width:25%;
	width:25%;
	padding-bottom:15px;
}
.width25 {
	max-width:33%;
}
.fixed25 {
	width:50%;
	max-width:50%;
}
.flex-returnto {
   background-color:#FFF;
   border: 2px solid #FFF;
   border-radius: 8px;
   width:100%;
   margin:6px auto;
}
.mobile-returnto {
	min-width:95px;
	width:95px;
}
.suggest_left {
	display:none;	
}
.suggest_right {
	display:block;	
}
.eachgame_box {
	min-width:96%;
	width:97%;
	max-width:98%;
}
.flex-table17 {
	justify-content:center;
}
.fixed50 {
	min-width:96%;
	width:97%;
	max-width:98%;
}
}

@media all and (orientation:portrait) and (max-width: 600px), (max-width: 600px) and (max-aspect-ratio: 13/9) { 
.pets_show_each {
	min-width:33%;
	width:33%;
}
}
@media all and (orientation:portrait) and (max-width: 550px), (max-width: 550px) and (max-aspect-ratio: 13/9) { 
.eachdollhere {
	width:24%;
	max-width:24%;
}
}

@media all and (orientation:portrait) and (max-width: 470px), (max-width: 470px) and (max-aspect-ratio: 13/9) { 
.flex50 {
	min-width:96%;
	width:97%;
	max-width:98%;
}
.pets_show_each {
	min-width:50%;
	width:50%;
}

}
@media all and (orientation:portrait) and (max-width: 400px), (max-width: 400px) and (max-aspect-ratio: 13/9) { 
.itemwidth {
	max-width:33%;
	min-width:33%;
	width:33%;
	padding-bottom:15px;
}
.pages_all {
	flex-wrap: wrap;
}
.pages_each {
	padding-bottom: 3px;
	margin-bottom: 6px;
}
}
@media (min-width: 360px) { 
	.mobile_bottombar_treeicon {
		border:3px solid #FFFFFF;
		border-radius: 50%;
		height:55px;
		width:55px;
	}
}
@media (min-width: 370px) { 
	.mobile_bottombar_treeicon {
		border:3px solid #FFFFFF;
		border-radius: 50%;
		height:60px;
		width:60px;
	}
}
@media all and (orientation:portrait) and (min-width: 420px) { 
.nav_mobile_hide2 {
  display: flex;
}
}
@media all and (orientation:portrait) and (min-width: 465px) { 
.nav_mobile_hide3 {
  display: flex;
}
}
@media all and (orientation:portrait) and (min-width: 505px) { 
.nav_mobile_hide4 {
  display: flex;
}
}
@media all and (orientation:portrait) and (min-width: 540px) {  
.nav_mobile_hide5 {
  display: flex;
}
}
@media all and (orientation:portrait) and (min-width: 570px) { 
.nav_mobile_hide5 {
  display: flex;
  flex:1;
}
}
@media all and (orientation:portrait) and (min-width: 600px) 
{ 
.mobile_bottombar_each {
  padding-left:1px;
  padding-right:1px;
}
}
@media all and (orientation:portrait) and (min-width: 650px) 
{ 
.mobile_bottombar_each {
  padding-left:2px;
  padding-right:2px;
}
}
@media all and (orientation:portrait) and (min-width: 700px) 
{ 
.mobile_bottombar_each {
  padding-left:3px;
  padding-right:3px;
}
}
@media all and (orientation:portrait) and (min-height:650px) AND (min-width:600px){
.mobile_bottombar_doll {
	height:90px;
	width:90px;
	max-height:90px;
	max-width:90px;
}
.mobile_sidebar2 {
  padding-bottom: 90px;
}
.mobile_bottombar_treeicon {
	border:3px solid #FFFFFF;
	border-radius: 50%;
	height:70px;
	width:70px;
}

}
@media all and (orientation:portrait) and (min-width: 560px) and (min-height: 450px) and (max-width: 845px) { 
.tabletsearch {
 display:block;
 position:absolute;
 z-index: 999998;
 right:0;
 top:68px;
 margin:0;
}
.tabletsearch-input, .tabletsearch input[type=text]{
  float:left;	
  width: 95px;
  max-width:95px;
  height:25px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;    
	box-sizing: border-box;
  border: 1px solid #FFF;
  border-radius: 10px;
  font-size: 16px; font-family:verdana,arial,helvetica,sans-serif; text-decoration:none;
  background-color: white;
  background-image: url('https://images.marapets.com/sitesearch.png');
  background-position: 1px 1px; 
  background-repeat: no-repeat;
  opacity:0.8;
  padding: 2px 10px 2px 25px;
}
.mobileheader {
	width:100%;
	float:left;
	height:100px;
	display:inline-block;
    background-image: url(https://images.marapets.com/decade/tablet_headerbg.png);
	background-repeat: repeat;
	background-position: left top;
}
body {
background-size: cover;
}
.maralayout.sitecontent {
  top:97px;
}
.mobileheader_logo {
	margin-top:10px;
}
.mobile_mail {
	margin-top:10px;
}
.verytoptext {
	font-size:1rem;
}

.reminder-container {
    min-width:105px;
    max-width:105px;
    max-height:100px;
}
.sitetemplate_reminders {
  width:105px;
    max-width:105px;
    max-height:100px;
}
.tablet_progress {
	display:flex;	
	width:40px;
	min-width:40px;
	padding-left:3px;
}
.tablet_progress_shield {
	align-self:flex-end;
	margin-bottom:-10px;
}
.tablet_progress_shield img {
	width:38px;
	height:38px;
}
.mobile_sidebar_signs {
  padding: 58px 35px 0px 140px;
}
.tablet_progress_bars img {
	width:12px;
	height:24px;
}
}
@media (max-width: 600px) { 
.each-link-min {
	flex-basis:49%;	
}
}
@media all and (orientation:portrait) and (min-height:665px) AND (min-width:350px){
.mobile_sidebar_signs {
  padding: 0px 35px 0px 140px;
}
.mobile_sidebar2 {
  padding-top: 35px;
}
.mobile_sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index:999999999999999999999999;
  top: 85px;
  left: 0;
  overflow-x: hidden;
  transition: 0.5s;
  display:block;
  border-right:3px solid #FFF;
}
.mySidebarLogo {
  display:none;
}
}
@media all and (orientation:portrait) and (min-height:665px) AND (min-width:550px){
 .mobilemenubox3 {
	 line-height:90px;
 }
.mobile_sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index:999999999999999999999999;
  top: 100px;
  left: 0;
  overflow-x: hidden;
  transition: 0.5s;
  display:block;
  border-right:3px solid #FFF;
}
.mySidebarLogo {
  display:none;
}
}
@media all and (orientation:portrait) and (max-width: 450px) { 
.mobile_layoutmsg {
	display:block;	
	margin-bottom:5px;
}
}
@media (max-width: 325px) { 
body {
	font-size:10px;
}		
.mobile_bottombar_doll {
	min-height:60px;
	min-width:50px;
	height:60px;
	width:50px;
}
.nav_mobile_hide1 {
	display:none;
}
.currencytext img {
	display:none;
}
}

@media all and (orientation:portrait) and (min-width: 450px) and (max-width: 845px) { 
.tablet_layoutmsg{
	display:block;	
	margin-bottom:5px;
}
.mobile_layoutmsg {
	display:none;
}
}

@media (max-width: 400px) { 

.petwidth_one .text-left {
	font-size:0.917rem;
}
.petwidth_one .text-right {
	font-size:0.917rem;
}
.petbar {
	width:50px;
	max-width:50px;
}
.pets_stats_icon img {
	width:20px;
	height:20px;
	max-width:20px;
	max-height:20px;
}
.flex-table2 {
	padding:1px;
}
}

@media (max-width: 380px) { 
.petwidth_one {
	min-width:140px;
	width:140px;
	max-width:140px;
}
.failbox, .comebackbox, .questdaybox, .missionsbox, .progressbox, .progressquote, .progressquote2, .eventbox, .halloweenbox, .gbbox, .mpbox {
	min-width:95%;
	width:95%;
}
}
@media (max-width: 370px) { 
.petwidth_one {
	min-width:135px;
	width:135px;
	max-width:135px;
}
}
@media (max-width: 360px) { 
.flex-mainbtns img {
	width:64px;
	height:39px;
}
.petwidth_one {
	min-width:130px;
	width:130px;
	max-width:130px;
}
}
@media (max-width: 350px) { 
.petwidth_one {
	min-width:125px;
	width:125px;
	max-width:125px;
}
}
@media (max-width: 340px) { 
.petwidth_one {
	min-width:120px;
	width:120px;
	max-width:120px;
}
}
@media (max-width: 330px) { 
.petwidth_one {
	min-width:120px;
	width:120px;
	max-width:120px;
}
.petwidth {
	min-width:125px;
	width:125px;
	max-width:125px;
}
.specialpet, .defaultpet {
	width:125px;
	height:125px;
	max-width:125px;
   	max-height:125px;
}
.petwidth_one .text-left {
	font-size:0.833rem;
}
.petwidth_one .text-right {
	font-size:0.833rem;
}
.fairyreward_box {
  	min-width:130px;
  	width:130px;
	max-width:130px;
	margin-bottom:10px;
	margin-left:2px;
	margin-right:2px;
}
}
