/*WWII Tanks Style Sheet*/

* {
    box-sizing: border-box;
}

/* Style the header */
.header {
    background-color: #008080;
    padding: 25px;
    text-align: center;
    color: white;
}

/* Style the footer */
.footer {
	padding: none;
	text-align: center;
}

/* Style the copyright notice */
.cright {
	padding: none;
	text-align: center;
}

/* Table formating */
table {
	 table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
   border: 1px solid black;
}

td {
	vertical-align: top;
	border: #333333 1px solid;
	background-color: #FFF;
}

td.data {
	text-align: center;
}

td.subheading {
	text-align: left;
	font-weight: bold;
}

th {
    background-color: #333333;
    color: white;
}

th, td {
    padding: 2px;

}

/* References table */
#ref {
    border-collapse: collapse;
    border: none;
    width: 90%;
    margin-left:5%; 
    margin-right:5%;
    table-layout: auto;
}

#ref td, #ref th {
    border: none;
    padding: 8px;
    background-color: inherit;
}

#ref tr:nth-child(even) {background-color: #f2f2f2;}

#ref tr:hover {background-color: #dddddd;}

#ref th {
    padding-top: 6px;
    padding-bottom: 6px;
    text-align: center;
    background-color: #333;
    color: white;
}

td.code {
   text-align: center;
}

/* General body style */
body {
	  margin: 10px;
	height:auto;
	background-color:#ffffff;
	color:#000000;
	font-family:Arial, Helvetica, sans-serif;
	font-size:1.0em;
}

/* Content page format */
div.page {
    max-width:775px;
    margin: auto;
    border: 2px solid #004d4d; 
}

/* Navigation bar formating */
ul.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #004d4d;
}

ul.navbar li {
    float: left;
}

li a, .dropbtn {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
    background-color: #cc0000;
}

ul.navbar li a.active {background-color: #cc0000;}

ul.navbar li a.prevnext {background-color: #29a329;}

ul.navbar li.right {float: right;}

ul.navbar li.dropdown {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {background-color: #cc0000}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Style for text types */
h1 { 
    display: block;
    font-size: 2.0em;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h2 { 
    display: block;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h3 { 
    display: block;
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    font-weight: normal;
}

.cntr {
    text-align: center;
}

.hdng {
    text-align: center;
    background-color: #008080;
    color: white;
}

p {
    display: block;
    font-size: 1.0em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 0;
    margin-right: 0;
}

/* Text link class */
.txtlink { text-decoration: none; color:#000000; }
.txtlink:visited { text-decoration: none; color:#333333; }
.txtlink:hover { text-decoration: none; color:#cc0000; }
.txtlink:active { text-decoration: none; color:#ff0000; }

/* Heading text link class */
.hdlink { text-decoration: none; color:#ffffff; }
.hdlink:visited { text-decoration: none; color:#f2f2f2; }
.hdlink:hover { text-decoration: none; color:#cc0000; }
.hdlink:active { text-decoration: none; color:#ff0000; }

/* Create three equal columns that floats next to each other */
.column1 {
    float: left;
    width: 33%;
    padding: 5px;
}

.column2 {
    float: left;
    width: 34%;
    padding: 5px;
}

.column3 {
    float: left;
    width: 33%;
    padding: 5px;
}

/* Single column division class */
.column {
    float: left;
    width: 100%;

    padding: 5px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Row color classes */
.row1 {
    background-color: #fff9e6;
}

.row2 {
    background-color: #e6e6e6;
}

/* Center image in a container */
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 99%;
}


/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width:600px) {
    .column1 {
        width: 100%;
    }
    .column2 {
        width: 100%;
    }
    .column3 {
        width: 100%;
    }

    ul.navbar li.right,
    li.dropdown,
    ul.navbar li {float: none;}

}

