@import url(https://fonts.googleapis.com/css?family=Open+Sans:400|Open+Sans+Condensed:300,400,700);

html, body {
 margin: 0;
 padding; 0;  
 background: #ffffff;
 height: 100%;
 font-family: "Open Sans Condensed", arial, sans serif;
 font-size: 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #ff9800;
}

h1 {
  margin: 4px;
  font-size: 36px;
  text-align: center;
}

h2 {
  margin: 4px;
  font-size: 20px;
}

#main_image {
  z-index: 1;
  position: relative;
  width: 100%;
  background-image: url('images/yawls/092/large_092_002_1024x841.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100%;
  background-position: bottom left;
}
#main_title a {
  color: #90CAF9;
}
#main_title a:hover {
  color: #64B5F6;
}
#main_title {
  font-weight: 600;
}
  
#content {
}

.image_title {
  position: absolute;
  bottom: 20px;
  right: 40px;
  font-size: 20px;
  color: #ffffff;
  z-index: 2;
  font-family: "Open Sans Condensed", arial, sans serif;
  font-weight: 700;
}

#nav {
  z-index: 4;
  width: 100%;
  position: fixed;
  background: rgba(0,0,99,0.8);
  color: #ffffff;
  padding: 10px 0;
  font-family: "Open Sans Condensed", arial, sans serif;
}
#nav_left {
 padding-left: 20px;
 display: inline-block;
 font-size: 28px;
 font-weight: 500;
}
#nav_right {
  display: inline-block;
  float: right;
  text-align: right;
  padding-right: 20px;
  font-size: 22px;
  font-weight: 300;
  color: #03a9f4;
  margin-top: 4px;
}
.nav_logo {
  position: relative;
  height: 24px;
  margin-left: 20px;
  top: 3px;
}

.image_title a {
 text-decoration: none;
 color: #0066FF;
}

#logo_facebook {
  width: 24px;
  height: 24px;
}
.nav_logo_small {
  position: relative;
  height: 24px;
  margin-right: 20px;
  top: 2px;
}
.nav_logo_big {
  height: 48px;
  margin-right: 10px;
  margin-bottom: -10px;
}

footer {
  text-align: center;
  font-size: 14px;
  color: #999;
  margin: 20px;
}

#search {
  margin-right: 20px;
  font-size: 18px;
  padding: 4px;
  border-radius: 10px;
  border: 0;
  color: #ffffff;
  background: rgba(0,0,99,0.8);  
  font-family: "Open Sans Condensed", arial, sans serif;
}
::-webkit-input-placeholder {
  color: #09f;
  font-family: "Open Sans Condensed", arial, sans serif;
}

.band_white {
  background: #ffffff;
}
.band_grey {
  background: #f0f0f0;
}
#band_concordian, #band_sales, #band_store, #band_yawls {
  text-align: center;
}

.dartmouth_boxes, .newsletter_boxes, .project_boxes, .store_boxes, .yacht_boxes, #yawl_boxes, .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  
}
.top_boxes {
  display: flex;
  flex-wrap: no-wrap;
  justify-content: center;
  align-items: flex-start;
}

p {
 margin-top: 0;
}

#band_dartmouth {
  text-align: center;
}

.box_main {
  flex-grow: 1;
  margin: 0;
  padding: 0;
}
#map_iframe {
  height: 320px;
  flex-grow: 1;
  font-style: italic;
  padding: 0px;
}

.box_main a {
  color: #33F;
  font-weight: 500;
}

.box_store {
  height: 220px;
  width: 240px;
  margin: 10px;
  text-align: center;
}
.box_store img {
  margin: 0 auto;
  max-width: 240px;
  height: 100px;
  text-align: center;
}

.image_box {
  width: 320px;
  display: inline-block;
}
.image_box img {
  width: 320px;
}

.box {
  background: #ffffff;
  border: 1px solid #ddd;
  font-size: 20px;
  margin: 10px;
  flex-grow: 0;
  position: relative;
  cursor: pointer;
  overflow-y: scroll;
}

.project_boxes .box {
  width: 320px;
  height: 480px;
}
#yawl_boxes .box {
  width: 40px;
  height: 40px;
  margin: 5px;
  line-height: 40px;
}
#yawl_boxes .box:hover {
  color: #ffffff;
  background:rgba(0,0,99,0.8);
  font-weight: 700;
}
#yawl_boxes .box:hover a {
  color: #ffffff;
}

.box img {
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
}

.box:hover {
 border: 1px solid #aaa;
}

.small_box {
 display: inline-block;
 width: 240px;
 flex-grow: 1;

}
.small_box img {
  width: 100%;
 flex-grow: 1;
}


.nav_icon {
  display: inline-block;
  height: 18px;
  margin-left: 18px;
}

.restoration_text {
  font-size: 14px;
}

.box_newsletter {
  flex-grow: 1;
  margin: 0;
  padding: 0;
  width: 225px;
}

#box_tides, #box_cam, .boxes .box {
  border: 1px solid #ddd;
  padding: 10px;
  font-weight: bold;
  margin-left: 10px;
  margin-bottom: 10px;
  background: #ffffff;
  display: inline-block;
  margin: 10px;
}

#harbor_cam {
 width: 280px;
}

#chart_tides {
  width: 280px;
  height: 150px;
}


@media all and (max-width: 859px) {
  .top_boxes {
    flex-wrap: wrap;
  }
  .box {
	height: 250px;
	width: 140px;
  }
  #search_icon, #nav_links {
    display: none;
  }
  #menu_icon {  
    display: inline-block;
  }
  .band_grey, .band_white {
	padding: 40px 10px;
  }
  #newsletter_2, #newsletter_3 {
	display: none;
  }
}
@media all and (min-width: 860px) {
  .top_boxes {
	flex-wrap: no-wrap;
  }
  .box {
	height: 280px;
	width: 240px;
  }
  #search_icon, #nav_links {
    display: inline-block;
  }
  #menu_icon {  
    display: none;
  }
  .band_grey, .band_white {
	padding: 40px 20px;
  }
  #map_iframe {
	margin-left: 20px;
	min-width: 400px;
  }
}

.small_head {
  height: 70px;
  width: 70px;
  border-radius: 35px;
  margin-right: 5px;
}
table, tr, th, td {
  border: 0;
}

.contact_table {
  display: inline-block;
  font-size: 18px;
  margin: 10px;
}

.boat_feet {
  position: absolute;
  bottom: 10px;
  left: 10px;
  text-align: left;  
}
.boat_price {
  position: absolute;
  bottom: 10px;
  right: 10px;
  text-align: right;
}

#menu_icon {
  cursor: pointer;
}
#menu {
  z-index: 3;
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  background: rgba(255,255,255,0.9);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 0;
}
.menu_item {
  padding: 10px;
  font-size: 24px;
  border: 1px solid #ddd;
  margin: 5px;
  font-weight: 700;
  width: 120px;
  text-align: center;
}
.menu_item:hover {
  border: 1px solid #aaa;
}

.hide {
  display: none!important;
}

.credit {
  color: #E8EAF6;
  font-size: 16px;
  font-weight: 400;
}
.font_dark {
  color: #000063;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.cnl_cover {
  width: 225px;
  height: 285px;
}
