/*Theme Name:  My Custom Template */
.navbar {
    background-color: #000000 !important;

}

.nav-item {
    font-weight: bold;
    color: #FFFFFF;
}

p {
  text-align: center; 
}

.faq p {
  text-align: left; 
}

.faq .top p {
  text-align: center; 
}

.faq ul {
  list-style-type:none;
  text-align:center;
}

h1, h2, h3 {
  text-align: center; 
}

img {
  display: block;
  margin-left: auto;
  margin-right: auto;

}

html {
 min-height: 100%;
 height: 100%;
}

body {
 min-height: 100%;
 display: flex;
 flex-direction: column;
}

.container {
    padding-bottom: 10px;
}

.footer {
   /*position: fixed;
   left: 0;
   bottom: 0;*/
   width: 100%;
   background-color: #527deb;
   color: white;
   text-align: center;
   font-weight: bold; 
   margin-top: auto;
}

/* Source:  https://css-tricks.com/responsive-data-tables/ */

/* 
Generic Styling, for Desktops/Laptops 
*/
table { 
  border-collapse: collapse; 
  width: 80%;
}
/* Zebra striping */
/*tr:nth-of-type(odd) { 
  background: #eee; 
}*/
th { 
  background: #000000 !important;
  color: white; 
  font-weight: bold; 
}
td, th { 
  padding: 6px; 
  /*border: 1px solid #ccc; */
  text-align: center; 
  width:20%;
  white-space: nowrap;
}

tr:hover {
    background-color: #527deb !important;
    /*font-weight: bold;*/
    color: #FFFFFF;
}

tr a {
    font-weight: bold;
    color: #000000;
}

tr a:hover {
    /*font-weight: bold;*/
    color: #FFFFFF;

}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	table {
	    width: 100%;
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { 
	    border-bottom: 4px solid #000000; 
	}
	
	td { 
		/* Behave  like a "row" */
		border: none;
		/*border-bottom: 1px solid #eee; */
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		text-align: left;
		white-space: nowrap;
	}
	
	.wifi tbody td:nth-of-type(1):before {
	    content: "Brand";
    }

	.wifi tbody td:nth-of-type(2):before {
	    content: "Model";
    }

	.wifi tbody td:nth-of-type(3):before {
	    content: "Channels";
	}

	.wifi tbody td:nth-of-type(4):before {
	    content: "DOCSIS";
    }

	.wifi tbody td:nth-of-type(5):before {
	    content: "Top Speed Tier";
	}
	
    .wifi tbody td:nth-of-type(6):before {
	    content: "WiFi Spec";
    }	

    .wifi tbody td:nth-of-type(7):before {
	    content: "Affordability";
    }	

    .wifi tbody td:nth-of-type(8):before {
	    content: "Details";
    }	





	.no-wifi tbody td:nth-of-type(1):before {
	    content: "Brand";
    }

	.no-wifi tbody td:nth-of-type(2):before {
	    content: "Model";
    }

	.no-wifi tbody td:nth-of-type(3):before {
	    content: "Channels";
    }

	.no-wifi tbody td:nth-of-type(4):before {
	    content: "DOCSIS";
    }

	.no-wifi tbody td:nth-of-type(5):before {
	    content: "Top Speed Tier";
    }
    
    .no-wifi tbody td:nth-of-type(6):before {
	    content: "Affordability";
    }
	
    .no-wifi tbody td:nth-of-type(7):before {
	    content: "Details";
    }
    
    
    .modems tbody td:nth-of-type(1):before {
	    content: "Brand";
    }

	.modems tbody td:nth-of-type(2):before {
	    content: "Model";
    }

	.modems tbody td:nth-of-type(3):before {
	    content: "Channels";
	}

	.modems tbody td:nth-of-type(4):before {
	    content: "DOCSIS";
    }

	.modems tbody td:nth-of-type(5):before {
	    content: "Top Speed";
	}
	
	.modems tbody td:nth-of-type(6):before {
	    content: "WiFi";
    }	
	
    .modems tbody td:nth-of-type(7):before {
	    content: "WiFi Spec";
    }	
    
    .modems tbody td:nth-of-type(8):before {
	    content: "Voice";
    }

    .modems tbody td:nth-of-type(9):before {
	    content: "Affordability";
    }	

    .modems tbody td:nth-of-type(10):before {
	    content: "Details";
    }	
    
    
    
    
    .router tbody td:nth-of-type(1):before {
	    content: "Brand";
    }
    
    .router tbody td:nth-of-type(2):before {
	    content: "Model";
    }

    .router tbody td:nth-of-type(3):before {
	    content: "WiFi Generation";
    }
    
    .router tbody td:nth-of-type(4):before {
	    content: "WiFi Speeds";
    }

    .router tbody td:nth-of-type(5):before {
	    content: "Wired LAN Speed";
    }
    
    .router tbody td:nth-of-type(6):before {
	    content: "Wired LAN Ports";
    }

    .router tbody td:nth-of-type(7):before {
	    content: "Supports VPN Server";
    }
    
    .router tbody td:nth-of-type(8):before {
	    content: "Affordability";
    }

    .router tbody td:nth-of-type(9):before {
	    content: "Details";
    }
    
    
    
    

}

