@charset "utf-8";

:root {
  --background: #c8dcff;	/*B8D2FF;*/
  --highlight: #9FC2FF;
}

* {
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
/*  box-sizing: inherit; */
}

body {
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
	background: var(--background);
}
	
/* Style the header */
.header {
  padding: 0px;
  text-align: center;
  background: var(--background);
  color: black;
}

.header h1 {
	font-size: 40px;
}
		
h1 {
	font-size: 24px;
}

h2 {
	font-size: 18px;
}

h3 {
	font-size: 14px;
}

p {
	font-size: 14px;
	line-height: normal;
}

a {
	color: #444488;
}

li {
	font-size: 14px;
	line-height: 1.4;
}

a:link {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

a:active {
/*	color: #444488; */
}

/********************************************/

table, td, th {
	border: 1px solid;
	font-size: 14px;
	padding: 5px;
}

table {
	width: 100%;
	border-collapse: collapse;
	background: var(--highlight);
}

th {
  height: 50px;
}

td {
  height: 50px;
}

tr:nth-child(even) {background-color: var(--background);}

/********************************************/

.page_banner{
	z-index:-1;
	width: 100%;
	margin-bottom: 20px;
}

.page_banner img{
	display: block;
	margin: 0 auto;
}

/* NOT USED */
.row {  
/*  display: flex;  */
/*  flex-wrap: wrap; */
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row {   
/*	flex-direction: column;  */
  }
}

#ships_header {
	background: var(--background);
	width: 100%; 
	float: left; 	
}

#header_image {
	float: left; 
}

#logo_search {
	width:250px;  
	float: right; 
}

#searchbox {
/*	height:60px; 
	float: right; 
	margin-right: 1px; 
	width: 230px;  */
}

.breadcrumb {
	background: var(--highlight);
	padding-left: 5px;
}

.breadcrumb p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-style: normal;
	line-height: 18pt;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
}

.breadcrumb a {
	color: black;
	/*color: #444488;*/
}

.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

.quoteFrame {
	background: var(--highlight);
	padding: 10px;
	margin-bottom: 5px;
	margin-top: 5px; 
}

.quoteFrame p {
	font-size: 16px;
}

.leftPictureContainer {
	height: 390px;
	background: var(--highlight);
	border: 1px solid black;
	padding: 10px;
	margin-bottom: 5px;
	margin-top: 5px; 
}

.leftPictureContainer p {
	font-size: 14px;
}

/*************************************************************************************************/
.footer{
	width: 100%;
	height: 45px; 
	background: var(--highlight);	
	line-height: 35px;
}

.footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
}

.footer_text{
	vertical-align: middle; 
	font-size: 12px;
	height: 35px; 
}

.footer_image{
	float: left;
	margin-right: 15px;
}

.objectlist {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-style: normal;
	line-height: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
}

/*************************************************************************************************/
/* main page social media buttons */

.fa {
  padding: 15px;
  font-size: 30px;
  width: 60px;
  height: 60px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
  color: white;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}


/*************************************************************************************************/
/* Index page photo cards */
/* Four columns side by side */

.main_column {
  float: left;
  width: 25%;
  margin-bottom: 15px;
  padding: 0 8px;
  height: 300px;
}

.main_column_two {
	float: left;
	width: 33%;
	margin-bottom: 15px;
	padding: 0 8px;
}

/* Display the columns below each other instead of side by side on small screens */
/*
@media screen and (max-width: 650px) {
  .main_column {
    width: 100%;
    display: block;
  }
}
*/

/* Add some shadows to create a card effect */
.main_card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.main_card:hover {
  background-color: var(--highlight);
  border: 1px solid black;
}

/* Some left and right padding inside the container */
.main_card_cont {
  padding: 0 15px;
}

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


/*************************************************************************************************/
/* Object Page */

.objectMainContent {
	width: 1400px; 
	margin: 0 auto;
	padding-left: 10px;
	border: 0px solid blue;
}

.objectFrame {
	width: 1000px;
	float: left;
	display: block;

	margin-left: 10px;
	margin-right: 10px;
	border: 0px solid red;
}​​

/*********************************************/
/* Map Page */

.objectMainContentMap {
	width: 100%; 
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
	border: 0px solid blue;
}

.objectFrameMap {
	width: 98%;
	float: left;
	display: block;
	margin-left: 10px;
	margin-right: 10px;
	border: 0px solid red;
}​​

.objectDataMap {
	border: 0px solid green;
	z-index: -1;
}

#leafletMap{
	height:600px; 
	position: relative; 
	outline: none;
}

/*********************************************/

.ImagesFrame {
	float: left;
	display: block;	
	width: 330px;
	border: 1px solid #DDDDDD;	
}

.ImagesFrame p {
	font-size: 12px;
	line-height: 12px;
}

.aboutTextFrame p {
	font-size: 14px;
	line-height: 1.4;
}

.objectDataText {
	border: 0px solid green;
}

.objectDataMap {
	background: #FFFFFF;
	border: 1px solid green;
	margin: 5px;
	padding: 10px;	
}

.objectDataMapTable {

}

.objectSpacer {
	height: 30px;
}
	
.objectDataMapTable th {
	text-align:left;
}

.objectDataPosition {
	width: 98%;
	border: 0px solid #DDDDDD;
	margin: 5px;
	padding: 5px;
}

.objectDataPositionLogo {
	float: left; 
	width: 60px;
	height: 70px;
	border: 0px solid red;
}

