/* External CSS Document for GEOM101 Assignment 2 */

/* All color styling is sourced from https://www.w3schools.com/colors/colors_picker.asp */

* {
	margin: 0;
	padding: 0;
}

/* Styling for Tags/Elements ---------------------*/

h1 {
	font-size: 20pt;
	color: White;
	height: 60px;
	font-family:Hoefler;
	text-align: left;
	padding-left:30px;
	padding-top:15px;
	background-color: #004080;
	text-decoration:underline;
	
}

h2 {
	font-size: 14pt; 
	font-family:georgia; 
	text-align: left;
	padding-bottom: 2px;
	border-bottom: 1px solid grey;
	padding-left:10px;
	margin-left:10px;
	margin-top:10px;
	margin-bottom: 10px;
}

h3 { /* Styling and spacing inspired by wiki page headings*/
	font-size: 12pt; 
	font-family:georgia; 
	font-weight: bold;
	text-align: left;
	padding-top: 10px;
	padding-bottom: 7px;
	padding-left:15px;
}

/* Styling for various block elements holding main content. Kept in cascading format from largest to smallest element*/

body {
	margin:15px;
	margin-left:75px;
	margin-right:50px;
	border-left: 1px solid gray;
	border-right: 1px solid gray;
	background-color:#FBFAF3;
}


p {
	padding-left:15px;
	padding-bottom:10px;
	font-family:"Times New Roman";
	font-size:12pt;
}



figure {
	padding: 0;
	margin-left:auto;
	margin-right:auto;
	margin-bottom: 2px;
}
/* Caption styles sourced from https://www.w3schools.com/cssref/pr_tab_caption-side.asp */
caption.bottomc {
	caption-side:bottom;
}

caption.topc {
	caption-side:top;
	font-family:Arial;
	font-size:16px;
	padding-bottom:2px;
}

figcaption {
	text-align:center;
	padding-bottom: 15px;
	text-decoration:none;
}

footer { /* footer formatting sourced from https://www.w3schools.com/cssref/pr_class_clear.asp */
	font-size:11pt;
	background-color: lightgray;
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
	text-align: center;
	margin-top:10px;
	padding: 10px;
	clear: both;
}

/*Navbar styles to accomodate hover and text emphasis to let user know which page they're currently in. All navbar related styling Sourced from https://www.w3schools.com/css/css_navbar_horizontal.asp -----------------*/
/*Navbar container*/
nav {
	overflow: hidden;
	background-color: #0059b3;
	margin-bottom: 15px;
}
/*Navbar links*/
nav a {
	font-family:Verdana;
	font-size:10pt;
	float: left;
	display: block;
	color: White;
	text-align: center;
	padding: 10px 25px;	
	border-right:1px solid #bbb;
	text-decoration: none;
}

nav a:hover {
	background-color: #00264d;
}

nav a#aboutlink {
	float:right;
	display: block;
	color: White;
	text-align: center;
	padding: 10px 25px;	
	border-left:1px solid #bbb;
	border-right:1px solid #0059b3;
	text-decoration: none;
}

.active {
	text-decoration: underline;
	color: orange;
}


/* Styling for IDs--------------------*/

/* Styling for the side info, inspired by side info bar on country wiki pages. General alignment code sourced from https://www.w3schools.com/css/css_align.asp , --------------------*/
#sideinfo { 
	height: 1300px;
	width: 300px;
	margin-left:10px;
	margin-right:7px;
	margin-bottom:10px;
	float: right;
	background-color:#fcfcfc;
	border: 2px solid #0059b3;
	font-size: 9pt; 
	font-family: Verdana; 
}

#boxCountryName {
	text-align:center;
	font-size:20pt;
	font-weight: bold;
	font-family: Arial;
}
#box1 {
	height: 50px;
	border-bottom:1px solid #0059b3;
	text-align:center;
	padding-top:10px;
	padding-bottom:10px;
	color: white;
	background-color: #0059b3;
}
#box2 {
	height: 190px;
	border-bottom:1px solid #0059b3;
	margin-top:5px;
	padding-bottom:10px;
	text-align:center;
}
#box3 {
	height: 285px;
	border-bottom:1px solid #0059b3;
}

#geobox {
	border: 1px solid grey;
	float:left;
	background-color:#ECECEB;
	text-align: center;
	font-size: 9pt;
	font-family: Verdana;
	padding:5px;
	margin:10px;
	margin-top:5px;
}

/* Individual Image IDs. Styled to fit image while keeping resolution.(1)/4 items to be marked, unique images. All image styling code inspired and sourced from https://www.w3schools.com/css/css_table.asp -----------*/

#flag {
	float:left;
	margin-left:5px;
}
#symbol {
	margin-right:2px;
}

