/*
Theme Name: Dive Alaska 2.0
Theme URI: https://divealaska.net/
Author: Rob Muller
Author URI: https://dauntlessdev.com/
Template: scaffold
Description: Utilizing Scaffold to build a new Dive Alaska site.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: scaffold-child
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, custom-logo, editor-style, featured-images, full-width-template, threaded-comments, translation-ready, blog, e-commerce
GitHub Theme URI: https://github.com/DannyCooper/scaffold
*/

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:wght@300;400&display=swap');
html {font-family: 'Roboto',sans-serif;}
table {
	border-collapse: collapse;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	border-style: solid;
	border-color: #ccc;
	width:100%;
}
td,
th {
	padding: 0;
	border-width: 0 1px 1px 0;
	border-style: solid;
	border-color: #ccc;
	padding: 8px;
}

body {
	color: #4B4F58;
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	line-height: 1.6;
	overflow-wrap: break-word;
	font-weight:300;
	margin: 0;
}
nav,
label,
input {
	font-family: 'Roboto', sans-serif;
	font-size: 14px
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Anton',sans-serif;
	line-height: 1.25;
	color: #2d2e33;
	text-transform: uppercase; 
	font-weight: 400;
}
h2 { font-size: 3.3rem; color: #213044; margin: 0.3rem 0;}
h3 { font-size: 1.3rem; color: #76cddf; margin: 0.3rem 0;}

#site-navigation a,button {font-family: 'Anton', sans-serif; text-transform: uppercase; font-weight: 400;}

a {
	color: #0170B9;
	text-decoration: none;
}

.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

/*--------------------------------------------------------------
# Structure
--------------------------------------------------------------*/
.wrapper {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
.site-content {
	padding-bottom: 25px;
	background-image: url(assets/home-hero.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	background-size: cover;
}
.content-wrapper {
	margin: 4rem auto;
	max-width: 1200px;
	width:100%
}
.inner-layer {width:100%;}

.site-title {
	font-family: 'Anton', sans-serif;
}

.red {color:#de3734;}
.aqua {color:#76cddf;}

.site-header {min-height: 130px; color: white;padding: 0;background-color: #213044;min-height: 150px;text-align:left;}
.site-wrapper {display:flex; flex-direction:column;}
.site-content {display:flex;}
.home .site-content {flex-direction:column;}

.custom-logo {position:absolute;z-index:999;}

#site-menu {float:right;}


/*--------------------------------------------------------------
# Primary Nav
--------------------------------------------------------------*/

.menu-1 {
	background-color: #213044 !important;
	font-size: 14px;
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.menu-1 ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.menu-1 li {
	float: left;
	position: relative;
}

/* Align the navigation with the rest of the content. */
.menu-1 .nav-menu > li:first-child {
	margin-left: -20px;
}

.menu-1 a {
	display: block;
	text-decoration: none;
	padding: 10px; 
	font-size: 20px;
	color: rgb(255, 255, 255);
}

.menu-1 ul ul {
	float: left;
	position: absolute;
	left: -999em;
	z-index: 99999;
}

.menu-1 ul ul ul {
	left: -999em;
	top: 0;
}

.menu-1 ul ul a {
	width: 200px;
	text-align: left;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	border-right: 1px solid rgba(255, 255, 255, 0.25);
	color: #de3734;
	padding: 0 10px;
}

.menu-1 ul li ul li {
	background-color: rgba(25, 50, 75, 0.8);
}
.menu-1 ul li .sub-menu li:hover {
	background-color: rgba(255, 255, 255, 1);
}

.menu-1 li:hover,
.menu-1 li.focus {
	color: #76cddf
}

.menu-1 ul li:hover > ul,
.menu-1 ul li.focus > ul {
	left: auto;
}

.menu-1 ul ul li:hover > ul,
.menu-1 ul ul li.focus > ul {
	left: 100%;
}


.menu-1 li.page_item_has_children > a:after,
.menu-1 li.menu-item-has-children > a:after {
	content: '\25bc';
	font-size: 9px;
	vertical-align: 6px;
	padding-left: 5px;
}
.menu-1 li li.page_item_has_children > a:after,
.menu-1 li li.menu-item-has-children > a:after {
	content: '\25b6';
	font-size: 7px;
	vertical-align: 1px;
	padding-left: 5px;
	opacity: .75
}

/* Small menu. */
.menu-toggle {
	display: none
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.content-area {
	display:flex;
	flex-direction: column;
	background: #fff;
	border-radius: 0 0 20px 20px;
	padding: 40px 100px;
}

.content-area li {
	font-family: 'Anton', sans-serif;
	list-item: disclosure-closed;
}
.gallery {
  display: flex;
  justify-content: space-evenly;
}
.post-thumbnail {
	margin-bottom: 16px
}
.entry-header {
	padding: 2rem;
	background: linear-gradient(rgba(25, 50, 75, 0.8), rgba(25, 50, 75, 0.8)), url(assets/jelly.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	text-align:center;
	border-radius: 20px 20px 0 0;
}
.entry-title {
	font-size: 50px;
	color: #fff;
	margin: 0;
}
.more-link {
	text-decoration: none;
	margin-bottom: 1.5em;
	display: block
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar-1 {
	width: auto;
	float: none;
	font-size: 14px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
	background-color: #213044; 
	color: white;
	text-align:right;
}

.site-footer .wrapper {
	display:flex;
	justify-content:space-between;
}

.site-footer .widget h2 {
	margin-top: 2rem;
	font-size: 1.3333333333333rem;
	text-transform: none;
}

.site-footer h2, .site-footer a {
	color: white;
}

/*--------------------------------------------------------------
# Rob's Edits
--------------------------------------------------------------*/

li.button {
	margin-top: 7px;
}
.button {
	color: #ffffff;
	border-color: #da3a3c;
	background-color: #da3a3c;
	border-radius: 10px;
	line-height: 2;
	padding: 0 20px;
	font-family: 'Anton',sans-serif;
	font-weight: 400;
	text-transform: uppercase;
}
.button a {
	padding:0;
	margin:0;
}
a.button {
	padding: 0.6rem 1.2rem;
	font-size: 1.2em;
	margin: 1rem;
}
.white-text {
	color:white;
}

/*--------------------------------------------------------------
# Front Page
--------------------------------------------------------------*/

.front-video {
	position: relative;
	width: 100%;
	height: 600px;
	overflow: hidden;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.front-video h1 { margin-bottom: 1rem; font-size: 4em; text-shadow:5px 5px 5px black; }
.front-video h3 { margin:1rem 0; font-size: 2em; font-family: 'Roboto', sans-serif; text-transform: none; font-weight: 300;  text-shadow:3px 3px 3px black; }
.front-video button { margin: 1rem; font-size: 1.2em; }

video {
	object-fit: cover;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.front-video .wrapper {
	position: relative;
	z-index:999;
}


.front-bar {
	background-color: #76cddf;
	background-image: url(assets/waves.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	background-size: cover;
	padding: 4rem 0;
}
.front-bar .wrapper {
	display:flex;
}
.front-bar .col-md-4 {
	text-align: center;
	padding: 2rem;
}
.front-bar .boxxed {
	background-color: #213044;
	border-radius: 10px;
	color: white;
}
.front-bar .boxxed h1 {
	color: white;
}


.bottom-bar { 
	background-image: url(assets/jelly.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	background-size: cover;
	padding: 4rem;
	margin-bottom: -25px;
}
.bottom-bar .wrapper {
	background-color: rgba(0,0,0,0.75);
	border-radius: 20px;
	padding: 4em;
	text-align:center;
}


/*--------------------------------------------------------------
# Upper Nav
--------------------------------------------------------------*/

#site-menu-upper {float:right;}
.menu-upper {
	font-size: 14px;
}

.menu-upper {
	clear: both;
	display: block;
	float: right;
	width: 100%;
}

.menu-upper ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.menu-upper li {
	float: left;
	position: relative;
}

/* Align the navigation with the rest of the content. */
.menu-upper .nav-menu > li:first-child {
	margin-left: -20px
}

.menu-upper a {
	display: block;
	text-decoration: none;
	font-size:20px;
}

.menu-upper ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	left: -999em;
	z-index: 99999;
}

.menu-upper ul ul ul {
	left: -999em;
	top: 0;
}

.menu-upper ul ul a {
	width: 200px;
	text-align: left;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.menu-upper ul ul li {
	background-color: white;
	color: #de3734;
}

.menu-upper li:hover,
.menu-upper li.focus {
	color: #de3734;
}

.menu-upper ul li:hover > ul,
.menu-upper ul li.focus > ul {
	left: auto;
}

.menu-upper ul ul li:hover > ul,
.menu-upper ul ul li.focus > ul {
	left: 100%;
}

.menu-upper a {
	padding: 20px;
	color: #de3734;
}

.menu-upper .sub-menu li:hover, .menu-upper ul ul a:hover {
	color: #76cddf;
}

.menu-upper li.page_item_has_children > a:after,
.menu-upper li.menu-item-has-children > a:after {
	content: '\25bc';
	font-size: 7px;
	vertical-align: 1px;
	padding-left: 5px;
	opacity: .75
}
.menu-upper li li.page_item_has_children > a:after,
.menu-upper li li.menu-item-has-children > a:after {
	content: '\25b6';
	font-size: 7px;
	vertical-align: 1px;
	padding-left: 5px;
	opacity: .75
}

@media only screen and (max-width: 600px) {
	.custom-logo {
		position:relative;
		margin:0 auto;
		display:block;
	}
	.front-video {
		height:auto;
	}
	a.button {display:block;}
	.wrapper {flex-direction:column;}
	.wrapper .col-md-4 {margin: 1rem;}
	.bottom-bar .wrapper {padding:1rem;}
	.bottom-bar {padding:1rem;}
	
	.content-area {padding: 1.2rem;}
	
	.site-footer {text-align:center;}
}