.objectDataPositionText {
	float: left; 
	width: 300px;
	height: 70px;
	
	border: 0px solid green;
}

.objectDataMaps {
	float: right;

	width: 235px;
	height: 70px;
	padding-left: 5px;
	padding-right: 5px;
	border: 0px solid blue;
}

.objectDataDonate {
	float: right;

	width: 235px;
	height: 70px;
	padding-left: 5px;
	padding-right: 5px;
	border: 0px solid blue;
}

.objectDataMapsImage {

}

.objectDataPositionText p {
	line-height: 16px;
	margin-top: 2px;
	margin-bottom: 2px;
}

.objectDataProperties {
	float: left;
	display: block;
	width: 48%;
	border: 1px solid #DDDDDD;
	margin: 5px;
	padding: 5px;
}

.objectDataProperties p {
	font-size: 12px;
	line-height: 5px;
}

.objectDataNotes {
	float: left;
	display: block;
	width: 49%;
/*	margin-left: -400px; */
	border: 1px solid #DDDDDD;
	margin: 5px;
	padding: 5px;
}

.objectDonateFrame {
	width: 97%;
	border: 0px solid #DDDDDD;
	background: #FFF9D5;
	margin: 0px;
	padding-left: 20px;
	padding-right: 0px;
}

.objectDonateText {
	float: left;
	width: 660px;
	height: 70px;
	border: 0px solid green;
}

.objectCommentFrame {
	border: 1px solid #DDDDDD;
	margin: 5px;
	padding: 5px;
}

.objectComment {
	border: 1px solid black;
	border-radius: 5px;
	margin: 5px;
	padding: 5px;
	background: #FFF9D5;
}

.objectCommentDate {
	font-size: 10px;
}

.objectCommentFormFrame {
	border: 1px solid #444488;
	margin: 5px;
	padding: 5px;
}

.comment_textarea {
	width: 100%;
}

.comment_name {
	width: 300px;
}

.comment_email {
	width: 300px;
}

.objectMapLinkFrame {
	border: 1px solid var(--highlight);;
	margin: 5px;
	padding: 5px;
}

/*************************************************************************************************/

.contactFormContainer {
	float: left;
	display: block;
	width: 450px;
	border: 1px solid var(--highlight);
	margin: 5px;
	padding: 5px;
}

.contactFormContainerNotes {
	float: left;
	display: block;
	width: 450px;
	height: 800px;
	border: 1px solid var(--highlight);
	margin: 5px;
	padding: 5px;
}


.form-container
{
	background-color: #fff;
}

#cleared {
	clear: both;
}

/*************************************************************************************************/
/* leaflet map  */

#map { 
	height: 180px; 
}

/*************************************************************************************************/

.imagePhoto {
	background:#FFFFFF;
	border: 1px solid #000000;
	margin: 5px 5px 5px 5px;
	padding: 10px 10px 10px 10px;
}

/*************************************************************************************************/
/* new menus for SHIPS Web */

#nav, #nav ul {
	float: left;
	width: 100%;
	text-align: left;
	list-style: none;
	background: #9FC2FF;
	font-weight: bold;
	border: solid #444488; 
	border-width: 1px 0;
}

#nav a {
	display: block;
	width: 110px;		/* Width of main menu elements */
/*	color: #444488; 	*/
	text-decoration: none;
	font-size: 14px;
	padding-left: 5px;	/* Padding around main menu elements */
	padding-top: 5px;
	padding-bottom: 5px;
}

#nav li {
	float: left;
	padding: 0;
	width: 110px;		/* Separation between main menu elements */
/*	background: #9fc2ff;  */ /* menu background colour */	
}

#nav li ul {
	padding: 0;
	position: absolute;
	left: -999em;
	height: auto;
	width: 155px;	/* Width of dropped menus */
	font-weight: normal;
	border-width: 1px;
	margin: 0;
}

#nav li li {
	padding-right: 5px;
	width: 150px
}

#nav li ul a {
	width: 150px;
}

#nav li ul ul {
/*	margin: -1.0em 0 0 150px; */
}


#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
}

#nav li:hover, #nav li.sfhover {
	background: var(--background);
}

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

/***********************************************************************************************************************************/

/*-=-=-=-=-=-=-=-=-=-=-=- */
/* Column Grids */
/*-=-=-=-=-=-=-=-=-=-=-=- */

.col_half { width: 49%; }
.col_third { width: 32%; }
.col_fourth { width: 23.5%; }
.col_fifth { width: 18.4%; }
.col_sixth { width: 15%; }
.col_three_fourth { width: 74.5%;}
.col_twothird{ width: 66%;}
.col_half,
.col_third,
.col_twothird,
.col_fourth,
.col_three_fourth,
.col_fifth{
	position: relative;
	display:inline;
	display: inline-block;
	float: left;
	margin-right: 2%;
	margin-bottom: 20px;
}
.end { margin-right: 0 !important; }
/* Column Grids End */

.count-wrapper { width: 980px; margin: 30px auto; position: relative;}
.counter { background-color: var(--highlight); padding: 10px 0; border-radius: 5px;}
.count-title { font-size: 40px; font-weight: normal;  margin-top: 10px; margin-bottom: 0; text-align: center; }
.count-title-index { font-size: 20px; font-weight: normal;  margin-top: 0px; margin-bottom: 0; text-align: center; }
.count-text { font-size: 13px; font-weight: normal;  margin-top: 5px; margin-bottom: 6px; text-align: center; }
.fa-2x { margin: 0 auto; float: none; display: table; color: #4ad1e5; }