#elevmap {
	border:1px solid grey;
	max-height: 500px;
	max-width: 273px;
}

#mtrange {
	border:1px solid grey;
	max-height:202px;
	max-width: 269px;
	margin-bottom:40px;
}

#flora {
	border:1px solid grey;
	max-height: 269px;
	max-width: 202px;
	margin-bottom:30px;
}

#self {
	float:left;
	margin:10px;
	border:1px solid grey;
	max-height:202px;
	margin-left:10px;
}

#sfmigmap {
	border:1px solid grey;
	max-height:262px;
	max-width:376px;
	margin-bottom:25px;
}


#p1migmap {
	border:1px solid grey;
	max-height:259px;
	max-width:383px;
	margin-bottom:25px;
}

#p2migmap {
	border:1px solid grey;
	max-height:274px;
	max-width:285px;
	margin-bottom:35px;
}

#provmap {
	border:1px solid grey;
	max-height:734px;
	max-width: 402px;
	margin-bottom:25px;
}

#langmap {
	border:1px solid grey;
	max-height:500px;
	max-width: 266px;
	margin-bottom:25px;
}

/* Styling for classes----------------------*/

h2.indexpage { /* Keep it aligned with sideinfo bar, just like in regular wiki page*/
	margin-right: 320px;
}

/* Table styling. (1)/4 items to be marked. All styling code inspired and sourced from https://www.w3schools.com/css/css_table.asp -----------*/
table.infobox, th, td {
	border-bottom: 1px solid #0059b3;
	padding-bottom: 5px;
}

table.infobox {
	border-collapse: collapse;
}

table.admin th {
	font-size: 14px;
	font-family:Arial;
	padding-top:10px;
	padding-bottom:2px;
	padding-left:7px;
	padding-right:5px;
	background-color:lightgray;
	border: 1px solid black;
}
table.admin td {
	font-size: 12px;
	font-family:Arial;
	border: 1px solid black;
	padding: 5px;
	background-color:#fcfcfc;
}

table.admin {
	border-spacing: 20px;
	border: 2px solid black;
	border-collapse: collapse;
	padding-top:10px;
	margin-left:10px;
}
/* Styling for aligning elements together. Styling code sourced from https://www.w3schools.com/css/css_align.asp */

.centerblocks { 
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width:100%;
	text-align:center;
	padding-bottom:20px;
}

.about {
	display: block;
	padding-top:15px;
	margin-right:100px;
	margin-left:300px;
	vertical-align:middle;
	text-align:center;
}
.remark {
	padding-top: 25px;
	padding-bottom: 10px;
	padding-left: 50px;
	padding-right: 350px;	
	margin-right:40px;
	text-align:center
}

/*Text styling. All text styling code sourced from https://www.w3schools.com/cssref/pr_font_font.asp , https://www.w3schools.com/cssref/pr_font_font-style.asp*/
.bold {
	font-weight:bold;
}
.italic {
	font-style:italic;
}

/* Link styling sourced similar to text styling above. Trying to replicate how links look like in wiki pages */
.wikilinks {
	color: blue;
	text-decoration:none;
}
.wikilinks:hover {
	text-decoration:underline;
}

.maincontent { /* Design inspired by technical documents to look as clean as possible */
	line-height: 1.4;
	padding-right:15px;
	text-align: justify;
	font-family: Verdana;
	font-size:12px;
}


/*Sidebar table space formatting. Inspired by wiki style info bars in how they list the details*/
.quickd {
	padding-left:10px;
	padding-top:10px;
}

.quickh {
	text-align:left;
	padding-left:5px;
	padding-top:10px;
}
	
/* Div stylings for content within a section, often a block of related items such as a table and an image. Styling sourced from various pages in w3 schools previously mentioned above.*/

.migmap {
	border: 1px solid grey;
	float:right;
	background-color:#f2f2f2;
	text-align: center;
	font-size: 9pt;
	font-family: Verdana; 
	padding:5px;
	padding-bottom:0px;
	margin:10px;
	margin-left:15px;
	margin-top:5px;
}
.migmap2 {
	border: 1px solid grey;
	float:left;
	background-color:#f2f2f2;
	text-align: center;
	font-size: 9pt;
	font-family: Verdana; 
	padding:5px;
	padding-bottom:0px;
	margin:10px;
	margin-top:5px;
}
.demo_map {
	border: 1px solid grey;
	float:left;
	background-color:#f2f2f2;
	text-align: center;
	font-size: 9pt;
	font-family: Verdana; 
	padding:5px;
	padding-bottom:0px;
	margin-left:10px;
	margin-right:20px;
	margin-bottom:20px;
}
